@arcforges/api-client 1.0.0-ci.241.1 → 1.0.0-ci.244.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 +4 -4
- package/build-identity.json +20 -16
- package/contracts.binpb +0 -0
- package/package.json +2 -2
- package/sbom.cdx.json +9 -9
- package/schemas/public/proto/arcforges/publicapi/v1/commerce.proto +542 -0
- package/source.json +4 -3
package/NOTICE
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
ArcForges Contracts
|
|
2
2
|
Copyright 2026 ArcForges contributors
|
|
3
3
|
|
|
4
|
-
@arcforges/api-client 1.0.0-ci.
|
|
4
|
+
@arcforges/api-client 1.0.0-ci.244.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.244.1: Apache-2.0 (pkg:npm/%40arcforges/proto@1.0.0-ci.244.1)
|
|
8
8
|
- @bufbuild/protobuf 2.15.0: (Apache-2.0 AND BSD-3-Clause) (pkg:npm/%40bufbuild/protobuf@2.15.0)
|
|
9
9
|
- @connectrpc/connect 2.2.0: Apache-2.0 (pkg:npm/%40connectrpc/connect@2.2.0)
|
|
10
10
|
- @connectrpc/connect-web 2.2.0: Apache-2.0 (pkg:npm/%40connectrpc/connect-web@2.2.0)
|
|
@@ -15,8 +15,8 @@ ArcForges source provenance notices
|
|
|
15
15
|
|
|
16
16
|
Generated from reviewed active records. Original licence files and dependency notices remain authoritative.
|
|
17
17
|
|
|
18
|
-
contract-bindings-con-
|
|
19
|
-
Source: https://github.com/ArcForges/Contracts @
|
|
18
|
+
contract-bindings-con-08-r1
|
|
19
|
+
Source: https://github.com/ArcForges/Contracts @ 82f7dc331e39674b812ee53296ac5d6dd6badd0b
|
|
20
20
|
Material licence: Apache-2.0
|
|
21
21
|
Notice scope: packages
|
|
22
22
|
Copyright 2026 ArcForges contributors.
|
package/build-identity.json
CHANGED
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
"owner": "Contracts",
|
|
4
4
|
"artifact": {
|
|
5
5
|
"id": "@arcforges/api-client",
|
|
6
|
-
"version": "1.0.0-ci.
|
|
6
|
+
"version": "1.0.0-ci.244.1"
|
|
7
7
|
},
|
|
8
8
|
"build": {
|
|
9
|
-
"sourceCommit": "
|
|
9
|
+
"sourceCommit": "063762f32c551449fb01936d9ec30fedb77260de",
|
|
10
10
|
"dirty": false,
|
|
11
11
|
"kind": "ci",
|
|
12
|
-
"buildId": "
|
|
13
|
-
"runId": "
|
|
12
|
+
"buildId": "36461962570.1",
|
|
13
|
+
"runId": "36461962570",
|
|
14
14
|
"runAttempt": 1,
|
|
15
|
-
"pipelineRun": "https://github.com/ArcForges/Contracts/actions/runs/
|
|
16
|
-
"sourceDateEpoch":
|
|
15
|
+
"pipelineRun": "https://github.com/ArcForges/Contracts/actions/runs/36461962570",
|
|
16
|
+
"sourceDateEpoch": 1790618328
|
|
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": "4735c9b35035a39773980752ae9f541b8fa04cb0e2c8e449596a4bc0cd01bedf"
|
|
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": "4735c9b35035a39773980752ae9f541b8fa04cb0e2c8e449596a4bc0cd01bedf"
|
|
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": "adff62f65799bc5523965caf40f1f6bf11cbb4e2d769f46d9e3183a72a6d24d5"
|
|
50
50
|
},
|
|
51
|
-
"descriptorSha256": "
|
|
51
|
+
"descriptorSha256": "4735c9b35035a39773980752ae9f541b8fa04cb0e2c8e449596a4bc0cd01bedf"
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
54
|
"subject": "arcforges.hello",
|
|
@@ -57,13 +57,17 @@
|
|
|
57
57
|
"path": "public/proto/arcforges/hello/v1/hello.proto",
|
|
58
58
|
"sha256": "92489f89d1898a3d3bbea56c72116416cd0152ae8866c98745739437020c67d9"
|
|
59
59
|
},
|
|
60
|
-
"descriptorSha256": "
|
|
60
|
+
"descriptorSha256": "4735c9b35035a39773980752ae9f541b8fa04cb0e2c8e449596a4bc0cd01bedf"
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
"subject": "arcforges.publicapi",
|
|
64
64
|
"version": "1",
|
|
65
|
-
"descriptorSha256": "
|
|
65
|
+
"descriptorSha256": "4735c9b35035a39773980752ae9f541b8fa04cb0e2c8e449596a4bc0cd01bedf",
|
|
66
66
|
"sources": [
|
|
67
|
+
{
|
|
68
|
+
"path": "public/proto/arcforges/publicapi/v1/commerce.proto",
|
|
69
|
+
"sha256": "e0ed5700197fdb20006c7ea699d9071dd8c4ac9d4248651f8a148363ad8af9dc"
|
|
70
|
+
},
|
|
67
71
|
{
|
|
68
72
|
"path": "public/proto/arcforges/publicapi/v1/content.proto",
|
|
69
73
|
"sha256": "1c912ac9fa37633a3e5d186cb6f3838bd886f09f935e1ce41c5a665640c54abd"
|
|
@@ -169,10 +173,10 @@
|
|
|
169
173
|
"values": [
|
|
170
174
|
{
|
|
171
175
|
"subject": "pkg:npm/%40arcforges/proto",
|
|
172
|
-
"version": "1.0.0-ci.
|
|
176
|
+
"version": "1.0.0-ci.244.1",
|
|
173
177
|
"source": {
|
|
174
178
|
"path": "sbom.cdx.json#components",
|
|
175
|
-
"sha256": "
|
|
179
|
+
"sha256": "7d1c0506884183be94130c1562bebe4f852bfeddb607cd9607c80cd8d2c00a22"
|
|
176
180
|
}
|
|
177
181
|
},
|
|
178
182
|
{
|
|
@@ -180,7 +184,7 @@
|
|
|
180
184
|
"version": "2.15.0",
|
|
181
185
|
"source": {
|
|
182
186
|
"path": "sbom.cdx.json#components",
|
|
183
|
-
"sha256": "
|
|
187
|
+
"sha256": "7d1c0506884183be94130c1562bebe4f852bfeddb607cd9607c80cd8d2c00a22"
|
|
184
188
|
}
|
|
185
189
|
},
|
|
186
190
|
{
|
|
@@ -188,7 +192,7 @@
|
|
|
188
192
|
"version": "2.2.0",
|
|
189
193
|
"source": {
|
|
190
194
|
"path": "sbom.cdx.json#components",
|
|
191
|
-
"sha256": "
|
|
195
|
+
"sha256": "7d1c0506884183be94130c1562bebe4f852bfeddb607cd9607c80cd8d2c00a22"
|
|
192
196
|
}
|
|
193
197
|
},
|
|
194
198
|
{
|
|
@@ -196,7 +200,7 @@
|
|
|
196
200
|
"version": "2.2.0",
|
|
197
201
|
"source": {
|
|
198
202
|
"path": "sbom.cdx.json#components",
|
|
199
|
-
"sha256": "
|
|
203
|
+
"sha256": "7d1c0506884183be94130c1562bebe4f852bfeddb607cd9607c80cd8d2c00a22"
|
|
200
204
|
}
|
|
201
205
|
}
|
|
202
206
|
]
|
package/contracts.binpb
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcforges/api-client",
|
|
3
|
-
"version": "1.0.0-ci.
|
|
3
|
+
"version": "1.0.0-ci.244.1",
|
|
4
4
|
"description": "ArcForges public gRPC-Web client entry point; initial Hello World example.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"source.json"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@arcforges/proto": "1.0.0-ci.
|
|
36
|
+
"@arcforges/proto": "1.0.0-ci.244.1",
|
|
37
37
|
"@bufbuild/protobuf": "2.15.0",
|
|
38
38
|
"@connectrpc/connect": "2.2.0",
|
|
39
39
|
"@connectrpc/connect-web": "2.2.0"
|
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/api-client@1.0.0-ci.
|
|
8
|
+
"bom-ref": "pkg:npm/%40arcforges/api-client@1.0.0-ci.244.1",
|
|
9
9
|
"name": "@arcforges/api-client",
|
|
10
|
-
"version": "1.0.0-ci.
|
|
11
|
-
"purl": "pkg:npm/%40arcforges/api-client@1.0.0-ci.
|
|
10
|
+
"version": "1.0.0-ci.244.1",
|
|
11
|
+
"purl": "pkg:npm/%40arcforges/api-client@1.0.0-ci.244.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.244.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.244.1",
|
|
25
|
+
"purl": "pkg:npm/%40arcforges/proto@1.0.0-ci.244.1",
|
|
26
26
|
"licenses": [
|
|
27
27
|
{
|
|
28
28
|
"expression": "Apache-2.0"
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"dependsOn": []
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
|
-
"ref": "pkg:npm/%40arcforges/proto@1.0.0-ci.
|
|
75
|
+
"ref": "pkg:npm/%40arcforges/proto@1.0.0-ci.244.1",
|
|
76
76
|
"dependsOn": [
|
|
77
77
|
"pkg:npm/%40bufbuild/protobuf@2.15.0"
|
|
78
78
|
]
|
|
@@ -91,9 +91,9 @@
|
|
|
91
91
|
]
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
|
-
"ref": "pkg:npm/%40arcforges/api-client@1.0.0-ci.
|
|
94
|
+
"ref": "pkg:npm/%40arcforges/api-client@1.0.0-ci.244.1",
|
|
95
95
|
"dependsOn": [
|
|
96
|
-
"pkg:npm/%40arcforges/proto@1.0.0-ci.
|
|
96
|
+
"pkg:npm/%40arcforges/proto@1.0.0-ci.244.1",
|
|
97
97
|
"pkg:npm/%40bufbuild/protobuf@2.15.0",
|
|
98
98
|
"pkg:npm/%40connectrpc/connect@2.2.0",
|
|
99
99
|
"pkg:npm/%40connectrpc/connect-web@2.2.0"
|
|
@@ -0,0 +1,542 @@
|
|
|
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/inprocess-values.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 = "CommerceProto";
|
|
13
|
+
|
|
14
|
+
// Frozen per CC-04. These are read/projection and commercial-owner boundaries,
|
|
15
|
+
// not checkout-provider adapters, payment credential transport or entitlement
|
|
16
|
+
// admission logic.
|
|
17
|
+
service EntitlementService {
|
|
18
|
+
rpc GetSnapshot(EntitlementServiceGetSnapshotRequest) returns (EntitlementServiceGetSnapshotResponse);
|
|
19
|
+
rpc GetServiceTerm(EntitlementServiceGetServiceTermRequest) returns (EntitlementServiceGetServiceTermResponse);
|
|
20
|
+
rpc GetCapacity(EntitlementServiceGetCapacityRequest) returns (EntitlementServiceGetCapacityResponse);
|
|
21
|
+
rpc ListGrants(EntitlementServiceListGrantsRequest) returns (EntitlementServiceListGrantsResponse);
|
|
22
|
+
rpc GetUsage(EntitlementServiceGetUsageRequest) returns (EntitlementServiceGetUsageResponse);
|
|
23
|
+
rpc Check(EntitlementServiceCheckRequest) returns (EntitlementServiceCheckResponse);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
// Frozen per CC-04. Provider-facing webhook traffic stays on its separately
|
|
27
|
+
// declared signed HTTP boundary and is not a customer RPC.
|
|
28
|
+
service CommerceService {
|
|
29
|
+
rpc AuthoriseExtraUsage(CommerceServiceAuthoriseExtraUsageRequest) returns (CommerceServiceAuthoriseExtraUsageResponse);
|
|
30
|
+
rpc RevokeExtraUsage(CommerceServiceRevokeExtraUsageRequest) returns (CommerceServiceRevokeExtraUsageResponse);
|
|
31
|
+
rpc ExplainCharge(CommerceServiceExplainChargeRequest) returns (CommerceServiceExplainChargeResponse);
|
|
32
|
+
rpc GetCatalogue(CommerceServiceGetCatalogueRequest) returns (CommerceServiceGetCatalogueResponse);
|
|
33
|
+
rpc CreatePurchaseIntent(CommerceServiceCreatePurchaseIntentRequest) returns (CommerceServiceCreatePurchaseIntentResponse);
|
|
34
|
+
rpc CreateCheckoutAttempt(CommerceServiceCreateCheckoutAttemptRequest) returns (CommerceServiceCreateCheckoutAttemptResponse);
|
|
35
|
+
rpc GetPurchaseState(CommerceServiceGetPurchaseStateRequest) returns (CommerceServiceGetPurchaseStateResponse);
|
|
36
|
+
rpc GetSubscription(CommerceServiceGetSubscriptionRequest) returns (CommerceServiceGetSubscriptionResponse);
|
|
37
|
+
rpc CancelSubscription(CommerceServiceCancelSubscriptionRequest) returns (CommerceServiceCancelSubscriptionResponse);
|
|
38
|
+
rpc ReactivateSubscription(CommerceServiceReactivateSubscriptionRequest) returns (CommerceServiceReactivateSubscriptionResponse);
|
|
39
|
+
rpc GetCredits(CommerceServiceGetCreditsRequest) returns (CommerceServiceGetCreditsResponse);
|
|
40
|
+
rpc ListBillingHistory(CommerceServiceListBillingHistoryRequest) returns (CommerceServiceListBillingHistoryResponse);
|
|
41
|
+
rpc RequestRefund(CommerceServiceRequestRefundRequest) returns (CommerceServiceRequestRefundResponse);
|
|
42
|
+
rpc ExportEvidence(CommerceServiceExportEvidenceRequest) returns (CommerceServiceExportEvidenceResponse);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
enum SubscriptionState {
|
|
46
|
+
SUBSCRIPTION_STATE_UNSPECIFIED = 0;
|
|
47
|
+
SUBSCRIPTION_STATE_PENDING = 1;
|
|
48
|
+
SUBSCRIPTION_STATE_ACTIVE = 2;
|
|
49
|
+
SUBSCRIPTION_STATE_GRACE = 3;
|
|
50
|
+
SUBSCRIPTION_STATE_CANCEL_SCHEDULED = 4;
|
|
51
|
+
SUBSCRIPTION_STATE_ENDED = 5;
|
|
52
|
+
SUBSCRIPTION_STATE_SUSPENDED = 6;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
message EntitlementSnapshot {
|
|
56
|
+
optional int64 version = 1 [json_name = "version"];
|
|
57
|
+
repeated Availability capabilities = 2 [json_name = "capabilities"];
|
|
58
|
+
ServiceTerm service_term = 3 [json_name = "serviceTerm"];
|
|
59
|
+
repeated QuotaUsage quotas = 4 [json_name = "quotas"];
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
message ServiceTerm {
|
|
63
|
+
optional string kind = 1 [json_name = "kind"];
|
|
64
|
+
arcforges.foundation.v1.Instant starts_at = 2 [json_name = "startsAt"];
|
|
65
|
+
arcforges.foundation.v1.Instant ends_at = 3 [json_name = "endsAt"];
|
|
66
|
+
arcforges.foundation.v1.Instant grace_ends_at = 4 [json_name = "graceEndsAt"];
|
|
67
|
+
optional bool ai_admissible = 5 [json_name = "aiAdmissible"];
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
message Capacity {
|
|
71
|
+
optional uint64 available = 1 [json_name = "available"];
|
|
72
|
+
optional uint64 held = 2 [json_name = "held"];
|
|
73
|
+
optional uint64 burst = 3 [json_name = "burst"];
|
|
74
|
+
arcforges.foundation.v1.Rational recovery_rate = 4 [json_name = "recoveryRate"];
|
|
75
|
+
arcforges.foundation.v1.Instant recovery_at = 5 [json_name = "recoveryAt"];
|
|
76
|
+
optional string version = 6 [json_name = "version"];
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
message Grant {
|
|
80
|
+
arcforges.foundation.v1.Id grant_id = 1 [json_name = "grantId"];
|
|
81
|
+
optional string capability = 2 [json_name = "capability"];
|
|
82
|
+
optional string source = 3 [json_name = "source"];
|
|
83
|
+
arcforges.foundation.v1.Instant starts_at = 4 [json_name = "startsAt"];
|
|
84
|
+
arcforges.foundation.v1.Instant ends_at = 5 [json_name = "endsAt"];
|
|
85
|
+
arcforges.foundation.v1.Instant revoked_at = 6 [json_name = "revokedAt"];
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
message QuotaUsage {
|
|
89
|
+
optional string kind = 1 [json_name = "kind"];
|
|
90
|
+
optional uint64 used = 2 [json_name = "used"];
|
|
91
|
+
optional uint64 held = 3 [json_name = "held"];
|
|
92
|
+
optional uint64 limit = 4 [json_name = "limit"];
|
|
93
|
+
arcforges.foundation.v1.TimeRangeUtc period = 5 [json_name = "period"];
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
message SpendBudget {
|
|
97
|
+
arcforges.foundation.v1.Id authorisation_id = 1 [json_name = "authorisationId"];
|
|
98
|
+
optional uint64 maximum = 2 [json_name = "maximum"];
|
|
99
|
+
optional uint64 spent = 3 [json_name = "spent"];
|
|
100
|
+
optional uint64 held = 4 [json_name = "held"];
|
|
101
|
+
arcforges.foundation.v1.Instant expires_at = 5 [json_name = "expiresAt"];
|
|
102
|
+
arcforges.foundation.v1.Instant revoked_at = 6 [json_name = "revokedAt"];
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
message ChargeExplanation {
|
|
106
|
+
arcforges.foundation.v1.Id logical_request_id = 1 [json_name = "logicalRequestId"];
|
|
107
|
+
optional string state = 2 [json_name = "state"];
|
|
108
|
+
optional string reason = 3 [json_name = "reason"];
|
|
109
|
+
optional uint64 capacity_debit = 4 [json_name = "capacityDebit"];
|
|
110
|
+
optional uint64 compensation_debit = 5 [json_name = "compensationDebit"];
|
|
111
|
+
optional uint64 purchased_debit = 6 [json_name = "purchasedDebit"];
|
|
112
|
+
optional string tariff_version = 7 [json_name = "tariffVersion"];
|
|
113
|
+
optional string supplier_version = 8 [json_name = "supplierVersion"];
|
|
114
|
+
repeated AttemptCharge attempts = 9 [json_name = "attempts"];
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
message AttemptCharge {
|
|
118
|
+
arcforges.foundation.v1.Id attempt_id = 1 [json_name = "attemptId"];
|
|
119
|
+
optional string model_id = 2 [json_name = "modelId"];
|
|
120
|
+
ModelUsage usage = 3 [json_name = "usage"];
|
|
121
|
+
arcforges.foundation.v1.Decimal supplier_cost = 4 [json_name = "supplierCost"];
|
|
122
|
+
optional uint64 customer_debit = 5 [json_name = "customerDebit"];
|
|
123
|
+
optional arcforges.foundation.v1.EffectCertainty certainty = 6 [json_name = "certainty"];
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
message ModelUsage {
|
|
127
|
+
optional uint64 input_tokens = 1 [json_name = "inputTokens"];
|
|
128
|
+
optional uint64 output_tokens = 2 [json_name = "outputTokens"];
|
|
129
|
+
optional uint64 cached_input_tokens = 3 [json_name = "cachedInputTokens"];
|
|
130
|
+
arcforges.foundation.v1.Instant measured_at = 4 [json_name = "measuredAt"];
|
|
131
|
+
optional string source = 5 [json_name = "source"];
|
|
132
|
+
|
|
133
|
+
reserved 6;
|
|
134
|
+
reserved "audio_milliseconds";
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
message Offer {
|
|
138
|
+
arcforges.foundation.v1.Id offer_id = 1 [json_name = "offerId"];
|
|
139
|
+
optional string price_version = 2 [json_name = "priceVersion"];
|
|
140
|
+
optional string kind = 3 [json_name = "kind"];
|
|
141
|
+
optional string currency = 4 [json_name = "currency"];
|
|
142
|
+
arcforges.foundation.v1.Decimal amount = 5 [json_name = "amount"];
|
|
143
|
+
optional string interval = 6 [json_name = "interval"];
|
|
144
|
+
repeated string entitlements = 7 [json_name = "entitlements"];
|
|
145
|
+
optional string region = 8 [json_name = "region"];
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
message PurchaseView {
|
|
149
|
+
arcforges.foundation.v1.Id purchase_intent_id = 1 [json_name = "purchaseIntentId"];
|
|
150
|
+
optional string state = 2 [json_name = "state"];
|
|
151
|
+
arcforges.foundation.v1.Id offer_id = 3 [json_name = "offerId"];
|
|
152
|
+
arcforges.foundation.v1.Id order_id = 4 [json_name = "orderId"];
|
|
153
|
+
optional string reason = 5 [json_name = "reason"];
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
message CheckoutView {
|
|
157
|
+
arcforges.foundation.v1.Id checkout_attempt_id = 1 [json_name = "checkoutAttemptId"];
|
|
158
|
+
arcforges.foundation.v1.Id purchase_intent_id = 2 [json_name = "purchaseIntentId"];
|
|
159
|
+
optional string url = 3 [json_name = "url"];
|
|
160
|
+
arcforges.foundation.v1.Instant expires_at = 4 [json_name = "expiresAt"];
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
message SubscriptionView {
|
|
164
|
+
arcforges.foundation.v1.Id subscription_id = 1 [json_name = "subscriptionId"];
|
|
165
|
+
optional SubscriptionState state = 2 [json_name = "state"];
|
|
166
|
+
arcforges.foundation.v1.TimeRangeUtc current_period = 3 [json_name = "currentPeriod"];
|
|
167
|
+
optional bool cancel_at_period_end = 4 [json_name = "cancelAtPeriodEnd"];
|
|
168
|
+
arcforges.foundation.v1.Revision revision = 5 [json_name = "revision"];
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
message CreditPool {
|
|
172
|
+
optional uint64 available = 1 [json_name = "available"];
|
|
173
|
+
optional uint64 held = 2 [json_name = "held"];
|
|
174
|
+
repeated CreditLot lots = 3 [json_name = "lots"];
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
message CreditLot {
|
|
178
|
+
arcforges.foundation.v1.Id lot_id = 1 [json_name = "lotId"];
|
|
179
|
+
optional string kind = 2 [json_name = "kind"];
|
|
180
|
+
optional uint64 amount = 3 [json_name = "amount"];
|
|
181
|
+
optional uint64 remaining = 4 [json_name = "remaining"];
|
|
182
|
+
arcforges.foundation.v1.Instant expires_at = 5 [json_name = "expiresAt"];
|
|
183
|
+
arcforges.foundation.v1.Id source_order_id = 6 [json_name = "sourceOrderId"];
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
message BillingItem {
|
|
187
|
+
arcforges.foundation.v1.Id item_id = 1 [json_name = "itemId"];
|
|
188
|
+
optional string kind = 2 [json_name = "kind"];
|
|
189
|
+
optional string state = 3 [json_name = "state"];
|
|
190
|
+
arcforges.foundation.v1.Decimal amount = 4 [json_name = "amount"];
|
|
191
|
+
optional string currency = 5 [json_name = "currency"];
|
|
192
|
+
arcforges.foundation.v1.Instant occurred_at = 6 [json_name = "occurredAt"];
|
|
193
|
+
optional string document_url = 7 [json_name = "documentUrl"];
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
message RefundView {
|
|
197
|
+
arcforges.foundation.v1.Id refund_id = 1 [json_name = "refundId"];
|
|
198
|
+
optional string state = 2 [json_name = "state"];
|
|
199
|
+
arcforges.foundation.v1.Id payment_id = 3 [json_name = "paymentId"];
|
|
200
|
+
arcforges.foundation.v1.Decimal amount = 4 [json_name = "amount"];
|
|
201
|
+
optional string reason = 5 [json_name = "reason"];
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
message ExportJob {
|
|
205
|
+
arcforges.foundation.v1.Id export_id = 1 [json_name = "exportId"];
|
|
206
|
+
optional string state = 2 [json_name = "state"];
|
|
207
|
+
optional int32 progress = 3 [json_name = "progress"];
|
|
208
|
+
repeated arcforges.foundation.v1.VersionedRef snapshot_refs = 4 [json_name = "snapshotRefs"];
|
|
209
|
+
arcforges.foundation.v1.ArtifactRef artifact = 5 [json_name = "artifact"];
|
|
210
|
+
arcforges.foundation.v1.Instant expires_at = 6 [json_name = "expiresAt"];
|
|
211
|
+
optional string reason = 7 [json_name = "reason"];
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
message EntitlementServiceGetSnapshotRequest {
|
|
215
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
216
|
+
reserved 2 to 9;
|
|
217
|
+
}
|
|
218
|
+
message EntitlementServiceGetSnapshotValue { EntitlementSnapshot snapshot = 10 [json_name = "snapshot"]; }
|
|
219
|
+
message EntitlementServiceGetSnapshotResponse {
|
|
220
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
221
|
+
oneof outcome {
|
|
222
|
+
EntitlementServiceGetSnapshotValue value = 2 [json_name = "value"];
|
|
223
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
224
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
225
|
+
}
|
|
226
|
+
reserved 5 to 9;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
message EntitlementServiceGetServiceTermRequest {
|
|
230
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
231
|
+
reserved 2 to 9;
|
|
232
|
+
}
|
|
233
|
+
message EntitlementServiceGetServiceTermValue { ServiceTerm term = 10 [json_name = "term"]; }
|
|
234
|
+
message EntitlementServiceGetServiceTermResponse {
|
|
235
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
236
|
+
oneof outcome {
|
|
237
|
+
EntitlementServiceGetServiceTermValue value = 2 [json_name = "value"];
|
|
238
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
239
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
240
|
+
}
|
|
241
|
+
reserved 5 to 9;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
message EntitlementServiceGetCapacityRequest {
|
|
245
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
246
|
+
reserved 2 to 9;
|
|
247
|
+
}
|
|
248
|
+
message EntitlementServiceGetCapacityValue { Capacity capacity = 10 [json_name = "capacity"]; }
|
|
249
|
+
message EntitlementServiceGetCapacityResponse {
|
|
250
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
251
|
+
oneof outcome {
|
|
252
|
+
EntitlementServiceGetCapacityValue value = 2 [json_name = "value"];
|
|
253
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
254
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
255
|
+
}
|
|
256
|
+
reserved 5 to 9;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
message EntitlementServiceListGrantsRequest {
|
|
260
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
261
|
+
reserved 2 to 9;
|
|
262
|
+
arcforges.foundation.v1.PageRequest page = 10 [json_name = "page"];
|
|
263
|
+
}
|
|
264
|
+
message EntitlementServiceListGrantsValue {
|
|
265
|
+
repeated Grant items = 10 [json_name = "items"];
|
|
266
|
+
arcforges.foundation.v1.PageState page = 11 [json_name = "page"];
|
|
267
|
+
}
|
|
268
|
+
message EntitlementServiceListGrantsResponse {
|
|
269
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
270
|
+
oneof outcome {
|
|
271
|
+
EntitlementServiceListGrantsValue value = 2 [json_name = "value"];
|
|
272
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
273
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
274
|
+
}
|
|
275
|
+
reserved 5 to 9;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
message EntitlementServiceGetUsageRequest {
|
|
279
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
280
|
+
reserved 2 to 9;
|
|
281
|
+
arcforges.foundation.v1.TimeRangeUtc period = 10 [json_name = "period"];
|
|
282
|
+
}
|
|
283
|
+
message EntitlementServiceGetUsageValue { repeated QuotaUsage usage = 10 [json_name = "usage"]; }
|
|
284
|
+
message EntitlementServiceGetUsageResponse {
|
|
285
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
286
|
+
oneof outcome {
|
|
287
|
+
EntitlementServiceGetUsageValue value = 2 [json_name = "value"];
|
|
288
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
289
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
290
|
+
}
|
|
291
|
+
reserved 5 to 9;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
message EntitlementServiceCheckRequest {
|
|
295
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
296
|
+
reserved 2 to 9;
|
|
297
|
+
repeated string capabilities = 10 [json_name = "capabilities"];
|
|
298
|
+
}
|
|
299
|
+
message EntitlementServiceCheckValue { repeated Availability items = 10 [json_name = "items"]; }
|
|
300
|
+
message EntitlementServiceCheckResponse {
|
|
301
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
302
|
+
oneof outcome {
|
|
303
|
+
EntitlementServiceCheckValue value = 2 [json_name = "value"];
|
|
304
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
305
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
306
|
+
}
|
|
307
|
+
reserved 5 to 9;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
message CommerceServiceAuthoriseExtraUsageRequest {
|
|
311
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
312
|
+
reserved 2 to 9;
|
|
313
|
+
arcforges.foundation.v1.Id authorisation_id = 10 [json_name = "authorisationId"];
|
|
314
|
+
optional uint64 max_budget = 11 [json_name = "maxBudget"];
|
|
315
|
+
arcforges.foundation.v1.Instant expires_at = 12 [json_name = "expiresAt"];
|
|
316
|
+
}
|
|
317
|
+
message CommerceServiceAuthoriseExtraUsageValue { SpendBudget budget = 10 [json_name = "budget"]; }
|
|
318
|
+
message CommerceServiceAuthoriseExtraUsageResponse {
|
|
319
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
320
|
+
oneof outcome {
|
|
321
|
+
CommerceServiceAuthoriseExtraUsageValue value = 2 [json_name = "value"];
|
|
322
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
323
|
+
}
|
|
324
|
+
reserved 4 to 9;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
message CommerceServiceRevokeExtraUsageRequest {
|
|
328
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
329
|
+
reserved 2 to 9;
|
|
330
|
+
arcforges.foundation.v1.Id authorisation_id = 10 [json_name = "authorisationId"];
|
|
331
|
+
}
|
|
332
|
+
message CommerceServiceRevokeExtraUsageValue { arcforges.foundation.v1.Receipt receipt = 10 [json_name = "receipt"]; }
|
|
333
|
+
message CommerceServiceRevokeExtraUsageResponse {
|
|
334
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
335
|
+
oneof outcome {
|
|
336
|
+
CommerceServiceRevokeExtraUsageValue value = 2 [json_name = "value"];
|
|
337
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
338
|
+
}
|
|
339
|
+
reserved 4 to 9;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
message CommerceServiceExplainChargeRequest {
|
|
343
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
344
|
+
reserved 2 to 9;
|
|
345
|
+
arcforges.foundation.v1.Id logical_request_id = 10 [json_name = "logicalRequestId"];
|
|
346
|
+
}
|
|
347
|
+
message CommerceServiceExplainChargeValue { ChargeExplanation explanation = 10 [json_name = "explanation"]; }
|
|
348
|
+
message CommerceServiceExplainChargeResponse {
|
|
349
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
350
|
+
oneof outcome {
|
|
351
|
+
CommerceServiceExplainChargeValue value = 2 [json_name = "value"];
|
|
352
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
353
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
354
|
+
}
|
|
355
|
+
reserved 5 to 9;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
message CommerceServiceGetCatalogueRequest {
|
|
359
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
360
|
+
reserved 2 to 9;
|
|
361
|
+
optional string region = 10 [json_name = "region"];
|
|
362
|
+
}
|
|
363
|
+
message CommerceServiceGetCatalogueValue {
|
|
364
|
+
repeated Offer items = 10 [json_name = "items"];
|
|
365
|
+
optional string catalogue_version = 11 [json_name = "catalogueVersion"];
|
|
366
|
+
}
|
|
367
|
+
message CommerceServiceGetCatalogueResponse {
|
|
368
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
369
|
+
oneof outcome {
|
|
370
|
+
CommerceServiceGetCatalogueValue value = 2 [json_name = "value"];
|
|
371
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
372
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
373
|
+
}
|
|
374
|
+
reserved 5 to 9;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
message CommerceServiceCreatePurchaseIntentRequest {
|
|
378
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
379
|
+
reserved 2 to 9;
|
|
380
|
+
arcforges.foundation.v1.Id purchase_intent_id = 10 [json_name = "purchaseIntentId"];
|
|
381
|
+
arcforges.foundation.v1.Id offer_id = 11 [json_name = "offerId"];
|
|
382
|
+
optional string price_version = 12 [json_name = "priceVersion"];
|
|
383
|
+
optional string region = 13 [json_name = "region"];
|
|
384
|
+
}
|
|
385
|
+
message CommerceServiceCreatePurchaseIntentValue { PurchaseView purchase = 10 [json_name = "purchase"]; }
|
|
386
|
+
message CommerceServiceCreatePurchaseIntentResponse {
|
|
387
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
388
|
+
oneof outcome {
|
|
389
|
+
CommerceServiceCreatePurchaseIntentValue value = 2 [json_name = "value"];
|
|
390
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
391
|
+
}
|
|
392
|
+
reserved 4 to 9;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
message CommerceServiceCreateCheckoutAttemptRequest {
|
|
396
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
397
|
+
reserved 2 to 9;
|
|
398
|
+
arcforges.foundation.v1.Id purchase_intent_id = 10 [json_name = "purchaseIntentId"];
|
|
399
|
+
arcforges.foundation.v1.Id checkout_attempt_id = 11 [json_name = "checkoutAttemptId"];
|
|
400
|
+
optional string return_route = 12 [json_name = "returnRoute"];
|
|
401
|
+
}
|
|
402
|
+
message CommerceServiceCreateCheckoutAttemptValue { CheckoutView checkout = 10 [json_name = "checkout"]; }
|
|
403
|
+
message CommerceServiceCreateCheckoutAttemptResponse {
|
|
404
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
405
|
+
oneof outcome {
|
|
406
|
+
CommerceServiceCreateCheckoutAttemptValue value = 2 [json_name = "value"];
|
|
407
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
408
|
+
}
|
|
409
|
+
reserved 4 to 9;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
message CommerceServiceGetPurchaseStateRequest {
|
|
413
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
414
|
+
reserved 2 to 9;
|
|
415
|
+
arcforges.foundation.v1.Id purchase_intent_id = 10 [json_name = "purchaseIntentId"];
|
|
416
|
+
}
|
|
417
|
+
message CommerceServiceGetPurchaseStateValue { PurchaseView purchase = 10 [json_name = "purchase"]; }
|
|
418
|
+
message CommerceServiceGetPurchaseStateResponse {
|
|
419
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
420
|
+
oneof outcome {
|
|
421
|
+
CommerceServiceGetPurchaseStateValue value = 2 [json_name = "value"];
|
|
422
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
423
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
424
|
+
}
|
|
425
|
+
reserved 5 to 9;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
message CommerceServiceGetSubscriptionRequest {
|
|
429
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
430
|
+
reserved 2 to 9;
|
|
431
|
+
}
|
|
432
|
+
message CommerceServiceGetSubscriptionValue { SubscriptionView subscription = 10 [json_name = "subscription"]; }
|
|
433
|
+
message CommerceServiceGetSubscriptionResponse {
|
|
434
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
435
|
+
oneof outcome {
|
|
436
|
+
CommerceServiceGetSubscriptionValue value = 2 [json_name = "value"];
|
|
437
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
438
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
439
|
+
}
|
|
440
|
+
reserved 5 to 9;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
message CommerceServiceCancelSubscriptionRequest {
|
|
444
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
445
|
+
reserved 2 to 9;
|
|
446
|
+
arcforges.foundation.v1.Id subscription_id = 10 [json_name = "subscriptionId"];
|
|
447
|
+
}
|
|
448
|
+
message CommerceServiceCancelSubscriptionValue { SubscriptionView subscription = 10 [json_name = "subscription"]; }
|
|
449
|
+
message CommerceServiceCancelSubscriptionResponse {
|
|
450
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
451
|
+
oneof outcome {
|
|
452
|
+
CommerceServiceCancelSubscriptionValue value = 2 [json_name = "value"];
|
|
453
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
454
|
+
}
|
|
455
|
+
reserved 4 to 9;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
message CommerceServiceReactivateSubscriptionRequest {
|
|
459
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
460
|
+
reserved 2 to 9;
|
|
461
|
+
arcforges.foundation.v1.Id subscription_id = 10 [json_name = "subscriptionId"];
|
|
462
|
+
}
|
|
463
|
+
message CommerceServiceReactivateSubscriptionValue { SubscriptionView subscription = 10 [json_name = "subscription"]; }
|
|
464
|
+
message CommerceServiceReactivateSubscriptionResponse {
|
|
465
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
466
|
+
oneof outcome {
|
|
467
|
+
CommerceServiceReactivateSubscriptionValue value = 2 [json_name = "value"];
|
|
468
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
469
|
+
}
|
|
470
|
+
reserved 4 to 9;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
message CommerceServiceGetCreditsRequest {
|
|
474
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
475
|
+
reserved 2 to 9;
|
|
476
|
+
}
|
|
477
|
+
message CommerceServiceGetCreditsValue {
|
|
478
|
+
Capacity capacity = 10 [json_name = "capacity"];
|
|
479
|
+
repeated CreditLot compensation = 11 [json_name = "compensation"];
|
|
480
|
+
CreditPool purchased = 12 [json_name = "purchased"];
|
|
481
|
+
}
|
|
482
|
+
message CommerceServiceGetCreditsResponse {
|
|
483
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
484
|
+
oneof outcome {
|
|
485
|
+
CommerceServiceGetCreditsValue value = 2 [json_name = "value"];
|
|
486
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
487
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
488
|
+
}
|
|
489
|
+
reserved 5 to 9;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
message CommerceServiceListBillingHistoryRequest {
|
|
493
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
494
|
+
reserved 2 to 9;
|
|
495
|
+
arcforges.foundation.v1.TimeRangeUtc period = 10 [json_name = "period"];
|
|
496
|
+
arcforges.foundation.v1.PageRequest page = 11 [json_name = "page"];
|
|
497
|
+
}
|
|
498
|
+
message CommerceServiceListBillingHistoryValue {
|
|
499
|
+
repeated BillingItem items = 10 [json_name = "items"];
|
|
500
|
+
arcforges.foundation.v1.PageState page = 11 [json_name = "page"];
|
|
501
|
+
}
|
|
502
|
+
message CommerceServiceListBillingHistoryResponse {
|
|
503
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
504
|
+
oneof outcome {
|
|
505
|
+
CommerceServiceListBillingHistoryValue value = 2 [json_name = "value"];
|
|
506
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
507
|
+
arcforges.foundation.v1.EncodedBodyRef encoded_body = 4 [json_name = "encodedBody"];
|
|
508
|
+
}
|
|
509
|
+
reserved 5 to 9;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
message CommerceServiceRequestRefundRequest {
|
|
513
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
514
|
+
reserved 2 to 9;
|
|
515
|
+
arcforges.foundation.v1.Id refund_id = 10 [json_name = "refundId"];
|
|
516
|
+
arcforges.foundation.v1.Id payment_id = 11 [json_name = "paymentId"];
|
|
517
|
+
optional string reason = 12 [json_name = "reason"];
|
|
518
|
+
}
|
|
519
|
+
message CommerceServiceRequestRefundValue { RefundView refund = 10 [json_name = "refund"]; }
|
|
520
|
+
message CommerceServiceRequestRefundResponse {
|
|
521
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
522
|
+
oneof outcome {
|
|
523
|
+
CommerceServiceRequestRefundValue value = 2 [json_name = "value"];
|
|
524
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
525
|
+
}
|
|
526
|
+
reserved 4 to 9;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
message CommerceServiceExportEvidenceRequest {
|
|
530
|
+
arcforges.foundation.v1.RequestMeta meta = 1 [json_name = "meta"];
|
|
531
|
+
reserved 2 to 9;
|
|
532
|
+
arcforges.foundation.v1.TimeRangeUtc period = 10 [json_name = "period"];
|
|
533
|
+
}
|
|
534
|
+
message CommerceServiceExportEvidenceValue { ExportJob job = 10 [json_name = "job"]; }
|
|
535
|
+
message CommerceServiceExportEvidenceResponse {
|
|
536
|
+
arcforges.foundation.v1.ResponseMeta meta = 1 [json_name = "meta"];
|
|
537
|
+
oneof outcome {
|
|
538
|
+
CommerceServiceExportEvidenceValue value = 2 [json_name = "value"];
|
|
539
|
+
arcforges.foundation.v1.ArcError error = 3 [json_name = "error"];
|
|
540
|
+
}
|
|
541
|
+
reserved 4 to 9;
|
|
542
|
+
}
|
package/source.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"repository": "https://github.com/ArcForges/Contracts",
|
|
3
|
-
"commit": "
|
|
3
|
+
"commit": "063762f32c551449fb01936d9ec30fedb77260de",
|
|
4
4
|
"dirty": false,
|
|
5
|
-
"version": "1.0.0-ci.
|
|
5
|
+
"version": "1.0.0-ci.244.1",
|
|
6
6
|
"contractAccess": "public",
|
|
7
7
|
"schemaSources": {
|
|
8
8
|
"public/http/v1/inventory.schema.json": "2d17acc663de43ff847e522ddb16f32b1e7ec356df7db7dcafe8342d3fb014ce",
|
|
@@ -16,11 +16,12 @@
|
|
|
16
16
|
"public/proto/arcforges/events/v1/events.proto": "ea0ac740c06bbb5b81724b4a7e601110424cabc4940b07e579cf97d852880f43",
|
|
17
17
|
"public/proto/arcforges/foundation/v1/foundation.proto": "adff62f65799bc5523965caf40f1f6bf11cbb4e2d769f46d9e3183a72a6d24d5",
|
|
18
18
|
"public/proto/arcforges/hello/v1/hello.proto": "92489f89d1898a3d3bbea56c72116416cd0152ae8866c98745739437020c67d9",
|
|
19
|
+
"public/proto/arcforges/publicapi/v1/commerce.proto": "e0ed5700197fdb20006c7ea699d9071dd8c4ac9d4248651f8a148363ad8af9dc",
|
|
19
20
|
"public/proto/arcforges/publicapi/v1/content.proto": "1c912ac9fa37633a3e5d186cb6f3838bd886f09f935e1ce41c5a665640c54abd",
|
|
20
21
|
"public/proto/arcforges/publicapi/v1/descriptors.proto": "d8a43c27fd345d55786a67ce9776efa0b4bc089f57361c3e532dd1b5f9326161",
|
|
21
22
|
"public/proto/arcforges/publicapi/v1/inprocess-values.proto": "24921ae4f54f48800ea1201a9eee27a4e23a476b738cc3903665dff137a10eea"
|
|
22
23
|
},
|
|
23
|
-
"descriptorSha256": "
|
|
24
|
+
"descriptorSha256": "4735c9b35035a39773980752ae9f541b8fa04cb0e2c8e449596a4bc0cd01bedf",
|
|
24
25
|
"dependencyLocks": {
|
|
25
26
|
"package-lock.json": "3e536db25743ceb5a021559dbc1f31d57112211c62d94f84df34daca5382709c",
|
|
26
27
|
"src/public/dotnet/ArcForges.Contracts.Foundation/packages.lock.json": "fa17fe6057706e36ae0b9370a457536d05d0f3a8f0f72df622881bfc1628337e",
|