fragment-dev 1.4.0 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -109,7 +109,7 @@
109
109
  "fields": [
110
110
  {
111
111
  "name": "code",
112
- "description": "The HTTP status code corresponding to the error",
112
+ "description": "The status code of error. For example, 'ledger_not_found'.",
113
113
  "args": [],
114
114
  "type": {
115
115
  "kind": "NON_NULL",
@@ -3027,7 +3027,7 @@
3027
3027
  "fields": [
3028
3028
  {
3029
3029
  "name": "code",
3030
- "description": "The HTTP status code corresponding to the error",
3030
+ "description": "The status code of error. For example, 'ledger_not_found'.",
3031
3031
  "args": [],
3032
3032
  "type": {
3033
3033
  "kind": "NON_NULL",
@@ -4253,7 +4253,7 @@
4253
4253
  "fields": [
4254
4254
  {
4255
4255
  "name": "code",
4256
- "description": "The HTTP status code corresponding to the error",
4256
+ "description": "The status code of error. For example, 'ledger_not_found'.",
4257
4257
  "args": [],
4258
4258
  "type": {
4259
4259
  "kind": "NON_NULL",
@@ -4473,6 +4473,73 @@
4473
4473
  "isDeprecated": false,
4474
4474
  "deprecationReason": null
4475
4475
  },
4476
+ {
4477
+ "name": "ledgerAccountDataMigrations",
4478
+ "description": "Ledger Account data migrations affecting this Ledger.",
4479
+ "args": [
4480
+ {
4481
+ "name": "after",
4482
+ "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).",
4483
+ "type": {
4484
+ "kind": "SCALAR",
4485
+ "name": "String",
4486
+ "ofType": null
4487
+ },
4488
+ "defaultValue": null
4489
+ },
4490
+ {
4491
+ "name": "before",
4492
+ "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).",
4493
+ "type": {
4494
+ "kind": "SCALAR",
4495
+ "name": "String",
4496
+ "ofType": null
4497
+ },
4498
+ "defaultValue": null
4499
+ },
4500
+ {
4501
+ "name": "filter",
4502
+ "description": "Filter the list of Ledger Account data migrations returned.",
4503
+ "type": {
4504
+ "kind": "INPUT_OBJECT",
4505
+ "name": "LedgerAccountDataMigrationsFilterSet",
4506
+ "ofType": null
4507
+ },
4508
+ "defaultValue": null
4509
+ },
4510
+ {
4511
+ "name": "first",
4512
+ "description": "The number of Ledger Account Data Migrations to return per page, when paginating forwards. Defaults to 20, maximum is 200.",
4513
+ "type": {
4514
+ "kind": "SCALAR",
4515
+ "name": "Int",
4516
+ "ofType": null
4517
+ },
4518
+ "defaultValue": null
4519
+ },
4520
+ {
4521
+ "name": "last",
4522
+ "description": "The number of Ledger Account Data Migrations to return per page, when paginating backwards. Defaults to 20, maximum is 200.",
4523
+ "type": {
4524
+ "kind": "SCALAR",
4525
+ "name": "Int",
4526
+ "ofType": null
4527
+ },
4528
+ "defaultValue": null
4529
+ }
4530
+ ],
4531
+ "type": {
4532
+ "kind": "NON_NULL",
4533
+ "name": null,
4534
+ "ofType": {
4535
+ "kind": "OBJECT",
4536
+ "name": "LedgerAccountDataMigrationConnection",
4537
+ "ofType": null
4538
+ }
4539
+ },
4540
+ "isDeprecated": false,
4541
+ "deprecationReason": null
4542
+ },
4476
4543
  {
4477
4544
  "name": "ledgerAccounts",
4478
4545
  "description": "Query LedgerAccounts in Ledger. Ledger Accounts are paginated and returned in reverse-chronological order by their created date.",
@@ -4607,6 +4674,73 @@
4607
4674
  "isDeprecated": false,
4608
4675
  "deprecationReason": null
4609
4676
  },
4677
+ {
4678
+ "name": "ledgerEntryDataMigrations",
4679
+ "description": "Ledger Entry data migrations affecting this Ledger.",
4680
+ "args": [
4681
+ {
4682
+ "name": "after",
4683
+ "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).",
4684
+ "type": {
4685
+ "kind": "SCALAR",
4686
+ "name": "String",
4687
+ "ofType": null
4688
+ },
4689
+ "defaultValue": null
4690
+ },
4691
+ {
4692
+ "name": "before",
4693
+ "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).",
4694
+ "type": {
4695
+ "kind": "SCALAR",
4696
+ "name": "String",
4697
+ "ofType": null
4698
+ },
4699
+ "defaultValue": null
4700
+ },
4701
+ {
4702
+ "name": "filter",
4703
+ "description": "Filter the list of Ledger Entry data migrations returned.",
4704
+ "type": {
4705
+ "kind": "INPUT_OBJECT",
4706
+ "name": "LedgerEntryDataMigrationsFilterSet",
4707
+ "ofType": null
4708
+ },
4709
+ "defaultValue": null
4710
+ },
4711
+ {
4712
+ "name": "first",
4713
+ "description": "The number of Ledger Entry Data Migrations to return per page, when paginating forwards. Defaults to 20, maximum is 200.",
4714
+ "type": {
4715
+ "kind": "SCALAR",
4716
+ "name": "Int",
4717
+ "ofType": null
4718
+ },
4719
+ "defaultValue": null
4720
+ },
4721
+ {
4722
+ "name": "last",
4723
+ "description": "The number of Ledger Entry Data Migrations to return per page, when paginating backwards. Defaults to 20, maximum is 200.",
4724
+ "type": {
4725
+ "kind": "SCALAR",
4726
+ "name": "Int",
4727
+ "ofType": null
4728
+ },
4729
+ "defaultValue": null
4730
+ }
4731
+ ],
4732
+ "type": {
4733
+ "kind": "NON_NULL",
4734
+ "name": null,
4735
+ "ofType": {
4736
+ "kind": "OBJECT",
4737
+ "name": "LedgerEntryDataMigrationConnection",
4738
+ "ofType": null
4739
+ }
4740
+ },
4741
+ "isDeprecated": false,
4742
+ "deprecationReason": null
4743
+ },
4610
4744
  {
4611
4745
  "name": "ledgerEntryGroup",
4612
4746
  "description": "Query a Ledger Entry Group for this Ledger given its key and value.",
@@ -6251,53 +6385,14 @@
6251
6385
  "possibleTypes": null
6252
6386
  },
6253
6387
  {
6254
- "kind": "INPUT_OBJECT",
6255
- "name": "LedgerAccountFilter",
6256
- "description": null,
6257
- "fields": null,
6258
- "inputFields": [
6259
- {
6260
- "name": "equalTo",
6261
- "description": "Result must match the specified Ledger Account",
6262
- "type": {
6263
- "kind": "INPUT_OBJECT",
6264
- "name": "LedgerAccountMatchInput",
6265
- "ofType": null
6266
- },
6267
- "defaultValue": null
6268
- },
6269
- {
6270
- "name": "in",
6271
- "description": "Results can match any of specified Ledger Accounts",
6272
- "type": {
6273
- "kind": "LIST",
6274
- "name": null,
6275
- "ofType": {
6276
- "kind": "NON_NULL",
6277
- "name": null,
6278
- "ofType": {
6279
- "kind": "INPUT_OBJECT",
6280
- "name": "LedgerAccountMatchInput",
6281
- "ofType": null
6282
- }
6283
- }
6284
- },
6285
- "defaultValue": null
6286
- }
6287
- ],
6288
- "interfaces": null,
6289
- "enumValues": null,
6290
- "possibleTypes": null
6291
- },
6292
- {
6293
- "kind": "INPUT_OBJECT",
6294
- "name": "LedgerAccountGroupConsistencyConfigInput",
6295
- "description": "The consistency configuration for a specific Ledger Entry Group in this account.",
6296
- "fields": null,
6297
- "inputFields": [
6388
+ "kind": "OBJECT",
6389
+ "name": "LedgerAccountDataMigration",
6390
+ "description": "Represents a data migration for a specific Ledger Account in a Ledger.",
6391
+ "fields": [
6298
6392
  {
6299
- "name": "key",
6300
- "description": "The group key for this configuration.",
6393
+ "name": "accountPath",
6394
+ "description": "The path of the Ledger Account being migrated.",
6395
+ "args": [],
6301
6396
  "type": {
6302
6397
  "kind": "NON_NULL",
6303
6398
  "name": null,
@@ -6307,50 +6402,346 @@
6307
6402
  "ofType": null
6308
6403
  }
6309
6404
  },
6310
- "defaultValue": null
6405
+ "isDeprecated": false,
6406
+ "deprecationReason": null
6311
6407
  },
6312
6408
  {
6313
- "name": "ownBalanceUpdates",
6314
- "description": "If set to `strong`, then Ledger Entry Group `ownBalance`s updates for this account will be strongly consistent with the API response.\nThis Ledger Account's Ledger Entry Group balances will be updated and available for strongly consistent reads before you receive an API response.\n\nOtherwise if unset or set to `eventual`, Ledger Entry Group `ownBalance` updates are applied asynchronously and may not be immediately reflected in queries.\n\nSee [Configure consistency](https://fragment.dev/docs/configure-consistency).",
6409
+ "name": "currentMigration",
6410
+ "description": "Current active migration info (null if migration is inactive).",
6411
+ "args": [],
6412
+ "type": {
6413
+ "kind": "OBJECT",
6414
+ "name": "LedgerDataMigrationHistoryEntry",
6415
+ "ofType": null
6416
+ },
6417
+ "isDeprecated": false,
6418
+ "deprecationReason": null
6419
+ },
6420
+ {
6421
+ "name": "history",
6422
+ "description": "The historical transitions of this migration.",
6423
+ "args": [
6424
+ {
6425
+ "name": "after",
6426
+ "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).",
6427
+ "type": {
6428
+ "kind": "SCALAR",
6429
+ "name": "String",
6430
+ "ofType": null
6431
+ },
6432
+ "defaultValue": null
6433
+ },
6434
+ {
6435
+ "name": "before",
6436
+ "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).",
6437
+ "type": {
6438
+ "kind": "SCALAR",
6439
+ "name": "String",
6440
+ "ofType": null
6441
+ },
6442
+ "defaultValue": null
6443
+ },
6444
+ {
6445
+ "name": "first",
6446
+ "description": "The number of Migration History to return per page, when paginating forwards. Defaults to 20, maximum is 200.",
6447
+ "type": {
6448
+ "kind": "SCALAR",
6449
+ "name": "Int",
6450
+ "ofType": null
6451
+ },
6452
+ "defaultValue": null
6453
+ },
6454
+ {
6455
+ "name": "last",
6456
+ "description": "The number of Migration History to return per page, when paginating backwards. Defaults to 20, maximum is 200.",
6457
+ "type": {
6458
+ "kind": "SCALAR",
6459
+ "name": "Int",
6460
+ "ofType": null
6461
+ },
6462
+ "defaultValue": null
6463
+ }
6464
+ ],
6315
6465
  "type": {
6316
6466
  "kind": "NON_NULL",
6317
6467
  "name": null,
6318
6468
  "ofType": {
6319
- "kind": "ENUM",
6320
- "name": "BalanceUpdateConsistencyMode",
6469
+ "kind": "OBJECT",
6470
+ "name": "LedgerDataMigrationHistoryConnection",
6321
6471
  "ofType": null
6322
6472
  }
6323
6473
  },
6324
- "defaultValue": null
6325
- }
6326
- ],
6327
- "interfaces": null,
6328
- "enumValues": null,
6329
- "possibleTypes": null
6330
- },
6331
- {
6332
- "kind": "INPUT_OBJECT",
6333
- "name": "LedgerAccountMatchInput",
6334
- "description": "Specify a Ledger Account by using `id` or `path`.\n\nWhen specifying a Ledger Account by `path`, you must provide `ledger`.",
6335
- "fields": null,
6336
- "inputFields": [
6337
- {
6338
- "name": "id",
6339
- "description": "The FRAGMENT ID of the Ledger Account",
6340
- "type": {
6341
- "kind": "SCALAR",
6342
- "name": "ID",
6343
- "ofType": null
6344
- },
6345
- "defaultValue": null
6474
+ "isDeprecated": false,
6475
+ "deprecationReason": null
6346
6476
  },
6347
6477
  {
6348
- "name": "ledger",
6349
- "description": "The Ledger to which this Ledger Account belongs. This is required if you are specifying the Ledger Account by `path`.",
6350
- "type": {
6351
- "kind": "INPUT_OBJECT",
6352
- "name": "LedgerMatchInput",
6353
- "ofType": null
6478
+ "name": "ledgerEntries",
6479
+ "description": "The ledger entries to be migrated.",
6480
+ "args": [
6481
+ {
6482
+ "name": "after",
6483
+ "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).",
6484
+ "type": {
6485
+ "kind": "SCALAR",
6486
+ "name": "String",
6487
+ "ofType": null
6488
+ },
6489
+ "defaultValue": null
6490
+ },
6491
+ {
6492
+ "name": "before",
6493
+ "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).",
6494
+ "type": {
6495
+ "kind": "SCALAR",
6496
+ "name": "String",
6497
+ "ofType": null
6498
+ },
6499
+ "defaultValue": null
6500
+ },
6501
+ {
6502
+ "name": "first",
6503
+ "description": "The number of Ledger Entries to return per page, when paginating forwards. Defaults to 20, maximum is 200.",
6504
+ "type": {
6505
+ "kind": "SCALAR",
6506
+ "name": "Int",
6507
+ "ofType": null
6508
+ },
6509
+ "defaultValue": null
6510
+ },
6511
+ {
6512
+ "name": "last",
6513
+ "description": "The number of Ledger Entries to return per page, when paginating backwards. Defaults to 20, maximum is 200.",
6514
+ "type": {
6515
+ "kind": "SCALAR",
6516
+ "name": "Int",
6517
+ "ofType": null
6518
+ },
6519
+ "defaultValue": null
6520
+ }
6521
+ ],
6522
+ "type": {
6523
+ "kind": "NON_NULL",
6524
+ "name": null,
6525
+ "ofType": {
6526
+ "kind": "OBJECT",
6527
+ "name": "LedgerEntriesConnection",
6528
+ "ofType": null
6529
+ }
6530
+ },
6531
+ "isDeprecated": false,
6532
+ "deprecationReason": null
6533
+ },
6534
+ {
6535
+ "name": "status",
6536
+ "description": "The status of the data migration.",
6537
+ "args": [],
6538
+ "type": {
6539
+ "kind": "NON_NULL",
6540
+ "name": null,
6541
+ "ofType": {
6542
+ "kind": "ENUM",
6543
+ "name": "LedgerDataMigrationStatus",
6544
+ "ofType": null
6545
+ }
6546
+ },
6547
+ "isDeprecated": false,
6548
+ "deprecationReason": null
6549
+ }
6550
+ ],
6551
+ "inputFields": null,
6552
+ "interfaces": [
6553
+ {
6554
+ "kind": "INTERFACE",
6555
+ "name": "LedgerDataMigration",
6556
+ "ofType": null
6557
+ }
6558
+ ],
6559
+ "enumValues": null,
6560
+ "possibleTypes": null
6561
+ },
6562
+ {
6563
+ "kind": "OBJECT",
6564
+ "name": "LedgerAccountDataMigrationConnection",
6565
+ "description": null,
6566
+ "fields": [
6567
+ {
6568
+ "name": "nodes",
6569
+ "description": "The current page of results",
6570
+ "args": [],
6571
+ "type": {
6572
+ "kind": "NON_NULL",
6573
+ "name": null,
6574
+ "ofType": {
6575
+ "kind": "LIST",
6576
+ "name": null,
6577
+ "ofType": {
6578
+ "kind": "NON_NULL",
6579
+ "name": null,
6580
+ "ofType": {
6581
+ "kind": "OBJECT",
6582
+ "name": "LedgerAccountDataMigration",
6583
+ "ofType": null
6584
+ }
6585
+ }
6586
+ }
6587
+ },
6588
+ "isDeprecated": false,
6589
+ "deprecationReason": null
6590
+ },
6591
+ {
6592
+ "name": "pageInfo",
6593
+ "description": "Pagination info for this list.",
6594
+ "args": [],
6595
+ "type": {
6596
+ "kind": "NON_NULL",
6597
+ "name": null,
6598
+ "ofType": {
6599
+ "kind": "OBJECT",
6600
+ "name": "PageInfo",
6601
+ "ofType": null
6602
+ }
6603
+ },
6604
+ "isDeprecated": false,
6605
+ "deprecationReason": null
6606
+ }
6607
+ ],
6608
+ "inputFields": null,
6609
+ "interfaces": [],
6610
+ "enumValues": null,
6611
+ "possibleTypes": null
6612
+ },
6613
+ {
6614
+ "kind": "INPUT_OBJECT",
6615
+ "name": "LedgerAccountDataMigrationsFilterSet",
6616
+ "description": null,
6617
+ "fields": null,
6618
+ "inputFields": [
6619
+ {
6620
+ "name": "accountPath",
6621
+ "description": "Filter by Ledger Account path.",
6622
+ "type": {
6623
+ "kind": "INPUT_OBJECT",
6624
+ "name": "StringFilter",
6625
+ "ofType": null
6626
+ },
6627
+ "defaultValue": null
6628
+ },
6629
+ {
6630
+ "name": "status",
6631
+ "description": "Filter by the status of the data migration.",
6632
+ "type": {
6633
+ "kind": "ENUM",
6634
+ "name": "LedgerDataMigrationStatus",
6635
+ "ofType": null
6636
+ },
6637
+ "defaultValue": null
6638
+ }
6639
+ ],
6640
+ "interfaces": null,
6641
+ "enumValues": null,
6642
+ "possibleTypes": null
6643
+ },
6644
+ {
6645
+ "kind": "INPUT_OBJECT",
6646
+ "name": "LedgerAccountFilter",
6647
+ "description": null,
6648
+ "fields": null,
6649
+ "inputFields": [
6650
+ {
6651
+ "name": "equalTo",
6652
+ "description": "Result must match the specified Ledger Account",
6653
+ "type": {
6654
+ "kind": "INPUT_OBJECT",
6655
+ "name": "LedgerAccountMatchInput",
6656
+ "ofType": null
6657
+ },
6658
+ "defaultValue": null
6659
+ },
6660
+ {
6661
+ "name": "in",
6662
+ "description": "Results can match any of specified Ledger Accounts",
6663
+ "type": {
6664
+ "kind": "LIST",
6665
+ "name": null,
6666
+ "ofType": {
6667
+ "kind": "NON_NULL",
6668
+ "name": null,
6669
+ "ofType": {
6670
+ "kind": "INPUT_OBJECT",
6671
+ "name": "LedgerAccountMatchInput",
6672
+ "ofType": null
6673
+ }
6674
+ }
6675
+ },
6676
+ "defaultValue": null
6677
+ }
6678
+ ],
6679
+ "interfaces": null,
6680
+ "enumValues": null,
6681
+ "possibleTypes": null
6682
+ },
6683
+ {
6684
+ "kind": "INPUT_OBJECT",
6685
+ "name": "LedgerAccountGroupConsistencyConfigInput",
6686
+ "description": "The consistency configuration for a specific Ledger Entry Group in this account.",
6687
+ "fields": null,
6688
+ "inputFields": [
6689
+ {
6690
+ "name": "key",
6691
+ "description": "The group key for this configuration.",
6692
+ "type": {
6693
+ "kind": "NON_NULL",
6694
+ "name": null,
6695
+ "ofType": {
6696
+ "kind": "SCALAR",
6697
+ "name": "String",
6698
+ "ofType": null
6699
+ }
6700
+ },
6701
+ "defaultValue": null
6702
+ },
6703
+ {
6704
+ "name": "ownBalanceUpdates",
6705
+ "description": "If set to `strong`, then Ledger Entry Group `ownBalance`s updates for this account will be strongly consistent with the API response.\nThis Ledger Account's Ledger Entry Group balances will be updated and available for strongly consistent reads before you receive an API response.\n\nOtherwise if unset or set to `eventual`, Ledger Entry Group `ownBalance` updates are applied asynchronously and may not be immediately reflected in queries.\n\nSee [Configure consistency](https://fragment.dev/docs/configure-consistency).",
6706
+ "type": {
6707
+ "kind": "NON_NULL",
6708
+ "name": null,
6709
+ "ofType": {
6710
+ "kind": "ENUM",
6711
+ "name": "BalanceUpdateConsistencyMode",
6712
+ "ofType": null
6713
+ }
6714
+ },
6715
+ "defaultValue": null
6716
+ }
6717
+ ],
6718
+ "interfaces": null,
6719
+ "enumValues": null,
6720
+ "possibleTypes": null
6721
+ },
6722
+ {
6723
+ "kind": "INPUT_OBJECT",
6724
+ "name": "LedgerAccountMatchInput",
6725
+ "description": "Specify a Ledger Account by using `id` or `path`.\n\nWhen specifying a Ledger Account by `path`, you must provide `ledger`.",
6726
+ "fields": null,
6727
+ "inputFields": [
6728
+ {
6729
+ "name": "id",
6730
+ "description": "The FRAGMENT ID of the Ledger Account",
6731
+ "type": {
6732
+ "kind": "SCALAR",
6733
+ "name": "ID",
6734
+ "ofType": null
6735
+ },
6736
+ "defaultValue": null
6737
+ },
6738
+ {
6739
+ "name": "ledger",
6740
+ "description": "The Ledger to which this Ledger Account belongs. This is required if you are specifying the Ledger Account by `path`.",
6741
+ "type": {
6742
+ "kind": "INPUT_OBJECT",
6743
+ "name": "LedgerMatchInput",
6744
+ "ofType": null
6354
6745
  },
6355
6746
  "defaultValue": null
6356
6747
  },
@@ -6575,6 +6966,287 @@
6575
6966
  "enumValues": null,
6576
6967
  "possibleTypes": null
6577
6968
  },
6969
+ {
6970
+ "kind": "INTERFACE",
6971
+ "name": "LedgerDataMigration",
6972
+ "description": "Represents a data migration for a Ledger.",
6973
+ "fields": [
6974
+ {
6975
+ "name": "currentMigration",
6976
+ "description": "Current active migration info (null if migration is inactive).",
6977
+ "args": [],
6978
+ "type": {
6979
+ "kind": "OBJECT",
6980
+ "name": "LedgerDataMigrationHistoryEntry",
6981
+ "ofType": null
6982
+ },
6983
+ "isDeprecated": false,
6984
+ "deprecationReason": null
6985
+ },
6986
+ {
6987
+ "name": "history",
6988
+ "description": "The historical transitions of this migration.",
6989
+ "args": [
6990
+ {
6991
+ "name": "after",
6992
+ "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).",
6993
+ "type": {
6994
+ "kind": "SCALAR",
6995
+ "name": "String",
6996
+ "ofType": null
6997
+ },
6998
+ "defaultValue": null
6999
+ },
7000
+ {
7001
+ "name": "before",
7002
+ "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).",
7003
+ "type": {
7004
+ "kind": "SCALAR",
7005
+ "name": "String",
7006
+ "ofType": null
7007
+ },
7008
+ "defaultValue": null
7009
+ },
7010
+ {
7011
+ "name": "first",
7012
+ "description": "The number of Migration History to return per page, when paginating forwards. Defaults to 20, maximum is 200.",
7013
+ "type": {
7014
+ "kind": "SCALAR",
7015
+ "name": "Int",
7016
+ "ofType": null
7017
+ },
7018
+ "defaultValue": null
7019
+ },
7020
+ {
7021
+ "name": "last",
7022
+ "description": "The number of Migration History to return per page, when paginating backwards. Defaults to 20, maximum is 200.",
7023
+ "type": {
7024
+ "kind": "SCALAR",
7025
+ "name": "Int",
7026
+ "ofType": null
7027
+ },
7028
+ "defaultValue": null
7029
+ }
7030
+ ],
7031
+ "type": {
7032
+ "kind": "NON_NULL",
7033
+ "name": null,
7034
+ "ofType": {
7035
+ "kind": "OBJECT",
7036
+ "name": "LedgerDataMigrationHistoryConnection",
7037
+ "ofType": null
7038
+ }
7039
+ },
7040
+ "isDeprecated": false,
7041
+ "deprecationReason": null
7042
+ },
7043
+ {
7044
+ "name": "ledgerEntries",
7045
+ "description": "The ledger entries to be migrated.",
7046
+ "args": [
7047
+ {
7048
+ "name": "after",
7049
+ "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).",
7050
+ "type": {
7051
+ "kind": "SCALAR",
7052
+ "name": "String",
7053
+ "ofType": null
7054
+ },
7055
+ "defaultValue": null
7056
+ },
7057
+ {
7058
+ "name": "before",
7059
+ "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).",
7060
+ "type": {
7061
+ "kind": "SCALAR",
7062
+ "name": "String",
7063
+ "ofType": null
7064
+ },
7065
+ "defaultValue": null
7066
+ },
7067
+ {
7068
+ "name": "first",
7069
+ "description": "The number of Ledger Entries to return per page, when paginating forwards. Defaults to 20, maximum is 200.",
7070
+ "type": {
7071
+ "kind": "SCALAR",
7072
+ "name": "Int",
7073
+ "ofType": null
7074
+ },
7075
+ "defaultValue": null
7076
+ },
7077
+ {
7078
+ "name": "last",
7079
+ "description": "The number of Ledger Entries to return per page, when paginating backwards. Defaults to 20, maximum is 200.",
7080
+ "type": {
7081
+ "kind": "SCALAR",
7082
+ "name": "Int",
7083
+ "ofType": null
7084
+ },
7085
+ "defaultValue": null
7086
+ }
7087
+ ],
7088
+ "type": {
7089
+ "kind": "NON_NULL",
7090
+ "name": null,
7091
+ "ofType": {
7092
+ "kind": "OBJECT",
7093
+ "name": "LedgerEntriesConnection",
7094
+ "ofType": null
7095
+ }
7096
+ },
7097
+ "isDeprecated": false,
7098
+ "deprecationReason": null
7099
+ },
7100
+ {
7101
+ "name": "status",
7102
+ "description": "The status of the data migration.",
7103
+ "args": [],
7104
+ "type": {
7105
+ "kind": "NON_NULL",
7106
+ "name": null,
7107
+ "ofType": {
7108
+ "kind": "ENUM",
7109
+ "name": "LedgerDataMigrationStatus",
7110
+ "ofType": null
7111
+ }
7112
+ },
7113
+ "isDeprecated": false,
7114
+ "deprecationReason": null
7115
+ }
7116
+ ],
7117
+ "inputFields": null,
7118
+ "interfaces": [],
7119
+ "enumValues": null,
7120
+ "possibleTypes": [
7121
+ {
7122
+ "kind": "OBJECT",
7123
+ "name": "LedgerAccountDataMigration",
7124
+ "ofType": null
7125
+ },
7126
+ {
7127
+ "kind": "OBJECT",
7128
+ "name": "LedgerEntryDataMigration",
7129
+ "ofType": null
7130
+ }
7131
+ ]
7132
+ },
7133
+ {
7134
+ "kind": "OBJECT",
7135
+ "name": "LedgerDataMigrationHistoryConnection",
7136
+ "description": "A paginated list of migration history entries.",
7137
+ "fields": [
7138
+ {
7139
+ "name": "nodes",
7140
+ "description": "The current page of results",
7141
+ "args": [],
7142
+ "type": {
7143
+ "kind": "NON_NULL",
7144
+ "name": null,
7145
+ "ofType": {
7146
+ "kind": "LIST",
7147
+ "name": null,
7148
+ "ofType": {
7149
+ "kind": "NON_NULL",
7150
+ "name": null,
7151
+ "ofType": {
7152
+ "kind": "OBJECT",
7153
+ "name": "LedgerDataMigrationHistoryEntry",
7154
+ "ofType": null
7155
+ }
7156
+ }
7157
+ }
7158
+ },
7159
+ "isDeprecated": false,
7160
+ "deprecationReason": null
7161
+ },
7162
+ {
7163
+ "name": "pageInfo",
7164
+ "description": "Pagination info for this list.",
7165
+ "args": [],
7166
+ "type": {
7167
+ "kind": "NON_NULL",
7168
+ "name": null,
7169
+ "ofType": {
7170
+ "kind": "OBJECT",
7171
+ "name": "PageInfo",
7172
+ "ofType": null
7173
+ }
7174
+ },
7175
+ "isDeprecated": false,
7176
+ "deprecationReason": null
7177
+ }
7178
+ ],
7179
+ "inputFields": null,
7180
+ "interfaces": [],
7181
+ "enumValues": null,
7182
+ "possibleTypes": null
7183
+ },
7184
+ {
7185
+ "kind": "OBJECT",
7186
+ "name": "LedgerDataMigrationHistoryEntry",
7187
+ "description": "A single schema version in the migration history.",
7188
+ "fields": [
7189
+ {
7190
+ "name": "schemaVersion",
7191
+ "description": "The schema version.",
7192
+ "args": [],
7193
+ "type": {
7194
+ "kind": "NON_NULL",
7195
+ "name": null,
7196
+ "ofType": {
7197
+ "kind": "SCALAR",
7198
+ "name": "Int",
7199
+ "ofType": null
7200
+ }
7201
+ },
7202
+ "isDeprecated": false,
7203
+ "deprecationReason": null
7204
+ },
7205
+ {
7206
+ "name": "status",
7207
+ "description": "The current status of this schema version (active if it's the latest and migration is active, otherwise inactive).",
7208
+ "args": [],
7209
+ "type": {
7210
+ "kind": "NON_NULL",
7211
+ "name": null,
7212
+ "ofType": {
7213
+ "kind": "ENUM",
7214
+ "name": "LedgerDataMigrationStatus",
7215
+ "ofType": null
7216
+ }
7217
+ },
7218
+ "isDeprecated": false,
7219
+ "deprecationReason": null
7220
+ }
7221
+ ],
7222
+ "inputFields": null,
7223
+ "interfaces": [],
7224
+ "enumValues": null,
7225
+ "possibleTypes": null
7226
+ },
7227
+ {
7228
+ "kind": "ENUM",
7229
+ "name": "LedgerDataMigrationStatus",
7230
+ "description": "The status of a ledger data migration.",
7231
+ "fields": null,
7232
+ "inputFields": null,
7233
+ "interfaces": null,
7234
+ "enumValues": [
7235
+ {
7236
+ "name": "active",
7237
+ "description": "The migration is active.",
7238
+ "isDeprecated": false,
7239
+ "deprecationReason": null
7240
+ },
7241
+ {
7242
+ "name": "inactive",
7243
+ "description": "The migration is inactive.",
7244
+ "isDeprecated": false,
7245
+ "deprecationReason": null
7246
+ }
7247
+ ],
7248
+ "possibleTypes": null
7249
+ },
6578
7250
  {
6579
7251
  "kind": "OBJECT",
6580
7252
  "name": "LedgerEntriesConnection",
@@ -6998,8 +7670,415 @@
6998
7670
  "kind": "NON_NULL",
6999
7671
  "name": null,
7000
7672
  "ofType": {
7001
- "kind": "SCALAR",
7002
- "name": "DateTime",
7673
+ "kind": "SCALAR",
7674
+ "name": "DateTime",
7675
+ "ofType": null
7676
+ }
7677
+ },
7678
+ "isDeprecated": false,
7679
+ "deprecationReason": null
7680
+ },
7681
+ {
7682
+ "name": "reversalHistory",
7683
+ "description": "The reversal history of this Ledger Entry. Each entry in this connection shares the same IK.",
7684
+ "args": [],
7685
+ "type": {
7686
+ "kind": "NON_NULL",
7687
+ "name": null,
7688
+ "ofType": {
7689
+ "kind": "OBJECT",
7690
+ "name": "LedgerEntriesConnection",
7691
+ "ofType": null
7692
+ }
7693
+ },
7694
+ "isDeprecated": false,
7695
+ "deprecationReason": null
7696
+ },
7697
+ {
7698
+ "name": "reversalPosition",
7699
+ "description": "The position of this Ledger Entry in its reversalHistory. This is a one-indexed value, so the initial entry will have reversalPosition 1.",
7700
+ "args": [],
7701
+ "type": {
7702
+ "kind": "NON_NULL",
7703
+ "name": null,
7704
+ "ofType": {
7705
+ "kind": "SCALAR",
7706
+ "name": "Int",
7707
+ "ofType": null
7708
+ }
7709
+ },
7710
+ "isDeprecated": false,
7711
+ "deprecationReason": null
7712
+ },
7713
+ {
7714
+ "name": "reversedAt",
7715
+ "description": "ISO-8601 timestamp of when this Ledger Entry was reversed.",
7716
+ "args": [],
7717
+ "type": {
7718
+ "kind": "SCALAR",
7719
+ "name": "DateTime",
7720
+ "ofType": null
7721
+ },
7722
+ "isDeprecated": false,
7723
+ "deprecationReason": null
7724
+ },
7725
+ {
7726
+ "name": "reversedBy",
7727
+ "description": "The Ledger Entry that reversed this Ledger Entry.",
7728
+ "args": [],
7729
+ "type": {
7730
+ "kind": "OBJECT",
7731
+ "name": "LedgerEntry",
7732
+ "ofType": null
7733
+ },
7734
+ "isDeprecated": false,
7735
+ "deprecationReason": null
7736
+ },
7737
+ {
7738
+ "name": "reverses",
7739
+ "description": "The Ledger Entry that was reversed by this Ledger Entry.",
7740
+ "args": [],
7741
+ "type": {
7742
+ "kind": "OBJECT",
7743
+ "name": "LedgerEntry",
7744
+ "ofType": null
7745
+ },
7746
+ "isDeprecated": false,
7747
+ "deprecationReason": null
7748
+ },
7749
+ {
7750
+ "name": "tags",
7751
+ "description": "The set of tags attached to this Ledger Entry.",
7752
+ "args": [],
7753
+ "type": {
7754
+ "kind": "NON_NULL",
7755
+ "name": null,
7756
+ "ofType": {
7757
+ "kind": "LIST",
7758
+ "name": null,
7759
+ "ofType": {
7760
+ "kind": "NON_NULL",
7761
+ "name": null,
7762
+ "ofType": {
7763
+ "kind": "OBJECT",
7764
+ "name": "LedgerEntryTag",
7765
+ "ofType": null
7766
+ }
7767
+ }
7768
+ }
7769
+ },
7770
+ "isDeprecated": false,
7771
+ "deprecationReason": null
7772
+ },
7773
+ {
7774
+ "name": "type",
7775
+ "description": "The type of the Ledger Entry.",
7776
+ "args": [],
7777
+ "type": {
7778
+ "kind": "SCALAR",
7779
+ "name": "SafeString",
7780
+ "ofType": null
7781
+ },
7782
+ "isDeprecated": false,
7783
+ "deprecationReason": null
7784
+ },
7785
+ {
7786
+ "name": "typeVersion",
7787
+ "description": "The version of the Ledger Entry type used when it was posted.",
7788
+ "args": [],
7789
+ "type": {
7790
+ "kind": "SCALAR",
7791
+ "name": "Int",
7792
+ "ofType": null
7793
+ },
7794
+ "isDeprecated": false,
7795
+ "deprecationReason": null
7796
+ },
7797
+ {
7798
+ "name": "workspaceId",
7799
+ "description": null,
7800
+ "args": [],
7801
+ "type": {
7802
+ "kind": "NON_NULL",
7803
+ "name": null,
7804
+ "ofType": {
7805
+ "kind": "SCALAR",
7806
+ "name": "ID",
7807
+ "ofType": null
7808
+ }
7809
+ },
7810
+ "isDeprecated": true,
7811
+ "deprecationReason": "Callers should not need to query or store this value."
7812
+ }
7813
+ ],
7814
+ "inputFields": null,
7815
+ "interfaces": [],
7816
+ "enumValues": null,
7817
+ "possibleTypes": null
7818
+ },
7819
+ {
7820
+ "kind": "OBJECT",
7821
+ "name": "LedgerEntryCondition",
7822
+ "description": "A set of pre-conditions and post-conditions that a Ledger Account must have satisfied. Each `LedgerEntryCondition` has at least one of `precondition` or `postcondition`.",
7823
+ "fields": [
7824
+ {
7825
+ "name": "account",
7826
+ "description": "The Ledger Account that must satisfied the provided conditions.",
7827
+ "args": [],
7828
+ "type": {
7829
+ "kind": "NON_NULL",
7830
+ "name": null,
7831
+ "ofType": {
7832
+ "kind": "OBJECT",
7833
+ "name": "LedgerAccount",
7834
+ "ofType": null
7835
+ }
7836
+ },
7837
+ "isDeprecated": false,
7838
+ "deprecationReason": null
7839
+ },
7840
+ {
7841
+ "name": "currency",
7842
+ "description": "The currency of the balance associated with this `LedgerEntryCondition`.",
7843
+ "args": [],
7844
+ "type": {
7845
+ "kind": "NON_NULL",
7846
+ "name": null,
7847
+ "ofType": {
7848
+ "kind": "OBJECT",
7849
+ "name": "Currency",
7850
+ "ofType": null
7851
+ }
7852
+ },
7853
+ "isDeprecated": false,
7854
+ "deprecationReason": null
7855
+ },
7856
+ {
7857
+ "name": "postcondition",
7858
+ "description": "The conditions that must be satisfied after the operation.",
7859
+ "args": [],
7860
+ "type": {
7861
+ "kind": "OBJECT",
7862
+ "name": "LedgerAccountCondition",
7863
+ "ofType": null
7864
+ },
7865
+ "isDeprecated": false,
7866
+ "deprecationReason": null
7867
+ },
7868
+ {
7869
+ "name": "precondition",
7870
+ "description": "The conditions that must be satisfied prior to the operation.",
7871
+ "args": [],
7872
+ "type": {
7873
+ "kind": "OBJECT",
7874
+ "name": "LedgerAccountCondition",
7875
+ "ofType": null
7876
+ },
7877
+ "isDeprecated": false,
7878
+ "deprecationReason": null
7879
+ }
7880
+ ],
7881
+ "inputFields": null,
7882
+ "interfaces": [],
7883
+ "enumValues": null,
7884
+ "possibleTypes": null
7885
+ },
7886
+ {
7887
+ "kind": "INPUT_OBJECT",
7888
+ "name": "LedgerEntryConditionInput",
7889
+ "description": "A set of pre-conditions and post-conditions that a Ledger Account balance must meet for an operation to succeed. You must specify at least one of `precondition` or `postcondition` for each condition.",
7890
+ "fields": null,
7891
+ "inputFields": [
7892
+ {
7893
+ "name": "account",
7894
+ "description": "The Ledger Account that must satisfy the provided conditions.",
7895
+ "type": {
7896
+ "kind": "NON_NULL",
7897
+ "name": null,
7898
+ "ofType": {
7899
+ "kind": "INPUT_OBJECT",
7900
+ "name": "LedgerAccountMatchInput",
7901
+ "ofType": null
7902
+ }
7903
+ },
7904
+ "defaultValue": null
7905
+ },
7906
+ {
7907
+ "name": "currency",
7908
+ "description": "For Ledger Accounts in the `multi` currency mode, you must specify the currency of the balance affected by the condition. You only need to specify this field for multi-currency accounts.",
7909
+ "type": {
7910
+ "kind": "INPUT_OBJECT",
7911
+ "name": "CurrencyMatchInput",
7912
+ "ofType": null
7913
+ },
7914
+ "defaultValue": null
7915
+ },
7916
+ {
7917
+ "name": "postcondition",
7918
+ "description": "The conditions that must hold after the operation.",
7919
+ "type": {
7920
+ "kind": "INPUT_OBJECT",
7921
+ "name": "LedgerAccountConditionInput",
7922
+ "ofType": null
7923
+ },
7924
+ "defaultValue": null
7925
+ },
7926
+ {
7927
+ "name": "precondition",
7928
+ "description": "The conditions that must hold prior to the operation.",
7929
+ "type": {
7930
+ "kind": "INPUT_OBJECT",
7931
+ "name": "LedgerAccountConditionInput",
7932
+ "ofType": null
7933
+ },
7934
+ "defaultValue": null
7935
+ }
7936
+ ],
7937
+ "interfaces": null,
7938
+ "enumValues": null,
7939
+ "possibleTypes": null
7940
+ },
7941
+ {
7942
+ "kind": "OBJECT",
7943
+ "name": "LedgerEntryDataMigration",
7944
+ "description": "Represents a data migration for a specific entry type in a Ledger.",
7945
+ "fields": [
7946
+ {
7947
+ "name": "currentMigration",
7948
+ "description": "Current active migration info (null if migration is inactive).",
7949
+ "args": [],
7950
+ "type": {
7951
+ "kind": "OBJECT",
7952
+ "name": "LedgerDataMigrationHistoryEntry",
7953
+ "ofType": null
7954
+ },
7955
+ "isDeprecated": false,
7956
+ "deprecationReason": null
7957
+ },
7958
+ {
7959
+ "name": "entryType",
7960
+ "description": "The entry type being migrated.",
7961
+ "args": [],
7962
+ "type": {
7963
+ "kind": "NON_NULL",
7964
+ "name": null,
7965
+ "ofType": {
7966
+ "kind": "SCALAR",
7967
+ "name": "SafeString",
7968
+ "ofType": null
7969
+ }
7970
+ },
7971
+ "isDeprecated": false,
7972
+ "deprecationReason": null
7973
+ },
7974
+ {
7975
+ "name": "history",
7976
+ "description": "The historical transitions of this migration.",
7977
+ "args": [
7978
+ {
7979
+ "name": "after",
7980
+ "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).",
7981
+ "type": {
7982
+ "kind": "SCALAR",
7983
+ "name": "String",
7984
+ "ofType": null
7985
+ },
7986
+ "defaultValue": null
7987
+ },
7988
+ {
7989
+ "name": "before",
7990
+ "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).",
7991
+ "type": {
7992
+ "kind": "SCALAR",
7993
+ "name": "String",
7994
+ "ofType": null
7995
+ },
7996
+ "defaultValue": null
7997
+ },
7998
+ {
7999
+ "name": "first",
8000
+ "description": "The number of Migration History to return per page, when paginating forwards. Defaults to 20, maximum is 200.",
8001
+ "type": {
8002
+ "kind": "SCALAR",
8003
+ "name": "Int",
8004
+ "ofType": null
8005
+ },
8006
+ "defaultValue": null
8007
+ },
8008
+ {
8009
+ "name": "last",
8010
+ "description": "The number of Migration History to return per page, when paginating backwards. Defaults to 20, maximum is 200.",
8011
+ "type": {
8012
+ "kind": "SCALAR",
8013
+ "name": "Int",
8014
+ "ofType": null
8015
+ },
8016
+ "defaultValue": null
8017
+ }
8018
+ ],
8019
+ "type": {
8020
+ "kind": "NON_NULL",
8021
+ "name": null,
8022
+ "ofType": {
8023
+ "kind": "OBJECT",
8024
+ "name": "LedgerDataMigrationHistoryConnection",
8025
+ "ofType": null
8026
+ }
8027
+ },
8028
+ "isDeprecated": false,
8029
+ "deprecationReason": null
8030
+ },
8031
+ {
8032
+ "name": "ledgerEntries",
8033
+ "description": "The ledger entries to be migrated.",
8034
+ "args": [
8035
+ {
8036
+ "name": "after",
8037
+ "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).",
8038
+ "type": {
8039
+ "kind": "SCALAR",
8040
+ "name": "String",
8041
+ "ofType": null
8042
+ },
8043
+ "defaultValue": null
8044
+ },
8045
+ {
8046
+ "name": "before",
8047
+ "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).",
8048
+ "type": {
8049
+ "kind": "SCALAR",
8050
+ "name": "String",
8051
+ "ofType": null
8052
+ },
8053
+ "defaultValue": null
8054
+ },
8055
+ {
8056
+ "name": "first",
8057
+ "description": "The number of Ledger Entries to return per page, when paginating forwards. Defaults to 20, maximum is 200.",
8058
+ "type": {
8059
+ "kind": "SCALAR",
8060
+ "name": "Int",
8061
+ "ofType": null
8062
+ },
8063
+ "defaultValue": null
8064
+ },
8065
+ {
8066
+ "name": "last",
8067
+ "description": "The number of Ledger Entries to return per page, when paginating backwards. Defaults to 20, maximum is 200.",
8068
+ "type": {
8069
+ "kind": "SCALAR",
8070
+ "name": "Int",
8071
+ "ofType": null
8072
+ },
8073
+ "defaultValue": null
8074
+ }
8075
+ ],
8076
+ "type": {
8077
+ "kind": "NON_NULL",
8078
+ "name": null,
8079
+ "ofType": {
8080
+ "kind": "OBJECT",
8081
+ "name": "LedgerEntriesConnection",
7003
8082
  "ofType": null
7004
8083
  }
7005
8084
  },
@@ -7007,15 +8086,15 @@
7007
8086
  "deprecationReason": null
7008
8087
  },
7009
8088
  {
7010
- "name": "reversalHistory",
7011
- "description": "The reversal history of this Ledger Entry. Each entry in this connection shares the same IK.",
8089
+ "name": "status",
8090
+ "description": "The status of the data migration.",
7012
8091
  "args": [],
7013
8092
  "type": {
7014
8093
  "kind": "NON_NULL",
7015
8094
  "name": null,
7016
8095
  "ofType": {
7017
- "kind": "OBJECT",
7018
- "name": "LedgerEntriesConnection",
8096
+ "kind": "ENUM",
8097
+ "name": "LedgerDataMigrationStatus",
7019
8098
  "ofType": null
7020
8099
  }
7021
8100
  },
@@ -7023,8 +8102,8 @@
7023
8102
  "deprecationReason": null
7024
8103
  },
7025
8104
  {
7026
- "name": "reversalPosition",
7027
- "description": "The position of this Ledger Entry in its reversalHistory. This is a one-indexed value, so the initial entry will have reversalPosition 1.",
8105
+ "name": "typeVersion",
8106
+ "description": "The version of the entry type being migrated.",
7028
8107
  "args": [],
7029
8108
  "type": {
7030
8109
  "kind": "NON_NULL",
@@ -7037,46 +8116,27 @@
7037
8116
  },
7038
8117
  "isDeprecated": false,
7039
8118
  "deprecationReason": null
7040
- },
7041
- {
7042
- "name": "reversedAt",
7043
- "description": "ISO-8601 timestamp of when this Ledger Entry was reversed.",
7044
- "args": [],
7045
- "type": {
7046
- "kind": "SCALAR",
7047
- "name": "DateTime",
7048
- "ofType": null
7049
- },
7050
- "isDeprecated": false,
7051
- "deprecationReason": null
7052
- },
7053
- {
7054
- "name": "reversedBy",
7055
- "description": "The Ledger Entry that reversed this Ledger Entry.",
7056
- "args": [],
7057
- "type": {
7058
- "kind": "OBJECT",
7059
- "name": "LedgerEntry",
7060
- "ofType": null
7061
- },
7062
- "isDeprecated": false,
7063
- "deprecationReason": null
7064
- },
8119
+ }
8120
+ ],
8121
+ "inputFields": null,
8122
+ "interfaces": [
7065
8123
  {
7066
- "name": "reverses",
7067
- "description": "The Ledger Entry that was reversed by this Ledger Entry.",
7068
- "args": [],
7069
- "type": {
7070
- "kind": "OBJECT",
7071
- "name": "LedgerEntry",
7072
- "ofType": null
7073
- },
7074
- "isDeprecated": false,
7075
- "deprecationReason": null
7076
- },
8124
+ "kind": "INTERFACE",
8125
+ "name": "LedgerDataMigration",
8126
+ "ofType": null
8127
+ }
8128
+ ],
8129
+ "enumValues": null,
8130
+ "possibleTypes": null
8131
+ },
8132
+ {
8133
+ "kind": "OBJECT",
8134
+ "name": "LedgerEntryDataMigrationConnection",
8135
+ "description": null,
8136
+ "fields": [
7077
8137
  {
7078
- "name": "tags",
7079
- "description": "The set of tags attached to this Ledger Entry.",
8138
+ "name": "nodes",
8139
+ "description": "The current page of results",
7080
8140
  "args": [],
7081
8141
  "type": {
7082
8142
  "kind": "NON_NULL",
@@ -7089,7 +8149,7 @@
7089
8149
  "name": null,
7090
8150
  "ofType": {
7091
8151
  "kind": "OBJECT",
7092
- "name": "LedgerEntryTag",
8152
+ "name": "LedgerEntryDataMigration",
7093
8153
  "ofType": null
7094
8154
  }
7095
8155
  }
@@ -7099,111 +8159,20 @@
7099
8159
  "deprecationReason": null
7100
8160
  },
7101
8161
  {
7102
- "name": "type",
7103
- "description": "The type of the Ledger Entry.",
7104
- "args": [],
7105
- "type": {
7106
- "kind": "SCALAR",
7107
- "name": "SafeString",
7108
- "ofType": null
7109
- },
7110
- "isDeprecated": false,
7111
- "deprecationReason": null
7112
- },
7113
- {
7114
- "name": "typeVersion",
7115
- "description": "The version of the Ledger Entry type used when it was posted.",
7116
- "args": [],
7117
- "type": {
7118
- "kind": "SCALAR",
7119
- "name": "Int",
7120
- "ofType": null
7121
- },
7122
- "isDeprecated": false,
7123
- "deprecationReason": null
7124
- },
7125
- {
7126
- "name": "workspaceId",
7127
- "description": null,
7128
- "args": [],
7129
- "type": {
7130
- "kind": "NON_NULL",
7131
- "name": null,
7132
- "ofType": {
7133
- "kind": "SCALAR",
7134
- "name": "ID",
7135
- "ofType": null
7136
- }
7137
- },
7138
- "isDeprecated": true,
7139
- "deprecationReason": "Callers should not need to query or store this value."
7140
- }
7141
- ],
7142
- "inputFields": null,
7143
- "interfaces": [],
7144
- "enumValues": null,
7145
- "possibleTypes": null
7146
- },
7147
- {
7148
- "kind": "OBJECT",
7149
- "name": "LedgerEntryCondition",
7150
- "description": "A set of pre-conditions and post-conditions that a Ledger Account must have satisfied. Each `LedgerEntryCondition` has at least one of `precondition` or `postcondition`.",
7151
- "fields": [
7152
- {
7153
- "name": "account",
7154
- "description": "The Ledger Account that must satisfied the provided conditions.",
7155
- "args": [],
7156
- "type": {
7157
- "kind": "NON_NULL",
7158
- "name": null,
7159
- "ofType": {
7160
- "kind": "OBJECT",
7161
- "name": "LedgerAccount",
7162
- "ofType": null
7163
- }
7164
- },
7165
- "isDeprecated": false,
7166
- "deprecationReason": null
7167
- },
7168
- {
7169
- "name": "currency",
7170
- "description": "The currency of the balance associated with this `LedgerEntryCondition`.",
8162
+ "name": "pageInfo",
8163
+ "description": "Pagination info for this list.",
7171
8164
  "args": [],
7172
8165
  "type": {
7173
8166
  "kind": "NON_NULL",
7174
8167
  "name": null,
7175
8168
  "ofType": {
7176
8169
  "kind": "OBJECT",
7177
- "name": "Currency",
8170
+ "name": "PageInfo",
7178
8171
  "ofType": null
7179
8172
  }
7180
8173
  },
7181
8174
  "isDeprecated": false,
7182
8175
  "deprecationReason": null
7183
- },
7184
- {
7185
- "name": "postcondition",
7186
- "description": "The conditions that must be satisfied after the operation.",
7187
- "args": [],
7188
- "type": {
7189
- "kind": "OBJECT",
7190
- "name": "LedgerAccountCondition",
7191
- "ofType": null
7192
- },
7193
- "isDeprecated": false,
7194
- "deprecationReason": null
7195
- },
7196
- {
7197
- "name": "precondition",
7198
- "description": "The conditions that must be satisfied prior to the operation.",
7199
- "args": [],
7200
- "type": {
7201
- "kind": "OBJECT",
7202
- "name": "LedgerAccountCondition",
7203
- "ofType": null
7204
- },
7205
- "isDeprecated": false,
7206
- "deprecationReason": null
7207
8176
  }
7208
8177
  ],
7209
8178
  "inputFields": null,
@@ -7213,50 +8182,36 @@
7213
8182
  },
7214
8183
  {
7215
8184
  "kind": "INPUT_OBJECT",
7216
- "name": "LedgerEntryConditionInput",
7217
- "description": "A set of pre-conditions and post-conditions that a Ledger Account balance must meet for an operation to succeed. You must specify at least one of `precondition` or `postcondition` for each condition.",
8185
+ "name": "LedgerEntryDataMigrationsFilterSet",
8186
+ "description": null,
7218
8187
  "fields": null,
7219
8188
  "inputFields": [
7220
8189
  {
7221
- "name": "account",
7222
- "description": "The Ledger Account that must satisfy the provided conditions.",
7223
- "type": {
7224
- "kind": "NON_NULL",
7225
- "name": null,
7226
- "ofType": {
7227
- "kind": "INPUT_OBJECT",
7228
- "name": "LedgerAccountMatchInput",
7229
- "ofType": null
7230
- }
7231
- },
7232
- "defaultValue": null
7233
- },
7234
- {
7235
- "name": "currency",
7236
- "description": "For Ledger Accounts in the `multi` currency mode, you must specify the currency of the balance affected by the condition. You only need to specify this field for multi-currency accounts.",
8190
+ "name": "entryType",
8191
+ "description": "Filter by Ledger Entry type.",
7237
8192
  "type": {
7238
8193
  "kind": "INPUT_OBJECT",
7239
- "name": "CurrencyMatchInput",
8194
+ "name": "StringFilter",
7240
8195
  "ofType": null
7241
8196
  },
7242
8197
  "defaultValue": null
7243
8198
  },
7244
8199
  {
7245
- "name": "postcondition",
7246
- "description": "The conditions that must hold after the operation.",
8200
+ "name": "status",
8201
+ "description": "Filter by the status of the data migration.",
7247
8202
  "type": {
7248
- "kind": "INPUT_OBJECT",
7249
- "name": "LedgerAccountConditionInput",
8203
+ "kind": "ENUM",
8204
+ "name": "LedgerDataMigrationStatus",
7250
8205
  "ofType": null
7251
8206
  },
7252
8207
  "defaultValue": null
7253
8208
  },
7254
8209
  {
7255
- "name": "precondition",
7256
- "description": "The conditions that must hold prior to the operation.",
8210
+ "name": "typeVersion",
8211
+ "description": "Filter by Ledger Entry type version.",
7257
8212
  "type": {
7258
8213
  "kind": "INPUT_OBJECT",
7259
- "name": "LedgerAccountConditionInput",
8214
+ "name": "StringFilter",
7260
8215
  "ofType": null
7261
8216
  },
7262
8217
  "defaultValue": null
@@ -9019,6 +9974,16 @@
9019
9974
  },
9020
9975
  "defaultValue": null
9021
9976
  },
9977
+ {
9978
+ "name": "currency",
9979
+ "description": "Filter by the currency of the Ledger Line.",
9980
+ "type": {
9981
+ "kind": "INPUT_OBJECT",
9982
+ "name": "CurrencyFilter",
9983
+ "ofType": null
9984
+ },
9985
+ "defaultValue": null
9986
+ },
9022
9987
  {
9023
9988
  "name": "date",
9024
9989
  "description": "Filter by the posted date of the Ledger Line. This is identical to using `posted`, but only supports day-level granularity.",
@@ -12128,6 +13093,16 @@
12128
13093
  },
12129
13094
  "defaultValue": null
12130
13095
  },
13096
+ {
13097
+ "name": "status",
13098
+ "description": "The status of this Ledger Account. Defaults to active.",
13099
+ "type": {
13100
+ "kind": "ENUM",
13101
+ "name": "SchemaLedgerAccountStatus",
13102
+ "ofType": null
13103
+ },
13104
+ "defaultValue": null
13105
+ },
12131
13106
  {
12132
13107
  "name": "template",
12133
13108
  "description": "Whether or not this Ledger Account should be templated.",
@@ -12178,6 +13153,35 @@
12178
13153
  "enumValues": null,
12179
13154
  "possibleTypes": null
12180
13155
  },
13156
+ {
13157
+ "kind": "ENUM",
13158
+ "name": "SchemaLedgerAccountStatus",
13159
+ "description": "The status of a Ledger Account.",
13160
+ "fields": null,
13161
+ "inputFields": null,
13162
+ "interfaces": null,
13163
+ "enumValues": [
13164
+ {
13165
+ "name": "active",
13166
+ "description": "The Ledger Account is active.",
13167
+ "isDeprecated": false,
13168
+ "deprecationReason": null
13169
+ },
13170
+ {
13171
+ "name": "archived",
13172
+ "description": "The Ledger Account is archived.",
13173
+ "isDeprecated": false,
13174
+ "deprecationReason": null
13175
+ },
13176
+ {
13177
+ "name": "disabled",
13178
+ "description": "The Ledger Account is disabled.",
13179
+ "isDeprecated": false,
13180
+ "deprecationReason": null
13181
+ }
13182
+ ],
13183
+ "possibleTypes": null
13184
+ },
12181
13185
  {
12182
13186
  "kind": "INPUT_OBJECT",
12183
13187
  "name": "SchemaLedgerEntriesInput",