@sylphx/sdk 0.28.0 → 0.31.0

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 (104) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +42 -114
  3. package/dist/access.d.ts +670 -0
  4. package/dist/access.js +640 -0
  5. package/dist/access.js.map +1 -0
  6. package/dist/ai.d.ts +176 -0
  7. package/dist/ai.js +112 -0
  8. package/dist/ai.js.map +1 -0
  9. package/dist/artifacts.d.ts +165 -0
  10. package/dist/artifacts.js +129 -0
  11. package/dist/artifacts.js.map +1 -0
  12. package/dist/auth/verify.d.ts +57 -0
  13. package/dist/auth/verify.js +157 -0
  14. package/dist/auth/verify.js.map +1 -0
  15. package/dist/auth.d.ts +896 -0
  16. package/dist/auth.js +828 -0
  17. package/dist/auth.js.map +1 -0
  18. package/dist/billing.d.ts +854 -0
  19. package/dist/billing.js +593 -0
  20. package/dist/billing.js.map +1 -0
  21. package/dist/broker.d.ts +226 -0
  22. package/dist/broker.js +187 -0
  23. package/dist/broker.js.map +1 -0
  24. package/dist/build.d.ts +313 -0
  25. package/dist/build.js +271 -0
  26. package/dist/build.js.map +1 -0
  27. package/dist/common.d.ts +162 -0
  28. package/dist/common.js +41 -0
  29. package/dist/common.js.map +1 -0
  30. package/dist/config.d.ts +198 -0
  31. package/dist/config.js +168 -0
  32. package/dist/config.js.map +1 -0
  33. package/dist/connections.d.ts +354 -0
  34. package/dist/connections.js +313 -0
  35. package/dist/connections.js.map +1 -0
  36. package/dist/data.d.ts +1141 -0
  37. package/dist/data.js +1082 -0
  38. package/dist/data.js.map +1 -0
  39. package/dist/entitlement.d.ts +179 -0
  40. package/dist/entitlement.js +117 -0
  41. package/dist/entitlement.js.map +1 -0
  42. package/dist/events.d.ts +1324 -0
  43. package/dist/events.js +1227 -0
  44. package/dist/events.js.map +1 -0
  45. package/dist/hosting.d.ts +709 -0
  46. package/dist/hosting.js +611 -0
  47. package/dist/hosting.js.map +1 -0
  48. package/dist/index.d.ts +79 -33656
  49. package/dist/index.js +113 -0
  50. package/dist/index.js.map +1 -0
  51. package/dist/keys.d.ts +438 -0
  52. package/dist/keys.js +406 -0
  53. package/dist/keys.js.map +1 -0
  54. package/dist/methods.d.ts +2 -0
  55. package/dist/methods.js +4200 -0
  56. package/dist/methods.js.map +1 -0
  57. package/dist/network.d.ts +733 -0
  58. package/dist/network.js +711 -0
  59. package/dist/network.js.map +1 -0
  60. package/dist/notify.d.ts +1753 -0
  61. package/dist/notify.js +1551 -0
  62. package/dist/notify.js.map +1 -0
  63. package/dist/observability.d.ts +509 -0
  64. package/dist/observability.js +437 -0
  65. package/dist/observability.js.map +1 -0
  66. package/dist/release.d.ts +303 -0
  67. package/dist/release.js +214 -0
  68. package/dist/release.js.map +1 -0
  69. package/dist/runners.d.ts +262 -0
  70. package/dist/runners.js +238 -0
  71. package/dist/runners.js.map +1 -0
  72. package/dist/runtime.d.ts +121 -0
  73. package/dist/runtime.js +305 -0
  74. package/dist/runtime.js.map +1 -0
  75. package/dist/sandboxes.d.ts +1705 -0
  76. package/dist/sandboxes.js +1226 -0
  77. package/dist/sandboxes.js.map +1 -0
  78. package/dist/secrets.d.ts +508 -0
  79. package/dist/secrets.js +474 -0
  80. package/dist/secrets.js.map +1 -0
  81. package/dist/workflows.d.ts +678 -0
  82. package/dist/workflows.js +595 -0
  83. package/dist/workflows.js.map +1 -0
  84. package/package.json +33 -112
  85. package/dist/connect.d.ts +0 -2838
  86. package/dist/connect.mjs +0 -220
  87. package/dist/connect.mjs.map +0 -1
  88. package/dist/health/index.d.ts +0 -1394
  89. package/dist/health/index.mjs +0 -1394
  90. package/dist/health/index.mjs.map +0 -1
  91. package/dist/index.mjs +0 -38429
  92. package/dist/index.mjs.map +0 -1
  93. package/dist/nextjs/index.d.ts +0 -724
  94. package/dist/nextjs/index.mjs +0 -3332
  95. package/dist/nextjs/index.mjs.map +0 -1
  96. package/dist/react/index.d.ts +0 -13066
  97. package/dist/react/index.mjs +0 -35329
  98. package/dist/react/index.mjs.map +0 -1
  99. package/dist/server/index.d.ts +0 -2000
  100. package/dist/server/index.mjs +0 -3446
  101. package/dist/server/index.mjs.map +0 -1
  102. package/dist/web-analytics.d.ts +0 -90
  103. package/dist/web-analytics.mjs +0 -225
  104. package/dist/web-analytics.mjs.map +0 -1
package/dist/connect.d.ts DELETED
@@ -1,2838 +0,0 @@
1
- import { Client, Interceptor, Transport } from '@connectrpc/connect';
2
- import { GenService, GenMessage } from '@bufbuild/protobuf/codegenv2';
3
- import { Any, Timestamp } from '@bufbuild/protobuf/wkt';
4
- import * as _bufbuild_protobuf from '@bufbuild/protobuf';
5
- import { Message } from '@bufbuild/protobuf';
6
-
7
- /**
8
- * @generated from message sylphx.platform.v1.PageRequest
9
- */
10
- type PageRequest = Message<"sylphx.platform.v1.PageRequest"> & {
11
- /**
12
- * Opaque page cursor from a previous response. Empty = first page.
13
- *
14
- * @generated from field: string page_token = 1;
15
- */
16
- pageToken: string;
17
- /**
18
- * Maximum items to return. Server may cap; 0 means server default.
19
- *
20
- * @generated from field: uint32 page_size = 2;
21
- */
22
- pageSize: number;
23
- };
24
- /**
25
- * @generated from message sylphx.platform.v1.PageInfo
26
- */
27
- type PageInfo = Message<"sylphx.platform.v1.PageInfo"> & {
28
- /**
29
- * Cursor for the next page; empty when no further pages.
30
- *
31
- * @generated from field: string next_page_token = 1;
32
- */
33
- nextPageToken: string;
34
- /**
35
- * Total items if the server computed it; unset when unknown.
36
- *
37
- * @generated from field: optional uint64 total_size = 2;
38
- */
39
- totalSize?: bigint | undefined;
40
- };
41
-
42
- /**
43
- * The `Status` type defines a logical error model that is suitable for
44
- * different programming environments, including REST APIs and RPC APIs. It is
45
- * used by [gRPC](https://github.com/grpc). Each `Status` message contains
46
- * three pieces of data: error code, error message, and error details.
47
- *
48
- * You can find out more about this error model and how to work with it in the
49
- * [API Design Guide](https://cloud.google.com/apis/design/errors).
50
- *
51
- * @generated from message google.rpc.Status
52
- */
53
- type Status = Message<"google.rpc.Status"> & {
54
- /**
55
- * The status code, which should be an enum value of
56
- * [google.rpc.Code][google.rpc.Code].
57
- *
58
- * @generated from field: int32 code = 1;
59
- */
60
- code: number;
61
- /**
62
- * A developer-facing error message, which should be in English. Any
63
- * user-facing error message should be localized and sent in the
64
- * [google.rpc.Status.details][google.rpc.Status.details] field, or localized
65
- * by the client.
66
- *
67
- * @generated from field: string message = 2;
68
- */
69
- message: string;
70
- /**
71
- * A list of messages that carry the error details. There is a common set of
72
- * message types for APIs to use.
73
- *
74
- * @generated from field: repeated google.protobuf.Any details = 3;
75
- */
76
- details: Any[];
77
- };
78
-
79
- /**
80
- * Plan summary captures the evaluated intent without claiming any effect.
81
- *
82
- * @generated from message sylphx.platform.v1.OperationPlanSummary
83
- */
84
- type OperationPlanSummary = Message<"sylphx.platform.v1.OperationPlanSummary"> & {
85
- /**
86
- * Canonical target Resource name, for example
87
- * organizations/{organization}/projects/{project}/services/{service}.
88
- *
89
- * @generated from field: string target = 1;
90
- */
91
- target: string;
92
- /**
93
- * Desired generation of the target Resource at plan time.
94
- *
95
- * @generated from field: int64 desired_generation = 2;
96
- */
97
- desiredGeneration: bigint;
98
- /**
99
- * Digest over every plan input that can alter safety or outcome, including
100
- * target revision, relevant Policy, price book, capability profile,
101
- * dependency revisions, and placement class.
102
- *
103
- * @generated from field: string plan_digest = 3;
104
- */
105
- planDigest: string;
106
- /**
107
- * The plan is destructive: it removes or rewrites customer data.
108
- *
109
- * @generated from field: bool destructive = 4;
110
- */
111
- destructive: boolean;
112
- /**
113
- * The plan is irreversible: no automatic rollback or compensation exists.
114
- *
115
- * @generated from field: bool irreversible = 5;
116
- */
117
- irreversible: boolean;
118
- /**
119
- * Confirmation from an authorized Principal is required before Apply.
120
- *
121
- * @generated from field: bool confirmation_required = 6;
122
- */
123
- confirmationRequired: boolean;
124
- /**
125
- * Reference to the durable Policy decision record, when retained.
126
- *
127
- * @generated from field: optional string policy_decision_reference = 7;
128
- */
129
- policyDecisionReference?: string | undefined;
130
- /**
131
- * Estimated cost bound for the Operation.
132
- *
133
- * @generated from field: sylphx.platform.v1.CostEstimate estimated_cost = 8;
134
- */
135
- estimatedCost?: CostEstimate | undefined;
136
- };
137
- /**
138
- * Progress is a bounded, rebuildable view; the Operation journal remains
139
- * authoritative.
140
- *
141
- * @generated from message sylphx.platform.v1.OperationProgress
142
- */
143
- type OperationProgress = Message<"sylphx.platform.v1.OperationProgress"> & {
144
- /**
145
- * Capability-typed stable phase code, for example "provisioning" or
146
- * "verifying_postcondition".
147
- *
148
- * @generated from field: string phase = 1;
149
- */
150
- phase: string;
151
- /**
152
- * Completed steps within the declared total; 0 when unbounded.
153
- *
154
- * @generated from field: uint32 completed_steps = 2;
155
- */
156
- completedSteps: number;
157
- /**
158
- * Declared total steps; 0 when the Operation does not expose a bounded
159
- * count.
160
- *
161
- * @generated from field: uint32 total_steps = 3;
162
- */
163
- totalSteps: number;
164
- /**
165
- * Customer-safe progress message.
166
- *
167
- * @generated from field: string message = 4;
168
- */
169
- message: string;
170
- /**
171
- * When execution started.
172
- *
173
- * @generated from field: google.protobuf.Timestamp started_time = 5;
174
- */
175
- startedTime?: Timestamp | undefined;
176
- /**
177
- * When progress was last updated.
178
- *
179
- * @generated from field: google.protobuf.Timestamp last_update_time = 6;
180
- */
181
- lastUpdateTime?: Timestamp | undefined;
182
- };
183
- /**
184
- * Estimated cost bound computed by Plan or admission.
185
- *
186
- * @generated from message sylphx.platform.v1.CostEstimate
187
- */
188
- type CostEstimate = Message<"sylphx.platform.v1.CostEstimate"> & {
189
- /**
190
- * ISO 4217 currency code.
191
- *
192
- * @generated from field: string currency_code = 1;
193
- */
194
- currencyCode: string;
195
- /**
196
- * Amount in micros of the currency unit (1 = 0.000001 unit).
197
- *
198
- * @generated from field: int64 amount_micros = 2;
199
- */
200
- amountMicros: bigint;
201
- /**
202
- * Immutable price book revision that produced the estimate.
203
- *
204
- * @generated from field: optional string price_book_revision = 3;
205
- */
206
- priceBookRevision?: string | undefined;
207
- };
208
- /**
209
- * Actual metered cost after the Operation terminates.
210
- *
211
- * @generated from message sylphx.platform.v1.CostActual
212
- */
213
- type CostActual = Message<"sylphx.platform.v1.CostActual"> & {
214
- /**
215
- * ISO 4217 currency code.
216
- *
217
- * @generated from field: string currency_code = 1;
218
- */
219
- currencyCode: string;
220
- /**
221
- * Amount in micros of the currency unit (1 = 0.000001 unit).
222
- *
223
- * @generated from field: int64 amount_micros = 2;
224
- */
225
- amountMicros: bigint;
226
- /**
227
- * Immutable price book revision that produced the charge.
228
- *
229
- * @generated from field: optional string price_book_revision = 3;
230
- */
231
- priceBookRevision?: string | undefined;
232
- /**
233
- * When usage was finally rated and settled.
234
- *
235
- * @generated from field: google.protobuf.Timestamp rated_at = 4;
236
- */
237
- ratedAt?: Timestamp | undefined;
238
- };
239
- /**
240
- * Paginated subresource links owned by the Operation journal. Each link is a
241
- * canonical name pattern, never an embedded unbounded array.
242
- *
243
- * @generated from message sylphx.platform.v1.OperationLinks
244
- */
245
- type OperationLinks = Message<"sylphx.platform.v1.OperationLinks"> & {
246
- /**
247
- * Attempts and external-effect receipts.
248
- *
249
- * @generated from field: string attempts = 1;
250
- */
251
- attempts: string;
252
- /**
253
- * Retained Events caused by this Operation.
254
- *
255
- * @generated from field: string events = 2;
256
- */
257
- events: string;
258
- /**
259
- * Artifacts produced or consumed by this Operation.
260
- *
261
- * @generated from field: string artifacts = 3;
262
- */
263
- artifacts: string;
264
- /**
265
- * Evidence bundles that prove this Operation's outcome.
266
- *
267
- * @generated from field: string evidence = 4;
268
- */
269
- evidence: string;
270
- };
271
- /**
272
- * One admitted durable effect from request through terminal result.
273
- *
274
- * @generated from message sylphx.platform.v1.Operation
275
- */
276
- type Operation = Message<"sylphx.platform.v1.Operation"> & {
277
- /**
278
- * Canonical hierarchical Operation name, for example
279
- * organizations/{organization}/projects/{project}/operations/{operation}.
280
- *
281
- * @generated from field: string name = 1;
282
- */
283
- name: string;
284
- /**
285
- * Caller-generated idempotency request identity.
286
- *
287
- * @generated from field: string request_id = 2;
288
- */
289
- requestId: string;
290
- /**
291
- * Canonical Principal name that admitted the intent.
292
- *
293
- * @generated from field: string principal = 3;
294
- */
295
- principal: string;
296
- /**
297
- * Canonical target Resource name.
298
- *
299
- * @generated from field: string target = 4;
300
- */
301
- target: string;
302
- /**
303
- * Plan or Apply mode.
304
- *
305
- * @generated from field: sylphx.platform.v1.OperationMode mode = 5;
306
- */
307
- mode: OperationMode;
308
- /**
309
- * Durability promise class.
310
- *
311
- * @generated from field: sylphx.platform.v1.OperationExecutionClass execution = 6;
312
- */
313
- execution: OperationExecutionClass;
314
- /**
315
- * Current state machine state.
316
- *
317
- * @generated from field: sylphx.platform.v1.OperationState state = 7;
318
- */
319
- state: OperationState;
320
- /**
321
- * Capability-typed stable phase code.
322
- *
323
- * @generated from field: string phase = 8;
324
- */
325
- phase: string;
326
- /**
327
- * Plan summary when mode is PLAN or Apply references a plan.
328
- *
329
- * @generated from field: optional sylphx.platform.v1.OperationPlanSummary plan = 9;
330
- */
331
- plan?: OperationPlanSummary | undefined;
332
- /**
333
- * Bounded progress projection.
334
- *
335
- * @generated from field: optional sylphx.platform.v1.OperationProgress progress = 10;
336
- */
337
- progress?: OperationProgress | undefined;
338
- /**
339
- * Method-annotated concrete result type. The declaring RPC names the exact
340
- * message; clients decode it statically, never as untyped JSON.
341
- *
342
- * @generated from field: optional google.protobuf.Any result = 11;
343
- */
344
- result?: Any | undefined;
345
- /**
346
- * Typed failure. Set only when state is FAILED or REJECTED.
347
- *
348
- * @generated from field: optional google.rpc.Status error = 12;
349
- */
350
- error?: Status | undefined;
351
- /**
352
- * Estimated cost bound.
353
- *
354
- * @generated from field: optional sylphx.platform.v1.CostEstimate estimated_cost = 13;
355
- */
356
- estimatedCost?: CostEstimate | undefined;
357
- /**
358
- * Actual metered cost after termination.
359
- *
360
- * @generated from field: optional sylphx.platform.v1.CostActual actual_cost = 14;
361
- */
362
- actualCost?: CostActual | undefined;
363
- /**
364
- * Paginated subresource links.
365
- *
366
- * @generated from field: optional sylphx.platform.v1.OperationLinks links = 15;
367
- */
368
- links?: OperationLinks | undefined;
369
- /**
370
- * When the Operation was durably admitted.
371
- *
372
- * @generated from field: google.protobuf.Timestamp create_time = 16;
373
- */
374
- createTime?: Timestamp | undefined;
375
- /**
376
- * When the Operation was last updated.
377
- *
378
- * @generated from field: google.protobuf.Timestamp update_time = 17;
379
- */
380
- updateTime?: Timestamp | undefined;
381
- /**
382
- * When the Operation reached a terminal state.
383
- *
384
- * @generated from field: optional google.protobuf.Timestamp end_time = 18;
385
- */
386
- endTime?: Timestamp | undefined;
387
- };
388
- /**
389
- * Operation mode selects whether an intent is evaluated without effects or
390
- * executed.
391
- *
392
- * @generated from enum sylphx.platform.v1.OperationMode
393
- */
394
- declare enum OperationMode {
395
- /**
396
- * Unspecified mode is never admitted.
397
- *
398
- * @generated from enum value: OPERATION_MODE_UNSPECIFIED = 0;
399
- */
400
- UNSPECIFIED = 0,
401
- /**
402
- * Plan evaluates validation, diff, Policy, entitlement, feasibility, cost,
403
- * and risk without performing any external business effect.
404
- *
405
- * @generated from enum value: OPERATION_MODE_PLAN = 1;
406
- */
407
- PLAN = 1,
408
- /**
409
- * Apply executes the admitted intent and its declared effects.
410
- *
411
- * @generated from enum value: OPERATION_MODE_APPLY = 2;
412
- */
413
- APPLY = 2
414
- }
415
- /**
416
- * Execution class is an implementation-independent durability promise. A
417
- * client uses one Operation API for every class.
418
- *
419
- * @generated from enum sylphx.platform.v1.OperationExecutionClass
420
- */
421
- declare enum OperationExecutionClass {
422
- /**
423
- * Unspecified class is never admitted.
424
- *
425
- * @generated from enum value: OPERATION_EXECUTION_CLASS_UNSPECIFIED = 0;
426
- */
427
- UNSPECIFIED = 0,
428
- /**
429
- * The Operation is admitted and completed in the request path; result is
430
- * persisted before the response and no queue is required.
431
- *
432
- * @generated from enum value: OPERATION_EXECUTION_CLASS_INLINE = 1;
433
- */
434
- INLINE = 1,
435
- /**
436
- * Desired state is converged by a fenced owner; accepted work survives
437
- * process loss and resumes from durable state.
438
- *
439
- * @generated from enum value: OPERATION_EXECUTION_CLASS_RECONCILED = 2;
440
- */
441
- RECONCILED = 2,
442
- /**
443
- * Multi-step timers, signals, waits, compensation, or versioned
444
- * orchestration with replay and side-effect receipt contract.
445
- *
446
- * @generated from enum value: OPERATION_EXECUTION_CLASS_WORKFLOW = 3;
447
- */
448
- WORKFLOW = 3
449
- }
450
- /**
451
- * Operation state machine per the binding contract. States may be skipped only
452
- * when their postconditions are already satisfied; terminal states are
453
- * immutable.
454
- *
455
- * @generated from enum sylphx.platform.v1.OperationState
456
- */
457
- declare enum OperationState {
458
- /**
459
- * Unspecified state is never admitted.
460
- *
461
- * @generated from enum value: OPERATION_STATE_UNSPECIFIED = 0;
462
- */
463
- UNSPECIFIED = 0,
464
- /**
465
- * Request fingerprint and idempotency mapping are durable; no effect has
466
- * started.
467
- *
468
- * @generated from enum value: OPERATION_STATE_PENDING = 1;
469
- */
470
- PENDING = 1,
471
- /**
472
- * Plan computation or pre-execution admission is in progress.
473
- *
474
- * @generated from enum value: OPERATION_STATE_PLANNING = 2;
475
- */
476
- PLANNING = 2,
477
- /**
478
- * The Operation is blocked on a typed waiting reason such as approval,
479
- * dependency, capacity, schedule, or external callback.
480
- *
481
- * @generated from enum value: OPERATION_STATE_WAITING = 3;
482
- */
483
- WAITING = 3,
484
- /**
485
- * Effects are executing under a fenced owner.
486
- *
487
- * @generated from enum value: OPERATION_STATE_RUNNING = 4;
488
- */
489
- RUNNING = 4,
490
- /**
491
- * Every declared postcondition is satisfied at the declared revision.
492
- *
493
- * @generated from enum value: OPERATION_STATE_SUCCEEDED = 5;
494
- */
495
- SUCCEEDED = 5,
496
- /**
497
- * A terminal failure with a typed error and evidence.
498
- *
499
- * @generated from enum value: OPERATION_STATE_FAILED = 6;
500
- */
501
- FAILED = 6,
502
- /**
503
- * Cancellation is admitted and late attempts are being fenced.
504
- *
505
- * @generated from enum value: OPERATION_STATE_CANCELLING = 7;
506
- */
507
- CANCELLING = 7,
508
- /**
509
- * Cancellation completed; completed irreversible effects remain.
510
- *
511
- * @generated from enum value: OPERATION_STATE_CANCELLED = 8;
512
- */
513
- CANCELLED = 8,
514
- /**
515
- * Compensation is executing after a partial failure.
516
- *
517
- * @generated from enum value: OPERATION_STATE_COMPENSATING = 9;
518
- */
519
- COMPENSATING = 9,
520
- /**
521
- * Pre-admission rejection after the Operation was durably admitted.
522
- *
523
- * @generated from enum value: OPERATION_STATE_REJECTED = 10;
524
- */
525
- REJECTED = 10
526
- }
527
-
528
- /**
529
- * Nested environment summary embedded on Project list/get rows (live Management).
530
- *
531
- * @generated from message sylphx.platform.v1.ProjectEnvironmentSummary
532
- */
533
- type ProjectEnvironmentSummary = Message<"sylphx.platform.v1.ProjectEnvironmentSummary"> & {
534
- /**
535
- * @generated from field: string id = 1;
536
- */
537
- id: string;
538
- /**
539
- * @generated from field: optional string name = 2;
540
- */
541
- name?: string | undefined;
542
- /**
543
- * @generated from field: optional string env_type = 3;
544
- */
545
- envType?: string | undefined;
546
- /**
547
- * @generated from field: optional bool is_active = 4;
548
- */
549
- isActive?: boolean | undefined;
550
- /**
551
- * @generated from field: optional string public_key = 5;
552
- */
553
- publicKey?: string | undefined;
554
- };
555
- /**
556
- * @generated from message sylphx.platform.v1.Project
557
- */
558
- type Project = Message<"sylphx.platform.v1.Project"> & {
559
- /**
560
- * @generated from field: string id = 1;
561
- */
562
- id: string;
563
- /**
564
- * @generated from field: string slug = 2;
565
- */
566
- slug: string;
567
- /**
568
- * @generated from field: string name = 3;
569
- */
570
- name: string;
571
- /**
572
- * @generated from field: optional string description = 4;
573
- */
574
- description?: string | undefined;
575
- /**
576
- * @generated from field: string org_id = 5;
577
- */
578
- orgId: string;
579
- /**
580
- * @generated from field: bool is_active = 6;
581
- */
582
- isActive: boolean;
583
- /**
584
- * @generated from field: optional string ref = 7;
585
- */
586
- ref?: string | undefined;
587
- /**
588
- * @generated from field: optional string sdk_url = 8;
589
- */
590
- sdkUrl?: string | undefined;
591
- /**
592
- * @generated from field: optional string infra_status = 9;
593
- */
594
- infraStatus?: string | undefined;
595
- /**
596
- * @generated from field: repeated string domains = 10;
597
- */
598
- domains: string[];
599
- /**
600
- * Additive live Management fields (forward-compatible dual-oracle of product rows).
601
- *
602
- * @generated from field: optional string build_machine_type = 11;
603
- */
604
- buildMachineType?: string | undefined;
605
- /**
606
- * @generated from field: optional string region = 12;
607
- */
608
- region?: string | undefined;
609
- /**
610
- * @generated from field: optional string created_at = 13;
611
- */
612
- createdAt?: string | undefined;
613
- /**
614
- * @generated from field: optional string updated_at = 14;
615
- */
616
- updatedAt?: string | undefined;
617
- /**
618
- * @generated from field: optional int32 preview_max_active = 15;
619
- */
620
- previewMaxActive?: number | undefined;
621
- /**
622
- * @generated from field: optional string preview_tier_policy = 16;
623
- */
624
- previewTierPolicy?: string | undefined;
625
- /**
626
- * @generated from field: optional string webhook_url = 17;
627
- */
628
- webhookUrl?: string | undefined;
629
- /**
630
- * @generated from field: repeated string webhook_events = 18;
631
- */
632
- webhookEvents: string[];
633
- /**
634
- * Live Management uses enabledOAuthProviders (OAuth capitalisation).
635
- *
636
- * @generated from field: repeated string enabled_oauth_providers = 19 [json_name = "enabledOAuthProviders"];
637
- */
638
- enabledOauthProviders: string[];
639
- /**
640
- * @generated from field: repeated sylphx.platform.v1.ProjectEnvironmentSummary environments = 20;
641
- */
642
- environments: ProjectEnvironmentSummary[];
643
- };
644
- /**
645
- * @generated from message sylphx.platform.v1.ListProjectsRequest
646
- */
647
- type ListProjectsRequest = Message<"sylphx.platform.v1.ListProjectsRequest"> & {
648
- /**
649
- * @generated from field: sylphx.platform.v1.PageRequest page = 1;
650
- */
651
- page?: PageRequest | undefined;
652
- /**
653
- * @generated from field: optional string org_id = 2;
654
- */
655
- orgId?: string | undefined;
656
- };
657
- /**
658
- * Describes the message sylphx.platform.v1.ListProjectsRequest.
659
- * Use `create(ListProjectsRequestSchema)` to create a new message.
660
- */
661
- declare const ListProjectsRequestSchema: GenMessage<ListProjectsRequest>;
662
- /**
663
- * @generated from message sylphx.platform.v1.ListProjectsResponse
664
- */
665
- type ListProjectsResponse = Message<"sylphx.platform.v1.ListProjectsResponse"> & {
666
- /**
667
- * @generated from field: string object = 1;
668
- */
669
- object: string;
670
- /**
671
- * @generated from field: repeated sylphx.platform.v1.Project data = 2;
672
- */
673
- data: Project[];
674
- /**
675
- * @generated from field: sylphx.platform.v1.PageInfo page = 3;
676
- */
677
- page?: PageInfo | undefined;
678
- /**
679
- * @generated from field: optional string transport = 4;
680
- */
681
- transport?: string | undefined;
682
- };
683
- /**
684
- * Describes the message sylphx.platform.v1.ListProjectsResponse.
685
- * Use `create(ListProjectsResponseSchema)` to create a new message.
686
- */
687
- declare const ListProjectsResponseSchema: GenMessage<ListProjectsResponse>;
688
- /**
689
- * @generated from message sylphx.platform.v1.GetProjectRequest
690
- */
691
- type GetProjectRequest = Message<"sylphx.platform.v1.GetProjectRequest"> & {
692
- /**
693
- * @generated from field: string id = 1;
694
- */
695
- id: string;
696
- /**
697
- * @generated from field: optional string org_id = 2;
698
- */
699
- orgId?: string | undefined;
700
- };
701
- /**
702
- * Describes the message sylphx.platform.v1.GetProjectRequest.
703
- * Use `create(GetProjectRequestSchema)` to create a new message.
704
- */
705
- declare const GetProjectRequestSchema: GenMessage<GetProjectRequest>;
706
- /**
707
- * @generated from message sylphx.platform.v1.GetProjectResponse
708
- */
709
- type GetProjectResponse = Message<"sylphx.platform.v1.GetProjectResponse"> & {
710
- /**
711
- * @generated from field: sylphx.platform.v1.Project project = 1;
712
- */
713
- project?: Project | undefined;
714
- };
715
- /**
716
- * Describes the message sylphx.platform.v1.GetProjectResponse.
717
- * Use `create(GetProjectResponseSchema)` to create a new message.
718
- */
719
- declare const GetProjectResponseSchema: GenMessage<GetProjectResponse>;
720
- /**
721
- * @generated from message sylphx.platform.v1.CreateProjectRequest
722
- */
723
- type CreateProjectRequest = Message<"sylphx.platform.v1.CreateProjectRequest"> & {
724
- /**
725
- * @generated from field: string name = 1;
726
- */
727
- name: string;
728
- /**
729
- * @generated from field: optional string slug = 2;
730
- */
731
- slug?: string | undefined;
732
- /**
733
- * @generated from field: optional string org_id = 3;
734
- */
735
- orgId?: string | undefined;
736
- /**
737
- * @generated from field: optional string description = 4;
738
- */
739
- description?: string | undefined;
740
- /**
741
- * @generated from field: optional string ref = 5;
742
- */
743
- ref?: string | undefined;
744
- };
745
- /**
746
- * Describes the message sylphx.platform.v1.CreateProjectRequest.
747
- * Use `create(CreateProjectRequestSchema)` to create a new message.
748
- */
749
- declare const CreateProjectRequestSchema: GenMessage<CreateProjectRequest>;
750
- /**
751
- * @generated from message sylphx.platform.v1.CreateProjectResponse
752
- */
753
- type CreateProjectResponse = Message<"sylphx.platform.v1.CreateProjectResponse"> & {
754
- /**
755
- * @generated from field: sylphx.platform.v1.Project project = 1;
756
- */
757
- project?: Project | undefined;
758
- };
759
- /**
760
- * Describes the message sylphx.platform.v1.CreateProjectResponse.
761
- * Use `create(CreateProjectResponseSchema)` to create a new message.
762
- */
763
- declare const CreateProjectResponseSchema: GenMessage<CreateProjectResponse>;
764
- /**
765
- * @generated from message sylphx.platform.v1.PrincipalUser
766
- */
767
- type PrincipalUser = Message<"sylphx.platform.v1.PrincipalUser"> & {
768
- /**
769
- * @generated from field: string id = 1;
770
- */
771
- id: string;
772
- /**
773
- * @generated from field: string email = 2;
774
- */
775
- email: string;
776
- /**
777
- * @generated from field: optional string name = 3;
778
- */
779
- name?: string | undefined;
780
- };
781
- /**
782
- * @generated from message sylphx.platform.v1.OrganizationRef
783
- */
784
- type OrganizationRef = Message<"sylphx.platform.v1.OrganizationRef"> & {
785
- /**
786
- * @generated from field: string id = 1;
787
- */
788
- id: string;
789
- /**
790
- * @generated from field: string slug = 2;
791
- */
792
- slug: string;
793
- /**
794
- * @generated from field: string name = 3;
795
- */
796
- name: string;
797
- };
798
- /**
799
- * @generated from message sylphx.platform.v1.WhoAmIRequest
800
- */
801
- type WhoAmIRequest = Message<"sylphx.platform.v1.WhoAmIRequest"> & {};
802
- /**
803
- * Describes the message sylphx.platform.v1.WhoAmIRequest.
804
- * Use `create(WhoAmIRequestSchema)` to create a new message.
805
- */
806
- declare const WhoAmIRequestSchema: GenMessage<WhoAmIRequest>;
807
- /**
808
- * @generated from message sylphx.platform.v1.WhoAmIResponse
809
- */
810
- type WhoAmIResponse = Message<"sylphx.platform.v1.WhoAmIResponse"> & {
811
- /**
812
- * @generated from field: sylphx.platform.v1.PrincipalUser user = 1;
813
- */
814
- user?: PrincipalUser | undefined;
815
- /**
816
- * @generated from field: repeated sylphx.platform.v1.OrganizationRef orgs = 2;
817
- */
818
- orgs: OrganizationRef[];
819
- };
820
- /**
821
- * Describes the message sylphx.platform.v1.WhoAmIResponse.
822
- * Use `create(WhoAmIResponseSchema)` to create a new message.
823
- */
824
- declare const WhoAmIResponseSchema: GenMessage<WhoAmIResponse>;
825
- /**
826
- * @generated from message sylphx.platform.v1.HealthRequest
827
- */
828
- type HealthRequest = Message<"sylphx.platform.v1.HealthRequest"> & {};
829
- /**
830
- * Describes the message sylphx.platform.v1.HealthRequest.
831
- * Use `create(HealthRequestSchema)` to create a new message.
832
- */
833
- declare const HealthRequestSchema: GenMessage<HealthRequest>;
834
- /**
835
- * @generated from message sylphx.platform.v1.HealthResponse
836
- */
837
- type HealthResponse = Message<"sylphx.platform.v1.HealthResponse"> & {
838
- /**
839
- * @generated from field: string status = 1;
840
- */
841
- status: string;
842
- /**
843
- * @generated from field: optional string version = 2;
844
- */
845
- version?: string | undefined;
846
- /**
847
- * @generated from field: optional string git_sha = 3;
848
- */
849
- gitSha?: string | undefined;
850
- /**
851
- * Live Management health probe additive fields.
852
- *
853
- * @generated from field: optional bool draining = 4;
854
- */
855
- draining?: boolean | undefined;
856
- /**
857
- * @generated from field: optional bool k8s_configured = 5;
858
- */
859
- k8sConfigured?: boolean | undefined;
860
- /**
861
- * @generated from field: optional string release = 6;
862
- */
863
- release?: string | undefined;
864
- /**
865
- * @generated from field: map<string, string> services = 7;
866
- */
867
- services: {
868
- [key: string]: string;
869
- };
870
- /**
871
- * @generated from field: optional string transport = 8;
872
- */
873
- transport?: string | undefined;
874
- /**
875
- * @generated from field: optional int64 uptime_ms = 9;
876
- */
877
- uptimeMs?: bigint | undefined;
878
- };
879
- /**
880
- * Describes the message sylphx.platform.v1.HealthResponse.
881
- * Use `create(HealthResponseSchema)` to create a new message.
882
- */
883
- declare const HealthResponseSchema: GenMessage<HealthResponse>;
884
- /**
885
- * @generated from message sylphx.platform.v1.Environment
886
- */
887
- type Environment = Message<"sylphx.platform.v1.Environment"> & {
888
- /**
889
- * @generated from field: string id = 1;
890
- */
891
- id: string;
892
- /**
893
- * @generated from field: string slug = 2;
894
- */
895
- slug: string;
896
- /**
897
- * @generated from field: string name = 3;
898
- */
899
- name: string;
900
- /**
901
- * @generated from field: string project_id = 4;
902
- */
903
- projectId: string;
904
- /**
905
- * @generated from field: optional string branch = 5;
906
- */
907
- branch?: string | undefined;
908
- /**
909
- * @generated from field: optional string status = 6;
910
- */
911
- status?: string | undefined;
912
- /**
913
- * Additive live Management environment row fields.
914
- *
915
- * @generated from field: optional string env_type = 7;
916
- */
917
- envType?: string | undefined;
918
- /**
919
- * @generated from field: optional bool is_active = 8;
920
- */
921
- isActive?: boolean | undefined;
922
- /**
923
- * @generated from field: optional string lifecycle_state = 9;
924
- */
925
- lifecycleState?: string | undefined;
926
- /**
927
- * @generated from field: optional string protection = 10;
928
- */
929
- protection?: string | undefined;
930
- /**
931
- * @generated from field: optional string public_key = 11;
932
- */
933
- publicKey?: string | undefined;
934
- /**
935
- * @generated from field: optional bool public_networking = 12;
936
- */
937
- publicNetworking?: boolean | undefined;
938
- /**
939
- * @generated from field: optional string reconcile_status = 13;
940
- */
941
- reconcileStatus?: string | undefined;
942
- /**
943
- * @generated from field: optional string created_at = 14;
944
- */
945
- createdAt?: string | undefined;
946
- /**
947
- * @generated from field: optional string updated_at = 15;
948
- */
949
- updatedAt?: string | undefined;
950
- /**
951
- * @generated from field: optional string github_branch = 16;
952
- */
953
- githubBranch?: string | undefined;
954
- /**
955
- * @generated from field: optional string github_repo = 17;
956
- */
957
- githubRepo?: string | undefined;
958
- /**
959
- * @generated from field: optional string default_from_email = 18;
960
- */
961
- defaultFromEmail?: string | undefined;
962
- /**
963
- * @generated from field: optional string default_from_name = 19;
964
- */
965
- defaultFromName?: string | undefined;
966
- /**
967
- * @generated from field: repeated string allowed_origins = 20;
968
- */
969
- allowedOrigins: string[];
970
- /**
971
- * @generated from field: repeated string custom_domains = 21;
972
- */
973
- customDomains: string[];
974
- /**
975
- * @generated from field: optional bool auto_deploy = 22;
976
- */
977
- autoDeploy?: boolean | undefined;
978
- /**
979
- * Product Auto Deploy mode: on_commit | after_ci | off.
980
- * after_verification remains an accepted write alias.
981
- *
982
- * @generated from field: optional string auto_deploy_mode = 23;
983
- */
984
- autoDeployMode?: string | undefined;
985
- /**
986
- * CI gate kind: all_required | named_check
987
- *
988
- * @generated from field: optional string ci_policy_kind = 24;
989
- */
990
- ciPolicyKind?: string | undefined;
991
- /**
992
- * @generated from field: optional string ci_policy_check_name = 25;
993
- */
994
- ciPolicyCheckName?: string | undefined;
995
- };
996
- /**
997
- * @generated from message sylphx.platform.v1.ListEnvironmentsRequest
998
- */
999
- type ListEnvironmentsRequest = Message<"sylphx.platform.v1.ListEnvironmentsRequest"> & {
1000
- /**
1001
- * @generated from field: sylphx.platform.v1.PageRequest page = 1;
1002
- */
1003
- page?: PageRequest | undefined;
1004
- /**
1005
- * @generated from field: string project_id = 2;
1006
- */
1007
- projectId: string;
1008
- };
1009
- /**
1010
- * Describes the message sylphx.platform.v1.ListEnvironmentsRequest.
1011
- * Use `create(ListEnvironmentsRequestSchema)` to create a new message.
1012
- */
1013
- declare const ListEnvironmentsRequestSchema: GenMessage<ListEnvironmentsRequest>;
1014
- /**
1015
- * @generated from message sylphx.platform.v1.ListEnvironmentsResponse
1016
- */
1017
- type ListEnvironmentsResponse = Message<"sylphx.platform.v1.ListEnvironmentsResponse"> & {
1018
- /**
1019
- * @generated from field: string object = 1;
1020
- */
1021
- object: string;
1022
- /**
1023
- * @generated from field: repeated sylphx.platform.v1.Environment data = 2;
1024
- */
1025
- data: Environment[];
1026
- /**
1027
- * @generated from field: sylphx.platform.v1.PageInfo page = 3;
1028
- */
1029
- page?: PageInfo | undefined;
1030
- /**
1031
- * @generated from field: optional string transport = 4;
1032
- */
1033
- transport?: string | undefined;
1034
- };
1035
- /**
1036
- * Describes the message sylphx.platform.v1.ListEnvironmentsResponse.
1037
- * Use `create(ListEnvironmentsResponseSchema)` to create a new message.
1038
- */
1039
- declare const ListEnvironmentsResponseSchema: GenMessage<ListEnvironmentsResponse>;
1040
- /**
1041
- * @generated from message sylphx.platform.v1.GetEnvironmentRequest
1042
- */
1043
- type GetEnvironmentRequest = Message<"sylphx.platform.v1.GetEnvironmentRequest"> & {
1044
- /**
1045
- * @generated from field: string project_id = 1;
1046
- */
1047
- projectId: string;
1048
- /**
1049
- * @generated from field: string environment_id = 2;
1050
- */
1051
- environmentId: string;
1052
- };
1053
- /**
1054
- * Describes the message sylphx.platform.v1.GetEnvironmentRequest.
1055
- * Use `create(GetEnvironmentRequestSchema)` to create a new message.
1056
- */
1057
- declare const GetEnvironmentRequestSchema: GenMessage<GetEnvironmentRequest>;
1058
- /**
1059
- * @generated from message sylphx.platform.v1.GetEnvironmentResponse
1060
- */
1061
- type GetEnvironmentResponse = Message<"sylphx.platform.v1.GetEnvironmentResponse"> & {
1062
- /**
1063
- * @generated from field: sylphx.platform.v1.Environment environment = 1;
1064
- */
1065
- environment?: Environment | undefined;
1066
- };
1067
- /**
1068
- * Describes the message sylphx.platform.v1.GetEnvironmentResponse.
1069
- * Use `create(GetEnvironmentResponseSchema)` to create a new message.
1070
- */
1071
- declare const GetEnvironmentResponseSchema: GenMessage<GetEnvironmentResponse>;
1072
- /**
1073
- * Dual-oracle of management GET /projects/:id/deployments row projection
1074
- * (product::list_project_deployments). Keep optional honesty fields so the
1075
- * Rust CLI can show success/fail timestamps + digests without silent drop.
1076
- *
1077
- * @generated from message sylphx.platform.v1.Deployment
1078
- */
1079
- type Deployment = Message<"sylphx.platform.v1.Deployment"> & {
1080
- /**
1081
- * @generated from field: string id = 1;
1082
- */
1083
- id: string;
1084
- /**
1085
- * @generated from field: string project_id = 2;
1086
- */
1087
- projectId: string;
1088
- /**
1089
- * @generated from field: optional string environment_id = 3;
1090
- */
1091
- environmentId?: string | undefined;
1092
- /**
1093
- * @generated from field: string status = 4;
1094
- */
1095
- status: string;
1096
- /**
1097
- * @generated from field: optional string git_sha = 5;
1098
- */
1099
- gitSha?: string | undefined;
1100
- /**
1101
- * @generated from field: optional string created_at = 6;
1102
- */
1103
- createdAt?: string | undefined;
1104
- /**
1105
- * @generated from field: optional string git_commit = 7;
1106
- */
1107
- gitCommit?: string | undefined;
1108
- /**
1109
- * @generated from field: optional string git_branch = 8;
1110
- */
1111
- gitBranch?: string | undefined;
1112
- /**
1113
- * @generated from field: optional string image_digest = 9;
1114
- */
1115
- imageDigest?: string | undefined;
1116
- /**
1117
- * @generated from field: optional string triggered_by = 10;
1118
- */
1119
- triggeredBy?: string | undefined;
1120
- /**
1121
- * @generated from field: optional string skip_reason = 11;
1122
- */
1123
- skipReason?: string | undefined;
1124
- /**
1125
- * @generated from field: optional string started_at = 12;
1126
- */
1127
- startedAt?: string | undefined;
1128
- /**
1129
- * @generated from field: optional string finished_at = 13;
1130
- */
1131
- finishedAt?: string | undefined;
1132
- /**
1133
- * @generated from field: optional string deploy_app_id = 14;
1134
- */
1135
- deployAppId?: string | undefined;
1136
- };
1137
- /**
1138
- * @generated from message sylphx.platform.v1.ListDeploymentsRequest
1139
- */
1140
- type ListDeploymentsRequest = Message<"sylphx.platform.v1.ListDeploymentsRequest"> & {
1141
- /**
1142
- * @generated from field: sylphx.platform.v1.PageRequest page = 1;
1143
- */
1144
- page?: PageRequest | undefined;
1145
- /**
1146
- * @generated from field: string project_id = 2;
1147
- */
1148
- projectId: string;
1149
- /**
1150
- * @generated from field: optional string environment_id = 3;
1151
- */
1152
- environmentId?: string | undefined;
1153
- };
1154
- /**
1155
- * Describes the message sylphx.platform.v1.ListDeploymentsRequest.
1156
- * Use `create(ListDeploymentsRequestSchema)` to create a new message.
1157
- */
1158
- declare const ListDeploymentsRequestSchema: GenMessage<ListDeploymentsRequest>;
1159
- /**
1160
- * @generated from message sylphx.platform.v1.ListDeploymentsResponse
1161
- */
1162
- type ListDeploymentsResponse = Message<"sylphx.platform.v1.ListDeploymentsResponse"> & {
1163
- /**
1164
- * @generated from field: string object = 1;
1165
- */
1166
- object: string;
1167
- /**
1168
- * @generated from field: repeated sylphx.platform.v1.Deployment data = 2;
1169
- */
1170
- data: Deployment[];
1171
- /**
1172
- * @generated from field: sylphx.platform.v1.PageInfo page = 3;
1173
- */
1174
- page?: PageInfo | undefined;
1175
- };
1176
- /**
1177
- * Describes the message sylphx.platform.v1.ListDeploymentsResponse.
1178
- * Use `create(ListDeploymentsResponseSchema)` to create a new message.
1179
- */
1180
- declare const ListDeploymentsResponseSchema: GenMessage<ListDeploymentsResponse>;
1181
- /**
1182
- * @generated from message sylphx.platform.v1.CreateDeployRequest
1183
- */
1184
- type CreateDeployRequest = Message<"sylphx.platform.v1.CreateDeployRequest"> & {
1185
- /**
1186
- * @generated from field: string project_id = 1;
1187
- */
1188
- projectId: string;
1189
- /**
1190
- * @generated from field: optional string env_type = 2;
1191
- */
1192
- envType?: string | undefined;
1193
- /**
1194
- * @generated from field: optional string env_id = 3;
1195
- */
1196
- envId?: string | undefined;
1197
- /**
1198
- * @generated from field: optional string ref = 4;
1199
- */
1200
- ref?: string | undefined;
1201
- /**
1202
- * @generated from field: optional string service_id = 5;
1203
- */
1204
- serviceId?: string | undefined;
1205
- };
1206
- /**
1207
- * Describes the message sylphx.platform.v1.CreateDeployRequest.
1208
- * Use `create(CreateDeployRequestSchema)` to create a new message.
1209
- */
1210
- declare const CreateDeployRequestSchema: GenMessage<CreateDeployRequest>;
1211
- /**
1212
- * @generated from message sylphx.platform.v1.CreateDeployResponse
1213
- */
1214
- type CreateDeployResponse = Message<"sylphx.platform.v1.CreateDeployResponse"> & {
1215
- /**
1216
- * @generated from field: string id = 1;
1217
- */
1218
- id: string;
1219
- /**
1220
- * @generated from field: string status = 2;
1221
- */
1222
- status: string;
1223
- /**
1224
- * @generated from field: optional string project_id = 3;
1225
- */
1226
- projectId?: string | undefined;
1227
- /**
1228
- * @generated from field: optional string environment_id = 4;
1229
- */
1230
- environmentId?: string | undefined;
1231
- /**
1232
- * @generated from field: optional string message = 5;
1233
- */
1234
- message?: string | undefined;
1235
- };
1236
- /**
1237
- * Describes the message sylphx.platform.v1.CreateDeployResponse.
1238
- * Use `create(CreateDeployResponseSchema)` to create a new message.
1239
- */
1240
- declare const CreateDeployResponseSchema: GenMessage<CreateDeployResponse>;
1241
- /**
1242
- * @generated from message sylphx.platform.v1.RollbackRequest
1243
- */
1244
- type RollbackRequest = Message<"sylphx.platform.v1.RollbackRequest"> & {
1245
- /**
1246
- * @generated from field: string project_id = 1;
1247
- */
1248
- projectId: string;
1249
- /**
1250
- * @generated from field: optional string env_id = 2;
1251
- */
1252
- envId?: string | undefined;
1253
- /**
1254
- * @generated from field: optional string deployment_record_id = 3;
1255
- */
1256
- deploymentRecordId?: string | undefined;
1257
- /**
1258
- * @generated from field: optional string service_id = 4;
1259
- */
1260
- serviceId?: string | undefined;
1261
- };
1262
- /**
1263
- * Describes the message sylphx.platform.v1.RollbackRequest.
1264
- * Use `create(RollbackRequestSchema)` to create a new message.
1265
- */
1266
- declare const RollbackRequestSchema: GenMessage<RollbackRequest>;
1267
- /**
1268
- * @generated from message sylphx.platform.v1.RollbackResponse
1269
- */
1270
- type RollbackResponse = Message<"sylphx.platform.v1.RollbackResponse"> & {
1271
- /**
1272
- * @generated from field: string id = 1;
1273
- */
1274
- id: string;
1275
- /**
1276
- * @generated from field: string status = 2;
1277
- */
1278
- status: string;
1279
- /**
1280
- * @generated from field: optional string project_id = 3;
1281
- */
1282
- projectId?: string | undefined;
1283
- /**
1284
- * @generated from field: optional string message = 4;
1285
- */
1286
- message?: string | undefined;
1287
- };
1288
- /**
1289
- * Describes the message sylphx.platform.v1.RollbackResponse.
1290
- * Use `create(RollbackResponseSchema)` to create a new message.
1291
- */
1292
- declare const RollbackResponseSchema: GenMessage<RollbackResponse>;
1293
- /**
1294
- * @generated from message sylphx.platform.v1.GetProjectStatusRequest
1295
- */
1296
- type GetProjectStatusRequest = Message<"sylphx.platform.v1.GetProjectStatusRequest"> & {
1297
- /**
1298
- * @generated from field: string project_id = 1;
1299
- */
1300
- projectId: string;
1301
- };
1302
- /**
1303
- * Describes the message sylphx.platform.v1.GetProjectStatusRequest.
1304
- * Use `create(GetProjectStatusRequestSchema)` to create a new message.
1305
- */
1306
- declare const GetProjectStatusRequestSchema: GenMessage<GetProjectStatusRequest>;
1307
- /**
1308
- * Dual-oracle of product::project_status_summary (+ wire status aggregate).
1309
- *
1310
- * @generated from message sylphx.platform.v1.GetProjectStatusResponse
1311
- */
1312
- type GetProjectStatusResponse = Message<"sylphx.platform.v1.GetProjectStatusResponse"> & {
1313
- /**
1314
- * @generated from field: string project_id = 1;
1315
- */
1316
- projectId: string;
1317
- /**
1318
- * @generated from field: string status = 2;
1319
- */
1320
- status: string;
1321
- /**
1322
- * @generated from field: optional string environment_id = 3;
1323
- */
1324
- environmentId?: string | undefined;
1325
- /**
1326
- * @generated from field: optional string deployment_id = 4;
1327
- */
1328
- deploymentId?: string | undefined;
1329
- /**
1330
- * @generated from field: optional string message = 5;
1331
- */
1332
- message?: string | undefined;
1333
- /**
1334
- * @generated from field: optional int64 environment_count = 6;
1335
- */
1336
- environmentCount?: bigint | undefined;
1337
- /**
1338
- * @generated from field: optional int64 service_count = 7;
1339
- */
1340
- serviceCount?: bigint | undefined;
1341
- /**
1342
- * @generated from field: optional string last_deployed_at = 8;
1343
- */
1344
- lastDeployedAt?: string | undefined;
1345
- /**
1346
- * Counts keyed by service lifecycle bucket (pending/running/…).
1347
- *
1348
- * @generated from field: map<string, int64> environment_service_statuses = 9;
1349
- */
1350
- environmentServiceStatuses: {
1351
- [key: string]: bigint;
1352
- };
1353
- /**
1354
- * @generated from field: optional string transport = 10;
1355
- */
1356
- transport?: string | undefined;
1357
- };
1358
- /**
1359
- * Describes the message sylphx.platform.v1.GetProjectStatusResponse.
1360
- * Use `create(GetProjectStatusResponseSchema)` to create a new message.
1361
- */
1362
- declare const GetProjectStatusResponseSchema: GenMessage<GetProjectStatusResponse>;
1363
- /**
1364
- * @generated from message sylphx.platform.v1.EnvVar
1365
- */
1366
- type EnvVar = Message<"sylphx.platform.v1.EnvVar"> & {
1367
- /**
1368
- * @generated from field: string key = 1;
1369
- */
1370
- key: string;
1371
- /**
1372
- * @generated from field: optional string value = 2;
1373
- */
1374
- value?: string | undefined;
1375
- /**
1376
- * @generated from field: bool secret = 3;
1377
- */
1378
- secret: boolean;
1379
- /**
1380
- * @generated from field: optional string env_type = 4;
1381
- */
1382
- envType?: string | undefined;
1383
- /**
1384
- * @generated from field: optional string env_id = 5;
1385
- */
1386
- envId?: string | undefined;
1387
- };
1388
- /**
1389
- * @generated from message sylphx.platform.v1.ListEnvVarsRequest
1390
- */
1391
- type ListEnvVarsRequest = Message<"sylphx.platform.v1.ListEnvVarsRequest"> & {
1392
- /**
1393
- * @generated from field: string project_id = 1;
1394
- */
1395
- projectId: string;
1396
- /**
1397
- * @generated from field: optional string env_type = 2;
1398
- */
1399
- envType?: string | undefined;
1400
- /**
1401
- * @generated from field: optional string env_id = 3;
1402
- */
1403
- envId?: string | undefined;
1404
- };
1405
- /**
1406
- * Describes the message sylphx.platform.v1.ListEnvVarsRequest.
1407
- * Use `create(ListEnvVarsRequestSchema)` to create a new message.
1408
- */
1409
- declare const ListEnvVarsRequestSchema: GenMessage<ListEnvVarsRequest>;
1410
- /**
1411
- * @generated from message sylphx.platform.v1.ListEnvVarsResponse
1412
- */
1413
- type ListEnvVarsResponse = Message<"sylphx.platform.v1.ListEnvVarsResponse"> & {
1414
- /**
1415
- * @generated from field: string object = 1;
1416
- */
1417
- object: string;
1418
- /**
1419
- * @generated from field: repeated sylphx.platform.v1.EnvVar data = 2;
1420
- */
1421
- data: EnvVar[];
1422
- };
1423
- /**
1424
- * Describes the message sylphx.platform.v1.ListEnvVarsResponse.
1425
- * Use `create(ListEnvVarsResponseSchema)` to create a new message.
1426
- */
1427
- declare const ListEnvVarsResponseSchema: GenMessage<ListEnvVarsResponse>;
1428
- /**
1429
- * @generated from message sylphx.platform.v1.SetEnvVarRequest
1430
- */
1431
- type SetEnvVarRequest = Message<"sylphx.platform.v1.SetEnvVarRequest"> & {
1432
- /**
1433
- * @generated from field: string project_id = 1;
1434
- */
1435
- projectId: string;
1436
- /**
1437
- * @generated from field: string key = 2;
1438
- */
1439
- key: string;
1440
- /**
1441
- * @generated from field: string value = 3;
1442
- */
1443
- value: string;
1444
- /**
1445
- * @generated from field: bool secret = 4;
1446
- */
1447
- secret: boolean;
1448
- /**
1449
- * @generated from field: optional string env_type = 5;
1450
- */
1451
- envType?: string | undefined;
1452
- /**
1453
- * @generated from field: optional string env_id = 6;
1454
- */
1455
- envId?: string | undefined;
1456
- };
1457
- /**
1458
- * Describes the message sylphx.platform.v1.SetEnvVarRequest.
1459
- * Use `create(SetEnvVarRequestSchema)` to create a new message.
1460
- */
1461
- declare const SetEnvVarRequestSchema: GenMessage<SetEnvVarRequest>;
1462
- /**
1463
- * @generated from message sylphx.platform.v1.SetEnvVarResponse
1464
- */
1465
- type SetEnvVarResponse = Message<"sylphx.platform.v1.SetEnvVarResponse"> & {
1466
- /**
1467
- * @generated from field: sylphx.platform.v1.EnvVar env_var = 1;
1468
- */
1469
- envVar?: EnvVar | undefined;
1470
- /**
1471
- * @generated from field: bool created = 2;
1472
- */
1473
- created: boolean;
1474
- };
1475
- /**
1476
- * Describes the message sylphx.platform.v1.SetEnvVarResponse.
1477
- * Use `create(SetEnvVarResponseSchema)` to create a new message.
1478
- */
1479
- declare const SetEnvVarResponseSchema: GenMessage<SetEnvVarResponse>;
1480
- /**
1481
- * @generated from message sylphx.platform.v1.DeleteEnvVarRequest
1482
- */
1483
- type DeleteEnvVarRequest = Message<"sylphx.platform.v1.DeleteEnvVarRequest"> & {
1484
- /**
1485
- * @generated from field: string project_id = 1;
1486
- */
1487
- projectId: string;
1488
- /**
1489
- * @generated from field: string key = 2;
1490
- */
1491
- key: string;
1492
- /**
1493
- * @generated from field: optional string env_type = 3;
1494
- */
1495
- envType?: string | undefined;
1496
- /**
1497
- * @generated from field: optional string env_id = 4;
1498
- */
1499
- envId?: string | undefined;
1500
- };
1501
- /**
1502
- * Describes the message sylphx.platform.v1.DeleteEnvVarRequest.
1503
- * Use `create(DeleteEnvVarRequestSchema)` to create a new message.
1504
- */
1505
- declare const DeleteEnvVarRequestSchema: GenMessage<DeleteEnvVarRequest>;
1506
- /**
1507
- * @generated from message sylphx.platform.v1.DeleteEnvVarResponse
1508
- */
1509
- type DeleteEnvVarResponse = Message<"sylphx.platform.v1.DeleteEnvVarResponse"> & {
1510
- /**
1511
- * @generated from field: bool deleted = 1;
1512
- */
1513
- deleted: boolean;
1514
- /**
1515
- * @generated from field: string key = 2;
1516
- */
1517
- key: string;
1518
- };
1519
- /**
1520
- * Describes the message sylphx.platform.v1.DeleteEnvVarResponse.
1521
- * Use `create(DeleteEnvVarResponseSchema)` to create a new message.
1522
- */
1523
- declare const DeleteEnvVarResponseSchema: GenMessage<DeleteEnvVarResponse>;
1524
- /**
1525
- * @generated from message sylphx.platform.v1.LogLine
1526
- */
1527
- type LogLine = Message<"sylphx.platform.v1.LogLine"> & {
1528
- /**
1529
- * @generated from field: string timestamp = 1;
1530
- */
1531
- timestamp: string;
1532
- /**
1533
- * @generated from field: string message = 2;
1534
- */
1535
- message: string;
1536
- /**
1537
- * @generated from field: optional string level = 3;
1538
- */
1539
- level?: string | undefined;
1540
- /**
1541
- * @generated from field: optional string service = 4;
1542
- */
1543
- service?: string | undefined;
1544
- /**
1545
- * @generated from field: optional string source = 5;
1546
- */
1547
- source?: string | undefined;
1548
- };
1549
- /**
1550
- * @generated from message sylphx.platform.v1.ListLogsRequest
1551
- */
1552
- type ListLogsRequest = Message<"sylphx.platform.v1.ListLogsRequest"> & {
1553
- /**
1554
- * @generated from field: optional string project_id = 1;
1555
- */
1556
- projectId?: string | undefined;
1557
- /**
1558
- * @generated from field: optional string environment_id = 2;
1559
- */
1560
- environmentId?: string | undefined;
1561
- /**
1562
- * runtime | build
1563
- *
1564
- * @generated from field: optional string log_type = 3;
1565
- */
1566
- logType?: string | undefined;
1567
- /**
1568
- * @generated from field: optional string env_type = 4;
1569
- */
1570
- envType?: string | undefined;
1571
- /**
1572
- * @generated from field: optional uint32 limit = 5;
1573
- */
1574
- limit?: number | undefined;
1575
- /**
1576
- * @generated from field: optional string level = 6;
1577
- */
1578
- level?: string | undefined;
1579
- /**
1580
- * @generated from field: optional string service = 7;
1581
- */
1582
- service?: string | undefined;
1583
- /**
1584
- * @generated from field: optional string grep = 8;
1585
- */
1586
- grep?: string | undefined;
1587
- };
1588
- /**
1589
- * Describes the message sylphx.platform.v1.ListLogsRequest.
1590
- * Use `create(ListLogsRequestSchema)` to create a new message.
1591
- */
1592
- declare const ListLogsRequestSchema: GenMessage<ListLogsRequest>;
1593
- /**
1594
- * @generated from message sylphx.platform.v1.ListLogsResponse
1595
- */
1596
- type ListLogsResponse = Message<"sylphx.platform.v1.ListLogsResponse"> & {
1597
- /**
1598
- * @generated from field: string object = 1;
1599
- */
1600
- object: string;
1601
- /**
1602
- * @generated from field: repeated sylphx.platform.v1.LogLine data = 2;
1603
- */
1604
- data: LogLine[];
1605
- };
1606
- /**
1607
- * Describes the message sylphx.platform.v1.ListLogsResponse.
1608
- * Use `create(ListLogsResponseSchema)` to create a new message.
1609
- */
1610
- declare const ListLogsResponseSchema: GenMessage<ListLogsResponse>;
1611
- /**
1612
- * Management-plane Resource record. Fields match the native REST record
1613
- * produced by the management surface so every Operation result and resource
1614
- * response decodes through this declared type. The ROEA Resource primitive
1615
- * (resource.proto) is the normative typed shape for capability Resources.
1616
- *
1617
- * @generated from message sylphx.platform.v1.Resource
1618
- */
1619
- type Resource = Message<"sylphx.platform.v1.Resource"> & {
1620
- /**
1621
- * @generated from field: string id = 1;
1622
- */
1623
- id: string;
1624
- /**
1625
- * @generated from field: string kind = 2;
1626
- */
1627
- kind: string;
1628
- /**
1629
- * @generated from field: string name = 3;
1630
- */
1631
- name: string;
1632
- /**
1633
- * @generated from field: string status = 4;
1634
- */
1635
- status: string;
1636
- /**
1637
- * @generated from field: optional string project_id = 5;
1638
- */
1639
- projectId?: string | undefined;
1640
- /**
1641
- * @generated from field: optional uint32 storage_gb = 6;
1642
- */
1643
- storageGb?: number | undefined;
1644
- /**
1645
- * @generated from field: optional string tier = 7;
1646
- */
1647
- tier?: string | undefined;
1648
- /**
1649
- * @generated from field: optional string message = 8;
1650
- */
1651
- message?: string | undefined;
1652
- /**
1653
- * Organization canonical id.
1654
- *
1655
- * @generated from field: string org_id = 9;
1656
- */
1657
- orgId: string;
1658
- /**
1659
- * Stable resource slug.
1660
- *
1661
- * @generated from field: optional string slug = 10;
1662
- */
1663
- slug?: string | undefined;
1664
- /**
1665
- * Number of environment bindings.
1666
- *
1667
- * @generated from field: uint32 binding_count = 11;
1668
- */
1669
- bindingCount: number;
1670
- /**
1671
- * When the Resource record was created.
1672
- *
1673
- * @generated from field: google.protobuf.Timestamp created_at = 12;
1674
- */
1675
- createdAt?: Timestamp | undefined;
1676
- /**
1677
- * When the Resource record was last updated.
1678
- *
1679
- * @generated from field: google.protobuf.Timestamp updated_at = 13;
1680
- */
1681
- updatedAt?: Timestamp | undefined;
1682
- };
1683
- /**
1684
- * @generated from message sylphx.platform.v1.ListResourcesRequest
1685
- */
1686
- type ListResourcesRequest = Message<"sylphx.platform.v1.ListResourcesRequest"> & {
1687
- /**
1688
- * @generated from field: sylphx.platform.v1.PageRequest page = 1;
1689
- */
1690
- page?: PageRequest | undefined;
1691
- /**
1692
- * @generated from field: optional string kind = 2;
1693
- */
1694
- kind?: string | undefined;
1695
- /**
1696
- * @generated from field: optional string project_id = 3;
1697
- */
1698
- projectId?: string | undefined;
1699
- };
1700
- /**
1701
- * Describes the message sylphx.platform.v1.ListResourcesRequest.
1702
- * Use `create(ListResourcesRequestSchema)` to create a new message.
1703
- */
1704
- declare const ListResourcesRequestSchema: GenMessage<ListResourcesRequest>;
1705
- /**
1706
- * @generated from message sylphx.platform.v1.ListResourcesResponse
1707
- */
1708
- type ListResourcesResponse = Message<"sylphx.platform.v1.ListResourcesResponse"> & {
1709
- /**
1710
- * @generated from field: string object = 1;
1711
- */
1712
- object: string;
1713
- /**
1714
- * @generated from field: repeated sylphx.platform.v1.Resource data = 2;
1715
- */
1716
- data: Resource[];
1717
- /**
1718
- * @generated from field: sylphx.platform.v1.PageInfo page = 3;
1719
- */
1720
- page?: PageInfo | undefined;
1721
- };
1722
- /**
1723
- * Describes the message sylphx.platform.v1.ListResourcesResponse.
1724
- * Use `create(ListResourcesResponseSchema)` to create a new message.
1725
- */
1726
- declare const ListResourcesResponseSchema: GenMessage<ListResourcesResponse>;
1727
- /**
1728
- * @generated from message sylphx.platform.v1.GetResourceRequest
1729
- */
1730
- type GetResourceRequest = Message<"sylphx.platform.v1.GetResourceRequest"> & {
1731
- /**
1732
- * @generated from field: string id = 1;
1733
- */
1734
- id: string;
1735
- };
1736
- /**
1737
- * Describes the message sylphx.platform.v1.GetResourceRequest.
1738
- * Use `create(GetResourceRequestSchema)` to create a new message.
1739
- */
1740
- declare const GetResourceRequestSchema: GenMessage<GetResourceRequest>;
1741
- /**
1742
- * @generated from message sylphx.platform.v1.GetResourceResponse
1743
- */
1744
- type GetResourceResponse = Message<"sylphx.platform.v1.GetResourceResponse"> & {
1745
- /**
1746
- * @generated from field: sylphx.platform.v1.Resource resource = 1;
1747
- */
1748
- resource?: Resource | undefined;
1749
- };
1750
- /**
1751
- * Describes the message sylphx.platform.v1.GetResourceResponse.
1752
- * Use `create(GetResourceResponseSchema)` to create a new message.
1753
- */
1754
- declare const GetResourceResponseSchema: GenMessage<GetResourceResponse>;
1755
- /**
1756
- * @generated from message sylphx.platform.v1.CreateResourceRequest
1757
- */
1758
- type CreateResourceRequest = Message<"sylphx.platform.v1.CreateResourceRequest"> & {
1759
- /**
1760
- * @generated from field: string kind = 1;
1761
- */
1762
- kind: string;
1763
- /**
1764
- * @generated from field: string name = 2;
1765
- */
1766
- name: string;
1767
- /**
1768
- * @generated from field: optional string project_id = 3;
1769
- */
1770
- projectId?: string | undefined;
1771
- /**
1772
- * @generated from field: optional string tier = 4;
1773
- */
1774
- tier?: string | undefined;
1775
- /**
1776
- * @generated from field: optional uint32 storage_gb = 5;
1777
- */
1778
- storageGb?: number | undefined;
1779
- /**
1780
- * Caller-generated idempotency request identity.
1781
- *
1782
- * @generated from field: string request_id = 6;
1783
- */
1784
- requestId: string;
1785
- };
1786
- /**
1787
- * Describes the message sylphx.platform.v1.CreateResourceRequest.
1788
- * Use `create(CreateResourceRequestSchema)` to create a new message.
1789
- */
1790
- declare const CreateResourceRequestSchema: GenMessage<CreateResourceRequest>;
1791
- /**
1792
- * @generated from message sylphx.platform.v1.CreateResourceResponse
1793
- */
1794
- type CreateResourceResponse = Message<"sylphx.platform.v1.CreateResourceResponse"> & {
1795
- /**
1796
- * One durable Operation; result carries CreateResourceResult.
1797
- *
1798
- * @generated from field: sylphx.platform.v1.Operation operation = 1;
1799
- */
1800
- operation?: Operation | undefined;
1801
- };
1802
- /**
1803
- * Describes the message sylphx.platform.v1.CreateResourceResponse.
1804
- * Use `create(CreateResourceResponseSchema)` to create a new message.
1805
- */
1806
- declare const CreateResourceResponseSchema: GenMessage<CreateResourceResponse>;
1807
- /**
1808
- * @generated from message sylphx.platform.v1.DeleteResourceRequest
1809
- */
1810
- type DeleteResourceRequest = Message<"sylphx.platform.v1.DeleteResourceRequest"> & {
1811
- /**
1812
- * @generated from field: string id = 1;
1813
- */
1814
- id: string;
1815
- /**
1816
- * Caller-generated idempotency request identity.
1817
- *
1818
- * @generated from field: optional string request_id = 2;
1819
- */
1820
- requestId?: string | undefined;
1821
- };
1822
- /**
1823
- * Describes the message sylphx.platform.v1.DeleteResourceRequest.
1824
- * Use `create(DeleteResourceRequestSchema)` to create a new message.
1825
- */
1826
- declare const DeleteResourceRequestSchema: GenMessage<DeleteResourceRequest>;
1827
- /**
1828
- * @generated from message sylphx.platform.v1.DeleteResourceResponse
1829
- */
1830
- type DeleteResourceResponse = Message<"sylphx.platform.v1.DeleteResourceResponse"> & {
1831
- /**
1832
- * One durable Operation; result carries DeleteResourceResult.
1833
- *
1834
- * @generated from field: sylphx.platform.v1.Operation operation = 1;
1835
- */
1836
- operation?: Operation | undefined;
1837
- };
1838
- /**
1839
- * Describes the message sylphx.platform.v1.DeleteResourceResponse.
1840
- * Use `create(DeleteResourceResponseSchema)` to create a new message.
1841
- */
1842
- declare const DeleteResourceResponseSchema: GenMessage<DeleteResourceResponse>;
1843
- /**
1844
- * @generated from message sylphx.platform.v1.BindResourceRequest
1845
- */
1846
- type BindResourceRequest = Message<"sylphx.platform.v1.BindResourceRequest"> & {
1847
- /**
1848
- * @generated from field: string resource_id = 1;
1849
- */
1850
- resourceId: string;
1851
- /**
1852
- * @generated from field: string environment_id = 2;
1853
- */
1854
- environmentId: string;
1855
- /**
1856
- * @generated from field: optional string project_id = 3;
1857
- */
1858
- projectId?: string | undefined;
1859
- /**
1860
- * Caller-generated idempotency request identity.
1861
- *
1862
- * @generated from field: optional string request_id = 4;
1863
- */
1864
- requestId?: string | undefined;
1865
- };
1866
- /**
1867
- * Describes the message sylphx.platform.v1.BindResourceRequest.
1868
- * Use `create(BindResourceRequestSchema)` to create a new message.
1869
- */
1870
- declare const BindResourceRequestSchema: GenMessage<BindResourceRequest>;
1871
- /**
1872
- * @generated from message sylphx.platform.v1.BindResourceResponse
1873
- */
1874
- type BindResourceResponse = Message<"sylphx.platform.v1.BindResourceResponse"> & {
1875
- /**
1876
- * One durable Operation; result carries BindResourceResult.
1877
- *
1878
- * @generated from field: sylphx.platform.v1.Operation operation = 1;
1879
- */
1880
- operation?: Operation | undefined;
1881
- };
1882
- /**
1883
- * Describes the message sylphx.platform.v1.BindResourceResponse.
1884
- * Use `create(BindResourceResponseSchema)` to create a new message.
1885
- */
1886
- declare const BindResourceResponseSchema: GenMessage<BindResourceResponse>;
1887
- /**
1888
- * @generated from message sylphx.platform.v1.BranchResourceRequest
1889
- */
1890
- type BranchResourceRequest = Message<"sylphx.platform.v1.BranchResourceRequest"> & {
1891
- /**
1892
- * @generated from field: string resource_id = 1;
1893
- */
1894
- resourceId: string;
1895
- /**
1896
- * @generated from field: string name = 2;
1897
- */
1898
- name: string;
1899
- /**
1900
- * @generated from field: optional string env_id = 3;
1901
- */
1902
- envId?: string | undefined;
1903
- /**
1904
- * Caller-generated idempotency request identity.
1905
- *
1906
- * @generated from field: optional string request_id = 4;
1907
- */
1908
- requestId?: string | undefined;
1909
- };
1910
- /**
1911
- * Describes the message sylphx.platform.v1.BranchResourceRequest.
1912
- * Use `create(BranchResourceRequestSchema)` to create a new message.
1913
- */
1914
- declare const BranchResourceRequestSchema: GenMessage<BranchResourceRequest>;
1915
- /**
1916
- * @generated from message sylphx.platform.v1.BranchResourceResponse
1917
- */
1918
- type BranchResourceResponse = Message<"sylphx.platform.v1.BranchResourceResponse"> & {
1919
- /**
1920
- * One durable Operation; result carries BranchResourceResult.
1921
- *
1922
- * @generated from field: sylphx.platform.v1.Operation operation = 1;
1923
- */
1924
- operation?: Operation | undefined;
1925
- };
1926
- /**
1927
- * Describes the message sylphx.platform.v1.BranchResourceResponse.
1928
- * Use `create(BranchResourceResponseSchema)` to create a new message.
1929
- */
1930
- declare const BranchResourceResponseSchema: GenMessage<BranchResourceResponse>;
1931
- /**
1932
- * @generated from message sylphx.platform.v1.ProjectStorage
1933
- */
1934
- type ProjectStorage = Message<"sylphx.platform.v1.ProjectStorage"> & {
1935
- /**
1936
- * @generated from field: string id = 1;
1937
- */
1938
- id: string;
1939
- /**
1940
- * @generated from field: string name = 2;
1941
- */
1942
- name: string;
1943
- /**
1944
- * @generated from field: string project_id = 3;
1945
- */
1946
- projectId: string;
1947
- /**
1948
- * @generated from field: optional string public_url = 4;
1949
- */
1950
- publicUrl?: string | undefined;
1951
- /**
1952
- * @generated from field: optional string status = 5;
1953
- */
1954
- status?: string | undefined;
1955
- };
1956
- /**
1957
- * @generated from message sylphx.platform.v1.CreateProjectStorageRequest
1958
- */
1959
- type CreateProjectStorageRequest = Message<"sylphx.platform.v1.CreateProjectStorageRequest"> & {
1960
- /**
1961
- * @generated from field: string project_id = 1;
1962
- */
1963
- projectId: string;
1964
- /**
1965
- * @generated from field: string name = 2;
1966
- */
1967
- name: string;
1968
- /**
1969
- * @generated from field: optional string env_type = 3;
1970
- */
1971
- envType?: string | undefined;
1972
- };
1973
- /**
1974
- * Describes the message sylphx.platform.v1.CreateProjectStorageRequest.
1975
- * Use `create(CreateProjectStorageRequestSchema)` to create a new message.
1976
- */
1977
- declare const CreateProjectStorageRequestSchema: GenMessage<CreateProjectStorageRequest>;
1978
- /**
1979
- * @generated from message sylphx.platform.v1.CreateProjectStorageResponse
1980
- */
1981
- type CreateProjectStorageResponse = Message<"sylphx.platform.v1.CreateProjectStorageResponse"> & {
1982
- /**
1983
- * @generated from field: sylphx.platform.v1.ProjectStorage storage = 1;
1984
- */
1985
- storage?: ProjectStorage | undefined;
1986
- };
1987
- /**
1988
- * Describes the message sylphx.platform.v1.CreateProjectStorageResponse.
1989
- * Use `create(CreateProjectStorageResponseSchema)` to create a new message.
1990
- */
1991
- declare const CreateProjectStorageResponseSchema: GenMessage<CreateProjectStorageResponse>;
1992
- /**
1993
- * @generated from message sylphx.platform.v1.ListProjectStorageRequest
1994
- */
1995
- type ListProjectStorageRequest = Message<"sylphx.platform.v1.ListProjectStorageRequest"> & {
1996
- /**
1997
- * @generated from field: string project_id = 1;
1998
- */
1999
- projectId: string;
2000
- };
2001
- /**
2002
- * Describes the message sylphx.platform.v1.ListProjectStorageRequest.
2003
- * Use `create(ListProjectStorageRequestSchema)` to create a new message.
2004
- */
2005
- declare const ListProjectStorageRequestSchema: GenMessage<ListProjectStorageRequest>;
2006
- /**
2007
- * @generated from message sylphx.platform.v1.ListProjectStorageResponse
2008
- */
2009
- type ListProjectStorageResponse = Message<"sylphx.platform.v1.ListProjectStorageResponse"> & {
2010
- /**
2011
- * @generated from field: string object = 1;
2012
- */
2013
- object: string;
2014
- /**
2015
- * @generated from field: repeated sylphx.platform.v1.ProjectStorage data = 2;
2016
- */
2017
- data: ProjectStorage[];
2018
- };
2019
- /**
2020
- * Describes the message sylphx.platform.v1.ListProjectStorageResponse.
2021
- * Use `create(ListProjectStorageResponseSchema)` to create a new message.
2022
- */
2023
- declare const ListProjectStorageResponseSchema: GenMessage<ListProjectStorageResponse>;
2024
- /**
2025
- * @generated from message sylphx.platform.v1.Backup
2026
- */
2027
- type Backup = Message<"sylphx.platform.v1.Backup"> & {
2028
- /**
2029
- * @generated from field: string id = 1;
2030
- */
2031
- id: string;
2032
- /**
2033
- * @generated from field: string status = 2;
2034
- */
2035
- status: string;
2036
- /**
2037
- * @generated from field: optional string resource_id = 3;
2038
- */
2039
- resourceId?: string | undefined;
2040
- /**
2041
- * @generated from field: optional string tag = 4;
2042
- */
2043
- tag?: string | undefined;
2044
- /**
2045
- * @generated from field: optional string created_at = 5;
2046
- */
2047
- createdAt?: string | undefined;
2048
- };
2049
- /**
2050
- * @generated from message sylphx.platform.v1.ListBackupsRequest
2051
- */
2052
- type ListBackupsRequest = Message<"sylphx.platform.v1.ListBackupsRequest"> & {
2053
- /**
2054
- * @generated from field: optional string resource_id = 1;
2055
- */
2056
- resourceId?: string | undefined;
2057
- };
2058
- /**
2059
- * Describes the message sylphx.platform.v1.ListBackupsRequest.
2060
- * Use `create(ListBackupsRequestSchema)` to create a new message.
2061
- */
2062
- declare const ListBackupsRequestSchema: GenMessage<ListBackupsRequest>;
2063
- /**
2064
- * Live CNPG honesty projection on backup list (operator residual).
2065
- *
2066
- * @generated from message sylphx.platform.v1.LiveCnpgHonesty
2067
- */
2068
- type LiveCnpgHonesty = Message<"sylphx.platform.v1.LiveCnpgHonesty"> & {
2069
- /**
2070
- * @generated from field: optional string body_preview = 1;
2071
- */
2072
- bodyPreview?: string | undefined;
2073
- /**
2074
- * @generated from field: optional int64 cluster_count = 2;
2075
- */
2076
- clusterCount?: bigint | undefined;
2077
- /**
2078
- * @generated from field: optional int32 http_status = 3;
2079
- */
2080
- httpStatus?: number | undefined;
2081
- /**
2082
- * @generated from field: optional bool live_network_io = 4;
2083
- */
2084
- liveNetworkIo?: boolean | undefined;
2085
- /**
2086
- * @generated from field: optional string note = 5;
2087
- */
2088
- note?: string | undefined;
2089
- /**
2090
- * @generated from field: optional bool ok = 6;
2091
- */
2092
- ok?: boolean | undefined;
2093
- /**
2094
- * @generated from field: optional bool tls = 7;
2095
- */
2096
- tls?: boolean | undefined;
2097
- /**
2098
- * @generated from field: optional string api_version = 8;
2099
- */
2100
- apiVersion?: string | undefined;
2101
- };
2102
- /**
2103
- * @generated from message sylphx.platform.v1.ListBackupsResponse
2104
- */
2105
- type ListBackupsResponse = Message<"sylphx.platform.v1.ListBackupsResponse"> & {
2106
- /**
2107
- * @generated from field: string object = 1;
2108
- */
2109
- object: string;
2110
- /**
2111
- * @generated from field: repeated sylphx.platform.v1.Backup data = 2;
2112
- */
2113
- data: Backup[];
2114
- /**
2115
- * @generated from field: optional int64 count = 3;
2116
- */
2117
- count?: bigint | undefined;
2118
- /**
2119
- * @generated from field: optional bool ok = 4;
2120
- */
2121
- ok?: boolean | undefined;
2122
- /**
2123
- * @generated from field: optional string error = 5;
2124
- */
2125
- error?: string | undefined;
2126
- /**
2127
- * @generated from field: optional sylphx.platform.v1.LiveCnpgHonesty live_cnpg = 6;
2128
- */
2129
- liveCnpg?: LiveCnpgHonesty | undefined;
2130
- /**
2131
- * @generated from field: optional bool org_scoped = 7;
2132
- */
2133
- orgScoped?: boolean | undefined;
2134
- /**
2135
- * @generated from field: optional bool pitr_blue_green_swap_residual = 8;
2136
- */
2137
- pitrBlueGreenSwapResidual?: boolean | undefined;
2138
- /**
2139
- * @generated from field: optional bool pitr_execute_residual = 9;
2140
- */
2141
- pitrExecuteResidual?: boolean | undefined;
2142
- /**
2143
- * @generated from field: optional bool product_table_writer = 10;
2144
- */
2145
- productTableWriter?: boolean | undefined;
2146
- /**
2147
- * Free-form restore point ids / labels when present.
2148
- *
2149
- * @generated from field: repeated string restore_points = 11;
2150
- */
2151
- restorePoints: string[];
2152
- /**
2153
- * @generated from field: optional string transport = 12;
2154
- */
2155
- transport?: string | undefined;
2156
- };
2157
- /**
2158
- * Describes the message sylphx.platform.v1.ListBackupsResponse.
2159
- * Use `create(ListBackupsResponseSchema)` to create a new message.
2160
- */
2161
- declare const ListBackupsResponseSchema: GenMessage<ListBackupsResponse>;
2162
- /**
2163
- * @generated from message sylphx.platform.v1.CreateBackupRequest
2164
- */
2165
- type CreateBackupRequest = Message<"sylphx.platform.v1.CreateBackupRequest"> & {
2166
- /**
2167
- * @generated from field: optional string resource_id = 1;
2168
- */
2169
- resourceId?: string | undefined;
2170
- /**
2171
- * @generated from field: optional string tag = 2;
2172
- */
2173
- tag?: string | undefined;
2174
- };
2175
- /**
2176
- * Describes the message sylphx.platform.v1.CreateBackupRequest.
2177
- * Use `create(CreateBackupRequestSchema)` to create a new message.
2178
- */
2179
- declare const CreateBackupRequestSchema: GenMessage<CreateBackupRequest>;
2180
- /**
2181
- * @generated from message sylphx.platform.v1.CreateBackupResponse
2182
- */
2183
- type CreateBackupResponse = Message<"sylphx.platform.v1.CreateBackupResponse"> & {
2184
- /**
2185
- * @generated from field: sylphx.platform.v1.Backup backup = 1;
2186
- */
2187
- backup?: Backup | undefined;
2188
- };
2189
- /**
2190
- * Describes the message sylphx.platform.v1.CreateBackupResponse.
2191
- * Use `create(CreateBackupResponseSchema)` to create a new message.
2192
- */
2193
- declare const CreateBackupResponseSchema: GenMessage<CreateBackupResponse>;
2194
- /**
2195
- * @generated from message sylphx.platform.v1.RestoreBackupRequest
2196
- */
2197
- type RestoreBackupRequest = Message<"sylphx.platform.v1.RestoreBackupRequest"> & {
2198
- /**
2199
- * @generated from field: string backup_id = 1;
2200
- */
2201
- backupId: string;
2202
- /**
2203
- * @generated from field: optional string resource_id = 2;
2204
- */
2205
- resourceId?: string | undefined;
2206
- };
2207
- /**
2208
- * Describes the message sylphx.platform.v1.RestoreBackupRequest.
2209
- * Use `create(RestoreBackupRequestSchema)` to create a new message.
2210
- */
2211
- declare const RestoreBackupRequestSchema: GenMessage<RestoreBackupRequest>;
2212
- /**
2213
- * @generated from message sylphx.platform.v1.RestoreBackupResponse
2214
- */
2215
- type RestoreBackupResponse = Message<"sylphx.platform.v1.RestoreBackupResponse"> & {
2216
- /**
2217
- * @generated from field: string id = 1;
2218
- */
2219
- id: string;
2220
- /**
2221
- * @generated from field: string status = 2;
2222
- */
2223
- status: string;
2224
- /**
2225
- * @generated from field: optional string message = 3;
2226
- */
2227
- message?: string | undefined;
2228
- };
2229
- /**
2230
- * Describes the message sylphx.platform.v1.RestoreBackupResponse.
2231
- * Use `create(RestoreBackupResponseSchema)` to create a new message.
2232
- */
2233
- declare const RestoreBackupResponseSchema: GenMessage<RestoreBackupResponse>;
2234
- /**
2235
- * @generated from message sylphx.platform.v1.Flag
2236
- */
2237
- type Flag = Message<"sylphx.platform.v1.Flag"> & {
2238
- /**
2239
- * @generated from field: string key = 1;
2240
- */
2241
- key: string;
2242
- /**
2243
- * @generated from field: bool enabled = 2;
2244
- */
2245
- enabled: boolean;
2246
- /**
2247
- * @generated from field: optional string description = 3;
2248
- */
2249
- description?: string | undefined;
2250
- /**
2251
- * @generated from field: optional string project_id = 4;
2252
- */
2253
- projectId?: string | undefined;
2254
- };
2255
- /**
2256
- * @generated from message sylphx.platform.v1.ListFlagsRequest
2257
- */
2258
- type ListFlagsRequest = Message<"sylphx.platform.v1.ListFlagsRequest"> & {
2259
- /**
2260
- * @generated from field: optional string project_id = 1;
2261
- */
2262
- projectId?: string | undefined;
2263
- };
2264
- /**
2265
- * Describes the message sylphx.platform.v1.ListFlagsRequest.
2266
- * Use `create(ListFlagsRequestSchema)` to create a new message.
2267
- */
2268
- declare const ListFlagsRequestSchema: GenMessage<ListFlagsRequest>;
2269
- /**
2270
- * @generated from message sylphx.platform.v1.ListFlagsResponse
2271
- */
2272
- type ListFlagsResponse = Message<"sylphx.platform.v1.ListFlagsResponse"> & {
2273
- /**
2274
- * @generated from field: string object = 1;
2275
- */
2276
- object: string;
2277
- /**
2278
- * @generated from field: repeated sylphx.platform.v1.Flag data = 2;
2279
- */
2280
- data: Flag[];
2281
- };
2282
- /**
2283
- * Describes the message sylphx.platform.v1.ListFlagsResponse.
2284
- * Use `create(ListFlagsResponseSchema)` to create a new message.
2285
- */
2286
- declare const ListFlagsResponseSchema: GenMessage<ListFlagsResponse>;
2287
- /**
2288
- * @generated from message sylphx.platform.v1.CreateFlagRequest
2289
- */
2290
- type CreateFlagRequest = Message<"sylphx.platform.v1.CreateFlagRequest"> & {
2291
- /**
2292
- * @generated from field: string key = 1;
2293
- */
2294
- key: string;
2295
- /**
2296
- * @generated from field: optional string description = 2;
2297
- */
2298
- description?: string | undefined;
2299
- /**
2300
- * @generated from field: optional string project_id = 3;
2301
- */
2302
- projectId?: string | undefined;
2303
- /**
2304
- * @generated from field: optional bool enabled = 4;
2305
- */
2306
- enabled?: boolean | undefined;
2307
- };
2308
- /**
2309
- * Describes the message sylphx.platform.v1.CreateFlagRequest.
2310
- * Use `create(CreateFlagRequestSchema)` to create a new message.
2311
- */
2312
- declare const CreateFlagRequestSchema: GenMessage<CreateFlagRequest>;
2313
- /**
2314
- * @generated from message sylphx.platform.v1.CreateFlagResponse
2315
- */
2316
- type CreateFlagResponse = Message<"sylphx.platform.v1.CreateFlagResponse"> & {
2317
- /**
2318
- * @generated from field: sylphx.platform.v1.Flag flag = 1;
2319
- */
2320
- flag?: Flag | undefined;
2321
- };
2322
- /**
2323
- * Describes the message sylphx.platform.v1.CreateFlagResponse.
2324
- * Use `create(CreateFlagResponseSchema)` to create a new message.
2325
- */
2326
- declare const CreateFlagResponseSchema: GenMessage<CreateFlagResponse>;
2327
- /**
2328
- * @generated from message sylphx.platform.v1.ToggleFlagRequest
2329
- */
2330
- type ToggleFlagRequest = Message<"sylphx.platform.v1.ToggleFlagRequest"> & {
2331
- /**
2332
- * @generated from field: string key = 1;
2333
- */
2334
- key: string;
2335
- /**
2336
- * @generated from field: optional bool enabled = 2;
2337
- */
2338
- enabled?: boolean | undefined;
2339
- /**
2340
- * @generated from field: optional string project_id = 3;
2341
- */
2342
- projectId?: string | undefined;
2343
- };
2344
- /**
2345
- * Describes the message sylphx.platform.v1.ToggleFlagRequest.
2346
- * Use `create(ToggleFlagRequestSchema)` to create a new message.
2347
- */
2348
- declare const ToggleFlagRequestSchema: GenMessage<ToggleFlagRequest>;
2349
- /**
2350
- * @generated from message sylphx.platform.v1.ToggleFlagResponse
2351
- */
2352
- type ToggleFlagResponse = Message<"sylphx.platform.v1.ToggleFlagResponse"> & {
2353
- /**
2354
- * @generated from field: sylphx.platform.v1.Flag flag = 1;
2355
- */
2356
- flag?: Flag | undefined;
2357
- };
2358
- /**
2359
- * Describes the message sylphx.platform.v1.ToggleFlagResponse.
2360
- * Use `create(ToggleFlagResponseSchema)` to create a new message.
2361
- */
2362
- declare const ToggleFlagResponseSchema: GenMessage<ToggleFlagResponse>;
2363
- /**
2364
- * @generated from message sylphx.platform.v1.GetPreviewCostRequest
2365
- */
2366
- type GetPreviewCostRequest = Message<"sylphx.platform.v1.GetPreviewCostRequest"> & {
2367
- /**
2368
- * @generated from field: string project_id = 1;
2369
- */
2370
- projectId: string;
2371
- /**
2372
- * @generated from field: string pr_number = 2;
2373
- */
2374
- prNumber: string;
2375
- };
2376
- /**
2377
- * Describes the message sylphx.platform.v1.GetPreviewCostRequest.
2378
- * Use `create(GetPreviewCostRequestSchema)` to create a new message.
2379
- */
2380
- declare const GetPreviewCostRequestSchema: GenMessage<GetPreviewCostRequest>;
2381
- /**
2382
- * @generated from message sylphx.platform.v1.GetPreviewCostResponse
2383
- */
2384
- type GetPreviewCostResponse = Message<"sylphx.platform.v1.GetPreviewCostResponse"> & {
2385
- /**
2386
- * @generated from field: string project_id = 1;
2387
- */
2388
- projectId: string;
2389
- /**
2390
- * @generated from field: string pr_number = 2;
2391
- */
2392
- prNumber: string;
2393
- /**
2394
- * @generated from field: double total = 3;
2395
- */
2396
- total: number;
2397
- /**
2398
- * @generated from field: string currency = 4;
2399
- */
2400
- currency: string;
2401
- /**
2402
- * @generated from field: optional string breakdown_json = 5;
2403
- */
2404
- breakdownJson?: string | undefined;
2405
- };
2406
- /**
2407
- * Describes the message sylphx.platform.v1.GetPreviewCostResponse.
2408
- * Use `create(GetPreviewCostResponseSchema)` to create a new message.
2409
- */
2410
- declare const GetPreviewCostResponseSchema: GenMessage<GetPreviewCostResponse>;
2411
- /**
2412
- * @generated from message sylphx.platform.v1.ProjectService
2413
- */
2414
- type ProjectService = Message<"sylphx.platform.v1.ProjectService"> & {
2415
- /**
2416
- * @generated from field: string id = 1;
2417
- */
2418
- id: string;
2419
- /**
2420
- * @generated from field: string name = 2;
2421
- */
2422
- name: string;
2423
- /**
2424
- * @generated from field: string slug = 3;
2425
- */
2426
- slug: string;
2427
- /**
2428
- * @generated from field: string project_id = 4;
2429
- */
2430
- projectId: string;
2431
- /**
2432
- * @generated from field: optional bool is_active = 5;
2433
- */
2434
- isActive?: boolean | undefined;
2435
- /**
2436
- * @generated from field: optional string source_kind = 6;
2437
- */
2438
- sourceKind?: string | undefined;
2439
- /**
2440
- * @generated from field: optional string github_repo = 7;
2441
- */
2442
- githubRepo?: string | undefined;
2443
- /**
2444
- * @generated from field: optional string github_branch = 8;
2445
- */
2446
- githubBranch?: string | undefined;
2447
- /**
2448
- * @generated from field: optional string dockerfile_path = 9;
2449
- */
2450
- dockerfilePath?: string | undefined;
2451
- /**
2452
- * @generated from field: optional string build_command = 10;
2453
- */
2454
- buildCommand?: string | undefined;
2455
- /**
2456
- * @generated from field: optional string start_command = 11;
2457
- */
2458
- startCommand?: string | undefined;
2459
- /**
2460
- * @generated from field: optional string health_check_path = 12;
2461
- */
2462
- healthCheckPath?: string | undefined;
2463
- /**
2464
- * @generated from field: optional string port = 13;
2465
- */
2466
- port?: string | undefined;
2467
- /**
2468
- * @generated from field: optional string image_ref = 14;
2469
- */
2470
- imageRef?: string | undefined;
2471
- /**
2472
- * @generated from field: optional string created_at = 15;
2473
- */
2474
- createdAt?: string | undefined;
2475
- /**
2476
- * @generated from field: optional string updated_at = 16;
2477
- */
2478
- updatedAt?: string | undefined;
2479
- };
2480
- /**
2481
- * @generated from message sylphx.platform.v1.ListProjectServicesRequest
2482
- */
2483
- type ListProjectServicesRequest = Message<"sylphx.platform.v1.ListProjectServicesRequest"> & {
2484
- /**
2485
- * @generated from field: string project_id = 1;
2486
- */
2487
- projectId: string;
2488
- };
2489
- /**
2490
- * Describes the message sylphx.platform.v1.ListProjectServicesRequest.
2491
- * Use `create(ListProjectServicesRequestSchema)` to create a new message.
2492
- */
2493
- declare const ListProjectServicesRequestSchema: GenMessage<ListProjectServicesRequest>;
2494
- /**
2495
- * @generated from message sylphx.platform.v1.ListProjectServicesResponse
2496
- */
2497
- type ListProjectServicesResponse = Message<"sylphx.platform.v1.ListProjectServicesResponse"> & {
2498
- /**
2499
- * @generated from field: string object = 1;
2500
- */
2501
- object: string;
2502
- /**
2503
- * @generated from field: repeated sylphx.platform.v1.ProjectService data = 2;
2504
- */
2505
- data: ProjectService[];
2506
- /**
2507
- * @generated from field: optional string transport = 3;
2508
- */
2509
- transport?: string | undefined;
2510
- };
2511
- /**
2512
- * Describes the message sylphx.platform.v1.ListProjectServicesResponse.
2513
- * Use `create(ListProjectServicesResponseSchema)` to create a new message.
2514
- */
2515
- declare const ListProjectServicesResponseSchema: GenMessage<ListProjectServicesResponse>;
2516
- /**
2517
- * @generated from service sylphx.platform.v1.ManagementService
2518
- */
2519
- declare const ManagementService: GenService<{
2520
- /**
2521
- * @generated from rpc sylphx.platform.v1.ManagementService.Health
2522
- */
2523
- health: {
2524
- methodKind: "unary";
2525
- input: typeof HealthRequestSchema;
2526
- output: typeof HealthResponseSchema;
2527
- };
2528
- /**
2529
- * @generated from rpc sylphx.platform.v1.ManagementService.WhoAmI
2530
- */
2531
- whoAmI: {
2532
- methodKind: "unary";
2533
- input: typeof WhoAmIRequestSchema;
2534
- output: typeof WhoAmIResponseSchema;
2535
- };
2536
- /**
2537
- * @generated from rpc sylphx.platform.v1.ManagementService.ListProjects
2538
- */
2539
- listProjects: {
2540
- methodKind: "unary";
2541
- input: typeof ListProjectsRequestSchema;
2542
- output: typeof ListProjectsResponseSchema;
2543
- };
2544
- /**
2545
- * @generated from rpc sylphx.platform.v1.ManagementService.GetProject
2546
- */
2547
- getProject: {
2548
- methodKind: "unary";
2549
- input: typeof GetProjectRequestSchema;
2550
- output: typeof GetProjectResponseSchema;
2551
- };
2552
- /**
2553
- * @generated from rpc sylphx.platform.v1.ManagementService.CreateProject
2554
- */
2555
- createProject: {
2556
- methodKind: "unary";
2557
- input: typeof CreateProjectRequestSchema;
2558
- output: typeof CreateProjectResponseSchema;
2559
- };
2560
- /**
2561
- * @generated from rpc sylphx.platform.v1.ManagementService.ListEnvironments
2562
- */
2563
- listEnvironments: {
2564
- methodKind: "unary";
2565
- input: typeof ListEnvironmentsRequestSchema;
2566
- output: typeof ListEnvironmentsResponseSchema;
2567
- };
2568
- /**
2569
- * @generated from rpc sylphx.platform.v1.ManagementService.GetEnvironment
2570
- */
2571
- getEnvironment: {
2572
- methodKind: "unary";
2573
- input: typeof GetEnvironmentRequestSchema;
2574
- output: typeof GetEnvironmentResponseSchema;
2575
- };
2576
- /**
2577
- * @generated from rpc sylphx.platform.v1.ManagementService.ListDeployments
2578
- */
2579
- listDeployments: {
2580
- methodKind: "unary";
2581
- input: typeof ListDeploymentsRequestSchema;
2582
- output: typeof ListDeploymentsResponseSchema;
2583
- };
2584
- /**
2585
- * @generated from rpc sylphx.platform.v1.ManagementService.CreateDeploy
2586
- */
2587
- createDeploy: {
2588
- methodKind: "unary";
2589
- input: typeof CreateDeployRequestSchema;
2590
- output: typeof CreateDeployResponseSchema;
2591
- };
2592
- /**
2593
- * @generated from rpc sylphx.platform.v1.ManagementService.Rollback
2594
- */
2595
- rollback: {
2596
- methodKind: "unary";
2597
- input: typeof RollbackRequestSchema;
2598
- output: typeof RollbackResponseSchema;
2599
- };
2600
- /**
2601
- * @generated from rpc sylphx.platform.v1.ManagementService.GetProjectStatus
2602
- */
2603
- getProjectStatus: {
2604
- methodKind: "unary";
2605
- input: typeof GetProjectStatusRequestSchema;
2606
- output: typeof GetProjectStatusResponseSchema;
2607
- };
2608
- /**
2609
- * @generated from rpc sylphx.platform.v1.ManagementService.ListEnvVars
2610
- */
2611
- listEnvVars: {
2612
- methodKind: "unary";
2613
- input: typeof ListEnvVarsRequestSchema;
2614
- output: typeof ListEnvVarsResponseSchema;
2615
- };
2616
- /**
2617
- * @generated from rpc sylphx.platform.v1.ManagementService.SetEnvVar
2618
- */
2619
- setEnvVar: {
2620
- methodKind: "unary";
2621
- input: typeof SetEnvVarRequestSchema;
2622
- output: typeof SetEnvVarResponseSchema;
2623
- };
2624
- /**
2625
- * @generated from rpc sylphx.platform.v1.ManagementService.DeleteEnvVar
2626
- */
2627
- deleteEnvVar: {
2628
- methodKind: "unary";
2629
- input: typeof DeleteEnvVarRequestSchema;
2630
- output: typeof DeleteEnvVarResponseSchema;
2631
- };
2632
- /**
2633
- * @generated from rpc sylphx.platform.v1.ManagementService.ListLogs
2634
- */
2635
- listLogs: {
2636
- methodKind: "unary";
2637
- input: typeof ListLogsRequestSchema;
2638
- output: typeof ListLogsResponseSchema;
2639
- };
2640
- /**
2641
- * @generated from rpc sylphx.platform.v1.ManagementService.ListResources
2642
- */
2643
- listResources: {
2644
- methodKind: "unary";
2645
- input: typeof ListResourcesRequestSchema;
2646
- output: typeof ListResourcesResponseSchema;
2647
- };
2648
- /**
2649
- * @generated from rpc sylphx.platform.v1.ManagementService.GetResource
2650
- */
2651
- getResource: {
2652
- methodKind: "unary";
2653
- input: typeof GetResourceRequestSchema;
2654
- output: typeof GetResourceResponseSchema;
2655
- };
2656
- /**
2657
- * @generated from rpc sylphx.platform.v1.ManagementService.CreateResource
2658
- */
2659
- createResource: {
2660
- methodKind: "unary";
2661
- input: typeof CreateResourceRequestSchema;
2662
- output: typeof CreateResourceResponseSchema;
2663
- };
2664
- /**
2665
- * @generated from rpc sylphx.platform.v1.ManagementService.DeleteResource
2666
- */
2667
- deleteResource: {
2668
- methodKind: "unary";
2669
- input: typeof DeleteResourceRequestSchema;
2670
- output: typeof DeleteResourceResponseSchema;
2671
- };
2672
- /**
2673
- * @generated from rpc sylphx.platform.v1.ManagementService.BindResource
2674
- */
2675
- bindResource: {
2676
- methodKind: "unary";
2677
- input: typeof BindResourceRequestSchema;
2678
- output: typeof BindResourceResponseSchema;
2679
- };
2680
- /**
2681
- * @generated from rpc sylphx.platform.v1.ManagementService.BranchResource
2682
- */
2683
- branchResource: {
2684
- methodKind: "unary";
2685
- input: typeof BranchResourceRequestSchema;
2686
- output: typeof BranchResourceResponseSchema;
2687
- };
2688
- /**
2689
- * @generated from rpc sylphx.platform.v1.ManagementService.CreateProjectStorage
2690
- */
2691
- createProjectStorage: {
2692
- methodKind: "unary";
2693
- input: typeof CreateProjectStorageRequestSchema;
2694
- output: typeof CreateProjectStorageResponseSchema;
2695
- };
2696
- /**
2697
- * @generated from rpc sylphx.platform.v1.ManagementService.ListProjectStorage
2698
- */
2699
- listProjectStorage: {
2700
- methodKind: "unary";
2701
- input: typeof ListProjectStorageRequestSchema;
2702
- output: typeof ListProjectStorageResponseSchema;
2703
- };
2704
- /**
2705
- * @generated from rpc sylphx.platform.v1.ManagementService.ListBackups
2706
- */
2707
- listBackups: {
2708
- methodKind: "unary";
2709
- input: typeof ListBackupsRequestSchema;
2710
- output: typeof ListBackupsResponseSchema;
2711
- };
2712
- /**
2713
- * @generated from rpc sylphx.platform.v1.ManagementService.CreateBackup
2714
- */
2715
- createBackup: {
2716
- methodKind: "unary";
2717
- input: typeof CreateBackupRequestSchema;
2718
- output: typeof CreateBackupResponseSchema;
2719
- };
2720
- /**
2721
- * @generated from rpc sylphx.platform.v1.ManagementService.RestoreBackup
2722
- */
2723
- restoreBackup: {
2724
- methodKind: "unary";
2725
- input: typeof RestoreBackupRequestSchema;
2726
- output: typeof RestoreBackupResponseSchema;
2727
- };
2728
- /**
2729
- * @generated from rpc sylphx.platform.v1.ManagementService.ListFlags
2730
- */
2731
- listFlags: {
2732
- methodKind: "unary";
2733
- input: typeof ListFlagsRequestSchema;
2734
- output: typeof ListFlagsResponseSchema;
2735
- };
2736
- /**
2737
- * @generated from rpc sylphx.platform.v1.ManagementService.CreateFlag
2738
- */
2739
- createFlag: {
2740
- methodKind: "unary";
2741
- input: typeof CreateFlagRequestSchema;
2742
- output: typeof CreateFlagResponseSchema;
2743
- };
2744
- /**
2745
- * @generated from rpc sylphx.platform.v1.ManagementService.ToggleFlag
2746
- */
2747
- toggleFlag: {
2748
- methodKind: "unary";
2749
- input: typeof ToggleFlagRequestSchema;
2750
- output: typeof ToggleFlagResponseSchema;
2751
- };
2752
- /**
2753
- * @generated from rpc sylphx.platform.v1.ManagementService.GetPreviewCost
2754
- */
2755
- getPreviewCost: {
2756
- methodKind: "unary";
2757
- input: typeof GetPreviewCostRequestSchema;
2758
- output: typeof GetPreviewCostResponseSchema;
2759
- };
2760
- /**
2761
- * @generated from rpc sylphx.platform.v1.ManagementService.ListProjectServices
2762
- */
2763
- listProjectServices: {
2764
- methodKind: "unary";
2765
- input: typeof ListProjectServicesRequestSchema;
2766
- output: typeof ListProjectServicesResponseSchema;
2767
- };
2768
- }>;
2769
-
2770
- type ListProjectsInput = {
2771
- orgId?: string;
2772
- pageSize?: number;
2773
- pageToken?: string;
2774
- };
2775
- declare function validateListProjectsInput(input: ListProjectsInput): string | null;
2776
- /** Pure request builder → Protobuf ListProjectsRequest. */
2777
- declare function buildListProjectsRequest(input: ListProjectsInput): ListProjectsRequest;
2778
- declare function projectIsActive(project: Project | undefined | null): boolean;
2779
- declare function managementListProjectsCeType(): string;
2780
-
2781
- /**
2782
- * ManagementService Connect client — imperative shell over Protobuf SSOT.
2783
- * Composition via getPlatformWebTransport.
2784
- */
2785
-
2786
- type ManagementServiceClient = Client<typeof ManagementService>;
2787
- declare function createManagementServiceClient(baseUrl?: string): ManagementServiceClient;
2788
- declare function listProjectsViaConnect(input?: ListProjectsInput, client?: ManagementServiceClient): Promise<ListProjectsResponse>;
2789
-
2790
- declare const managementQueryKeys: {
2791
- root: readonly ["sylphx", "platform", "v1", "ManagementService"];
2792
- listProjects: (input?: ListProjectsInput) => readonly ["sylphx", "platform", "v1", "ManagementService", "ListProjects", string, number, string];
2793
- };
2794
- /** Method descriptor for Connect-Query useQuery(ManagementService.method.listProjects, …). */
2795
- declare const managementListProjectsMethod: {
2796
- methodKind: "unary";
2797
- input: typeof ListProjectsRequestSchema;
2798
- output: typeof ListProjectsResponseSchema;
2799
- } & _bufbuild_protobuf.DescMethod;
2800
- declare function listProjectsQueryInput(input?: ListProjectsInput): ListProjectsRequest;
2801
- /** Empty request factory for unscoped list (page defaults). */
2802
- declare function emptyListProjectsRequest(): ListProjectsRequest;
2803
-
2804
- /**
2805
- * Browser Connect-Web transport composition for Platform wire Protobuf-ES SSOT.
2806
- * Static composition root — no domain decisions.
2807
- *
2808
- * Preferred product transport is Connect protocol (`createConnectTransport`).
2809
- * `createGrpcWebTransport` remains available for environments that only
2810
- * terminate gRPC-Web (device-stream edge, legacy proxies).
2811
- */
2812
-
2813
- declare function normalizePlatformGrpcWebBaseUrl(raw: string): string;
2814
- declare function resolvePlatformGrpcWebBaseUrl(env?: Record<string, string | undefined>): string;
2815
- type PlatformWebTransportOptions = {
2816
- /** Absolute base URL (no trailing slash). */
2817
- baseUrl?: string;
2818
- /** Prefer Connect protocol (default) or gRPC-Web. */
2819
- protocol?: 'connect' | 'grpc-web';
2820
- /** Binary protobuf (default true) vs JSON. */
2821
- useBinaryFormat?: boolean;
2822
- /** Optional interceptors (auth, org header, tracing). */
2823
- interceptors?: Interceptor[];
2824
- /** Cookie session dogfood (console browser). */
2825
- credentials?: RequestCredentials;
2826
- };
2827
- /**
2828
- * Build a Connect-Web transport for Platform ManagementService / BaaS services.
2829
- * Default protocol is Connect (matches `@connectrpc/connect-web` product path).
2830
- */
2831
- declare function createPlatformConnectTransport(options?: PlatformWebTransportOptions): Transport;
2832
- /** @deprecated Prefer {@link createPlatformConnectTransport}; kept for call-site stability. */
2833
- declare function createPlatformGrpcWebTransport(options?: PlatformWebTransportOptions): Transport;
2834
- /** Cached default Connect transport (binary). */
2835
- declare function getPlatformWebTransport(baseUrl?: string): Transport;
2836
- declare function resetPlatformWebTransportCache(): void;
2837
-
2838
- export { type ListProjectsInput, type ManagementServiceClient, buildListProjectsRequest, createManagementServiceClient, createPlatformConnectTransport, createPlatformGrpcWebTransport, emptyListProjectsRequest, getPlatformWebTransport, listProjectsQueryInput, listProjectsViaConnect, managementListProjectsCeType, managementListProjectsMethod, managementQueryKeys, normalizePlatformGrpcWebBaseUrl, projectIsActive, resetPlatformWebTransportCache, resolvePlatformGrpcWebBaseUrl, validateListProjectsInput };