@arcforges/operator-client 1.0.0-ci.258.1 → 1.0.0-ci.262.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 +24 -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/source.json +6 -4
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.262.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.262.1: Apache-2.0 (pkg:npm/%40arcforges/proto@1.0.0-ci.262.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-22-r1
|
|
17
|
+
Source: https://github.com/ArcForges/Contracts @ 45d7f1ea8f075d593e054f49c7ddb497e63d1384
|
|
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.22 adds only the authorized Support/Export contract schemas, generated public outputs, and declarative fixture/probe evidence; it adds no third-party package or 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.262.1"
|
|
7
7
|
},
|
|
8
8
|
"build": {
|
|
9
|
-
"sourceCommit": "
|
|
9
|
+
"sourceCommit": "9577ab67fb631a37a73b1b7e8d087714f6292e8a",
|
|
10
10
|
"dirty": false,
|
|
11
11
|
"kind": "ci",
|
|
12
|
-
"buildId": "
|
|
13
|
-
"runId": "
|
|
12
|
+
"buildId": "36674097912.1",
|
|
13
|
+
"runId": "36674097912",
|
|
14
14
|
"runAttempt": 1,
|
|
15
|
-
"pipelineRun": "https://github.com/ArcForges/Contracts/actions/runs/
|
|
16
|
-
"sourceDateEpoch":
|
|
15
|
+
"pipelineRun": "https://github.com/ArcForges/Contracts/actions/runs/36674097912",
|
|
16
|
+
"sourceDateEpoch": 1790746516
|
|
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": "1f8044b95aa41fe433bab17ba02a0d6f03d27911964ca809a0d66a3bb24e5676"
|
|
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": "1f8044b95aa41fe433bab17ba02a0d6f03d27911964ca809a0d66a3bb24e5676"
|
|
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": "1f8044b95aa41fe433bab17ba02a0d6f03d27911964ca809a0d66a3bb24e5676"
|
|
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": "1f8044b95aa41fe433bab17ba02a0d6f03d27911964ca809a0d66a3bb24e5676"
|
|
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": "1f8044b95aa41fe433bab17ba02a0d6f03d27911964ca809a0d66a3bb24e5676"
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
"subject": "arcforges.publicapi",
|
|
73
73
|
"version": "1",
|
|
74
|
-
"descriptorSha256": "
|
|
74
|
+
"descriptorSha256": "1f8044b95aa41fe433bab17ba02a0d6f03d27911964ca809a0d66a3bb24e5676",
|
|
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"
|
|
@@ -138,10 +146,10 @@
|
|
|
138
146
|
"values": [
|
|
139
147
|
{
|
|
140
148
|
"subject": "pkg:npm/%40arcforges/proto",
|
|
141
|
-
"version": "1.0.0-ci.
|
|
149
|
+
"version": "1.0.0-ci.262.1",
|
|
142
150
|
"source": {
|
|
143
151
|
"path": "sbom.cdx.json#components",
|
|
144
|
-
"sha256": "
|
|
152
|
+
"sha256": "b4d07d5edec394672626a830427c3517e4430f62c0cc1a107bd24b2d5f02af3c"
|
|
145
153
|
}
|
|
146
154
|
},
|
|
147
155
|
{
|
|
@@ -149,7 +157,7 @@
|
|
|
149
157
|
"version": "2.15.0",
|
|
150
158
|
"source": {
|
|
151
159
|
"path": "sbom.cdx.json#components",
|
|
152
|
-
"sha256": "
|
|
160
|
+
"sha256": "b4d07d5edec394672626a830427c3517e4430f62c0cc1a107bd24b2d5f02af3c"
|
|
153
161
|
}
|
|
154
162
|
}
|
|
155
163
|
]
|
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.262.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.262.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.262.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.262.1",
|
|
11
|
+
"purl": "pkg:npm/%40arcforges/operator-client@1.0.0-ci.262.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.262.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.262.1",
|
|
25
|
+
"purl": "pkg:npm/%40arcforges/proto@1.0.0-ci.262.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.262.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.262.1",
|
|
58
58
|
"dependsOn": [
|
|
59
|
-
"pkg:npm/%40arcforges/proto@1.0.0-ci.
|
|
59
|
+
"pkg:npm/%40arcforges/proto@1.0.0-ci.262.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
|
+
}
|
package/source.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"repository": "https://github.com/ArcForges/Contracts",
|
|
3
|
-
"commit": "
|
|
3
|
+
"commit": "9577ab67fb631a37a73b1b7e8d087714f6292e8a",
|
|
4
4
|
"dirty": false,
|
|
5
|
-
"version": "1.0.0-ci.
|
|
5
|
+
"version": "1.0.0-ci.262.1",
|
|
6
6
|
"contractAccess": "internal",
|
|
7
7
|
"schemaSources": {
|
|
8
8
|
"internal/proto/arcforges/operator/v1/operator.proto": "30e9f7ef3124839417839a25f7be2a43a954947d688387cea4faff09ddcf66e8",
|
|
@@ -12,13 +12,15 @@
|
|
|
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
21
|
"public/proto/arcforges/publicapi/v1/transfer.proto": "f7d53346a43cd977224154b33d8f1f3f3f4b973c67e513caf384b195654abc0e"
|
|
20
22
|
},
|
|
21
|
-
"descriptorSha256": "
|
|
23
|
+
"descriptorSha256": "1f8044b95aa41fe433bab17ba02a0d6f03d27911964ca809a0d66a3bb24e5676",
|
|
22
24
|
"dependencyLocks": {
|
|
23
25
|
"package-lock.json": "3e536db25743ceb5a021559dbc1f31d57112211c62d94f84df34daca5382709c",
|
|
24
26
|
"src/public/dotnet/ArcForges.Contracts.Foundation/packages.lock.json": "fa17fe6057706e36ae0b9370a457536d05d0f3a8f0f72df622881bfc1628337e",
|