fragment-dev 2.4.1 → 2.4.2
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.
- checksums.yaml +4 -4
- data/lib/fragment.schema.json +2134 -486
- data/lib/fragment_client/version.rb +1 -1
- data/lib/queries.graphql +138 -0
- metadata +2 -2
data/lib/queries.graphql
CHANGED
|
@@ -1364,6 +1364,124 @@ mutation CreatePayment(
|
|
|
1364
1364
|
currency {
|
|
1365
1365
|
code
|
|
1366
1366
|
}
|
|
1367
|
+
refundedAmount
|
|
1368
|
+
refunds {
|
|
1369
|
+
nodes {
|
|
1370
|
+
id
|
|
1371
|
+
ik
|
|
1372
|
+
amount
|
|
1373
|
+
status
|
|
1374
|
+
created
|
|
1375
|
+
}
|
|
1376
|
+
}
|
|
1377
|
+
}
|
|
1378
|
+
}
|
|
1379
|
+
... on BadRequestError {
|
|
1380
|
+
code
|
|
1381
|
+
message
|
|
1382
|
+
retryable
|
|
1383
|
+
}
|
|
1384
|
+
... on InternalError {
|
|
1385
|
+
code
|
|
1386
|
+
message
|
|
1387
|
+
retryable
|
|
1388
|
+
}
|
|
1389
|
+
}
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
mutation RetryPayment(
|
|
1393
|
+
$attemptIk: SafeString!
|
|
1394
|
+
$paymentIk: SafeString!
|
|
1395
|
+
$ledgerIk: SafeString!
|
|
1396
|
+
$paymentMethod: PaymentMethodMatchInput
|
|
1397
|
+
) {
|
|
1398
|
+
retryPayment(
|
|
1399
|
+
attemptIk: $attemptIk
|
|
1400
|
+
payment: { ik: $paymentIk, ledger: { ik: $ledgerIk } }
|
|
1401
|
+
paymentMethod: $paymentMethod
|
|
1402
|
+
) {
|
|
1403
|
+
__typename
|
|
1404
|
+
... on RetryPaymentResult {
|
|
1405
|
+
isIkReplay
|
|
1406
|
+
attempt {
|
|
1407
|
+
id
|
|
1408
|
+
status
|
|
1409
|
+
}
|
|
1410
|
+
payment {
|
|
1411
|
+
id
|
|
1412
|
+
ik
|
|
1413
|
+
status
|
|
1414
|
+
amount
|
|
1415
|
+
mode
|
|
1416
|
+
currency {
|
|
1417
|
+
code
|
|
1418
|
+
}
|
|
1419
|
+
refundedAmount
|
|
1420
|
+
refunds {
|
|
1421
|
+
nodes {
|
|
1422
|
+
id
|
|
1423
|
+
ik
|
|
1424
|
+
amount
|
|
1425
|
+
status
|
|
1426
|
+
created
|
|
1427
|
+
}
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
}
|
|
1431
|
+
... on BadRequestError {
|
|
1432
|
+
code
|
|
1433
|
+
message
|
|
1434
|
+
retryable
|
|
1435
|
+
}
|
|
1436
|
+
... on InternalError {
|
|
1437
|
+
code
|
|
1438
|
+
message
|
|
1439
|
+
retryable
|
|
1440
|
+
}
|
|
1441
|
+
}
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
mutation RefundPayment(
|
|
1445
|
+
$ik: SafeString!
|
|
1446
|
+
$paymentIk: SafeString!
|
|
1447
|
+
$ledgerIk: SafeString!
|
|
1448
|
+
$amount: Int96!
|
|
1449
|
+
$parameters: JSON
|
|
1450
|
+
) {
|
|
1451
|
+
refundPayment(
|
|
1452
|
+
ik: $ik
|
|
1453
|
+
payment: { ik: $paymentIk, ledger: { ik: $ledgerIk } }
|
|
1454
|
+
refund: { amount: $amount, parameters: $parameters }
|
|
1455
|
+
) {
|
|
1456
|
+
__typename
|
|
1457
|
+
... on RefundPaymentResult {
|
|
1458
|
+
isIkReplay
|
|
1459
|
+
refund {
|
|
1460
|
+
id
|
|
1461
|
+
ik
|
|
1462
|
+
amount
|
|
1463
|
+
status
|
|
1464
|
+
created
|
|
1465
|
+
}
|
|
1466
|
+
payment {
|
|
1467
|
+
id
|
|
1468
|
+
ik
|
|
1469
|
+
status
|
|
1470
|
+
amount
|
|
1471
|
+
mode
|
|
1472
|
+
currency {
|
|
1473
|
+
code
|
|
1474
|
+
}
|
|
1475
|
+
refundedAmount
|
|
1476
|
+
refunds {
|
|
1477
|
+
nodes {
|
|
1478
|
+
id
|
|
1479
|
+
ik
|
|
1480
|
+
amount
|
|
1481
|
+
status
|
|
1482
|
+
created
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1367
1485
|
}
|
|
1368
1486
|
}
|
|
1369
1487
|
... on BadRequestError {
|
|
@@ -1395,6 +1513,16 @@ query GetPayment($ik: SafeString!, $ledgerIk: SafeString!) {
|
|
|
1395
1513
|
mode
|
|
1396
1514
|
parameters
|
|
1397
1515
|
created
|
|
1516
|
+
refundedAmount
|
|
1517
|
+
refunds {
|
|
1518
|
+
nodes {
|
|
1519
|
+
id
|
|
1520
|
+
ik
|
|
1521
|
+
amount
|
|
1522
|
+
status
|
|
1523
|
+
created
|
|
1524
|
+
}
|
|
1525
|
+
}
|
|
1398
1526
|
}
|
|
1399
1527
|
}
|
|
1400
1528
|
|
|
@@ -1418,6 +1546,16 @@ query ListPayments(
|
|
|
1418
1546
|
type
|
|
1419
1547
|
typeVersion
|
|
1420
1548
|
created
|
|
1549
|
+
refundedAmount
|
|
1550
|
+
refunds {
|
|
1551
|
+
nodes {
|
|
1552
|
+
id
|
|
1553
|
+
ik
|
|
1554
|
+
amount
|
|
1555
|
+
status
|
|
1556
|
+
created
|
|
1557
|
+
}
|
|
1558
|
+
}
|
|
1421
1559
|
}
|
|
1422
1560
|
pageInfo {
|
|
1423
1561
|
hasNextPage
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fragment-dev
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.4.
|
|
4
|
+
version: 2.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- fragment
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: graphql
|