@7k-inari/api-client 0.5.2 → 0.7.0-0933ff8

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.
@@ -1,80 +1,20 @@
1
- // @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
1
+ // @generated by protoc-gen-es v2.16.0 with parameter "target=ts"
2
2
  // @generated from file inari/agent/v1/commands.proto (package inari.agent.v1, syntax proto3)
3
3
  /* eslint-disable */
4
- // @ts-nocheck
5
4
 
6
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
- import { Duration, Message, proto3, Struct } from "@bufbuild/protobuf";
8
- import { ResourceRef } from "./events_pb.js";
5
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { Duration } from "@bufbuild/protobuf/wkt";
8
+ import { file_google_protobuf_duration, file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
9
+ import type { ResourceRef } from "./events_pb";
10
+ import { file_inari_agent_v1_events } from "./events_pb";
11
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
9
12
 
10
13
  /**
11
- * CommitPolicy selects how rendered manifests reach tenant Git (per-tenant
12
- * policy, plan §5.3 GitOps decisions).
13
- *
14
- * @generated from enum inari.agent.v1.CommitPolicy
14
+ * Describes the file inari/agent/v1/commands.proto.
15
15
  */
16
- export enum CommitPolicy {
17
- /**
18
- * @generated from enum value: COMMIT_POLICY_UNSPECIFIED = 0;
19
- */
20
- UNSPECIFIED = 0,
21
-
22
- /**
23
- * @generated from enum value: COMMIT_POLICY_DIRECT_COMMIT = 1;
24
- */
25
- DIRECT_COMMIT = 1,
26
-
27
- /**
28
- * @generated from enum value: COMMIT_POLICY_PULL_REQUEST = 2;
29
- */
30
- PULL_REQUEST = 2,
31
- }
32
- // Retrieve enum metadata with: proto3.getEnumType(CommitPolicy)
33
- proto3.util.setEnumType(CommitPolicy, "inari.agent.v1.CommitPolicy", [
34
- { no: 0, name: "COMMIT_POLICY_UNSPECIFIED" },
35
- { no: 1, name: "COMMIT_POLICY_DIRECT_COMMIT" },
36
- { no: 2, name: "COMMIT_POLICY_PULL_REQUEST" },
37
- ]);
38
-
39
- /**
40
- * CommandResult is the outcome reported in a CommandAck.
41
- *
42
- * @generated from enum inari.agent.v1.CommandResult
43
- */
44
- export enum CommandResult {
45
- /**
46
- * @generated from enum value: COMMAND_RESULT_UNSPECIFIED = 0;
47
- */
48
- UNSPECIFIED = 0,
49
-
50
- /**
51
- * Accepted and queued by the agent.
52
- *
53
- * @generated from enum value: COMMAND_RESULT_ACCEPTED = 1;
54
- */
55
- ACCEPTED = 1,
56
-
57
- /**
58
- * Fully applied in the tenant environment.
59
- *
60
- * @generated from enum value: COMMAND_RESULT_APPLIED = 2;
61
- */
62
- APPLIED = 2,
63
-
64
- /**
65
- * Failed; message carries the reason.
66
- *
67
- * @generated from enum value: COMMAND_RESULT_FAILED = 3;
68
- */
69
- FAILED = 3,
70
- }
71
- // Retrieve enum metadata with: proto3.getEnumType(CommandResult)
72
- proto3.util.setEnumType(CommandResult, "inari.agent.v1.CommandResult", [
73
- { no: 0, name: "COMMAND_RESULT_UNSPECIFIED" },
74
- { no: 1, name: "COMMAND_RESULT_ACCEPTED" },
75
- { no: 2, name: "COMMAND_RESULT_APPLIED" },
76
- { no: 3, name: "COMMAND_RESULT_FAILED" },
77
- ]);
16
+ export const file_inari_agent_v1_commands: GenFile = /*@__PURE__*/
17
+ fileDesc("Ch1pbmFyaS9hZ2VudC92MS9jb21tYW5kcy5wcm90bxIOaW5hcmkuYWdlbnQudjEiPgoJR2l0VGFyZ2V0EgwKBHJlcG8YASABKAkSDAoEcGF0aBgCIAEoCRIOCgZicmFuY2gYAyABKAlKBQhkEMgBIsMBCgtBcHBseUJ1bmRsZRISCgpjb21tYW5kX2lkGAEgASgJEhEKB29jaV9y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WFwaS9nZW4vZ28vaW5hcmkvYWdlbnQvdjE7YWdlbnR2MWIGcHJvdG8z", [file_google_protobuf_duration, file_google_protobuf_struct, file_inari_agent_v1_events]);
78
18
 
79
19
  /**
80
20
  * GitTarget identifies a repository + path rendered output is written to.
@@ -83,53 +23,31 @@ proto3.util.setEnumType(CommandResult, "inari.agent.v1.CommandResult", [
83
23
  *
84
24
  * @generated from message inari.agent.v1.GitTarget
85
25
  */
86
- export class GitTarget extends Message<GitTarget> {
26
+ export type GitTarget = Message<"inari.agent.v1.GitTarget"> & {
87
27
  /**
88
28
  * @generated from field: string repo = 1;
89
29
  */
90
- repo = "";
30
+ repo: string;
91
31
 
92
32
  /**
93
33
  * @generated from field: string path = 2;
94
34
  */
95
- path = "";
35
+ path: string;
96
36
 
97
37
  /**
98
38
  * Branch for direct commits, or base branch for pull requests.
99
39
  *
100
40
  * @generated from field: string branch = 3;
101
41
  */
102
- branch = "";
103
-
104
- constructor(data?: PartialMessage<GitTarget>) {
105
- super();
106
- proto3.util.initPartial(data, this);
107
- }
42
+ branch: string;
43
+ };
108
44
 
109
- static readonly runtime: typeof proto3 = proto3;
110
- static readonly typeName = "inari.agent.v1.GitTarget";
111
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
112
- { no: 1, name: "repo", kind: "scalar", T: 9 /* ScalarType.STRING */ },
113
- { no: 2, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
114
- { no: 3, name: "branch", kind: "scalar", T: 9 /* ScalarType.STRING */ },
115
- ]);
116
-
117
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GitTarget {
118
- return new GitTarget().fromBinary(bytes, options);
119
- }
120
-
121
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GitTarget {
122
- return new GitTarget().fromJson(jsonValue, options);
123
- }
124
-
125
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GitTarget {
126
- return new GitTarget().fromJsonString(jsonString, options);
127
- }
128
-
129
- static equals(a: GitTarget | PlainMessage<GitTarget> | undefined, b: GitTarget | PlainMessage<GitTarget> | undefined): boolean {
130
- return proto3.util.equals(GitTarget, a, b);
131
- }
132
- }
45
+ /**
46
+ * Describes the message inari.agent.v1.GitTarget.
47
+ * Use `create(GitTargetSchema)` to create a new message.
48
+ */
49
+ export const GitTargetSchema: GenMessage<GitTarget> = /*@__PURE__*/
50
+ messageDesc(file_inari_agent_v1_commands, 0);
133
51
 
134
52
  /**
135
53
  * ApplyBundle directs the agent to render a bundle (Helm/KRO/plain manifests)
@@ -137,11 +55,11 @@ export class GitTarget extends Message<GitTarget> {
137
55
  *
138
56
  * @generated from message inari.agent.v1.ApplyBundle
139
57
  */
140
- export class ApplyBundle extends Message<ApplyBundle> {
58
+ export type ApplyBundle = Message<"inari.agent.v1.ApplyBundle"> & {
141
59
  /**
142
60
  * @generated from field: string command_id = 1;
143
61
  */
144
- commandId = "";
62
+ commandId: string;
145
63
 
146
64
  /**
147
65
  * @generated from oneof inari.agent.v1.ApplyBundle.source
@@ -162,167 +80,97 @@ export class ApplyBundle extends Message<ApplyBundle> {
162
80
  */
163
81
  value: string;
164
82
  case: "gitUrl";
165
- } | { case: undefined; value?: undefined } = { case: undefined };
83
+ } | { case: undefined; value?: undefined };
166
84
 
167
85
  /**
168
86
  * @generated from field: inari.agent.v1.GitTarget target = 4;
169
87
  */
170
- target?: GitTarget;
88
+ target?: GitTarget | undefined;
171
89
 
172
90
  /**
173
91
  * @generated from field: inari.agent.v1.CommitPolicy policy = 5;
174
92
  */
175
- policy = CommitPolicy.UNSPECIFIED;
93
+ policy: CommitPolicy;
176
94
 
177
95
  /**
178
96
  * Expected content checksum; the agent verifies before applying.
179
97
  *
180
98
  * @generated from field: string checksum = 6;
181
99
  */
182
- checksum = "";
183
-
184
- constructor(data?: PartialMessage<ApplyBundle>) {
185
- super();
186
- proto3.util.initPartial(data, this);
187
- }
188
-
189
- static readonly runtime: typeof proto3 = proto3;
190
- static readonly typeName = "inari.agent.v1.ApplyBundle";
191
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
192
- { no: 1, name: "command_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
193
- { no: 2, name: "oci_ref", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "source" },
194
- { no: 3, name: "git_url", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "source" },
195
- { no: 4, name: "target", kind: "message", T: GitTarget },
196
- { no: 5, name: "policy", kind: "enum", T: proto3.getEnumType(CommitPolicy) },
197
- { no: 6, name: "checksum", kind: "scalar", T: 9 /* ScalarType.STRING */ },
198
- ]);
199
-
200
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ApplyBundle {
201
- return new ApplyBundle().fromBinary(bytes, options);
202
- }
203
-
204
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ApplyBundle {
205
- return new ApplyBundle().fromJson(jsonValue, options);
206
- }
207
-
208
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ApplyBundle {
209
- return new ApplyBundle().fromJsonString(jsonString, options);
210
- }
211
-
212
- static equals(a: ApplyBundle | PlainMessage<ApplyBundle> | undefined, b: ApplyBundle | PlainMessage<ApplyBundle> | undefined): boolean {
213
- return proto3.util.equals(ApplyBundle, a, b);
214
- }
215
- }
100
+ checksum: string;
101
+ };
102
+
103
+ /**
104
+ * Describes the message inari.agent.v1.ApplyBundle.
105
+ * Use `create(ApplyBundleSchema)` to create a new message.
106
+ */
107
+ export const ApplyBundleSchema: GenMessage<ApplyBundle> = /*@__PURE__*/
108
+ messageDesc(file_inari_agent_v1_commands, 1);
216
109
 
217
110
  /**
218
111
  * ApplicationSource describes the ArgoCD Application source.
219
112
  *
220
113
  * @generated from message inari.agent.v1.ApplicationSource
221
114
  */
222
- export class ApplicationSource extends Message<ApplicationSource> {
115
+ export type ApplicationSource = Message<"inari.agent.v1.ApplicationSource"> & {
223
116
  /**
224
117
  * @generated from field: string repo_url = 1;
225
118
  */
226
- repoUrl = "";
119
+ repoUrl: string;
227
120
 
228
121
  /**
229
122
  * @generated from field: string path = 2;
230
123
  */
231
- path = "";
124
+ path: string;
232
125
 
233
126
  /**
234
127
  * Helm chart name when the source is a chart instead of a path.
235
128
  *
236
129
  * @generated from field: string chart = 3;
237
130
  */
238
- chart = "";
131
+ chart: string;
239
132
 
240
133
  /**
241
134
  * @generated from field: string target_revision = 4;
242
135
  */
243
- targetRevision = "";
244
-
245
- constructor(data?: PartialMessage<ApplicationSource>) {
246
- super();
247
- proto3.util.initPartial(data, this);
248
- }
249
-
250
- static readonly runtime: typeof proto3 = proto3;
251
- static readonly typeName = "inari.agent.v1.ApplicationSource";
252
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
253
- { no: 1, name: "repo_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
254
- { no: 2, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
255
- { no: 3, name: "chart", kind: "scalar", T: 9 /* ScalarType.STRING */ },
256
- { no: 4, name: "target_revision", kind: "scalar", T: 9 /* ScalarType.STRING */ },
257
- ]);
258
-
259
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ApplicationSource {
260
- return new ApplicationSource().fromBinary(bytes, options);
261
- }
262
-
263
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ApplicationSource {
264
- return new ApplicationSource().fromJson(jsonValue, options);
265
- }
266
-
267
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ApplicationSource {
268
- return new ApplicationSource().fromJsonString(jsonString, options);
269
- }
270
-
271
- static equals(a: ApplicationSource | PlainMessage<ApplicationSource> | undefined, b: ApplicationSource | PlainMessage<ApplicationSource> | undefined): boolean {
272
- return proto3.util.equals(ApplicationSource, a, b);
273
- }
274
- }
136
+ targetRevision: string;
137
+ };
138
+
139
+ /**
140
+ * Describes the message inari.agent.v1.ApplicationSource.
141
+ * Use `create(ApplicationSourceSchema)` to create a new message.
142
+ */
143
+ export const ApplicationSourceSchema: GenMessage<ApplicationSource> = /*@__PURE__*/
144
+ messageDesc(file_inari_agent_v1_commands, 2);
275
145
 
276
146
  /**
277
147
  * SyncPolicy mirrors the ArgoCD Application sync policy knobs Inari manages.
278
148
  *
279
149
  * @generated from message inari.agent.v1.SyncPolicy
280
150
  */
281
- export class SyncPolicy extends Message<SyncPolicy> {
151
+ export type SyncPolicy = Message<"inari.agent.v1.SyncPolicy"> & {
282
152
  /**
283
153
  * @generated from field: bool automated = 1;
284
154
  */
285
- automated = false;
155
+ automated: boolean;
286
156
 
287
157
  /**
288
158
  * @generated from field: bool self_heal = 2;
289
159
  */
290
- selfHeal = false;
160
+ selfHeal: boolean;
291
161
 
292
162
  /**
293
163
  * @generated from field: bool prune = 3;
294
164
  */
295
- prune = false;
296
-
297
- constructor(data?: PartialMessage<SyncPolicy>) {
298
- super();
299
- proto3.util.initPartial(data, this);
300
- }
301
-
302
- static readonly runtime: typeof proto3 = proto3;
303
- static readonly typeName = "inari.agent.v1.SyncPolicy";
304
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
305
- { no: 1, name: "automated", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
306
- { no: 2, name: "self_heal", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
307
- { no: 3, name: "prune", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
308
- ]);
165
+ prune: boolean;
166
+ };
309
167
 
310
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SyncPolicy {
311
- return new SyncPolicy().fromBinary(bytes, options);
312
- }
313
-
314
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SyncPolicy {
315
- return new SyncPolicy().fromJson(jsonValue, options);
316
- }
317
-
318
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SyncPolicy {
319
- return new SyncPolicy().fromJsonString(jsonString, options);
320
- }
321
-
322
- static equals(a: SyncPolicy | PlainMessage<SyncPolicy> | undefined, b: SyncPolicy | PlainMessage<SyncPolicy> | undefined): boolean {
323
- return proto3.util.equals(SyncPolicy, a, b);
324
- }
325
- }
168
+ /**
169
+ * Describes the message inari.agent.v1.SyncPolicy.
170
+ * Use `create(SyncPolicySchema)` to create a new message.
171
+ */
172
+ export const SyncPolicySchema: GenMessage<SyncPolicy> = /*@__PURE__*/
173
+ messageDesc(file_inari_agent_v1_commands, 3);
326
174
 
327
175
  /**
328
176
  * RegisterArgoCDApp directs the agent to register (or update/remove) a
@@ -330,75 +178,49 @@ export class SyncPolicy extends Message<SyncPolicy> {
330
178
  *
331
179
  * @generated from message inari.agent.v1.RegisterArgoCDApp
332
180
  */
333
- export class RegisterArgoCDApp extends Message<RegisterArgoCDApp> {
181
+ export type RegisterArgoCDApp = Message<"inari.agent.v1.RegisterArgoCDApp"> & {
334
182
  /**
335
183
  * @generated from field: string command_id = 1;
336
184
  */
337
- commandId = "";
185
+ commandId: string;
338
186
 
339
187
  /**
340
188
  * @generated from field: string name = 2;
341
189
  */
342
- name = "";
190
+ name: string;
343
191
 
344
192
  /**
345
193
  * @generated from field: string project = 3;
346
194
  */
347
- project = "";
195
+ project: string;
348
196
 
349
197
  /**
350
198
  * @generated from field: inari.agent.v1.ApplicationSource source = 4;
351
199
  */
352
- source?: ApplicationSource;
200
+ source?: ApplicationSource | undefined;
353
201
 
354
202
  /**
355
203
  * @generated from field: string destination_server = 5;
356
204
  */
357
- destinationServer = "";
205
+ destinationServer: string;
358
206
 
359
207
  /**
360
208
  * @generated from field: string destination_namespace = 6;
361
209
  */
362
- destinationNamespace = "";
210
+ destinationNamespace: string;
363
211
 
364
212
  /**
365
213
  * @generated from field: inari.agent.v1.SyncPolicy sync_policy = 7;
366
214
  */
367
- syncPolicy?: SyncPolicy;
368
-
369
- constructor(data?: PartialMessage<RegisterArgoCDApp>) {
370
- super();
371
- proto3.util.initPartial(data, this);
372
- }
373
-
374
- static readonly runtime: typeof proto3 = proto3;
375
- static readonly typeName = "inari.agent.v1.RegisterArgoCDApp";
376
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
377
- { no: 1, name: "command_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
378
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
379
- { no: 3, name: "project", kind: "scalar", T: 9 /* ScalarType.STRING */ },
380
- { no: 4, name: "source", kind: "message", T: ApplicationSource },
381
- { no: 5, name: "destination_server", kind: "scalar", T: 9 /* ScalarType.STRING */ },
382
- { no: 6, name: "destination_namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
383
- { no: 7, name: "sync_policy", kind: "message", T: SyncPolicy },
384
- ]);
385
-
386
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterArgoCDApp {
387
- return new RegisterArgoCDApp().fromBinary(bytes, options);
388
- }
389
-
390
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterArgoCDApp {
391
- return new RegisterArgoCDApp().fromJson(jsonValue, options);
392
- }
393
-
394
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterArgoCDApp {
395
- return new RegisterArgoCDApp().fromJsonString(jsonString, options);
396
- }
397
-
398
- static equals(a: RegisterArgoCDApp | PlainMessage<RegisterArgoCDApp> | undefined, b: RegisterArgoCDApp | PlainMessage<RegisterArgoCDApp> | undefined): boolean {
399
- return proto3.util.equals(RegisterArgoCDApp, a, b);
400
- }
401
- }
215
+ syncPolicy?: SyncPolicy | undefined;
216
+ };
217
+
218
+ /**
219
+ * Describes the message inari.agent.v1.RegisterArgoCDApp.
220
+ * Use `create(RegisterArgoCDAppSchema)` to create a new message.
221
+ */
222
+ export const RegisterArgoCDAppSchema: GenMessage<RegisterArgoCDApp> = /*@__PURE__*/
223
+ messageDesc(file_inari_agent_v1_commands, 4);
402
224
 
403
225
  /**
404
226
  * InvokeAction is an imperative out-of-band operation (sync/refresh/rollback,
@@ -408,63 +230,50 @@ export class RegisterArgoCDApp extends Message<RegisterArgoCDApp> {
408
230
  *
409
231
  * @generated from message inari.agent.v1.InvokeAction
410
232
  */
411
- export class InvokeAction extends Message<InvokeAction> {
233
+ export type InvokeAction = Message<"inari.agent.v1.InvokeAction"> & {
412
234
  /**
413
235
  * @generated from field: string command_id = 1;
414
236
  */
415
- commandId = "";
237
+ commandId: string;
416
238
 
417
239
  /**
418
240
  * @generated from field: string action = 2;
419
241
  */
420
- action = "";
242
+ action: string;
421
243
 
422
244
  /**
423
245
  * @generated from field: inari.agent.v1.ResourceRef resource = 3;
424
246
  */
425
- resource?: ResourceRef;
247
+ resource?: ResourceRef | undefined;
426
248
 
427
249
  /**
428
250
  * @generated from field: google.protobuf.Struct parameters = 4;
429
251
  */
430
- parameters?: Struct;
252
+ parameters?: JsonObject | undefined;
431
253
 
432
254
  /**
433
255
  * @generated from field: google.protobuf.Duration timeout = 5;
434
256
  */
435
- timeout?: Duration;
436
-
437
- constructor(data?: PartialMessage<InvokeAction>) {
438
- super();
439
- proto3.util.initPartial(data, this);
440
- }
441
-
442
- static readonly runtime: typeof proto3 = proto3;
443
- static readonly typeName = "inari.agent.v1.InvokeAction";
444
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
445
- { no: 1, name: "command_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
446
- { no: 2, name: "action", kind: "scalar", T: 9 /* ScalarType.STRING */ },
447
- { no: 3, name: "resource", kind: "message", T: ResourceRef },
448
- { no: 4, name: "parameters", kind: "message", T: Struct },
449
- { no: 5, name: "timeout", kind: "message", T: Duration },
450
- ]);
451
-
452
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InvokeAction {
453
- return new InvokeAction().fromBinary(bytes, options);
454
- }
455
-
456
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InvokeAction {
457
- return new InvokeAction().fromJson(jsonValue, options);
458
- }
459
-
460
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InvokeAction {
461
- return new InvokeAction().fromJsonString(jsonString, options);
462
- }
463
-
464
- static equals(a: InvokeAction | PlainMessage<InvokeAction> | undefined, b: InvokeAction | PlainMessage<InvokeAction> | undefined): boolean {
465
- return proto3.util.equals(InvokeAction, a, b);
466
- }
467
- }
257
+ timeout?: Duration | undefined;
258
+
259
+ /**
260
+ * Opaque reference to a per-user credential the agent redeems via
261
+ * AgentCredentials.RedeemUserCredential. Command payloads are persisted
262
+ * (agent_commands.payload), so they carry only this reference, never a
263
+ * token. Redemption is single-use, bound to this cluster, and expires with
264
+ * the command timeout. Empty means the legacy static-token fallback.
265
+ *
266
+ * @generated from field: string user_credential_ref = 6;
267
+ */
268
+ userCredentialRef: string;
269
+ };
270
+
271
+ /**
272
+ * Describes the message inari.agent.v1.InvokeAction.
273
+ * Use `create(InvokeActionSchema)` to create a new message.
274
+ */
275
+ export const InvokeActionSchema: GenMessage<InvokeAction> = /*@__PURE__*/
276
+ messageDesc(file_inari_agent_v1_commands, 5);
468
277
 
469
278
  /**
470
279
  * RenderRgdInstance directs the agent to render a KRO ResourceGraphDefinition
@@ -472,77 +281,295 @@ export class InvokeAction extends Message<InvokeAction> {
472
281
  *
473
282
  * @generated from message inari.agent.v1.RenderRgdInstance
474
283
  */
475
- export class RenderRgdInstance extends Message<RenderRgdInstance> {
284
+ export type RenderRgdInstance = Message<"inari.agent.v1.RenderRgdInstance"> & {
476
285
  /**
477
286
  * @generated from field: string command_id = 1;
478
287
  */
479
- commandId = "";
288
+ commandId: string;
480
289
 
481
290
  /**
482
291
  * Signed OCI reference of the RGD package from inari-catalog.
483
292
  *
484
293
  * @generated from field: string rgd_ref = 2;
485
294
  */
486
- rgdRef = "";
295
+ rgdRef: string;
487
296
 
488
297
  /**
489
298
  * @generated from field: string instance_name = 3;
490
299
  */
491
- instanceName = "";
300
+ instanceName: string;
492
301
 
493
302
  /**
494
303
  * @generated from field: string target_namespace = 4;
495
304
  */
496
- targetNamespace = "";
305
+ targetNamespace: string;
497
306
 
498
307
  /**
499
308
  * @generated from field: google.protobuf.Struct parameters = 5;
500
309
  */
501
- parameters?: Struct;
310
+ parameters?: JsonObject | undefined;
502
311
 
503
312
  /**
504
313
  * @generated from field: inari.agent.v1.GitTarget target = 6;
505
314
  */
506
- target?: GitTarget;
315
+ target?: GitTarget | undefined;
507
316
 
508
317
  /**
509
318
  * @generated from field: inari.agent.v1.CommitPolicy policy = 7;
510
319
  */
511
- policy = CommitPolicy.UNSPECIFIED;
512
-
513
- constructor(data?: PartialMessage<RenderRgdInstance>) {
514
- super();
515
- proto3.util.initPartial(data, this);
516
- }
517
-
518
- static readonly runtime: typeof proto3 = proto3;
519
- static readonly typeName = "inari.agent.v1.RenderRgdInstance";
520
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
521
- { no: 1, name: "command_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
522
- { no: 2, name: "rgd_ref", kind: "scalar", T: 9 /* ScalarType.STRING */ },
523
- { no: 3, name: "instance_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
524
- { no: 4, name: "target_namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
525
- { no: 5, name: "parameters", kind: "message", T: Struct },
526
- { no: 6, name: "target", kind: "message", T: GitTarget },
527
- { no: 7, name: "policy", kind: "enum", T: proto3.getEnumType(CommitPolicy) },
528
- ]);
529
-
530
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RenderRgdInstance {
531
- return new RenderRgdInstance().fromBinary(bytes, options);
532
- }
533
-
534
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RenderRgdInstance {
535
- return new RenderRgdInstance().fromJson(jsonValue, options);
536
- }
537
-
538
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RenderRgdInstance {
539
- return new RenderRgdInstance().fromJsonString(jsonString, options);
540
- }
541
-
542
- static equals(a: RenderRgdInstance | PlainMessage<RenderRgdInstance> | undefined, b: RenderRgdInstance | PlainMessage<RenderRgdInstance> | undefined): boolean {
543
- return proto3.util.equals(RenderRgdInstance, a, b);
544
- }
545
- }
320
+ policy: CommitPolicy;
321
+ };
322
+
323
+ /**
324
+ * Describes the message inari.agent.v1.RenderRgdInstance.
325
+ * Use `create(RenderRgdInstanceSchema)` to create a new message.
326
+ */
327
+ export const RenderRgdInstanceSchema: GenMessage<RenderRgdInstance> = /*@__PURE__*/
328
+ messageDesc(file_inari_agent_v1_commands, 6);
329
+
330
+ /**
331
+ * SecretRef references a cluster-side Kubernetes Secret holding provider
332
+ * credentials. Only the reference ever transits the control plane — never
333
+ * credential values (plan §4.1/§5.10).
334
+ *
335
+ * @generated from message inari.agent.v1.SecretRef
336
+ */
337
+ export type SecretRef = Message<"inari.agent.v1.SecretRef"> & {
338
+ /**
339
+ * @generated from field: string name = 1;
340
+ */
341
+ name: string;
342
+
343
+ /**
344
+ * @generated from field: string namespace = 2;
345
+ */
346
+ namespace: string;
347
+ };
348
+
349
+ /**
350
+ * Describes the message inari.agent.v1.SecretRef.
351
+ * Use `create(SecretRefSchema)` to create a new message.
352
+ */
353
+ export const SecretRefSchema: GenMessage<SecretRef> = /*@__PURE__*/
354
+ messageDesc(file_inari_agent_v1_commands, 7);
355
+
356
+ /**
357
+ * AwsSMProvider configures an ESO AWS Secrets Manager backend.
358
+ *
359
+ * @generated from message inari.agent.v1.AwsSMProvider
360
+ */
361
+ export type AwsSMProvider = Message<"inari.agent.v1.AwsSMProvider"> & {
362
+ /**
363
+ * @generated from field: string region = 1;
364
+ */
365
+ region: string;
366
+
367
+ /**
368
+ * @generated from field: inari.agent.v1.SecretRef auth_secret_ref = 2;
369
+ */
370
+ authSecretRef?: SecretRef | undefined;
371
+ };
372
+
373
+ /**
374
+ * Describes the message inari.agent.v1.AwsSMProvider.
375
+ * Use `create(AwsSMProviderSchema)` to create a new message.
376
+ */
377
+ export const AwsSMProviderSchema: GenMessage<AwsSMProvider> = /*@__PURE__*/
378
+ messageDesc(file_inari_agent_v1_commands, 8);
379
+
380
+ /**
381
+ * VaultProvider configures an ESO HashiCorp Vault backend.
382
+ *
383
+ * @generated from message inari.agent.v1.VaultProvider
384
+ */
385
+ export type VaultProvider = Message<"inari.agent.v1.VaultProvider"> & {
386
+ /**
387
+ * @generated from field: string server = 1;
388
+ */
389
+ server: string;
390
+
391
+ /**
392
+ * @generated from field: string path = 2;
393
+ */
394
+ path: string;
395
+
396
+ /**
397
+ * @generated from field: inari.agent.v1.SecretRef auth_secret_ref = 3;
398
+ */
399
+ authSecretRef?: SecretRef | undefined;
400
+ };
401
+
402
+ /**
403
+ * Describes the message inari.agent.v1.VaultProvider.
404
+ * Use `create(VaultProviderSchema)` to create a new message.
405
+ */
406
+ export const VaultProviderSchema: GenMessage<VaultProvider> = /*@__PURE__*/
407
+ messageDesc(file_inari_agent_v1_commands, 9);
408
+
409
+ /**
410
+ * GcpSMProvider configures an ESO GCP Secret Manager backend.
411
+ *
412
+ * @generated from message inari.agent.v1.GcpSMProvider
413
+ */
414
+ export type GcpSMProvider = Message<"inari.agent.v1.GcpSMProvider"> & {
415
+ /**
416
+ * @generated from field: string project_id = 1;
417
+ */
418
+ projectId: string;
419
+
420
+ /**
421
+ * @generated from field: inari.agent.v1.SecretRef auth_secret_ref = 2;
422
+ */
423
+ authSecretRef?: SecretRef | undefined;
424
+ };
425
+
426
+ /**
427
+ * Describes the message inari.agent.v1.GcpSMProvider.
428
+ * Use `create(GcpSMProviderSchema)` to create a new message.
429
+ */
430
+ export const GcpSMProviderSchema: GenMessage<GcpSMProvider> = /*@__PURE__*/
431
+ messageDesc(file_inari_agent_v1_commands, 10);
432
+
433
+ /**
434
+ * AzureKVProvider configures an ESO Azure Key Vault backend.
435
+ *
436
+ * @generated from message inari.agent.v1.AzureKVProvider
437
+ */
438
+ export type AzureKVProvider = Message<"inari.agent.v1.AzureKVProvider"> & {
439
+ /**
440
+ * @generated from field: string vault_url = 1;
441
+ */
442
+ vaultUrl: string;
443
+
444
+ /**
445
+ * @generated from field: string tenant_id = 2;
446
+ */
447
+ tenantId: string;
448
+
449
+ /**
450
+ * @generated from field: inari.agent.v1.SecretRef auth_secret_ref = 3;
451
+ */
452
+ authSecretRef?: SecretRef | undefined;
453
+ };
454
+
455
+ /**
456
+ * Describes the message inari.agent.v1.AzureKVProvider.
457
+ * Use `create(AzureKVProviderSchema)` to create a new message.
458
+ */
459
+ export const AzureKVProviderSchema: GenMessage<AzureKVProvider> = /*@__PURE__*/
460
+ messageDesc(file_inari_agent_v1_commands, 11);
461
+
462
+ /**
463
+ * SecretStoreApply directs the agent to render an ESO SecretStore (scope
464
+ * "cluster", namespaced) or ClusterSecretStore (scope "platform") manifest
465
+ * and write it to the tenant state repo (Settings design §3.2, plan §4.1).
466
+ *
467
+ * @generated from message inari.agent.v1.SecretStoreApply
468
+ */
469
+ export type SecretStoreApply = Message<"inari.agent.v1.SecretStoreApply"> & {
470
+ /**
471
+ * @generated from field: string command_id = 1;
472
+ */
473
+ commandId: string;
474
+
475
+ /**
476
+ * @generated from field: string name = 2;
477
+ */
478
+ name: string;
479
+
480
+ /**
481
+ * "platform" or "cluster".
482
+ *
483
+ * @generated from field: string scope = 3;
484
+ */
485
+ scope: string;
486
+
487
+ /**
488
+ * @generated from oneof inari.agent.v1.SecretStoreApply.provider
489
+ */
490
+ provider: {
491
+ /**
492
+ * @generated from field: inari.agent.v1.AwsSMProvider aws_sm = 4;
493
+ */
494
+ value: AwsSMProvider;
495
+ case: "awsSm";
496
+ } | {
497
+ /**
498
+ * @generated from field: inari.agent.v1.VaultProvider vault = 5;
499
+ */
500
+ value: VaultProvider;
501
+ case: "vault";
502
+ } | {
503
+ /**
504
+ * @generated from field: inari.agent.v1.GcpSMProvider gcp_sm = 6;
505
+ */
506
+ value: GcpSMProvider;
507
+ case: "gcpSm";
508
+ } | {
509
+ /**
510
+ * @generated from field: inari.agent.v1.AzureKVProvider azure_kv = 7;
511
+ */
512
+ value: AzureKVProvider;
513
+ case: "azureKv";
514
+ } | { case: undefined; value?: undefined };
515
+
516
+ /**
517
+ * @generated from field: inari.agent.v1.GitTarget target = 8;
518
+ */
519
+ target?: GitTarget | undefined;
520
+
521
+ /**
522
+ * @generated from field: inari.agent.v1.CommitPolicy policy = 9;
523
+ */
524
+ policy: CommitPolicy;
525
+ };
526
+
527
+ /**
528
+ * Describes the message inari.agent.v1.SecretStoreApply.
529
+ * Use `create(SecretStoreApplySchema)` to create a new message.
530
+ */
531
+ export const SecretStoreApplySchema: GenMessage<SecretStoreApply> = /*@__PURE__*/
532
+ messageDesc(file_inari_agent_v1_commands, 12);
533
+
534
+ /**
535
+ * SecretStoreDelete directs the agent to prune a previously applied ESO
536
+ * SecretStore manifest from the tenant state repo.
537
+ *
538
+ * @generated from message inari.agent.v1.SecretStoreDelete
539
+ */
540
+ export type SecretStoreDelete = Message<"inari.agent.v1.SecretStoreDelete"> & {
541
+ /**
542
+ * @generated from field: string command_id = 1;
543
+ */
544
+ commandId: string;
545
+
546
+ /**
547
+ * @generated from field: string name = 2;
548
+ */
549
+ name: string;
550
+
551
+ /**
552
+ * @generated from field: string scope = 3;
553
+ */
554
+ scope: string;
555
+
556
+ /**
557
+ * @generated from field: inari.agent.v1.GitTarget target = 4;
558
+ */
559
+ target?: GitTarget | undefined;
560
+
561
+ /**
562
+ * @generated from field: inari.agent.v1.CommitPolicy policy = 5;
563
+ */
564
+ policy: CommitPolicy;
565
+ };
566
+
567
+ /**
568
+ * Describes the message inari.agent.v1.SecretStoreDelete.
569
+ * Use `create(SecretStoreDeleteSchema)` to create a new message.
570
+ */
571
+ export const SecretStoreDeleteSchema: GenMessage<SecretStoreDelete> = /*@__PURE__*/
572
+ messageDesc(file_inari_agent_v1_commands, 13);
546
573
 
547
574
  /**
548
575
  * CommandAck reports the outcome of a command back to the gateway. Sent as an
@@ -551,49 +578,95 @@ export class RenderRgdInstance extends Message<RenderRgdInstance> {
551
578
  *
552
579
  * @generated from message inari.agent.v1.CommandAck
553
580
  */
554
- export class CommandAck extends Message<CommandAck> {
581
+ export type CommandAck = Message<"inari.agent.v1.CommandAck"> & {
555
582
  /**
556
583
  * @generated from field: string command_id = 1;
557
584
  */
558
- commandId = "";
585
+ commandId: string;
559
586
 
560
587
  /**
561
588
  * @generated from field: inari.agent.v1.CommandResult result = 2;
562
589
  */
563
- result = CommandResult.UNSPECIFIED;
590
+ result: CommandResult;
564
591
 
565
592
  /**
566
593
  * @generated from field: string message = 3;
567
594
  */
568
- message = "";
595
+ message: string;
596
+ };
569
597
 
570
- constructor(data?: PartialMessage<CommandAck>) {
571
- super();
572
- proto3.util.initPartial(data, this);
573
- }
598
+ /**
599
+ * Describes the message inari.agent.v1.CommandAck.
600
+ * Use `create(CommandAckSchema)` to create a new message.
601
+ */
602
+ export const CommandAckSchema: GenMessage<CommandAck> = /*@__PURE__*/
603
+ messageDesc(file_inari_agent_v1_commands, 14);
604
+
605
+ /**
606
+ * CommitPolicy selects how rendered manifests reach tenant Git (per-tenant
607
+ * policy, plan §5.3 GitOps decisions).
608
+ *
609
+ * @generated from enum inari.agent.v1.CommitPolicy
610
+ */
611
+ export enum CommitPolicy {
612
+ /**
613
+ * @generated from enum value: COMMIT_POLICY_UNSPECIFIED = 0;
614
+ */
615
+ UNSPECIFIED = 0,
616
+
617
+ /**
618
+ * @generated from enum value: COMMIT_POLICY_DIRECT_COMMIT = 1;
619
+ */
620
+ DIRECT_COMMIT = 1,
621
+
622
+ /**
623
+ * @generated from enum value: COMMIT_POLICY_PULL_REQUEST = 2;
624
+ */
625
+ PULL_REQUEST = 2,
626
+ }
574
627
 
575
- static readonly runtime: typeof proto3 = proto3;
576
- static readonly typeName = "inari.agent.v1.CommandAck";
577
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
578
- { no: 1, name: "command_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
579
- { no: 2, name: "result", kind: "enum", T: proto3.getEnumType(CommandResult) },
580
- { no: 3, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
581
- ]);
628
+ /**
629
+ * Describes the enum inari.agent.v1.CommitPolicy.
630
+ */
631
+ export const CommitPolicySchema: GenEnum<CommitPolicy> = /*@__PURE__*/
632
+ enumDesc(file_inari_agent_v1_commands, 0);
582
633
 
583
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CommandAck {
584
- return new CommandAck().fromBinary(bytes, options);
585
- }
634
+ /**
635
+ * CommandResult is the outcome reported in a CommandAck.
636
+ *
637
+ * @generated from enum inari.agent.v1.CommandResult
638
+ */
639
+ export enum CommandResult {
640
+ /**
641
+ * @generated from enum value: COMMAND_RESULT_UNSPECIFIED = 0;
642
+ */
643
+ UNSPECIFIED = 0,
586
644
 
587
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CommandAck {
588
- return new CommandAck().fromJson(jsonValue, options);
589
- }
645
+ /**
646
+ * Accepted and queued by the agent.
647
+ *
648
+ * @generated from enum value: COMMAND_RESULT_ACCEPTED = 1;
649
+ */
650
+ ACCEPTED = 1,
590
651
 
591
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CommandAck {
592
- return new CommandAck().fromJsonString(jsonString, options);
593
- }
652
+ /**
653
+ * Fully applied in the tenant environment.
654
+ *
655
+ * @generated from enum value: COMMAND_RESULT_APPLIED = 2;
656
+ */
657
+ APPLIED = 2,
594
658
 
595
- static equals(a: CommandAck | PlainMessage<CommandAck> | undefined, b: CommandAck | PlainMessage<CommandAck> | undefined): boolean {
596
- return proto3.util.equals(CommandAck, a, b);
597
- }
659
+ /**
660
+ * Failed; message carries the reason.
661
+ *
662
+ * @generated from enum value: COMMAND_RESULT_FAILED = 3;
663
+ */
664
+ FAILED = 3,
598
665
  }
599
666
 
667
+ /**
668
+ * Describes the enum inari.agent.v1.CommandResult.
669
+ */
670
+ export const CommandResultSchema: GenEnum<CommandResult> = /*@__PURE__*/
671
+ enumDesc(file_inari_agent_v1_commands, 1);
672
+