fragment-dev 2.3.0 → 2.4.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ceabea3d2c8783947fbd651a06607a53155fb763521df4bd529c6074d02fc8c0
4
- data.tar.gz: 5c1af4c241401d01c16738968f6414d117d74279347a6bce56f5630ef0973b09
3
+ metadata.gz: 90ad2f47258803f85236df66a3310c9b2659647e0b131c8a87ebcd08c6217124
4
+ data.tar.gz: 1a268c33872b9e784de9843cccfb1a3d4c9396edfd89b471b5203734ce8fac3f
5
5
  SHA512:
6
- metadata.gz: c530f100989bd9c5bf7260db7aa82170c49baf2025cb361f57af3313df13457bd822b639ebef6b09bcaa7e30a2fc90efc361c36d0d20e60fe36835e96b74ba3e
7
- data.tar.gz: 1aad3b0e42904281e1308130aa27faaf24a5b0cb12b6e9df8d402d49b6606d64913ae1cb0c74ffb55892c0d095f297349dc8cd57bc6dc75b4412a490a68c53d6
6
+ metadata.gz: 4d24efc2cb8a3f86983ab9837ec6ed8748ced1f94fcfb247e232354d76b22090b278162bf8e3b51b380b7ef2a7f9330df4eab969817e20f7ee744bacbaace069
7
+ data.tar.gz: e1108a3b02db2863fd9a22da8bda69cc00f3b0258f406c9988cebc738d4645a944c890d535bf7fbdc6e0200e6208f1ad3927da81ae438383ee179487329515bc
@@ -11228,6 +11228,24 @@
11228
11228
  },
11229
11229
  "defaultValue": null
11230
11230
  },
11231
+ {
11232
+ "name": "externalTxIds",
11233
+ "description": "Filter Ledger Lines by the external IDs of their linked transactions. Only supported on `LedgerAccount.lines` for a linked Ledger Account.",
11234
+ "type": {
11235
+ "kind": "LIST",
11236
+ "name": null,
11237
+ "ofType": {
11238
+ "kind": "NON_NULL",
11239
+ "name": null,
11240
+ "ofType": {
11241
+ "kind": "SCALAR",
11242
+ "name": "String",
11243
+ "ofType": null
11244
+ }
11245
+ }
11246
+ },
11247
+ "defaultValue": null
11248
+ },
11231
11249
  {
11232
11250
  "name": "isReversal",
11233
11251
  "description": "Use this to filter Ledger Lines that were posted to this Ledger Account, using `reverseLedgerEntry`.",
@@ -11758,20 +11776,26 @@
11758
11776
  {
11759
11777
  "kind": "INPUT_OBJECT",
11760
11778
  "name": "LinkMatchInput",
11761
- "description": null,
11779
+ "description": "Specify a Link by ID, or a Custom Link by its creation IK.",
11762
11780
  "fields": null,
11763
11781
  "inputFields": [
11764
11782
  {
11765
11783
  "name": "id",
11766
11784
  "description": null,
11767
11785
  "type": {
11768
- "kind": "NON_NULL",
11769
- "name": null,
11770
- "ofType": {
11771
- "kind": "SCALAR",
11772
- "name": "ID",
11773
- "ofType": null
11774
- }
11786
+ "kind": "SCALAR",
11787
+ "name": "ID",
11788
+ "ofType": null
11789
+ },
11790
+ "defaultValue": null
11791
+ },
11792
+ {
11793
+ "name": "ik",
11794
+ "description": "The IK passed to createCustomLink. If id is also provided, both must identify the same Link.",
11795
+ "type": {
11796
+ "kind": "SCALAR",
11797
+ "name": "SafeString",
11798
+ "ofType": null
11775
11799
  },
11776
11800
  "defaultValue": null
11777
11801
  }
@@ -12717,7 +12741,7 @@
12717
12741
  },
12718
12742
  {
12719
12743
  "name": "link",
12720
- "description": "An object containing the ID of a Custom Link.",
12744
+ "description": "An object containing the ID or creation IK of a Custom Link.",
12721
12745
  "type": {
12722
12746
  "kind": "NON_NULL",
12723
12747
  "name": null,
@@ -12748,7 +12772,7 @@
12748
12772
  "args": [
12749
12773
  {
12750
12774
  "name": "link",
12751
- "description": "An object containing the ID of a Custom Link.",
12775
+ "description": "An object containing the ID or creation IK of a Custom Link.",
12752
12776
  "type": {
12753
12777
  "kind": "NON_NULL",
12754
12778
  "name": null,
@@ -13092,6 +13116,22 @@
13092
13116
  "isDeprecated": false,
13093
13117
  "deprecationReason": null
13094
13118
  },
13119
+ {
13120
+ "name": "events",
13121
+ "description": "EXPERIMENTAL: The log of events that have occurred on this Payment, most recent first.",
13122
+ "args": [],
13123
+ "type": {
13124
+ "kind": "NON_NULL",
13125
+ "name": null,
13126
+ "ofType": {
13127
+ "kind": "OBJECT",
13128
+ "name": "PaymentEventsConnection",
13129
+ "ofType": null
13130
+ }
13131
+ },
13132
+ "isDeprecated": false,
13133
+ "deprecationReason": null
13134
+ },
13095
13135
  {
13096
13136
  "name": "id",
13097
13137
  "description": "The ID of this Payment.",
@@ -13226,6 +13266,165 @@
13226
13266
  "enumValues": null,
13227
13267
  "possibleTypes": null
13228
13268
  },
13269
+ {
13270
+ "kind": "OBJECT",
13271
+ "name": "PaymentCardCapturedEvent",
13272
+ "description": "EXPERIMENTAL: The card network captured the Payment.",
13273
+ "fields": [
13274
+ {
13275
+ "name": "ledgerEntry",
13276
+ "description": "The `initiated` Ledger Entry, `null` where the Payment Type defines none.",
13277
+ "args": [],
13278
+ "type": {
13279
+ "kind": "OBJECT",
13280
+ "name": "LedgerEntry",
13281
+ "ofType": null
13282
+ },
13283
+ "isDeprecated": false,
13284
+ "deprecationReason": null
13285
+ },
13286
+ {
13287
+ "name": "occurredAt",
13288
+ "description": "When this event occurred.",
13289
+ "args": [],
13290
+ "type": {
13291
+ "kind": "NON_NULL",
13292
+ "name": null,
13293
+ "ofType": {
13294
+ "kind": "SCALAR",
13295
+ "name": "DateTime",
13296
+ "ofType": null
13297
+ }
13298
+ },
13299
+ "isDeprecated": false,
13300
+ "deprecationReason": null
13301
+ },
13302
+ {
13303
+ "name": "status",
13304
+ "description": "The status of the Payment after this event.",
13305
+ "args": [],
13306
+ "type": {
13307
+ "kind": "NON_NULL",
13308
+ "name": null,
13309
+ "ofType": {
13310
+ "kind": "ENUM",
13311
+ "name": "PaymentStatus",
13312
+ "ofType": null
13313
+ }
13314
+ },
13315
+ "isDeprecated": false,
13316
+ "deprecationReason": null
13317
+ }
13318
+ ],
13319
+ "inputFields": null,
13320
+ "interfaces": [
13321
+ {
13322
+ "kind": "INTERFACE",
13323
+ "name": "PaymentEvent",
13324
+ "ofType": null
13325
+ }
13326
+ ],
13327
+ "enumValues": null,
13328
+ "possibleTypes": null
13329
+ },
13330
+ {
13331
+ "kind": "OBJECT",
13332
+ "name": "PaymentCheckoutCompletedEvent",
13333
+ "description": "EXPERIMENTAL: The payer completed checkout.",
13334
+ "fields": [
13335
+ {
13336
+ "name": "occurredAt",
13337
+ "description": "When this event occurred.",
13338
+ "args": [],
13339
+ "type": {
13340
+ "kind": "NON_NULL",
13341
+ "name": null,
13342
+ "ofType": {
13343
+ "kind": "SCALAR",
13344
+ "name": "DateTime",
13345
+ "ofType": null
13346
+ }
13347
+ },
13348
+ "isDeprecated": false,
13349
+ "deprecationReason": null
13350
+ },
13351
+ {
13352
+ "name": "status",
13353
+ "description": "The status of the Payment after this event.",
13354
+ "args": [],
13355
+ "type": {
13356
+ "kind": "NON_NULL",
13357
+ "name": null,
13358
+ "ofType": {
13359
+ "kind": "ENUM",
13360
+ "name": "PaymentStatus",
13361
+ "ofType": null
13362
+ }
13363
+ },
13364
+ "isDeprecated": false,
13365
+ "deprecationReason": null
13366
+ }
13367
+ ],
13368
+ "inputFields": null,
13369
+ "interfaces": [
13370
+ {
13371
+ "kind": "INTERFACE",
13372
+ "name": "PaymentEvent",
13373
+ "ofType": null
13374
+ }
13375
+ ],
13376
+ "enumValues": null,
13377
+ "possibleTypes": null
13378
+ },
13379
+ {
13380
+ "kind": "OBJECT",
13381
+ "name": "PaymentCreatedEvent",
13382
+ "description": "EXPERIMENTAL: The Payment was created.",
13383
+ "fields": [
13384
+ {
13385
+ "name": "occurredAt",
13386
+ "description": "When this event occurred.",
13387
+ "args": [],
13388
+ "type": {
13389
+ "kind": "NON_NULL",
13390
+ "name": null,
13391
+ "ofType": {
13392
+ "kind": "SCALAR",
13393
+ "name": "DateTime",
13394
+ "ofType": null
13395
+ }
13396
+ },
13397
+ "isDeprecated": false,
13398
+ "deprecationReason": null
13399
+ },
13400
+ {
13401
+ "name": "status",
13402
+ "description": "The status of the Payment after this event.",
13403
+ "args": [],
13404
+ "type": {
13405
+ "kind": "NON_NULL",
13406
+ "name": null,
13407
+ "ofType": {
13408
+ "kind": "ENUM",
13409
+ "name": "PaymentStatus",
13410
+ "ofType": null
13411
+ }
13412
+ },
13413
+ "isDeprecated": false,
13414
+ "deprecationReason": null
13415
+ }
13416
+ ],
13417
+ "inputFields": null,
13418
+ "interfaces": [
13419
+ {
13420
+ "kind": "INTERFACE",
13421
+ "name": "PaymentEvent",
13422
+ "ofType": null
13423
+ }
13424
+ ],
13425
+ "enumValues": null,
13426
+ "possibleTypes": null
13427
+ },
13229
13428
  {
13230
13429
  "kind": "OBJECT",
13231
13430
  "name": "PaymentCurrency",
@@ -13302,6 +13501,121 @@
13302
13501
  ],
13303
13502
  "possibleTypes": null
13304
13503
  },
13504
+ {
13505
+ "kind": "INTERFACE",
13506
+ "name": "PaymentEvent",
13507
+ "description": "EXPERIMENTAL: Something that happened to a Payment.",
13508
+ "fields": [
13509
+ {
13510
+ "name": "occurredAt",
13511
+ "description": "When this event occurred.",
13512
+ "args": [],
13513
+ "type": {
13514
+ "kind": "NON_NULL",
13515
+ "name": null,
13516
+ "ofType": {
13517
+ "kind": "SCALAR",
13518
+ "name": "DateTime",
13519
+ "ofType": null
13520
+ }
13521
+ },
13522
+ "isDeprecated": false,
13523
+ "deprecationReason": null
13524
+ },
13525
+ {
13526
+ "name": "status",
13527
+ "description": "The status of the Payment after this event.",
13528
+ "args": [],
13529
+ "type": {
13530
+ "kind": "NON_NULL",
13531
+ "name": null,
13532
+ "ofType": {
13533
+ "kind": "ENUM",
13534
+ "name": "PaymentStatus",
13535
+ "ofType": null
13536
+ }
13537
+ },
13538
+ "isDeprecated": false,
13539
+ "deprecationReason": null
13540
+ }
13541
+ ],
13542
+ "inputFields": null,
13543
+ "interfaces": [],
13544
+ "enumValues": null,
13545
+ "possibleTypes": [
13546
+ {
13547
+ "kind": "OBJECT",
13548
+ "name": "PaymentCardCapturedEvent",
13549
+ "ofType": null
13550
+ },
13551
+ {
13552
+ "kind": "OBJECT",
13553
+ "name": "PaymentCheckoutCompletedEvent",
13554
+ "ofType": null
13555
+ },
13556
+ {
13557
+ "kind": "OBJECT",
13558
+ "name": "PaymentCreatedEvent",
13559
+ "ofType": null
13560
+ },
13561
+ {
13562
+ "kind": "OBJECT",
13563
+ "name": "PaymentSettledEvent",
13564
+ "ofType": null
13565
+ }
13566
+ ]
13567
+ },
13568
+ {
13569
+ "kind": "OBJECT",
13570
+ "name": "PaymentEventsConnection",
13571
+ "description": "EXPERIMENTAL: A paginated list of Payment events.",
13572
+ "fields": [
13573
+ {
13574
+ "name": "nodes",
13575
+ "description": "The current page of results.",
13576
+ "args": [],
13577
+ "type": {
13578
+ "kind": "NON_NULL",
13579
+ "name": null,
13580
+ "ofType": {
13581
+ "kind": "LIST",
13582
+ "name": null,
13583
+ "ofType": {
13584
+ "kind": "NON_NULL",
13585
+ "name": null,
13586
+ "ofType": {
13587
+ "kind": "INTERFACE",
13588
+ "name": "PaymentEvent",
13589
+ "ofType": null
13590
+ }
13591
+ }
13592
+ }
13593
+ },
13594
+ "isDeprecated": false,
13595
+ "deprecationReason": null
13596
+ },
13597
+ {
13598
+ "name": "pageInfo",
13599
+ "description": "The pagination info for this list.",
13600
+ "args": [],
13601
+ "type": {
13602
+ "kind": "NON_NULL",
13603
+ "name": null,
13604
+ "ofType": {
13605
+ "kind": "OBJECT",
13606
+ "name": "PageInfo",
13607
+ "ofType": null
13608
+ }
13609
+ },
13610
+ "isDeprecated": false,
13611
+ "deprecationReason": null
13612
+ }
13613
+ ],
13614
+ "inputFields": null,
13615
+ "interfaces": [],
13616
+ "enumValues": null,
13617
+ "possibleTypes": null
13618
+ },
13305
13619
  {
13306
13620
  "kind": "INPUT_OBJECT",
13307
13621
  "name": "PaymentMatchInput",
@@ -13364,6 +13678,71 @@
13364
13678
  ],
13365
13679
  "possibleTypes": null
13366
13680
  },
13681
+ {
13682
+ "kind": "OBJECT",
13683
+ "name": "PaymentSettledEvent",
13684
+ "description": "EXPERIMENTAL: The Payment settled.",
13685
+ "fields": [
13686
+ {
13687
+ "name": "ledgerEntry",
13688
+ "description": "The `settled` Ledger Entry.",
13689
+ "args": [],
13690
+ "type": {
13691
+ "kind": "NON_NULL",
13692
+ "name": null,
13693
+ "ofType": {
13694
+ "kind": "OBJECT",
13695
+ "name": "LedgerEntry",
13696
+ "ofType": null
13697
+ }
13698
+ },
13699
+ "isDeprecated": false,
13700
+ "deprecationReason": null
13701
+ },
13702
+ {
13703
+ "name": "occurredAt",
13704
+ "description": "When this event occurred.",
13705
+ "args": [],
13706
+ "type": {
13707
+ "kind": "NON_NULL",
13708
+ "name": null,
13709
+ "ofType": {
13710
+ "kind": "SCALAR",
13711
+ "name": "DateTime",
13712
+ "ofType": null
13713
+ }
13714
+ },
13715
+ "isDeprecated": false,
13716
+ "deprecationReason": null
13717
+ },
13718
+ {
13719
+ "name": "status",
13720
+ "description": "The status of the Payment after this event.",
13721
+ "args": [],
13722
+ "type": {
13723
+ "kind": "NON_NULL",
13724
+ "name": null,
13725
+ "ofType": {
13726
+ "kind": "ENUM",
13727
+ "name": "PaymentStatus",
13728
+ "ofType": null
13729
+ }
13730
+ },
13731
+ "isDeprecated": false,
13732
+ "deprecationReason": null
13733
+ }
13734
+ ],
13735
+ "inputFields": null,
13736
+ "interfaces": [
13737
+ {
13738
+ "kind": "INTERFACE",
13739
+ "name": "PaymentEvent",
13740
+ "ofType": null
13741
+ }
13742
+ ],
13743
+ "enumValues": null,
13744
+ "possibleTypes": null
13745
+ },
13367
13746
  {
13368
13747
  "kind": "ENUM",
13369
13748
  "name": "PaymentStatus",
@@ -13373,7 +13752,7 @@
13373
13752
  "interfaces": null,
13374
13753
  "enumValues": [
13375
13754
  {
13376
- "name": "approved",
13755
+ "name": "accepted",
13377
13756
  "description": null,
13378
13757
  "isDeprecated": false,
13379
13758
  "deprecationReason": null
@@ -13948,11 +14327,11 @@
13948
14327
  },
13949
14328
  {
13950
14329
  "name": "link",
13951
- "description": "Get a Link by ID. Returns a BadRequestError if the Link is not found.",
14330
+ "description": "Get a Link by ID or a Custom Link by creation IK. Returns a BadRequestError if the Link is not found.",
13952
14331
  "args": [
13953
14332
  {
13954
14333
  "name": "link",
13955
- "description": "An object containing the ID of the Link you are querying",
14334
+ "description": "An object containing the ID or creation IK of the Link you are querying",
13956
14335
  "type": {
13957
14336
  "kind": "NON_NULL",
13958
14337
  "name": null,
@@ -15895,7 +16274,7 @@
15895
16274
  "enumValues": [
15896
16275
  {
15897
16276
  "name": "initiated",
15898
- "description": "The payment was approved and is guaranteed to settle.",
16277
+ "description": "The payment was captured and is guaranteed to settle.",
15899
16278
  "isDeprecated": false,
15900
16279
  "deprecationReason": null
15901
16280
  },
@@ -15916,7 +16295,7 @@
15916
16295
  "inputFields": [
15917
16296
  {
15918
16297
  "name": "initiated",
15919
- "description": "Posted when the payment is approved. Optional.",
16298
+ "description": "Posted when the payment is captured. Optional.",
15920
16299
  "type": {
15921
16300
  "kind": "INPUT_OBJECT",
15922
16301
  "name": "SchemaPaymentEntryInput",
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FragmentSDK
4
- VERSION = '2.3.0'
4
+ VERSION = '2.4.0'
5
5
  end
data/lib/queries.graphql CHANGED
@@ -1291,8 +1291,15 @@ mutation CreatePayment(
1291
1291
  __typename
1292
1292
  ... on CreatePaymentResult {
1293
1293
  payment {
1294
+ id
1295
+ ik
1294
1296
  clientSecret
1295
1297
  status
1298
+ amount
1299
+ mode
1300
+ currency {
1301
+ code
1302
+ }
1296
1303
  }
1297
1304
  }
1298
1305
  ... on BadRequestError {
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.3.0
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - fragment
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-09-21 00:00:00.000000000 Z
11
+ date: 2026-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql