@raystack/proton 0.1.0-ce225175aa066e6f296bc489293bb83ed0edcef6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (197) hide show
  1. package/google/api/annotations_pb.ts +33 -0
  2. package/google/api/field_behavior.ts +95 -0
  3. package/google/api/field_behavior_pb.ts +139 -0
  4. package/google/api/http.ts +695 -0
  5. package/google/api/http_pb.ts +547 -0
  6. package/google/api/httpbody.ts +159 -0
  7. package/google/api/httpbody_pb.ts +122 -0
  8. package/google/protobuf/any.ts +322 -0
  9. package/google/protobuf/descriptor.ts +3475 -0
  10. package/google/protobuf/duration.ts +231 -0
  11. package/google/protobuf/struct.ts +484 -0
  12. package/google/protobuf/timestamp.ts +290 -0
  13. package/google/protobuf/wrappers.ts +752 -0
  14. package/package.json +47 -0
  15. package/protoc-gen-openapiv2/options/annotations_pb.ts +78 -0
  16. package/protoc-gen-openapiv2/options/openapiv2.ts +3110 -0
  17. package/protoc-gen-openapiv2/options/openapiv2_pb.ts +1995 -0
  18. package/raystack/assets/index.ts +29 -0
  19. package/raystack/assets/v1beta1/bucket.ts +362 -0
  20. package/raystack/assets/v1beta1/bucket_pb.ts +233 -0
  21. package/raystack/assets/v1beta1/dashboard.ts +426 -0
  22. package/raystack/assets/v1beta1/dashboard_pb.ts +275 -0
  23. package/raystack/assets/v1beta1/event.ts +105 -0
  24. package/raystack/assets/v1beta1/event_pb.ts +70 -0
  25. package/raystack/assets/v1beta1/group.ts +223 -0
  26. package/raystack/assets/v1beta1/group_pb.ts +149 -0
  27. package/raystack/assets/v1beta1/job.ts +147 -0
  28. package/raystack/assets/v1beta1/job_pb.ts +100 -0
  29. package/raystack/assets/v1beta1/lineage.ts +90 -0
  30. package/raystack/assets/v1beta1/lineage_pb.ts +61 -0
  31. package/raystack/assets/v1beta1/ownership.ts +179 -0
  32. package/raystack/assets/v1beta1/ownership_pb.ts +119 -0
  33. package/raystack/assets/v1beta1/preview.ts +87 -0
  34. package/raystack/assets/v1beta1/preview_pb.ts +58 -0
  35. package/raystack/assets/v1beta1/properties.ts +116 -0
  36. package/raystack/assets/v1beta1/properties_pb.ts +63 -0
  37. package/raystack/assets/v1beta1/resource.ts +149 -0
  38. package/raystack/assets/v1beta1/resource_pb.ts +96 -0
  39. package/raystack/assets/v1beta1/schema.ts +421 -0
  40. package/raystack/assets/v1beta1/schema_pb.ts +262 -0
  41. package/raystack/assets/v1beta1/table.ts +408 -0
  42. package/raystack/assets/v1beta1/table_pb.ts +266 -0
  43. package/raystack/assets/v1beta1/timestamp.ts +158 -0
  44. package/raystack/assets/v1beta1/timestamp_pb.ts +107 -0
  45. package/raystack/assets/v1beta1/topic.ts +253 -0
  46. package/raystack/assets/v1beta1/topic_pb.ts +171 -0
  47. package/raystack/assets/v1beta1/user.ts +451 -0
  48. package/raystack/assets/v1beta1/user_pb.ts +292 -0
  49. package/raystack/assets/v1beta2/application.ts +125 -0
  50. package/raystack/assets/v1beta2/application_pb.ts +79 -0
  51. package/raystack/assets/v1beta2/asset.ts +269 -0
  52. package/raystack/assets/v1beta2/asset_pb.ts +157 -0
  53. package/raystack/assets/v1beta2/bucket.ts +341 -0
  54. package/raystack/assets/v1beta2/bucket_pb.ts +215 -0
  55. package/raystack/assets/v1beta2/common.ts +392 -0
  56. package/raystack/assets/v1beta2/common_pb.ts +258 -0
  57. package/raystack/assets/v1beta2/dashboard.ts +393 -0
  58. package/raystack/assets/v1beta2/dashboard_pb.ts +247 -0
  59. package/raystack/assets/v1beta2/experiment.ts +274 -0
  60. package/raystack/assets/v1beta2/experiment_pb.ts +180 -0
  61. package/raystack/assets/v1beta2/feature_table.ts +387 -0
  62. package/raystack/assets/v1beta2/feature_table_pb.ts +237 -0
  63. package/raystack/assets/v1beta2/group.ts +178 -0
  64. package/raystack/assets/v1beta2/group_pb.ts +118 -0
  65. package/raystack/assets/v1beta2/job.ts +99 -0
  66. package/raystack/assets/v1beta2/job_pb.ts +65 -0
  67. package/raystack/assets/v1beta2/metric.ts +163 -0
  68. package/raystack/assets/v1beta2/metric_pb.ts +105 -0
  69. package/raystack/assets/v1beta2/model.ts +519 -0
  70. package/raystack/assets/v1beta2/model_pb.ts +322 -0
  71. package/raystack/assets/v1beta2/table.ts +663 -0
  72. package/raystack/assets/v1beta2/table_pb.ts +409 -0
  73. package/raystack/assets/v1beta2/topic.ts +275 -0
  74. package/raystack/assets/v1beta2/topic_pb.ts +181 -0
  75. package/raystack/assets/v1beta2/user.ts +433 -0
  76. package/raystack/assets/v1beta2/user_pb.ts +277 -0
  77. package/raystack/common/index.ts +3 -0
  78. package/raystack/common/v1/service-CommonService_connectquery.ts +21 -0
  79. package/raystack/common/v1/service.client.ts +37 -0
  80. package/raystack/common/v1/service.ts +245 -0
  81. package/raystack/common/v1/service_connect.ts +26 -0
  82. package/raystack/common/v1/service_pb.ts +149 -0
  83. package/raystack/compass/index.ts +3 -0
  84. package/raystack/compass/v1beta1/service-CompassService_connectquery.ts +605 -0
  85. package/raystack/compass/v1beta1/service.client.ts +594 -0
  86. package/raystack/compass/v1beta1/service.ts +8169 -0
  87. package/raystack/compass/v1beta1/service_connect.ts +407 -0
  88. package/raystack/compass/v1beta1/service_pb.ts +4975 -0
  89. package/raystack/entropy/index.ts +6 -0
  90. package/raystack/entropy/v1beta1/module-ModuleService_connectquery.ts +77 -0
  91. package/raystack/entropy/v1beta1/module.client.ts +89 -0
  92. package/raystack/entropy/v1beta1/module.ts +692 -0
  93. package/raystack/entropy/v1beta1/module_connect.ts +62 -0
  94. package/raystack/entropy/v1beta1/module_pb.ts +445 -0
  95. package/raystack/entropy/v1beta1/resource-ResourceService_connectquery.ts +105 -0
  96. package/raystack/entropy/v1beta1/resource.client.ts +129 -0
  97. package/raystack/entropy/v1beta1/resource.ts +1817 -0
  98. package/raystack/entropy/v1beta1/resource_connect.ts +89 -0
  99. package/raystack/entropy/v1beta1/resource_pb.ts +1092 -0
  100. package/raystack/frontier/index.ts +7 -0
  101. package/raystack/frontier/v1beta1/admin-AdminService_connectquery.ts +756 -0
  102. package/raystack/frontier/v1beta1/admin.client.ts +849 -0
  103. package/raystack/frontier/v1beta1/admin.ts +9007 -0
  104. package/raystack/frontier/v1beta1/admin_connect.ts +573 -0
  105. package/raystack/frontier/v1beta1/admin_pb.ts +5615 -0
  106. package/raystack/frontier/v1beta1/frontier-FrontierService_connectquery.ts +2399 -0
  107. package/raystack/frontier/v1beta1/frontier.client.ts +2307 -0
  108. package/raystack/frontier/v1beta1/frontier.ts +23706 -0
  109. package/raystack/frontier/v1beta1/frontier_connect.ts +1574 -0
  110. package/raystack/frontier/v1beta1/frontier_pb.ts +15258 -0
  111. package/raystack/frontier/v1beta1/models.ts +7433 -0
  112. package/raystack/frontier/v1beta1/models_pb.ts +4345 -0
  113. package/raystack/guardian/index.ts +3 -0
  114. package/raystack/guardian/v1beta1/guardian-GuardianService_connectquery.ts +569 -0
  115. package/raystack/guardian/v1beta1/guardian.client.ts +552 -0
  116. package/raystack/guardian/v1beta1/guardian.ts +9688 -0
  117. package/raystack/guardian/v1beta1/guardian_connect.ts +381 -0
  118. package/raystack/guardian/v1beta1/guardian_pb.ts +5858 -0
  119. package/raystack/optimus/core/v1beta1/backup-BackupService_connectquery.ts +49 -0
  120. package/raystack/optimus/core/v1beta1/backup.client.ts +63 -0
  121. package/raystack/optimus/core/v1beta1/backup.ts +708 -0
  122. package/raystack/optimus/core/v1beta1/backup_connect.ts +44 -0
  123. package/raystack/optimus/core/v1beta1/backup_pb.ts +406 -0
  124. package/raystack/optimus/core/v1beta1/job_run-JobRunService_connectquery.ts +71 -0
  125. package/raystack/optimus/core/v1beta1/job_run.client.ts +96 -0
  126. package/raystack/optimus/core/v1beta1/job_run.ts +1008 -0
  127. package/raystack/optimus/core/v1beta1/job_run_connect.ts +63 -0
  128. package/raystack/optimus/core/v1beta1/job_run_pb.ts +612 -0
  129. package/raystack/optimus/core/v1beta1/job_spec-JobSpecificationService_connectquery.ts +249 -0
  130. package/raystack/optimus/core/v1beta1/job_spec.client.ts +363 -0
  131. package/raystack/optimus/core/v1beta1/job_spec.ts +5134 -0
  132. package/raystack/optimus/core/v1beta1/job_spec_connect.ts +233 -0
  133. package/raystack/optimus/core/v1beta1/job_spec_pb.ts +3196 -0
  134. package/raystack/optimus/core/v1beta1/namespace-NamespaceService_connectquery.ts +55 -0
  135. package/raystack/optimus/core/v1beta1/namespace.client.ts +75 -0
  136. package/raystack/optimus/core/v1beta1/namespace.ts +477 -0
  137. package/raystack/optimus/core/v1beta1/namespace_connect.ts +50 -0
  138. package/raystack/optimus/core/v1beta1/namespace_pb.ts +291 -0
  139. package/raystack/optimus/core/v1beta1/project-ProjectService_connectquery.ts +55 -0
  140. package/raystack/optimus/core/v1beta1/project.client.ts +75 -0
  141. package/raystack/optimus/core/v1beta1/project.ts +520 -0
  142. package/raystack/optimus/core/v1beta1/project_connect.ts +50 -0
  143. package/raystack/optimus/core/v1beta1/project_pb.ts +322 -0
  144. package/raystack/optimus/core/v1beta1/replay-ReplayService_connectquery.ts +63 -0
  145. package/raystack/optimus/core/v1beta1/replay.client.ts +76 -0
  146. package/raystack/optimus/core/v1beta1/replay.ts +881 -0
  147. package/raystack/optimus/core/v1beta1/replay_connect.ts +53 -0
  148. package/raystack/optimus/core/v1beta1/replay_pb.ts +522 -0
  149. package/raystack/optimus/core/v1beta1/resource-ResourceService_connectquery.ts +104 -0
  150. package/raystack/optimus/core/v1beta1/resource.client.ts +148 -0
  151. package/raystack/optimus/core/v1beta1/resource.ts +1329 -0
  152. package/raystack/optimus/core/v1beta1/resource_connect.ts +96 -0
  153. package/raystack/optimus/core/v1beta1/resource_pb.ts +791 -0
  154. package/raystack/optimus/core/v1beta1/runtime-RuntimeService_connectquery.ts +23 -0
  155. package/raystack/optimus/core/v1beta1/runtime.client.ts +45 -0
  156. package/raystack/optimus/core/v1beta1/runtime.ts +131 -0
  157. package/raystack/optimus/core/v1beta1/runtime_connect.ts +30 -0
  158. package/raystack/optimus/core/v1beta1/runtime_pb.ts +82 -0
  159. package/raystack/optimus/core/v1beta1/secret-SecretService_connectquery.ts +71 -0
  160. package/raystack/optimus/core/v1beta1/secret.client.ts +92 -0
  161. package/raystack/optimus/core/v1beta1/secret.ts +619 -0
  162. package/raystack/optimus/core/v1beta1/secret_connect.ts +61 -0
  163. package/raystack/optimus/core/v1beta1/secret_pb.ts +393 -0
  164. package/raystack/optimus/core/v1beta1/status.ts +113 -0
  165. package/raystack/optimus/core/v1beta1/status_pb.ts +101 -0
  166. package/raystack/optimus/integration/v1beta1/event.ts +531 -0
  167. package/raystack/optimus/integration/v1beta1/event_pb.ts +362 -0
  168. package/raystack/optimus/plugins/v1beta1/dependency_resolver-DependencyResolverModService_connectquery.ts +72 -0
  169. package/raystack/optimus/plugins/v1beta1/dependency_resolver.client.ts +100 -0
  170. package/raystack/optimus/plugins/v1beta1/dependency_resolver.ts +950 -0
  171. package/raystack/optimus/plugins/v1beta1/dependency_resolver_connect.ts +65 -0
  172. package/raystack/optimus/plugins/v1beta1/dependency_resolver_pb.ts +604 -0
  173. package/raystack/predator/index.ts +2 -0
  174. package/raystack/predator/v1beta1/metrics_log.ts +457 -0
  175. package/raystack/predator/v1beta1/metrics_log_pb.ts +277 -0
  176. package/raystack/predator/v1beta1/result_log.ts +390 -0
  177. package/raystack/predator/v1beta1/result_log_pb.ts +235 -0
  178. package/raystack/raccoon/index.ts +3 -0
  179. package/raystack/raccoon/v1beta1/raccoon-EventService_connectquery.ts +21 -0
  180. package/raystack/raccoon/v1beta1/raccoon.client.ts +37 -0
  181. package/raystack/raccoon/v1beta1/raccoon.ts +442 -0
  182. package/raystack/raccoon/v1beta1/raccoon_connect.ts +26 -0
  183. package/raystack/raccoon/v1beta1/raccoon_pb.ts +324 -0
  184. package/raystack/siren/index.ts +3 -0
  185. package/raystack/siren/v1beta1/siren-SirenService_connectquery.ts +497 -0
  186. package/raystack/siren/v1beta1/siren.client.ts +479 -0
  187. package/raystack/siren/v1beta1/siren.ts +6507 -0
  188. package/raystack/siren/v1beta1/siren_connect.ts +332 -0
  189. package/raystack/siren/v1beta1/siren_pb.ts +3853 -0
  190. package/raystack/stencil/index.ts +3 -0
  191. package/raystack/stencil/v1beta1/stencil-StencilService_connectquery.ts +231 -0
  192. package/raystack/stencil/v1beta1/stencil.client.ts +232 -0
  193. package/raystack/stencil/v1beta1/stencil.ts +2716 -0
  194. package/raystack/stencil/v1beta1/stencil_connect.ts +161 -0
  195. package/raystack/stencil/v1beta1/stencil_pb.ts +1729 -0
  196. package/validate/validate.ts +4130 -0
  197. package/validate/validate_pb.ts +2621 -0
@@ -0,0 +1,249 @@
1
+ // @generated by protoc-gen-connect-query v1.4.2 with parameter "target=ts"
2
+ // @generated from file raystack/optimus/core/v1beta1/job_spec.proto (package raystack.optimus.core.v1beta1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { MethodKind } from "@bufbuild/protobuf";
7
+ import { AddJobSpecificationsRequest, AddJobSpecificationsResponse, ChangeJobNamespaceRequest, ChangeJobNamespaceResponse, CheckJobSpecificationRequest, CheckJobSpecificationResponse, CreateJobSpecificationRequest, CreateJobSpecificationResponse, DeleteJobSpecificationRequest, DeleteJobSpecificationResponse, GetDeployJobsStatusRequest, GetDeployJobsStatusResponse, GetJobSpecificationRequest, GetJobSpecificationResponse, GetJobSpecificationsRequest, GetJobSpecificationsResponse, GetJobTaskRequest, GetJobTaskResponse, GetWindowRequest, GetWindowResponse, JobInspectRequest, JobInspectResponse, ListJobSpecificationRequest, ListJobSpecificationResponse, SyncJobsStateRequest, SyncJobsStateResponse, UpdateJobSpecificationsRequest, UpdateJobSpecificationsResponse, UpdateJobsStateRequest, UpdateJobsStateResponse } from "./job_spec_pb.js";
8
+
9
+ /**
10
+ * JobInspect return a new jobSpec for a namespace which belongs to a project
11
+ *
12
+ * @generated from rpc raystack.optimus.core.v1beta1.JobSpecificationService.JobInspect
13
+ */
14
+ export const jobInspect = {
15
+ localName: "jobInspect",
16
+ name: "JobInspect",
17
+ kind: MethodKind.Unary,
18
+ I: JobInspectRequest,
19
+ O: JobInspectResponse,
20
+ service: {
21
+ typeName: "raystack.optimus.core.v1beta1.JobSpecificationService"
22
+ }
23
+ } as const;
24
+
25
+ /**
26
+ * CreateJobSpecification registers a new job for a namespace which belongs to a project
27
+ *
28
+ * @generated from rpc raystack.optimus.core.v1beta1.JobSpecificationService.CreateJobSpecification
29
+ */
30
+ export const createJobSpecification = {
31
+ localName: "createJobSpecification",
32
+ name: "CreateJobSpecification",
33
+ kind: MethodKind.Unary,
34
+ I: CreateJobSpecificationRequest,
35
+ O: CreateJobSpecificationResponse,
36
+ service: {
37
+ typeName: "raystack.optimus.core.v1beta1.JobSpecificationService"
38
+ }
39
+ } as const;
40
+
41
+ /**
42
+ * AddJobSpecification registers new jobs for a namespace which belongs to the given project
43
+ *
44
+ * @generated from rpc raystack.optimus.core.v1beta1.JobSpecificationService.AddJobSpecifications
45
+ */
46
+ export const addJobSpecifications = {
47
+ localName: "addJobSpecifications",
48
+ name: "AddJobSpecifications",
49
+ kind: MethodKind.Unary,
50
+ I: AddJobSpecificationsRequest,
51
+ O: AddJobSpecificationsResponse,
52
+ service: {
53
+ typeName: "raystack.optimus.core.v1beta1.JobSpecificationService"
54
+ }
55
+ } as const;
56
+
57
+ /**
58
+ * UpdateJobSpecifications modify jobs for a namespace which belongs to the given project
59
+ *
60
+ * @generated from rpc raystack.optimus.core.v1beta1.JobSpecificationService.UpdateJobSpecifications
61
+ */
62
+ export const updateJobSpecifications = {
63
+ localName: "updateJobSpecifications",
64
+ name: "UpdateJobSpecifications",
65
+ kind: MethodKind.Unary,
66
+ I: UpdateJobSpecificationsRequest,
67
+ O: UpdateJobSpecificationsResponse,
68
+ service: {
69
+ typeName: "raystack.optimus.core.v1beta1.JobSpecificationService"
70
+ }
71
+ } as const;
72
+
73
+ /**
74
+ * GetJobSpecification reads a provided job spec of a namespace
75
+ *
76
+ * @generated from rpc raystack.optimus.core.v1beta1.JobSpecificationService.GetJobSpecification
77
+ */
78
+ export const getJobSpecification = {
79
+ localName: "getJobSpecification",
80
+ name: "GetJobSpecification",
81
+ kind: MethodKind.Unary,
82
+ I: GetJobSpecificationRequest,
83
+ O: GetJobSpecificationResponse,
84
+ service: {
85
+ typeName: "raystack.optimus.core.v1beta1.JobSpecificationService"
86
+ }
87
+ } as const;
88
+
89
+ /**
90
+ * GetJobSpecifications read a job spec for provided filters
91
+ *
92
+ * @generated from rpc raystack.optimus.core.v1beta1.JobSpecificationService.GetJobSpecifications
93
+ */
94
+ export const getJobSpecifications = {
95
+ localName: "getJobSpecifications",
96
+ name: "GetJobSpecifications",
97
+ kind: MethodKind.Unary,
98
+ I: GetJobSpecificationsRequest,
99
+ O: GetJobSpecificationsResponse,
100
+ service: {
101
+ typeName: "raystack.optimus.core.v1beta1.JobSpecificationService"
102
+ }
103
+ } as const;
104
+
105
+ /**
106
+ * DeleteJobSpecification deletes a job spec of a namespace
107
+ *
108
+ * @generated from rpc raystack.optimus.core.v1beta1.JobSpecificationService.DeleteJobSpecification
109
+ */
110
+ export const deleteJobSpecification = {
111
+ localName: "deleteJobSpecification",
112
+ name: "DeleteJobSpecification",
113
+ kind: MethodKind.Unary,
114
+ I: DeleteJobSpecificationRequest,
115
+ O: DeleteJobSpecificationResponse,
116
+ service: {
117
+ typeName: "raystack.optimus.core.v1beta1.JobSpecificationService"
118
+ }
119
+ } as const;
120
+
121
+ /**
122
+ * ChangeJobNamespace move a job spec from one namespace to another
123
+ *
124
+ * @generated from rpc raystack.optimus.core.v1beta1.JobSpecificationService.ChangeJobNamespace
125
+ */
126
+ export const changeJobNamespace = {
127
+ localName: "changeJobNamespace",
128
+ name: "ChangeJobNamespace",
129
+ kind: MethodKind.Unary,
130
+ I: ChangeJobNamespaceRequest,
131
+ O: ChangeJobNamespaceResponse,
132
+ service: {
133
+ typeName: "raystack.optimus.core.v1beta1.JobSpecificationService"
134
+ }
135
+ } as const;
136
+
137
+ /**
138
+ * ListJobSpecification returns list of jobs created in a project
139
+ *
140
+ * @generated from rpc raystack.optimus.core.v1beta1.JobSpecificationService.ListJobSpecification
141
+ */
142
+ export const listJobSpecification = {
143
+ localName: "listJobSpecification",
144
+ name: "ListJobSpecification",
145
+ kind: MethodKind.Unary,
146
+ I: ListJobSpecificationRequest,
147
+ O: ListJobSpecificationResponse,
148
+ service: {
149
+ typeName: "raystack.optimus.core.v1beta1.JobSpecificationService"
150
+ }
151
+ } as const;
152
+
153
+ /**
154
+ * CheckJobSpecification checks if a job specification is valid
155
+ *
156
+ * @generated from rpc raystack.optimus.core.v1beta1.JobSpecificationService.CheckJobSpecification
157
+ */
158
+ export const checkJobSpecification = {
159
+ localName: "checkJobSpecification",
160
+ name: "CheckJobSpecification",
161
+ kind: MethodKind.Unary,
162
+ I: CheckJobSpecificationRequest,
163
+ O: CheckJobSpecificationResponse,
164
+ service: {
165
+ typeName: "raystack.optimus.core.v1beta1.JobSpecificationService"
166
+ }
167
+ } as const;
168
+
169
+ /**
170
+ * GetDeployJobsStatus check status of job deployment.
171
+ * It will returns status of the job deployment and the failure details.
172
+ *
173
+ * @generated from rpc raystack.optimus.core.v1beta1.JobSpecificationService.GetDeployJobsStatus
174
+ */
175
+ export const getDeployJobsStatus = {
176
+ localName: "getDeployJobsStatus",
177
+ name: "GetDeployJobsStatus",
178
+ kind: MethodKind.Unary,
179
+ I: GetDeployJobsStatusRequest,
180
+ O: GetDeployJobsStatusResponse,
181
+ service: {
182
+ typeName: "raystack.optimus.core.v1beta1.JobSpecificationService"
183
+ }
184
+ } as const;
185
+
186
+ /**
187
+ * GetJobTask provides task details specific to plugin used in a job
188
+ *
189
+ * @generated from rpc raystack.optimus.core.v1beta1.JobSpecificationService.GetJobTask
190
+ */
191
+ export const getJobTask = {
192
+ localName: "getJobTask",
193
+ name: "GetJobTask",
194
+ kind: MethodKind.Unary,
195
+ I: GetJobTaskRequest,
196
+ O: GetJobTaskResponse,
197
+ service: {
198
+ typeName: "raystack.optimus.core.v1beta1.JobSpecificationService"
199
+ }
200
+ } as const;
201
+
202
+ /**
203
+ * GetWindow provides the start and end dates provided a scheduled date
204
+ * of the execution window
205
+ *
206
+ * @generated from rpc raystack.optimus.core.v1beta1.JobSpecificationService.GetWindow
207
+ */
208
+ export const getWindow = {
209
+ localName: "getWindow",
210
+ name: "GetWindow",
211
+ kind: MethodKind.Unary,
212
+ I: GetWindowRequest,
213
+ O: GetWindowResponse,
214
+ service: {
215
+ typeName: "raystack.optimus.core.v1beta1.JobSpecificationService"
216
+ }
217
+ } as const;
218
+
219
+ /**
220
+ * UpdateJobState enable / disable job on scheuler
221
+ *
222
+ * @generated from rpc raystack.optimus.core.v1beta1.JobSpecificationService.UpdateJobsState
223
+ */
224
+ export const updateJobsState = {
225
+ localName: "updateJobsState",
226
+ name: "UpdateJobsState",
227
+ kind: MethodKind.Unary,
228
+ I: UpdateJobsStateRequest,
229
+ O: UpdateJobsStateResponse,
230
+ service: {
231
+ typeName: "raystack.optimus.core.v1beta1.JobSpecificationService"
232
+ }
233
+ } as const;
234
+
235
+ /**
236
+ * SyncJobsState enable / disable job on scheuler
237
+ *
238
+ * @generated from rpc raystack.optimus.core.v1beta1.JobSpecificationService.SyncJobsState
239
+ */
240
+ export const syncJobsState = {
241
+ localName: "syncJobsState",
242
+ name: "SyncJobsState",
243
+ kind: MethodKind.Unary,
244
+ I: SyncJobsStateRequest,
245
+ O: SyncJobsStateResponse,
246
+ service: {
247
+ typeName: "raystack.optimus.core.v1beta1.JobSpecificationService"
248
+ }
249
+ } as const;
@@ -0,0 +1,363 @@
1
+ // @generated by protobuf-ts 2.11.1
2
+ // @generated from protobuf file "raystack/optimus/core/v1beta1/job_spec.proto" (package "raystack.optimus.core.v1beta1", syntax proto3)
3
+ // tslint:disable
4
+ import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
5
+ import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
6
+ import { JobSpecificationService } from "./job_spec";
7
+ import type { SyncJobsStateResponse } from "./job_spec";
8
+ import type { SyncJobsStateRequest } from "./job_spec";
9
+ import type { UpdateJobsStateResponse } from "./job_spec";
10
+ import type { UpdateJobsStateRequest } from "./job_spec";
11
+ import type { GetWindowResponse } from "./job_spec";
12
+ import type { GetWindowRequest } from "./job_spec";
13
+ import type { GetJobTaskResponse } from "./job_spec";
14
+ import type { GetJobTaskRequest } from "./job_spec";
15
+ import type { ReplaceAllJobSpecificationsResponse } from "./job_spec";
16
+ import type { ReplaceAllJobSpecificationsRequest } from "./job_spec";
17
+ import type { GetDeployJobsStatusResponse } from "./job_spec";
18
+ import type { GetDeployJobsStatusRequest } from "./job_spec";
19
+ import type { RefreshJobsResponse } from "./job_spec";
20
+ import type { RefreshJobsRequest } from "./job_spec";
21
+ import type { CheckJobSpecificationsResponse } from "./job_spec";
22
+ import type { CheckJobSpecificationsRequest } from "./job_spec";
23
+ import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc";
24
+ import type { CheckJobSpecificationResponse } from "./job_spec";
25
+ import type { CheckJobSpecificationRequest } from "./job_spec";
26
+ import type { ListJobSpecificationResponse } from "./job_spec";
27
+ import type { ListJobSpecificationRequest } from "./job_spec";
28
+ import type { ChangeJobNamespaceResponse } from "./job_spec";
29
+ import type { ChangeJobNamespaceRequest } from "./job_spec";
30
+ import type { DeleteJobSpecificationResponse } from "./job_spec";
31
+ import type { DeleteJobSpecificationRequest } from "./job_spec";
32
+ import type { GetJobSpecificationsResponse } from "./job_spec";
33
+ import type { GetJobSpecificationsRequest } from "./job_spec";
34
+ import type { GetJobSpecificationResponse } from "./job_spec";
35
+ import type { GetJobSpecificationRequest } from "./job_spec";
36
+ import type { UpdateJobSpecificationsResponse } from "./job_spec";
37
+ import type { UpdateJobSpecificationsRequest } from "./job_spec";
38
+ import type { AddJobSpecificationsResponse } from "./job_spec";
39
+ import type { AddJobSpecificationsRequest } from "./job_spec";
40
+ import type { CreateJobSpecificationResponse } from "./job_spec";
41
+ import type { CreateJobSpecificationRequest } from "./job_spec";
42
+ import type { JobInspectResponse } from "./job_spec";
43
+ import type { JobInspectRequest } from "./job_spec";
44
+ import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
45
+ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
46
+ import type { DeployJobSpecificationResponse } from "./job_spec";
47
+ import type { DeployJobSpecificationRequest } from "./job_spec";
48
+ import type { DuplexStreamingCall } from "@protobuf-ts/runtime-rpc";
49
+ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
50
+ /**
51
+ * @generated from protobuf service raystack.optimus.core.v1beta1.JobSpecificationService
52
+ */
53
+ export interface IJobSpecificationServiceClient {
54
+ /**
55
+ * DeployJobSpecification schedules jobs for execution
56
+ * returns a stream of messages which can be used to track the progress
57
+ * of deployments. Message containing ack are status events other are progress
58
+ * events
59
+ * State of the world request
60
+ *
61
+ * @generated from protobuf rpc: DeployJobSpecification
62
+ */
63
+ deployJobSpecification(options?: RpcOptions): DuplexStreamingCall<DeployJobSpecificationRequest, DeployJobSpecificationResponse>;
64
+ /**
65
+ * JobInspect return a new jobSpec for a namespace which belongs to a project
66
+ *
67
+ * @generated from protobuf rpc: JobInspect
68
+ */
69
+ jobInspect(input: JobInspectRequest, options?: RpcOptions): UnaryCall<JobInspectRequest, JobInspectResponse>;
70
+ /**
71
+ * CreateJobSpecification registers a new job for a namespace which belongs to a project
72
+ *
73
+ * @generated from protobuf rpc: CreateJobSpecification
74
+ */
75
+ createJobSpecification(input: CreateJobSpecificationRequest, options?: RpcOptions): UnaryCall<CreateJobSpecificationRequest, CreateJobSpecificationResponse>;
76
+ /**
77
+ * AddJobSpecification registers new jobs for a namespace which belongs to the given project
78
+ *
79
+ * @generated from protobuf rpc: AddJobSpecifications
80
+ */
81
+ addJobSpecifications(input: AddJobSpecificationsRequest, options?: RpcOptions): UnaryCall<AddJobSpecificationsRequest, AddJobSpecificationsResponse>;
82
+ /**
83
+ * UpdateJobSpecifications modify jobs for a namespace which belongs to the given project
84
+ *
85
+ * @generated from protobuf rpc: UpdateJobSpecifications
86
+ */
87
+ updateJobSpecifications(input: UpdateJobSpecificationsRequest, options?: RpcOptions): UnaryCall<UpdateJobSpecificationsRequest, UpdateJobSpecificationsResponse>;
88
+ /**
89
+ * GetJobSpecification reads a provided job spec of a namespace
90
+ *
91
+ * @generated from protobuf rpc: GetJobSpecification
92
+ */
93
+ getJobSpecification(input: GetJobSpecificationRequest, options?: RpcOptions): UnaryCall<GetJobSpecificationRequest, GetJobSpecificationResponse>;
94
+ /**
95
+ * GetJobSpecifications read a job spec for provided filters
96
+ *
97
+ * @generated from protobuf rpc: GetJobSpecifications
98
+ */
99
+ getJobSpecifications(input: GetJobSpecificationsRequest, options?: RpcOptions): UnaryCall<GetJobSpecificationsRequest, GetJobSpecificationsResponse>;
100
+ /**
101
+ * DeleteJobSpecification deletes a job spec of a namespace
102
+ *
103
+ * @generated from protobuf rpc: DeleteJobSpecification
104
+ */
105
+ deleteJobSpecification(input: DeleteJobSpecificationRequest, options?: RpcOptions): UnaryCall<DeleteJobSpecificationRequest, DeleteJobSpecificationResponse>;
106
+ /**
107
+ * ChangeJobNamespace move a job spec from one namespace to another
108
+ *
109
+ * @generated from protobuf rpc: ChangeJobNamespace
110
+ */
111
+ changeJobNamespace(input: ChangeJobNamespaceRequest, options?: RpcOptions): UnaryCall<ChangeJobNamespaceRequest, ChangeJobNamespaceResponse>;
112
+ /**
113
+ * ListJobSpecification returns list of jobs created in a project
114
+ *
115
+ * @generated from protobuf rpc: ListJobSpecification
116
+ */
117
+ listJobSpecification(input: ListJobSpecificationRequest, options?: RpcOptions): UnaryCall<ListJobSpecificationRequest, ListJobSpecificationResponse>;
118
+ /**
119
+ * CheckJobSpecification checks if a job specification is valid
120
+ *
121
+ * @generated from protobuf rpc: CheckJobSpecification
122
+ */
123
+ checkJobSpecification(input: CheckJobSpecificationRequest, options?: RpcOptions): UnaryCall<CheckJobSpecificationRequest, CheckJobSpecificationResponse>;
124
+ /**
125
+ * CheckJobSpecifications checks if the job specifications are valid
126
+ *
127
+ * @generated from protobuf rpc: CheckJobSpecifications
128
+ */
129
+ checkJobSpecifications(input: CheckJobSpecificationsRequest, options?: RpcOptions): ServerStreamingCall<CheckJobSpecificationsRequest, CheckJobSpecificationsResponse>;
130
+ /**
131
+ * RefreshJobs do redeployment using the current persisted state.
132
+ * It will returns a stream of messages which can be used to track the progress.
133
+ *
134
+ * @generated from protobuf rpc: RefreshJobs
135
+ */
136
+ refreshJobs(input: RefreshJobsRequest, options?: RpcOptions): ServerStreamingCall<RefreshJobsRequest, RefreshJobsResponse>;
137
+ /**
138
+ * GetDeployJobsStatus check status of job deployment.
139
+ * It will returns status of the job deployment and the failure details.
140
+ *
141
+ * @generated from protobuf rpc: GetDeployJobsStatus
142
+ */
143
+ getDeployJobsStatus(input: GetDeployJobsStatusRequest, options?: RpcOptions): UnaryCall<GetDeployJobsStatusRequest, GetDeployJobsStatusResponse>;
144
+ /**
145
+ * ReplaceAllJobSpecifications replaces all jobs in server for a given tenant
146
+ *
147
+ * @generated from protobuf rpc: ReplaceAllJobSpecifications
148
+ */
149
+ replaceAllJobSpecifications(options?: RpcOptions): DuplexStreamingCall<ReplaceAllJobSpecificationsRequest, ReplaceAllJobSpecificationsResponse>;
150
+ /**
151
+ * GetJobTask provides task details specific to plugin used in a job
152
+ *
153
+ * @generated from protobuf rpc: GetJobTask
154
+ */
155
+ getJobTask(input: GetJobTaskRequest, options?: RpcOptions): UnaryCall<GetJobTaskRequest, GetJobTaskResponse>;
156
+ /**
157
+ * GetWindow provides the start and end dates provided a scheduled date
158
+ * of the execution window
159
+ *
160
+ * @generated from protobuf rpc: GetWindow
161
+ */
162
+ getWindow(input: GetWindowRequest, options?: RpcOptions): UnaryCall<GetWindowRequest, GetWindowResponse>;
163
+ /**
164
+ * UpdateJobState enable / disable job on scheuler
165
+ *
166
+ * @generated from protobuf rpc: UpdateJobsState
167
+ */
168
+ updateJobsState(input: UpdateJobsStateRequest, options?: RpcOptions): UnaryCall<UpdateJobsStateRequest, UpdateJobsStateResponse>;
169
+ /**
170
+ * SyncJobsState enable / disable job on scheuler
171
+ *
172
+ * @generated from protobuf rpc: SyncJobsState
173
+ */
174
+ syncJobsState(input: SyncJobsStateRequest, options?: RpcOptions): UnaryCall<SyncJobsStateRequest, SyncJobsStateResponse>;
175
+ }
176
+ /**
177
+ * @generated from protobuf service raystack.optimus.core.v1beta1.JobSpecificationService
178
+ */
179
+ export class JobSpecificationServiceClient implements IJobSpecificationServiceClient, ServiceInfo {
180
+ typeName = JobSpecificationService.typeName;
181
+ methods = JobSpecificationService.methods;
182
+ options = JobSpecificationService.options;
183
+ constructor(private readonly _transport: RpcTransport) {
184
+ }
185
+ /**
186
+ * DeployJobSpecification schedules jobs for execution
187
+ * returns a stream of messages which can be used to track the progress
188
+ * of deployments. Message containing ack are status events other are progress
189
+ * events
190
+ * State of the world request
191
+ *
192
+ * @generated from protobuf rpc: DeployJobSpecification
193
+ */
194
+ deployJobSpecification(options?: RpcOptions): DuplexStreamingCall<DeployJobSpecificationRequest, DeployJobSpecificationResponse> {
195
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
196
+ return stackIntercept<DeployJobSpecificationRequest, DeployJobSpecificationResponse>("duplex", this._transport, method, opt);
197
+ }
198
+ /**
199
+ * JobInspect return a new jobSpec for a namespace which belongs to a project
200
+ *
201
+ * @generated from protobuf rpc: JobInspect
202
+ */
203
+ jobInspect(input: JobInspectRequest, options?: RpcOptions): UnaryCall<JobInspectRequest, JobInspectResponse> {
204
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
205
+ return stackIntercept<JobInspectRequest, JobInspectResponse>("unary", this._transport, method, opt, input);
206
+ }
207
+ /**
208
+ * CreateJobSpecification registers a new job for a namespace which belongs to a project
209
+ *
210
+ * @generated from protobuf rpc: CreateJobSpecification
211
+ */
212
+ createJobSpecification(input: CreateJobSpecificationRequest, options?: RpcOptions): UnaryCall<CreateJobSpecificationRequest, CreateJobSpecificationResponse> {
213
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
214
+ return stackIntercept<CreateJobSpecificationRequest, CreateJobSpecificationResponse>("unary", this._transport, method, opt, input);
215
+ }
216
+ /**
217
+ * AddJobSpecification registers new jobs for a namespace which belongs to the given project
218
+ *
219
+ * @generated from protobuf rpc: AddJobSpecifications
220
+ */
221
+ addJobSpecifications(input: AddJobSpecificationsRequest, options?: RpcOptions): UnaryCall<AddJobSpecificationsRequest, AddJobSpecificationsResponse> {
222
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
223
+ return stackIntercept<AddJobSpecificationsRequest, AddJobSpecificationsResponse>("unary", this._transport, method, opt, input);
224
+ }
225
+ /**
226
+ * UpdateJobSpecifications modify jobs for a namespace which belongs to the given project
227
+ *
228
+ * @generated from protobuf rpc: UpdateJobSpecifications
229
+ */
230
+ updateJobSpecifications(input: UpdateJobSpecificationsRequest, options?: RpcOptions): UnaryCall<UpdateJobSpecificationsRequest, UpdateJobSpecificationsResponse> {
231
+ const method = this.methods[4], opt = this._transport.mergeOptions(options);
232
+ return stackIntercept<UpdateJobSpecificationsRequest, UpdateJobSpecificationsResponse>("unary", this._transport, method, opt, input);
233
+ }
234
+ /**
235
+ * GetJobSpecification reads a provided job spec of a namespace
236
+ *
237
+ * @generated from protobuf rpc: GetJobSpecification
238
+ */
239
+ getJobSpecification(input: GetJobSpecificationRequest, options?: RpcOptions): UnaryCall<GetJobSpecificationRequest, GetJobSpecificationResponse> {
240
+ const method = this.methods[5], opt = this._transport.mergeOptions(options);
241
+ return stackIntercept<GetJobSpecificationRequest, GetJobSpecificationResponse>("unary", this._transport, method, opt, input);
242
+ }
243
+ /**
244
+ * GetJobSpecifications read a job spec for provided filters
245
+ *
246
+ * @generated from protobuf rpc: GetJobSpecifications
247
+ */
248
+ getJobSpecifications(input: GetJobSpecificationsRequest, options?: RpcOptions): UnaryCall<GetJobSpecificationsRequest, GetJobSpecificationsResponse> {
249
+ const method = this.methods[6], opt = this._transport.mergeOptions(options);
250
+ return stackIntercept<GetJobSpecificationsRequest, GetJobSpecificationsResponse>("unary", this._transport, method, opt, input);
251
+ }
252
+ /**
253
+ * DeleteJobSpecification deletes a job spec of a namespace
254
+ *
255
+ * @generated from protobuf rpc: DeleteJobSpecification
256
+ */
257
+ deleteJobSpecification(input: DeleteJobSpecificationRequest, options?: RpcOptions): UnaryCall<DeleteJobSpecificationRequest, DeleteJobSpecificationResponse> {
258
+ const method = this.methods[7], opt = this._transport.mergeOptions(options);
259
+ return stackIntercept<DeleteJobSpecificationRequest, DeleteJobSpecificationResponse>("unary", this._transport, method, opt, input);
260
+ }
261
+ /**
262
+ * ChangeJobNamespace move a job spec from one namespace to another
263
+ *
264
+ * @generated from protobuf rpc: ChangeJobNamespace
265
+ */
266
+ changeJobNamespace(input: ChangeJobNamespaceRequest, options?: RpcOptions): UnaryCall<ChangeJobNamespaceRequest, ChangeJobNamespaceResponse> {
267
+ const method = this.methods[8], opt = this._transport.mergeOptions(options);
268
+ return stackIntercept<ChangeJobNamespaceRequest, ChangeJobNamespaceResponse>("unary", this._transport, method, opt, input);
269
+ }
270
+ /**
271
+ * ListJobSpecification returns list of jobs created in a project
272
+ *
273
+ * @generated from protobuf rpc: ListJobSpecification
274
+ */
275
+ listJobSpecification(input: ListJobSpecificationRequest, options?: RpcOptions): UnaryCall<ListJobSpecificationRequest, ListJobSpecificationResponse> {
276
+ const method = this.methods[9], opt = this._transport.mergeOptions(options);
277
+ return stackIntercept<ListJobSpecificationRequest, ListJobSpecificationResponse>("unary", this._transport, method, opt, input);
278
+ }
279
+ /**
280
+ * CheckJobSpecification checks if a job specification is valid
281
+ *
282
+ * @generated from protobuf rpc: CheckJobSpecification
283
+ */
284
+ checkJobSpecification(input: CheckJobSpecificationRequest, options?: RpcOptions): UnaryCall<CheckJobSpecificationRequest, CheckJobSpecificationResponse> {
285
+ const method = this.methods[10], opt = this._transport.mergeOptions(options);
286
+ return stackIntercept<CheckJobSpecificationRequest, CheckJobSpecificationResponse>("unary", this._transport, method, opt, input);
287
+ }
288
+ /**
289
+ * CheckJobSpecifications checks if the job specifications are valid
290
+ *
291
+ * @generated from protobuf rpc: CheckJobSpecifications
292
+ */
293
+ checkJobSpecifications(input: CheckJobSpecificationsRequest, options?: RpcOptions): ServerStreamingCall<CheckJobSpecificationsRequest, CheckJobSpecificationsResponse> {
294
+ const method = this.methods[11], opt = this._transport.mergeOptions(options);
295
+ return stackIntercept<CheckJobSpecificationsRequest, CheckJobSpecificationsResponse>("serverStreaming", this._transport, method, opt, input);
296
+ }
297
+ /**
298
+ * RefreshJobs do redeployment using the current persisted state.
299
+ * It will returns a stream of messages which can be used to track the progress.
300
+ *
301
+ * @generated from protobuf rpc: RefreshJobs
302
+ */
303
+ refreshJobs(input: RefreshJobsRequest, options?: RpcOptions): ServerStreamingCall<RefreshJobsRequest, RefreshJobsResponse> {
304
+ const method = this.methods[12], opt = this._transport.mergeOptions(options);
305
+ return stackIntercept<RefreshJobsRequest, RefreshJobsResponse>("serverStreaming", this._transport, method, opt, input);
306
+ }
307
+ /**
308
+ * GetDeployJobsStatus check status of job deployment.
309
+ * It will returns status of the job deployment and the failure details.
310
+ *
311
+ * @generated from protobuf rpc: GetDeployJobsStatus
312
+ */
313
+ getDeployJobsStatus(input: GetDeployJobsStatusRequest, options?: RpcOptions): UnaryCall<GetDeployJobsStatusRequest, GetDeployJobsStatusResponse> {
314
+ const method = this.methods[13], opt = this._transport.mergeOptions(options);
315
+ return stackIntercept<GetDeployJobsStatusRequest, GetDeployJobsStatusResponse>("unary", this._transport, method, opt, input);
316
+ }
317
+ /**
318
+ * ReplaceAllJobSpecifications replaces all jobs in server for a given tenant
319
+ *
320
+ * @generated from protobuf rpc: ReplaceAllJobSpecifications
321
+ */
322
+ replaceAllJobSpecifications(options?: RpcOptions): DuplexStreamingCall<ReplaceAllJobSpecificationsRequest, ReplaceAllJobSpecificationsResponse> {
323
+ const method = this.methods[14], opt = this._transport.mergeOptions(options);
324
+ return stackIntercept<ReplaceAllJobSpecificationsRequest, ReplaceAllJobSpecificationsResponse>("duplex", this._transport, method, opt);
325
+ }
326
+ /**
327
+ * GetJobTask provides task details specific to plugin used in a job
328
+ *
329
+ * @generated from protobuf rpc: GetJobTask
330
+ */
331
+ getJobTask(input: GetJobTaskRequest, options?: RpcOptions): UnaryCall<GetJobTaskRequest, GetJobTaskResponse> {
332
+ const method = this.methods[15], opt = this._transport.mergeOptions(options);
333
+ return stackIntercept<GetJobTaskRequest, GetJobTaskResponse>("unary", this._transport, method, opt, input);
334
+ }
335
+ /**
336
+ * GetWindow provides the start and end dates provided a scheduled date
337
+ * of the execution window
338
+ *
339
+ * @generated from protobuf rpc: GetWindow
340
+ */
341
+ getWindow(input: GetWindowRequest, options?: RpcOptions): UnaryCall<GetWindowRequest, GetWindowResponse> {
342
+ const method = this.methods[16], opt = this._transport.mergeOptions(options);
343
+ return stackIntercept<GetWindowRequest, GetWindowResponse>("unary", this._transport, method, opt, input);
344
+ }
345
+ /**
346
+ * UpdateJobState enable / disable job on scheuler
347
+ *
348
+ * @generated from protobuf rpc: UpdateJobsState
349
+ */
350
+ updateJobsState(input: UpdateJobsStateRequest, options?: RpcOptions): UnaryCall<UpdateJobsStateRequest, UpdateJobsStateResponse> {
351
+ const method = this.methods[17], opt = this._transport.mergeOptions(options);
352
+ return stackIntercept<UpdateJobsStateRequest, UpdateJobsStateResponse>("unary", this._transport, method, opt, input);
353
+ }
354
+ /**
355
+ * SyncJobsState enable / disable job on scheuler
356
+ *
357
+ * @generated from protobuf rpc: SyncJobsState
358
+ */
359
+ syncJobsState(input: SyncJobsStateRequest, options?: RpcOptions): UnaryCall<SyncJobsStateRequest, SyncJobsStateResponse> {
360
+ const method = this.methods[18], opt = this._transport.mergeOptions(options);
361
+ return stackIntercept<SyncJobsStateRequest, SyncJobsStateResponse>("unary", this._transport, method, opt, input);
362
+ }
363
+ }