@eide/foir-proto-ts 0.90.0 → 0.92.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.
- package/package.json +1 -1
- package/src/operations/v1/operations_connect.d.ts +22 -1
- package/src/operations/v1/operations_connect.js +22 -1
- package/src/operations/v1/operations_pb.d.ts +443 -0
- package/src/operations/v1/operations_pb.js +163 -84
- package/src/settings/v1/settings_pb.d.ts +28 -0
- package/src/settings/v1/settings_pb.js +1 -1
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { BulkDismissDeadLettersRequest, BulkDismissDeadLettersResponse, BulkRetryDeadLettersRequest, BulkRetryDeadLettersResponse, CancelOperationExecutionRequest, CancelOperationExecutionResponse, CancelOperationExecutionsRequest, CancelOperationExecutionsResponse, CancelScheduledOperationPublishRequest, CancelScheduledOperationPublishResponse, CompleteOperationExecutionRequest, CompleteOperationExecutionResponse, CreateOperationRequest, CreateOperationResponse, DeleteOperationRequest, DeleteOperationResponse, DismissAllPendingDeadLettersRequest, DismissAllPendingDeadLettersResponse, DismissDeadLetterEntryRequest, DismissDeadLetterEntryResponse, ExecuteOperationRequest, ExecuteOperationResponse, FailOperationExecutionRequest, FailOperationExecutionResponse, GetApplicableOperationsRequest, GetApplicableOperationsResponse, GetDeadLetterStatsRequest, GetDeadLetterStatsResponse, GetOperationExecutionRequest, GetOperationExecutionResponse, GetOperationExecutionStatsRequest, GetOperationExecutionStatsResponse, GetOperationPublishStatusRequest, GetOperationPublishStatusResponse, GetOperationQuotaUsageRequest, GetOperationQuotaUsageResponse, GetOperationRequest, GetOperationResponse, GetOperationVersionRequest, GetOperationVersionResponse, GetSigningSecretRawRequest, GetSigningSecretRawResponse, GetSigningSecretRequest, GetSigningSecretResponse, ListCircuitStatesRequest, ListCircuitStatesResponse, ListDeadLetterEntriesRequest, ListDeadLetterEntriesResponse, ListDeadLetterOperationKeysRequest, ListDeadLetterOperationKeysResponse, ListOperationExecutionsRequest, ListOperationExecutionsResponse, ListOperationsRequest, ListOperationsResponse, ListOperationVersionsRequest, ListOperationVersionsResponse, PublishOperationRequest, PublishOperationResponse, RegenerateSigningSecretRequest, RegenerateSigningSecretResponse, ReportOperationProgressRequest, ReportOperationProgressResponse, ResetCircuitRequest, ResetCircuitResponse, RestoreOperationVersionRequest, RestoreOperationVersionResponse, RetryDeadLetterEntryRequest, RetryDeadLetterEntryResponse, ScheduleOperationPublishRequest, ScheduleOperationPublishResponse, UnpublishOperationRequest, UnpublishOperationResponse, UpdateOperationRequest, UpdateOperationResponse } from "./operations_pbjs";
|
|
6
|
+
import { BulkDismissDeadLettersRequest, BulkDismissDeadLettersResponse, BulkRetryDeadLettersRequest, BulkRetryDeadLettersResponse, CancelOperationExecutionRequest, CancelOperationExecutionResponse, CancelOperationExecutionsRequest, CancelOperationExecutionsResponse, CancelScheduledOperationPublishRequest, CancelScheduledOperationPublishResponse, CompleteOperationExecutionRequest, CompleteOperationExecutionResponse, CreateOperationRequest, CreateOperationResponse, DeleteOperationRequest, DeleteOperationResponse, DismissAllPendingDeadLettersRequest, DismissAllPendingDeadLettersResponse, DismissDeadLetterEntryRequest, DismissDeadLetterEntryResponse, ExecuteOperationRequest, ExecuteOperationResponse, FailOperationExecutionRequest, FailOperationExecutionResponse, GetApplicableOperationsRequest, GetApplicableOperationsResponse, GetDeadLetterStatsRequest, GetDeadLetterStatsResponse, GetOperationExecutionRequest, GetOperationExecutionResponse, GetOperationExecutionStatsRequest, GetOperationExecutionStatsResponse, GetOperationPublishStatusRequest, GetOperationPublishStatusResponse, GetOperationQuotaUsageRequest, GetOperationQuotaUsageResponse, GetOperationRequest, GetOperationResponse, GetOperationVersionRequest, GetOperationVersionResponse, GetSigningSecretRawRequest, GetSigningSecretRawResponse, GetSigningSecretRequest, GetSigningSecretResponse, ListCircuitStatesRequest, ListCircuitStatesResponse, ListDeadLetterEntriesRequest, ListDeadLetterEntriesResponse, ListDeadLetterOperationKeysRequest, ListDeadLetterOperationKeysResponse, ListOperationExecutionsRequest, ListOperationExecutionsResponse, ListOperationsRequest, ListOperationsResponse, ListOperationVersionsRequest, ListOperationVersionsResponse, PublishOperationRequest, PublishOperationResponse, RegenerateSigningSecretRequest, RegenerateSigningSecretResponse, ReportOperationProgressRequest, ReportOperationProgressResponse, ResetCircuitRequest, ResetCircuitResponse, ResolveOperationBatchRequest, ResolveOperationBatchResponse, ResolveOperationRequest, ResolveOperationResponse, RestoreOperationVersionRequest, RestoreOperationVersionResponse, RetryDeadLetterEntryRequest, RetryDeadLetterEntryResponse, ScheduleOperationPublishRequest, ScheduleOperationPublishResponse, UnpublishOperationRequest, UnpublishOperationResponse, UpdateOperationRequest, UpdateOperationResponse } from "./operations_pbjs";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -70,6 +70,27 @@ export declare const OperationsService: {
|
|
|
70
70
|
readonly O: typeof ExecuteOperationResponse,
|
|
71
71
|
readonly kind: MethodKind.Unary,
|
|
72
72
|
},
|
|
73
|
+
/**
|
|
74
|
+
* Synchronous in-process dispatch for KIND_QUERY / KIND_FIELD. No queue,
|
|
75
|
+
* no execution row, no DLQ/watchdog. See message comments.
|
|
76
|
+
*
|
|
77
|
+
* @generated from rpc operations.v1.OperationsService.ResolveOperation
|
|
78
|
+
*/
|
|
79
|
+
readonly resolveOperation: {
|
|
80
|
+
readonly name: "ResolveOperation",
|
|
81
|
+
readonly I: typeof ResolveOperationRequest,
|
|
82
|
+
readonly O: typeof ResolveOperationResponse,
|
|
83
|
+
readonly kind: MethodKind.Unary,
|
|
84
|
+
},
|
|
85
|
+
/**
|
|
86
|
+
* @generated from rpc operations.v1.OperationsService.ResolveOperationBatch
|
|
87
|
+
*/
|
|
88
|
+
readonly resolveOperationBatch: {
|
|
89
|
+
readonly name: "ResolveOperationBatch",
|
|
90
|
+
readonly I: typeof ResolveOperationBatchRequest,
|
|
91
|
+
readonly O: typeof ResolveOperationBatchResponse,
|
|
92
|
+
readonly kind: MethodKind.Unary,
|
|
93
|
+
},
|
|
73
94
|
/**
|
|
74
95
|
* @generated from rpc operations.v1.OperationsService.ListOperationExecutions
|
|
75
96
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { BulkDismissDeadLettersRequest, BulkDismissDeadLettersResponse, BulkRetryDeadLettersRequest, BulkRetryDeadLettersResponse, CancelOperationExecutionRequest, CancelOperationExecutionResponse, CancelOperationExecutionsRequest, CancelOperationExecutionsResponse, CancelScheduledOperationPublishRequest, CancelScheduledOperationPublishResponse, CompleteOperationExecutionRequest, CompleteOperationExecutionResponse, CreateOperationRequest, CreateOperationResponse, DeleteOperationRequest, DeleteOperationResponse, DismissAllPendingDeadLettersRequest, DismissAllPendingDeadLettersResponse, DismissDeadLetterEntryRequest, DismissDeadLetterEntryResponse, ExecuteOperationRequest, ExecuteOperationResponse, FailOperationExecutionRequest, FailOperationExecutionResponse, GetApplicableOperationsRequest, GetApplicableOperationsResponse, GetDeadLetterStatsRequest, GetDeadLetterStatsResponse, GetOperationExecutionRequest, GetOperationExecutionResponse, GetOperationExecutionStatsRequest, GetOperationExecutionStatsResponse, GetOperationPublishStatusRequest, GetOperationPublishStatusResponse, GetOperationQuotaUsageRequest, GetOperationQuotaUsageResponse, GetOperationRequest, GetOperationResponse, GetOperationVersionRequest, GetOperationVersionResponse, GetSigningSecretRawRequest, GetSigningSecretRawResponse, GetSigningSecretRequest, GetSigningSecretResponse, ListCircuitStatesRequest, ListCircuitStatesResponse, ListDeadLetterEntriesRequest, ListDeadLetterEntriesResponse, ListDeadLetterOperationKeysRequest, ListDeadLetterOperationKeysResponse, ListOperationExecutionsRequest, ListOperationExecutionsResponse, ListOperationsRequest, ListOperationsResponse, ListOperationVersionsRequest, ListOperationVersionsResponse, PublishOperationRequest, PublishOperationResponse, RegenerateSigningSecretRequest, RegenerateSigningSecretResponse, ReportOperationProgressRequest, ReportOperationProgressResponse, ResetCircuitRequest, ResetCircuitResponse, RestoreOperationVersionRequest, RestoreOperationVersionResponse, RetryDeadLetterEntryRequest, RetryDeadLetterEntryResponse, ScheduleOperationPublishRequest, ScheduleOperationPublishResponse, UnpublishOperationRequest, UnpublishOperationResponse, UpdateOperationRequest, UpdateOperationResponse } from "./operations_pbjs";
|
|
6
|
+
import { BulkDismissDeadLettersRequest, BulkDismissDeadLettersResponse, BulkRetryDeadLettersRequest, BulkRetryDeadLettersResponse, CancelOperationExecutionRequest, CancelOperationExecutionResponse, CancelOperationExecutionsRequest, CancelOperationExecutionsResponse, CancelScheduledOperationPublishRequest, CancelScheduledOperationPublishResponse, CompleteOperationExecutionRequest, CompleteOperationExecutionResponse, CreateOperationRequest, CreateOperationResponse, DeleteOperationRequest, DeleteOperationResponse, DismissAllPendingDeadLettersRequest, DismissAllPendingDeadLettersResponse, DismissDeadLetterEntryRequest, DismissDeadLetterEntryResponse, ExecuteOperationRequest, ExecuteOperationResponse, FailOperationExecutionRequest, FailOperationExecutionResponse, GetApplicableOperationsRequest, GetApplicableOperationsResponse, GetDeadLetterStatsRequest, GetDeadLetterStatsResponse, GetOperationExecutionRequest, GetOperationExecutionResponse, GetOperationExecutionStatsRequest, GetOperationExecutionStatsResponse, GetOperationPublishStatusRequest, GetOperationPublishStatusResponse, GetOperationQuotaUsageRequest, GetOperationQuotaUsageResponse, GetOperationRequest, GetOperationResponse, GetOperationVersionRequest, GetOperationVersionResponse, GetSigningSecretRawRequest, GetSigningSecretRawResponse, GetSigningSecretRequest, GetSigningSecretResponse, ListCircuitStatesRequest, ListCircuitStatesResponse, ListDeadLetterEntriesRequest, ListDeadLetterEntriesResponse, ListDeadLetterOperationKeysRequest, ListDeadLetterOperationKeysResponse, ListOperationExecutionsRequest, ListOperationExecutionsResponse, ListOperationsRequest, ListOperationsResponse, ListOperationVersionsRequest, ListOperationVersionsResponse, PublishOperationRequest, PublishOperationResponse, RegenerateSigningSecretRequest, RegenerateSigningSecretResponse, ReportOperationProgressRequest, ReportOperationProgressResponse, ResetCircuitRequest, ResetCircuitResponse, ResolveOperationBatchRequest, ResolveOperationBatchResponse, ResolveOperationRequest, ResolveOperationResponse, RestoreOperationVersionRequest, RestoreOperationVersionResponse, RetryDeadLetterEntryRequest, RetryDeadLetterEntryResponse, ScheduleOperationPublishRequest, ScheduleOperationPublishResponse, UnpublishOperationRequest, UnpublishOperationResponse, UpdateOperationRequest, UpdateOperationResponse } from "./operations_pbjs";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -70,6 +70,27 @@ export const OperationsService = {
|
|
|
70
70
|
O: ExecuteOperationResponse,
|
|
71
71
|
kind: MethodKind.Unary,
|
|
72
72
|
},
|
|
73
|
+
/**
|
|
74
|
+
* Synchronous in-process dispatch for KIND_QUERY / KIND_FIELD. No queue,
|
|
75
|
+
* no execution row, no DLQ/watchdog. See message comments.
|
|
76
|
+
*
|
|
77
|
+
* @generated from rpc operations.v1.OperationsService.ResolveOperation
|
|
78
|
+
*/
|
|
79
|
+
resolveOperation: {
|
|
80
|
+
name: "ResolveOperation",
|
|
81
|
+
I: ResolveOperationRequest,
|
|
82
|
+
O: ResolveOperationResponse,
|
|
83
|
+
kind: MethodKind.Unary,
|
|
84
|
+
},
|
|
85
|
+
/**
|
|
86
|
+
* @generated from rpc operations.v1.OperationsService.ResolveOperationBatch
|
|
87
|
+
*/
|
|
88
|
+
resolveOperationBatch: {
|
|
89
|
+
name: "ResolveOperationBatch",
|
|
90
|
+
I: ResolveOperationBatchRequest,
|
|
91
|
+
O: ResolveOperationBatchResponse,
|
|
92
|
+
kind: MethodKind.Unary,
|
|
93
|
+
},
|
|
73
94
|
/**
|
|
74
95
|
* @generated from rpc operations.v1.OperationsService.ListOperationExecutions
|
|
75
96
|
*/
|
|
@@ -13,6 +13,98 @@ import type { BreakingChange, PublishStatus } from "../../publish/v1/publish_pb.
|
|
|
13
13
|
*/
|
|
14
14
|
export declare const file_operations_v1_operations: GenFile;
|
|
15
15
|
|
|
16
|
+
/**
|
|
17
|
+
* SecretBinding maps a {{secret.NAME}} placeholder in an operation's
|
|
18
|
+
* request template to a PROJECT-owned SecretsService secret. The
|
|
19
|
+
* dispatcher resolves the plaintext at call time; it is never stored on
|
|
20
|
+
* the operation row.
|
|
21
|
+
*
|
|
22
|
+
* @generated from message operations.v1.SecretBinding
|
|
23
|
+
*/
|
|
24
|
+
export declare type SecretBinding = Message<"operations.v1.SecretBinding"> & {
|
|
25
|
+
/**
|
|
26
|
+
* @generated from field: string name = 1;
|
|
27
|
+
*/
|
|
28
|
+
name: string;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* SecretsService secret ref. Must be PROJECT-owned and in the same
|
|
32
|
+
* (tenant, project) as the operation.
|
|
33
|
+
*
|
|
34
|
+
* @generated from field: string secret_ref = 2;
|
|
35
|
+
*/
|
|
36
|
+
secretRef: string;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Describes the message operations.v1.SecretBinding.
|
|
41
|
+
* Use `create(SecretBindingSchema)` to create a new message.
|
|
42
|
+
*/
|
|
43
|
+
export declare const SecretBindingSchema: GenMessage<SecretBinding>;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* RequestTemplate shapes the outbound HTTP request for QUERY / FIELD
|
|
47
|
+
* operations. Template variables {{input.X}}, {{parent.X}},
|
|
48
|
+
* {{secret.NAME}}, {{context.X}} are interpolated at dispatch time.
|
|
49
|
+
*
|
|
50
|
+
* @generated from message operations.v1.RequestTemplate
|
|
51
|
+
*/
|
|
52
|
+
export declare type RequestTemplate = Message<"operations.v1.RequestTemplate"> & {
|
|
53
|
+
/**
|
|
54
|
+
* GET / POST / PUT / DELETE / PATCH. Defaults to POST.
|
|
55
|
+
*
|
|
56
|
+
* @generated from field: optional string method = 1;
|
|
57
|
+
*/
|
|
58
|
+
method?: string | undefined;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Appended to operation.endpoint. Template variables allowed.
|
|
62
|
+
*
|
|
63
|
+
* @generated from field: optional string path_template = 2;
|
|
64
|
+
*/
|
|
65
|
+
pathTemplate?: string | undefined;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Static + templated query params merged into the URL.
|
|
69
|
+
*
|
|
70
|
+
* @generated from field: map<string, string> query = 3;
|
|
71
|
+
*/
|
|
72
|
+
query: { [key: string]: string };
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Static + templated headers. X-Foir-Token (Ed25519) and X-Foir-Context
|
|
76
|
+
* are always set by the platform; these names are reserved.
|
|
77
|
+
*
|
|
78
|
+
* @generated from field: map<string, string> headers = 4;
|
|
79
|
+
*/
|
|
80
|
+
headers: { [key: string]: string };
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* When set, replaces the default JSON-encoded input body.
|
|
84
|
+
*
|
|
85
|
+
* @generated from field: optional string body_template = 5;
|
|
86
|
+
*/
|
|
87
|
+
bodyTemplate?: string | undefined;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* FIELD-resolver batching opt-in. When true, ResolveOperationBatch sends
|
|
91
|
+
* ONE upstream request for the whole deduped input set: body_template
|
|
92
|
+
* receives the array as {{items}} (each element {input, parent}), the
|
|
93
|
+
* upstream returns an array, and response_transform maps it back by
|
|
94
|
+
* index. Default false = bounded-concurrency fan-out, no upstream
|
|
95
|
+
* contract change.
|
|
96
|
+
*
|
|
97
|
+
* @generated from field: optional bool batch_capable = 6;
|
|
98
|
+
*/
|
|
99
|
+
batchCapable?: boolean | undefined;
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Describes the message operations.v1.RequestTemplate.
|
|
104
|
+
* Use `create(RequestTemplateSchema)` to create a new message.
|
|
105
|
+
*/
|
|
106
|
+
export declare const RequestTemplateSchema: GenMessage<RequestTemplate>;
|
|
107
|
+
|
|
16
108
|
/**
|
|
17
109
|
* @generated from message operations.v1.Operation
|
|
18
110
|
*/
|
|
@@ -167,6 +259,63 @@ export declare type Operation = Message<"operations.v1.Operation"> & {
|
|
|
167
259
|
*/
|
|
168
260
|
capabilities: string[];
|
|
169
261
|
|
|
262
|
+
/**
|
|
263
|
+
* @generated from field: operations.v1.OperationKind kind = 26;
|
|
264
|
+
*/
|
|
265
|
+
kind: OperationKind;
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* KIND_FIELD only — the model key whose generated GraphQL type gets this
|
|
269
|
+
* resolver attached as a field. Rejected for QUERY / MUTATION.
|
|
270
|
+
*
|
|
271
|
+
* @generated from field: optional string attached_to_model = 27;
|
|
272
|
+
*/
|
|
273
|
+
attachedToModel?: string | undefined;
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* KIND_FIELD only — parent scalar fields projected into the request
|
|
277
|
+
* payload as parent:{...}. Read from the loaded record source regardless
|
|
278
|
+
* of the client's selection set. Reference / lazily-resolved fields are
|
|
279
|
+
* rejected at the write boundary.
|
|
280
|
+
*
|
|
281
|
+
* @generated from field: repeated string parent_fields = 28;
|
|
282
|
+
*/
|
|
283
|
+
parentFields: string[];
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* Cache hint for QUERY / FIELD, honoured by the response cache. Ignored
|
|
287
|
+
* for MUTATION (mutations are never cached).
|
|
288
|
+
*
|
|
289
|
+
* @generated from field: optional google.protobuf.Struct cache_control = 29;
|
|
290
|
+
*/
|
|
291
|
+
cacheControl?: JsonObject | undefined;
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* Secret references interpolated into the outbound request. Resolved at
|
|
295
|
+
* dispatch via SecretsService; never stored in plaintext on this row.
|
|
296
|
+
*
|
|
297
|
+
* @generated from field: repeated operations.v1.SecretBinding secret_bindings = 31;
|
|
298
|
+
*/
|
|
299
|
+
secretBindings: SecretBinding[];
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* Outbound request shaping for QUERY / FIELD. Body defaults to the
|
|
303
|
+
* JSON-encoded input when unset.
|
|
304
|
+
*
|
|
305
|
+
* @generated from field: optional operations.v1.RequestTemplate request_template = 32;
|
|
306
|
+
*/
|
|
307
|
+
requestTemplate?: RequestTemplate | undefined;
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Optional jq program (gojq) applied to the upstream response before
|
|
311
|
+
* validation against output_schema. Empty = response used as-is. When
|
|
312
|
+
* set, replaces the legacy {success,result} unwrap heuristic. Guardrails:
|
|
313
|
+
* 4 KB program cap, 250 ms execution cap, 5 MB pre-transform size cap.
|
|
314
|
+
*
|
|
315
|
+
* @generated from field: optional string response_transform = 33;
|
|
316
|
+
*/
|
|
317
|
+
responseTransform?: string | undefined;
|
|
318
|
+
|
|
170
319
|
/**
|
|
171
320
|
* Attribution.
|
|
172
321
|
*
|
|
@@ -859,6 +1008,43 @@ export declare type CreateOperationRequest = Message<"operations.v1.CreateOperat
|
|
|
859
1008
|
* @generated from field: repeated string capabilities = 22;
|
|
860
1009
|
*/
|
|
861
1010
|
capabilities: string[];
|
|
1011
|
+
|
|
1012
|
+
/**
|
|
1013
|
+
* Resolver fields — see Operation for semantics.
|
|
1014
|
+
*
|
|
1015
|
+
* @generated from field: operations.v1.OperationKind kind = 23;
|
|
1016
|
+
*/
|
|
1017
|
+
kind: OperationKind;
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* @generated from field: optional string attached_to_model = 24;
|
|
1021
|
+
*/
|
|
1022
|
+
attachedToModel?: string | undefined;
|
|
1023
|
+
|
|
1024
|
+
/**
|
|
1025
|
+
* @generated from field: repeated string parent_fields = 25;
|
|
1026
|
+
*/
|
|
1027
|
+
parentFields: string[];
|
|
1028
|
+
|
|
1029
|
+
/**
|
|
1030
|
+
* @generated from field: optional google.protobuf.Struct cache_control = 26;
|
|
1031
|
+
*/
|
|
1032
|
+
cacheControl?: JsonObject | undefined;
|
|
1033
|
+
|
|
1034
|
+
/**
|
|
1035
|
+
* @generated from field: repeated operations.v1.SecretBinding secret_bindings = 27;
|
|
1036
|
+
*/
|
|
1037
|
+
secretBindings: SecretBinding[];
|
|
1038
|
+
|
|
1039
|
+
/**
|
|
1040
|
+
* @generated from field: optional operations.v1.RequestTemplate request_template = 28;
|
|
1041
|
+
*/
|
|
1042
|
+
requestTemplate?: RequestTemplate | undefined;
|
|
1043
|
+
|
|
1044
|
+
/**
|
|
1045
|
+
* @generated from field: optional string response_transform = 29;
|
|
1046
|
+
*/
|
|
1047
|
+
responseTransform?: string | undefined;
|
|
862
1048
|
};
|
|
863
1049
|
|
|
864
1050
|
/**
|
|
@@ -979,6 +1165,43 @@ export declare type UpdateOperationRequest = Message<"operations.v1.UpdateOperat
|
|
|
979
1165
|
* @generated from field: repeated string capabilities = 19;
|
|
980
1166
|
*/
|
|
981
1167
|
capabilities: string[];
|
|
1168
|
+
|
|
1169
|
+
/**
|
|
1170
|
+
* Resolver fields — see Operation for semantics. Absent = unchanged.
|
|
1171
|
+
*
|
|
1172
|
+
* @generated from field: optional operations.v1.OperationKind kind = 20;
|
|
1173
|
+
*/
|
|
1174
|
+
kind?: OperationKind | undefined;
|
|
1175
|
+
|
|
1176
|
+
/**
|
|
1177
|
+
* @generated from field: optional string attached_to_model = 21;
|
|
1178
|
+
*/
|
|
1179
|
+
attachedToModel?: string | undefined;
|
|
1180
|
+
|
|
1181
|
+
/**
|
|
1182
|
+
* @generated from field: repeated string parent_fields = 22;
|
|
1183
|
+
*/
|
|
1184
|
+
parentFields: string[];
|
|
1185
|
+
|
|
1186
|
+
/**
|
|
1187
|
+
* @generated from field: optional google.protobuf.Struct cache_control = 23;
|
|
1188
|
+
*/
|
|
1189
|
+
cacheControl?: JsonObject | undefined;
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* @generated from field: repeated operations.v1.SecretBinding secret_bindings = 24;
|
|
1193
|
+
*/
|
|
1194
|
+
secretBindings: SecretBinding[];
|
|
1195
|
+
|
|
1196
|
+
/**
|
|
1197
|
+
* @generated from field: optional operations.v1.RequestTemplate request_template = 25;
|
|
1198
|
+
*/
|
|
1199
|
+
requestTemplate?: RequestTemplate | undefined;
|
|
1200
|
+
|
|
1201
|
+
/**
|
|
1202
|
+
* @generated from field: optional string response_transform = 26;
|
|
1203
|
+
*/
|
|
1204
|
+
responseTransform?: string | undefined;
|
|
982
1205
|
};
|
|
983
1206
|
|
|
984
1207
|
/**
|
|
@@ -1142,6 +1365,166 @@ export declare type ExecuteOperationResponse = Message<"operations.v1.ExecuteOpe
|
|
|
1142
1365
|
*/
|
|
1143
1366
|
export declare const ExecuteOperationResponseSchema: GenMessage<ExecuteOperationResponse>;
|
|
1144
1367
|
|
|
1368
|
+
/**
|
|
1369
|
+
* One item in a resolver batch.
|
|
1370
|
+
*
|
|
1371
|
+
* @generated from message operations.v1.BatchItem
|
|
1372
|
+
*/
|
|
1373
|
+
export declare type BatchItem = Message<"operations.v1.BatchItem"> & {
|
|
1374
|
+
/**
|
|
1375
|
+
* Dataloader's canonical key; echoed back in BatchResult.key.
|
|
1376
|
+
*
|
|
1377
|
+
* @generated from field: string key = 1;
|
|
1378
|
+
*/
|
|
1379
|
+
key: string;
|
|
1380
|
+
|
|
1381
|
+
/**
|
|
1382
|
+
* @generated from field: optional google.protobuf.Struct input = 2;
|
|
1383
|
+
*/
|
|
1384
|
+
input?: JsonObject | undefined;
|
|
1385
|
+
|
|
1386
|
+
/**
|
|
1387
|
+
* KIND_FIELD parent_fields payload (parent:{...}).
|
|
1388
|
+
*
|
|
1389
|
+
* @generated from field: optional google.protobuf.Struct parent = 3;
|
|
1390
|
+
*/
|
|
1391
|
+
parent?: JsonObject | undefined;
|
|
1392
|
+
};
|
|
1393
|
+
|
|
1394
|
+
/**
|
|
1395
|
+
* Describes the message operations.v1.BatchItem.
|
|
1396
|
+
* Use `create(BatchItemSchema)` to create a new message.
|
|
1397
|
+
*/
|
|
1398
|
+
export declare const BatchItemSchema: GenMessage<BatchItem>;
|
|
1399
|
+
|
|
1400
|
+
/**
|
|
1401
|
+
* @generated from message operations.v1.BatchResult
|
|
1402
|
+
*/
|
|
1403
|
+
export declare type BatchResult = Message<"operations.v1.BatchResult"> & {
|
|
1404
|
+
/**
|
|
1405
|
+
* @generated from field: string key = 1;
|
|
1406
|
+
*/
|
|
1407
|
+
key: string;
|
|
1408
|
+
|
|
1409
|
+
/**
|
|
1410
|
+
* Null when this item failed.
|
|
1411
|
+
*
|
|
1412
|
+
* @generated from field: optional google.protobuf.Struct result = 2;
|
|
1413
|
+
*/
|
|
1414
|
+
result?: JsonObject | undefined;
|
|
1415
|
+
|
|
1416
|
+
/**
|
|
1417
|
+
* Per-item error, surfaced as a field error at that GraphQL position
|
|
1418
|
+
* only; the rest of the batch still returns.
|
|
1419
|
+
*
|
|
1420
|
+
* @generated from field: optional string error = 3;
|
|
1421
|
+
*/
|
|
1422
|
+
error?: string | undefined;
|
|
1423
|
+
};
|
|
1424
|
+
|
|
1425
|
+
/**
|
|
1426
|
+
* Describes the message operations.v1.BatchResult.
|
|
1427
|
+
* Use `create(BatchResultSchema)` to create a new message.
|
|
1428
|
+
*/
|
|
1429
|
+
export declare const BatchResultSchema: GenMessage<BatchResult>;
|
|
1430
|
+
|
|
1431
|
+
/**
|
|
1432
|
+
* @generated from message operations.v1.ResolveOperationBatchRequest
|
|
1433
|
+
*/
|
|
1434
|
+
export declare type ResolveOperationBatchRequest = Message<"operations.v1.ResolveOperationBatchRequest"> & {
|
|
1435
|
+
/**
|
|
1436
|
+
* @generated from field: string operation_key = 1;
|
|
1437
|
+
*/
|
|
1438
|
+
operationKey: string;
|
|
1439
|
+
|
|
1440
|
+
/**
|
|
1441
|
+
* @generated from field: repeated operations.v1.BatchItem items = 2;
|
|
1442
|
+
*/
|
|
1443
|
+
items: BatchItem[];
|
|
1444
|
+
|
|
1445
|
+
/**
|
|
1446
|
+
* @generated from field: optional string customer_id = 3;
|
|
1447
|
+
*/
|
|
1448
|
+
customerId?: string | undefined;
|
|
1449
|
+
};
|
|
1450
|
+
|
|
1451
|
+
/**
|
|
1452
|
+
* Describes the message operations.v1.ResolveOperationBatchRequest.
|
|
1453
|
+
* Use `create(ResolveOperationBatchRequestSchema)` to create a new message.
|
|
1454
|
+
*/
|
|
1455
|
+
export declare const ResolveOperationBatchRequestSchema: GenMessage<ResolveOperationBatchRequest>;
|
|
1456
|
+
|
|
1457
|
+
/**
|
|
1458
|
+
* @generated from message operations.v1.ResolveOperationBatchResponse
|
|
1459
|
+
*/
|
|
1460
|
+
export declare type ResolveOperationBatchResponse = Message<"operations.v1.ResolveOperationBatchResponse"> & {
|
|
1461
|
+
/**
|
|
1462
|
+
* @generated from field: repeated operations.v1.BatchResult results = 1;
|
|
1463
|
+
*/
|
|
1464
|
+
results: BatchResult[];
|
|
1465
|
+
};
|
|
1466
|
+
|
|
1467
|
+
/**
|
|
1468
|
+
* Describes the message operations.v1.ResolveOperationBatchResponse.
|
|
1469
|
+
* Use `create(ResolveOperationBatchResponseSchema)` to create a new message.
|
|
1470
|
+
*/
|
|
1471
|
+
export declare const ResolveOperationBatchResponseSchema: GenMessage<ResolveOperationBatchResponse>;
|
|
1472
|
+
|
|
1473
|
+
/**
|
|
1474
|
+
* Single-item convenience for KIND_QUERY (root, non-list). Shares the
|
|
1475
|
+
* batch handler internally.
|
|
1476
|
+
*
|
|
1477
|
+
* @generated from message operations.v1.ResolveOperationRequest
|
|
1478
|
+
*/
|
|
1479
|
+
export declare type ResolveOperationRequest = Message<"operations.v1.ResolveOperationRequest"> & {
|
|
1480
|
+
/**
|
|
1481
|
+
* @generated from field: string operation_key = 1;
|
|
1482
|
+
*/
|
|
1483
|
+
operationKey: string;
|
|
1484
|
+
|
|
1485
|
+
/**
|
|
1486
|
+
* @generated from field: optional google.protobuf.Struct input = 2;
|
|
1487
|
+
*/
|
|
1488
|
+
input?: JsonObject | undefined;
|
|
1489
|
+
|
|
1490
|
+
/**
|
|
1491
|
+
* @generated from field: optional google.protobuf.Struct parent = 3;
|
|
1492
|
+
*/
|
|
1493
|
+
parent?: JsonObject | undefined;
|
|
1494
|
+
|
|
1495
|
+
/**
|
|
1496
|
+
* @generated from field: optional string customer_id = 4;
|
|
1497
|
+
*/
|
|
1498
|
+
customerId?: string | undefined;
|
|
1499
|
+
};
|
|
1500
|
+
|
|
1501
|
+
/**
|
|
1502
|
+
* Describes the message operations.v1.ResolveOperationRequest.
|
|
1503
|
+
* Use `create(ResolveOperationRequestSchema)` to create a new message.
|
|
1504
|
+
*/
|
|
1505
|
+
export declare const ResolveOperationRequestSchema: GenMessage<ResolveOperationRequest>;
|
|
1506
|
+
|
|
1507
|
+
/**
|
|
1508
|
+
* @generated from message operations.v1.ResolveOperationResponse
|
|
1509
|
+
*/
|
|
1510
|
+
export declare type ResolveOperationResponse = Message<"operations.v1.ResolveOperationResponse"> & {
|
|
1511
|
+
/**
|
|
1512
|
+
* @generated from field: optional google.protobuf.Struct result = 1;
|
|
1513
|
+
*/
|
|
1514
|
+
result?: JsonObject | undefined;
|
|
1515
|
+
|
|
1516
|
+
/**
|
|
1517
|
+
* @generated from field: optional string error = 2;
|
|
1518
|
+
*/
|
|
1519
|
+
error?: string | undefined;
|
|
1520
|
+
};
|
|
1521
|
+
|
|
1522
|
+
/**
|
|
1523
|
+
* Describes the message operations.v1.ResolveOperationResponse.
|
|
1524
|
+
* Use `create(ResolveOperationResponseSchema)` to create a new message.
|
|
1525
|
+
*/
|
|
1526
|
+
export declare const ResolveOperationResponseSchema: GenMessage<ResolveOperationResponse>;
|
|
1527
|
+
|
|
1145
1528
|
/**
|
|
1146
1529
|
* @generated from message operations.v1.ListOperationExecutionsRequest
|
|
1147
1530
|
*/
|
|
@@ -2542,6 +2925,47 @@ export declare type CancelScheduledOperationPublishResponse = Message<"operation
|
|
|
2542
2925
|
*/
|
|
2543
2926
|
export declare const CancelScheduledOperationPublishResponseSchema: GenMessage<CancelScheduledOperationPublishResponse>;
|
|
2544
2927
|
|
|
2928
|
+
/**
|
|
2929
|
+
* OperationKind discriminates how an operation surfaces in the public
|
|
2930
|
+
* GraphQL schema and how it is dispatched.
|
|
2931
|
+
* MUTATION — existing behaviour: executeXxx root mutation, async-capable,
|
|
2932
|
+
* dispatched via the worker queue.
|
|
2933
|
+
* QUERY — root Query field, cacheable, dispatched synchronously
|
|
2934
|
+
* in-process via ResolveOperation.
|
|
2935
|
+
* FIELD — field on a model object type, cacheable, batched per request
|
|
2936
|
+
* via ResolveOperationBatch.
|
|
2937
|
+
* Rows written before this enum existed carry UNSPECIFIED; the platform
|
|
2938
|
+
* treats UNSPECIFIED as MUTATION for backwards-compatibility.
|
|
2939
|
+
*
|
|
2940
|
+
* @generated from enum operations.v1.OperationKind
|
|
2941
|
+
*/
|
|
2942
|
+
export enum OperationKind {
|
|
2943
|
+
/**
|
|
2944
|
+
* @generated from enum value: OPERATION_KIND_UNSPECIFIED = 0;
|
|
2945
|
+
*/
|
|
2946
|
+
UNSPECIFIED = 0,
|
|
2947
|
+
|
|
2948
|
+
/**
|
|
2949
|
+
* @generated from enum value: OPERATION_KIND_MUTATION = 1;
|
|
2950
|
+
*/
|
|
2951
|
+
MUTATION = 1,
|
|
2952
|
+
|
|
2953
|
+
/**
|
|
2954
|
+
* @generated from enum value: OPERATION_KIND_QUERY = 2;
|
|
2955
|
+
*/
|
|
2956
|
+
QUERY = 2,
|
|
2957
|
+
|
|
2958
|
+
/**
|
|
2959
|
+
* @generated from enum value: OPERATION_KIND_FIELD = 3;
|
|
2960
|
+
*/
|
|
2961
|
+
FIELD = 3,
|
|
2962
|
+
}
|
|
2963
|
+
|
|
2964
|
+
/**
|
|
2965
|
+
* Describes the enum operations.v1.OperationKind.
|
|
2966
|
+
*/
|
|
2967
|
+
export declare const OperationKindSchema: GenEnum<OperationKind>;
|
|
2968
|
+
|
|
2545
2969
|
/**
|
|
2546
2970
|
* Execution mode.
|
|
2547
2971
|
*
|
|
@@ -2625,6 +3049,25 @@ export declare const OperationsService: GenService<{
|
|
|
2625
3049
|
input: typeof ExecuteOperationRequestSchema;
|
|
2626
3050
|
output: typeof ExecuteOperationResponseSchema;
|
|
2627
3051
|
},
|
|
3052
|
+
/**
|
|
3053
|
+
* Synchronous in-process dispatch for KIND_QUERY / KIND_FIELD. No queue,
|
|
3054
|
+
* no execution row, no DLQ/watchdog. See message comments.
|
|
3055
|
+
*
|
|
3056
|
+
* @generated from rpc operations.v1.OperationsService.ResolveOperation
|
|
3057
|
+
*/
|
|
3058
|
+
resolveOperation: {
|
|
3059
|
+
methodKind: "unary";
|
|
3060
|
+
input: typeof ResolveOperationRequestSchema;
|
|
3061
|
+
output: typeof ResolveOperationResponseSchema;
|
|
3062
|
+
},
|
|
3063
|
+
/**
|
|
3064
|
+
* @generated from rpc operations.v1.OperationsService.ResolveOperationBatch
|
|
3065
|
+
*/
|
|
3066
|
+
resolveOperationBatch: {
|
|
3067
|
+
methodKind: "unary";
|
|
3068
|
+
input: typeof ResolveOperationBatchRequestSchema;
|
|
3069
|
+
output: typeof ResolveOperationBatchResponseSchema;
|
|
3070
|
+
},
|
|
2628
3071
|
/**
|
|
2629
3072
|
* @generated from rpc operations.v1.OperationsService.ListOperationExecutions
|
|
2630
3073
|
*/
|