fragment-dev 2.3.0 → 2.4.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.
@@ -377,6 +377,154 @@
377
377
  "enumValues": null,
378
378
  "possibleTypes": null
379
379
  },
380
+ {
381
+ "kind": "INPUT_OBJECT",
382
+ "name": "AgingClearingAccountsFilterSet",
383
+ "description": "Filters for pending clearing accounts.",
384
+ "fields": null,
385
+ "inputFields": [
386
+ {
387
+ "name": "path",
388
+ "description": "Account path filter, with the same wildcard rules as LedgerAccountsFilterSet.path.",
389
+ "type": {
390
+ "kind": "INPUT_OBJECT",
391
+ "name": "StringMatchFilter",
392
+ "ofType": null
393
+ },
394
+ "defaultValue": null
395
+ }
396
+ ],
397
+ "interfaces": null,
398
+ "enumValues": null,
399
+ "possibleTypes": null
400
+ },
401
+ {
402
+ "kind": "INPUT_OBJECT",
403
+ "name": "AgingClearingAccountsInput",
404
+ "description": "Selection of pending clearing accounts to count.",
405
+ "fields": null,
406
+ "inputFields": [
407
+ {
408
+ "name": "filter",
409
+ "description": "Additional account filters.",
410
+ "type": {
411
+ "kind": "INPUT_OBJECT",
412
+ "name": "AgingClearingAccountsFilterSet",
413
+ "ofType": null
414
+ },
415
+ "defaultValue": null
416
+ }
417
+ ],
418
+ "interfaces": null,
419
+ "enumValues": null,
420
+ "possibleTypes": null
421
+ },
422
+ {
423
+ "kind": "OBJECT",
424
+ "name": "AgingInterval",
425
+ "description": "Inclusive posted-time bounds usable directly in existing list filters.",
426
+ "fields": [
427
+ {
428
+ "name": "clearingAccountCount",
429
+ "description": "Unique pending accounts matching ledgerAccounts with this interval's earliestPosted filter. Different pending currencies can place an account in multiple intervals. Null when not requested.",
430
+ "args": [],
431
+ "type": {
432
+ "kind": "SCALAR",
433
+ "name": "Int",
434
+ "ofType": null
435
+ },
436
+ "isDeprecated": false,
437
+ "deprecationReason": null
438
+ },
439
+ {
440
+ "name": "endTime",
441
+ "description": "Inclusive upper bound for earliestPosted.before or posted.before.",
442
+ "args": [],
443
+ "type": {
444
+ "kind": "NON_NULL",
445
+ "name": null,
446
+ "ofType": {
447
+ "kind": "SCALAR",
448
+ "name": "DateTime",
449
+ "ofType": null
450
+ }
451
+ },
452
+ "isDeprecated": false,
453
+ "deprecationReason": null
454
+ },
455
+ {
456
+ "name": "startTime",
457
+ "description": "Inclusive lower bound for earliestPosted.after or posted.after; null for the oldest interval.",
458
+ "args": [],
459
+ "type": {
460
+ "kind": "SCALAR",
461
+ "name": "DateTime",
462
+ "ofType": null
463
+ },
464
+ "isDeprecated": false,
465
+ "deprecationReason": null
466
+ },
467
+ {
468
+ "name": "unreconciledTxCount",
469
+ "description": "Transactions matching unreconciledTxs with this interval's posted filter and the requested Links and filters. Null when not requested.",
470
+ "args": [],
471
+ "type": {
472
+ "kind": "SCALAR",
473
+ "name": "Int",
474
+ "ofType": null
475
+ },
476
+ "isDeprecated": false,
477
+ "deprecationReason": null
478
+ }
479
+ ],
480
+ "inputFields": null,
481
+ "interfaces": [],
482
+ "enumValues": null,
483
+ "possibleTypes": null
484
+ },
485
+ {
486
+ "kind": "INPUT_OBJECT",
487
+ "name": "AgingUnreconciledTxsInput",
488
+ "description": "Selection of unreconciled transactions to count.",
489
+ "fields": null,
490
+ "inputFields": [
491
+ {
492
+ "name": "filter",
493
+ "description": "Additional posted-time bounds intersected with each interval.",
494
+ "type": {
495
+ "kind": "INPUT_OBJECT",
496
+ "name": "LedgerUnreconciledTxsFilterSet",
497
+ "ofType": null
498
+ },
499
+ "defaultValue": null
500
+ },
501
+ {
502
+ "name": "links",
503
+ "description": "Links identified by Fragment ID or Custom Link creation IK. Provide between 1 and 100 selectors; duplicates are searched once.",
504
+ "type": {
505
+ "kind": "NON_NULL",
506
+ "name": null,
507
+ "ofType": {
508
+ "kind": "LIST",
509
+ "name": null,
510
+ "ofType": {
511
+ "kind": "NON_NULL",
512
+ "name": null,
513
+ "ofType": {
514
+ "kind": "INPUT_OBJECT",
515
+ "name": "LinkMatchInput",
516
+ "ofType": null
517
+ }
518
+ }
519
+ }
520
+ },
521
+ "defaultValue": null
522
+ }
523
+ ],
524
+ "interfaces": null,
525
+ "enumValues": null,
526
+ "possibleTypes": null
527
+ },
380
528
  {
381
529
  "kind": "OBJECT",
382
530
  "name": "BadRequestError",
@@ -617,6 +765,135 @@
617
765
  "enumValues": null,
618
766
  "possibleTypes": null
619
767
  },
768
+ {
769
+ "kind": "OBJECT",
770
+ "name": "CardPaymentMethod",
771
+ "description": "A saved card.",
772
+ "fields": [
773
+ {
774
+ "name": "brand",
775
+ "description": "The card network, for example `visa` or `mastercard`.",
776
+ "args": [],
777
+ "type": {
778
+ "kind": "NON_NULL",
779
+ "name": null,
780
+ "ofType": {
781
+ "kind": "SCALAR",
782
+ "name": "String",
783
+ "ofType": null
784
+ }
785
+ },
786
+ "isDeprecated": false,
787
+ "deprecationReason": null
788
+ },
789
+ {
790
+ "name": "created",
791
+ "description": "When the payment method was saved.",
792
+ "args": [],
793
+ "type": {
794
+ "kind": "NON_NULL",
795
+ "name": null,
796
+ "ofType": {
797
+ "kind": "SCALAR",
798
+ "name": "DateTime",
799
+ "ofType": null
800
+ }
801
+ },
802
+ "isDeprecated": false,
803
+ "deprecationReason": null
804
+ },
805
+ {
806
+ "name": "expiryMonth",
807
+ "description": "The card's expiry month, 1–12.",
808
+ "args": [],
809
+ "type": {
810
+ "kind": "NON_NULL",
811
+ "name": null,
812
+ "ofType": {
813
+ "kind": "SCALAR",
814
+ "name": "Int",
815
+ "ofType": null
816
+ }
817
+ },
818
+ "isDeprecated": false,
819
+ "deprecationReason": null
820
+ },
821
+ {
822
+ "name": "expiryYear",
823
+ "description": "The card's four-digit expiry year.",
824
+ "args": [],
825
+ "type": {
826
+ "kind": "NON_NULL",
827
+ "name": null,
828
+ "ofType": {
829
+ "kind": "SCALAR",
830
+ "name": "Int",
831
+ "ofType": null
832
+ }
833
+ },
834
+ "isDeprecated": false,
835
+ "deprecationReason": null
836
+ },
837
+ {
838
+ "name": "id",
839
+ "description": "FRAGMENT ID of the saved Payment Method.",
840
+ "args": [],
841
+ "type": {
842
+ "kind": "NON_NULL",
843
+ "name": null,
844
+ "ofType": {
845
+ "kind": "SCALAR",
846
+ "name": "ID",
847
+ "ofType": null
848
+ }
849
+ },
850
+ "isDeprecated": false,
851
+ "deprecationReason": null
852
+ },
853
+ {
854
+ "name": "last4",
855
+ "description": "The last four digits of the card number.",
856
+ "args": [],
857
+ "type": {
858
+ "kind": "NON_NULL",
859
+ "name": null,
860
+ "ofType": {
861
+ "kind": "SCALAR",
862
+ "name": "String",
863
+ "ofType": null
864
+ }
865
+ },
866
+ "isDeprecated": false,
867
+ "deprecationReason": null
868
+ },
869
+ {
870
+ "name": "user",
871
+ "description": "The user who owns this payment method.",
872
+ "args": [],
873
+ "type": {
874
+ "kind": "NON_NULL",
875
+ "name": null,
876
+ "ofType": {
877
+ "kind": "OBJECT",
878
+ "name": "User",
879
+ "ofType": null
880
+ }
881
+ },
882
+ "isDeprecated": false,
883
+ "deprecationReason": null
884
+ }
885
+ ],
886
+ "inputFields": null,
887
+ "interfaces": [
888
+ {
889
+ "kind": "INTERFACE",
890
+ "name": "PaymentMethod",
891
+ "ofType": null
892
+ }
893
+ ],
894
+ "enumValues": null,
895
+ "possibleTypes": null
896
+ },
620
897
  {
621
898
  "kind": "INPUT_OBJECT",
622
899
  "name": "ChartOfAccountsInput",
@@ -1342,7 +1619,7 @@
1342
1619
  {
1343
1620
  "kind": "INPUT_OBJECT",
1344
1621
  "name": "CreatePaymentInput",
1345
- "description": "EXPERIMENTAL: The Payment to create.",
1622
+ "description": "The Payment to create.",
1346
1623
  "fields": null,
1347
1624
  "inputFields": [
1348
1625
  {
@@ -1355,6 +1632,16 @@
1355
1632
  },
1356
1633
  "defaultValue": null
1357
1634
  },
1635
+ {
1636
+ "name": "paymentMethod",
1637
+ "description": "The saved Payment Method to charge for this Payment. When set, the Payment is charged immediately.",
1638
+ "type": {
1639
+ "kind": "INPUT_OBJECT",
1640
+ "name": "PaymentMethodMatchInput",
1641
+ "ofType": null
1642
+ },
1643
+ "defaultValue": null
1644
+ },
1358
1645
  {
1359
1646
  "name": "type",
1360
1647
  "description": "The type of the Payment. Must be defined in the Schema linked to the Ledger.",
@@ -1390,7 +1677,7 @@
1390
1677
  },
1391
1678
  {
1392
1679
  "kind": "UNION",
1393
- "name": "CreatePaymentResponse",
1680
+ "name": "CreatePaymentMethodSetupResponse",
1394
1681
  "description": null,
1395
1682
  "fields": null,
1396
1683
  "inputFields": null,
@@ -1404,7 +1691,7 @@
1404
1691
  },
1405
1692
  {
1406
1693
  "kind": "OBJECT",
1407
- "name": "CreatePaymentResult",
1694
+ "name": "CreatePaymentMethodSetupResult",
1408
1695
  "ofType": null
1409
1696
  },
1410
1697
  {
@@ -1416,19 +1703,104 @@
1416
1703
  },
1417
1704
  {
1418
1705
  "kind": "OBJECT",
1419
- "name": "CreatePaymentResult",
1420
- "description": "EXPERIMENTAL: The created Payment.",
1706
+ "name": "CreatePaymentMethodSetupResult",
1707
+ "description": "The created Payment Method Setup.",
1421
1708
  "fields": [
1422
1709
  {
1423
- "name": "payment",
1424
- "description": "The Payment that was created.",
1710
+ "name": "isIkReplay",
1711
+ "description": "Whether an earlier call with the same `ik` created this Payment Method Setup.",
1425
1712
  "args": [],
1426
1713
  "type": {
1427
1714
  "kind": "NON_NULL",
1428
1715
  "name": null,
1429
1716
  "ofType": {
1430
- "kind": "OBJECT",
1431
- "name": "Payment",
1717
+ "kind": "SCALAR",
1718
+ "name": "Boolean",
1719
+ "ofType": null
1720
+ }
1721
+ },
1722
+ "isDeprecated": false,
1723
+ "deprecationReason": null
1724
+ },
1725
+ {
1726
+ "name": "paymentMethodSetup",
1727
+ "description": "The Payment Method Setup that was created.",
1728
+ "args": [],
1729
+ "type": {
1730
+ "kind": "NON_NULL",
1731
+ "name": null,
1732
+ "ofType": {
1733
+ "kind": "OBJECT",
1734
+ "name": "PaymentMethodSetup",
1735
+ "ofType": null
1736
+ }
1737
+ },
1738
+ "isDeprecated": false,
1739
+ "deprecationReason": null
1740
+ }
1741
+ ],
1742
+ "inputFields": null,
1743
+ "interfaces": [],
1744
+ "enumValues": null,
1745
+ "possibleTypes": null
1746
+ },
1747
+ {
1748
+ "kind": "UNION",
1749
+ "name": "CreatePaymentResponse",
1750
+ "description": null,
1751
+ "fields": null,
1752
+ "inputFields": null,
1753
+ "interfaces": null,
1754
+ "enumValues": null,
1755
+ "possibleTypes": [
1756
+ {
1757
+ "kind": "OBJECT",
1758
+ "name": "BadRequestError",
1759
+ "ofType": null
1760
+ },
1761
+ {
1762
+ "kind": "OBJECT",
1763
+ "name": "CreatePaymentResult",
1764
+ "ofType": null
1765
+ },
1766
+ {
1767
+ "kind": "OBJECT",
1768
+ "name": "InternalError",
1769
+ "ofType": null
1770
+ }
1771
+ ]
1772
+ },
1773
+ {
1774
+ "kind": "OBJECT",
1775
+ "name": "CreatePaymentResult",
1776
+ "description": "The created Payment.",
1777
+ "fields": [
1778
+ {
1779
+ "name": "isIkReplay",
1780
+ "description": "Whether an earlier call with the same `ik` created this Payment.",
1781
+ "args": [],
1782
+ "type": {
1783
+ "kind": "NON_NULL",
1784
+ "name": null,
1785
+ "ofType": {
1786
+ "kind": "SCALAR",
1787
+ "name": "Boolean",
1788
+ "ofType": null
1789
+ }
1790
+ },
1791
+ "isDeprecated": false,
1792
+ "deprecationReason": null
1793
+ },
1794
+ {
1795
+ "name": "payment",
1796
+ "description": "The Payment that was created.",
1797
+ "args": [],
1798
+ "type": {
1799
+ "kind": "NON_NULL",
1800
+ "name": null,
1801
+ "ofType": {
1802
+ "kind": "OBJECT",
1803
+ "name": "Payment",
1432
1804
  "ofType": null
1433
1805
  }
1434
1806
  },
@@ -3328,6 +3700,59 @@
3328
3700
  "enumValues": null,
3329
3701
  "possibleTypes": null
3330
3702
  },
3703
+ {
3704
+ "kind": "UNION",
3705
+ "name": "DeletePaymentMethodResponse",
3706
+ "description": null,
3707
+ "fields": null,
3708
+ "inputFields": null,
3709
+ "interfaces": null,
3710
+ "enumValues": null,
3711
+ "possibleTypes": [
3712
+ {
3713
+ "kind": "OBJECT",
3714
+ "name": "BadRequestError",
3715
+ "ofType": null
3716
+ },
3717
+ {
3718
+ "kind": "OBJECT",
3719
+ "name": "DeletePaymentMethodResult",
3720
+ "ofType": null
3721
+ },
3722
+ {
3723
+ "kind": "OBJECT",
3724
+ "name": "InternalError",
3725
+ "ofType": null
3726
+ }
3727
+ ]
3728
+ },
3729
+ {
3730
+ "kind": "OBJECT",
3731
+ "name": "DeletePaymentMethodResult",
3732
+ "description": "The result of deleting a Payment Method.",
3733
+ "fields": [
3734
+ {
3735
+ "name": "success",
3736
+ "description": "Whether the Payment Method was deleted.",
3737
+ "args": [],
3738
+ "type": {
3739
+ "kind": "NON_NULL",
3740
+ "name": null,
3741
+ "ofType": {
3742
+ "kind": "SCALAR",
3743
+ "name": "Boolean",
3744
+ "ofType": null
3745
+ }
3746
+ },
3747
+ "isDeprecated": false,
3748
+ "deprecationReason": null
3749
+ }
3750
+ ],
3751
+ "inputFields": null,
3752
+ "interfaces": [],
3753
+ "enumValues": null,
3754
+ "possibleTypes": null
3755
+ },
3331
3756
  {
3332
3757
  "kind": "UNION",
3333
3758
  "name": "DeleteSchemaResponse",
@@ -3408,6 +3833,31 @@
3408
3833
  "enumValues": null,
3409
3834
  "possibleTypes": null
3410
3835
  },
3836
+ {
3837
+ "kind": "INPUT_OBJECT",
3838
+ "name": "EmailFilter",
3839
+ "description": null,
3840
+ "fields": null,
3841
+ "inputFields": [
3842
+ {
3843
+ "name": "equalTo",
3844
+ "description": null,
3845
+ "type": {
3846
+ "kind": "NON_NULL",
3847
+ "name": null,
3848
+ "ofType": {
3849
+ "kind": "SCALAR",
3850
+ "name": "String",
3851
+ "ofType": null
3852
+ }
3853
+ },
3854
+ "defaultValue": null
3855
+ }
3856
+ ],
3857
+ "interfaces": null,
3858
+ "enumValues": null,
3859
+ "possibleTypes": null
3860
+ },
3411
3861
  {
3412
3862
  "kind": "INPUT_OBJECT",
3413
3863
  "name": "EntryGroupMatchInput",
@@ -5563,7 +6013,7 @@
5563
6013
  },
5564
6014
  {
5565
6015
  "name": "payments",
5566
- "description": "EXPERIMENTAL: List the Payments on a Ledger, most recent first.",
6016
+ "description": "List the Payments on a Ledger, most recent first.",
5567
6017
  "args": [
5568
6018
  {
5569
6019
  "name": "after",
@@ -5628,6 +6078,71 @@
5628
6078
  "isDeprecated": false,
5629
6079
  "deprecationReason": null
5630
6080
  },
6081
+ {
6082
+ "name": "reconciliationReport",
6083
+ "description": "Counts of pending clearing accounts and unreconciled transactions, grouped by age measured from the time of the request.",
6084
+ "args": [
6085
+ {
6086
+ "name": "clearingAccounts",
6087
+ "description": "Requests clearing-account counts. Omit to skip them; provide an empty object for all pending accounts.",
6088
+ "type": {
6089
+ "kind": "INPUT_OBJECT",
6090
+ "name": "AgingClearingAccountsInput",
6091
+ "ofType": null
6092
+ },
6093
+ "defaultValue": null
6094
+ },
6095
+ {
6096
+ "name": "granularity",
6097
+ "description": "Unit of age. Monthly intervals use calendar months.",
6098
+ "type": {
6099
+ "kind": "NON_NULL",
6100
+ "name": null,
6101
+ "ofType": {
6102
+ "kind": "ENUM",
6103
+ "name": "Granularity",
6104
+ "ofType": null
6105
+ }
6106
+ },
6107
+ "defaultValue": null
6108
+ },
6109
+ {
6110
+ "name": "intervals",
6111
+ "description": "Number of intervals, including the open-ended oldest interval. Between 1 and 7.",
6112
+ "type": {
6113
+ "kind": "NON_NULL",
6114
+ "name": null,
6115
+ "ofType": {
6116
+ "kind": "SCALAR",
6117
+ "name": "Int",
6118
+ "ofType": null
6119
+ }
6120
+ },
6121
+ "defaultValue": null
6122
+ },
6123
+ {
6124
+ "name": "unreconciledTxs",
6125
+ "description": "Requests transaction counts for the specified Links. Requires link.read.",
6126
+ "type": {
6127
+ "kind": "INPUT_OBJECT",
6128
+ "name": "AgingUnreconciledTxsInput",
6129
+ "ofType": null
6130
+ },
6131
+ "defaultValue": null
6132
+ }
6133
+ ],
6134
+ "type": {
6135
+ "kind": "NON_NULL",
6136
+ "name": null,
6137
+ "ofType": {
6138
+ "kind": "OBJECT",
6139
+ "name": "ReconciliationReport",
6140
+ "ofType": null
6141
+ }
6142
+ },
6143
+ "isDeprecated": false,
6144
+ "deprecationReason": null
6145
+ },
5631
6146
  {
5632
6147
  "name": "schema",
5633
6148
  "description": "Schema key associated with this Ledger.",
@@ -5657,68 +6172,157 @@
5657
6172
  "deprecationReason": null
5658
6173
  },
5659
6174
  {
5660
- "name": "workspaceId",
5661
- "description": null,
5662
- "args": [],
5663
- "type": {
5664
- "kind": "NON_NULL",
5665
- "name": null,
5666
- "ofType": {
5667
- "kind": "SCALAR",
5668
- "name": "ID",
5669
- "ofType": null
5670
- }
5671
- },
5672
- "isDeprecated": true,
5673
- "deprecationReason": "Callers should not need to query or store this value."
5674
- }
5675
- ],
5676
- "inputFields": null,
5677
- "interfaces": [],
5678
- "enumValues": null,
5679
- "possibleTypes": null
5680
- },
5681
- {
5682
- "kind": "OBJECT",
5683
- "name": "LedgerAccount",
5684
- "description": "A ledger account is a container for money",
5685
- "fields": [
5686
- {
5687
- "name": "balance",
5688
- "description": "Total of all lines in this ledger account and child ledger accounts of the same currency as this ledger account",
6175
+ "name": "unreconciledTxs",
6176
+ "description": "Transactions in the specified Links that have not been reconciled to any account in this Ledger. Includes external accounts not linked to this Ledger. Sorted by posted timestamp, newest first.",
5689
6177
  "args": [
5690
6178
  {
5691
- "name": "at",
5692
- "description": "Provide a timestamp to get this balance at a specific logical time. If not specified, the latest value will be returned e.g. 1969 or 1969-07 or 1969-07-03 or 1969-07-21T02",
6179
+ "name": "after",
6180
+ "description": "Where to start paginating from, when paginating forwards. Send endCursor from a response to get its next page. Learn more about [pagination](https://fragment.dev/guides/query-data#basics-pagination).",
5693
6181
  "type": {
5694
6182
  "kind": "SCALAR",
5695
- "name": "LastMoment",
6183
+ "name": "String",
5696
6184
  "ofType": null
5697
6185
  },
5698
6186
  "defaultValue": null
5699
6187
  },
5700
6188
  {
5701
- "name": "consistencyMode",
5702
- "description": "- eventual: Returns an eventually consistent balance, even if the Ledger Account's `totalBalanceUpdates` in its `consistencyConfig` is `strong` (default).\n- strong: Returns a strongly consistent balance or an error if the Ledger Account's `totalBalanceUpdates` in its `consistencyConfig` is `eventual`.\n- use_account: Returns a strongly consistent balance if the Ledger Account's `totalBalanceUpdates` in its `consistencyConfig` is `strong` and an eventually consistent balance otherwise.",
6189
+ "name": "before",
6190
+ "description": "Where to start paginating from, when paginating backwards. Send startCursor from a response to get the previous page. Learn more about [pagination](https://fragment.dev/guides/query-data#basics-pagination).",
5703
6191
  "type": {
5704
- "kind": "ENUM",
5705
- "name": "ReadBalanceConsistencyMode",
6192
+ "kind": "SCALAR",
6193
+ "name": "String",
5706
6194
  "ofType": null
5707
6195
  },
5708
6196
  "defaultValue": null
5709
6197
  },
5710
6198
  {
5711
- "name": "currency",
5712
- "description": "The currency of the balance to query. Required if the account is a multi-currency Ledger Account or if the the Ledger Account has child Ledger Accounts with different currencies.",
6199
+ "name": "filter",
6200
+ "description": "Filter the unreconciled transactions returned.",
5713
6201
  "type": {
5714
6202
  "kind": "INPUT_OBJECT",
5715
- "name": "CurrencyMatchInput",
6203
+ "name": "LedgerUnreconciledTxsFilterSet",
5716
6204
  "ofType": null
5717
6205
  },
5718
6206
  "defaultValue": null
5719
- }
5720
- ],
5721
- "type": {
6207
+ },
6208
+ {
6209
+ "name": "first",
6210
+ "description": "The number of unreconciled transactions to return per page, when paginating forwards. Defaults to 20, maximum is 200.",
6211
+ "type": {
6212
+ "kind": "SCALAR",
6213
+ "name": "Int",
6214
+ "ofType": null
6215
+ },
6216
+ "defaultValue": null
6217
+ },
6218
+ {
6219
+ "name": "last",
6220
+ "description": "The number of unreconciled transactions to return per page, when paginating backwards. Defaults to 20, maximum is 200.",
6221
+ "type": {
6222
+ "kind": "SCALAR",
6223
+ "name": "Int",
6224
+ "ofType": null
6225
+ },
6226
+ "defaultValue": null
6227
+ },
6228
+ {
6229
+ "name": "links",
6230
+ "description": "Links to search, identified by Fragment ID or Custom Link creation IK. Provide between 1 and 100 selectors. Duplicate Links are searched once.",
6231
+ "type": {
6232
+ "kind": "NON_NULL",
6233
+ "name": null,
6234
+ "ofType": {
6235
+ "kind": "LIST",
6236
+ "name": null,
6237
+ "ofType": {
6238
+ "kind": "NON_NULL",
6239
+ "name": null,
6240
+ "ofType": {
6241
+ "kind": "INPUT_OBJECT",
6242
+ "name": "LinkMatchInput",
6243
+ "ofType": null
6244
+ }
6245
+ }
6246
+ }
6247
+ },
6248
+ "defaultValue": null
6249
+ }
6250
+ ],
6251
+ "type": {
6252
+ "kind": "NON_NULL",
6253
+ "name": null,
6254
+ "ofType": {
6255
+ "kind": "OBJECT",
6256
+ "name": "TxsConnection",
6257
+ "ofType": null
6258
+ }
6259
+ },
6260
+ "isDeprecated": false,
6261
+ "deprecationReason": null
6262
+ },
6263
+ {
6264
+ "name": "workspaceId",
6265
+ "description": null,
6266
+ "args": [],
6267
+ "type": {
6268
+ "kind": "NON_NULL",
6269
+ "name": null,
6270
+ "ofType": {
6271
+ "kind": "SCALAR",
6272
+ "name": "ID",
6273
+ "ofType": null
6274
+ }
6275
+ },
6276
+ "isDeprecated": true,
6277
+ "deprecationReason": "Callers should not need to query or store this value."
6278
+ }
6279
+ ],
6280
+ "inputFields": null,
6281
+ "interfaces": [],
6282
+ "enumValues": null,
6283
+ "possibleTypes": null
6284
+ },
6285
+ {
6286
+ "kind": "OBJECT",
6287
+ "name": "LedgerAccount",
6288
+ "description": "A ledger account is a container for money",
6289
+ "fields": [
6290
+ {
6291
+ "name": "balance",
6292
+ "description": "Total of all lines in this ledger account and child ledger accounts of the same currency as this ledger account",
6293
+ "args": [
6294
+ {
6295
+ "name": "at",
6296
+ "description": "Provide a timestamp to get this balance at a specific logical time. If not specified, the latest value will be returned e.g. 1969 or 1969-07 or 1969-07-03 or 1969-07-21T02",
6297
+ "type": {
6298
+ "kind": "SCALAR",
6299
+ "name": "LastMoment",
6300
+ "ofType": null
6301
+ },
6302
+ "defaultValue": null
6303
+ },
6304
+ {
6305
+ "name": "consistencyMode",
6306
+ "description": "- eventual: Returns an eventually consistent balance, even if the Ledger Account's `totalBalanceUpdates` in its `consistencyConfig` is `strong` (default).\n- strong: Returns a strongly consistent balance or an error if the Ledger Account's `totalBalanceUpdates` in its `consistencyConfig` is `eventual`.\n- use_account: Returns a strongly consistent balance if the Ledger Account's `totalBalanceUpdates` in its `consistencyConfig` is `strong` and an eventually consistent balance otherwise.",
6307
+ "type": {
6308
+ "kind": "ENUM",
6309
+ "name": "ReadBalanceConsistencyMode",
6310
+ "ofType": null
6311
+ },
6312
+ "defaultValue": null
6313
+ },
6314
+ {
6315
+ "name": "currency",
6316
+ "description": "The currency of the balance to query. Required if the account is a multi-currency Ledger Account or if the the Ledger Account has child Ledger Accounts with different currencies.",
6317
+ "type": {
6318
+ "kind": "INPUT_OBJECT",
6319
+ "name": "CurrencyMatchInput",
6320
+ "ofType": null
6321
+ },
6322
+ "defaultValue": null
6323
+ }
6324
+ ],
6325
+ "type": {
5722
6326
  "kind": "NON_NULL",
5723
6327
  "name": null,
5724
6328
  "ofType": {
@@ -7158,6 +7762,16 @@
7158
7762
  },
7159
7763
  "defaultValue": null
7160
7764
  },
7765
+ {
7766
+ "name": "filter",
7767
+ "description": "Filters for unreconciled transactions.",
7768
+ "type": {
7769
+ "kind": "INPUT_OBJECT",
7770
+ "name": "LedgerAccountUnreconciledTxsFilterSet",
7771
+ "ofType": null
7772
+ },
7773
+ "defaultValue": null
7774
+ },
7161
7775
  {
7162
7776
  "name": "first",
7163
7777
  "description": "The number of unreconciled transactions to return per page, when paginating forwards. Defaults to 20, maximum is 200.",
@@ -7914,6 +8528,27 @@
7914
8528
  ],
7915
8529
  "possibleTypes": null
7916
8530
  },
8531
+ {
8532
+ "kind": "INPUT_OBJECT",
8533
+ "name": "LedgerAccountUnreconciledTxsFilterSet",
8534
+ "description": "Filters for a ledger account's unreconciled transactions.",
8535
+ "fields": null,
8536
+ "inputFields": [
8537
+ {
8538
+ "name": "posted",
8539
+ "description": "The transaction's posted timestamp. Bounds are inclusive; when both are supplied, before must be later than after.",
8540
+ "type": {
8541
+ "kind": "INPUT_OBJECT",
8542
+ "name": "DateTimeFilter",
8543
+ "ofType": null
8544
+ },
8545
+ "defaultValue": null
8546
+ }
8547
+ ],
8548
+ "interfaces": null,
8549
+ "enumValues": null,
8550
+ "possibleTypes": null
8551
+ },
7917
8552
  {
7918
8553
  "kind": "OBJECT",
7919
8554
  "name": "LedgerAccountsConnection",
@@ -10431,7 +11066,7 @@
10431
11066
  },
10432
11067
  {
10433
11068
  "name": "value",
10434
- "description": "The value associated with this tag's key. Can be up to 128 characters long.",
11069
+ "description": "The value associated with this tag's key. Can be up to 256 characters long.",
10435
11070
  "type": {
10436
11071
  "kind": "NON_NULL",
10437
11072
  "name": null,
@@ -11101,7 +11736,7 @@
11101
11736
  },
11102
11737
  {
11103
11738
  "name": "value",
11104
- "description": "The value associated with this tag's key. Can be up to 128 characters long.",
11739
+ "description": "The value associated with this tag's key. Can be up to 256 characters long.",
11105
11740
  "type": {
11106
11741
  "kind": "NON_NULL",
11107
11742
  "name": null,
@@ -11228,6 +11863,24 @@
11228
11863
  },
11229
11864
  "defaultValue": null
11230
11865
  },
11866
+ {
11867
+ "name": "externalTxIds",
11868
+ "description": "Filter Ledger Lines by the external IDs of their linked transactions. Only supported on `LedgerAccount.lines` for a linked Ledger Account.",
11869
+ "type": {
11870
+ "kind": "LIST",
11871
+ "name": null,
11872
+ "ofType": {
11873
+ "kind": "NON_NULL",
11874
+ "name": null,
11875
+ "ofType": {
11876
+ "kind": "SCALAR",
11877
+ "name": "String",
11878
+ "ofType": null
11879
+ }
11880
+ }
11881
+ },
11882
+ "defaultValue": null
11883
+ },
11231
11884
  {
11232
11885
  "name": "isReversal",
11233
11886
  "description": "Use this to filter Ledger Lines that were posted to this Ledger Account, using `reverseLedgerEntry`.",
@@ -11561,6 +12214,27 @@
11561
12214
  ],
11562
12215
  "possibleTypes": null
11563
12216
  },
12217
+ {
12218
+ "kind": "INPUT_OBJECT",
12219
+ "name": "LedgerUnreconciledTxsFilterSet",
12220
+ "description": "Filters for transactions not reconciled to any account in a Ledger.",
12221
+ "fields": null,
12222
+ "inputFields": [
12223
+ {
12224
+ "name": "posted",
12225
+ "description": "Filter by the external transaction's posted timestamp. Bounds are inclusive.",
12226
+ "type": {
12227
+ "kind": "INPUT_OBJECT",
12228
+ "name": "DateTimeFilter",
12229
+ "ofType": null
12230
+ },
12231
+ "defaultValue": null
12232
+ }
12233
+ ],
12234
+ "interfaces": null,
12235
+ "enumValues": null,
12236
+ "possibleTypes": null
12237
+ },
11564
12238
  {
11565
12239
  "kind": "OBJECT",
11566
12240
  "name": "LedgersConnection",
@@ -11758,20 +12432,26 @@
11758
12432
  {
11759
12433
  "kind": "INPUT_OBJECT",
11760
12434
  "name": "LinkMatchInput",
11761
- "description": null,
12435
+ "description": "Specify a Link by ID, or a Custom Link by its creation IK.",
11762
12436
  "fields": null,
11763
12437
  "inputFields": [
11764
12438
  {
11765
12439
  "name": "id",
11766
12440
  "description": null,
11767
12441
  "type": {
11768
- "kind": "NON_NULL",
11769
- "name": null,
11770
- "ofType": {
11771
- "kind": "SCALAR",
11772
- "name": "ID",
11773
- "ofType": null
11774
- }
12442
+ "kind": "SCALAR",
12443
+ "name": "ID",
12444
+ "ofType": null
12445
+ },
12446
+ "defaultValue": null
12447
+ },
12448
+ {
12449
+ "name": "ik",
12450
+ "description": "The IK passed to createCustomLink. If id is also provided, both must identify the same Link.",
12451
+ "type": {
12452
+ "kind": "SCALAR",
12453
+ "name": "SafeString",
12454
+ "ofType": null
11775
12455
  },
11776
12456
  "defaultValue": null
11777
12457
  }
@@ -12352,11 +13032,11 @@
12352
13032
  },
12353
13033
  {
12354
13034
  "name": "createPayment",
12355
- "description": "EXPERIMENTAL — subject to change.\n\nCreate a Payment.",
13035
+ "description": "Create a Payment.",
12356
13036
  "args": [
12357
13037
  {
12358
13038
  "name": "ik",
12359
- "description": "The [Idempotency Key](https://fragment.dev/api-reference/api-overview#idempotency)",
13039
+ "description": "The [Idempotency Key](https://fragment.dev/api-reference/api-overview#idempotency). Can be up to 128 characters long.",
12360
13040
  "type": {
12361
13041
  "kind": "NON_NULL",
12362
13042
  "name": null,
@@ -12409,6 +13089,65 @@
12409
13089
  "isDeprecated": false,
12410
13090
  "deprecationReason": null
12411
13091
  },
13092
+ {
13093
+ "name": "createPaymentMethodSetup",
13094
+ "description": "Save a Payment Method for a User without charging it.",
13095
+ "args": [
13096
+ {
13097
+ "name": "ik",
13098
+ "description": "The [Idempotency Key](https://fragment.dev/api-reference/api-overview#idempotency) for the Payment Method Setup. Can be up to 128 characters long. This is not the idempotency key for the saved Payment Method.",
13099
+ "type": {
13100
+ "kind": "NON_NULL",
13101
+ "name": null,
13102
+ "ofType": {
13103
+ "kind": "SCALAR",
13104
+ "name": "SafeString",
13105
+ "ofType": null
13106
+ }
13107
+ },
13108
+ "defaultValue": null
13109
+ },
13110
+ {
13111
+ "name": "ledger",
13112
+ "description": "The Ledger the Payment Method is saved in.",
13113
+ "type": {
13114
+ "kind": "NON_NULL",
13115
+ "name": null,
13116
+ "ofType": {
13117
+ "kind": "INPUT_OBJECT",
13118
+ "name": "LedgerMatchInput",
13119
+ "ofType": null
13120
+ }
13121
+ },
13122
+ "defaultValue": null
13123
+ },
13124
+ {
13125
+ "name": "user",
13126
+ "description": "The User whose payment method to save.",
13127
+ "type": {
13128
+ "kind": "NON_NULL",
13129
+ "name": null,
13130
+ "ofType": {
13131
+ "kind": "INPUT_OBJECT",
13132
+ "name": "UserMatchInput",
13133
+ "ofType": null
13134
+ }
13135
+ },
13136
+ "defaultValue": null
13137
+ }
13138
+ ],
13139
+ "type": {
13140
+ "kind": "NON_NULL",
13141
+ "name": null,
13142
+ "ofType": {
13143
+ "kind": "UNION",
13144
+ "name": "CreatePaymentMethodSetupResponse",
13145
+ "ofType": null
13146
+ }
13147
+ },
13148
+ "isDeprecated": false,
13149
+ "deprecationReason": null
13150
+ },
12412
13151
  {
12413
13152
  "name": "deleteCustomTxs",
12414
13153
  "description": "Delete Txs on a Custom Link. Once deleted, a Tx will not show up in listing queries, but can be resolved by if you lookup by its Fragment ID.",
@@ -12480,18 +13219,18 @@
12480
13219
  "deprecationReason": null
12481
13220
  },
12482
13221
  {
12483
- "name": "deleteSchema",
12484
- "description": "Delete a Schema",
13222
+ "name": "deletePaymentMethod",
13223
+ "description": "Delete a Payment Method saved for a User.",
12485
13224
  "args": [
12486
13225
  {
12487
- "name": "schema",
12488
- "description": null,
13226
+ "name": "paymentMethod",
13227
+ "description": "The Payment Method to delete.",
12489
13228
  "type": {
12490
13229
  "kind": "NON_NULL",
12491
13230
  "name": null,
12492
13231
  "ofType": {
12493
13232
  "kind": "INPUT_OBJECT",
12494
- "name": "SchemaMatchInput",
13233
+ "name": "PaymentMethodMatchInput",
12495
13234
  "ofType": null
12496
13235
  }
12497
13236
  },
@@ -12503,7 +13242,7 @@
12503
13242
  "name": null,
12504
13243
  "ofType": {
12505
13244
  "kind": "UNION",
12506
- "name": "DeleteSchemaResponse",
13245
+ "name": "DeletePaymentMethodResponse",
12507
13246
  "ofType": null
12508
13247
  }
12509
13248
  },
@@ -12511,8 +13250,39 @@
12511
13250
  "deprecationReason": null
12512
13251
  },
12513
13252
  {
12514
- "name": "instantiateLedgerAccount",
12515
- "description": "Instantiates a Ledger Account from a template in the Ledger's Schema before any Ledger Entry is posted to it. Creates any missing templated ancestors.",
13253
+ "name": "deleteSchema",
13254
+ "description": "Delete a Schema",
13255
+ "args": [
13256
+ {
13257
+ "name": "schema",
13258
+ "description": null,
13259
+ "type": {
13260
+ "kind": "NON_NULL",
13261
+ "name": null,
13262
+ "ofType": {
13263
+ "kind": "INPUT_OBJECT",
13264
+ "name": "SchemaMatchInput",
13265
+ "ofType": null
13266
+ }
13267
+ },
13268
+ "defaultValue": null
13269
+ }
13270
+ ],
13271
+ "type": {
13272
+ "kind": "NON_NULL",
13273
+ "name": null,
13274
+ "ofType": {
13275
+ "kind": "UNION",
13276
+ "name": "DeleteSchemaResponse",
13277
+ "ofType": null
13278
+ }
13279
+ },
13280
+ "isDeprecated": false,
13281
+ "deprecationReason": null
13282
+ },
13283
+ {
13284
+ "name": "instantiateLedgerAccount",
13285
+ "description": "Instantiates a Ledger Account from a template in the Ledger's Schema before any Ledger Entry is posted to it. Creates any missing templated ancestors.",
12516
13286
  "args": [
12517
13287
  {
12518
13288
  "name": "ledger",
@@ -12717,7 +13487,7 @@
12717
13487
  },
12718
13488
  {
12719
13489
  "name": "link",
12720
- "description": "An object containing the ID of a Custom Link.",
13490
+ "description": "An object containing the ID or creation IK of a Custom Link.",
12721
13491
  "type": {
12722
13492
  "kind": "NON_NULL",
12723
13493
  "name": null,
@@ -12748,7 +13518,7 @@
12748
13518
  "args": [
12749
13519
  {
12750
13520
  "name": "link",
12751
- "description": "An object containing the ID of a Custom Link.",
13521
+ "description": "An object containing the ID or creation IK of a Custom Link.",
12752
13522
  "type": {
12753
13523
  "kind": "NON_NULL",
12754
13524
  "name": null,
@@ -13026,7 +13796,7 @@
13026
13796
  {
13027
13797
  "kind": "OBJECT",
13028
13798
  "name": "Payment",
13029
- "description": "EXPERIMENTAL: A Payment posted to a Ledger.",
13799
+ "description": "A Payment posted to a Ledger.",
13030
13800
  "fields": [
13031
13801
  {
13032
13802
  "name": "amount",
@@ -13092,6 +13862,22 @@
13092
13862
  "isDeprecated": false,
13093
13863
  "deprecationReason": null
13094
13864
  },
13865
+ {
13866
+ "name": "events",
13867
+ "description": "The log of events that have occurred on this Payment, most recent first.",
13868
+ "args": [],
13869
+ "type": {
13870
+ "kind": "NON_NULL",
13871
+ "name": null,
13872
+ "ofType": {
13873
+ "kind": "OBJECT",
13874
+ "name": "PaymentEventsConnection",
13875
+ "ofType": null
13876
+ }
13877
+ },
13878
+ "isDeprecated": false,
13879
+ "deprecationReason": null
13880
+ },
13095
13881
  {
13096
13882
  "name": "id",
13097
13883
  "description": "The ID of this Payment.",
@@ -13226,10 +14012,217 @@
13226
14012
  "enumValues": null,
13227
14013
  "possibleTypes": null
13228
14014
  },
14015
+ {
14016
+ "kind": "OBJECT",
14017
+ "name": "PaymentCardCapturedEvent",
14018
+ "description": "The card network captured the Payment.",
14019
+ "fields": [
14020
+ {
14021
+ "name": "id",
14022
+ "description": "The ID of this Payment event.",
14023
+ "args": [],
14024
+ "type": {
14025
+ "kind": "NON_NULL",
14026
+ "name": null,
14027
+ "ofType": {
14028
+ "kind": "SCALAR",
14029
+ "name": "ID",
14030
+ "ofType": null
14031
+ }
14032
+ },
14033
+ "isDeprecated": false,
14034
+ "deprecationReason": null
14035
+ },
14036
+ {
14037
+ "name": "ledgerEntry",
14038
+ "description": "The `initiated` Ledger Entry, `null` where the Payment Type defines none.",
14039
+ "args": [],
14040
+ "type": {
14041
+ "kind": "OBJECT",
14042
+ "name": "LedgerEntry",
14043
+ "ofType": null
14044
+ },
14045
+ "isDeprecated": false,
14046
+ "deprecationReason": null
14047
+ },
14048
+ {
14049
+ "name": "occurredAt",
14050
+ "description": "When this event occurred.",
14051
+ "args": [],
14052
+ "type": {
14053
+ "kind": "NON_NULL",
14054
+ "name": null,
14055
+ "ofType": {
14056
+ "kind": "SCALAR",
14057
+ "name": "DateTime",
14058
+ "ofType": null
14059
+ }
14060
+ },
14061
+ "isDeprecated": false,
14062
+ "deprecationReason": null
14063
+ },
14064
+ {
14065
+ "name": "status",
14066
+ "description": "The status of the Payment after this event.",
14067
+ "args": [],
14068
+ "type": {
14069
+ "kind": "NON_NULL",
14070
+ "name": null,
14071
+ "ofType": {
14072
+ "kind": "ENUM",
14073
+ "name": "PaymentStatus",
14074
+ "ofType": null
14075
+ }
14076
+ },
14077
+ "isDeprecated": false,
14078
+ "deprecationReason": null
14079
+ }
14080
+ ],
14081
+ "inputFields": null,
14082
+ "interfaces": [
14083
+ {
14084
+ "kind": "INTERFACE",
14085
+ "name": "PaymentEvent",
14086
+ "ofType": null
14087
+ }
14088
+ ],
14089
+ "enumValues": null,
14090
+ "possibleTypes": null
14091
+ },
14092
+ {
14093
+ "kind": "OBJECT",
14094
+ "name": "PaymentCheckoutEvent",
14095
+ "description": "The payer went through checkout.",
14096
+ "fields": [
14097
+ {
14098
+ "name": "id",
14099
+ "description": "The ID of this Payment event.",
14100
+ "args": [],
14101
+ "type": {
14102
+ "kind": "NON_NULL",
14103
+ "name": null,
14104
+ "ofType": {
14105
+ "kind": "SCALAR",
14106
+ "name": "ID",
14107
+ "ofType": null
14108
+ }
14109
+ },
14110
+ "isDeprecated": false,
14111
+ "deprecationReason": null
14112
+ },
14113
+ {
14114
+ "name": "occurredAt",
14115
+ "description": "When this event occurred.",
14116
+ "args": [],
14117
+ "type": {
14118
+ "kind": "NON_NULL",
14119
+ "name": null,
14120
+ "ofType": {
14121
+ "kind": "SCALAR",
14122
+ "name": "DateTime",
14123
+ "ofType": null
14124
+ }
14125
+ },
14126
+ "isDeprecated": false,
14127
+ "deprecationReason": null
14128
+ },
14129
+ {
14130
+ "name": "status",
14131
+ "description": "The status of the Payment after this event.",
14132
+ "args": [],
14133
+ "type": {
14134
+ "kind": "NON_NULL",
14135
+ "name": null,
14136
+ "ofType": {
14137
+ "kind": "ENUM",
14138
+ "name": "PaymentStatus",
14139
+ "ofType": null
14140
+ }
14141
+ },
14142
+ "isDeprecated": false,
14143
+ "deprecationReason": null
14144
+ }
14145
+ ],
14146
+ "inputFields": null,
14147
+ "interfaces": [
14148
+ {
14149
+ "kind": "INTERFACE",
14150
+ "name": "PaymentEvent",
14151
+ "ofType": null
14152
+ }
14153
+ ],
14154
+ "enumValues": null,
14155
+ "possibleTypes": null
14156
+ },
14157
+ {
14158
+ "kind": "OBJECT",
14159
+ "name": "PaymentCreatedEvent",
14160
+ "description": "The Payment was created.",
14161
+ "fields": [
14162
+ {
14163
+ "name": "id",
14164
+ "description": "The ID of this Payment event.",
14165
+ "args": [],
14166
+ "type": {
14167
+ "kind": "NON_NULL",
14168
+ "name": null,
14169
+ "ofType": {
14170
+ "kind": "SCALAR",
14171
+ "name": "ID",
14172
+ "ofType": null
14173
+ }
14174
+ },
14175
+ "isDeprecated": false,
14176
+ "deprecationReason": null
14177
+ },
14178
+ {
14179
+ "name": "occurredAt",
14180
+ "description": "When this event occurred.",
14181
+ "args": [],
14182
+ "type": {
14183
+ "kind": "NON_NULL",
14184
+ "name": null,
14185
+ "ofType": {
14186
+ "kind": "SCALAR",
14187
+ "name": "DateTime",
14188
+ "ofType": null
14189
+ }
14190
+ },
14191
+ "isDeprecated": false,
14192
+ "deprecationReason": null
14193
+ },
14194
+ {
14195
+ "name": "status",
14196
+ "description": "The status of the Payment after this event.",
14197
+ "args": [],
14198
+ "type": {
14199
+ "kind": "NON_NULL",
14200
+ "name": null,
14201
+ "ofType": {
14202
+ "kind": "ENUM",
14203
+ "name": "PaymentStatus",
14204
+ "ofType": null
14205
+ }
14206
+ },
14207
+ "isDeprecated": false,
14208
+ "deprecationReason": null
14209
+ }
14210
+ ],
14211
+ "inputFields": null,
14212
+ "interfaces": [
14213
+ {
14214
+ "kind": "INTERFACE",
14215
+ "name": "PaymentEvent",
14216
+ "ofType": null
14217
+ }
14218
+ ],
14219
+ "enumValues": null,
14220
+ "possibleTypes": null
14221
+ },
13229
14222
  {
13230
14223
  "kind": "OBJECT",
13231
14224
  "name": "PaymentCurrency",
13232
- "description": "EXPERIMENTAL: The currency a Payment is denominated in.",
14225
+ "description": "The currency a Payment is denominated in.",
13233
14226
  "fields": [
13234
14227
  {
13235
14228
  "name": "code",
@@ -13288,7 +14281,7 @@
13288
14281
  {
13289
14282
  "kind": "ENUM",
13290
14283
  "name": "PaymentCurrencyCode",
13291
- "description": "EXPERIMENTAL — subject to change.\n\nThe currencies a Payment can be denominated in.",
14284
+ "description": "The currencies a Payment can be denominated in.",
13292
14285
  "fields": null,
13293
14286
  "inputFields": null,
13294
14287
  "interfaces": null,
@@ -13303,38 +14296,552 @@
13303
14296
  "possibleTypes": null
13304
14297
  },
13305
14298
  {
13306
- "kind": "INPUT_OBJECT",
13307
- "name": "PaymentMatchInput",
13308
- "description": "Specify a Ledger Payment by using `ledger` and `ik`.",
13309
- "fields": null,
13310
- "inputFields": [
14299
+ "kind": "INTERFACE",
14300
+ "name": "PaymentEvent",
14301
+ "description": "Something that happened to a Payment.",
14302
+ "fields": [
13311
14303
  {
13312
- "name": "ik",
13313
- "description": "The Idempotency Key the Payment was created with.",
14304
+ "name": "id",
14305
+ "description": "The ID of this Payment event.",
14306
+ "args": [],
13314
14307
  "type": {
13315
14308
  "kind": "NON_NULL",
13316
14309
  "name": null,
13317
14310
  "ofType": {
13318
14311
  "kind": "SCALAR",
13319
- "name": "SafeString",
14312
+ "name": "ID",
13320
14313
  "ofType": null
13321
14314
  }
13322
14315
  },
13323
- "defaultValue": null
14316
+ "isDeprecated": false,
14317
+ "deprecationReason": null
13324
14318
  },
13325
14319
  {
13326
- "name": "ledger",
13327
- "description": "The Ledger the Payment belongs to.",
14320
+ "name": "occurredAt",
14321
+ "description": "When this event occurred.",
14322
+ "args": [],
13328
14323
  "type": {
13329
14324
  "kind": "NON_NULL",
13330
14325
  "name": null,
13331
14326
  "ofType": {
13332
- "kind": "INPUT_OBJECT",
13333
- "name": "LedgerMatchInput",
14327
+ "kind": "SCALAR",
14328
+ "name": "DateTime",
13334
14329
  "ofType": null
13335
14330
  }
13336
14331
  },
13337
- "defaultValue": null
14332
+ "isDeprecated": false,
14333
+ "deprecationReason": null
14334
+ },
14335
+ {
14336
+ "name": "status",
14337
+ "description": "The status of the Payment after this event.",
14338
+ "args": [],
14339
+ "type": {
14340
+ "kind": "NON_NULL",
14341
+ "name": null,
14342
+ "ofType": {
14343
+ "kind": "ENUM",
14344
+ "name": "PaymentStatus",
14345
+ "ofType": null
14346
+ }
14347
+ },
14348
+ "isDeprecated": false,
14349
+ "deprecationReason": null
14350
+ }
14351
+ ],
14352
+ "inputFields": null,
14353
+ "interfaces": [],
14354
+ "enumValues": null,
14355
+ "possibleTypes": [
14356
+ {
14357
+ "kind": "OBJECT",
14358
+ "name": "PaymentCardCapturedEvent",
14359
+ "ofType": null
14360
+ },
14361
+ {
14362
+ "kind": "OBJECT",
14363
+ "name": "PaymentCheckoutEvent",
14364
+ "ofType": null
14365
+ },
14366
+ {
14367
+ "kind": "OBJECT",
14368
+ "name": "PaymentCreatedEvent",
14369
+ "ofType": null
14370
+ },
14371
+ {
14372
+ "kind": "OBJECT",
14373
+ "name": "PaymentSettledEvent",
14374
+ "ofType": null
14375
+ }
14376
+ ]
14377
+ },
14378
+ {
14379
+ "kind": "OBJECT",
14380
+ "name": "PaymentEventsConnection",
14381
+ "description": "A paginated list of Payment events.",
14382
+ "fields": [
14383
+ {
14384
+ "name": "nodes",
14385
+ "description": "The current page of results.",
14386
+ "args": [],
14387
+ "type": {
14388
+ "kind": "NON_NULL",
14389
+ "name": null,
14390
+ "ofType": {
14391
+ "kind": "LIST",
14392
+ "name": null,
14393
+ "ofType": {
14394
+ "kind": "NON_NULL",
14395
+ "name": null,
14396
+ "ofType": {
14397
+ "kind": "INTERFACE",
14398
+ "name": "PaymentEvent",
14399
+ "ofType": null
14400
+ }
14401
+ }
14402
+ }
14403
+ },
14404
+ "isDeprecated": false,
14405
+ "deprecationReason": null
14406
+ },
14407
+ {
14408
+ "name": "pageInfo",
14409
+ "description": "The pagination info for this list.",
14410
+ "args": [],
14411
+ "type": {
14412
+ "kind": "NON_NULL",
14413
+ "name": null,
14414
+ "ofType": {
14415
+ "kind": "OBJECT",
14416
+ "name": "PageInfo",
14417
+ "ofType": null
14418
+ }
14419
+ },
14420
+ "isDeprecated": false,
14421
+ "deprecationReason": null
14422
+ }
14423
+ ],
14424
+ "inputFields": null,
14425
+ "interfaces": [],
14426
+ "enumValues": null,
14427
+ "possibleTypes": null
14428
+ },
14429
+ {
14430
+ "kind": "INPUT_OBJECT",
14431
+ "name": "PaymentMatchInput",
14432
+ "description": "Specify a Ledger Payment by using `ledger` and `ik`.",
14433
+ "fields": null,
14434
+ "inputFields": [
14435
+ {
14436
+ "name": "ik",
14437
+ "description": "The Idempotency Key the Payment was created with.",
14438
+ "type": {
14439
+ "kind": "NON_NULL",
14440
+ "name": null,
14441
+ "ofType": {
14442
+ "kind": "SCALAR",
14443
+ "name": "SafeString",
14444
+ "ofType": null
14445
+ }
14446
+ },
14447
+ "defaultValue": null
14448
+ },
14449
+ {
14450
+ "name": "ledger",
14451
+ "description": "The Ledger the Payment belongs to.",
14452
+ "type": {
14453
+ "kind": "NON_NULL",
14454
+ "name": null,
14455
+ "ofType": {
14456
+ "kind": "INPUT_OBJECT",
14457
+ "name": "LedgerMatchInput",
14458
+ "ofType": null
14459
+ }
14460
+ },
14461
+ "defaultValue": null
14462
+ }
14463
+ ],
14464
+ "interfaces": null,
14465
+ "enumValues": null,
14466
+ "possibleTypes": null
14467
+ },
14468
+ {
14469
+ "kind": "INTERFACE",
14470
+ "name": "PaymentMethod",
14471
+ "description": "A payment method saved for a User.",
14472
+ "fields": [
14473
+ {
14474
+ "name": "created",
14475
+ "description": "When the payment method was saved.",
14476
+ "args": [],
14477
+ "type": {
14478
+ "kind": "NON_NULL",
14479
+ "name": null,
14480
+ "ofType": {
14481
+ "kind": "SCALAR",
14482
+ "name": "DateTime",
14483
+ "ofType": null
14484
+ }
14485
+ },
14486
+ "isDeprecated": false,
14487
+ "deprecationReason": null
14488
+ },
14489
+ {
14490
+ "name": "id",
14491
+ "description": "FRAGMENT ID of the saved Payment Method.",
14492
+ "args": [],
14493
+ "type": {
14494
+ "kind": "NON_NULL",
14495
+ "name": null,
14496
+ "ofType": {
14497
+ "kind": "SCALAR",
14498
+ "name": "ID",
14499
+ "ofType": null
14500
+ }
14501
+ },
14502
+ "isDeprecated": false,
14503
+ "deprecationReason": null
14504
+ },
14505
+ {
14506
+ "name": "user",
14507
+ "description": "The user who owns this payment method.",
14508
+ "args": [],
14509
+ "type": {
14510
+ "kind": "NON_NULL",
14511
+ "name": null,
14512
+ "ofType": {
14513
+ "kind": "OBJECT",
14514
+ "name": "User",
14515
+ "ofType": null
14516
+ }
14517
+ },
14518
+ "isDeprecated": false,
14519
+ "deprecationReason": null
14520
+ }
14521
+ ],
14522
+ "inputFields": null,
14523
+ "interfaces": [],
14524
+ "enumValues": null,
14525
+ "possibleTypes": [
14526
+ {
14527
+ "kind": "OBJECT",
14528
+ "name": "CardPaymentMethod",
14529
+ "ofType": null
14530
+ }
14531
+ ]
14532
+ },
14533
+ {
14534
+ "kind": "INPUT_OBJECT",
14535
+ "name": "PaymentMethodMatchInput",
14536
+ "description": "Specify a saved Payment Method by its ID.",
14537
+ "fields": null,
14538
+ "inputFields": [
14539
+ {
14540
+ "name": "id",
14541
+ "description": "FRAGMENT ID of the Payment Method.",
14542
+ "type": {
14543
+ "kind": "NON_NULL",
14544
+ "name": null,
14545
+ "ofType": {
14546
+ "kind": "SCALAR",
14547
+ "name": "ID",
14548
+ "ofType": null
14549
+ }
14550
+ },
14551
+ "defaultValue": null
14552
+ }
14553
+ ],
14554
+ "interfaces": null,
14555
+ "enumValues": null,
14556
+ "possibleTypes": null
14557
+ },
14558
+ {
14559
+ "kind": "OBJECT",
14560
+ "name": "PaymentMethodSetup",
14561
+ "description": "An attempt to save the Payment Method for a User.",
14562
+ "fields": [
14563
+ {
14564
+ "name": "clientSecret",
14565
+ "description": "The credential to provide to the `<PaymentMethodSetupSession>` component in the Fragment Elements SDK.",
14566
+ "args": [],
14567
+ "type": {
14568
+ "kind": "NON_NULL",
14569
+ "name": null,
14570
+ "ofType": {
14571
+ "kind": "SCALAR",
14572
+ "name": "String",
14573
+ "ofType": null
14574
+ }
14575
+ },
14576
+ "isDeprecated": false,
14577
+ "deprecationReason": null
14578
+ },
14579
+ {
14580
+ "name": "created",
14581
+ "description": "When the Payment Method Setup was created.",
14582
+ "args": [],
14583
+ "type": {
14584
+ "kind": "NON_NULL",
14585
+ "name": null,
14586
+ "ofType": {
14587
+ "kind": "SCALAR",
14588
+ "name": "DateTime",
14589
+ "ofType": null
14590
+ }
14591
+ },
14592
+ "isDeprecated": false,
14593
+ "deprecationReason": null
14594
+ },
14595
+ {
14596
+ "name": "currency",
14597
+ "description": "The currency the saved payment method will be charged in.",
14598
+ "args": [],
14599
+ "type": {
14600
+ "kind": "NON_NULL",
14601
+ "name": null,
14602
+ "ofType": {
14603
+ "kind": "OBJECT",
14604
+ "name": "PaymentCurrency",
14605
+ "ofType": null
14606
+ }
14607
+ },
14608
+ "isDeprecated": false,
14609
+ "deprecationReason": null
14610
+ },
14611
+ {
14612
+ "name": "id",
14613
+ "description": "The Fragment ID of this Payment Method Setup.",
14614
+ "args": [],
14615
+ "type": {
14616
+ "kind": "NON_NULL",
14617
+ "name": null,
14618
+ "ofType": {
14619
+ "kind": "SCALAR",
14620
+ "name": "ID",
14621
+ "ofType": null
14622
+ }
14623
+ },
14624
+ "isDeprecated": false,
14625
+ "deprecationReason": null
14626
+ },
14627
+ {
14628
+ "name": "ik",
14629
+ "description": "The [Idempotency Key](https://fragment.dev/api-reference/api-overview#idempotency) the Payment Method Setup was created with.",
14630
+ "args": [],
14631
+ "type": {
14632
+ "kind": "NON_NULL",
14633
+ "name": null,
14634
+ "ofType": {
14635
+ "kind": "SCALAR",
14636
+ "name": "SafeString",
14637
+ "ofType": null
14638
+ }
14639
+ },
14640
+ "isDeprecated": false,
14641
+ "deprecationReason": null
14642
+ },
14643
+ {
14644
+ "name": "mode",
14645
+ "description": "Whether this Payment Method Setup was created in sandbox or production.",
14646
+ "args": [],
14647
+ "type": {
14648
+ "kind": "NON_NULL",
14649
+ "name": null,
14650
+ "ofType": {
14651
+ "kind": "ENUM",
14652
+ "name": "PaymentMode",
14653
+ "ofType": null
14654
+ }
14655
+ },
14656
+ "isDeprecated": false,
14657
+ "deprecationReason": null
14658
+ },
14659
+ {
14660
+ "name": "paymentMethod",
14661
+ "description": "The Payment Method this setup saved, once its status is `saved`.",
14662
+ "args": [],
14663
+ "type": {
14664
+ "kind": "INTERFACE",
14665
+ "name": "PaymentMethod",
14666
+ "ofType": null
14667
+ },
14668
+ "isDeprecated": false,
14669
+ "deprecationReason": null
14670
+ },
14671
+ {
14672
+ "name": "status",
14673
+ "description": "The status of this Payment Method Setup.",
14674
+ "args": [],
14675
+ "type": {
14676
+ "kind": "NON_NULL",
14677
+ "name": null,
14678
+ "ofType": {
14679
+ "kind": "ENUM",
14680
+ "name": "PaymentMethodSetupStatus",
14681
+ "ofType": null
14682
+ }
14683
+ },
14684
+ "isDeprecated": false,
14685
+ "deprecationReason": null
14686
+ }
14687
+ ],
14688
+ "inputFields": null,
14689
+ "interfaces": [],
14690
+ "enumValues": null,
14691
+ "possibleTypes": null
14692
+ },
14693
+ {
14694
+ "kind": "INPUT_OBJECT",
14695
+ "name": "PaymentMethodSetupMatchInput",
14696
+ "description": "Specify a Payment Method Setup by using `id`, or `ik` and `ledger`, or all three when they name the same Payment Method Setup.",
14697
+ "fields": null,
14698
+ "inputFields": [
14699
+ {
14700
+ "name": "id",
14701
+ "description": "The FRAGMENT ID of the Payment Method Setup.",
14702
+ "type": {
14703
+ "kind": "SCALAR",
14704
+ "name": "ID",
14705
+ "ofType": null
14706
+ },
14707
+ "defaultValue": null
14708
+ },
14709
+ {
14710
+ "name": "ik",
14711
+ "description": "The IK passed to `createPaymentMethodSetup`. Required if you have not provided `id`.",
14712
+ "type": {
14713
+ "kind": "SCALAR",
14714
+ "name": "SafeString",
14715
+ "ofType": null
14716
+ },
14717
+ "defaultValue": null
14718
+ },
14719
+ {
14720
+ "name": "ledger",
14721
+ "description": "The Ledger the Payment Method Setup belongs to. Required if you have not provided `id`.",
14722
+ "type": {
14723
+ "kind": "INPUT_OBJECT",
14724
+ "name": "LedgerMatchInput",
14725
+ "ofType": null
14726
+ },
14727
+ "defaultValue": null
14728
+ }
14729
+ ],
14730
+ "interfaces": null,
14731
+ "enumValues": null,
14732
+ "possibleTypes": null
14733
+ },
14734
+ {
14735
+ "kind": "ENUM",
14736
+ "name": "PaymentMethodSetupStatus",
14737
+ "description": "Status of a Payment Method Setup.",
14738
+ "fields": null,
14739
+ "inputFields": null,
14740
+ "interfaces": null,
14741
+ "enumValues": [
14742
+ {
14743
+ "name": "canceled",
14744
+ "description": null,
14745
+ "isDeprecated": false,
14746
+ "deprecationReason": null
14747
+ },
14748
+ {
14749
+ "name": "needs_action",
14750
+ "description": null,
14751
+ "isDeprecated": false,
14752
+ "deprecationReason": null
14753
+ },
14754
+ {
14755
+ "name": "needs_payment_method",
14756
+ "description": null,
14757
+ "isDeprecated": false,
14758
+ "deprecationReason": null
14759
+ },
14760
+ {
14761
+ "name": "processing",
14762
+ "description": null,
14763
+ "isDeprecated": false,
14764
+ "deprecationReason": null
14765
+ },
14766
+ {
14767
+ "name": "saved",
14768
+ "description": null,
14769
+ "isDeprecated": false,
14770
+ "deprecationReason": null
14771
+ }
14772
+ ],
14773
+ "possibleTypes": null
14774
+ },
14775
+ {
14776
+ "kind": "OBJECT",
14777
+ "name": "PaymentMethodsConnection",
14778
+ "description": "A list of Payment Methods, all in one page.",
14779
+ "fields": [
14780
+ {
14781
+ "name": "nodes",
14782
+ "description": "Every Payment Method in the list.",
14783
+ "args": [],
14784
+ "type": {
14785
+ "kind": "NON_NULL",
14786
+ "name": null,
14787
+ "ofType": {
14788
+ "kind": "LIST",
14789
+ "name": null,
14790
+ "ofType": {
14791
+ "kind": "NON_NULL",
14792
+ "name": null,
14793
+ "ofType": {
14794
+ "kind": "INTERFACE",
14795
+ "name": "PaymentMethod",
14796
+ "ofType": null
14797
+ }
14798
+ }
14799
+ }
14800
+ },
14801
+ "isDeprecated": false,
14802
+ "deprecationReason": null
14803
+ },
14804
+ {
14805
+ "name": "pageInfo",
14806
+ "description": "The pagination info for this list. It never reports another page.",
14807
+ "args": [],
14808
+ "type": {
14809
+ "kind": "NON_NULL",
14810
+ "name": null,
14811
+ "ofType": {
14812
+ "kind": "OBJECT",
14813
+ "name": "PageInfo",
14814
+ "ofType": null
14815
+ }
14816
+ },
14817
+ "isDeprecated": false,
14818
+ "deprecationReason": null
14819
+ }
14820
+ ],
14821
+ "inputFields": null,
14822
+ "interfaces": [],
14823
+ "enumValues": null,
14824
+ "possibleTypes": null
14825
+ },
14826
+ {
14827
+ "kind": "INPUT_OBJECT",
14828
+ "name": "PaymentMethodsFilterSet",
14829
+ "description": "Filter the list of saved Payment Methods returned.",
14830
+ "fields": null,
14831
+ "inputFields": [
14832
+ {
14833
+ "name": "user",
14834
+ "description": "Filter by the User the Payment Method belongs to.",
14835
+ "type": {
14836
+ "kind": "NON_NULL",
14837
+ "name": null,
14838
+ "ofType": {
14839
+ "kind": "INPUT_OBJECT",
14840
+ "name": "UserFilter",
14841
+ "ofType": null
14842
+ }
14843
+ },
14844
+ "defaultValue": null
13338
14845
  }
13339
14846
  ],
13340
14847
  "interfaces": null,
@@ -13364,16 +14871,97 @@
13364
14871
  ],
13365
14872
  "possibleTypes": null
13366
14873
  },
14874
+ {
14875
+ "kind": "OBJECT",
14876
+ "name": "PaymentSettledEvent",
14877
+ "description": "The Payment settled.",
14878
+ "fields": [
14879
+ {
14880
+ "name": "id",
14881
+ "description": "The ID of this Payment event.",
14882
+ "args": [],
14883
+ "type": {
14884
+ "kind": "NON_NULL",
14885
+ "name": null,
14886
+ "ofType": {
14887
+ "kind": "SCALAR",
14888
+ "name": "ID",
14889
+ "ofType": null
14890
+ }
14891
+ },
14892
+ "isDeprecated": false,
14893
+ "deprecationReason": null
14894
+ },
14895
+ {
14896
+ "name": "ledgerEntry",
14897
+ "description": "The `settled` Ledger Entry.",
14898
+ "args": [],
14899
+ "type": {
14900
+ "kind": "NON_NULL",
14901
+ "name": null,
14902
+ "ofType": {
14903
+ "kind": "OBJECT",
14904
+ "name": "LedgerEntry",
14905
+ "ofType": null
14906
+ }
14907
+ },
14908
+ "isDeprecated": false,
14909
+ "deprecationReason": null
14910
+ },
14911
+ {
14912
+ "name": "occurredAt",
14913
+ "description": "When this event occurred.",
14914
+ "args": [],
14915
+ "type": {
14916
+ "kind": "NON_NULL",
14917
+ "name": null,
14918
+ "ofType": {
14919
+ "kind": "SCALAR",
14920
+ "name": "DateTime",
14921
+ "ofType": null
14922
+ }
14923
+ },
14924
+ "isDeprecated": false,
14925
+ "deprecationReason": null
14926
+ },
14927
+ {
14928
+ "name": "status",
14929
+ "description": "The status of the Payment after this event.",
14930
+ "args": [],
14931
+ "type": {
14932
+ "kind": "NON_NULL",
14933
+ "name": null,
14934
+ "ofType": {
14935
+ "kind": "ENUM",
14936
+ "name": "PaymentStatus",
14937
+ "ofType": null
14938
+ }
14939
+ },
14940
+ "isDeprecated": false,
14941
+ "deprecationReason": null
14942
+ }
14943
+ ],
14944
+ "inputFields": null,
14945
+ "interfaces": [
14946
+ {
14947
+ "kind": "INTERFACE",
14948
+ "name": "PaymentEvent",
14949
+ "ofType": null
14950
+ }
14951
+ ],
14952
+ "enumValues": null,
14953
+ "possibleTypes": null
14954
+ },
13367
14955
  {
13368
14956
  "kind": "ENUM",
13369
14957
  "name": "PaymentStatus",
13370
- "description": "EXPERIMENTAL — subject to change.\n\nStatus of a Payment.",
14958
+ "description": "Status of a Payment.",
13371
14959
  "fields": null,
13372
14960
  "inputFields": null,
13373
14961
  "interfaces": null,
13374
14962
  "enumValues": [
13375
14963
  {
13376
- "name": "approved",
14964
+ "name": "accepted",
13377
14965
  "description": null,
13378
14966
  "isDeprecated": false,
13379
14967
  "deprecationReason": null
@@ -13402,7 +14990,7 @@
13402
14990
  {
13403
14991
  "kind": "INPUT_OBJECT",
13404
14992
  "name": "PaymentStatusFilter",
13405
- "description": "EXPERIMENTAL: Filters a result set by Payment status.",
14993
+ "description": "Filters a result set by Payment status.",
13406
14994
  "fields": null,
13407
14995
  "inputFields": [
13408
14996
  {
@@ -13441,7 +15029,7 @@
13441
15029
  {
13442
15030
  "kind": "OBJECT",
13443
15031
  "name": "PaymentsConnection",
13444
- "description": "EXPERIMENTAL: A paginated list of Payments.",
15032
+ "description": "A paginated list of Payments.",
13445
15033
  "fields": [
13446
15034
  {
13447
15035
  "name": "nodes",
@@ -13492,7 +15080,7 @@
13492
15080
  {
13493
15081
  "kind": "INPUT_OBJECT",
13494
15082
  "name": "PaymentsFilterSet",
13495
- "description": "EXPERIMENTAL: The filters that can be applied to a list of Payments.",
15083
+ "description": "The filters that can be applied to a list of Payments.",
13496
15084
  "fields": null,
13497
15085
  "inputFields": [
13498
15086
  {
@@ -13948,11 +15536,11 @@
13948
15536
  },
13949
15537
  {
13950
15538
  "name": "link",
13951
- "description": "Get a Link by ID. Returns a BadRequestError if the Link is not found.",
15539
+ "description": "Get a Link by ID or a Custom Link by creation IK. Returns a BadRequestError if the Link is not found.",
13952
15540
  "args": [
13953
15541
  {
13954
15542
  "name": "link",
13955
- "description": "An object containing the ID of the Link you are querying",
15543
+ "description": "An object containing the ID or creation IK of the Link you are querying",
13956
15544
  "type": {
13957
15545
  "kind": "NON_NULL",
13958
15546
  "name": null,
@@ -13991,7 +15579,7 @@
13991
15579
  },
13992
15580
  {
13993
15581
  "name": "payment",
13994
- "description": "EXPERIMENTAL: Get a single Payment by its Idempotency Key.",
15582
+ "description": "Get a single Payment by its Idempotency Key.",
13995
15583
  "args": [
13996
15584
  {
13997
15585
  "name": "payment",
@@ -14016,6 +15604,135 @@
14016
15604
  "isDeprecated": false,
14017
15605
  "deprecationReason": null
14018
15606
  },
15607
+ {
15608
+ "name": "paymentMethod",
15609
+ "description": "Get a Payment Method saved for a User.",
15610
+ "args": [
15611
+ {
15612
+ "name": "paymentMethod",
15613
+ "description": "The Payment Method to get.",
15614
+ "type": {
15615
+ "kind": "NON_NULL",
15616
+ "name": null,
15617
+ "ofType": {
15618
+ "kind": "INPUT_OBJECT",
15619
+ "name": "PaymentMethodMatchInput",
15620
+ "ofType": null
15621
+ }
15622
+ },
15623
+ "defaultValue": null
15624
+ }
15625
+ ],
15626
+ "type": {
15627
+ "kind": "INTERFACE",
15628
+ "name": "PaymentMethod",
15629
+ "ofType": null
15630
+ },
15631
+ "isDeprecated": false,
15632
+ "deprecationReason": null
15633
+ },
15634
+ {
15635
+ "name": "paymentMethodSetup",
15636
+ "description": "Get a Payment Method Setup.",
15637
+ "args": [
15638
+ {
15639
+ "name": "paymentMethodSetup",
15640
+ "description": "The Payment Method Setup to get.",
15641
+ "type": {
15642
+ "kind": "NON_NULL",
15643
+ "name": null,
15644
+ "ofType": {
15645
+ "kind": "INPUT_OBJECT",
15646
+ "name": "PaymentMethodSetupMatchInput",
15647
+ "ofType": null
15648
+ }
15649
+ },
15650
+ "defaultValue": null
15651
+ }
15652
+ ],
15653
+ "type": {
15654
+ "kind": "NON_NULL",
15655
+ "name": null,
15656
+ "ofType": {
15657
+ "kind": "OBJECT",
15658
+ "name": "PaymentMethodSetup",
15659
+ "ofType": null
15660
+ }
15661
+ },
15662
+ "isDeprecated": false,
15663
+ "deprecationReason": null
15664
+ },
15665
+ {
15666
+ "name": "paymentMethods",
15667
+ "description": "List the Payment Methods a User saved in a Ledger, newest first. Deleted Payment Methods are not listed.",
15668
+ "args": [
15669
+ {
15670
+ "name": "after",
15671
+ "description": "Ignored. The list is always one page.",
15672
+ "type": {
15673
+ "kind": "SCALAR",
15674
+ "name": "String",
15675
+ "ofType": null
15676
+ },
15677
+ "defaultValue": null
15678
+ },
15679
+ {
15680
+ "name": "before",
15681
+ "description": "Ignored. The list is always one page.",
15682
+ "type": {
15683
+ "kind": "SCALAR",
15684
+ "name": "String",
15685
+ "ofType": null
15686
+ },
15687
+ "defaultValue": null
15688
+ },
15689
+ {
15690
+ "name": "filter",
15691
+ "description": "The User whose Payment Methods to list.",
15692
+ "type": {
15693
+ "kind": "NON_NULL",
15694
+ "name": null,
15695
+ "ofType": {
15696
+ "kind": "INPUT_OBJECT",
15697
+ "name": "PaymentMethodsFilterSet",
15698
+ "ofType": null
15699
+ }
15700
+ },
15701
+ "defaultValue": null
15702
+ },
15703
+ {
15704
+ "name": "first",
15705
+ "description": "Ignored. The list is always one page.",
15706
+ "type": {
15707
+ "kind": "SCALAR",
15708
+ "name": "Int",
15709
+ "ofType": null
15710
+ },
15711
+ "defaultValue": null
15712
+ },
15713
+ {
15714
+ "name": "last",
15715
+ "description": "Ignored. The list is always one page.",
15716
+ "type": {
15717
+ "kind": "SCALAR",
15718
+ "name": "Int",
15719
+ "ofType": null
15720
+ },
15721
+ "defaultValue": null
15722
+ }
15723
+ ],
15724
+ "type": {
15725
+ "kind": "NON_NULL",
15726
+ "name": null,
15727
+ "ofType": {
15728
+ "kind": "OBJECT",
15729
+ "name": "PaymentMethodsConnection",
15730
+ "ofType": null
15731
+ }
15732
+ },
15733
+ "isDeprecated": false,
15734
+ "deprecationReason": null
15735
+ },
14019
15736
  {
14020
15737
  "name": "schema",
14021
15738
  "description": "Get a Schema by key.",
@@ -14271,6 +15988,73 @@
14271
15988
  "enumValues": null,
14272
15989
  "possibleTypes": null
14273
15990
  },
15991
+ {
15992
+ "kind": "OBJECT",
15993
+ "name": "ReconciliationReport",
15994
+ "description": "Reconciliation counts grouped by age, measured from endTime.",
15995
+ "fields": [
15996
+ {
15997
+ "name": "endTime",
15998
+ "description": "Time of the request; the exclusive cutoff used to compute interval boundaries.",
15999
+ "args": [],
16000
+ "type": {
16001
+ "kind": "NON_NULL",
16002
+ "name": null,
16003
+ "ofType": {
16004
+ "kind": "SCALAR",
16005
+ "name": "DateTime",
16006
+ "ofType": null
16007
+ }
16008
+ },
16009
+ "isDeprecated": false,
16010
+ "deprecationReason": null
16011
+ },
16012
+ {
16013
+ "name": "granularity",
16014
+ "description": "Unit used to compute interval boundaries.",
16015
+ "args": [],
16016
+ "type": {
16017
+ "kind": "NON_NULL",
16018
+ "name": null,
16019
+ "ofType": {
16020
+ "kind": "ENUM",
16021
+ "name": "Granularity",
16022
+ "ofType": null
16023
+ }
16024
+ },
16025
+ "isDeprecated": false,
16026
+ "deprecationReason": null
16027
+ },
16028
+ {
16029
+ "name": "intervals",
16030
+ "description": "Intervals ordered youngest first. The final interval has no lower time bound.",
16031
+ "args": [],
16032
+ "type": {
16033
+ "kind": "NON_NULL",
16034
+ "name": null,
16035
+ "ofType": {
16036
+ "kind": "LIST",
16037
+ "name": null,
16038
+ "ofType": {
16039
+ "kind": "NON_NULL",
16040
+ "name": null,
16041
+ "ofType": {
16042
+ "kind": "OBJECT",
16043
+ "name": "AgingInterval",
16044
+ "ofType": null
16045
+ }
16046
+ }
16047
+ }
16048
+ },
16049
+ "isDeprecated": false,
16050
+ "deprecationReason": null
16051
+ }
16052
+ ],
16053
+ "inputFields": null,
16054
+ "interfaces": [],
16055
+ "enumValues": null,
16056
+ "possibleTypes": null
16057
+ },
14274
16058
  {
14275
16059
  "kind": "UNION",
14276
16060
  "name": "ReverseLedgerEntryResponse",
@@ -14443,7 +16227,7 @@
14443
16227
  },
14444
16228
  {
14445
16229
  "name": "payment",
14446
- "description": "EXPERIMENTAL: The simulated Payment lifecycle transition. Required when eventType is `payment`.",
16230
+ "description": "The simulated Payment lifecycle transition. Required when eventType is `payment`.",
14447
16231
  "type": {
14448
16232
  "kind": "INPUT_OBJECT",
14449
16233
  "name": "ScenePaymentEventInput",
@@ -14472,7 +16256,7 @@
14472
16256
  },
14473
16257
  {
14474
16258
  "name": "payment",
14475
- "description": "EXPERIMENTAL: One lifecycle transition of a simulated Payment.",
16259
+ "description": "One lifecycle transition of a simulated Payment.",
14476
16260
  "isDeprecated": false,
14477
16261
  "deprecationReason": null
14478
16262
  }
@@ -14523,7 +16307,7 @@
14523
16307
  },
14524
16308
  {
14525
16309
  "name": "payments",
14526
- "description": "EXPERIMENTAL: The simulated Payments the Scene's payment events reference.",
16310
+ "description": "The simulated Payments the Scene's payment events reference.",
14527
16311
  "type": {
14528
16312
  "kind": "LIST",
14529
16313
  "name": null,
@@ -14547,7 +16331,7 @@
14547
16331
  {
14548
16332
  "kind": "INPUT_OBJECT",
14549
16333
  "name": "ScenePaymentEventInput",
14550
- "description": "EXPERIMENTAL: One lifecycle transition of a simulated Payment, posted as a\npart of a Scene.",
16334
+ "description": "One lifecycle transition of a simulated Payment, posted as a\npart of a Scene.",
14551
16335
  "fields": null,
14552
16336
  "inputFields": [
14553
16337
  {
@@ -14586,7 +16370,7 @@
14586
16370
  {
14587
16371
  "kind": "INPUT_OBJECT",
14588
16372
  "name": "ScenePaymentInput",
14589
- "description": "EXPERIMENTAL: A simulated Payment declared by a Scene. Its lifecycle events\nreference it by `ik`, so one simulated Payment has exactly one set of\nparameters.",
16373
+ "description": "A simulated Payment declared by a Scene. Its lifecycle events\nreference it by `ik`, so one simulated Payment has exactly one set of\nparameters.",
14590
16374
  "fields": null,
14591
16375
  "inputFields": [
14592
16376
  {
@@ -15023,6 +16807,16 @@
15023
16807
  },
15024
16808
  "defaultValue": null
15025
16809
  },
16810
+ {
16811
+ "name": "linkIk",
16812
+ "description": "The idempotency key of a CustomLink, expressed with a schema parameter. Requires linkType: CustomLink.\nIf linkId is also supplied, both must identify the same Link.",
16813
+ "type": {
16814
+ "kind": "SCALAR",
16815
+ "name": "ParameterizedString",
16816
+ "ofType": null
16817
+ },
16818
+ "defaultValue": null
16819
+ },
15026
16820
  {
15027
16821
  "name": "linkType",
15028
16822
  "description": "The type of Link this external account belongs to. Must be one of: IncreaseLink, UnitLink, CustomLink, or StripeLink.",
@@ -15122,7 +16916,7 @@
15122
16916
  },
15123
16917
  {
15124
16918
  "name": "payments",
15125
- "description": "EXPERIMENTAL: The Payment Types to add to the Schema.",
16919
+ "description": "The Payment Types to add to the Schema.",
15126
16920
  "type": {
15127
16921
  "kind": "INPUT_OBJECT",
15128
16922
  "name": "SchemaPaymentsInput",
@@ -15294,7 +17088,7 @@
15294
17088
  },
15295
17089
  {
15296
17090
  "name": "payment",
15297
- "description": "EXPERIMENTAL: Marks this as a Payment Account.",
17091
+ "description": "Marks this as a Payment Account.",
15298
17092
  "type": {
15299
17093
  "kind": "INPUT_OBJECT",
15300
17094
  "name": "SchemaPaymentInput",
@@ -15888,14 +17682,14 @@
15888
17682
  {
15889
17683
  "kind": "ENUM",
15890
17684
  "name": "SchemaPaymentAccountingEventKey",
15891
- "description": "EXPERIMENTAL: A lifecycle transition of a Payment.",
17685
+ "description": "A lifecycle transition of a Payment.",
15892
17686
  "fields": null,
15893
17687
  "inputFields": null,
15894
17688
  "interfaces": null,
15895
17689
  "enumValues": [
15896
17690
  {
15897
17691
  "name": "initiated",
15898
- "description": "The payment was approved and is guaranteed to settle.",
17692
+ "description": "The payment was captured and is guaranteed to settle.",
15899
17693
  "isDeprecated": false,
15900
17694
  "deprecationReason": null
15901
17695
  },
@@ -15911,12 +17705,12 @@
15911
17705
  {
15912
17706
  "kind": "INPUT_OBJECT",
15913
17707
  "name": "SchemaPaymentAccountingInput",
15914
- "description": "EXPERIMENTAL: The Ledger Entries a Payment Type posts as a payment moves\nthrough its lifecycle, keyed by lifecycle transition.",
17708
+ "description": "The Ledger Entries a Payment Type posts as a payment moves\nthrough its lifecycle, keyed by lifecycle transition.",
15915
17709
  "fields": null,
15916
17710
  "inputFields": [
15917
17711
  {
15918
17712
  "name": "initiated",
15919
- "description": "Posted when the payment is approved. Optional.",
17713
+ "description": "Posted when the payment is captured. Optional.",
15920
17714
  "type": {
15921
17715
  "kind": "INPUT_OBJECT",
15922
17716
  "name": "SchemaPaymentEntryInput",
@@ -15946,7 +17740,7 @@
15946
17740
  {
15947
17741
  "kind": "INPUT_OBJECT",
15948
17742
  "name": "SchemaPaymentEntryInput",
15949
- "description": "EXPERIMENTAL: The Ledger Entry a Payment Type posts on a payment lifecycle event.",
17743
+ "description": "The Ledger Entry a Payment Type posts on a payment lifecycle event.",
15950
17744
  "fields": null,
15951
17745
  "inputFields": [
15952
17746
  {
@@ -15989,7 +17783,7 @@
15989
17783
  {
15990
17784
  "kind": "INPUT_OBJECT",
15991
17785
  "name": "SchemaPaymentInput",
15992
- "description": "EXPERIMENTAL: Marks a Ledger Account as a Payment Account.",
17786
+ "description": "Marks a Ledger Account as a Payment Account.",
15993
17787
  "fields": null,
15994
17788
  "inputFields": [
15995
17789
  {
@@ -16014,7 +17808,7 @@
16014
17808
  {
16015
17809
  "kind": "INPUT_OBJECT",
16016
17810
  "name": "SchemaPaymentLineInput",
16017
- "description": "EXPERIMENTAL: A Ledger Line in a payment entry.",
17811
+ "description": "A Ledger Line in a payment entry.",
16018
17812
  "fields": null,
16019
17813
  "inputFields": [
16020
17814
  {
@@ -16097,7 +17891,7 @@
16097
17891
  {
16098
17892
  "kind": "INPUT_OBJECT",
16099
17893
  "name": "SchemaPaymentTypeDetailsInput",
16100
- "description": "EXPERIMENTAL: The payment a Payment Type creates.",
17894
+ "description": "The payment a Payment Type creates.",
16101
17895
  "fields": null,
16102
17896
  "inputFields": [
16103
17897
  {
@@ -16159,7 +17953,7 @@
16159
17953
  {
16160
17954
  "kind": "INPUT_OBJECT",
16161
17955
  "name": "SchemaPaymentTypeInput",
16162
- "description": "EXPERIMENTAL: A Payment Type in a Schema. All Payment Types defined in a\nSchema must have a unique `type` and `typeVersion` pair.",
17956
+ "description": "A Payment Type in a Schema. All Payment Types defined in a\nSchema must have a unique `type` and `typeVersion` pair.",
16163
17957
  "fields": null,
16164
17958
  "inputFields": [
16165
17959
  {
@@ -16257,7 +18051,7 @@
16257
18051
  {
16258
18052
  "kind": "INPUT_OBJECT",
16259
18053
  "name": "SchemaPaymentsInput",
16260
- "description": "EXPERIMENTAL: The Payment Types in your Schema.",
18054
+ "description": "The Payment Types in your Schema.",
16261
18055
  "fields": null,
16262
18056
  "inputFields": [
16263
18057
  {
@@ -18153,6 +19947,97 @@
18153
19947
  "enumValues": null,
18154
19948
  "possibleTypes": null
18155
19949
  },
19950
+ {
19951
+ "kind": "OBJECT",
19952
+ "name": "User",
19953
+ "description": "A User who pays through a Ledger.",
19954
+ "fields": [
19955
+ {
19956
+ "name": "email",
19957
+ "description": "The User's email address.",
19958
+ "args": [],
19959
+ "type": {
19960
+ "kind": "NON_NULL",
19961
+ "name": null,
19962
+ "ofType": {
19963
+ "kind": "SCALAR",
19964
+ "name": "String",
19965
+ "ofType": null
19966
+ }
19967
+ },
19968
+ "isDeprecated": false,
19969
+ "deprecationReason": null
19970
+ }
19971
+ ],
19972
+ "inputFields": null,
19973
+ "interfaces": [],
19974
+ "enumValues": null,
19975
+ "possibleTypes": null
19976
+ },
19977
+ {
19978
+ "kind": "INPUT_OBJECT",
19979
+ "name": "UserFilter",
19980
+ "description": null,
19981
+ "fields": null,
19982
+ "inputFields": [
19983
+ {
19984
+ "name": "email",
19985
+ "description": "Filter by the User's email address.",
19986
+ "type": {
19987
+ "kind": "NON_NULL",
19988
+ "name": null,
19989
+ "ofType": {
19990
+ "kind": "INPUT_OBJECT",
19991
+ "name": "EmailFilter",
19992
+ "ofType": null
19993
+ }
19994
+ },
19995
+ "defaultValue": null
19996
+ },
19997
+ {
19998
+ "name": "ledger",
19999
+ "description": "The Ledger the User belongs to.",
20000
+ "type": {
20001
+ "kind": "NON_NULL",
20002
+ "name": null,
20003
+ "ofType": {
20004
+ "kind": "INPUT_OBJECT",
20005
+ "name": "LedgerMatchInput",
20006
+ "ofType": null
20007
+ }
20008
+ },
20009
+ "defaultValue": null
20010
+ }
20011
+ ],
20012
+ "interfaces": null,
20013
+ "enumValues": null,
20014
+ "possibleTypes": null
20015
+ },
20016
+ {
20017
+ "kind": "INPUT_OBJECT",
20018
+ "name": "UserMatchInput",
20019
+ "description": "Specify a User by their email.",
20020
+ "fields": null,
20021
+ "inputFields": [
20022
+ {
20023
+ "name": "email",
20024
+ "description": "The User's email.",
20025
+ "type": {
20026
+ "kind": "NON_NULL",
20027
+ "name": null,
20028
+ "ofType": {
20029
+ "kind": "SCALAR",
20030
+ "name": "String",
20031
+ "ofType": null
20032
+ }
20033
+ },
20034
+ "defaultValue": null
20035
+ }
20036
+ ],
20037
+ "interfaces": null,
20038
+ "enumValues": null,
20039
+ "possibleTypes": null
20040
+ },
18156
20041
  {
18157
20042
  "kind": "OBJECT",
18158
20043
  "name": "Workspace",