@percayso-community/cayso-contracts 0.23.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -11
- package/dist/assertion.d.ts +14 -2
- package/dist/assurance.js +23 -0
- package/dist/client.d.ts +26 -0
- package/dist/client.js +20 -0
- package/dist/cloud-settlement.d.ts +460 -0
- package/dist/cloud-settlement.js +16 -0
- package/dist/contract-schema.generated.d.ts +2 -1
- package/dist/contract-schema.generated.js +1907 -101
- package/dist/errors.d.ts +22 -2
- package/dist/index.d.ts +45 -3
- package/dist/index.js +44 -3
- package/dist/marketplace-settlement.d.ts +4 -3
- package/dist/operator.d.ts +298 -0
- package/dist/operator.js +48 -0
- package/dist/routes.d.ts +40 -0
- package/dist/routes.js +34 -0
- package/dist/schema-types.d.ts +48 -6
- package/dist/schema.d.ts +1 -1
- package/package.json +6 -2
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
export const CONTRACT_SCHEMA = {
|
|
17
|
-
"contractVersion": "0.
|
|
17
|
+
"contractVersion": "0.26.0",
|
|
18
18
|
"packageName": "@percayso-community/cayso-contracts",
|
|
19
19
|
"capabilities": {
|
|
20
20
|
"wallet": "cayso.wallet",
|
|
@@ -73,11 +73,25 @@ export const CONTRACT_SCHEMA = {
|
|
|
73
73
|
"method": "POST",
|
|
74
74
|
"path": "/api/buy-backs"
|
|
75
75
|
},
|
|
76
|
+
"marketplaceOrder": {
|
|
77
|
+
"method": "POST",
|
|
78
|
+
"path": "/api/marketplace/orders"
|
|
79
|
+
},
|
|
80
|
+
"standingAuthorisation": {
|
|
81
|
+
"method": "POST",
|
|
82
|
+
"path": "/api/cloud/standing-authorisations"
|
|
83
|
+
},
|
|
76
84
|
"version": {
|
|
77
85
|
"method": "GET",
|
|
78
86
|
"path": "/api/version"
|
|
79
87
|
}
|
|
80
88
|
},
|
|
89
|
+
"issuerRoutes": {
|
|
90
|
+
"cloudSettlement": {
|
|
91
|
+
"method": "POST",
|
|
92
|
+
"path": "/api/cloud/settlement-assertions"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
81
95
|
"types": {
|
|
82
96
|
"Allowance": {
|
|
83
97
|
"kind": "object",
|
|
@@ -280,6 +294,67 @@ export const CONTRACT_SCHEMA = {
|
|
|
280
294
|
}
|
|
281
295
|
}
|
|
282
296
|
},
|
|
297
|
+
"AuthorisationAcknowledgementClaims": {
|
|
298
|
+
"kind": "object",
|
|
299
|
+
"properties": {
|
|
300
|
+
"iss": {
|
|
301
|
+
"type": {
|
|
302
|
+
"scalar": "string"
|
|
303
|
+
},
|
|
304
|
+
"readonly": true,
|
|
305
|
+
"optional": false
|
|
306
|
+
},
|
|
307
|
+
"aud": {
|
|
308
|
+
"type": {
|
|
309
|
+
"ref": "PercaysoCloudAudience"
|
|
310
|
+
},
|
|
311
|
+
"readonly": true,
|
|
312
|
+
"optional": false
|
|
313
|
+
},
|
|
314
|
+
"authorisation": {
|
|
315
|
+
"type": {
|
|
316
|
+
"scalar": "string"
|
|
317
|
+
},
|
|
318
|
+
"readonly": true,
|
|
319
|
+
"optional": false
|
|
320
|
+
},
|
|
321
|
+
"instance_kid": {
|
|
322
|
+
"type": {
|
|
323
|
+
"ref": "InstanceKeyId"
|
|
324
|
+
},
|
|
325
|
+
"readonly": true,
|
|
326
|
+
"optional": false
|
|
327
|
+
},
|
|
328
|
+
"cap_cents": {
|
|
329
|
+
"type": {
|
|
330
|
+
"ref": "Cents"
|
|
331
|
+
},
|
|
332
|
+
"readonly": true,
|
|
333
|
+
"optional": false
|
|
334
|
+
},
|
|
335
|
+
"period": {
|
|
336
|
+
"type": {
|
|
337
|
+
"ref": "SettlementPeriodRule"
|
|
338
|
+
},
|
|
339
|
+
"readonly": true,
|
|
340
|
+
"optional": false
|
|
341
|
+
},
|
|
342
|
+
"iat": {
|
|
343
|
+
"type": {
|
|
344
|
+
"scalar": "number"
|
|
345
|
+
},
|
|
346
|
+
"readonly": true,
|
|
347
|
+
"optional": false
|
|
348
|
+
},
|
|
349
|
+
"exp": {
|
|
350
|
+
"type": {
|
|
351
|
+
"scalar": "number"
|
|
352
|
+
},
|
|
353
|
+
"readonly": true,
|
|
354
|
+
"optional": false
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
},
|
|
283
358
|
"Balance": {
|
|
284
359
|
"kind": "object",
|
|
285
360
|
"properties": {
|
|
@@ -591,6 +666,15 @@ export const CONTRACT_SCHEMA = {
|
|
|
591
666
|
{
|
|
592
667
|
"literal": "receipt_signing_not_configured"
|
|
593
668
|
},
|
|
669
|
+
{
|
|
670
|
+
"literal": "marketplace_order_keys_not_configured"
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"literal": "marketplace_order_store_not_configured"
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"literal": "third_party_marketplace_sale_not_served"
|
|
677
|
+
},
|
|
594
678
|
{
|
|
595
679
|
"literal": "invalid_request"
|
|
596
680
|
},
|
|
@@ -629,6 +713,12 @@ export const CONTRACT_SCHEMA = {
|
|
|
629
713
|
},
|
|
630
714
|
{
|
|
631
715
|
"ref": "MarketplaceRefundRefusal"
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"ref": "StandingAuthorisationRefusal"
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
"ref": "SettlementAssertionRefusal"
|
|
632
722
|
}
|
|
633
723
|
]
|
|
634
724
|
}
|
|
@@ -1109,6 +1199,105 @@ export const CONTRACT_SCHEMA = {
|
|
|
1109
1199
|
]
|
|
1110
1200
|
}
|
|
1111
1201
|
},
|
|
1202
|
+
"ConsumptionRow": {
|
|
1203
|
+
"kind": "object",
|
|
1204
|
+
"properties": {
|
|
1205
|
+
"authorisation": {
|
|
1206
|
+
"type": {
|
|
1207
|
+
"scalar": "string"
|
|
1208
|
+
},
|
|
1209
|
+
"readonly": true,
|
|
1210
|
+
"optional": false
|
|
1211
|
+
},
|
|
1212
|
+
"service": {
|
|
1213
|
+
"type": {
|
|
1214
|
+
"scalar": "string"
|
|
1215
|
+
},
|
|
1216
|
+
"readonly": true,
|
|
1217
|
+
"optional": false
|
|
1218
|
+
},
|
|
1219
|
+
"quantity": {
|
|
1220
|
+
"type": {
|
|
1221
|
+
"scalar": "number"
|
|
1222
|
+
},
|
|
1223
|
+
"readonly": true,
|
|
1224
|
+
"optional": false
|
|
1225
|
+
},
|
|
1226
|
+
"unit": {
|
|
1227
|
+
"type": {
|
|
1228
|
+
"scalar": "string"
|
|
1229
|
+
},
|
|
1230
|
+
"readonly": true,
|
|
1231
|
+
"optional": false
|
|
1232
|
+
},
|
|
1233
|
+
"amount_cents": {
|
|
1234
|
+
"type": {
|
|
1235
|
+
"ref": "Cents"
|
|
1236
|
+
},
|
|
1237
|
+
"readonly": true,
|
|
1238
|
+
"optional": false
|
|
1239
|
+
},
|
|
1240
|
+
"cap_cents": {
|
|
1241
|
+
"type": {
|
|
1242
|
+
"ref": "Cents"
|
|
1243
|
+
},
|
|
1244
|
+
"readonly": true,
|
|
1245
|
+
"optional": false
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
},
|
|
1249
|
+
"ConsumptionRowRefusal": {
|
|
1250
|
+
"kind": "alias",
|
|
1251
|
+
"of": {
|
|
1252
|
+
"union": [
|
|
1253
|
+
{
|
|
1254
|
+
"literal": "consumption_authorisation_unknown"
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
"literal": "consumption_authorisation_revoked"
|
|
1258
|
+
},
|
|
1259
|
+
{
|
|
1260
|
+
"literal": "consumption_cap_not_the_acknowledged_cap"
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
"literal": "consumption_over_cap"
|
|
1264
|
+
}
|
|
1265
|
+
]
|
|
1266
|
+
}
|
|
1267
|
+
},
|
|
1268
|
+
"ConsumptionRowRefused": {
|
|
1269
|
+
"kind": "object",
|
|
1270
|
+
"properties": {
|
|
1271
|
+
"outcome": {
|
|
1272
|
+
"type": {
|
|
1273
|
+
"literal": "refused"
|
|
1274
|
+
},
|
|
1275
|
+
"readonly": true,
|
|
1276
|
+
"optional": false
|
|
1277
|
+
},
|
|
1278
|
+
"error": {
|
|
1279
|
+
"type": {
|
|
1280
|
+
"ref": "ConsumptionRowRefusal"
|
|
1281
|
+
},
|
|
1282
|
+
"readonly": true,
|
|
1283
|
+
"optional": false
|
|
1284
|
+
},
|
|
1285
|
+
"leg": {
|
|
1286
|
+
"type": {
|
|
1287
|
+
"literal": "consumption"
|
|
1288
|
+
},
|
|
1289
|
+
"readonly": true,
|
|
1290
|
+
"optional": false
|
|
1291
|
+
},
|
|
1292
|
+
"row": {
|
|
1293
|
+
"type": {
|
|
1294
|
+
"scalar": "number"
|
|
1295
|
+
},
|
|
1296
|
+
"readonly": true,
|
|
1297
|
+
"optional": false
|
|
1298
|
+
}
|
|
1299
|
+
}
|
|
1300
|
+
},
|
|
1112
1301
|
"ContractOperation": {
|
|
1113
1302
|
"kind": "alias",
|
|
1114
1303
|
"of": {
|
|
@@ -1160,173 +1349,372 @@ export const CONTRACT_SCHEMA = {
|
|
|
1160
1349
|
},
|
|
1161
1350
|
{
|
|
1162
1351
|
"literal": "settle-marketplace-refund"
|
|
1163
|
-
}
|
|
1164
|
-
]
|
|
1165
|
-
}
|
|
1166
|
-
},
|
|
1167
|
-
"FounderClaimRefusal": {
|
|
1168
|
-
"kind": "alias",
|
|
1169
|
-
"of": {
|
|
1170
|
-
"union": [
|
|
1171
|
-
{
|
|
1172
|
-
"literal": "founder_genesis_not_performed"
|
|
1173
|
-
},
|
|
1174
|
-
{
|
|
1175
|
-
"literal": "founder_claim_reference_unknown"
|
|
1176
|
-
},
|
|
1177
|
-
{
|
|
1178
|
-
"literal": "founder_wallet_already_claimed"
|
|
1179
1352
|
},
|
|
1180
1353
|
{
|
|
1181
|
-
"literal": "
|
|
1182
|
-
},
|
|
1183
|
-
{
|
|
1184
|
-
"literal": "citizen_already_holds_a_wallet"
|
|
1354
|
+
"literal": "present-standing-authorisation"
|
|
1185
1355
|
}
|
|
1186
1356
|
]
|
|
1187
1357
|
}
|
|
1188
1358
|
},
|
|
1189
|
-
"
|
|
1359
|
+
"ContributionQualification": {
|
|
1190
1360
|
"kind": "alias",
|
|
1191
1361
|
"of": {
|
|
1192
1362
|
"union": [
|
|
1193
1363
|
{
|
|
1194
|
-
"
|
|
1364
|
+
"ref": "ContributionQualified"
|
|
1195
1365
|
},
|
|
1196
1366
|
{
|
|
1197
|
-
"
|
|
1367
|
+
"ref": "ContributionWithheld"
|
|
1198
1368
|
}
|
|
1199
1369
|
]
|
|
1200
1370
|
}
|
|
1201
1371
|
},
|
|
1202
|
-
"
|
|
1372
|
+
"ContributionQualified": {
|
|
1203
1373
|
"kind": "object",
|
|
1204
1374
|
"properties": {
|
|
1205
|
-
"
|
|
1206
|
-
"type": {
|
|
1207
|
-
"literal": "charge"
|
|
1208
|
-
},
|
|
1209
|
-
"readonly": true,
|
|
1210
|
-
"optional": false
|
|
1211
|
-
},
|
|
1212
|
-
"saleKind": {
|
|
1375
|
+
"gate": {
|
|
1213
1376
|
"type": {
|
|
1214
|
-
"literal": "
|
|
1377
|
+
"literal": "passed"
|
|
1215
1378
|
},
|
|
1216
1379
|
"readonly": true,
|
|
1217
1380
|
"optional": false
|
|
1218
1381
|
},
|
|
1219
|
-
"
|
|
1382
|
+
"position": {
|
|
1220
1383
|
"type": {
|
|
1221
1384
|
"scalar": "string"
|
|
1222
1385
|
},
|
|
1223
1386
|
"readonly": true,
|
|
1224
1387
|
"optional": false
|
|
1225
|
-
}
|
|
1226
|
-
|
|
1388
|
+
}
|
|
1389
|
+
}
|
|
1390
|
+
},
|
|
1391
|
+
"ContributionRow": {
|
|
1392
|
+
"kind": "object",
|
|
1393
|
+
"properties": {
|
|
1394
|
+
"node_id": {
|
|
1227
1395
|
"type": {
|
|
1228
|
-
"
|
|
1396
|
+
"ref": "NodeId"
|
|
1229
1397
|
},
|
|
1230
1398
|
"readonly": true,
|
|
1231
1399
|
"optional": false
|
|
1232
1400
|
},
|
|
1233
|
-
"
|
|
1401
|
+
"type": {
|
|
1234
1402
|
"type": {
|
|
1235
|
-
"
|
|
1403
|
+
"ref": "ContributionType"
|
|
1236
1404
|
},
|
|
1237
1405
|
"readonly": true,
|
|
1238
1406
|
"optional": false
|
|
1239
1407
|
},
|
|
1240
|
-
"
|
|
1408
|
+
"quantity": {
|
|
1241
1409
|
"type": {
|
|
1242
|
-
"scalar": "
|
|
1410
|
+
"scalar": "number"
|
|
1243
1411
|
},
|
|
1244
1412
|
"readonly": true,
|
|
1245
1413
|
"optional": false
|
|
1246
1414
|
},
|
|
1247
|
-
"
|
|
1415
|
+
"unit": {
|
|
1248
1416
|
"type": {
|
|
1249
|
-
"
|
|
1417
|
+
"scalar": "string"
|
|
1250
1418
|
},
|
|
1251
1419
|
"readonly": true,
|
|
1252
1420
|
"optional": false
|
|
1253
1421
|
},
|
|
1254
|
-
"
|
|
1422
|
+
"fulfilment": {
|
|
1255
1423
|
"type": {
|
|
1256
|
-
"scalar": "
|
|
1424
|
+
"scalar": "number"
|
|
1257
1425
|
},
|
|
1258
1426
|
"readonly": true,
|
|
1259
1427
|
"optional": false
|
|
1260
1428
|
},
|
|
1261
|
-
"
|
|
1429
|
+
"qualified": {
|
|
1262
1430
|
"type": {
|
|
1263
|
-
"ref": "
|
|
1431
|
+
"ref": "ContributionQualification"
|
|
1264
1432
|
},
|
|
1265
1433
|
"readonly": true,
|
|
1266
1434
|
"optional": false
|
|
1267
1435
|
},
|
|
1268
|
-
"
|
|
1436
|
+
"amount_cents": {
|
|
1269
1437
|
"type": {
|
|
1270
|
-
"ref": "
|
|
1438
|
+
"ref": "Cents"
|
|
1271
1439
|
},
|
|
1272
1440
|
"readonly": true,
|
|
1273
1441
|
"optional": false
|
|
1274
1442
|
}
|
|
1275
1443
|
}
|
|
1276
1444
|
},
|
|
1277
|
-
"
|
|
1445
|
+
"ContributionRowRefusal": {
|
|
1446
|
+
"kind": "alias",
|
|
1447
|
+
"of": {
|
|
1448
|
+
"literal": "contribution_node_not_bound"
|
|
1449
|
+
}
|
|
1450
|
+
},
|
|
1451
|
+
"ContributionRowRefused": {
|
|
1278
1452
|
"kind": "object",
|
|
1279
1453
|
"properties": {
|
|
1280
|
-
"
|
|
1281
|
-
"type": {
|
|
1282
|
-
"literal": "marketplace_refund"
|
|
1283
|
-
},
|
|
1284
|
-
"readonly": true,
|
|
1285
|
-
"optional": false
|
|
1286
|
-
},
|
|
1287
|
-
"saleKind": {
|
|
1454
|
+
"outcome": {
|
|
1288
1455
|
"type": {
|
|
1289
|
-
"literal": "
|
|
1456
|
+
"literal": "refused"
|
|
1290
1457
|
},
|
|
1291
1458
|
"readonly": true,
|
|
1292
1459
|
"optional": false
|
|
1293
1460
|
},
|
|
1294
|
-
"
|
|
1461
|
+
"error": {
|
|
1295
1462
|
"type": {
|
|
1296
|
-
"
|
|
1463
|
+
"ref": "ContributionRowRefusal"
|
|
1297
1464
|
},
|
|
1298
1465
|
"readonly": true,
|
|
1299
1466
|
"optional": false
|
|
1300
1467
|
},
|
|
1301
|
-
"
|
|
1468
|
+
"leg": {
|
|
1302
1469
|
"type": {
|
|
1303
|
-
"
|
|
1470
|
+
"literal": "contribution"
|
|
1304
1471
|
},
|
|
1305
1472
|
"readonly": true,
|
|
1306
1473
|
"optional": false
|
|
1307
1474
|
},
|
|
1308
|
-
"
|
|
1475
|
+
"row": {
|
|
1309
1476
|
"type": {
|
|
1310
|
-
"scalar": "
|
|
1477
|
+
"scalar": "number"
|
|
1311
1478
|
},
|
|
1312
1479
|
"readonly": true,
|
|
1313
1480
|
"optional": false
|
|
1314
|
-
}
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1481
|
+
}
|
|
1482
|
+
}
|
|
1483
|
+
},
|
|
1484
|
+
"ContributionStoreIssuer": {
|
|
1485
|
+
"kind": "alias",
|
|
1486
|
+
"of": {
|
|
1487
|
+
"union": [
|
|
1488
|
+
{
|
|
1489
|
+
"literal": "percayso-cloud-store:dev"
|
|
1318
1490
|
},
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
},
|
|
1322
|
-
"communityLeg": {
|
|
1323
|
-
"type": {
|
|
1324
|
-
"ref": "MarketplaceReceiptLeg"
|
|
1491
|
+
{
|
|
1492
|
+
"literal": "percayso-cloud-store:stage"
|
|
1325
1493
|
},
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1494
|
+
{
|
|
1495
|
+
"literal": "percayso-cloud-store:main"
|
|
1496
|
+
}
|
|
1497
|
+
]
|
|
1498
|
+
}
|
|
1499
|
+
},
|
|
1500
|
+
"ContributionType": {
|
|
1501
|
+
"kind": "alias",
|
|
1502
|
+
"of": {
|
|
1503
|
+
"union": [
|
|
1504
|
+
{
|
|
1505
|
+
"literal": "storage"
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
"literal": "compute"
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
"literal": "full-node"
|
|
1512
|
+
}
|
|
1513
|
+
]
|
|
1514
|
+
}
|
|
1515
|
+
},
|
|
1516
|
+
"ContributionWithheld": {
|
|
1517
|
+
"kind": "object",
|
|
1518
|
+
"properties": {
|
|
1519
|
+
"gate": {
|
|
1520
|
+
"type": {
|
|
1521
|
+
"literal": "withheld"
|
|
1522
|
+
},
|
|
1523
|
+
"readonly": true,
|
|
1524
|
+
"optional": false
|
|
1525
|
+
},
|
|
1526
|
+
"position": {
|
|
1527
|
+
"type": {
|
|
1528
|
+
"scalar": "string"
|
|
1529
|
+
},
|
|
1530
|
+
"readonly": true,
|
|
1531
|
+
"optional": false
|
|
1532
|
+
},
|
|
1533
|
+
"reason": {
|
|
1534
|
+
"type": {
|
|
1535
|
+
"ref": "ContributionWithheldReason"
|
|
1536
|
+
},
|
|
1537
|
+
"readonly": true,
|
|
1538
|
+
"optional": false
|
|
1539
|
+
}
|
|
1540
|
+
}
|
|
1541
|
+
},
|
|
1542
|
+
"ContributionWithheldReason": {
|
|
1543
|
+
"kind": "alias",
|
|
1544
|
+
"of": {
|
|
1545
|
+
"union": [
|
|
1546
|
+
{
|
|
1547
|
+
"literal": "node_not_bound"
|
|
1548
|
+
},
|
|
1549
|
+
{
|
|
1550
|
+
"literal": "ladder_gate_not_passed"
|
|
1551
|
+
}
|
|
1552
|
+
]
|
|
1553
|
+
}
|
|
1554
|
+
},
|
|
1555
|
+
"FounderClaimRefusal": {
|
|
1556
|
+
"kind": "alias",
|
|
1557
|
+
"of": {
|
|
1558
|
+
"union": [
|
|
1559
|
+
{
|
|
1560
|
+
"literal": "founder_genesis_not_performed"
|
|
1561
|
+
},
|
|
1562
|
+
{
|
|
1563
|
+
"literal": "founder_claim_reference_unknown"
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
"literal": "founder_wallet_already_claimed"
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
"literal": "founder_wallet_lapsed"
|
|
1570
|
+
},
|
|
1571
|
+
{
|
|
1572
|
+
"literal": "citizen_already_holds_a_wallet"
|
|
1573
|
+
}
|
|
1574
|
+
]
|
|
1575
|
+
}
|
|
1576
|
+
},
|
|
1577
|
+
"HolderType": {
|
|
1578
|
+
"kind": "alias",
|
|
1579
|
+
"of": {
|
|
1580
|
+
"union": [
|
|
1581
|
+
{
|
|
1582
|
+
"literal": "citizen"
|
|
1583
|
+
},
|
|
1584
|
+
{
|
|
1585
|
+
"literal": "organisation"
|
|
1586
|
+
}
|
|
1587
|
+
]
|
|
1588
|
+
}
|
|
1589
|
+
},
|
|
1590
|
+
"HousePublisherChargeReceiptStatement": {
|
|
1591
|
+
"kind": "object",
|
|
1592
|
+
"properties": {
|
|
1593
|
+
"movementKind": {
|
|
1594
|
+
"type": {
|
|
1595
|
+
"literal": "charge"
|
|
1596
|
+
},
|
|
1597
|
+
"readonly": true,
|
|
1598
|
+
"optional": false
|
|
1599
|
+
},
|
|
1600
|
+
"saleKind": {
|
|
1601
|
+
"type": {
|
|
1602
|
+
"literal": "house-publisher"
|
|
1603
|
+
},
|
|
1604
|
+
"readonly": true,
|
|
1605
|
+
"optional": false
|
|
1606
|
+
},
|
|
1607
|
+
"movementId": {
|
|
1608
|
+
"type": {
|
|
1609
|
+
"scalar": "string"
|
|
1610
|
+
},
|
|
1611
|
+
"readonly": true,
|
|
1612
|
+
"optional": false
|
|
1613
|
+
},
|
|
1614
|
+
"orderDigest": {
|
|
1615
|
+
"type": {
|
|
1616
|
+
"scalar": "string"
|
|
1617
|
+
},
|
|
1618
|
+
"readonly": true,
|
|
1619
|
+
"optional": false
|
|
1620
|
+
},
|
|
1621
|
+
"idempotencyKey": {
|
|
1622
|
+
"type": {
|
|
1623
|
+
"scalar": "string"
|
|
1624
|
+
},
|
|
1625
|
+
"readonly": true,
|
|
1626
|
+
"optional": false
|
|
1627
|
+
},
|
|
1628
|
+
"buyerWalletId": {
|
|
1629
|
+
"type": {
|
|
1630
|
+
"scalar": "string"
|
|
1631
|
+
},
|
|
1632
|
+
"readonly": true,
|
|
1633
|
+
"optional": false
|
|
1634
|
+
},
|
|
1635
|
+
"communityLeg": {
|
|
1636
|
+
"type": {
|
|
1637
|
+
"ref": "MarketplaceReceiptLeg"
|
|
1638
|
+
},
|
|
1639
|
+
"readonly": true,
|
|
1640
|
+
"optional": false
|
|
1641
|
+
},
|
|
1642
|
+
"allocationPolicyVersion": {
|
|
1643
|
+
"type": {
|
|
1644
|
+
"scalar": "string"
|
|
1645
|
+
},
|
|
1646
|
+
"readonly": true,
|
|
1647
|
+
"optional": false
|
|
1648
|
+
},
|
|
1649
|
+
"writtenAt": {
|
|
1650
|
+
"type": {
|
|
1651
|
+
"ref": "Millis"
|
|
1652
|
+
},
|
|
1653
|
+
"readonly": true,
|
|
1654
|
+
"optional": false
|
|
1655
|
+
},
|
|
1656
|
+
"keyId": {
|
|
1657
|
+
"type": {
|
|
1658
|
+
"ref": "MarketplaceReceiptKeyId"
|
|
1659
|
+
},
|
|
1660
|
+
"readonly": true,
|
|
1661
|
+
"optional": false
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
},
|
|
1665
|
+
"HousePublisherRefundReceiptStatement": {
|
|
1666
|
+
"kind": "object",
|
|
1667
|
+
"properties": {
|
|
1668
|
+
"movementKind": {
|
|
1669
|
+
"type": {
|
|
1670
|
+
"literal": "marketplace_refund"
|
|
1671
|
+
},
|
|
1672
|
+
"readonly": true,
|
|
1673
|
+
"optional": false
|
|
1674
|
+
},
|
|
1675
|
+
"saleKind": {
|
|
1676
|
+
"type": {
|
|
1677
|
+
"literal": "house-publisher"
|
|
1678
|
+
},
|
|
1679
|
+
"readonly": true,
|
|
1680
|
+
"optional": false
|
|
1681
|
+
},
|
|
1682
|
+
"movementId": {
|
|
1683
|
+
"type": {
|
|
1684
|
+
"scalar": "string"
|
|
1685
|
+
},
|
|
1686
|
+
"readonly": true,
|
|
1687
|
+
"optional": false
|
|
1688
|
+
},
|
|
1689
|
+
"orderDigest": {
|
|
1690
|
+
"type": {
|
|
1691
|
+
"scalar": "string"
|
|
1692
|
+
},
|
|
1693
|
+
"readonly": true,
|
|
1694
|
+
"optional": false
|
|
1695
|
+
},
|
|
1696
|
+
"idempotencyKey": {
|
|
1697
|
+
"type": {
|
|
1698
|
+
"scalar": "string"
|
|
1699
|
+
},
|
|
1700
|
+
"readonly": true,
|
|
1701
|
+
"optional": false
|
|
1702
|
+
},
|
|
1703
|
+
"buyerWalletId": {
|
|
1704
|
+
"type": {
|
|
1705
|
+
"scalar": "string"
|
|
1706
|
+
},
|
|
1707
|
+
"readonly": true,
|
|
1708
|
+
"optional": false
|
|
1709
|
+
},
|
|
1710
|
+
"communityLeg": {
|
|
1711
|
+
"type": {
|
|
1712
|
+
"ref": "MarketplaceReceiptLeg"
|
|
1713
|
+
},
|
|
1714
|
+
"readonly": true,
|
|
1715
|
+
"optional": false
|
|
1716
|
+
},
|
|
1717
|
+
"allocationPolicyVersion": {
|
|
1330
1718
|
"type": {
|
|
1331
1719
|
"scalar": "string"
|
|
1332
1720
|
},
|
|
@@ -1349,6 +1737,12 @@ export const CONTRACT_SCHEMA = {
|
|
|
1349
1737
|
}
|
|
1350
1738
|
}
|
|
1351
1739
|
},
|
|
1740
|
+
"InstanceKeyId": {
|
|
1741
|
+
"kind": "alias",
|
|
1742
|
+
"of": {
|
|
1743
|
+
"scalar": "string"
|
|
1744
|
+
}
|
|
1745
|
+
},
|
|
1352
1746
|
"InternalOperation": {
|
|
1353
1747
|
"kind": "alias",
|
|
1354
1748
|
"of": {
|
|
@@ -1895,6 +2289,12 @@ export const CONTRACT_SCHEMA = {
|
|
|
1895
2289
|
"scalar": "number"
|
|
1896
2290
|
}
|
|
1897
2291
|
},
|
|
2292
|
+
"NodeId": {
|
|
2293
|
+
"kind": "alias",
|
|
2294
|
+
"of": {
|
|
2295
|
+
"scalar": "string"
|
|
2296
|
+
}
|
|
2297
|
+
},
|
|
1898
2298
|
"OrganisationView": {
|
|
1899
2299
|
"kind": "object",
|
|
1900
2300
|
"properties": {
|
|
@@ -2073,6 +2473,12 @@ export const CONTRACT_SCHEMA = {
|
|
|
2073
2473
|
}
|
|
2074
2474
|
}
|
|
2075
2475
|
},
|
|
2476
|
+
"PercaysoCloudAudience": {
|
|
2477
|
+
"kind": "alias",
|
|
2478
|
+
"of": {
|
|
2479
|
+
"literal": "percayso-cloud"
|
|
2480
|
+
}
|
|
2481
|
+
},
|
|
2076
2482
|
"PurchaseAuthorisationResponse": {
|
|
2077
2483
|
"kind": "alias",
|
|
2078
2484
|
"of": {
|
|
@@ -2830,65 +3236,525 @@ export const CONTRACT_SCHEMA = {
|
|
|
2830
3236
|
]
|
|
2831
3237
|
}
|
|
2832
3238
|
},
|
|
2833
|
-
"
|
|
3239
|
+
"SettlementAssertionClaims": {
|
|
2834
3240
|
"kind": "object",
|
|
2835
3241
|
"properties": {
|
|
2836
|
-
"
|
|
3242
|
+
"iss": {
|
|
2837
3243
|
"type": {
|
|
2838
|
-
"
|
|
3244
|
+
"ref": "ContributionStoreIssuer"
|
|
2839
3245
|
},
|
|
2840
3246
|
"readonly": true,
|
|
2841
3247
|
"optional": false
|
|
2842
3248
|
},
|
|
2843
|
-
"
|
|
3249
|
+
"aud": {
|
|
2844
3250
|
"type": {
|
|
2845
|
-
"
|
|
3251
|
+
"literal": "cayso"
|
|
2846
3252
|
},
|
|
2847
3253
|
"readonly": true,
|
|
2848
3254
|
"optional": false
|
|
2849
3255
|
},
|
|
2850
|
-
"
|
|
3256
|
+
"period": {
|
|
2851
3257
|
"type": {
|
|
2852
|
-
"
|
|
3258
|
+
"ref": "SettlementPeriod"
|
|
2853
3259
|
},
|
|
2854
3260
|
"readonly": true,
|
|
2855
3261
|
"optional": false
|
|
2856
3262
|
},
|
|
2857
|
-
"
|
|
3263
|
+
"commitment": {
|
|
2858
3264
|
"type": {
|
|
2859
|
-
"
|
|
3265
|
+
"scalar": "string"
|
|
2860
3266
|
},
|
|
2861
3267
|
"readonly": true,
|
|
2862
3268
|
"optional": false
|
|
2863
3269
|
},
|
|
2864
|
-
"
|
|
3270
|
+
"contribution": {
|
|
2865
3271
|
"type": {
|
|
2866
|
-
"
|
|
3272
|
+
"array": {
|
|
3273
|
+
"ref": "ContributionRow"
|
|
3274
|
+
},
|
|
3275
|
+
"readonly": true
|
|
2867
3276
|
},
|
|
2868
3277
|
"readonly": true,
|
|
2869
3278
|
"optional": false
|
|
2870
|
-
}
|
|
2871
|
-
|
|
2872
|
-
},
|
|
2873
|
-
"SignUpGrantTerms": {
|
|
2874
|
-
"kind": "object",
|
|
2875
|
-
"properties": {
|
|
2876
|
-
"cents": {
|
|
3279
|
+
},
|
|
3280
|
+
"consumption": {
|
|
2877
3281
|
"type": {
|
|
2878
|
-
"
|
|
3282
|
+
"array": {
|
|
3283
|
+
"ref": "ConsumptionRow"
|
|
3284
|
+
},
|
|
3285
|
+
"readonly": true
|
|
2879
3286
|
},
|
|
2880
3287
|
"readonly": true,
|
|
2881
3288
|
"optional": false
|
|
2882
3289
|
},
|
|
2883
|
-
"
|
|
3290
|
+
"totals": {
|
|
2884
3291
|
"type": {
|
|
2885
|
-
"
|
|
3292
|
+
"ref": "SettlementTotals"
|
|
3293
|
+
},
|
|
3294
|
+
"readonly": true,
|
|
3295
|
+
"optional": false
|
|
3296
|
+
},
|
|
3297
|
+
"jti": {
|
|
3298
|
+
"type": {
|
|
3299
|
+
"scalar": "string"
|
|
3300
|
+
},
|
|
3301
|
+
"readonly": true,
|
|
3302
|
+
"optional": false
|
|
3303
|
+
},
|
|
3304
|
+
"iat": {
|
|
3305
|
+
"type": {
|
|
3306
|
+
"scalar": "number"
|
|
3307
|
+
},
|
|
3308
|
+
"readonly": true,
|
|
3309
|
+
"optional": false
|
|
3310
|
+
},
|
|
3311
|
+
"exp": {
|
|
3312
|
+
"type": {
|
|
3313
|
+
"scalar": "number"
|
|
3314
|
+
},
|
|
3315
|
+
"readonly": true,
|
|
3316
|
+
"optional": false
|
|
3317
|
+
}
|
|
3318
|
+
}
|
|
3319
|
+
},
|
|
3320
|
+
"SettlementAssertionLevelRefusal": {
|
|
3321
|
+
"kind": "alias",
|
|
3322
|
+
"of": {
|
|
3323
|
+
"union": [
|
|
3324
|
+
{
|
|
3325
|
+
"literal": "settlement_malformed"
|
|
3326
|
+
},
|
|
3327
|
+
{
|
|
3328
|
+
"literal": "settlement_issuer_not_recognised"
|
|
3329
|
+
},
|
|
3330
|
+
{
|
|
3331
|
+
"literal": "settlement_issuer_for_another_environment"
|
|
3332
|
+
},
|
|
3333
|
+
{
|
|
3334
|
+
"literal": "settlement_signature_invalid"
|
|
3335
|
+
},
|
|
3336
|
+
{
|
|
3337
|
+
"literal": "settlement_audience_wrong"
|
|
3338
|
+
},
|
|
3339
|
+
{
|
|
3340
|
+
"literal": "settlement_expired"
|
|
3341
|
+
},
|
|
3342
|
+
{
|
|
3343
|
+
"literal": "settlement_issued_in_the_future"
|
|
3344
|
+
},
|
|
3345
|
+
{
|
|
3346
|
+
"literal": "settlement_jti_not_the_period"
|
|
3347
|
+
},
|
|
3348
|
+
{
|
|
3349
|
+
"literal": "settlement_period_already_settled_differently"
|
|
3350
|
+
},
|
|
3351
|
+
{
|
|
3352
|
+
"literal": "settlement_totals_do_not_add"
|
|
3353
|
+
}
|
|
3354
|
+
]
|
|
3355
|
+
}
|
|
3356
|
+
},
|
|
3357
|
+
"SettlementAssertionRefusal": {
|
|
3358
|
+
"kind": "alias",
|
|
3359
|
+
"of": {
|
|
3360
|
+
"union": [
|
|
3361
|
+
{
|
|
3362
|
+
"ref": "SettlementAssertionLevelRefusal"
|
|
3363
|
+
},
|
|
3364
|
+
{
|
|
3365
|
+
"ref": "ContributionRowRefusal"
|
|
3366
|
+
},
|
|
3367
|
+
{
|
|
3368
|
+
"ref": "ConsumptionRowRefusal"
|
|
3369
|
+
}
|
|
3370
|
+
]
|
|
3371
|
+
}
|
|
3372
|
+
},
|
|
3373
|
+
"SettlementAssertionRefused": {
|
|
3374
|
+
"kind": "object",
|
|
3375
|
+
"properties": {
|
|
3376
|
+
"outcome": {
|
|
3377
|
+
"type": {
|
|
3378
|
+
"literal": "refused"
|
|
3379
|
+
},
|
|
3380
|
+
"readonly": true,
|
|
3381
|
+
"optional": false
|
|
3382
|
+
},
|
|
3383
|
+
"error": {
|
|
3384
|
+
"type": {
|
|
3385
|
+
"ref": "SettlementAssertionLevelRefusal"
|
|
3386
|
+
},
|
|
3387
|
+
"readonly": true,
|
|
3388
|
+
"optional": false
|
|
3389
|
+
},
|
|
3390
|
+
"leg": {
|
|
3391
|
+
"type": {
|
|
3392
|
+
"null": true
|
|
3393
|
+
},
|
|
3394
|
+
"readonly": true,
|
|
3395
|
+
"optional": false
|
|
3396
|
+
},
|
|
3397
|
+
"row": {
|
|
3398
|
+
"type": {
|
|
3399
|
+
"null": true
|
|
3400
|
+
},
|
|
3401
|
+
"readonly": true,
|
|
3402
|
+
"optional": false
|
|
3403
|
+
}
|
|
3404
|
+
}
|
|
3405
|
+
},
|
|
3406
|
+
"SettlementAssertionRequest": {
|
|
3407
|
+
"kind": "object",
|
|
3408
|
+
"properties": {
|
|
3409
|
+
"settlementAssertion": {
|
|
3410
|
+
"type": {
|
|
3411
|
+
"scalar": "string"
|
|
3412
|
+
},
|
|
3413
|
+
"readonly": true,
|
|
3414
|
+
"optional": false
|
|
3415
|
+
}
|
|
3416
|
+
}
|
|
3417
|
+
},
|
|
3418
|
+
"SettlementAssertionResponse": {
|
|
3419
|
+
"kind": "alias",
|
|
3420
|
+
"of": {
|
|
3421
|
+
"union": [
|
|
3422
|
+
{
|
|
3423
|
+
"ref": "SettlementAssertionSettled"
|
|
3424
|
+
},
|
|
3425
|
+
{
|
|
3426
|
+
"ref": "SettlementAssertionRefused"
|
|
3427
|
+
},
|
|
3428
|
+
{
|
|
3429
|
+
"ref": "ContributionRowRefused"
|
|
3430
|
+
},
|
|
3431
|
+
{
|
|
3432
|
+
"ref": "ConsumptionRowRefused"
|
|
3433
|
+
}
|
|
3434
|
+
]
|
|
3435
|
+
}
|
|
3436
|
+
},
|
|
3437
|
+
"SettlementAssertionSettled": {
|
|
3438
|
+
"kind": "object",
|
|
3439
|
+
"properties": {
|
|
3440
|
+
"outcome": {
|
|
3441
|
+
"type": {
|
|
3442
|
+
"literal": "settled"
|
|
3443
|
+
},
|
|
3444
|
+
"readonly": true,
|
|
3445
|
+
"optional": false
|
|
3446
|
+
},
|
|
3447
|
+
"jti": {
|
|
3448
|
+
"type": {
|
|
3449
|
+
"scalar": "string"
|
|
3450
|
+
},
|
|
3451
|
+
"readonly": true,
|
|
3452
|
+
"optional": false
|
|
3453
|
+
}
|
|
3454
|
+
}
|
|
3455
|
+
},
|
|
3456
|
+
"SettlementPeriod": {
|
|
3457
|
+
"kind": "object",
|
|
3458
|
+
"properties": {
|
|
3459
|
+
"id": {
|
|
3460
|
+
"type": {
|
|
3461
|
+
"ref": "SettlementPeriodId"
|
|
3462
|
+
},
|
|
3463
|
+
"readonly": true,
|
|
3464
|
+
"optional": false
|
|
3465
|
+
},
|
|
3466
|
+
"starts_at": {
|
|
3467
|
+
"type": {
|
|
3468
|
+
"scalar": "number"
|
|
3469
|
+
},
|
|
3470
|
+
"readonly": true,
|
|
3471
|
+
"optional": false
|
|
3472
|
+
},
|
|
3473
|
+
"ends_at": {
|
|
3474
|
+
"type": {
|
|
3475
|
+
"scalar": "number"
|
|
3476
|
+
},
|
|
3477
|
+
"readonly": true,
|
|
3478
|
+
"optional": false
|
|
3479
|
+
}
|
|
3480
|
+
}
|
|
3481
|
+
},
|
|
3482
|
+
"SettlementPeriodId": {
|
|
3483
|
+
"kind": "alias",
|
|
3484
|
+
"of": {
|
|
3485
|
+
"scalar": "string"
|
|
3486
|
+
}
|
|
3487
|
+
},
|
|
3488
|
+
"SettlementPeriodRule": {
|
|
3489
|
+
"kind": "alias",
|
|
3490
|
+
"of": {
|
|
3491
|
+
"scalar": "string"
|
|
3492
|
+
}
|
|
3493
|
+
},
|
|
3494
|
+
"SettlementTotals": {
|
|
3495
|
+
"kind": "object",
|
|
3496
|
+
"properties": {
|
|
3497
|
+
"contribution_cents": {
|
|
3498
|
+
"type": {
|
|
3499
|
+
"ref": "Cents"
|
|
3500
|
+
},
|
|
3501
|
+
"readonly": true,
|
|
3502
|
+
"optional": false
|
|
3503
|
+
},
|
|
3504
|
+
"consumption_cents": {
|
|
3505
|
+
"type": {
|
|
3506
|
+
"ref": "Cents"
|
|
3507
|
+
},
|
|
3508
|
+
"readonly": true,
|
|
3509
|
+
"optional": false
|
|
3510
|
+
}
|
|
3511
|
+
}
|
|
3512
|
+
},
|
|
3513
|
+
"SignUpGrant": {
|
|
3514
|
+
"kind": "object",
|
|
3515
|
+
"properties": {
|
|
3516
|
+
"movementId": {
|
|
3517
|
+
"type": {
|
|
3518
|
+
"scalar": "string"
|
|
3519
|
+
},
|
|
3520
|
+
"readonly": true,
|
|
3521
|
+
"optional": false
|
|
3522
|
+
},
|
|
3523
|
+
"cents": {
|
|
3524
|
+
"type": {
|
|
3525
|
+
"ref": "Cents"
|
|
3526
|
+
},
|
|
3527
|
+
"readonly": true,
|
|
3528
|
+
"optional": false
|
|
3529
|
+
},
|
|
3530
|
+
"restriction": {
|
|
3531
|
+
"type": {
|
|
3532
|
+
"literal": "restricted"
|
|
3533
|
+
},
|
|
3534
|
+
"readonly": true,
|
|
3535
|
+
"optional": false
|
|
3536
|
+
},
|
|
3537
|
+
"expiresAt": {
|
|
3538
|
+
"type": {
|
|
3539
|
+
"ref": "Millis"
|
|
3540
|
+
},
|
|
3541
|
+
"readonly": true,
|
|
3542
|
+
"optional": false
|
|
3543
|
+
},
|
|
3544
|
+
"grantedAt": {
|
|
3545
|
+
"type": {
|
|
3546
|
+
"ref": "Millis"
|
|
3547
|
+
},
|
|
3548
|
+
"readonly": true,
|
|
3549
|
+
"optional": false
|
|
3550
|
+
}
|
|
3551
|
+
}
|
|
3552
|
+
},
|
|
3553
|
+
"SignUpGrantTerms": {
|
|
3554
|
+
"kind": "object",
|
|
3555
|
+
"properties": {
|
|
3556
|
+
"cents": {
|
|
3557
|
+
"type": {
|
|
3558
|
+
"ref": "Cents"
|
|
3559
|
+
},
|
|
3560
|
+
"readonly": true,
|
|
3561
|
+
"optional": false
|
|
3562
|
+
},
|
|
3563
|
+
"restrictionMonths": {
|
|
3564
|
+
"type": {
|
|
3565
|
+
"scalar": "number"
|
|
3566
|
+
},
|
|
3567
|
+
"readonly": true,
|
|
3568
|
+
"optional": false
|
|
3569
|
+
}
|
|
3570
|
+
}
|
|
3571
|
+
},
|
|
3572
|
+
"StandingAuthorisationAcknowledged": {
|
|
3573
|
+
"kind": "object",
|
|
3574
|
+
"properties": {
|
|
3575
|
+
"outcome": {
|
|
3576
|
+
"type": {
|
|
3577
|
+
"literal": "acknowledged"
|
|
3578
|
+
},
|
|
3579
|
+
"readonly": true,
|
|
3580
|
+
"optional": false
|
|
3581
|
+
},
|
|
3582
|
+
"acknowledgement": {
|
|
3583
|
+
"type": {
|
|
3584
|
+
"scalar": "string"
|
|
3585
|
+
},
|
|
3586
|
+
"readonly": true,
|
|
3587
|
+
"optional": false
|
|
3588
|
+
}
|
|
3589
|
+
}
|
|
3590
|
+
},
|
|
3591
|
+
"StandingAuthorisationClaims": {
|
|
3592
|
+
"kind": "object",
|
|
3593
|
+
"properties": {
|
|
3594
|
+
"iss": {
|
|
3595
|
+
"type": {
|
|
3596
|
+
"ref": "InstanceKeyId"
|
|
3597
|
+
},
|
|
3598
|
+
"readonly": true,
|
|
3599
|
+
"optional": false
|
|
3600
|
+
},
|
|
3601
|
+
"sub": {
|
|
3602
|
+
"type": {
|
|
3603
|
+
"ref": "InstanceKeyId"
|
|
3604
|
+
},
|
|
3605
|
+
"readonly": true,
|
|
3606
|
+
"optional": false
|
|
3607
|
+
},
|
|
3608
|
+
"aud": {
|
|
3609
|
+
"type": {
|
|
3610
|
+
"ref": "PercaysoCloudAudience"
|
|
3611
|
+
},
|
|
3612
|
+
"readonly": true,
|
|
3613
|
+
"optional": false
|
|
3614
|
+
},
|
|
3615
|
+
"cap_cents": {
|
|
3616
|
+
"type": {
|
|
3617
|
+
"ref": "Cents"
|
|
3618
|
+
},
|
|
3619
|
+
"readonly": true,
|
|
3620
|
+
"optional": false
|
|
3621
|
+
},
|
|
3622
|
+
"period": {
|
|
3623
|
+
"type": {
|
|
3624
|
+
"ref": "SettlementPeriodRule"
|
|
3625
|
+
},
|
|
3626
|
+
"readonly": true,
|
|
3627
|
+
"optional": false
|
|
3628
|
+
},
|
|
3629
|
+
"iat": {
|
|
3630
|
+
"type": {
|
|
3631
|
+
"scalar": "number"
|
|
3632
|
+
},
|
|
3633
|
+
"readonly": true,
|
|
3634
|
+
"optional": false
|
|
3635
|
+
},
|
|
3636
|
+
"exp": {
|
|
3637
|
+
"type": {
|
|
3638
|
+
"scalar": "number"
|
|
3639
|
+
},
|
|
3640
|
+
"readonly": true,
|
|
3641
|
+
"optional": false
|
|
3642
|
+
},
|
|
3643
|
+
"jti": {
|
|
3644
|
+
"type": {
|
|
3645
|
+
"scalar": "string"
|
|
3646
|
+
},
|
|
3647
|
+
"readonly": true,
|
|
3648
|
+
"optional": false
|
|
3649
|
+
}
|
|
3650
|
+
}
|
|
3651
|
+
},
|
|
3652
|
+
"StandingAuthorisationRefusal": {
|
|
3653
|
+
"kind": "alias",
|
|
3654
|
+
"of": {
|
|
3655
|
+
"union": [
|
|
3656
|
+
{
|
|
3657
|
+
"literal": "assurance_not_money_grade"
|
|
3658
|
+
},
|
|
3659
|
+
{
|
|
3660
|
+
"literal": "wallet_has_no_live_binding"
|
|
3661
|
+
},
|
|
3662
|
+
{
|
|
3663
|
+
"literal": "authorisation_malformed"
|
|
3664
|
+
},
|
|
3665
|
+
{
|
|
3666
|
+
"literal": "instance_key_malformed"
|
|
3667
|
+
},
|
|
3668
|
+
{
|
|
3669
|
+
"literal": "instance_key_not_the_kid"
|
|
3670
|
+
},
|
|
3671
|
+
{
|
|
3672
|
+
"literal": "authorisation_signature_invalid"
|
|
3673
|
+
},
|
|
3674
|
+
{
|
|
3675
|
+
"literal": "authorisation_not_signed_by_its_spender"
|
|
3676
|
+
},
|
|
3677
|
+
{
|
|
3678
|
+
"literal": "authorisation_audience_wrong"
|
|
3679
|
+
},
|
|
3680
|
+
{
|
|
3681
|
+
"literal": "authorisation_expired"
|
|
3682
|
+
},
|
|
3683
|
+
{
|
|
3684
|
+
"literal": "authorisation_issued_in_the_future"
|
|
3685
|
+
},
|
|
3686
|
+
{
|
|
3687
|
+
"literal": "authorisation_outlives_its_ceiling"
|
|
3688
|
+
},
|
|
3689
|
+
{
|
|
3690
|
+
"literal": "settlement_period_rule_not_recognised"
|
|
3691
|
+
},
|
|
3692
|
+
{
|
|
3693
|
+
"literal": "authorisation_jti_reused_for_a_different_authorisation"
|
|
3694
|
+
},
|
|
3695
|
+
{
|
|
3696
|
+
"literal": "authorisation_revoked"
|
|
3697
|
+
},
|
|
3698
|
+
{
|
|
3699
|
+
"literal": "cap_not_delegable"
|
|
3700
|
+
},
|
|
3701
|
+
{
|
|
3702
|
+
"literal": "instance_key_bound_to_another_wallet"
|
|
3703
|
+
}
|
|
3704
|
+
]
|
|
3705
|
+
}
|
|
3706
|
+
},
|
|
3707
|
+
"StandingAuthorisationRefused": {
|
|
3708
|
+
"kind": "object",
|
|
3709
|
+
"properties": {
|
|
3710
|
+
"outcome": {
|
|
3711
|
+
"type": {
|
|
3712
|
+
"literal": "refused"
|
|
3713
|
+
},
|
|
3714
|
+
"readonly": true,
|
|
3715
|
+
"optional": false
|
|
3716
|
+
},
|
|
3717
|
+
"error": {
|
|
3718
|
+
"type": {
|
|
3719
|
+
"ref": "StandingAuthorisationRefusal"
|
|
3720
|
+
},
|
|
3721
|
+
"readonly": true,
|
|
3722
|
+
"optional": false
|
|
3723
|
+
}
|
|
3724
|
+
}
|
|
3725
|
+
},
|
|
3726
|
+
"StandingAuthorisationRequest": {
|
|
3727
|
+
"kind": "object",
|
|
3728
|
+
"properties": {
|
|
3729
|
+
"standingAuthorisation": {
|
|
3730
|
+
"type": {
|
|
3731
|
+
"scalar": "string"
|
|
3732
|
+
},
|
|
3733
|
+
"readonly": true,
|
|
3734
|
+
"optional": false
|
|
3735
|
+
},
|
|
3736
|
+
"instanceKey": {
|
|
3737
|
+
"type": {
|
|
3738
|
+
"scalar": "string"
|
|
2886
3739
|
},
|
|
2887
3740
|
"readonly": true,
|
|
2888
3741
|
"optional": false
|
|
2889
3742
|
}
|
|
2890
3743
|
}
|
|
2891
3744
|
},
|
|
3745
|
+
"StandingAuthorisationResponse": {
|
|
3746
|
+
"kind": "alias",
|
|
3747
|
+
"of": {
|
|
3748
|
+
"union": [
|
|
3749
|
+
{
|
|
3750
|
+
"ref": "StandingAuthorisationAcknowledged"
|
|
3751
|
+
},
|
|
3752
|
+
{
|
|
3753
|
+
"ref": "StandingAuthorisationRefused"
|
|
3754
|
+
}
|
|
3755
|
+
]
|
|
3756
|
+
}
|
|
3757
|
+
},
|
|
2892
3758
|
"StoreSignedStatement": {
|
|
2893
3759
|
"kind": "object",
|
|
2894
3760
|
"properties": {
|
|
@@ -3103,5 +3969,945 @@ export const CONTRACT_SCHEMA = {
|
|
|
3103
3969
|
}
|
|
3104
3970
|
}
|
|
3105
3971
|
}
|
|
3972
|
+
},
|
|
3973
|
+
"operator": {
|
|
3974
|
+
"routes": {
|
|
3975
|
+
"movements": {
|
|
3976
|
+
"method": "GET",
|
|
3977
|
+
"path": "/api/operator/movements",
|
|
3978
|
+
"scope": "list-movements-as-operator"
|
|
3979
|
+
},
|
|
3980
|
+
"purchases": {
|
|
3981
|
+
"method": "GET",
|
|
3982
|
+
"path": "/api/operator/purchases",
|
|
3983
|
+
"scope": "list-purchases-as-operator"
|
|
3984
|
+
},
|
|
3985
|
+
"quickenings": {
|
|
3986
|
+
"method": "GET",
|
|
3987
|
+
"path": "/api/operator/quickenings",
|
|
3988
|
+
"scope": "read-quickening-ladder-as-operator"
|
|
3989
|
+
}
|
|
3990
|
+
},
|
|
3991
|
+
"types": {
|
|
3992
|
+
"LiveQuickeningBand": {
|
|
3993
|
+
"kind": "object",
|
|
3994
|
+
"properties": {
|
|
3995
|
+
"band": {
|
|
3996
|
+
"type": {
|
|
3997
|
+
"scalar": "number"
|
|
3998
|
+
},
|
|
3999
|
+
"readonly": true,
|
|
4000
|
+
"optional": false
|
|
4001
|
+
},
|
|
4002
|
+
"publishedValuePence": {
|
|
4003
|
+
"type": {
|
|
4004
|
+
"scalar": "number"
|
|
4005
|
+
},
|
|
4006
|
+
"readonly": true,
|
|
4007
|
+
"optional": false
|
|
4008
|
+
}
|
|
4009
|
+
}
|
|
4010
|
+
},
|
|
4011
|
+
"MovementKind": {
|
|
4012
|
+
"kind": "alias",
|
|
4013
|
+
"of": {
|
|
4014
|
+
"union": [
|
|
4015
|
+
{
|
|
4016
|
+
"literal": "issuance"
|
|
4017
|
+
},
|
|
4018
|
+
{
|
|
4019
|
+
"literal": "purchase"
|
|
4020
|
+
},
|
|
4021
|
+
{
|
|
4022
|
+
"literal": "grant"
|
|
4023
|
+
},
|
|
4024
|
+
{
|
|
4025
|
+
"literal": "charge"
|
|
4026
|
+
},
|
|
4027
|
+
{
|
|
4028
|
+
"literal": "payout"
|
|
4029
|
+
},
|
|
4030
|
+
{
|
|
4031
|
+
"literal": "transfer"
|
|
4032
|
+
},
|
|
4033
|
+
{
|
|
4034
|
+
"literal": "burn"
|
|
4035
|
+
},
|
|
4036
|
+
{
|
|
4037
|
+
"literal": "forfeit"
|
|
4038
|
+
},
|
|
4039
|
+
{
|
|
4040
|
+
"literal": "commercial_payment"
|
|
4041
|
+
},
|
|
4042
|
+
{
|
|
4043
|
+
"literal": "quoted_sale"
|
|
4044
|
+
},
|
|
4045
|
+
{
|
|
4046
|
+
"literal": "buy_back"
|
|
4047
|
+
},
|
|
4048
|
+
{
|
|
4049
|
+
"literal": "quoted_sale_compensation"
|
|
4050
|
+
}
|
|
4051
|
+
]
|
|
4052
|
+
}
|
|
4053
|
+
},
|
|
4054
|
+
"OperatorAccessRefusal": {
|
|
4055
|
+
"kind": "alias",
|
|
4056
|
+
"of": {
|
|
4057
|
+
"union": [
|
|
4058
|
+
{
|
|
4059
|
+
"literal": "assertion_scope_refused"
|
|
4060
|
+
},
|
|
4061
|
+
{
|
|
4062
|
+
"literal": "subject_not_a_natural_person"
|
|
4063
|
+
},
|
|
4064
|
+
{
|
|
4065
|
+
"literal": "not_an_operator"
|
|
4066
|
+
}
|
|
4067
|
+
]
|
|
4068
|
+
}
|
|
4069
|
+
},
|
|
4070
|
+
"OperatorAuthenticationRefusal": {
|
|
4071
|
+
"kind": "alias",
|
|
4072
|
+
"of": {
|
|
4073
|
+
"union": [
|
|
4074
|
+
{
|
|
4075
|
+
"literal": "unauthenticated"
|
|
4076
|
+
},
|
|
4077
|
+
{
|
|
4078
|
+
"literal": "assertion_invalid"
|
|
4079
|
+
},
|
|
4080
|
+
{
|
|
4081
|
+
"literal": "assertion_expired"
|
|
4082
|
+
},
|
|
4083
|
+
{
|
|
4084
|
+
"literal": "assertion_issuer_refused"
|
|
4085
|
+
},
|
|
4086
|
+
{
|
|
4087
|
+
"literal": "assertion_key_refused"
|
|
4088
|
+
},
|
|
4089
|
+
{
|
|
4090
|
+
"literal": "assertion_algorithm_refused"
|
|
4091
|
+
},
|
|
4092
|
+
{
|
|
4093
|
+
"literal": "assertion_subject_refused"
|
|
4094
|
+
},
|
|
4095
|
+
{
|
|
4096
|
+
"literal": "assertion_replayed"
|
|
4097
|
+
}
|
|
4098
|
+
]
|
|
4099
|
+
}
|
|
4100
|
+
},
|
|
4101
|
+
"OperatorMovementRow": {
|
|
4102
|
+
"kind": "object",
|
|
4103
|
+
"properties": {
|
|
4104
|
+
"movementId": {
|
|
4105
|
+
"type": {
|
|
4106
|
+
"scalar": "string"
|
|
4107
|
+
},
|
|
4108
|
+
"readonly": true,
|
|
4109
|
+
"optional": false
|
|
4110
|
+
},
|
|
4111
|
+
"occurredAt": {
|
|
4112
|
+
"type": {
|
|
4113
|
+
"scalar": "string"
|
|
4114
|
+
},
|
|
4115
|
+
"readonly": true,
|
|
4116
|
+
"optional": false
|
|
4117
|
+
},
|
|
4118
|
+
"kind": {
|
|
4119
|
+
"type": {
|
|
4120
|
+
"ref": "MovementKind"
|
|
4121
|
+
},
|
|
4122
|
+
"readonly": true,
|
|
4123
|
+
"optional": false
|
|
4124
|
+
},
|
|
4125
|
+
"fromWalletId": {
|
|
4126
|
+
"type": {
|
|
4127
|
+
"union": [
|
|
4128
|
+
{
|
|
4129
|
+
"scalar": "string"
|
|
4130
|
+
},
|
|
4131
|
+
{
|
|
4132
|
+
"null": true
|
|
4133
|
+
}
|
|
4134
|
+
]
|
|
4135
|
+
},
|
|
4136
|
+
"readonly": true,
|
|
4137
|
+
"optional": false
|
|
4138
|
+
},
|
|
4139
|
+
"toWalletId": {
|
|
4140
|
+
"type": {
|
|
4141
|
+
"union": [
|
|
4142
|
+
{
|
|
4143
|
+
"scalar": "string"
|
|
4144
|
+
},
|
|
4145
|
+
{
|
|
4146
|
+
"null": true
|
|
4147
|
+
}
|
|
4148
|
+
]
|
|
4149
|
+
},
|
|
4150
|
+
"readonly": true,
|
|
4151
|
+
"optional": false
|
|
4152
|
+
},
|
|
4153
|
+
"cents": {
|
|
4154
|
+
"type": {
|
|
4155
|
+
"ref": "Cents"
|
|
4156
|
+
},
|
|
4157
|
+
"readonly": true,
|
|
4158
|
+
"optional": false
|
|
4159
|
+
},
|
|
4160
|
+
"restriction": {
|
|
4161
|
+
"type": {
|
|
4162
|
+
"union": [
|
|
4163
|
+
{
|
|
4164
|
+
"literal": "restricted"
|
|
4165
|
+
},
|
|
4166
|
+
{
|
|
4167
|
+
"literal": "unrestricted"
|
|
4168
|
+
}
|
|
4169
|
+
]
|
|
4170
|
+
},
|
|
4171
|
+
"readonly": true,
|
|
4172
|
+
"optional": false
|
|
4173
|
+
}
|
|
4174
|
+
}
|
|
4175
|
+
},
|
|
4176
|
+
"OperatorMovementsError": {
|
|
4177
|
+
"kind": "object",
|
|
4178
|
+
"properties": {
|
|
4179
|
+
"error": {
|
|
4180
|
+
"type": {
|
|
4181
|
+
"ref": "OperatorMovementsErrorCode"
|
|
4182
|
+
},
|
|
4183
|
+
"readonly": true,
|
|
4184
|
+
"optional": false
|
|
4185
|
+
}
|
|
4186
|
+
}
|
|
4187
|
+
},
|
|
4188
|
+
"OperatorMovementsErrorCode": {
|
|
4189
|
+
"kind": "alias",
|
|
4190
|
+
"of": {
|
|
4191
|
+
"union": [
|
|
4192
|
+
{
|
|
4193
|
+
"ref": "OperatorMovementsQueryRefusal"
|
|
4194
|
+
},
|
|
4195
|
+
{
|
|
4196
|
+
"ref": "OperatorAuthenticationRefusal"
|
|
4197
|
+
},
|
|
4198
|
+
{
|
|
4199
|
+
"ref": "OperatorAccessRefusal"
|
|
4200
|
+
},
|
|
4201
|
+
{
|
|
4202
|
+
"ref": "OperatorRateLimited"
|
|
4203
|
+
},
|
|
4204
|
+
{
|
|
4205
|
+
"ref": "OperatorReadUnavailable"
|
|
4206
|
+
},
|
|
4207
|
+
{
|
|
4208
|
+
"ref": "OperatorMovementsUnavailable"
|
|
4209
|
+
},
|
|
4210
|
+
{
|
|
4211
|
+
"ref": "OperatorReadFailed"
|
|
4212
|
+
}
|
|
4213
|
+
]
|
|
4214
|
+
}
|
|
4215
|
+
},
|
|
4216
|
+
"OperatorMovementsPage": {
|
|
4217
|
+
"kind": "object",
|
|
4218
|
+
"properties": {
|
|
4219
|
+
"movements": {
|
|
4220
|
+
"type": {
|
|
4221
|
+
"array": {
|
|
4222
|
+
"ref": "OperatorMovementRow"
|
|
4223
|
+
},
|
|
4224
|
+
"readonly": true
|
|
4225
|
+
},
|
|
4226
|
+
"readonly": true,
|
|
4227
|
+
"optional": false
|
|
4228
|
+
},
|
|
4229
|
+
"nextCursor": {
|
|
4230
|
+
"type": {
|
|
4231
|
+
"union": [
|
|
4232
|
+
{
|
|
4233
|
+
"scalar": "string"
|
|
4234
|
+
},
|
|
4235
|
+
{
|
|
4236
|
+
"null": true
|
|
4237
|
+
}
|
|
4238
|
+
]
|
|
4239
|
+
},
|
|
4240
|
+
"readonly": true,
|
|
4241
|
+
"optional": false
|
|
4242
|
+
},
|
|
4243
|
+
"anchor": {
|
|
4244
|
+
"type": {
|
|
4245
|
+
"union": [
|
|
4246
|
+
{
|
|
4247
|
+
"scalar": "string"
|
|
4248
|
+
},
|
|
4249
|
+
{
|
|
4250
|
+
"null": true
|
|
4251
|
+
}
|
|
4252
|
+
]
|
|
4253
|
+
},
|
|
4254
|
+
"readonly": true,
|
|
4255
|
+
"optional": false
|
|
4256
|
+
},
|
|
4257
|
+
"total": {
|
|
4258
|
+
"type": {
|
|
4259
|
+
"scalar": "number"
|
|
4260
|
+
},
|
|
4261
|
+
"readonly": true,
|
|
4262
|
+
"optional": false
|
|
4263
|
+
},
|
|
4264
|
+
"pageCount": {
|
|
4265
|
+
"type": {
|
|
4266
|
+
"scalar": "number"
|
|
4267
|
+
},
|
|
4268
|
+
"readonly": true,
|
|
4269
|
+
"optional": false
|
|
4270
|
+
},
|
|
4271
|
+
"page": {
|
|
4272
|
+
"type": {
|
|
4273
|
+
"scalar": "number"
|
|
4274
|
+
},
|
|
4275
|
+
"readonly": true,
|
|
4276
|
+
"optional": false
|
|
4277
|
+
}
|
|
4278
|
+
}
|
|
4279
|
+
},
|
|
4280
|
+
"OperatorMovementsQuery": {
|
|
4281
|
+
"kind": "object",
|
|
4282
|
+
"properties": {
|
|
4283
|
+
"after": {
|
|
4284
|
+
"type": {
|
|
4285
|
+
"scalar": "string"
|
|
4286
|
+
},
|
|
4287
|
+
"readonly": true,
|
|
4288
|
+
"optional": true
|
|
4289
|
+
},
|
|
4290
|
+
"anchor": {
|
|
4291
|
+
"type": {
|
|
4292
|
+
"scalar": "string"
|
|
4293
|
+
},
|
|
4294
|
+
"readonly": true,
|
|
4295
|
+
"optional": true
|
|
4296
|
+
},
|
|
4297
|
+
"limit": {
|
|
4298
|
+
"type": {
|
|
4299
|
+
"scalar": "number"
|
|
4300
|
+
},
|
|
4301
|
+
"readonly": true,
|
|
4302
|
+
"optional": true
|
|
4303
|
+
},
|
|
4304
|
+
"page": {
|
|
4305
|
+
"type": {
|
|
4306
|
+
"scalar": "number"
|
|
4307
|
+
},
|
|
4308
|
+
"readonly": true,
|
|
4309
|
+
"optional": true
|
|
4310
|
+
},
|
|
4311
|
+
"walletId": {
|
|
4312
|
+
"type": {
|
|
4313
|
+
"scalar": "string"
|
|
4314
|
+
},
|
|
4315
|
+
"readonly": true,
|
|
4316
|
+
"optional": true
|
|
4317
|
+
},
|
|
4318
|
+
"from": {
|
|
4319
|
+
"type": {
|
|
4320
|
+
"scalar": "string"
|
|
4321
|
+
},
|
|
4322
|
+
"readonly": true,
|
|
4323
|
+
"optional": true
|
|
4324
|
+
},
|
|
4325
|
+
"to": {
|
|
4326
|
+
"type": {
|
|
4327
|
+
"scalar": "string"
|
|
4328
|
+
},
|
|
4329
|
+
"readonly": true,
|
|
4330
|
+
"optional": true
|
|
4331
|
+
},
|
|
4332
|
+
"kind": {
|
|
4333
|
+
"type": {
|
|
4334
|
+
"ref": "MovementKind"
|
|
4335
|
+
},
|
|
4336
|
+
"readonly": true,
|
|
4337
|
+
"optional": true
|
|
4338
|
+
}
|
|
4339
|
+
}
|
|
4340
|
+
},
|
|
4341
|
+
"OperatorMovementsQueryRefusal": {
|
|
4342
|
+
"kind": "alias",
|
|
4343
|
+
"of": {
|
|
4344
|
+
"union": [
|
|
4345
|
+
{
|
|
4346
|
+
"literal": "invalid_cursor"
|
|
4347
|
+
},
|
|
4348
|
+
{
|
|
4349
|
+
"literal": "invalid_anchor"
|
|
4350
|
+
},
|
|
4351
|
+
{
|
|
4352
|
+
"literal": "invalid_wallet_id"
|
|
4353
|
+
},
|
|
4354
|
+
{
|
|
4355
|
+
"literal": "invalid_from"
|
|
4356
|
+
},
|
|
4357
|
+
{
|
|
4358
|
+
"literal": "invalid_to"
|
|
4359
|
+
},
|
|
4360
|
+
{
|
|
4361
|
+
"literal": "invalid_kind"
|
|
4362
|
+
},
|
|
4363
|
+
{
|
|
4364
|
+
"literal": "status_not_filterable_on_movements"
|
|
4365
|
+
},
|
|
4366
|
+
{
|
|
4367
|
+
"literal": "repeated_walletId"
|
|
4368
|
+
},
|
|
4369
|
+
{
|
|
4370
|
+
"literal": "repeated_from"
|
|
4371
|
+
},
|
|
4372
|
+
{
|
|
4373
|
+
"literal": "repeated_to"
|
|
4374
|
+
},
|
|
4375
|
+
{
|
|
4376
|
+
"literal": "repeated_kind"
|
|
4377
|
+
}
|
|
4378
|
+
]
|
|
4379
|
+
}
|
|
4380
|
+
},
|
|
4381
|
+
"OperatorMovementsResponse": {
|
|
4382
|
+
"kind": "alias",
|
|
4383
|
+
"of": {
|
|
4384
|
+
"union": [
|
|
4385
|
+
{
|
|
4386
|
+
"ref": "OperatorMovementsPage"
|
|
4387
|
+
},
|
|
4388
|
+
{
|
|
4389
|
+
"ref": "OperatorVerificationRefused"
|
|
4390
|
+
},
|
|
4391
|
+
{
|
|
4392
|
+
"ref": "OperatorMovementsError"
|
|
4393
|
+
}
|
|
4394
|
+
]
|
|
4395
|
+
}
|
|
4396
|
+
},
|
|
4397
|
+
"OperatorMovementsUnavailable": {
|
|
4398
|
+
"kind": "alias",
|
|
4399
|
+
"of": {
|
|
4400
|
+
"literal": "operator_movements_reader_not_configured"
|
|
4401
|
+
}
|
|
4402
|
+
},
|
|
4403
|
+
"OperatorPurchaseRow": {
|
|
4404
|
+
"kind": "object",
|
|
4405
|
+
"properties": {
|
|
4406
|
+
"purchaseId": {
|
|
4407
|
+
"type": {
|
|
4408
|
+
"scalar": "string"
|
|
4409
|
+
},
|
|
4410
|
+
"readonly": true,
|
|
4411
|
+
"optional": false
|
|
4412
|
+
},
|
|
4413
|
+
"createdAt": {
|
|
4414
|
+
"type": {
|
|
4415
|
+
"scalar": "string"
|
|
4416
|
+
},
|
|
4417
|
+
"readonly": true,
|
|
4418
|
+
"optional": false
|
|
4419
|
+
},
|
|
4420
|
+
"walletId": {
|
|
4421
|
+
"type": {
|
|
4422
|
+
"scalar": "string"
|
|
4423
|
+
},
|
|
4424
|
+
"readonly": true,
|
|
4425
|
+
"optional": false
|
|
4426
|
+
},
|
|
4427
|
+
"cents": {
|
|
4428
|
+
"type": {
|
|
4429
|
+
"ref": "Cents"
|
|
4430
|
+
},
|
|
4431
|
+
"readonly": true,
|
|
4432
|
+
"optional": false
|
|
4433
|
+
},
|
|
4434
|
+
"status": {
|
|
4435
|
+
"type": {
|
|
4436
|
+
"ref": "PurchaseStatus"
|
|
4437
|
+
},
|
|
4438
|
+
"readonly": true,
|
|
4439
|
+
"optional": false
|
|
4440
|
+
},
|
|
4441
|
+
"failureReason": {
|
|
4442
|
+
"type": {
|
|
4443
|
+
"union": [
|
|
4444
|
+
{
|
|
4445
|
+
"ref": "PurchaseFailureReason"
|
|
4446
|
+
},
|
|
4447
|
+
{
|
|
4448
|
+
"null": true
|
|
4449
|
+
}
|
|
4450
|
+
]
|
|
4451
|
+
},
|
|
4452
|
+
"readonly": true,
|
|
4453
|
+
"optional": false
|
|
4454
|
+
}
|
|
4455
|
+
}
|
|
4456
|
+
},
|
|
4457
|
+
"OperatorPurchasesError": {
|
|
4458
|
+
"kind": "object",
|
|
4459
|
+
"properties": {
|
|
4460
|
+
"error": {
|
|
4461
|
+
"type": {
|
|
4462
|
+
"ref": "OperatorPurchasesErrorCode"
|
|
4463
|
+
},
|
|
4464
|
+
"readonly": true,
|
|
4465
|
+
"optional": false
|
|
4466
|
+
}
|
|
4467
|
+
}
|
|
4468
|
+
},
|
|
4469
|
+
"OperatorPurchasesErrorCode": {
|
|
4470
|
+
"kind": "alias",
|
|
4471
|
+
"of": {
|
|
4472
|
+
"union": [
|
|
4473
|
+
{
|
|
4474
|
+
"ref": "OperatorPurchasesQueryRefusal"
|
|
4475
|
+
},
|
|
4476
|
+
{
|
|
4477
|
+
"ref": "OperatorAuthenticationRefusal"
|
|
4478
|
+
},
|
|
4479
|
+
{
|
|
4480
|
+
"ref": "OperatorAccessRefusal"
|
|
4481
|
+
},
|
|
4482
|
+
{
|
|
4483
|
+
"ref": "OperatorRateLimited"
|
|
4484
|
+
},
|
|
4485
|
+
{
|
|
4486
|
+
"ref": "OperatorReadUnavailable"
|
|
4487
|
+
},
|
|
4488
|
+
{
|
|
4489
|
+
"ref": "OperatorPurchasesUnavailable"
|
|
4490
|
+
},
|
|
4491
|
+
{
|
|
4492
|
+
"ref": "OperatorReadFailed"
|
|
4493
|
+
}
|
|
4494
|
+
]
|
|
4495
|
+
}
|
|
4496
|
+
},
|
|
4497
|
+
"OperatorPurchasesPage": {
|
|
4498
|
+
"kind": "object",
|
|
4499
|
+
"properties": {
|
|
4500
|
+
"purchases": {
|
|
4501
|
+
"type": {
|
|
4502
|
+
"array": {
|
|
4503
|
+
"ref": "OperatorPurchaseRow"
|
|
4504
|
+
},
|
|
4505
|
+
"readonly": true
|
|
4506
|
+
},
|
|
4507
|
+
"readonly": true,
|
|
4508
|
+
"optional": false
|
|
4509
|
+
},
|
|
4510
|
+
"nextCursor": {
|
|
4511
|
+
"type": {
|
|
4512
|
+
"union": [
|
|
4513
|
+
{
|
|
4514
|
+
"scalar": "string"
|
|
4515
|
+
},
|
|
4516
|
+
{
|
|
4517
|
+
"null": true
|
|
4518
|
+
}
|
|
4519
|
+
]
|
|
4520
|
+
},
|
|
4521
|
+
"readonly": true,
|
|
4522
|
+
"optional": false
|
|
4523
|
+
},
|
|
4524
|
+
"anchor": {
|
|
4525
|
+
"type": {
|
|
4526
|
+
"union": [
|
|
4527
|
+
{
|
|
4528
|
+
"scalar": "string"
|
|
4529
|
+
},
|
|
4530
|
+
{
|
|
4531
|
+
"null": true
|
|
4532
|
+
}
|
|
4533
|
+
]
|
|
4534
|
+
},
|
|
4535
|
+
"readonly": true,
|
|
4536
|
+
"optional": false
|
|
4537
|
+
},
|
|
4538
|
+
"total": {
|
|
4539
|
+
"type": {
|
|
4540
|
+
"scalar": "number"
|
|
4541
|
+
},
|
|
4542
|
+
"readonly": true,
|
|
4543
|
+
"optional": false
|
|
4544
|
+
},
|
|
4545
|
+
"pageCount": {
|
|
4546
|
+
"type": {
|
|
4547
|
+
"scalar": "number"
|
|
4548
|
+
},
|
|
4549
|
+
"readonly": true,
|
|
4550
|
+
"optional": false
|
|
4551
|
+
},
|
|
4552
|
+
"page": {
|
|
4553
|
+
"type": {
|
|
4554
|
+
"scalar": "number"
|
|
4555
|
+
},
|
|
4556
|
+
"readonly": true,
|
|
4557
|
+
"optional": false
|
|
4558
|
+
}
|
|
4559
|
+
}
|
|
4560
|
+
},
|
|
4561
|
+
"OperatorPurchasesQuery": {
|
|
4562
|
+
"kind": "object",
|
|
4563
|
+
"properties": {
|
|
4564
|
+
"after": {
|
|
4565
|
+
"type": {
|
|
4566
|
+
"scalar": "string"
|
|
4567
|
+
},
|
|
4568
|
+
"readonly": true,
|
|
4569
|
+
"optional": true
|
|
4570
|
+
},
|
|
4571
|
+
"anchor": {
|
|
4572
|
+
"type": {
|
|
4573
|
+
"scalar": "string"
|
|
4574
|
+
},
|
|
4575
|
+
"readonly": true,
|
|
4576
|
+
"optional": true
|
|
4577
|
+
},
|
|
4578
|
+
"limit": {
|
|
4579
|
+
"type": {
|
|
4580
|
+
"scalar": "number"
|
|
4581
|
+
},
|
|
4582
|
+
"readonly": true,
|
|
4583
|
+
"optional": true
|
|
4584
|
+
},
|
|
4585
|
+
"page": {
|
|
4586
|
+
"type": {
|
|
4587
|
+
"scalar": "number"
|
|
4588
|
+
},
|
|
4589
|
+
"readonly": true,
|
|
4590
|
+
"optional": true
|
|
4591
|
+
},
|
|
4592
|
+
"walletId": {
|
|
4593
|
+
"type": {
|
|
4594
|
+
"scalar": "string"
|
|
4595
|
+
},
|
|
4596
|
+
"readonly": true,
|
|
4597
|
+
"optional": true
|
|
4598
|
+
},
|
|
4599
|
+
"from": {
|
|
4600
|
+
"type": {
|
|
4601
|
+
"scalar": "string"
|
|
4602
|
+
},
|
|
4603
|
+
"readonly": true,
|
|
4604
|
+
"optional": true
|
|
4605
|
+
},
|
|
4606
|
+
"to": {
|
|
4607
|
+
"type": {
|
|
4608
|
+
"scalar": "string"
|
|
4609
|
+
},
|
|
4610
|
+
"readonly": true,
|
|
4611
|
+
"optional": true
|
|
4612
|
+
},
|
|
4613
|
+
"status": {
|
|
4614
|
+
"type": {
|
|
4615
|
+
"ref": "PurchaseStatus"
|
|
4616
|
+
},
|
|
4617
|
+
"readonly": true,
|
|
4618
|
+
"optional": true
|
|
4619
|
+
},
|
|
4620
|
+
"failureReason": {
|
|
4621
|
+
"type": {
|
|
4622
|
+
"ref": "PurchaseFailureReason"
|
|
4623
|
+
},
|
|
4624
|
+
"readonly": true,
|
|
4625
|
+
"optional": true
|
|
4626
|
+
}
|
|
4627
|
+
}
|
|
4628
|
+
},
|
|
4629
|
+
"OperatorPurchasesQueryRefusal": {
|
|
4630
|
+
"kind": "alias",
|
|
4631
|
+
"of": {
|
|
4632
|
+
"union": [
|
|
4633
|
+
{
|
|
4634
|
+
"literal": "invalid_cursor"
|
|
4635
|
+
},
|
|
4636
|
+
{
|
|
4637
|
+
"literal": "invalid_anchor"
|
|
4638
|
+
},
|
|
4639
|
+
{
|
|
4640
|
+
"literal": "invalid_wallet_id"
|
|
4641
|
+
},
|
|
4642
|
+
{
|
|
4643
|
+
"literal": "invalid_from"
|
|
4644
|
+
},
|
|
4645
|
+
{
|
|
4646
|
+
"literal": "invalid_to"
|
|
4647
|
+
},
|
|
4648
|
+
{
|
|
4649
|
+
"literal": "invalid_status"
|
|
4650
|
+
},
|
|
4651
|
+
{
|
|
4652
|
+
"literal": "invalid_failure_reason"
|
|
4653
|
+
},
|
|
4654
|
+
{
|
|
4655
|
+
"literal": "repeated_walletId"
|
|
4656
|
+
},
|
|
4657
|
+
{
|
|
4658
|
+
"literal": "repeated_from"
|
|
4659
|
+
},
|
|
4660
|
+
{
|
|
4661
|
+
"literal": "repeated_to"
|
|
4662
|
+
},
|
|
4663
|
+
{
|
|
4664
|
+
"literal": "repeated_status"
|
|
4665
|
+
},
|
|
4666
|
+
{
|
|
4667
|
+
"literal": "repeated_failureReason"
|
|
4668
|
+
}
|
|
4669
|
+
]
|
|
4670
|
+
}
|
|
4671
|
+
},
|
|
4672
|
+
"OperatorPurchasesResponse": {
|
|
4673
|
+
"kind": "alias",
|
|
4674
|
+
"of": {
|
|
4675
|
+
"union": [
|
|
4676
|
+
{
|
|
4677
|
+
"ref": "OperatorPurchasesPage"
|
|
4678
|
+
},
|
|
4679
|
+
{
|
|
4680
|
+
"ref": "OperatorVerificationRefused"
|
|
4681
|
+
},
|
|
4682
|
+
{
|
|
4683
|
+
"ref": "OperatorPurchasesError"
|
|
4684
|
+
}
|
|
4685
|
+
]
|
|
4686
|
+
}
|
|
4687
|
+
},
|
|
4688
|
+
"OperatorPurchasesUnavailable": {
|
|
4689
|
+
"kind": "alias",
|
|
4690
|
+
"of": {
|
|
4691
|
+
"literal": "operator_purchases_reader_not_configured"
|
|
4692
|
+
}
|
|
4693
|
+
},
|
|
4694
|
+
"OperatorRateLimited": {
|
|
4695
|
+
"kind": "alias",
|
|
4696
|
+
"of": {
|
|
4697
|
+
"literal": "request_rate_limited"
|
|
4698
|
+
}
|
|
4699
|
+
},
|
|
4700
|
+
"OperatorReadFailed": {
|
|
4701
|
+
"kind": "alias",
|
|
4702
|
+
"of": {
|
|
4703
|
+
"literal": "internal_error"
|
|
4704
|
+
}
|
|
4705
|
+
},
|
|
4706
|
+
"OperatorReadRoute": {
|
|
4707
|
+
"kind": "object",
|
|
4708
|
+
"properties": {
|
|
4709
|
+
"method": {
|
|
4710
|
+
"type": {
|
|
4711
|
+
"literal": "GET"
|
|
4712
|
+
},
|
|
4713
|
+
"readonly": true,
|
|
4714
|
+
"optional": false
|
|
4715
|
+
},
|
|
4716
|
+
"path": {
|
|
4717
|
+
"type": {
|
|
4718
|
+
"scalar": "string"
|
|
4719
|
+
},
|
|
4720
|
+
"readonly": true,
|
|
4721
|
+
"optional": false
|
|
4722
|
+
},
|
|
4723
|
+
"scope": {
|
|
4724
|
+
"type": {
|
|
4725
|
+
"ref": "OperatorReadScope"
|
|
4726
|
+
},
|
|
4727
|
+
"readonly": true,
|
|
4728
|
+
"optional": false
|
|
4729
|
+
}
|
|
4730
|
+
}
|
|
4731
|
+
},
|
|
4732
|
+
"OperatorReadScope": {
|
|
4733
|
+
"kind": "alias",
|
|
4734
|
+
"of": {
|
|
4735
|
+
"union": [
|
|
4736
|
+
{
|
|
4737
|
+
"literal": "list-movements-as-operator"
|
|
4738
|
+
},
|
|
4739
|
+
{
|
|
4740
|
+
"literal": "list-purchases-as-operator"
|
|
4741
|
+
},
|
|
4742
|
+
{
|
|
4743
|
+
"literal": "read-quickening-ladder-as-operator"
|
|
4744
|
+
}
|
|
4745
|
+
]
|
|
4746
|
+
}
|
|
4747
|
+
},
|
|
4748
|
+
"OperatorReadUnavailable": {
|
|
4749
|
+
"kind": "alias",
|
|
4750
|
+
"of": {
|
|
4751
|
+
"union": [
|
|
4752
|
+
{
|
|
4753
|
+
"literal": "verifier_not_configured"
|
|
4754
|
+
},
|
|
4755
|
+
{
|
|
4756
|
+
"literal": "issuer_registry_not_configured"
|
|
4757
|
+
},
|
|
4758
|
+
{
|
|
4759
|
+
"literal": "operator_read_audit_unavailable"
|
|
4760
|
+
}
|
|
4761
|
+
]
|
|
4762
|
+
}
|
|
4763
|
+
},
|
|
4764
|
+
"OperatorVerificationRefused": {
|
|
4765
|
+
"kind": "object",
|
|
4766
|
+
"properties": {
|
|
4767
|
+
"outcome": {
|
|
4768
|
+
"type": {
|
|
4769
|
+
"literal": "refused"
|
|
4770
|
+
},
|
|
4771
|
+
"readonly": true,
|
|
4772
|
+
"optional": false
|
|
4773
|
+
},
|
|
4774
|
+
"error": {
|
|
4775
|
+
"type": {
|
|
4776
|
+
"literal": "verification_refused"
|
|
4777
|
+
},
|
|
4778
|
+
"readonly": true,
|
|
4779
|
+
"optional": false
|
|
4780
|
+
}
|
|
4781
|
+
}
|
|
4782
|
+
},
|
|
4783
|
+
"QuickeningLadder": {
|
|
4784
|
+
"kind": "object",
|
|
4785
|
+
"properties": {
|
|
4786
|
+
"bands": {
|
|
4787
|
+
"type": {
|
|
4788
|
+
"array": {
|
|
4789
|
+
"ref": "QuickeningLadderBand"
|
|
4790
|
+
},
|
|
4791
|
+
"readonly": true
|
|
4792
|
+
},
|
|
4793
|
+
"readonly": true,
|
|
4794
|
+
"optional": false
|
|
4795
|
+
},
|
|
4796
|
+
"live": {
|
|
4797
|
+
"type": {
|
|
4798
|
+
"union": [
|
|
4799
|
+
{
|
|
4800
|
+
"ref": "LiveQuickeningBand"
|
|
4801
|
+
},
|
|
4802
|
+
{
|
|
4803
|
+
"null": true
|
|
4804
|
+
}
|
|
4805
|
+
]
|
|
4806
|
+
},
|
|
4807
|
+
"readonly": true,
|
|
4808
|
+
"optional": false
|
|
4809
|
+
},
|
|
4810
|
+
"activeCitizens": {
|
|
4811
|
+
"type": {
|
|
4812
|
+
"scalar": "number"
|
|
4813
|
+
},
|
|
4814
|
+
"readonly": true,
|
|
4815
|
+
"optional": false
|
|
4816
|
+
}
|
|
4817
|
+
}
|
|
4818
|
+
},
|
|
4819
|
+
"QuickeningLadderBand": {
|
|
4820
|
+
"kind": "object",
|
|
4821
|
+
"properties": {
|
|
4822
|
+
"band": {
|
|
4823
|
+
"type": {
|
|
4824
|
+
"scalar": "number"
|
|
4825
|
+
},
|
|
4826
|
+
"readonly": true,
|
|
4827
|
+
"optional": false
|
|
4828
|
+
},
|
|
4829
|
+
"fromActiveCitizens": {
|
|
4830
|
+
"type": {
|
|
4831
|
+
"scalar": "number"
|
|
4832
|
+
},
|
|
4833
|
+
"readonly": true,
|
|
4834
|
+
"optional": false
|
|
4835
|
+
},
|
|
4836
|
+
"publishedValuePence": {
|
|
4837
|
+
"type": {
|
|
4838
|
+
"scalar": "number"
|
|
4839
|
+
},
|
|
4840
|
+
"readonly": true,
|
|
4841
|
+
"optional": false
|
|
4842
|
+
}
|
|
4843
|
+
}
|
|
4844
|
+
},
|
|
4845
|
+
"QuickeningLadderError": {
|
|
4846
|
+
"kind": "object",
|
|
4847
|
+
"properties": {
|
|
4848
|
+
"error": {
|
|
4849
|
+
"type": {
|
|
4850
|
+
"ref": "QuickeningLadderErrorCode"
|
|
4851
|
+
},
|
|
4852
|
+
"readonly": true,
|
|
4853
|
+
"optional": false
|
|
4854
|
+
}
|
|
4855
|
+
}
|
|
4856
|
+
},
|
|
4857
|
+
"QuickeningLadderErrorCode": {
|
|
4858
|
+
"kind": "alias",
|
|
4859
|
+
"of": {
|
|
4860
|
+
"union": [
|
|
4861
|
+
{
|
|
4862
|
+
"ref": "OperatorAuthenticationRefusal"
|
|
4863
|
+
},
|
|
4864
|
+
{
|
|
4865
|
+
"ref": "OperatorAccessRefusal"
|
|
4866
|
+
},
|
|
4867
|
+
{
|
|
4868
|
+
"ref": "OperatorRateLimited"
|
|
4869
|
+
},
|
|
4870
|
+
{
|
|
4871
|
+
"ref": "OperatorReadUnavailable"
|
|
4872
|
+
},
|
|
4873
|
+
{
|
|
4874
|
+
"ref": "QuickeningLadderUnavailable"
|
|
4875
|
+
},
|
|
4876
|
+
{
|
|
4877
|
+
"ref": "OperatorReadFailed"
|
|
4878
|
+
}
|
|
4879
|
+
]
|
|
4880
|
+
}
|
|
4881
|
+
},
|
|
4882
|
+
"QuickeningLadderResponse": {
|
|
4883
|
+
"kind": "alias",
|
|
4884
|
+
"of": {
|
|
4885
|
+
"union": [
|
|
4886
|
+
{
|
|
4887
|
+
"ref": "QuickeningLadder"
|
|
4888
|
+
},
|
|
4889
|
+
{
|
|
4890
|
+
"ref": "OperatorVerificationRefused"
|
|
4891
|
+
},
|
|
4892
|
+
{
|
|
4893
|
+
"ref": "QuickeningLadderError"
|
|
4894
|
+
}
|
|
4895
|
+
]
|
|
4896
|
+
}
|
|
4897
|
+
},
|
|
4898
|
+
"QuickeningLadderUnavailable": {
|
|
4899
|
+
"kind": "alias",
|
|
4900
|
+
"of": {
|
|
4901
|
+
"union": [
|
|
4902
|
+
{
|
|
4903
|
+
"literal": "quickening_ladder_reader_not_configured"
|
|
4904
|
+
},
|
|
4905
|
+
{
|
|
4906
|
+
"literal": "quickening_ladder_not_configured"
|
|
4907
|
+
}
|
|
4908
|
+
]
|
|
4909
|
+
}
|
|
4910
|
+
}
|
|
4911
|
+
}
|
|
3106
4912
|
}
|
|
3107
4913
|
};
|