@arcforges/operator-client 1.0.0-ci.258.1 → 1.0.0-ci.264.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 +5 -5
- package/build-identity.json +33 -16
- package/contracts.binpb +0 -0
- package/package.json +2 -2
- package/sbom.cdx.json +9 -9
- package/schemas/public/proto/arcforges/publicapi/v1/content.proto +20 -2
- package/schemas/public/proto/arcforges/publicapi/v1/export.proto +112 -0
- package/schemas/public/proto/arcforges/publicapi/v1/support.proto +242 -0
- package/schemas/public/proto/arcforges/simulation/v1/simulation.proto +413 -0
- package/source.json +8 -5
package/NOTICE
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
ArcForges Contracts
|
|
2
2
|
Copyright 2026 ArcForges contributors
|
|
3
3
|
|
|
4
|
-
@arcforges/operator-client 1.0.0-ci.
|
|
4
|
+
@arcforges/operator-client 1.0.0-ci.264.1 (Apache-2.0)
|
|
5
5
|
|
|
6
6
|
Resolved runtime dependency inventory (dependencies retain their own licences):
|
|
7
|
-
- @arcforges/proto 1.0.0-ci.
|
|
7
|
+
- @arcforges/proto 1.0.0-ci.264.1: Apache-2.0 (pkg:npm/%40arcforges/proto@1.0.0-ci.264.1)
|
|
8
8
|
- @bufbuild/protobuf 2.15.0: (Apache-2.0 AND BSD-3-Clause) (pkg:npm/%40bufbuild/protobuf@2.15.0)
|
|
9
9
|
|
|
10
10
|
Third-party dependencies are referenced, not vendored into this package. Installed dependencies supply their original licence and notice files.
|
|
@@ -13,8 +13,8 @@ ArcForges source provenance notices
|
|
|
13
13
|
|
|
14
14
|
Generated from reviewed active records. Original licence files and dependency notices remain authoritative.
|
|
15
15
|
|
|
16
|
-
contract-bindings-con-
|
|
17
|
-
Source: https://github.com/ArcForges/Contracts @
|
|
16
|
+
contract-bindings-con-21-r1
|
|
17
|
+
Source: https://github.com/ArcForges/Contracts @ 6dcacfa832540eab1aed9f189eb39c934052ee18
|
|
18
18
|
Material licence: Apache-2.0
|
|
19
19
|
Notice scope: packages
|
|
20
20
|
Copyright 2026 ArcForges contributors.
|
|
@@ -22,7 +22,7 @@ Copyright 2008 Google Inc. All rights reserved.
|
|
|
22
22
|
Copyright 2015, 2019, 2020 gRPC authors.
|
|
23
23
|
Copyright 2021-2026 Buf Technologies, Inc.
|
|
24
24
|
Copyright 2022-2026 The Connect Authors.
|
|
25
|
-
|
|
25
|
+
Generated Contracts source remains Apache-2.0. CON.21 adds only the authorized Simulation contract schemas, generated public outputs, and declarative constraint/fixture evidence; it adds no third-party package or simulator runtime implementation.
|
|
26
26
|
|
|
27
27
|
protobuf-generator-licence-r1
|
|
28
28
|
Source: https://github.com/protocolbuffers/protobuf @ 35cd01f9fe9afbeea38cc7b979a3b6bfcde82c03
|
package/build-identity.json
CHANGED
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
"owner": "Contracts",
|
|
4
4
|
"artifact": {
|
|
5
5
|
"id": "@arcforges/operator-client",
|
|
6
|
-
"version": "1.0.0-ci.
|
|
6
|
+
"version": "1.0.0-ci.264.1"
|
|
7
7
|
},
|
|
8
8
|
"build": {
|
|
9
|
-
"sourceCommit": "
|
|
9
|
+
"sourceCommit": "1d17838dd6bb30f89ffbfb9a26ce311f6c742d34",
|
|
10
10
|
"dirty": false,
|
|
11
11
|
"kind": "ci",
|
|
12
|
-
"buildId": "
|
|
13
|
-
"runId": "
|
|
12
|
+
"buildId": "36706813846.1",
|
|
13
|
+
"runId": "36706813846",
|
|
14
14
|
"runAttempt": 1,
|
|
15
|
-
"pipelineRun": "https://github.com/ArcForges/Contracts/actions/runs/
|
|
16
|
-
"sourceDateEpoch":
|
|
15
|
+
"pipelineRun": "https://github.com/ArcForges/Contracts/actions/runs/36706813846",
|
|
16
|
+
"sourceDateEpoch": 1790766578
|
|
17
17
|
},
|
|
18
18
|
"axes": {
|
|
19
19
|
"AppVersion": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"path": "public/proto/arcforges/catalog/v1/catalog.proto",
|
|
31
31
|
"sha256": "ff77d24be445e107d4fb4a0b3f7fd6b205664317e856a3696e471be1a18f0828"
|
|
32
32
|
},
|
|
33
|
-
"descriptorSha256": "
|
|
33
|
+
"descriptorSha256": "e431d41fee352e2d78835ab7a42ad23a77489af01c62ede91eabef2263814a91"
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"subject": "arcforges.events",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"path": "public/proto/arcforges/events/v1/events.proto",
|
|
40
40
|
"sha256": "ea0ac740c06bbb5b81724b4a7e601110424cabc4940b07e579cf97d852880f43"
|
|
41
41
|
},
|
|
42
|
-
"descriptorSha256": "
|
|
42
|
+
"descriptorSha256": "e431d41fee352e2d78835ab7a42ad23a77489af01c62ede91eabef2263814a91"
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
"subject": "arcforges.foundation",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"path": "public/proto/arcforges/foundation/v1/foundation.proto",
|
|
49
49
|
"sha256": "e7e634103664dcca4c63383dd0eda5d90b408edb4786bfdf4a148856fed92736"
|
|
50
50
|
},
|
|
51
|
-
"descriptorSha256": "
|
|
51
|
+
"descriptorSha256": "e431d41fee352e2d78835ab7a42ad23a77489af01c62ede91eabef2263814a91"
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
"subject": "arcforges.hello",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"path": "public/proto/arcforges/hello/v1/hello.proto",
|
|
58
58
|
"sha256": "92489f89d1898a3d3bbea56c72116416cd0152ae8866c98745739437020c67d9"
|
|
59
59
|
},
|
|
60
|
-
"descriptorSha256": "
|
|
60
|
+
"descriptorSha256": "e431d41fee352e2d78835ab7a42ad23a77489af01c62ede91eabef2263814a91"
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
"subject": "arcforges.operator",
|
|
@@ -66,12 +66,12 @@
|
|
|
66
66
|
"path": "internal/proto/arcforges/operator/v1/operator.proto",
|
|
67
67
|
"sha256": "30e9f7ef3124839417839a25f7be2a43a954947d688387cea4faff09ddcf66e8"
|
|
68
68
|
},
|
|
69
|
-
"descriptorSha256": "
|
|
69
|
+
"descriptorSha256": "e431d41fee352e2d78835ab7a42ad23a77489af01c62ede91eabef2263814a91"
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
"subject": "arcforges.publicapi",
|
|
73
73
|
"version": "1",
|
|
74
|
-
"descriptorSha256": "
|
|
74
|
+
"descriptorSha256": "e431d41fee352e2d78835ab7a42ad23a77489af01c62ede91eabef2263814a91",
|
|
75
75
|
"sources": [
|
|
76
76
|
{
|
|
77
77
|
"path": "public/proto/arcforges/publicapi/v1/chat.proto",
|
|
@@ -83,16 +83,24 @@
|
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
85
|
"path": "public/proto/arcforges/publicapi/v1/content.proto",
|
|
86
|
-
"sha256": "
|
|
86
|
+
"sha256": "5d6c638b72c4577b2a5cd4450276b4ed39153299a1e91f076c40764b8984d398"
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
"path": "public/proto/arcforges/publicapi/v1/descriptors.proto",
|
|
90
90
|
"sha256": "d8a43c27fd345d55786a67ce9776efa0b4bc089f57361c3e532dd1b5f9326161"
|
|
91
91
|
},
|
|
92
|
+
{
|
|
93
|
+
"path": "public/proto/arcforges/publicapi/v1/export.proto",
|
|
94
|
+
"sha256": "585aa18d6ca428c497ee2eb18ada15868dd78db3fde13077ebd7f0be664c2ae6"
|
|
95
|
+
},
|
|
92
96
|
{
|
|
93
97
|
"path": "public/proto/arcforges/publicapi/v1/inprocess-values.proto",
|
|
94
98
|
"sha256": "24921ae4f54f48800ea1201a9eee27a4e23a476b738cc3903665dff137a10eea"
|
|
95
99
|
},
|
|
100
|
+
{
|
|
101
|
+
"path": "public/proto/arcforges/publicapi/v1/support.proto",
|
|
102
|
+
"sha256": "9ba36c44a6682bb954e023ba5fe06ad46bfc647b59e84abe202f8c610cbcd541"
|
|
103
|
+
},
|
|
96
104
|
{
|
|
97
105
|
"path": "public/proto/arcforges/publicapi/v1/sync.proto",
|
|
98
106
|
"sha256": "2e7861c2cbb6d55aa36c9703b4409f3149365f2f1f53741f2dce3f0589cb84d6"
|
|
@@ -102,6 +110,15 @@
|
|
|
102
110
|
"sha256": "f7d53346a43cd977224154b33d8f1f3f3f4b973c67e513caf384b195654abc0e"
|
|
103
111
|
}
|
|
104
112
|
]
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"subject": "arcforges.simulation",
|
|
116
|
+
"version": "1",
|
|
117
|
+
"source": {
|
|
118
|
+
"path": "public/proto/arcforges/simulation/v1/simulation.proto",
|
|
119
|
+
"sha256": "6be3a09a0ae9f2f28f2cfec9c5a762d0b1d11519336109fd842b14537e53faf7"
|
|
120
|
+
},
|
|
121
|
+
"descriptorSha256": "e431d41fee352e2d78835ab7a42ad23a77489af01c62ede91eabef2263814a91"
|
|
105
122
|
}
|
|
106
123
|
]
|
|
107
124
|
},
|
|
@@ -138,10 +155,10 @@
|
|
|
138
155
|
"values": [
|
|
139
156
|
{
|
|
140
157
|
"subject": "pkg:npm/%40arcforges/proto",
|
|
141
|
-
"version": "1.0.0-ci.
|
|
158
|
+
"version": "1.0.0-ci.264.1",
|
|
142
159
|
"source": {
|
|
143
160
|
"path": "sbom.cdx.json#components",
|
|
144
|
-
"sha256": "
|
|
161
|
+
"sha256": "cba2000dc3ca1618a6b43551aa747d715a23bad9d9aa5e323b850785d6b0efd1"
|
|
145
162
|
}
|
|
146
163
|
},
|
|
147
164
|
{
|
|
@@ -149,7 +166,7 @@
|
|
|
149
166
|
"version": "2.15.0",
|
|
150
167
|
"source": {
|
|
151
168
|
"path": "sbom.cdx.json#components",
|
|
152
|
-
"sha256": "
|
|
169
|
+
"sha256": "cba2000dc3ca1618a6b43551aa747d715a23bad9d9aa5e323b850785d6b0efd1"
|
|
153
170
|
}
|
|
154
171
|
}
|
|
155
172
|
]
|
package/contracts.binpb
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcforges/operator-client",
|
|
3
|
-
"version": "1.0.0-ci.
|
|
3
|
+
"version": "1.0.0-ci.264.1",
|
|
4
4
|
"description": "Internal operator protobuf records; Operations-only import boundary.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"source.json"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@arcforges/proto": "1.0.0-ci.
|
|
37
|
+
"@arcforges/proto": "1.0.0-ci.264.1",
|
|
38
38
|
"@bufbuild/protobuf": "2.15.0"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
package/sbom.cdx.json
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
"metadata": {
|
|
6
6
|
"component": {
|
|
7
7
|
"type": "library",
|
|
8
|
-
"bom-ref": "pkg:npm/%40arcforges/operator-client@1.0.0-ci.
|
|
8
|
+
"bom-ref": "pkg:npm/%40arcforges/operator-client@1.0.0-ci.264.1",
|
|
9
9
|
"name": "@arcforges/operator-client",
|
|
10
|
-
"version": "1.0.0-ci.
|
|
11
|
-
"purl": "pkg:npm/%40arcforges/operator-client@1.0.0-ci.
|
|
10
|
+
"version": "1.0.0-ci.264.1",
|
|
11
|
+
"purl": "pkg:npm/%40arcforges/operator-client@1.0.0-ci.264.1",
|
|
12
12
|
"licenses": [
|
|
13
13
|
{
|
|
14
14
|
"expression": "Apache-2.0"
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"components": [
|
|
20
20
|
{
|
|
21
21
|
"type": "library",
|
|
22
|
-
"bom-ref": "pkg:npm/%40arcforges/proto@1.0.0-ci.
|
|
22
|
+
"bom-ref": "pkg:npm/%40arcforges/proto@1.0.0-ci.264.1",
|
|
23
23
|
"name": "@arcforges/proto",
|
|
24
|
-
"version": "1.0.0-ci.
|
|
25
|
-
"purl": "pkg:npm/%40arcforges/proto@1.0.0-ci.
|
|
24
|
+
"version": "1.0.0-ci.264.1",
|
|
25
|
+
"purl": "pkg:npm/%40arcforges/proto@1.0.0-ci.264.1",
|
|
26
26
|
"licenses": [
|
|
27
27
|
{
|
|
28
28
|
"expression": "Apache-2.0"
|
|
@@ -48,15 +48,15 @@
|
|
|
48
48
|
"dependsOn": []
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
|
-
"ref": "pkg:npm/%40arcforges/proto@1.0.0-ci.
|
|
51
|
+
"ref": "pkg:npm/%40arcforges/proto@1.0.0-ci.264.1",
|
|
52
52
|
"dependsOn": [
|
|
53
53
|
"pkg:npm/%40bufbuild/protobuf@2.15.0"
|
|
54
54
|
]
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
|
-
"ref": "pkg:npm/%40arcforges/operator-client@1.0.0-ci.
|
|
57
|
+
"ref": "pkg:npm/%40arcforges/operator-client@1.0.0-ci.264.1",
|
|
58
58
|
"dependsOn": [
|
|
59
|
-
"pkg:npm/%40arcforges/proto@1.0.0-ci.
|
|
59
|
+
"pkg:npm/%40arcforges/proto@1.0.0-ci.264.1",
|
|
60
60
|
"pkg:npm/%40bufbuild/protobuf@2.15.0"
|
|
61
61
|
]
|
|
62
62
|
}
|
|
@@ -641,9 +641,27 @@ message SkillRecord {
|
|
|
641
641
|
optional bool enabled = 7 [json_name = "enabled"];
|
|
642
642
|
}
|
|
643
643
|
|
|
644
|
+
// registry04: SupportCase; canonical public owner projection, also consumed by
|
|
645
|
+
// the separate internal operator projection. Public paging remains owner-defined.
|
|
646
|
+
message SupportCase {
|
|
647
|
+
arcforges.foundation.v1.Id case_id = 1 [json_name = "caseId"];
|
|
648
|
+
optional string subject = 2 [json_name = "subject"];
|
|
649
|
+
optional string state = 3 [json_name = "state"];
|
|
650
|
+
repeated SupportMessage messages = 4 [json_name = "messages"];
|
|
651
|
+
arcforges.foundation.v1.Revision revision = 5 [json_name = "revision"];
|
|
652
|
+
optional string category = 6 [json_name = "category"];
|
|
653
|
+
arcforges.foundation.v1.Id related_action_id = 7 [json_name = "relatedActionId"];
|
|
654
|
+
arcforges.foundation.v1.PageState message_page = 8 [json_name = "messagePage"];
|
|
655
|
+
}
|
|
644
656
|
|
|
645
|
-
|
|
646
|
-
|
|
657
|
+
// registry04: SupportMessage; canonical public owner projection.
|
|
658
|
+
message SupportMessage {
|
|
659
|
+
arcforges.foundation.v1.Id message_id = 1 [json_name = "messageId"];
|
|
660
|
+
optional string actor_kind = 2 [json_name = "actorKind"];
|
|
661
|
+
optional string text = 3 [json_name = "text"];
|
|
662
|
+
arcforges.foundation.v1.Instant created_at = 4 [json_name = "createdAt"];
|
|
663
|
+
arcforges.foundation.v1.ResourceRef diagnostic = 5 [json_name = "diagnostic"];
|
|
664
|
+
}
|
|
647
665
|
|
|
648
666
|
// registry04: SourceConsentRef; complete selected WP03.01 projection.
|
|
649
667
|
message SourceConsentRef {
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
|
|
4
|
+
package arcforges.publicapi.v1;
|
|
5
|
+
|
|
6
|
+
import "arcforges/foundation/v1/foundation.proto";
|
|
7
|
+
import "arcforges/publicapi/v1/commerce.proto";
|
|
8
|
+
|
|
9
|
+
option csharp_namespace = "ArcForges.Contracts.PublicApi.V1";
|
|
10
|
+
option java_package = "io.github.arcforges.contracts.publicapi.v1";
|
|
11
|
+
option java_multiple_files = true;
|
|
12
|
+
option java_outer_classname = "ExportProto";
|
|
13
|
+
|
|
14
|
+
// Export request/status transport projections reuse the canonical commerce
|
|
15
|
+
// ExportJob and Foundation TransferTicket records.
|
|
16
|
+
service DataService {
|
|
17
|
+
rpc RequestExport(DataServiceRequestExportRequest) returns (DataServiceRequestExportResponse);
|
|
18
|
+
rpc GetExportState(DataServiceGetExportStateRequest) returns (DataServiceGetExportStateResponse);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
service ExportService {
|
|
22
|
+
rpc GetStatus(ExportServiceGetStatusRequest) returns (ExportServiceGetStatusResponse);
|
|
23
|
+
rpc Cancel(ExportServiceCancelRequest) returns (ExportServiceCancelResponse);
|
|
24
|
+
rpc GetDownload(ExportServiceGetDownloadRequest) returns (ExportServiceGetDownloadResponse);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
message DataServiceRequestExportRequest {
|
|
28
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
29
|
+
reserved 2 to 9;
|
|
30
|
+
arcforges.foundation.v1.Id export_id = 10 [json_name = "exportId"];
|
|
31
|
+
}
|
|
32
|
+
message DataServiceRequestExportValue {
|
|
33
|
+
ExportJob job = 10 [json_name = "job"];
|
|
34
|
+
}
|
|
35
|
+
message DataServiceRequestExportResponse {
|
|
36
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
37
|
+
oneof outcome {
|
|
38
|
+
DataServiceRequestExportValue value = 2 [json_name = "value"];
|
|
39
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
40
|
+
}
|
|
41
|
+
reserved 4 to 9;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
message DataServiceGetExportStateRequest {
|
|
45
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
46
|
+
reserved 2 to 9;
|
|
47
|
+
arcforges.foundation.v1.Id export_id = 10 [json_name = "exportId"];
|
|
48
|
+
}
|
|
49
|
+
message DataServiceGetExportStateValue {
|
|
50
|
+
ExportJob job = 10 [json_name = "job"];
|
|
51
|
+
}
|
|
52
|
+
message DataServiceGetExportStateResponse {
|
|
53
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
54
|
+
oneof outcome {
|
|
55
|
+
DataServiceGetExportStateValue value = 2 [json_name = "value"];
|
|
56
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
57
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
58
|
+
}
|
|
59
|
+
reserved 5 to 9;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
message ExportServiceGetStatusRequest {
|
|
63
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
64
|
+
reserved 2 to 9;
|
|
65
|
+
arcforges.foundation.v1.Id export_id = 10 [json_name = "exportId"];
|
|
66
|
+
}
|
|
67
|
+
message ExportServiceGetStatusValue {
|
|
68
|
+
ExportJob job = 10 [json_name = "job"];
|
|
69
|
+
}
|
|
70
|
+
message ExportServiceGetStatusResponse {
|
|
71
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
72
|
+
oneof outcome {
|
|
73
|
+
ExportServiceGetStatusValue value = 2 [json_name = "value"];
|
|
74
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
75
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
76
|
+
}
|
|
77
|
+
reserved 5 to 9;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
message ExportServiceCancelRequest {
|
|
81
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
82
|
+
reserved 2 to 9;
|
|
83
|
+
arcforges.foundation.v1.Id export_id = 10 [json_name = "exportId"];
|
|
84
|
+
}
|
|
85
|
+
message ExportServiceCancelValue {
|
|
86
|
+
ExportJob job = 10 [json_name = "job"];
|
|
87
|
+
}
|
|
88
|
+
message ExportServiceCancelResponse {
|
|
89
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
90
|
+
oneof outcome {
|
|
91
|
+
ExportServiceCancelValue value = 2 [json_name = "value"];
|
|
92
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
93
|
+
}
|
|
94
|
+
reserved 4 to 9;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
message ExportServiceGetDownloadRequest {
|
|
98
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
99
|
+
reserved 2 to 9;
|
|
100
|
+
arcforges.foundation.v1.Id export_id = 10 [json_name = "exportId"];
|
|
101
|
+
}
|
|
102
|
+
message ExportServiceGetDownloadValue {
|
|
103
|
+
arcforges.foundation.v1.TransferTicket ticket = 10 [json_name = "ticket"];
|
|
104
|
+
}
|
|
105
|
+
message ExportServiceGetDownloadResponse {
|
|
106
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
107
|
+
oneof outcome {
|
|
108
|
+
ExportServiceGetDownloadValue value = 2 [json_name = "value"];
|
|
109
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
110
|
+
}
|
|
111
|
+
reserved 4 to 9;
|
|
112
|
+
}
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
|
|
4
|
+
package arcforges.publicapi.v1;
|
|
5
|
+
|
|
6
|
+
import "arcforges/foundation/v1/foundation.proto";
|
|
7
|
+
import "arcforges/publicapi/v1/content.proto";
|
|
8
|
+
|
|
9
|
+
option csharp_namespace = "ArcForges.Contracts.PublicApi.V1";
|
|
10
|
+
option java_package = "io.github.arcforges.contracts.publicapi.v1";
|
|
11
|
+
option java_multiple_files = true;
|
|
12
|
+
option java_outer_classname = "SupportProto";
|
|
13
|
+
|
|
14
|
+
// Public customer support, notification, preference and policy projections.
|
|
15
|
+
// Owner authorization and persistence remain outside this generated contract.
|
|
16
|
+
service SupportService {
|
|
17
|
+
rpc CreateCase(SupportServiceCreateCaseRequest) returns (SupportServiceCreateCaseResponse);
|
|
18
|
+
rpc ListCases(SupportServiceListCasesRequest) returns (SupportServiceListCasesResponse);
|
|
19
|
+
rpc AppendMessage(SupportServiceAppendMessageRequest) returns (SupportServiceAppendMessageResponse);
|
|
20
|
+
rpc DecideAccess(SupportServiceDecideAccessRequest) returns (SupportServiceDecideAccessResponse);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
service NotificationService {
|
|
24
|
+
rpc List(NotificationServiceListRequest) returns (NotificationServiceListResponse);
|
|
25
|
+
rpc Acknowledge(NotificationServiceAcknowledgeRequest) returns (NotificationServiceAcknowledgeResponse);
|
|
26
|
+
rpc RegisterPush(NotificationServiceRegisterPushRequest) returns (NotificationServiceRegisterPushResponse);
|
|
27
|
+
rpc UnregisterPush(NotificationServiceUnregisterPushRequest) returns (NotificationServiceUnregisterPushResponse);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
service PreferenceService {
|
|
31
|
+
rpc Put(PreferenceServicePutRequest) returns (PreferenceServicePutResponse);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
service PolicyService {
|
|
35
|
+
rpc GetBundle(PolicyServiceGetBundleRequest) returns (PolicyServiceGetBundleResponse);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
message NotificationView {
|
|
39
|
+
arcforges.foundation.v1.Id notification_id = 1 [json_name = "notificationId"];
|
|
40
|
+
optional string kind = 2 [json_name = "kind"];
|
|
41
|
+
optional string durability = 3 [json_name = "durability"];
|
|
42
|
+
optional string message_key = 4 [json_name = "messageKey"];
|
|
43
|
+
arcforges.foundation.v1.AggregateRef target = 5 [json_name = "target"];
|
|
44
|
+
optional string state = 6 [json_name = "state"];
|
|
45
|
+
arcforges.foundation.v1.Instant created_at = 7 [json_name = "createdAt"];
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
message PolicyBundle {
|
|
49
|
+
optional string version = 1 [json_name = "version"];
|
|
50
|
+
arcforges.foundation.v1.Instant issued_at = 2 [json_name = "issuedAt"];
|
|
51
|
+
arcforges.foundation.v1.Instant expires_at = 3 [json_name = "expiresAt"];
|
|
52
|
+
optional bytes body = 4 [json_name = "body"];
|
|
53
|
+
optional bytes signature = 5 [json_name = "signature"];
|
|
54
|
+
optional string key_id = 6 [json_name = "keyId"];
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
message SupportServiceCreateCaseRequest {
|
|
58
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
59
|
+
reserved 2 to 9;
|
|
60
|
+
arcforges.foundation.v1.Id case_id = 10 [json_name = "caseId"];
|
|
61
|
+
optional string subject = 11 [json_name = "subject"];
|
|
62
|
+
optional string message = 12 [json_name = "message"];
|
|
63
|
+
arcforges.foundation.v1.ResourceRef diagnostic = 13 [json_name = "diagnostic"];
|
|
64
|
+
optional string category = 14 [json_name = "category"];
|
|
65
|
+
arcforges.foundation.v1.Id related_action_id = 15 [json_name = "relatedActionId"];
|
|
66
|
+
}
|
|
67
|
+
message SupportServiceCreateCaseValue {
|
|
68
|
+
SupportCase case = 10 [json_name = "case"];
|
|
69
|
+
}
|
|
70
|
+
message SupportServiceCreateCaseResponse {
|
|
71
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
72
|
+
oneof outcome {
|
|
73
|
+
SupportServiceCreateCaseValue value = 2 [json_name = "value"];
|
|
74
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
75
|
+
}
|
|
76
|
+
reserved 4 to 9;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
message SupportServiceListCasesRequest {
|
|
80
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
81
|
+
reserved 2 to 9;
|
|
82
|
+
arcforges.foundation.v1.PageRequest page = 10 [json_name = "page"];
|
|
83
|
+
}
|
|
84
|
+
message SupportServiceListCasesValue {
|
|
85
|
+
repeated SupportCase items = 10 [json_name = "items"];
|
|
86
|
+
arcforges.foundation.v1.PageState page = 11 [json_name = "page"];
|
|
87
|
+
}
|
|
88
|
+
message SupportServiceListCasesResponse {
|
|
89
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
90
|
+
oneof outcome {
|
|
91
|
+
SupportServiceListCasesValue value = 2 [json_name = "value"];
|
|
92
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
93
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
94
|
+
}
|
|
95
|
+
reserved 5 to 9;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
message SupportServiceAppendMessageRequest {
|
|
99
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
100
|
+
reserved 2 to 9;
|
|
101
|
+
arcforges.foundation.v1.Id case_id = 10 [json_name = "caseId"];
|
|
102
|
+
arcforges.foundation.v1.Id message_id = 11 [json_name = "messageId"];
|
|
103
|
+
optional string text = 12 [json_name = "text"];
|
|
104
|
+
}
|
|
105
|
+
message SupportServiceAppendMessageValue {
|
|
106
|
+
SupportCase case = 10 [json_name = "case"];
|
|
107
|
+
}
|
|
108
|
+
message SupportServiceAppendMessageResponse {
|
|
109
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
110
|
+
oneof outcome {
|
|
111
|
+
SupportServiceAppendMessageValue value = 2 [json_name = "value"];
|
|
112
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
113
|
+
}
|
|
114
|
+
reserved 4 to 9;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
message SupportServiceDecideAccessRequest {
|
|
118
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
119
|
+
reserved 2 to 9;
|
|
120
|
+
arcforges.foundation.v1.Id access_id = 10 [json_name = "accessId"];
|
|
121
|
+
optional string proposal_hash = 11 [json_name = "proposalHash"];
|
|
122
|
+
optional bool approve = 12 [json_name = "approve"];
|
|
123
|
+
}
|
|
124
|
+
message SupportServiceDecideAccessValue {
|
|
125
|
+
arcforges.foundation.v1.Receipt receipt = 10 [json_name = "receipt"];
|
|
126
|
+
}
|
|
127
|
+
message SupportServiceDecideAccessResponse {
|
|
128
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
129
|
+
oneof outcome {
|
|
130
|
+
SupportServiceDecideAccessValue value = 2 [json_name = "value"];
|
|
131
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
132
|
+
}
|
|
133
|
+
reserved 4 to 9;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
message NotificationServiceListRequest {
|
|
137
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
138
|
+
reserved 2 to 9;
|
|
139
|
+
arcforges.foundation.v1.PageRequest page = 10 [json_name = "page"];
|
|
140
|
+
}
|
|
141
|
+
message NotificationServiceListValue {
|
|
142
|
+
repeated NotificationView items = 10 [json_name = "items"];
|
|
143
|
+
arcforges.foundation.v1.PageState page = 11 [json_name = "page"];
|
|
144
|
+
}
|
|
145
|
+
message NotificationServiceListResponse {
|
|
146
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
147
|
+
oneof outcome {
|
|
148
|
+
NotificationServiceListValue value = 2 [json_name = "value"];
|
|
149
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
150
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
151
|
+
}
|
|
152
|
+
reserved 5 to 9;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
message NotificationServiceAcknowledgeRequest {
|
|
156
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
157
|
+
reserved 2 to 9;
|
|
158
|
+
arcforges.foundation.v1.Id notification_id = 10 [json_name = "notificationId"];
|
|
159
|
+
}
|
|
160
|
+
message NotificationServiceAcknowledgeValue {
|
|
161
|
+
arcforges.foundation.v1.Receipt receipt = 10 [json_name = "receipt"];
|
|
162
|
+
}
|
|
163
|
+
message NotificationServiceAcknowledgeResponse {
|
|
164
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
165
|
+
oneof outcome {
|
|
166
|
+
NotificationServiceAcknowledgeValue value = 2 [json_name = "value"];
|
|
167
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
168
|
+
}
|
|
169
|
+
reserved 4 to 9;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
message NotificationServiceRegisterPushRequest {
|
|
173
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
174
|
+
reserved 2 to 9;
|
|
175
|
+
arcforges.foundation.v1.Id installation_id = 10 [json_name = "installationId"];
|
|
176
|
+
optional string platform = 11 [json_name = "platform"];
|
|
177
|
+
optional string token = 12 [json_name = "token"];
|
|
178
|
+
}
|
|
179
|
+
message NotificationServiceRegisterPushValue {
|
|
180
|
+
arcforges.foundation.v1.Id registration_id = 10 [json_name = "registrationId"];
|
|
181
|
+
}
|
|
182
|
+
message NotificationServiceRegisterPushResponse {
|
|
183
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
184
|
+
oneof outcome {
|
|
185
|
+
NotificationServiceRegisterPushValue value = 2 [json_name = "value"];
|
|
186
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
187
|
+
}
|
|
188
|
+
reserved 4 to 9;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
message NotificationServiceUnregisterPushRequest {
|
|
192
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
193
|
+
reserved 2 to 9;
|
|
194
|
+
arcforges.foundation.v1.Id registration_id = 10 [json_name = "registrationId"];
|
|
195
|
+
}
|
|
196
|
+
message NotificationServiceUnregisterPushValue {
|
|
197
|
+
arcforges.foundation.v1.Receipt receipt = 10 [json_name = "receipt"];
|
|
198
|
+
}
|
|
199
|
+
message NotificationServiceUnregisterPushResponse {
|
|
200
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
201
|
+
oneof outcome {
|
|
202
|
+
NotificationServiceUnregisterPushValue value = 2 [json_name = "value"];
|
|
203
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
204
|
+
}
|
|
205
|
+
reserved 4 to 9;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
message PreferenceServicePutRequest {
|
|
209
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
210
|
+
reserved 2 to 9;
|
|
211
|
+
PreferenceRecord value = 10 [json_name = "value"];
|
|
212
|
+
}
|
|
213
|
+
message PreferenceServicePutValue {
|
|
214
|
+
PreferenceRecord value = 10 [json_name = "value"];
|
|
215
|
+
}
|
|
216
|
+
message PreferenceServicePutResponse {
|
|
217
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
218
|
+
oneof outcome {
|
|
219
|
+
PreferenceServicePutValue value = 2 [json_name = "value"];
|
|
220
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
221
|
+
}
|
|
222
|
+
reserved 4 to 9;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
message PolicyServiceGetBundleRequest {
|
|
226
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
227
|
+
reserved 2 to 9;
|
|
228
|
+
arcforges.foundation.v1.Id installation_id = 10 [json_name = "installationId"];
|
|
229
|
+
optional string last_version = 11 [json_name = "lastVersion"];
|
|
230
|
+
}
|
|
231
|
+
message PolicyServiceGetBundleValue {
|
|
232
|
+
PolicyBundle bundle = 10 [json_name = "bundle"];
|
|
233
|
+
}
|
|
234
|
+
message PolicyServiceGetBundleResponse {
|
|
235
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
236
|
+
oneof outcome {
|
|
237
|
+
PolicyServiceGetBundleValue value = 2 [json_name = "value"];
|
|
238
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
239
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
240
|
+
}
|
|
241
|
+
reserved 5 to 9;
|
|
242
|
+
}
|
|
@@ -0,0 +1,413 @@
|
|
|
1
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
|
|
4
|
+
package arcforges.simulation.v1;
|
|
5
|
+
|
|
6
|
+
option csharp_namespace = "ArcForges.Contracts.Simulation.V1";
|
|
7
|
+
option java_package = "io.github.arcforges.contracts.simulation.v1";
|
|
8
|
+
option java_multiple_files = true;
|
|
9
|
+
option java_outer_classname = "SimulationProto";
|
|
10
|
+
|
|
11
|
+
import "arcforges/foundation/v1/foundation.proto";
|
|
12
|
+
import "arcforges/publicapi/v1/content.proto";
|
|
13
|
+
|
|
14
|
+
service SimulationService {
|
|
15
|
+
rpc ListDefinitions(SimulationServiceListDefinitionsRequest) returns (SimulationServiceListDefinitionsResponse);
|
|
16
|
+
rpc GetDefinition(SimulationServiceGetDefinitionRequest) returns (SimulationServiceGetDefinitionResponse);
|
|
17
|
+
rpc CreateDefinition(SimulationServiceCreateDefinitionRequest) returns (SimulationServiceCreateDefinitionResponse);
|
|
18
|
+
rpc PublishScenarioVersion(SimulationServicePublishScenarioVersionRequest) returns (SimulationServicePublishScenarioVersionResponse);
|
|
19
|
+
rpc StartRun(SimulationServiceStartRunRequest) returns (SimulationServiceStartRunResponse);
|
|
20
|
+
rpc PauseRun(SimulationServicePauseRunRequest) returns (SimulationServicePauseRunResponse);
|
|
21
|
+
rpc ResumeRun(SimulationServiceResumeRunRequest) returns (SimulationServiceResumeRunResponse);
|
|
22
|
+
rpc CancelRun(SimulationServiceCancelRunRequest) returns (SimulationServiceCancelRunResponse);
|
|
23
|
+
rpc GetRun(SimulationServiceGetRunRequest) returns (SimulationServiceGetRunResponse);
|
|
24
|
+
rpc ListRuns(SimulationServiceListRunsRequest) returns (SimulationServiceListRunsResponse);
|
|
25
|
+
rpc ListSegments(SimulationServiceListSegmentsRequest) returns (SimulationServiceListSegmentsResponse);
|
|
26
|
+
rpc GetSegmentTicket(SimulationServiceGetSegmentTicketRequest) returns (SimulationServiceGetSegmentTicketResponse);
|
|
27
|
+
rpc PollState(SimulationServicePollStateRequest) returns (SimulationServicePollStateResponse);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
message SimulationDefinition {
|
|
31
|
+
arcforges.foundation.v1.Id definition_id = 1 [json_name = "definitionId"];
|
|
32
|
+
optional string name = 2 [json_name = "name"];
|
|
33
|
+
arcforges.foundation.v1.Revision revision = 3 [json_name = "revision"];
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
message ScenarioVersion {
|
|
37
|
+
arcforges.foundation.v1.Id scenario_version_id = 1 [json_name = "scenarioVersionId"];
|
|
38
|
+
arcforges.foundation.v1.Id definition_id = 2 [json_name = "definitionId"];
|
|
39
|
+
optional string schema_version = 3 [json_name = "schemaVersion"];
|
|
40
|
+
ScenarioSpec scenario = 4 [json_name = "scenario"];
|
|
41
|
+
optional string sha256 = 5 [json_name = "sha256"];
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
message SimulationRun {
|
|
45
|
+
arcforges.foundation.v1.Id run_id = 1 [json_name = "runId"];
|
|
46
|
+
arcforges.foundation.v1.Id scenario_version_id = 2 [json_name = "scenarioVersionId"];
|
|
47
|
+
optional string state = 3 [json_name = "state"];
|
|
48
|
+
optional string reason = 4 [json_name = "reason"];
|
|
49
|
+
arcforges.foundation.v1.Revision revision = 5 [json_name = "revision"];
|
|
50
|
+
optional int64 committed_sequence = 6 [json_name = "committedSequence"];
|
|
51
|
+
optional string extent = 7 [json_name = "extent"];
|
|
52
|
+
optional uint64 logical_end = 8 [json_name = "logicalEnd"];
|
|
53
|
+
arcforges.foundation.v1.Instant created_at = 9 [json_name = "createdAt"];
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
message SimulationSegment {
|
|
57
|
+
arcforges.foundation.v1.Id run_id = 1 [json_name = "runId"];
|
|
58
|
+
optional int64 sequence = 2 [json_name = "sequence"];
|
|
59
|
+
optional uint64 start = 3 [json_name = "start"];
|
|
60
|
+
optional uint64 count = 4 [json_name = "count"];
|
|
61
|
+
optional string encoding = 5 [json_name = "encoding"];
|
|
62
|
+
arcforges.foundation.v1.ResourceVersionRef resource = 6 [json_name = "resource"];
|
|
63
|
+
arcforges.foundation.v1.ResourceVersionRef events = 7 [json_name = "events"];
|
|
64
|
+
optional string execution_profile = 8 [json_name = "executionProfile"];
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
message SimulationProfile {
|
|
68
|
+
optional uint64 sample_count = 1 [json_name = "sampleCount"];
|
|
69
|
+
optional uint32 batch_samples = 2 [json_name = "batchSamples"];
|
|
70
|
+
arcforges.foundation.v1.Rational rate = 3 [json_name = "rate"];
|
|
71
|
+
optional string execution_profile = 4 [json_name = "executionProfile"];
|
|
72
|
+
optional string encoding_profile = 5 [json_name = "encodingProfile"];
|
|
73
|
+
optional string clock_mode = 6 [json_name = "clockMode"];
|
|
74
|
+
optional string generator_version = 7 [json_name = "generatorVersion"];
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
message ScenarioSpec {
|
|
78
|
+
repeated arcforges.publicapi.v1.ChannelDefinition channels = 1 [json_name = "channels"];
|
|
79
|
+
repeated ScenarioExpression expressions = 2 [json_name = "expressions"];
|
|
80
|
+
arcforges.foundation.v1.ResourceVersionRef csv = 3 [json_name = "csv"];
|
|
81
|
+
arcforges.publicapi.v1.ScopeTime duration = 4 [json_name = "duration"];
|
|
82
|
+
repeated GeneratorSpec generators = 5 [json_name = "generators"];
|
|
83
|
+
repeated FaultSpec faults = 6 [json_name = "faults"];
|
|
84
|
+
CsvReplaySchema csv_schema = 7 [json_name = "csvSchema"];
|
|
85
|
+
optional string execution_profile = 8 [json_name = "executionProfile"];
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
message ScenarioExpression {
|
|
89
|
+
arcforges.foundation.v1.Id channel_id = 1 [json_name = "channelId"];
|
|
90
|
+
AstNode root = 2 [json_name = "root"];
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
message AstNode {
|
|
94
|
+
oneof expression {
|
|
95
|
+
double constant = 1 [json_name = "constant"];
|
|
96
|
+
string variable = 2 [json_name = "variable"];
|
|
97
|
+
UnaryExpression unary = 3 [json_name = "unary"];
|
|
98
|
+
BinaryExpression binary = 4 [json_name = "binary"];
|
|
99
|
+
FunctionExpression function = 5 [json_name = "function"];
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
message UnaryExpression {
|
|
104
|
+
optional string operator = 1 [json_name = "operator"];
|
|
105
|
+
AstNode operand = 2 [json_name = "operand"];
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
message BinaryExpression {
|
|
109
|
+
optional string operator = 1 [json_name = "operator"];
|
|
110
|
+
AstNode left = 2 [json_name = "left"];
|
|
111
|
+
AstNode right = 3 [json_name = "right"];
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
message FunctionExpression {
|
|
115
|
+
optional string function = 1 [json_name = "function"];
|
|
116
|
+
repeated AstNode arguments = 2 [json_name = "arguments"];
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
message GeneratorSpec {
|
|
120
|
+
arcforges.foundation.v1.Id channel_id = 1 [json_name = "channelId"];
|
|
121
|
+
optional string kind = 2 [json_name = "kind"];
|
|
122
|
+
optional double offset = 3 [json_name = "offset"];
|
|
123
|
+
optional double amplitude = 4 [json_name = "amplitude"];
|
|
124
|
+
optional double frequency_hz = 5 [json_name = "frequencyHz"];
|
|
125
|
+
optional double phase_cycles = 6 [json_name = "phaseCycles"];
|
|
126
|
+
optional double duty_ratio = 7 [json_name = "dutyRatio"];
|
|
127
|
+
optional double walk_step = 8 [json_name = "walkStep"];
|
|
128
|
+
repeated PulseSpec pulses = 9 [json_name = "pulses"];
|
|
129
|
+
repeated StepPoint steps = 10 [json_name = "steps"];
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
message PulseSpec {
|
|
133
|
+
arcforges.publicapi.v1.ScopeTime start = 1 [json_name = "start"];
|
|
134
|
+
arcforges.publicapi.v1.ScopeTime duration = 2 [json_name = "duration"];
|
|
135
|
+
optional double value = 3 [json_name = "value"];
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
message StepPoint {
|
|
139
|
+
arcforges.publicapi.v1.ScopeTime at = 1 [json_name = "at"];
|
|
140
|
+
optional double value = 2 [json_name = "value"];
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
message FaultSpec {
|
|
144
|
+
arcforges.foundation.v1.Id fault_id = 1 [json_name = "faultId"];
|
|
145
|
+
optional string kind = 2 [json_name = "kind"];
|
|
146
|
+
arcforges.foundation.v1.Id channel_id = 3 [json_name = "channelId"];
|
|
147
|
+
arcforges.publicapi.v1.MeasurementWindow window = 4 [json_name = "window"];
|
|
148
|
+
optional uint64 every_ticks = 5 [json_name = "everyTicks"];
|
|
149
|
+
optional uint32 probability_ppm = 6 [json_name = "probabilityPpm"];
|
|
150
|
+
optional uint64 delay_ticks = 7 [json_name = "delayTicks"];
|
|
151
|
+
optional double amount = 8 [json_name = "amount"];
|
|
152
|
+
optional uint32 reorder_window = 9 [json_name = "reorderWindow"];
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
message CsvReplaySchema {
|
|
156
|
+
optional string encoding = 1 [json_name = "encoding"];
|
|
157
|
+
optional string delimiter = 2 [json_name = "delimiter"];
|
|
158
|
+
optional bool has_header = 3 [json_name = "hasHeader"];
|
|
159
|
+
optional uint32 timestamp_column = 4 [json_name = "timestampColumn"];
|
|
160
|
+
repeated CsvColumn columns = 5 [json_name = "columns"];
|
|
161
|
+
optional string timestamp_unit = 6 [json_name = "timestampUnit"];
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
message CsvColumn {
|
|
165
|
+
optional uint32 column = 1 [json_name = "column"];
|
|
166
|
+
arcforges.foundation.v1.Id channel_id = 2 [json_name = "channelId"];
|
|
167
|
+
optional string type = 3 [json_name = "type"];
|
|
168
|
+
optional string unit = 4 [json_name = "unit"];
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
message SimulationServiceListDefinitionsRequest {
|
|
172
|
+
arcforges.foundation.v1.RequestMeta meta = 1;
|
|
173
|
+
reserved 2 to 9;
|
|
174
|
+
arcforges.foundation.v1.PageRequest page = 10 [json_name = "page"];
|
|
175
|
+
}
|
|
176
|
+
message SimulationServiceListDefinitionsValue {
|
|
177
|
+
repeated SimulationDefinition items = 10 [json_name = "items"];
|
|
178
|
+
arcforges.foundation.v1.PageState page = 11 [json_name = "page"];
|
|
179
|
+
}
|
|
180
|
+
message SimulationServiceListDefinitionsResponse {
|
|
181
|
+
arcforges.foundation.v1.ResponseMeta meta = 1;
|
|
182
|
+
oneof outcome {
|
|
183
|
+
SimulationServiceListDefinitionsValue value = 2;
|
|
184
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
185
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
186
|
+
}
|
|
187
|
+
reserved 5 to 9;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
message SimulationServiceGetDefinitionRequest {
|
|
191
|
+
arcforges.foundation.v1.RequestMeta meta = 1;
|
|
192
|
+
reserved 2 to 9;
|
|
193
|
+
arcforges.foundation.v1.Id definition_id = 10 [json_name = "definitionId"];
|
|
194
|
+
}
|
|
195
|
+
message SimulationServiceGetDefinitionValue {
|
|
196
|
+
SimulationDefinition definition = 10 [json_name = "definition"];
|
|
197
|
+
repeated ScenarioVersion versions = 11 [json_name = "versions"];
|
|
198
|
+
}
|
|
199
|
+
message SimulationServiceGetDefinitionResponse {
|
|
200
|
+
arcforges.foundation.v1.ResponseMeta meta = 1;
|
|
201
|
+
oneof outcome {
|
|
202
|
+
SimulationServiceGetDefinitionValue value = 2;
|
|
203
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
204
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
205
|
+
}
|
|
206
|
+
reserved 5 to 9;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
message SimulationServiceCreateDefinitionRequest {
|
|
210
|
+
arcforges.foundation.v1.RequestMeta meta = 1;
|
|
211
|
+
reserved 2 to 9;
|
|
212
|
+
arcforges.foundation.v1.Id definition_id = 10 [json_name = "definitionId"];
|
|
213
|
+
optional string name = 11 [json_name = "name"];
|
|
214
|
+
}
|
|
215
|
+
message SimulationServiceCreateDefinitionValue {
|
|
216
|
+
SimulationDefinition definition = 10 [json_name = "definition"];
|
|
217
|
+
}
|
|
218
|
+
message SimulationServiceCreateDefinitionResponse {
|
|
219
|
+
arcforges.foundation.v1.ResponseMeta meta = 1;
|
|
220
|
+
oneof outcome {
|
|
221
|
+
SimulationServiceCreateDefinitionValue value = 2;
|
|
222
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
223
|
+
}
|
|
224
|
+
reserved 4 to 9;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
message SimulationServicePublishScenarioVersionRequest {
|
|
228
|
+
arcforges.foundation.v1.RequestMeta meta = 1;
|
|
229
|
+
reserved 2 to 9;
|
|
230
|
+
arcforges.foundation.v1.Id scenario_version_id = 10 [json_name = "scenarioVersionId"];
|
|
231
|
+
arcforges.foundation.v1.Id definition_id = 11 [json_name = "definitionId"];
|
|
232
|
+
ScenarioSpec scenario = 12 [json_name = "scenario"];
|
|
233
|
+
}
|
|
234
|
+
message SimulationServicePublishScenarioVersionValue {
|
|
235
|
+
ScenarioVersion version = 10 [json_name = "version"];
|
|
236
|
+
}
|
|
237
|
+
message SimulationServicePublishScenarioVersionResponse {
|
|
238
|
+
arcforges.foundation.v1.ResponseMeta meta = 1;
|
|
239
|
+
oneof outcome {
|
|
240
|
+
SimulationServicePublishScenarioVersionValue value = 2;
|
|
241
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
242
|
+
}
|
|
243
|
+
reserved 4 to 9;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
message SimulationServiceStartRunRequest {
|
|
247
|
+
arcforges.foundation.v1.RequestMeta meta = 1;
|
|
248
|
+
reserved 2 to 9;
|
|
249
|
+
arcforges.foundation.v1.Id run_id = 10 [json_name = "runId"];
|
|
250
|
+
arcforges.foundation.v1.Id scenario_version_id = 11 [json_name = "scenarioVersionId"];
|
|
251
|
+
optional int64 seed = 12 [json_name = "seed"];
|
|
252
|
+
SimulationProfile profile = 13 [json_name = "profile"];
|
|
253
|
+
}
|
|
254
|
+
message SimulationServiceStartRunValue {
|
|
255
|
+
SimulationRun run = 10 [json_name = "run"];
|
|
256
|
+
}
|
|
257
|
+
message SimulationServiceStartRunResponse {
|
|
258
|
+
arcforges.foundation.v1.ResponseMeta meta = 1;
|
|
259
|
+
oneof outcome {
|
|
260
|
+
SimulationServiceStartRunValue value = 2;
|
|
261
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
262
|
+
}
|
|
263
|
+
reserved 4 to 9;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
message SimulationServicePauseRunRequest {
|
|
267
|
+
arcforges.foundation.v1.RequestMeta meta = 1;
|
|
268
|
+
reserved 2 to 9;
|
|
269
|
+
arcforges.foundation.v1.Id run_id = 10 [json_name = "runId"];
|
|
270
|
+
}
|
|
271
|
+
message SimulationServicePauseRunValue {
|
|
272
|
+
SimulationRun run = 10 [json_name = "run"];
|
|
273
|
+
}
|
|
274
|
+
message SimulationServicePauseRunResponse {
|
|
275
|
+
arcforges.foundation.v1.ResponseMeta meta = 1;
|
|
276
|
+
oneof outcome {
|
|
277
|
+
SimulationServicePauseRunValue value = 2;
|
|
278
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
279
|
+
}
|
|
280
|
+
reserved 4 to 9;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
message SimulationServiceResumeRunRequest {
|
|
284
|
+
arcforges.foundation.v1.RequestMeta meta = 1;
|
|
285
|
+
reserved 2 to 9;
|
|
286
|
+
arcforges.foundation.v1.Id run_id = 10 [json_name = "runId"];
|
|
287
|
+
}
|
|
288
|
+
message SimulationServiceResumeRunValue {
|
|
289
|
+
SimulationRun run = 10 [json_name = "run"];
|
|
290
|
+
}
|
|
291
|
+
message SimulationServiceResumeRunResponse {
|
|
292
|
+
arcforges.foundation.v1.ResponseMeta meta = 1;
|
|
293
|
+
oneof outcome {
|
|
294
|
+
SimulationServiceResumeRunValue value = 2;
|
|
295
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
296
|
+
}
|
|
297
|
+
reserved 4 to 9;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
message SimulationServiceCancelRunRequest {
|
|
301
|
+
arcforges.foundation.v1.RequestMeta meta = 1;
|
|
302
|
+
reserved 2 to 9;
|
|
303
|
+
arcforges.foundation.v1.Id run_id = 10 [json_name = "runId"];
|
|
304
|
+
}
|
|
305
|
+
message SimulationServiceCancelRunValue {
|
|
306
|
+
SimulationRun run = 10 [json_name = "run"];
|
|
307
|
+
}
|
|
308
|
+
message SimulationServiceCancelRunResponse {
|
|
309
|
+
arcforges.foundation.v1.ResponseMeta meta = 1;
|
|
310
|
+
oneof outcome {
|
|
311
|
+
SimulationServiceCancelRunValue value = 2;
|
|
312
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
313
|
+
}
|
|
314
|
+
reserved 4 to 9;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
message SimulationServiceGetRunRequest {
|
|
318
|
+
arcforges.foundation.v1.RequestMeta meta = 1;
|
|
319
|
+
reserved 2 to 9;
|
|
320
|
+
arcforges.foundation.v1.Id run_id = 10 [json_name = "runId"];
|
|
321
|
+
}
|
|
322
|
+
message SimulationServiceGetRunValue {
|
|
323
|
+
SimulationRun run = 10 [json_name = "run"];
|
|
324
|
+
}
|
|
325
|
+
message SimulationServiceGetRunResponse {
|
|
326
|
+
arcforges.foundation.v1.ResponseMeta meta = 1;
|
|
327
|
+
oneof outcome {
|
|
328
|
+
SimulationServiceGetRunValue value = 2;
|
|
329
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
330
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
331
|
+
}
|
|
332
|
+
reserved 5 to 9;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
message SimulationServiceListRunsRequest {
|
|
336
|
+
arcforges.foundation.v1.RequestMeta meta = 1;
|
|
337
|
+
reserved 2 to 9;
|
|
338
|
+
arcforges.foundation.v1.PageRequest page = 10 [json_name = "page"];
|
|
339
|
+
arcforges.foundation.v1.Id scenario_version_id = 11 [json_name = "scenarioVersionId"];
|
|
340
|
+
optional string state = 12 [json_name = "state"];
|
|
341
|
+
}
|
|
342
|
+
message SimulationServiceListRunsValue {
|
|
343
|
+
repeated SimulationRun items = 10 [json_name = "items"];
|
|
344
|
+
arcforges.foundation.v1.PageState page = 11 [json_name = "page"];
|
|
345
|
+
}
|
|
346
|
+
message SimulationServiceListRunsResponse {
|
|
347
|
+
arcforges.foundation.v1.ResponseMeta meta = 1;
|
|
348
|
+
oneof outcome {
|
|
349
|
+
SimulationServiceListRunsValue value = 2;
|
|
350
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
351
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
352
|
+
}
|
|
353
|
+
reserved 5 to 9;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
message SimulationServiceListSegmentsRequest {
|
|
357
|
+
arcforges.foundation.v1.RequestMeta meta = 1;
|
|
358
|
+
reserved 2 to 9;
|
|
359
|
+
arcforges.foundation.v1.Id run_id = 10 [json_name = "runId"];
|
|
360
|
+
arcforges.foundation.v1.PageRequest page = 11 [json_name = "page"];
|
|
361
|
+
}
|
|
362
|
+
message SimulationServiceListSegmentsValue {
|
|
363
|
+
repeated SimulationSegment segments = 10 [json_name = "segments"];
|
|
364
|
+
arcforges.foundation.v1.PageState page = 11 [json_name = "page"];
|
|
365
|
+
}
|
|
366
|
+
message SimulationServiceListSegmentsResponse {
|
|
367
|
+
arcforges.foundation.v1.ResponseMeta meta = 1;
|
|
368
|
+
oneof outcome {
|
|
369
|
+
SimulationServiceListSegmentsValue value = 2;
|
|
370
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
371
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
372
|
+
}
|
|
373
|
+
reserved 5 to 9;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
message SimulationServiceGetSegmentTicketRequest {
|
|
377
|
+
arcforges.foundation.v1.RequestMeta meta = 1;
|
|
378
|
+
reserved 2 to 9;
|
|
379
|
+
arcforges.foundation.v1.Id run_id = 10 [json_name = "runId"];
|
|
380
|
+
optional int64 segment_sequence = 11 [json_name = "segmentSequence"];
|
|
381
|
+
arcforges.foundation.v1.ByteRange range = 12 [json_name = "range"];
|
|
382
|
+
}
|
|
383
|
+
message SimulationServiceGetSegmentTicketValue {
|
|
384
|
+
arcforges.foundation.v1.TransferTicket ticket = 10 [json_name = "ticket"];
|
|
385
|
+
}
|
|
386
|
+
message SimulationServiceGetSegmentTicketResponse {
|
|
387
|
+
arcforges.foundation.v1.ResponseMeta meta = 1;
|
|
388
|
+
oneof outcome {
|
|
389
|
+
SimulationServiceGetSegmentTicketValue value = 2;
|
|
390
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
391
|
+
}
|
|
392
|
+
reserved 4 to 9;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
message SimulationServicePollStateRequest {
|
|
396
|
+
arcforges.foundation.v1.RequestMeta meta = 1;
|
|
397
|
+
reserved 2 to 9;
|
|
398
|
+
arcforges.foundation.v1.Id run_id = 10 [json_name = "runId"];
|
|
399
|
+
arcforges.foundation.v1.Revision known_revision = 11 [json_name = "knownRevision"];
|
|
400
|
+
}
|
|
401
|
+
message SimulationServicePollStateValue {
|
|
402
|
+
SimulationRun run = 10 [json_name = "run"];
|
|
403
|
+
optional bool has_changed = 11 [json_name = "hasChanged"];
|
|
404
|
+
}
|
|
405
|
+
message SimulationServicePollStateResponse {
|
|
406
|
+
arcforges.foundation.v1.ResponseMeta meta = 1;
|
|
407
|
+
oneof outcome {
|
|
408
|
+
SimulationServicePollStateValue value = 2;
|
|
409
|
+
arcforges.foundation.v1.ArcError error = 3;
|
|
410
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
411
|
+
}
|
|
412
|
+
reserved 5 to 9;
|
|
413
|
+
}
|
package/source.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"repository": "https://github.com/ArcForges/Contracts",
|
|
3
|
-
"commit": "
|
|
3
|
+
"commit": "1d17838dd6bb30f89ffbfb9a26ce311f6c742d34",
|
|
4
4
|
"dirty": false,
|
|
5
|
-
"version": "1.0.0-ci.
|
|
5
|
+
"version": "1.0.0-ci.264.1",
|
|
6
6
|
"contractAccess": "internal",
|
|
7
7
|
"schemaSources": {
|
|
8
8
|
"internal/proto/arcforges/operator/v1/operator.proto": "30e9f7ef3124839417839a25f7be2a43a954947d688387cea4faff09ddcf66e8",
|
|
@@ -12,13 +12,16 @@
|
|
|
12
12
|
"public/proto/arcforges/hello/v1/hello.proto": "92489f89d1898a3d3bbea56c72116416cd0152ae8866c98745739437020c67d9",
|
|
13
13
|
"public/proto/arcforges/publicapi/v1/chat.proto": "b878ad06144a626e426e78addb76ca7fceb3c36d6a99f087f918fad1968e109a",
|
|
14
14
|
"public/proto/arcforges/publicapi/v1/commerce.proto": "e0ed5700197fdb20006c7ea699d9071dd8c4ac9d4248651f8a148363ad8af9dc",
|
|
15
|
-
"public/proto/arcforges/publicapi/v1/content.proto": "
|
|
15
|
+
"public/proto/arcforges/publicapi/v1/content.proto": "5d6c638b72c4577b2a5cd4450276b4ed39153299a1e91f076c40764b8984d398",
|
|
16
16
|
"public/proto/arcforges/publicapi/v1/descriptors.proto": "d8a43c27fd345d55786a67ce9776efa0b4bc089f57361c3e532dd1b5f9326161",
|
|
17
|
+
"public/proto/arcforges/publicapi/v1/export.proto": "585aa18d6ca428c497ee2eb18ada15868dd78db3fde13077ebd7f0be664c2ae6",
|
|
17
18
|
"public/proto/arcforges/publicapi/v1/inprocess-values.proto": "24921ae4f54f48800ea1201a9eee27a4e23a476b738cc3903665dff137a10eea",
|
|
19
|
+
"public/proto/arcforges/publicapi/v1/support.proto": "9ba36c44a6682bb954e023ba5fe06ad46bfc647b59e84abe202f8c610cbcd541",
|
|
18
20
|
"public/proto/arcforges/publicapi/v1/sync.proto": "2e7861c2cbb6d55aa36c9703b4409f3149365f2f1f53741f2dce3f0589cb84d6",
|
|
19
|
-
"public/proto/arcforges/publicapi/v1/transfer.proto": "f7d53346a43cd977224154b33d8f1f3f3f4b973c67e513caf384b195654abc0e"
|
|
21
|
+
"public/proto/arcforges/publicapi/v1/transfer.proto": "f7d53346a43cd977224154b33d8f1f3f3f4b973c67e513caf384b195654abc0e",
|
|
22
|
+
"public/proto/arcforges/simulation/v1/simulation.proto": "6be3a09a0ae9f2f28f2cfec9c5a762d0b1d11519336109fd842b14537e53faf7"
|
|
20
23
|
},
|
|
21
|
-
"descriptorSha256": "
|
|
24
|
+
"descriptorSha256": "e431d41fee352e2d78835ab7a42ad23a77489af01c62ede91eabef2263814a91",
|
|
22
25
|
"dependencyLocks": {
|
|
23
26
|
"package-lock.json": "3e536db25743ceb5a021559dbc1f31d57112211c62d94f84df34daca5382709c",
|
|
24
27
|
"src/public/dotnet/ArcForges.Contracts.Foundation/packages.lock.json": "fa17fe6057706e36ae0b9370a457536d05d0f3a8f0f72df622881bfc1628337e",
|