@arcforges/api-client 1.0.0-ci.33.1 → 1.0.0-ci.330.1
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/NOTICE +56 -4
- package/README.md +9 -2
- package/build-identity.json +270 -0
- package/contracts.binpb +0 -0
- package/dist/gen/http.d.ts +31 -0
- package/dist/gen/http.js +34 -0
- package/dist/index.d.ts +10 -1
- package/dist/index.js +20 -2
- package/dist/shapes/gen/AndroidUpdate.d.ts +41 -0
- package/dist/shapes/gen/AndroidUpdate.js +620 -0
- package/dist/shapes/gen/BrowserAuthChallenge.d.ts +35 -0
- package/dist/shapes/gen/BrowserAuthChallenge.js +531 -0
- package/dist/shapes/gen/BrowserBeginAuthenticationRequest.d.ts +28 -0
- package/dist/shapes/gen/BrowserBeginAuthenticationRequest.js +384 -0
- package/dist/shapes/gen/BrowserBeginRecoveryRequest.d.ts +22 -0
- package/dist/shapes/gen/BrowserBeginRecoveryRequest.js +370 -0
- package/dist/shapes/gen/BrowserBeginStepUpRequest.d.ts +20 -0
- package/dist/shapes/gen/BrowserBeginStepUpRequest.js +279 -0
- package/dist/shapes/gen/BrowserBootstrapResponse.d.ts +37 -0
- package/dist/shapes/gen/BrowserBootstrapResponse.js +534 -0
- package/dist/shapes/gen/BrowserCompleteAuthenticationRequest.d.ts +45 -0
- package/dist/shapes/gen/BrowserCompleteAuthenticationRequest.js +564 -0
- package/dist/shapes/gen/BrowserCompleteEnrollmentRequest.d.ts +90 -0
- package/dist/shapes/gen/BrowserCompleteEnrollmentRequest.js +1145 -0
- package/dist/shapes/gen/BrowserCompleteRecoveryRequest.d.ts +22 -0
- package/dist/shapes/gen/BrowserCompleteRecoveryRequest.js +733 -0
- package/dist/shapes/gen/BrowserCompleteStepUpRequest.d.ts +20 -0
- package/dist/shapes/gen/BrowserCompleteStepUpRequest.js +564 -0
- package/dist/shapes/gen/BrowserOidcCallbackFailure.d.ts +20 -0
- package/dist/shapes/gen/BrowserOidcCallbackFailure.js +200 -0
- package/dist/shapes/gen/BrowserOidcCallbackSuccess.d.ts +19 -0
- package/dist/shapes/gen/BrowserOidcCallbackSuccess.js +185 -0
- package/dist/shapes/gen/BrowserReceipt.d.ts +20 -0
- package/dist/shapes/gen/BrowserReceipt.js +285 -0
- package/dist/shapes/gen/BrowserSessionRoutes.d.ts +17 -0
- package/dist/shapes/gen/BrowserSessionRoutes.js +13 -0
- package/dist/shapes/gen/BrowserSessionView.d.ts +25 -0
- package/dist/shapes/gen/BrowserSessionView.js +388 -0
- package/dist/shapes/gen/BrowserStepUpEvidence.d.ts +19 -0
- package/dist/shapes/gen/BrowserStepUpEvidence.js +266 -0
- package/dist/shapes/gen/CatalogIndex.d.ts +49 -0
- package/dist/shapes/gen/CatalogIndex.js +703 -0
- package/dist/shapes/gen/CatalogRevocations.d.ts +46 -0
- package/dist/shapes/gen/CatalogRevocations.js +647 -0
- package/dist/shapes/gen/DeclarativePanel.d.ts +154 -0
- package/dist/shapes/gen/DeclarativePanel.js +2988 -0
- package/dist/shapes/gen/ExtensionManifest.d.ts +278 -0
- package/dist/shapes/gen/ExtensionManifest.js +3974 -0
- package/dist/shapes/gen/ExtensionWorkflow.d.ts +151 -0
- package/dist/shapes/gen/ExtensionWorkflow.js +2251 -0
- package/dist/shapes/gen/NativeAuthRoutes.d.ts +17 -0
- package/dist/shapes/gen/NativeAuthRoutes.js +5 -0
- package/dist/shapes/gen/NativeAuthorizeCallbackFailure.d.ts +19 -0
- package/dist/shapes/gen/NativeAuthorizeCallbackFailure.js +185 -0
- package/dist/shapes/gen/NativeAuthorizeCallbackSuccess.d.ts +19 -0
- package/dist/shapes/gen/NativeAuthorizeCallbackSuccess.js +185 -0
- package/dist/shapes/gen/NativeAuthorizeRequest.d.ts +24 -0
- package/dist/shapes/gen/NativeAuthorizeRequest.js +271 -0
- package/dist/shapes/gen/NativeTokenRequest.d.ts +23 -0
- package/dist/shapes/gen/NativeTokenRequest.js +258 -0
- package/dist/shapes/gen/NativeTokenResponse.d.ts +40 -0
- package/dist/shapes/gen/NativeTokenResponse.js +572 -0
- package/dist/shapes/gen/PackageInventory.d.ts +24 -0
- package/dist/shapes/gen/PackageInventory.js +327 -0
- package/dist/shapes/gen/PartReceipt.d.ts +21 -0
- package/dist/shapes/gen/PartReceipt.js +290 -0
- package/dist/shapes/gen/PolicyBody.d.ts +269 -0
- package/dist/shapes/gen/PolicyBody.js +4188 -0
- package/dist/shapes/gen/RealmDescriptor.d.ts +39 -0
- package/dist/shapes/gen/RealmDescriptor.js +627 -0
- package/package.json +14 -6
- package/sbom.cdx.json +9 -9
- package/schemas/public/http/v1/browser.schema.json +1300 -0
- package/schemas/public/http/v1/inventory.schema.json +49 -0
- package/schemas/public/http/v1/manifest.schema.json +1459 -0
- package/schemas/public/http/v1/native-auth.schema.json +341 -0
- package/schemas/public/http/v1/panel.schema.json +963 -0
- package/schemas/public/http/v1/policy-body.schema.json +1376 -0
- package/schemas/public/http/v1/schema.json +30 -0
- package/schemas/public/http/v1/signed-formats.schema.json +748 -0
- package/schemas/public/http/v1/workflow.schema.json +715 -0
- package/schemas/public/proto/arcforges/catalog/v1/catalog.proto +204 -0
- package/schemas/public/proto/arcforges/events/v1/events.proto +343 -0
- package/schemas/public/proto/arcforges/foundation/v1/foundation.proto +384 -0
- package/schemas/public/proto/arcforges/hello/v1/hello.proto +23 -0
- package/schemas/public/proto/arcforges/publicapi/v1/application.proto +297 -0
- package/schemas/public/proto/arcforges/publicapi/v1/chat.proto +1507 -0
- package/schemas/public/proto/arcforges/publicapi/v1/commerce.proto +542 -0
- package/schemas/public/proto/arcforges/publicapi/v1/connector.proto +172 -0
- package/schemas/public/proto/arcforges/publicapi/v1/content.proto +813 -0
- package/schemas/public/proto/arcforges/publicapi/v1/descriptors.proto +27 -0
- package/schemas/public/proto/arcforges/publicapi/v1/export.proto +112 -0
- package/schemas/public/proto/arcforges/publicapi/v1/identity.proto +1350 -0
- package/schemas/public/proto/arcforges/publicapi/v1/inprocess-values.proto +134 -0
- package/schemas/public/proto/arcforges/publicapi/v1/scope.proto +81 -0
- package/schemas/public/proto/arcforges/publicapi/v1/support.proto +242 -0
- package/schemas/public/proto/arcforges/publicapi/v1/sync.proto +459 -0
- package/schemas/public/proto/arcforges/publicapi/v1/transfer.proto +190 -0
- package/schemas/public/proto/arcforges/simulation/v1/simulation.proto +457 -0
- package/source.json +50 -11
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
package arcforges.publicapi.v1;
|
|
4
|
+
|
|
5
|
+
import "arcforges/foundation/v1/foundation.proto";
|
|
6
|
+
|
|
7
|
+
option csharp_namespace = "ArcForges.Contracts.PublicApi.V1";
|
|
8
|
+
option java_package = "io.github.arcforges.contracts.publicapi.v1";
|
|
9
|
+
option java_multiple_files = true;
|
|
10
|
+
option java_outer_classname = "ConnectorProto";
|
|
11
|
+
|
|
12
|
+
// Owner-managed connector definitions and connections (registry04 sections 4-5). The records are public
|
|
13
|
+
// projections authored here because a public proto never imports local schema (registry04 section 10); they
|
|
14
|
+
// are kept in exact shape parity with the local ConnectorBrokerService twins by a test. Begin, Complete and
|
|
15
|
+
// Revoke are foreground-human operations (step-up for new secret authority); Complete is non-idempotent and a
|
|
16
|
+
// lost response is reconciled with Get; Revoke uses RequestMeta.expectedRev. ConnectorProof is secret input
|
|
17
|
+
// and appears in no telemetry, log or error. No runtime implementation is authored here.
|
|
18
|
+
service ConnectorService {
|
|
19
|
+
rpc ListDefinitions(ConnectorServiceListDefinitionsRequest) returns (ConnectorServiceListDefinitionsResponse);
|
|
20
|
+
rpc ListConnections(ConnectorServiceListConnectionsRequest) returns (ConnectorServiceListConnectionsResponse);
|
|
21
|
+
rpc BeginConnection(ConnectorServiceBeginConnectionRequest) returns (ConnectorServiceBeginConnectionResponse);
|
|
22
|
+
rpc CompleteConnection(ConnectorServiceCompleteConnectionRequest) returns (ConnectorServiceCompleteConnectionResponse);
|
|
23
|
+
rpc GetConnection(ConnectorServiceGetConnectionRequest) returns (ConnectorServiceGetConnectionResponse);
|
|
24
|
+
rpc RevokeConnection(ConnectorServiceRevokeConnectionRequest) returns (ConnectorServiceRevokeConnectionResponse);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// Public projections contain no tokens or secret references. The owner verifies definition-hash-bound
|
|
28
|
+
// origins/scopes and current foreground consent.
|
|
29
|
+
message ConnectorDefinition {
|
|
30
|
+
optional string definition_id = 1 [json_name = "definitionId"];
|
|
31
|
+
optional string package_id = 2 [json_name = "packageId"];
|
|
32
|
+
optional string package_version = 3 [json_name = "packageVersion"];
|
|
33
|
+
optional string manifest_hash = 4 [json_name = "manifestHash"];
|
|
34
|
+
optional string auth_kind = 5 [json_name = "authKind"];
|
|
35
|
+
repeated string origins = 6 [json_name = "origins"];
|
|
36
|
+
repeated string scopes = 7 [json_name = "scopes"];
|
|
37
|
+
repeated string capabilities = 8 [json_name = "capabilities"];
|
|
38
|
+
}
|
|
39
|
+
message ConnectorConnection {
|
|
40
|
+
arcforges.foundation.v1.Id connection_id = 1 [json_name = "connectionId"];
|
|
41
|
+
optional string definition_id = 2 [json_name = "definitionId"];
|
|
42
|
+
optional string name = 3 [json_name = "name"];
|
|
43
|
+
optional string state = 4 [json_name = "state"];
|
|
44
|
+
repeated string scopes = 5 [json_name = "scopes"];
|
|
45
|
+
arcforges.foundation.v1.Revision revision = 6 [json_name = "revision"];
|
|
46
|
+
arcforges.foundation.v1.Instant expires_at = 7 [json_name = "expiresAt"];
|
|
47
|
+
optional string reason = 8 [json_name = "reason"];
|
|
48
|
+
}
|
|
49
|
+
message ConnectorChallenge {
|
|
50
|
+
arcforges.foundation.v1.Id flow_id = 1 [json_name = "flowId"];
|
|
51
|
+
arcforges.foundation.v1.Id connection_id = 2 [json_name = "connectionId"];
|
|
52
|
+
optional string authorization_url = 3 [json_name = "authorizationUrl"];
|
|
53
|
+
arcforges.foundation.v1.Instant expires_at = 4 [json_name = "expiresAt"];
|
|
54
|
+
}
|
|
55
|
+
// Secret input is delivered only to the owning secret boundary. Never log it, include it in public
|
|
56
|
+
// projections, or persist it outside the encrypted store.
|
|
57
|
+
message ConnectorProof {
|
|
58
|
+
oneof proof {
|
|
59
|
+
string callback_receipt = 1 [json_name = "callbackReceipt"];
|
|
60
|
+
string personal_token = 2 [json_name = "personalToken"];
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
message ConnectorServiceListDefinitionsRequest {
|
|
65
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
66
|
+
reserved 2 to 9;
|
|
67
|
+
arcforges.foundation.v1.PageRequest page = 10 [json_name = "page"];
|
|
68
|
+
}
|
|
69
|
+
message ConnectorServiceListDefinitionsResponse {
|
|
70
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
71
|
+
oneof outcome {
|
|
72
|
+
ConnectorServiceListDefinitionsValue value = 2 [json_name = "value"];
|
|
73
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
74
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
75
|
+
}
|
|
76
|
+
reserved 5 to 9;
|
|
77
|
+
}
|
|
78
|
+
message ConnectorServiceListDefinitionsValue {
|
|
79
|
+
repeated ConnectorDefinition items = 10 [json_name = "items"];
|
|
80
|
+
arcforges.foundation.v1.PageState page = 11 [json_name = "page"];
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
message ConnectorServiceListConnectionsRequest {
|
|
84
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
85
|
+
reserved 2 to 9;
|
|
86
|
+
arcforges.foundation.v1.PageRequest page = 10 [json_name = "page"];
|
|
87
|
+
}
|
|
88
|
+
message ConnectorServiceListConnectionsResponse {
|
|
89
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
90
|
+
oneof outcome {
|
|
91
|
+
ConnectorServiceListConnectionsValue value = 2 [json_name = "value"];
|
|
92
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
93
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
94
|
+
}
|
|
95
|
+
reserved 5 to 9;
|
|
96
|
+
}
|
|
97
|
+
message ConnectorServiceListConnectionsValue {
|
|
98
|
+
repeated ConnectorConnection items = 10 [json_name = "items"];
|
|
99
|
+
arcforges.foundation.v1.PageState page = 11 [json_name = "page"];
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
message ConnectorServiceBeginConnectionRequest {
|
|
103
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
104
|
+
reserved 2 to 9;
|
|
105
|
+
arcforges.foundation.v1.Id connection_id = 10 [json_name = "connectionId"];
|
|
106
|
+
optional string definition_id = 11 [json_name = "definitionId"];
|
|
107
|
+
optional string name = 12 [json_name = "name"];
|
|
108
|
+
}
|
|
109
|
+
message ConnectorServiceBeginConnectionResponse {
|
|
110
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
111
|
+
oneof outcome {
|
|
112
|
+
ConnectorServiceBeginConnectionValue value = 2 [json_name = "value"];
|
|
113
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
114
|
+
}
|
|
115
|
+
reserved 4 to 9;
|
|
116
|
+
}
|
|
117
|
+
message ConnectorServiceBeginConnectionValue {
|
|
118
|
+
ConnectorChallenge challenge = 10 [json_name = "challenge"];
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
message ConnectorServiceCompleteConnectionRequest {
|
|
122
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
123
|
+
reserved 2 to 9;
|
|
124
|
+
arcforges.foundation.v1.Id flow_id = 10 [json_name = "flowId"];
|
|
125
|
+
ConnectorProof proof = 11 [json_name = "proof"];
|
|
126
|
+
}
|
|
127
|
+
message ConnectorServiceCompleteConnectionResponse {
|
|
128
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
129
|
+
oneof outcome {
|
|
130
|
+
ConnectorServiceCompleteConnectionValue value = 2 [json_name = "value"];
|
|
131
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
132
|
+
}
|
|
133
|
+
reserved 4 to 9;
|
|
134
|
+
}
|
|
135
|
+
message ConnectorServiceCompleteConnectionValue {
|
|
136
|
+
ConnectorConnection connection = 10 [json_name = "connection"];
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
message ConnectorServiceGetConnectionRequest {
|
|
140
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
141
|
+
reserved 2 to 9;
|
|
142
|
+
arcforges.foundation.v1.Id connection_id = 10 [json_name = "connectionId"];
|
|
143
|
+
}
|
|
144
|
+
message ConnectorServiceGetConnectionResponse {
|
|
145
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
146
|
+
oneof outcome {
|
|
147
|
+
ConnectorServiceGetConnectionValue value = 2 [json_name = "value"];
|
|
148
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
149
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
150
|
+
}
|
|
151
|
+
reserved 5 to 9;
|
|
152
|
+
}
|
|
153
|
+
message ConnectorServiceGetConnectionValue {
|
|
154
|
+
ConnectorConnection connection = 10 [json_name = "connection"];
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
message ConnectorServiceRevokeConnectionRequest {
|
|
158
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
159
|
+
reserved 2 to 9;
|
|
160
|
+
arcforges.foundation.v1.Id connection_id = 10 [json_name = "connectionId"];
|
|
161
|
+
}
|
|
162
|
+
message ConnectorServiceRevokeConnectionResponse {
|
|
163
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
164
|
+
oneof outcome {
|
|
165
|
+
ConnectorServiceRevokeConnectionValue value = 2 [json_name = "value"];
|
|
166
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
167
|
+
}
|
|
168
|
+
reserved 4 to 9;
|
|
169
|
+
}
|
|
170
|
+
message ConnectorServiceRevokeConnectionValue {
|
|
171
|
+
ConnectorConnection connection = 10 [json_name = "connection"];
|
|
172
|
+
}
|