fragment-dev 1.4.2 → 1.4.3

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: 0066e16b8d20784f38da00692194efd700255146a691b96ff4ebd9e43c95b223
4
- data.tar.gz: 86d5adfc01a428134bb2bf9e339085b105347523e03cfd06ebb51bdbf367d88a
3
+ metadata.gz: 066c87c34840df78953d60defed4365a2d2a8656b7d436332b1721c9ce7bb701
4
+ data.tar.gz: 4b9bdacb6688a422563f05deef77f759778b821bd01d7f64eaf9cb38904f35b7
5
5
  SHA512:
6
- metadata.gz: 807070c42a22c5a793fc3907f9c77be59270620a75301df8619e5800e17b4e5bcc2714921c0c2b052e8710161da42391449a2b2af888cdf16470f5a5d450cb0d
7
- data.tar.gz: 1597366f5a4ab3e7e786a8e5d939f11606d55df935c639e06fe6b6b27811a054fbe89a570aff0c34a10b3a0f53b4d52b52110955c883d8ab687bf904c02b1002
6
+ metadata.gz: cec0c8a547eb4b51eef847ae512df65e2ec5f024c0cf9d0817aa0c322eb9256b71fb0a61f029e36e229a030bddb152a99f23d239d2854a511303cc011102c33f
7
+ data.tar.gz: a84969324a6bff0796138c7b9cf27c1d6a61d092b2c03dbf6a52c9fd81c75c38296a1c6d55f06ad28616cef966d2326e8733319756504efd8de7fa325ddf9ba5
@@ -413,7 +413,7 @@
413
413
  "inputFields": [
414
414
  {
415
415
  "name": "customCode",
416
- "description": "The currency code for custom currencies. It can be up to 5 characters long. This is used for display purposes.",
416
+ "description": "The currency code for custom currencies. It can be up to 36 characters long. This is used for display purposes.",
417
417
  "type": {
418
418
  "kind": "NON_NULL",
419
419
  "name": null,
@@ -427,7 +427,7 @@
427
427
  },
428
428
  {
429
429
  "name": "customCurrencyId",
430
- "description": "The ID for a custom currency. This is specified when creating the custom currency using the [createCustomCurrency](https://fragment.dev/api-reference/api-mutations#createcustomcurrency) mutation.",
430
+ "description": "The ID for a custom currency. This is specified when creating the custom currency using the [createCustomCurrency](https://fragment.dev/api-reference/api-mutations#createcustomcurrency) mutation. It can be up to 36 characters long.",
431
431
  "type": {
432
432
  "kind": "NON_NULL",
433
433
  "name": null,
@@ -1087,7 +1087,7 @@
1087
1087
  },
1088
1088
  {
1089
1089
  "name": "customCode",
1090
- "description": "The currency code for custom currencies. This is only set if 'currency' is set to CUSTOM. It can be up to 32 characters long.",
1090
+ "description": "The currency code for custom currencies. This is only set if 'currency' is set to CUSTOM. It can be up to 36 characters long.",
1091
1091
  "args": [],
1092
1092
  "type": {
1093
1093
  "kind": "SCALAR",
@@ -1429,6 +1429,18 @@
1429
1429
  "isDeprecated": false,
1430
1430
  "deprecationReason": null
1431
1431
  },
1432
+ {
1433
+ "name": "CADC",
1434
+ "description": null,
1435
+ "isDeprecated": false,
1436
+ "deprecationReason": null
1437
+ },
1438
+ {
1439
+ "name": "CADT",
1440
+ "description": null,
1441
+ "isDeprecated": false,
1442
+ "deprecationReason": null
1443
+ },
1432
1444
  {
1433
1445
  "name": "CDF",
1434
1446
  "description": null,
@@ -1555,6 +1567,12 @@
1555
1567
  "isDeprecated": false,
1556
1568
  "deprecationReason": null
1557
1569
  },
1570
+ {
1571
+ "name": "EURC",
1572
+ "description": null,
1573
+ "isDeprecated": false,
1574
+ "deprecationReason": null
1575
+ },
1558
1576
  {
1559
1577
  "name": "FJD",
1560
1578
  "description": null,
@@ -2209,6 +2227,12 @@
2209
2227
  "isDeprecated": false,
2210
2228
  "deprecationReason": null
2211
2229
  },
2230
+ {
2231
+ "name": "USDG",
2232
+ "description": null,
2233
+ "isDeprecated": false,
2234
+ "deprecationReason": null
2235
+ },
2212
2236
  {
2213
2237
  "name": "USDT",
2214
2238
  "description": null,
@@ -3571,6 +3595,24 @@
3571
3595
  "description": "Filter for finding entries by group membership",
3572
3596
  "fields": null,
3573
3597
  "inputFields": [
3598
+ {
3599
+ "name": "all",
3600
+ "description": "Find entries that have ALL of the specified groups. Limited to 10 items maximum.",
3601
+ "type": {
3602
+ "kind": "LIST",
3603
+ "name": null,
3604
+ "ofType": {
3605
+ "kind": "NON_NULL",
3606
+ "name": null,
3607
+ "ofType": {
3608
+ "kind": "INPUT_OBJECT",
3609
+ "name": "GroupMatchInput",
3610
+ "ofType": null
3611
+ }
3612
+ }
3613
+ },
3614
+ "defaultValue": null
3615
+ },
3574
3616
  {
3575
3617
  "name": "equalTo",
3576
3618
  "description": "Find groups that exactly match this group",
@@ -3688,6 +3730,51 @@
3688
3730
  "enumValues": null,
3689
3731
  "possibleTypes": null
3690
3732
  },
3733
+ {
3734
+ "kind": "INPUT_OBJECT",
3735
+ "name": "GroupInput",
3736
+ "description": "A Group in a Schema. Group define sequences of Ledger Entries and can help with reconciliation tasks.",
3737
+ "fields": null,
3738
+ "inputFields": [
3739
+ {
3740
+ "name": "description",
3741
+ "description": "Human-readable description of the Group.",
3742
+ "type": {
3743
+ "kind": "SCALAR",
3744
+ "name": "ParameterizedString",
3745
+ "ofType": null
3746
+ },
3747
+ "defaultValue": null
3748
+ },
3749
+ {
3750
+ "name": "key",
3751
+ "description": "The key of this Group. This combined with its value is a stable, unique identifier for this group.",
3752
+ "type": {
3753
+ "kind": "NON_NULL",
3754
+ "name": null,
3755
+ "ofType": {
3756
+ "kind": "SCALAR",
3757
+ "name": "SafeString",
3758
+ "ofType": null
3759
+ }
3760
+ },
3761
+ "defaultValue": null
3762
+ },
3763
+ {
3764
+ "name": "reconciliation",
3765
+ "description": "The parameters that are used to enable reconciliation abilities in a group.",
3766
+ "type": {
3767
+ "kind": "INPUT_OBJECT",
3768
+ "name": "GroupReconciliationParametersInput",
3769
+ "ofType": null
3770
+ },
3771
+ "defaultValue": null
3772
+ }
3773
+ ],
3774
+ "interfaces": null,
3775
+ "enumValues": null,
3776
+ "possibleTypes": null
3777
+ },
3691
3778
  {
3692
3779
  "kind": "INPUT_OBJECT",
3693
3780
  "name": "GroupMatchInput",
@@ -3756,6 +3843,31 @@
3756
3843
  "enumValues": null,
3757
3844
  "possibleTypes": null
3758
3845
  },
3846
+ {
3847
+ "kind": "INPUT_OBJECT",
3848
+ "name": "GroupReconciliationParametersInput",
3849
+ "description": "A set of parameters that are used to enable reconciliation abilities in a group",
3850
+ "fields": null,
3851
+ "inputFields": [
3852
+ {
3853
+ "name": "clearingAccountPath",
3854
+ "description": "The path to the clearing account for this group. A clearing account is an account that is used to indicate funds that are in transit. Also called a suspense account, pending account, or zero balance account.",
3855
+ "type": {
3856
+ "kind": "NON_NULL",
3857
+ "name": null,
3858
+ "ofType": {
3859
+ "kind": "INPUT_OBJECT",
3860
+ "name": "SchemaLedgerAccountMatchInput",
3861
+ "ofType": null
3862
+ }
3863
+ },
3864
+ "defaultValue": null
3865
+ }
3866
+ ],
3867
+ "interfaces": null,
3868
+ "enumValues": null,
3869
+ "possibleTypes": null
3870
+ },
3759
3871
  {
3760
3872
  "kind": "OBJECT",
3761
3873
  "name": "HistoricalBalance",
@@ -4100,7 +4212,7 @@
4100
4212
  {
4101
4213
  "kind": "SCALAR",
4102
4214
  "name": "Int96",
4103
- "description": "A string representing integers as big as 2^96-1. The number is signed so the range is from -79,228,162,514,264,337,593,543,950,336 to 79,228,162,514,264,337,593,543,950,336.",
4215
+ "description": "A string representing integers as big as 2^120-1. The number is signed so the range is from -1,329,227,995,784,915,872,903,807,060,280,344,575 to 1,329,227,995,784,915,872,903,807,060,280,344,575.",
4104
4216
  "fields": null,
4105
4217
  "inputFields": null,
4106
4218
  "interfaces": null,
@@ -4981,6 +5093,16 @@
4981
5093
  },
4982
5094
  "defaultValue": null
4983
5095
  },
5096
+ {
5097
+ "name": "consistencyMode",
5098
+ "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.",
5099
+ "type": {
5100
+ "kind": "ENUM",
5101
+ "name": "ReadBalanceConsistencyMode",
5102
+ "ofType": null
5103
+ },
5104
+ "defaultValue": null
5105
+ },
4984
5106
  {
4985
5107
  "name": "currency",
4986
5108
  "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.",
@@ -5149,6 +5271,16 @@
5149
5271
  "name": "balances",
5150
5272
  "description": "Total of all lines in this ledger account and child ledger accounts in all currencies",
5151
5273
  "args": [
5274
+ {
5275
+ "name": "after",
5276
+ "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/docs/query-data#basics-pagination).",
5277
+ "type": {
5278
+ "kind": "SCALAR",
5279
+ "name": "String",
5280
+ "ofType": null
5281
+ },
5282
+ "defaultValue": null
5283
+ },
5152
5284
  {
5153
5285
  "name": "at",
5154
5286
  "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-21 or 1969-07-21T02",
@@ -5158,6 +5290,46 @@
5158
5290
  "ofType": null
5159
5291
  },
5160
5292
  "defaultValue": null
5293
+ },
5294
+ {
5295
+ "name": "before",
5296
+ "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/docs/query-data#basics-pagination).",
5297
+ "type": {
5298
+ "kind": "SCALAR",
5299
+ "name": "String",
5300
+ "ofType": null
5301
+ },
5302
+ "defaultValue": null
5303
+ },
5304
+ {
5305
+ "name": "consistencyMode",
5306
+ "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.",
5307
+ "type": {
5308
+ "kind": "ENUM",
5309
+ "name": "ReadBalanceConsistencyMode",
5310
+ "ofType": null
5311
+ },
5312
+ "defaultValue": null
5313
+ },
5314
+ {
5315
+ "name": "first",
5316
+ "description": "The number of currency amounts to return per page, when paginating forwards. Defaults to 20, maximum is 200.",
5317
+ "type": {
5318
+ "kind": "SCALAR",
5319
+ "name": "Int",
5320
+ "ofType": null
5321
+ },
5322
+ "defaultValue": null
5323
+ },
5324
+ {
5325
+ "name": "last",
5326
+ "description": "The number of currency amounts to return per page, when paginating backwards. Defaults to 20, maximum is 200.",
5327
+ "type": {
5328
+ "kind": "SCALAR",
5329
+ "name": "Int",
5330
+ "ofType": null
5331
+ },
5332
+ "defaultValue": null
5161
5333
  }
5162
5334
  ],
5163
5335
  "type": {
@@ -5255,6 +5427,16 @@
5255
5427
  },
5256
5428
  "defaultValue": null
5257
5429
  },
5430
+ {
5431
+ "name": "consistencyMode",
5432
+ "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.",
5433
+ "type": {
5434
+ "kind": "ENUM",
5435
+ "name": "ReadBalanceConsistencyMode",
5436
+ "ofType": null
5437
+ },
5438
+ "defaultValue": null
5439
+ },
5258
5440
  {
5259
5441
  "name": "currency",
5260
5442
  "description": "The currency of the balance to query. Required if the Ledger Account has child Ledger Accounts with different currencies.",
@@ -5423,6 +5605,16 @@
5423
5605
  "name": "childBalances",
5424
5606
  "description": "Total of all lines in child ledger accounts of this ledger in all currencies",
5425
5607
  "args": [
5608
+ {
5609
+ "name": "after",
5610
+ "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/docs/query-data#basics-pagination).",
5611
+ "type": {
5612
+ "kind": "SCALAR",
5613
+ "name": "String",
5614
+ "ofType": null
5615
+ },
5616
+ "defaultValue": null
5617
+ },
5426
5618
  {
5427
5619
  "name": "at",
5428
5620
  "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-21 or 1969-07-21T02",
@@ -5432,6 +5624,46 @@
5432
5624
  "ofType": null
5433
5625
  },
5434
5626
  "defaultValue": null
5627
+ },
5628
+ {
5629
+ "name": "before",
5630
+ "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/docs/query-data#basics-pagination).",
5631
+ "type": {
5632
+ "kind": "SCALAR",
5633
+ "name": "String",
5634
+ "ofType": null
5635
+ },
5636
+ "defaultValue": null
5637
+ },
5638
+ {
5639
+ "name": "consistencyMode",
5640
+ "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.",
5641
+ "type": {
5642
+ "kind": "ENUM",
5643
+ "name": "ReadBalanceConsistencyMode",
5644
+ "ofType": null
5645
+ },
5646
+ "defaultValue": null
5647
+ },
5648
+ {
5649
+ "name": "first",
5650
+ "description": "The number of currency amounts to return per page, when paginating forwards. Defaults to 20, maximum is 200.",
5651
+ "type": {
5652
+ "kind": "SCALAR",
5653
+ "name": "Int",
5654
+ "ofType": null
5655
+ },
5656
+ "defaultValue": null
5657
+ },
5658
+ {
5659
+ "name": "last",
5660
+ "description": "The number of currency amounts to return per page, when paginating backwards. Defaults to 20, maximum is 200.",
5661
+ "type": {
5662
+ "kind": "SCALAR",
5663
+ "name": "Int",
5664
+ "ofType": null
5665
+ },
5666
+ "defaultValue": null
5435
5667
  }
5436
5668
  ],
5437
5669
  "type": {
@@ -5572,6 +5804,18 @@
5572
5804
  "isDeprecated": false,
5573
5805
  "deprecationReason": null
5574
5806
  },
5807
+ {
5808
+ "name": "clearingStatus",
5809
+ "description": "The clearing status of the Ledger Account.\n\nThis field is null when the Ledger Account is not configured to be a Clearing account.",
5810
+ "args": [],
5811
+ "type": {
5812
+ "kind": "ENUM",
5813
+ "name": "LedgerAccountClearingStatus",
5814
+ "ofType": null
5815
+ },
5816
+ "isDeprecated": false,
5817
+ "deprecationReason": null
5818
+ },
5575
5819
  {
5576
5820
  "name": "consistencyConfig",
5577
5821
  "description": "The consistency configuration for this Ledger Account. This defines how updates to this Ledger Account's ownBalance are handled.",
@@ -5696,6 +5940,63 @@
5696
5940
  "isDeprecated": false,
5697
5941
  "deprecationReason": null
5698
5942
  },
5943
+ {
5944
+ "name": "ledgerEntries",
5945
+ "description": "All Ledger Entries that have posted to this Ledger Account. Ledger Entries are paginated and sorted in reverse-chronological order by posted date.",
5946
+ "args": [
5947
+ {
5948
+ "name": "after",
5949
+ "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/docs/query-data#basics-pagination).",
5950
+ "type": {
5951
+ "kind": "SCALAR",
5952
+ "name": "String",
5953
+ "ofType": null
5954
+ },
5955
+ "defaultValue": null
5956
+ },
5957
+ {
5958
+ "name": "before",
5959
+ "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/docs/query-data#basics-pagination).",
5960
+ "type": {
5961
+ "kind": "SCALAR",
5962
+ "name": "String",
5963
+ "ofType": null
5964
+ },
5965
+ "defaultValue": null
5966
+ },
5967
+ {
5968
+ "name": "first",
5969
+ "description": "The number of Ledger Entries to return per page, when paginating forwards. Defaults to 20, maximum is 200.",
5970
+ "type": {
5971
+ "kind": "SCALAR",
5972
+ "name": "Int",
5973
+ "ofType": null
5974
+ },
5975
+ "defaultValue": null
5976
+ },
5977
+ {
5978
+ "name": "last",
5979
+ "description": "The number of Ledger Entries to return per page, when paginating backwards. Defaults to 20, maximum is 200.",
5980
+ "type": {
5981
+ "kind": "SCALAR",
5982
+ "name": "Int",
5983
+ "ofType": null
5984
+ },
5985
+ "defaultValue": null
5986
+ }
5987
+ ],
5988
+ "type": {
5989
+ "kind": "NON_NULL",
5990
+ "name": null,
5991
+ "ofType": {
5992
+ "kind": "OBJECT",
5993
+ "name": "LedgerEntriesConnection",
5994
+ "ofType": null
5995
+ }
5996
+ },
5997
+ "isDeprecated": false,
5998
+ "deprecationReason": null
5999
+ },
5699
6000
  {
5700
6001
  "name": "ledgerId",
5701
6002
  "description": "ID of the ledger this account is in",
@@ -6007,6 +6308,16 @@
6007
6308
  "name": "ownBalances",
6008
6309
  "description": "Total of all lines across all currencies in this ledger account, excluding all child ledger accounts",
6009
6310
  "args": [
6311
+ {
6312
+ "name": "after",
6313
+ "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/docs/query-data#basics-pagination).",
6314
+ "type": {
6315
+ "kind": "SCALAR",
6316
+ "name": "String",
6317
+ "ofType": null
6318
+ },
6319
+ "defaultValue": null
6320
+ },
6010
6321
  {
6011
6322
  "name": "at",
6012
6323
  "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-21 or 1969-07-21T02",
@@ -6017,6 +6328,16 @@
6017
6328
  },
6018
6329
  "defaultValue": null
6019
6330
  },
6331
+ {
6332
+ "name": "before",
6333
+ "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/docs/query-data#basics-pagination).",
6334
+ "type": {
6335
+ "kind": "SCALAR",
6336
+ "name": "String",
6337
+ "ofType": null
6338
+ },
6339
+ "defaultValue": null
6340
+ },
6020
6341
  {
6021
6342
  "name": "consistencyMode",
6022
6343
  "description": "- eventual: Returns an eventually consistent balance, even if the Ledger Account's `ownBalanceUpdates` in its `consistencyConfig` is `strong` (default).\n- strong: Returns a strongly consistent balance or an error if the Ledger Account's `ownBalanceUpdates` in its `consistencyConfig` is `eventual`.\n- use_account: Returns a strongly consistent balance if the Ledger Account's `ownBalanceUpdates` in its `consistencyConfig` is `strong` and an eventually consistent balance otherwise.",
@@ -6026,6 +6347,26 @@
6026
6347
  "ofType": null
6027
6348
  },
6028
6349
  "defaultValue": null
6350
+ },
6351
+ {
6352
+ "name": "first",
6353
+ "description": "The number of currency amounts to return per page, when paginating forwards. Defaults to 20, maximum is 200.",
6354
+ "type": {
6355
+ "kind": "SCALAR",
6356
+ "name": "Int",
6357
+ "ofType": null
6358
+ },
6359
+ "defaultValue": null
6360
+ },
6361
+ {
6362
+ "name": "last",
6363
+ "description": "The number of currency amounts to return per page, when paginating backwards. Defaults to 20, maximum is 200.",
6364
+ "type": {
6365
+ "kind": "SCALAR",
6366
+ "name": "Int",
6367
+ "ofType": null
6368
+ },
6369
+ "defaultValue": null
6029
6370
  }
6030
6371
  ],
6031
6372
  "type": {
@@ -6149,6 +6490,18 @@
6149
6490
  "isDeprecated": false,
6150
6491
  "deprecationReason": null
6151
6492
  },
6493
+ {
6494
+ "name": "postedWindow",
6495
+ "description": "The posted timestamp window for this clearing account, representing the earliest and latest\nposted timestamps across all currencies.\n\nThis field is null when the Ledger Account is not configured to be a Clearing account\nor when no entries have been posted to this account.",
6496
+ "args": [],
6497
+ "type": {
6498
+ "kind": "OBJECT",
6499
+ "name": "PostedWindow",
6500
+ "ofType": null
6501
+ },
6502
+ "isDeprecated": false,
6503
+ "deprecationReason": null
6504
+ },
6152
6505
  {
6153
6506
  "name": "type",
6154
6507
  "description": null,
@@ -6244,6 +6597,50 @@
6244
6597
  "enumValues": null,
6245
6598
  "possibleTypes": null
6246
6599
  },
6600
+ {
6601
+ "kind": "ENUM",
6602
+ "name": "LedgerAccountClearingStatus",
6603
+ "description": "The clearing status of a Ledger Account.",
6604
+ "fields": null,
6605
+ "inputFields": null,
6606
+ "interfaces": null,
6607
+ "enumValues": [
6608
+ {
6609
+ "name": "cleared",
6610
+ "description": "The account has no outstanding balances.",
6611
+ "isDeprecated": false,
6612
+ "deprecationReason": null
6613
+ },
6614
+ {
6615
+ "name": "pending",
6616
+ "description": "The account has outstanding balances that have not been cleared.",
6617
+ "isDeprecated": false,
6618
+ "deprecationReason": null
6619
+ }
6620
+ ],
6621
+ "possibleTypes": null
6622
+ },
6623
+ {
6624
+ "kind": "INPUT_OBJECT",
6625
+ "name": "LedgerAccountClearingStatusFilter",
6626
+ "description": null,
6627
+ "fields": null,
6628
+ "inputFields": [
6629
+ {
6630
+ "name": "equalTo",
6631
+ "description": "Results must match the specified clearing account status",
6632
+ "type": {
6633
+ "kind": "ENUM",
6634
+ "name": "LedgerAccountClearingStatus",
6635
+ "ofType": null
6636
+ },
6637
+ "defaultValue": null
6638
+ }
6639
+ ],
6640
+ "interfaces": null,
6641
+ "enumValues": null,
6642
+ "possibleTypes": null
6643
+ },
6247
6644
  {
6248
6645
  "kind": "OBJECT",
6249
6646
  "name": "LedgerAccountCondition",
@@ -6260,6 +6657,18 @@
6260
6657
  },
6261
6658
  "isDeprecated": false,
6262
6659
  "deprecationReason": null
6660
+ },
6661
+ {
6662
+ "name": "totalBalance",
6663
+ "description": "A condition that the `totalBalance` field must satisfy. Note that this condition always applies to the latest balance, not to balances at a specific date or time. See [Read balances](https://fragment.dev/docs/read-balances) for more on the different types of Ledger Account balances.",
6664
+ "args": [],
6665
+ "type": {
6666
+ "kind": "OBJECT",
6667
+ "name": "Int96Condition",
6668
+ "ofType": null
6669
+ },
6670
+ "isDeprecated": false,
6671
+ "deprecationReason": null
6263
6672
  }
6264
6673
  ],
6265
6674
  "inputFields": null,
@@ -6277,13 +6686,19 @@
6277
6686
  "name": "ownBalance",
6278
6687
  "description": "A condition that the ownBalance field must satisfy. Note that this condition always applies to the latest balance, not to balances at a specific date or time. See [Read balances](https://fragment.dev/read-balances) for more on the different types of Ledger Account balances.",
6279
6688
  "type": {
6280
- "kind": "NON_NULL",
6281
- "name": null,
6282
- "ofType": {
6283
- "kind": "INPUT_OBJECT",
6284
- "name": "Int96ConditionInput",
6285
- "ofType": null
6286
- }
6689
+ "kind": "INPUT_OBJECT",
6690
+ "name": "Int96ConditionInput",
6691
+ "ofType": null
6692
+ },
6693
+ "defaultValue": null
6694
+ },
6695
+ {
6696
+ "name": "totalBalance",
6697
+ "description": "A condition that the totalBalance field must satisfy. Note that this condition always applies to the latest balance, not to balances at a specific date or time. See [Read balances](https://fragment.dev/read-balances) for more on the different types of Ledger Account balances.",
6698
+ "type": {
6699
+ "kind": "INPUT_OBJECT",
6700
+ "name": "Int96ConditionInput",
6701
+ "ofType": null
6287
6702
  },
6288
6703
  "defaultValue": null
6289
6704
  }
@@ -6378,6 +6793,16 @@
6378
6793
  "ofType": null
6379
6794
  },
6380
6795
  "defaultValue": null
6796
+ },
6797
+ {
6798
+ "name": "totalBalanceUpdates",
6799
+ "description": "EXPERIMENTAL: If set to `strong`, then a Ledger Account's `totalBalance` updates will be strongly consistent with the API response.\nThis Ledger Account's balance will be updated and available for strongly consistent reads before you receive an API response.\n\nOtherwise if unset or set to `eventual`, `totalBalance` updates are applied asynchronously and may not be immediately reflected in queries.\n\nSee [Configure consistency](https://fragment.dev/docs/configure-consistency).",
6800
+ "type": {
6801
+ "kind": "ENUM",
6802
+ "name": "BalanceUpdateConsistencyMode",
6803
+ "ofType": null
6804
+ },
6805
+ "defaultValue": null
6381
6806
  }
6382
6807
  ],
6383
6808
  "interfaces": null,
@@ -6694,7 +7119,7 @@
6694
7119
  "name": null,
6695
7120
  "ofType": {
6696
7121
  "kind": "SCALAR",
6697
- "name": "String",
7122
+ "name": "SafeString",
6698
7123
  "ofType": null
6699
7124
  }
6700
7125
  },
@@ -6891,6 +7316,26 @@
6891
7316
  "description": null,
6892
7317
  "fields": null,
6893
7318
  "inputFields": [
7319
+ {
7320
+ "name": "clearingStatus",
7321
+ "description": "Use this to filter Ledger Accounts by their clearing account status",
7322
+ "type": {
7323
+ "kind": "INPUT_OBJECT",
7324
+ "name": "LedgerAccountClearingStatusFilter",
7325
+ "ofType": null
7326
+ },
7327
+ "defaultValue": null
7328
+ },
7329
+ {
7330
+ "name": "earliestPosted",
7331
+ "description": "Filter by the earliest posted timestamp across all currencies for clearing accounts. This must be used alongside the clearingStatus filter.\nOnly clearing accounts where the minimum posted timestamp (across all currencies) matches this filter will be included.",
7332
+ "type": {
7333
+ "kind": "INPUT_OBJECT",
7334
+ "name": "DateTimeFilter",
7335
+ "ofType": null
7336
+ },
7337
+ "defaultValue": null
7338
+ },
6894
7339
  {
6895
7340
  "name": "hasParentLedgerAccount",
6896
7341
  "description": "Use this to filter Ledger Accounts by their parent status",
@@ -6911,6 +7356,16 @@
6911
7356
  },
6912
7357
  "defaultValue": null
6913
7358
  },
7359
+ {
7360
+ "name": "latestPosted",
7361
+ "description": "Filter by the latest posted timestamp across all currencies for clearing accounts. This must be used alongside the clearingStatus filter.\nOnly clearing accounts where the maximum posted timestamp (across all currencies) matches this filter will be included.",
7362
+ "type": {
7363
+ "kind": "INPUT_OBJECT",
7364
+ "name": "DateTimeFilter",
7365
+ "ofType": null
7366
+ },
7367
+ "defaultValue": null
7368
+ },
6914
7369
  {
6915
7370
  "name": "ledgerAccount",
6916
7371
  "description": "Use this to filter Ledger Accounts by their ID or path",
@@ -11616,6 +12071,49 @@
11616
12071
  "enumValues": null,
11617
12072
  "possibleTypes": null
11618
12073
  },
12074
+ {
12075
+ "kind": "OBJECT",
12076
+ "name": "PostedWindow",
12077
+ "description": "The posted timestamp window for a clearing account, representing the earliest and latest\nposted timestamps across all currencies.",
12078
+ "fields": [
12079
+ {
12080
+ "name": "earliest",
12081
+ "description": "The earliest posted timestamp across all currencies for this clearing account.",
12082
+ "args": [],
12083
+ "type": {
12084
+ "kind": "NON_NULL",
12085
+ "name": null,
12086
+ "ofType": {
12087
+ "kind": "SCALAR",
12088
+ "name": "DateTime",
12089
+ "ofType": null
12090
+ }
12091
+ },
12092
+ "isDeprecated": false,
12093
+ "deprecationReason": null
12094
+ },
12095
+ {
12096
+ "name": "latest",
12097
+ "description": "The latest posted timestamp across all currencies for this clearing account.",
12098
+ "args": [],
12099
+ "type": {
12100
+ "kind": "NON_NULL",
12101
+ "name": null,
12102
+ "ofType": {
12103
+ "kind": "SCALAR",
12104
+ "name": "DateTime",
12105
+ "ofType": null
12106
+ }
12107
+ },
12108
+ "isDeprecated": false,
12109
+ "deprecationReason": null
12110
+ }
12111
+ ],
12112
+ "inputFields": null,
12113
+ "interfaces": [],
12114
+ "enumValues": null,
12115
+ "possibleTypes": null
12116
+ },
11619
12117
  {
11620
12118
  "kind": "OBJECT",
11621
12119
  "name": "Query",
@@ -12690,6 +13188,16 @@
12690
13188
  "ofType": null
12691
13189
  },
12692
13190
  "defaultValue": null
13191
+ },
13192
+ {
13193
+ "name": "totalBalance",
13194
+ "description": "A condition on the `totalBalance` of the Ledger Account.",
13195
+ "type": {
13196
+ "kind": "INPUT_OBJECT",
13197
+ "name": "SchemaInt96ConditionInput",
13198
+ "ofType": null
13199
+ },
13200
+ "defaultValue": null
12693
13201
  }
12694
13202
  ],
12695
13203
  "interfaces": null,
@@ -12907,6 +13415,24 @@
12907
13415
  },
12908
13416
  "defaultValue": null
12909
13417
  },
13418
+ {
13419
+ "name": "groups",
13420
+ "description": "Any groups associated with this Schema.",
13421
+ "type": {
13422
+ "kind": "LIST",
13423
+ "name": null,
13424
+ "ofType": {
13425
+ "kind": "NON_NULL",
13426
+ "name": null,
13427
+ "ofType": {
13428
+ "kind": "INPUT_OBJECT",
13429
+ "name": "GroupInput",
13430
+ "ofType": null
13431
+ }
13432
+ }
13433
+ },
13434
+ "defaultValue": null
13435
+ },
12910
13436
  {
12911
13437
  "name": "key",
12912
13438
  "description": "The key of the Schema. This is a stable, unique identifier for the Schema. Uniqueness is enforced at the Workspace level.",
@@ -13029,6 +13555,16 @@
13029
13555
  },
13030
13556
  "defaultValue": null
13031
13557
  },
13558
+ {
13559
+ "name": "clearing",
13560
+ "description": "EXPERIMENTAL: Whether or not this Ledger Account is a Clearing Account.\nClearing Accounts have balances that should tend to zero. They are used to track in-progress workflows and payments.",
13561
+ "type": {
13562
+ "kind": "SCALAR",
13563
+ "name": "Boolean",
13564
+ "ofType": null
13565
+ },
13566
+ "defaultValue": null
13567
+ },
13032
13568
  {
13033
13569
  "name": "consistencyConfig",
13034
13570
  "description": "The consistency configuration for this ledger account. See [Configure consistency](https://fragment.dev/docs/configure-consistency).",
@@ -13433,7 +13969,7 @@
13433
13969
  },
13434
13970
  {
13435
13971
  "name": "typeVersion",
13436
- "description": "Experimental: This field is not yet supported.",
13972
+ "description": "The version of the Ledger Entry type.",
13437
13973
  "type": {
13438
13974
  "kind": "SCALAR",
13439
13975
  "name": "Int",
@@ -14238,6 +14774,24 @@
14238
14774
  "description": "Filters a result set based on the tags it contains.",
14239
14775
  "fields": null,
14240
14776
  "inputFields": [
14777
+ {
14778
+ "name": "all",
14779
+ "description": "Matches entries that have ALL of the specified tags. The key and value are both matched exactly. Limited to 10 items maximum.",
14780
+ "type": {
14781
+ "kind": "LIST",
14782
+ "name": null,
14783
+ "ofType": {
14784
+ "kind": "NON_NULL",
14785
+ "name": null,
14786
+ "ofType": {
14787
+ "kind": "INPUT_OBJECT",
14788
+ "name": "TagMatchInput",
14789
+ "ofType": null
14790
+ }
14791
+ }
14792
+ },
14793
+ "defaultValue": null
14794
+ },
14241
14795
  {
14242
14796
  "name": "contains",
14243
14797
  "description": "Matches tag values based on the existence of the provided string within the tag value. The key is matched exactly.",
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FragmentSDK
4
- VERSION = '1.4.2'
4
+ VERSION = '1.4.3'
5
5
  end
@@ -164,7 +164,7 @@ class FragmentClient
164
164
  sig { returns(Token) }
165
165
  def create_token
166
166
  uri = URI.parse(@oauth_url.to_s)
167
- post = Net::HTTP::Post.new(uri.to_s)
167
+ post = Net::HTTP::Post.new(uri.request_uri)
168
168
  post.basic_auth(@client_id, @client_secret)
169
169
  post.body = format('grant_type=client_credentials&scope=%<scope>s&client_id=%<id>s', scope: @oauth_scope,
170
170
  id: @client_id)
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: 1.4.2
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - fragment
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-08-26 00:00:00.000000000 Z
11
+ date: 2026-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql