fragment-dev 1.3.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/fragment.schema.json +2420 -630
- data/lib/fragment_client/version.rb +1 -1
- data/lib/queries.graphql +100 -1
- metadata +7 -3
data/lib/fragment.schema.json
CHANGED
@@ -109,7 +109,7 @@
|
|
109
109
|
"fields": [
|
110
110
|
{
|
111
111
|
"name": "code",
|
112
|
-
"description": "The
|
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
|
3030
|
+
"description": "The status code of error. For example, 'ledger_not_found'.",
|
3031
3031
|
"args": [],
|
3032
3032
|
"type": {
|
3033
3033
|
"kind": "NON_NULL",
|
@@ -3571,9 +3571,47 @@
|
|
3571
3571
|
"description": "Filter for finding entries by group membership",
|
3572
3572
|
"fields": null,
|
3573
3573
|
"inputFields": [
|
3574
|
+
{
|
3575
|
+
"name": "equalTo",
|
3576
|
+
"description": "Find groups that exactly match this group",
|
3577
|
+
"type": {
|
3578
|
+
"kind": "INPUT_OBJECT",
|
3579
|
+
"name": "GroupMatchInput",
|
3580
|
+
"ofType": null
|
3581
|
+
},
|
3582
|
+
"defaultValue": null
|
3583
|
+
},
|
3584
|
+
{
|
3585
|
+
"name": "in",
|
3586
|
+
"description": "Find groups that match any of these groups",
|
3587
|
+
"type": {
|
3588
|
+
"kind": "LIST",
|
3589
|
+
"name": null,
|
3590
|
+
"ofType": {
|
3591
|
+
"kind": "NON_NULL",
|
3592
|
+
"name": null,
|
3593
|
+
"ofType": {
|
3594
|
+
"kind": "INPUT_OBJECT",
|
3595
|
+
"name": "GroupMatchInput",
|
3596
|
+
"ofType": null
|
3597
|
+
}
|
3598
|
+
}
|
3599
|
+
},
|
3600
|
+
"defaultValue": null
|
3601
|
+
},
|
3602
|
+
{
|
3603
|
+
"name": "keyEqualTo",
|
3604
|
+
"description": "Find groups with a specific key",
|
3605
|
+
"type": {
|
3606
|
+
"kind": "SCALAR",
|
3607
|
+
"name": "SafeString",
|
3608
|
+
"ofType": null
|
3609
|
+
},
|
3610
|
+
"defaultValue": null
|
3611
|
+
},
|
3574
3612
|
{
|
3575
3613
|
"name": "keyIn",
|
3576
|
-
"description": "Find
|
3614
|
+
"description": "Find groups with any of these keys",
|
3577
3615
|
"type": {
|
3578
3616
|
"kind": "LIST",
|
3579
3617
|
"name": null,
|
@@ -3590,14 +3628,99 @@
|
|
3590
3628
|
"defaultValue": null
|
3591
3629
|
},
|
3592
3630
|
{
|
3593
|
-
"name": "
|
3594
|
-
"description": "Find
|
3631
|
+
"name": "notEqualTo",
|
3632
|
+
"description": "Find groups that do not exactly match this group",
|
3595
3633
|
"type": {
|
3596
3634
|
"kind": "INPUT_OBJECT",
|
3597
|
-
"name": "
|
3635
|
+
"name": "GroupMatchInput",
|
3636
|
+
"ofType": null
|
3637
|
+
},
|
3638
|
+
"defaultValue": null
|
3639
|
+
},
|
3640
|
+
{
|
3641
|
+
"name": "notIn",
|
3642
|
+
"description": "Find groups that do not match any of these groups",
|
3643
|
+
"type": {
|
3644
|
+
"kind": "LIST",
|
3645
|
+
"name": null,
|
3646
|
+
"ofType": {
|
3647
|
+
"kind": "NON_NULL",
|
3648
|
+
"name": null,
|
3649
|
+
"ofType": {
|
3650
|
+
"kind": "INPUT_OBJECT",
|
3651
|
+
"name": "GroupMatchInput",
|
3652
|
+
"ofType": null
|
3653
|
+
}
|
3654
|
+
}
|
3655
|
+
},
|
3656
|
+
"defaultValue": null
|
3657
|
+
},
|
3658
|
+
{
|
3659
|
+
"name": "notKeyEqualTo",
|
3660
|
+
"description": "Find groups that do not have a specific key",
|
3661
|
+
"type": {
|
3662
|
+
"kind": "SCALAR",
|
3663
|
+
"name": "SafeString",
|
3598
3664
|
"ofType": null
|
3599
3665
|
},
|
3600
3666
|
"defaultValue": null
|
3667
|
+
},
|
3668
|
+
{
|
3669
|
+
"name": "notKeyIn",
|
3670
|
+
"description": "Find groups that do not have any of these keys",
|
3671
|
+
"type": {
|
3672
|
+
"kind": "LIST",
|
3673
|
+
"name": null,
|
3674
|
+
"ofType": {
|
3675
|
+
"kind": "NON_NULL",
|
3676
|
+
"name": null,
|
3677
|
+
"ofType": {
|
3678
|
+
"kind": "SCALAR",
|
3679
|
+
"name": "SafeString",
|
3680
|
+
"ofType": null
|
3681
|
+
}
|
3682
|
+
}
|
3683
|
+
},
|
3684
|
+
"defaultValue": null
|
3685
|
+
}
|
3686
|
+
],
|
3687
|
+
"interfaces": null,
|
3688
|
+
"enumValues": null,
|
3689
|
+
"possibleTypes": null
|
3690
|
+
},
|
3691
|
+
{
|
3692
|
+
"kind": "INPUT_OBJECT",
|
3693
|
+
"name": "GroupMatchInput",
|
3694
|
+
"description": "Input type for matching a specific group by key and value",
|
3695
|
+
"fields": null,
|
3696
|
+
"inputFields": [
|
3697
|
+
{
|
3698
|
+
"name": "key",
|
3699
|
+
"description": "The key of the group to match",
|
3700
|
+
"type": {
|
3701
|
+
"kind": "NON_NULL",
|
3702
|
+
"name": null,
|
3703
|
+
"ofType": {
|
3704
|
+
"kind": "SCALAR",
|
3705
|
+
"name": "SafeString",
|
3706
|
+
"ofType": null
|
3707
|
+
}
|
3708
|
+
},
|
3709
|
+
"defaultValue": null
|
3710
|
+
},
|
3711
|
+
{
|
3712
|
+
"name": "value",
|
3713
|
+
"description": "The value of the group to match",
|
3714
|
+
"type": {
|
3715
|
+
"kind": "NON_NULL",
|
3716
|
+
"name": null,
|
3717
|
+
"ofType": {
|
3718
|
+
"kind": "SCALAR",
|
3719
|
+
"name": "SafeString",
|
3720
|
+
"ofType": null
|
3721
|
+
}
|
3722
|
+
},
|
3723
|
+
"defaultValue": null
|
3601
3724
|
}
|
3602
3725
|
],
|
3603
3726
|
"interfaces": null,
|
@@ -3607,12 +3730,12 @@
|
|
3607
3730
|
{
|
3608
3731
|
"kind": "INPUT_OBJECT",
|
3609
3732
|
"name": "GroupNotFilter",
|
3610
|
-
"description": "Filter for finding entries that do not match this predicate",
|
3733
|
+
"description": "DEPRECATED: Use GroupFilter and notKeyIn or notKeyEqualTo instead. Filter for finding entries that do not match this predicate",
|
3611
3734
|
"fields": null,
|
3612
3735
|
"inputFields": [
|
3613
3736
|
{
|
3614
3737
|
"name": "keyIn",
|
3615
|
-
"description": "Find entries that are not members of all of these groups. This is an AND filter.",
|
3738
|
+
"description": "DEPRECATED: Find entries that are not members of all of these groups. This is an AND filter.",
|
3616
3739
|
"type": {
|
3617
3740
|
"kind": "LIST",
|
3618
3741
|
"name": null,
|
@@ -4130,7 +4253,7 @@
|
|
4130
4253
|
"fields": [
|
4131
4254
|
{
|
4132
4255
|
"name": "code",
|
4133
|
-
"description": "The
|
4256
|
+
"description": "The status code of error. For example, 'ledger_not_found'.",
|
4134
4257
|
"args": [],
|
4135
4258
|
"type": {
|
4136
4259
|
"kind": "NON_NULL",
|
@@ -4261,6 +4384,63 @@
|
|
4261
4384
|
"isDeprecated": false,
|
4262
4385
|
"deprecationReason": null
|
4263
4386
|
},
|
4387
|
+
{
|
4388
|
+
"name": "entryStats",
|
4389
|
+
"description": "Entry statistics for this Ledger.",
|
4390
|
+
"args": [
|
4391
|
+
{
|
4392
|
+
"name": "after",
|
4393
|
+
"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).",
|
4394
|
+
"type": {
|
4395
|
+
"kind": "SCALAR",
|
4396
|
+
"name": "String",
|
4397
|
+
"ofType": null
|
4398
|
+
},
|
4399
|
+
"defaultValue": null
|
4400
|
+
},
|
4401
|
+
{
|
4402
|
+
"name": "before",
|
4403
|
+
"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).",
|
4404
|
+
"type": {
|
4405
|
+
"kind": "SCALAR",
|
4406
|
+
"name": "String",
|
4407
|
+
"ofType": null
|
4408
|
+
},
|
4409
|
+
"defaultValue": null
|
4410
|
+
},
|
4411
|
+
{
|
4412
|
+
"name": "first",
|
4413
|
+
"description": "The number of Ledger Entry Stats to return per page, when paginating forwards. Defaults to 20, maximum is 200.",
|
4414
|
+
"type": {
|
4415
|
+
"kind": "SCALAR",
|
4416
|
+
"name": "Int",
|
4417
|
+
"ofType": null
|
4418
|
+
},
|
4419
|
+
"defaultValue": null
|
4420
|
+
},
|
4421
|
+
{
|
4422
|
+
"name": "last",
|
4423
|
+
"description": "The number of Ledger Entry Stats to return per page, when paginating backwards. Defaults to 20, maximum is 200.",
|
4424
|
+
"type": {
|
4425
|
+
"kind": "SCALAR",
|
4426
|
+
"name": "Int",
|
4427
|
+
"ofType": null
|
4428
|
+
},
|
4429
|
+
"defaultValue": null
|
4430
|
+
}
|
4431
|
+
],
|
4432
|
+
"type": {
|
4433
|
+
"kind": "NON_NULL",
|
4434
|
+
"name": null,
|
4435
|
+
"ofType": {
|
4436
|
+
"kind": "OBJECT",
|
4437
|
+
"name": "LedgerEntryStatsConnection",
|
4438
|
+
"ofType": null
|
4439
|
+
}
|
4440
|
+
},
|
4441
|
+
"isDeprecated": false,
|
4442
|
+
"deprecationReason": null
|
4443
|
+
},
|
4264
4444
|
{
|
4265
4445
|
"name": "id",
|
4266
4446
|
"description": null,
|
@@ -4294,8 +4474,8 @@
|
|
4294
4474
|
"deprecationReason": null
|
4295
4475
|
},
|
4296
4476
|
{
|
4297
|
-
"name": "
|
4298
|
-
"description": "
|
4477
|
+
"name": "ledgerAccountDataMigrations",
|
4478
|
+
"description": "**EXPERIMENTAL**: Ledger Account data migrations affecting this Ledger.",
|
4299
4479
|
"args": [
|
4300
4480
|
{
|
4301
4481
|
"name": "after",
|
@@ -4319,17 +4499,17 @@
|
|
4319
4499
|
},
|
4320
4500
|
{
|
4321
4501
|
"name": "filter",
|
4322
|
-
"description": "Filter the
|
4502
|
+
"description": "Filter the list of Ledger Account data migrations returned.",
|
4323
4503
|
"type": {
|
4324
4504
|
"kind": "INPUT_OBJECT",
|
4325
|
-
"name": "
|
4505
|
+
"name": "LedgerAccountDataMigrationsFilterSet",
|
4326
4506
|
"ofType": null
|
4327
4507
|
},
|
4328
4508
|
"defaultValue": null
|
4329
4509
|
},
|
4330
4510
|
{
|
4331
4511
|
"name": "first",
|
4332
|
-
"description": "The number of Ledger
|
4512
|
+
"description": "The number of Ledger Account Data Migrations to return per page, when paginating forwards. Defaults to 20, maximum is 200.",
|
4333
4513
|
"type": {
|
4334
4514
|
"kind": "SCALAR",
|
4335
4515
|
"name": "Int",
|
@@ -4339,7 +4519,7 @@
|
|
4339
4519
|
},
|
4340
4520
|
{
|
4341
4521
|
"name": "last",
|
4342
|
-
"description": "The number of Ledger
|
4522
|
+
"description": "The number of Ledger Account Data Migrations to return per page, when paginating backwards. Defaults to 20, maximum is 200.",
|
4343
4523
|
"type": {
|
4344
4524
|
"kind": "SCALAR",
|
4345
4525
|
"name": "Int",
|
@@ -4353,7 +4533,7 @@
|
|
4353
4533
|
"name": null,
|
4354
4534
|
"ofType": {
|
4355
4535
|
"kind": "OBJECT",
|
4356
|
-
"name": "
|
4536
|
+
"name": "LedgerAccountDataMigrationConnection",
|
4357
4537
|
"ofType": null
|
4358
4538
|
}
|
4359
4539
|
},
|
@@ -4361,8 +4541,8 @@
|
|
4361
4541
|
"deprecationReason": null
|
4362
4542
|
},
|
4363
4543
|
{
|
4364
|
-
"name": "
|
4365
|
-
"description": "Query
|
4544
|
+
"name": "ledgerAccounts",
|
4545
|
+
"description": "Query LedgerAccounts in Ledger. Ledger Accounts are paginated and returned in reverse-chronological order by their created date.",
|
4366
4546
|
"args": [
|
4367
4547
|
{
|
4368
4548
|
"name": "after",
|
@@ -4386,17 +4566,17 @@
|
|
4386
4566
|
},
|
4387
4567
|
{
|
4388
4568
|
"name": "filter",
|
4389
|
-
"description": "Filter the Ledger
|
4569
|
+
"description": "Filter the Ledger Accounts returned. Learn more about [querying Ledger Accounts](https://fragment.dev/docs/query-data/ledger-accounts).",
|
4390
4570
|
"type": {
|
4391
4571
|
"kind": "INPUT_OBJECT",
|
4392
|
-
"name": "
|
4572
|
+
"name": "LedgerAccountsFilterSet",
|
4393
4573
|
"ofType": null
|
4394
4574
|
},
|
4395
4575
|
"defaultValue": null
|
4396
4576
|
},
|
4397
4577
|
{
|
4398
4578
|
"name": "first",
|
4399
|
-
"description": "The number of Ledger
|
4579
|
+
"description": "The number of Ledger Accounts to return per page, when paginating forwards. Defaults to 20, maximum is 200.",
|
4400
4580
|
"type": {
|
4401
4581
|
"kind": "SCALAR",
|
4402
4582
|
"name": "Int",
|
@@ -4406,7 +4586,7 @@
|
|
4406
4586
|
},
|
4407
4587
|
{
|
4408
4588
|
"name": "last",
|
4409
|
-
"description": "The number of Ledger
|
4589
|
+
"description": "The number of Ledger Accounts to return per page, when paginating backwards. Defaults to 20, maximum is 200.",
|
4410
4590
|
"type": {
|
4411
4591
|
"kind": "SCALAR",
|
4412
4592
|
"name": "Int",
|
@@ -4420,38 +4600,7 @@
|
|
4420
4600
|
"name": null,
|
4421
4601
|
"ofType": {
|
4422
4602
|
"kind": "OBJECT",
|
4423
|
-
"name": "
|
4424
|
-
"ofType": null
|
4425
|
-
}
|
4426
|
-
},
|
4427
|
-
"isDeprecated": false,
|
4428
|
-
"deprecationReason": null
|
4429
|
-
},
|
4430
|
-
{
|
4431
|
-
"name": "ledgerEntryGroup",
|
4432
|
-
"description": "Query a Ledger Entry Group for this Ledger given its key and value.",
|
4433
|
-
"args": [
|
4434
|
-
{
|
4435
|
-
"name": "ledgerEntryGroup",
|
4436
|
-
"description": null,
|
4437
|
-
"type": {
|
4438
|
-
"kind": "NON_NULL",
|
4439
|
-
"name": null,
|
4440
|
-
"ofType": {
|
4441
|
-
"kind": "INPUT_OBJECT",
|
4442
|
-
"name": "EntryGroupMatchInput",
|
4443
|
-
"ofType": null
|
4444
|
-
}
|
4445
|
-
},
|
4446
|
-
"defaultValue": null
|
4447
|
-
}
|
4448
|
-
],
|
4449
|
-
"type": {
|
4450
|
-
"kind": "NON_NULL",
|
4451
|
-
"name": null,
|
4452
|
-
"ofType": {
|
4453
|
-
"kind": "OBJECT",
|
4454
|
-
"name": "LedgerEntryGroup",
|
4603
|
+
"name": "LedgerAccountsConnection",
|
4455
4604
|
"ofType": null
|
4456
4605
|
}
|
4457
4606
|
},
|
@@ -4459,8 +4608,8 @@
|
|
4459
4608
|
"deprecationReason": null
|
4460
4609
|
},
|
4461
4610
|
{
|
4462
|
-
"name": "
|
4463
|
-
"description": "Query
|
4611
|
+
"name": "ledgerEntries",
|
4612
|
+
"description": "Query Ledger Entries in a Ledger. Ledger Entries are paginated and sorted in reverse-chronological order by posted date.",
|
4464
4613
|
"args": [
|
4465
4614
|
{
|
4466
4615
|
"name": "after",
|
@@ -4484,17 +4633,17 @@
|
|
4484
4633
|
},
|
4485
4634
|
{
|
4486
4635
|
"name": "filter",
|
4487
|
-
"description": "Filter the Ledger
|
4636
|
+
"description": "Filter the Ledger Entries returned. Learn more about [querying Ledger Entries](https://fragment.dev/docs/query-data#ledger-entries).",
|
4488
4637
|
"type": {
|
4489
4638
|
"kind": "INPUT_OBJECT",
|
4490
|
-
"name": "
|
4639
|
+
"name": "LedgerEntriesFilterSet",
|
4491
4640
|
"ofType": null
|
4492
4641
|
},
|
4493
4642
|
"defaultValue": null
|
4494
4643
|
},
|
4495
4644
|
{
|
4496
4645
|
"name": "first",
|
4497
|
-
"description": "The number of Ledger
|
4646
|
+
"description": "The number of Ledger Entries to return per page, when paginating forwards. Defaults to 20, maximum is 200.",
|
4498
4647
|
"type": {
|
4499
4648
|
"kind": "SCALAR",
|
4500
4649
|
"name": "Int",
|
@@ -4504,7 +4653,7 @@
|
|
4504
4653
|
},
|
4505
4654
|
{
|
4506
4655
|
"name": "last",
|
4507
|
-
"description": "The number of Ledger
|
4656
|
+
"description": "The number of Ledger Entries to return per page, when paginating backwards. Defaults to 20, maximum is 200.",
|
4508
4657
|
"type": {
|
4509
4658
|
"kind": "SCALAR",
|
4510
4659
|
"name": "Int",
|
@@ -4518,7 +4667,7 @@
|
|
4518
4667
|
"name": null,
|
4519
4668
|
"ofType": {
|
4520
4669
|
"kind": "OBJECT",
|
4521
|
-
"name": "
|
4670
|
+
"name": "LedgerEntriesConnection",
|
4522
4671
|
"ofType": null
|
4523
4672
|
}
|
4524
4673
|
},
|
@@ -4526,8 +4675,8 @@
|
|
4526
4675
|
"deprecationReason": null
|
4527
4676
|
},
|
4528
4677
|
{
|
4529
|
-
"name": "
|
4530
|
-
"description": "
|
4678
|
+
"name": "ledgerEntryDataMigrations",
|
4679
|
+
"description": "**EXPERIMENTAL**: Ledger Entry data migrations affecting this Ledger.",
|
4531
4680
|
"args": [
|
4532
4681
|
{
|
4533
4682
|
"name": "after",
|
@@ -4549,9 +4698,19 @@
|
|
4549
4698
|
},
|
4550
4699
|
"defaultValue": null
|
4551
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
|
+
},
|
4552
4711
|
{
|
4553
4712
|
"name": "first",
|
4554
|
-
"description": "The number of Ledger Migrations to return per page, when paginating forwards. Defaults to 20, maximum is 200.",
|
4713
|
+
"description": "The number of Ledger Entry Data Migrations to return per page, when paginating forwards. Defaults to 20, maximum is 200.",
|
4555
4714
|
"type": {
|
4556
4715
|
"kind": "SCALAR",
|
4557
4716
|
"name": "Int",
|
@@ -4561,7 +4720,7 @@
|
|
4561
4720
|
},
|
4562
4721
|
{
|
4563
4722
|
"name": "last",
|
4564
|
-
"description": "The number of Ledger Migrations to return per page, when paginating backwards. Defaults to 20, maximum is 200.",
|
4723
|
+
"description": "The number of Ledger Entry Data Migrations to return per page, when paginating backwards. Defaults to 20, maximum is 200.",
|
4565
4724
|
"type": {
|
4566
4725
|
"kind": "SCALAR",
|
4567
4726
|
"name": "Int",
|
@@ -4575,23 +4734,7 @@
|
|
4575
4734
|
"name": null,
|
4576
4735
|
"ofType": {
|
4577
4736
|
"kind": "OBJECT",
|
4578
|
-
"name": "
|
4579
|
-
"ofType": null
|
4580
|
-
}
|
4581
|
-
},
|
4582
|
-
"isDeprecated": false,
|
4583
|
-
"deprecationReason": null
|
4584
|
-
},
|
4585
|
-
{
|
4586
|
-
"name": "name",
|
4587
|
-
"description": "The name of the Ledger. Can be updated with the [updateLedger](/api-reference/api-mutations#updateledger) mutation.",
|
4588
|
-
"args": [],
|
4589
|
-
"type": {
|
4590
|
-
"kind": "NON_NULL",
|
4591
|
-
"name": null,
|
4592
|
-
"ofType": {
|
4593
|
-
"kind": "SCALAR",
|
4594
|
-
"name": "String",
|
4737
|
+
"name": "LedgerEntryDataMigrationConnection",
|
4595
4738
|
"ofType": null
|
4596
4739
|
}
|
4597
4740
|
},
|
@@ -4599,7 +4742,178 @@
|
|
4599
4742
|
"deprecationReason": null
|
4600
4743
|
},
|
4601
4744
|
{
|
4602
|
-
"name": "
|
4745
|
+
"name": "ledgerEntryGroup",
|
4746
|
+
"description": "Query a Ledger Entry Group for this Ledger given its key and value.",
|
4747
|
+
"args": [
|
4748
|
+
{
|
4749
|
+
"name": "ledgerEntryGroup",
|
4750
|
+
"description": null,
|
4751
|
+
"type": {
|
4752
|
+
"kind": "NON_NULL",
|
4753
|
+
"name": null,
|
4754
|
+
"ofType": {
|
4755
|
+
"kind": "INPUT_OBJECT",
|
4756
|
+
"name": "EntryGroupMatchInput",
|
4757
|
+
"ofType": null
|
4758
|
+
}
|
4759
|
+
},
|
4760
|
+
"defaultValue": null
|
4761
|
+
}
|
4762
|
+
],
|
4763
|
+
"type": {
|
4764
|
+
"kind": "NON_NULL",
|
4765
|
+
"name": null,
|
4766
|
+
"ofType": {
|
4767
|
+
"kind": "OBJECT",
|
4768
|
+
"name": "LedgerEntryGroup",
|
4769
|
+
"ofType": null
|
4770
|
+
}
|
4771
|
+
},
|
4772
|
+
"isDeprecated": false,
|
4773
|
+
"deprecationReason": null
|
4774
|
+
},
|
4775
|
+
{
|
4776
|
+
"name": "ledgerEntryGroups",
|
4777
|
+
"description": "Query LedgerEntryGroups in Ledger. Ledger Entry Groups are paginated and returned in order lexigraphically key then inverse chronologically by created.",
|
4778
|
+
"args": [
|
4779
|
+
{
|
4780
|
+
"name": "after",
|
4781
|
+
"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).",
|
4782
|
+
"type": {
|
4783
|
+
"kind": "SCALAR",
|
4784
|
+
"name": "String",
|
4785
|
+
"ofType": null
|
4786
|
+
},
|
4787
|
+
"defaultValue": null
|
4788
|
+
},
|
4789
|
+
{
|
4790
|
+
"name": "before",
|
4791
|
+
"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).",
|
4792
|
+
"type": {
|
4793
|
+
"kind": "SCALAR",
|
4794
|
+
"name": "String",
|
4795
|
+
"ofType": null
|
4796
|
+
},
|
4797
|
+
"defaultValue": null
|
4798
|
+
},
|
4799
|
+
{
|
4800
|
+
"name": "filter",
|
4801
|
+
"description": "Filter the Ledger Entry Groups returned.",
|
4802
|
+
"type": {
|
4803
|
+
"kind": "INPUT_OBJECT",
|
4804
|
+
"name": "LedgerEntryGroupsFilterSet",
|
4805
|
+
"ofType": null
|
4806
|
+
},
|
4807
|
+
"defaultValue": null
|
4808
|
+
},
|
4809
|
+
{
|
4810
|
+
"name": "first",
|
4811
|
+
"description": "The number of Ledger Entry Groups to return per page, when paginating forwards. Defaults to 20, maximum is 200.",
|
4812
|
+
"type": {
|
4813
|
+
"kind": "SCALAR",
|
4814
|
+
"name": "Int",
|
4815
|
+
"ofType": null
|
4816
|
+
},
|
4817
|
+
"defaultValue": null
|
4818
|
+
},
|
4819
|
+
{
|
4820
|
+
"name": "last",
|
4821
|
+
"description": "The number of Ledger Entry Groups to return per page, when paginating backwards. Defaults to 20, maximum is 200.",
|
4822
|
+
"type": {
|
4823
|
+
"kind": "SCALAR",
|
4824
|
+
"name": "Int",
|
4825
|
+
"ofType": null
|
4826
|
+
},
|
4827
|
+
"defaultValue": null
|
4828
|
+
}
|
4829
|
+
],
|
4830
|
+
"type": {
|
4831
|
+
"kind": "NON_NULL",
|
4832
|
+
"name": null,
|
4833
|
+
"ofType": {
|
4834
|
+
"kind": "OBJECT",
|
4835
|
+
"name": "LedgerEntryGroupsConnection",
|
4836
|
+
"ofType": null
|
4837
|
+
}
|
4838
|
+
},
|
4839
|
+
"isDeprecated": false,
|
4840
|
+
"deprecationReason": null
|
4841
|
+
},
|
4842
|
+
{
|
4843
|
+
"name": "migrations",
|
4844
|
+
"description": "Schema migrations affecting this Ledger.",
|
4845
|
+
"args": [
|
4846
|
+
{
|
4847
|
+
"name": "after",
|
4848
|
+
"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).",
|
4849
|
+
"type": {
|
4850
|
+
"kind": "SCALAR",
|
4851
|
+
"name": "String",
|
4852
|
+
"ofType": null
|
4853
|
+
},
|
4854
|
+
"defaultValue": null
|
4855
|
+
},
|
4856
|
+
{
|
4857
|
+
"name": "before",
|
4858
|
+
"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).",
|
4859
|
+
"type": {
|
4860
|
+
"kind": "SCALAR",
|
4861
|
+
"name": "String",
|
4862
|
+
"ofType": null
|
4863
|
+
},
|
4864
|
+
"defaultValue": null
|
4865
|
+
},
|
4866
|
+
{
|
4867
|
+
"name": "first",
|
4868
|
+
"description": "The number of Ledger Migrations to return per page, when paginating forwards. Defaults to 20, maximum is 200.",
|
4869
|
+
"type": {
|
4870
|
+
"kind": "SCALAR",
|
4871
|
+
"name": "Int",
|
4872
|
+
"ofType": null
|
4873
|
+
},
|
4874
|
+
"defaultValue": null
|
4875
|
+
},
|
4876
|
+
{
|
4877
|
+
"name": "last",
|
4878
|
+
"description": "The number of Ledger Migrations to return per page, when paginating backwards. Defaults to 20, maximum is 200.",
|
4879
|
+
"type": {
|
4880
|
+
"kind": "SCALAR",
|
4881
|
+
"name": "Int",
|
4882
|
+
"ofType": null
|
4883
|
+
},
|
4884
|
+
"defaultValue": null
|
4885
|
+
}
|
4886
|
+
],
|
4887
|
+
"type": {
|
4888
|
+
"kind": "NON_NULL",
|
4889
|
+
"name": null,
|
4890
|
+
"ofType": {
|
4891
|
+
"kind": "OBJECT",
|
4892
|
+
"name": "LedgerMigrationConnection",
|
4893
|
+
"ofType": null
|
4894
|
+
}
|
4895
|
+
},
|
4896
|
+
"isDeprecated": false,
|
4897
|
+
"deprecationReason": null
|
4898
|
+
},
|
4899
|
+
{
|
4900
|
+
"name": "name",
|
4901
|
+
"description": "The name of the Ledger. Can be updated with the [updateLedger](/api-reference/api-mutations#updateledger) mutation.",
|
4902
|
+
"args": [],
|
4903
|
+
"type": {
|
4904
|
+
"kind": "NON_NULL",
|
4905
|
+
"name": null,
|
4906
|
+
"ofType": {
|
4907
|
+
"kind": "SCALAR",
|
4908
|
+
"name": "String",
|
4909
|
+
"ofType": null
|
4910
|
+
}
|
4911
|
+
},
|
4912
|
+
"isDeprecated": false,
|
4913
|
+
"deprecationReason": null
|
4914
|
+
},
|
4915
|
+
{
|
4916
|
+
"name": "schema",
|
4603
4917
|
"description": "Schema key associated with this Ledger.",
|
4604
4918
|
"args": [],
|
4605
4919
|
"type": {
|
@@ -6071,53 +6385,14 @@
|
|
6071
6385
|
"possibleTypes": null
|
6072
6386
|
},
|
6073
6387
|
{
|
6074
|
-
"kind": "
|
6075
|
-
"name": "
|
6076
|
-
"description":
|
6077
|
-
"fields":
|
6078
|
-
"inputFields": [
|
6079
|
-
{
|
6080
|
-
"name": "equalTo",
|
6081
|
-
"description": "Result must match the specified Ledger Account",
|
6082
|
-
"type": {
|
6083
|
-
"kind": "INPUT_OBJECT",
|
6084
|
-
"name": "LedgerAccountMatchInput",
|
6085
|
-
"ofType": null
|
6086
|
-
},
|
6087
|
-
"defaultValue": null
|
6088
|
-
},
|
6089
|
-
{
|
6090
|
-
"name": "in",
|
6091
|
-
"description": "Results can match any of specified Ledger Accounts",
|
6092
|
-
"type": {
|
6093
|
-
"kind": "LIST",
|
6094
|
-
"name": null,
|
6095
|
-
"ofType": {
|
6096
|
-
"kind": "NON_NULL",
|
6097
|
-
"name": null,
|
6098
|
-
"ofType": {
|
6099
|
-
"kind": "INPUT_OBJECT",
|
6100
|
-
"name": "LedgerAccountMatchInput",
|
6101
|
-
"ofType": null
|
6102
|
-
}
|
6103
|
-
}
|
6104
|
-
},
|
6105
|
-
"defaultValue": null
|
6106
|
-
}
|
6107
|
-
],
|
6108
|
-
"interfaces": null,
|
6109
|
-
"enumValues": null,
|
6110
|
-
"possibleTypes": null
|
6111
|
-
},
|
6112
|
-
{
|
6113
|
-
"kind": "INPUT_OBJECT",
|
6114
|
-
"name": "LedgerAccountGroupConsistencyConfigInput",
|
6115
|
-
"description": "The consistency configuration for a specific Ledger Entry Group in this account.",
|
6116
|
-
"fields": null,
|
6117
|
-
"inputFields": [
|
6388
|
+
"kind": "OBJECT",
|
6389
|
+
"name": "LedgerAccountDataMigration",
|
6390
|
+
"description": "Represents a data migration for a specific Ledger Account in a Ledger.",
|
6391
|
+
"fields": [
|
6118
6392
|
{
|
6119
|
-
"name": "
|
6120
|
-
"description": "The
|
6393
|
+
"name": "accountPath",
|
6394
|
+
"description": "The path of the Ledger Account being migrated.",
|
6395
|
+
"args": [],
|
6121
6396
|
"type": {
|
6122
6397
|
"kind": "NON_NULL",
|
6123
6398
|
"name": null,
|
@@ -6127,146 +6402,167 @@
|
|
6127
6402
|
"ofType": null
|
6128
6403
|
}
|
6129
6404
|
},
|
6130
|
-
"
|
6405
|
+
"isDeprecated": false,
|
6406
|
+
"deprecationReason": null
|
6131
6407
|
},
|
6132
6408
|
{
|
6133
|
-
"name": "
|
6134
|
-
"description": "
|
6135
|
-
"
|
6136
|
-
"kind": "NON_NULL",
|
6137
|
-
"name": null,
|
6138
|
-
"ofType": {
|
6139
|
-
"kind": "ENUM",
|
6140
|
-
"name": "BalanceUpdateConsistencyMode",
|
6141
|
-
"ofType": null
|
6142
|
-
}
|
6143
|
-
},
|
6144
|
-
"defaultValue": null
|
6145
|
-
}
|
6146
|
-
],
|
6147
|
-
"interfaces": null,
|
6148
|
-
"enumValues": null,
|
6149
|
-
"possibleTypes": null
|
6150
|
-
},
|
6151
|
-
{
|
6152
|
-
"kind": "INPUT_OBJECT",
|
6153
|
-
"name": "LedgerAccountMatchInput",
|
6154
|
-
"description": "Specify a Ledger Account by using `id` or `path`.\n\nWhen specifying a Ledger Account by `path`, you must provide `ledger`.",
|
6155
|
-
"fields": null,
|
6156
|
-
"inputFields": [
|
6157
|
-
{
|
6158
|
-
"name": "id",
|
6159
|
-
"description": "The FRAGMENT ID of the Ledger Account",
|
6409
|
+
"name": "currentMigration",
|
6410
|
+
"description": "Current active migration info (null if migration is inactive).",
|
6411
|
+
"args": [],
|
6160
6412
|
"type": {
|
6161
|
-
"kind": "
|
6162
|
-
"name": "
|
6413
|
+
"kind": "OBJECT",
|
6414
|
+
"name": "LedgerDataMigrationHistoryEntry",
|
6163
6415
|
"ofType": null
|
6164
6416
|
},
|
6165
|
-
"
|
6417
|
+
"isDeprecated": false,
|
6418
|
+
"deprecationReason": null
|
6166
6419
|
},
|
6167
6420
|
{
|
6168
|
-
"name": "
|
6169
|
-
"description": "The
|
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
|
+
],
|
6170
6465
|
"type": {
|
6171
|
-
"kind": "
|
6172
|
-
"name":
|
6173
|
-
"ofType":
|
6466
|
+
"kind": "NON_NULL",
|
6467
|
+
"name": null,
|
6468
|
+
"ofType": {
|
6469
|
+
"kind": "OBJECT",
|
6470
|
+
"name": "LedgerDataMigrationHistoryConnection",
|
6471
|
+
"ofType": null
|
6472
|
+
}
|
6174
6473
|
},
|
6175
|
-
"
|
6474
|
+
"isDeprecated": false,
|
6475
|
+
"deprecationReason": null
|
6176
6476
|
},
|
6177
6477
|
{
|
6178
|
-
"name": "
|
6179
|
-
"description": "The
|
6180
|
-
"
|
6181
|
-
|
6182
|
-
|
6183
|
-
|
6184
|
-
|
6185
|
-
|
6186
|
-
|
6187
|
-
|
6188
|
-
|
6189
|
-
|
6190
|
-
|
6191
|
-
|
6192
|
-
|
6193
|
-
|
6194
|
-
|
6195
|
-
|
6196
|
-
|
6197
|
-
|
6198
|
-
|
6199
|
-
|
6200
|
-
|
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
|
+
],
|
6201
6522
|
"type": {
|
6202
|
-
"kind": "
|
6203
|
-
"name":
|
6204
|
-
"ofType":
|
6523
|
+
"kind": "NON_NULL",
|
6524
|
+
"name": null,
|
6525
|
+
"ofType": {
|
6526
|
+
"kind": "OBJECT",
|
6527
|
+
"name": "LedgerEntriesConnection",
|
6528
|
+
"ofType": null
|
6529
|
+
}
|
6205
6530
|
},
|
6206
|
-
"
|
6531
|
+
"isDeprecated": false,
|
6532
|
+
"deprecationReason": null
|
6207
6533
|
},
|
6208
6534
|
{
|
6209
|
-
"name": "
|
6210
|
-
"description": "
|
6535
|
+
"name": "status",
|
6536
|
+
"description": "The status of the data migration.",
|
6537
|
+
"args": [],
|
6211
6538
|
"type": {
|
6212
|
-
"kind": "
|
6539
|
+
"kind": "NON_NULL",
|
6213
6540
|
"name": null,
|
6214
6541
|
"ofType": {
|
6215
|
-
"kind": "
|
6216
|
-
"name":
|
6217
|
-
"ofType":
|
6218
|
-
"kind": "ENUM",
|
6219
|
-
"name": "LedgerAccountTypes",
|
6220
|
-
"ofType": null
|
6221
|
-
}
|
6542
|
+
"kind": "ENUM",
|
6543
|
+
"name": "LedgerDataMigrationStatus",
|
6544
|
+
"ofType": null
|
6222
6545
|
}
|
6223
6546
|
},
|
6224
|
-
"
|
6547
|
+
"isDeprecated": false,
|
6548
|
+
"deprecationReason": null
|
6225
6549
|
}
|
6226
6550
|
],
|
6227
|
-
"interfaces": null,
|
6228
|
-
"enumValues": null,
|
6229
|
-
"possibleTypes": null
|
6230
|
-
},
|
6231
|
-
{
|
6232
|
-
"kind": "ENUM",
|
6233
|
-
"name": "LedgerAccountTypes",
|
6234
|
-
"description": null,
|
6235
|
-
"fields": null,
|
6236
6551
|
"inputFields": null,
|
6237
|
-
"interfaces":
|
6238
|
-
"enumValues": [
|
6239
|
-
{
|
6240
|
-
"name": "asset",
|
6241
|
-
"description": null,
|
6242
|
-
"isDeprecated": false,
|
6243
|
-
"deprecationReason": null
|
6244
|
-
},
|
6245
|
-
{
|
6246
|
-
"name": "expense",
|
6247
|
-
"description": null,
|
6248
|
-
"isDeprecated": false,
|
6249
|
-
"deprecationReason": null
|
6250
|
-
},
|
6251
|
-
{
|
6252
|
-
"name": "income",
|
6253
|
-
"description": null,
|
6254
|
-
"isDeprecated": false,
|
6255
|
-
"deprecationReason": null
|
6256
|
-
},
|
6552
|
+
"interfaces": [
|
6257
6553
|
{
|
6258
|
-
"
|
6259
|
-
"
|
6260
|
-
"
|
6261
|
-
"deprecationReason": null
|
6554
|
+
"kind": "INTERFACE",
|
6555
|
+
"name": "LedgerDataMigration",
|
6556
|
+
"ofType": null
|
6262
6557
|
}
|
6263
6558
|
],
|
6559
|
+
"enumValues": null,
|
6264
6560
|
"possibleTypes": null
|
6265
6561
|
},
|
6266
6562
|
{
|
6267
6563
|
"kind": "OBJECT",
|
6268
|
-
"name": "
|
6269
|
-
"description":
|
6564
|
+
"name": "LedgerAccountDataMigrationConnection",
|
6565
|
+
"description": null,
|
6270
6566
|
"fields": [
|
6271
6567
|
{
|
6272
6568
|
"name": "nodes",
|
@@ -6283,7 +6579,7 @@
|
|
6283
6579
|
"name": null,
|
6284
6580
|
"ofType": {
|
6285
6581
|
"kind": "OBJECT",
|
6286
|
-
"name": "
|
6582
|
+
"name": "LedgerAccountDataMigration",
|
6287
6583
|
"ofType": null
|
6288
6584
|
}
|
6289
6585
|
}
|
@@ -6294,7 +6590,7 @@
|
|
6294
6590
|
},
|
6295
6591
|
{
|
6296
6592
|
"name": "pageInfo",
|
6297
|
-
"description": "
|
6593
|
+
"description": "Pagination info for this list.",
|
6298
6594
|
"args": [],
|
6299
6595
|
"type": {
|
6300
6596
|
"kind": "NON_NULL",
|
@@ -6316,89 +6612,232 @@
|
|
6316
6612
|
},
|
6317
6613
|
{
|
6318
6614
|
"kind": "INPUT_OBJECT",
|
6319
|
-
"name": "
|
6615
|
+
"name": "LedgerAccountDataMigrationsFilterSet",
|
6320
6616
|
"description": null,
|
6321
6617
|
"fields": null,
|
6322
6618
|
"inputFields": [
|
6323
6619
|
{
|
6324
|
-
"name": "
|
6325
|
-
"description": "
|
6326
|
-
"type": {
|
6327
|
-
"kind": "SCALAR",
|
6328
|
-
"name": "Boolean",
|
6329
|
-
"ofType": null
|
6330
|
-
},
|
6331
|
-
"defaultValue": null
|
6332
|
-
},
|
6333
|
-
{
|
6334
|
-
"name": "isLinkedAccount",
|
6335
|
-
"description": "Use this to filter Ledger Accounts by their linked status",
|
6620
|
+
"name": "accountPath",
|
6621
|
+
"description": "Filter by Ledger Account path.",
|
6336
6622
|
"type": {
|
6337
6623
|
"kind": "SCALAR",
|
6338
|
-
"name": "
|
6624
|
+
"name": "SafeString",
|
6339
6625
|
"ofType": null
|
6340
6626
|
},
|
6341
6627
|
"defaultValue": null
|
6342
6628
|
},
|
6343
6629
|
{
|
6344
|
-
"name": "
|
6345
|
-
"description": "
|
6630
|
+
"name": "status",
|
6631
|
+
"description": "Filter by the status of the data migration.",
|
6346
6632
|
"type": {
|
6347
|
-
"kind": "
|
6348
|
-
"name": "
|
6633
|
+
"kind": "ENUM",
|
6634
|
+
"name": "LedgerDataMigrationStatus",
|
6349
6635
|
"ofType": null
|
6350
6636
|
},
|
6351
6637
|
"defaultValue": null
|
6352
|
-
}
|
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": [
|
6353
6650
|
{
|
6354
|
-
"name": "
|
6355
|
-
"description": "
|
6651
|
+
"name": "equalTo",
|
6652
|
+
"description": "Result must match the specified Ledger Account",
|
6356
6653
|
"type": {
|
6357
6654
|
"kind": "INPUT_OBJECT",
|
6358
|
-
"name": "
|
6655
|
+
"name": "LedgerAccountMatchInput",
|
6359
6656
|
"ofType": null
|
6360
6657
|
},
|
6361
6658
|
"defaultValue": null
|
6362
6659
|
},
|
6363
6660
|
{
|
6364
|
-
"name": "
|
6365
|
-
"description": "
|
6661
|
+
"name": "in",
|
6662
|
+
"description": "Results can match any of specified Ledger Accounts",
|
6366
6663
|
"type": {
|
6367
|
-
"kind": "
|
6368
|
-
"name":
|
6369
|
-
"ofType":
|
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
|
+
}
|
6370
6675
|
},
|
6371
6676
|
"defaultValue": null
|
6372
|
-
}
|
6373
|
-
|
6374
|
-
|
6375
|
-
|
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.",
|
6376
6692
|
"type": {
|
6377
|
-
"kind": "
|
6378
|
-
"name":
|
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",
|
6379
6734
|
"ofType": null
|
6380
6735
|
},
|
6381
6736
|
"defaultValue": null
|
6382
6737
|
},
|
6383
6738
|
{
|
6384
|
-
"name": "
|
6385
|
-
"description": "
|
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`.",
|
6386
6741
|
"type": {
|
6387
6742
|
"kind": "INPUT_OBJECT",
|
6388
|
-
"name": "
|
6743
|
+
"name": "LedgerMatchInput",
|
6744
|
+
"ofType": null
|
6745
|
+
},
|
6746
|
+
"defaultValue": null
|
6747
|
+
},
|
6748
|
+
{
|
6749
|
+
"name": "path",
|
6750
|
+
"description": "The unique path of the Ledger Account.\nThis is a slash-delimited string containing the keys of an account and all its direct ancestors.",
|
6751
|
+
"type": {
|
6752
|
+
"kind": "SCALAR",
|
6753
|
+
"name": "String",
|
6754
|
+
"ofType": null
|
6755
|
+
},
|
6756
|
+
"defaultValue": null
|
6757
|
+
}
|
6758
|
+
],
|
6759
|
+
"interfaces": null,
|
6760
|
+
"enumValues": null,
|
6761
|
+
"possibleTypes": null
|
6762
|
+
},
|
6763
|
+
{
|
6764
|
+
"kind": "INPUT_OBJECT",
|
6765
|
+
"name": "LedgerAccountTypeFilter",
|
6766
|
+
"description": null,
|
6767
|
+
"fields": null,
|
6768
|
+
"inputFields": [
|
6769
|
+
{
|
6770
|
+
"name": "equalTo",
|
6771
|
+
"description": "Results must be of the specified Ledger Account type",
|
6772
|
+
"type": {
|
6773
|
+
"kind": "ENUM",
|
6774
|
+
"name": "LedgerAccountTypes",
|
6389
6775
|
"ofType": null
|
6390
6776
|
},
|
6391
6777
|
"defaultValue": null
|
6778
|
+
},
|
6779
|
+
{
|
6780
|
+
"name": "in",
|
6781
|
+
"description": "Results can have any of the specified Ledger Account types",
|
6782
|
+
"type": {
|
6783
|
+
"kind": "LIST",
|
6784
|
+
"name": null,
|
6785
|
+
"ofType": {
|
6786
|
+
"kind": "NON_NULL",
|
6787
|
+
"name": null,
|
6788
|
+
"ofType": {
|
6789
|
+
"kind": "ENUM",
|
6790
|
+
"name": "LedgerAccountTypes",
|
6791
|
+
"ofType": null
|
6792
|
+
}
|
6793
|
+
}
|
6794
|
+
},
|
6795
|
+
"defaultValue": null
|
6392
6796
|
}
|
6393
6797
|
],
|
6394
6798
|
"interfaces": null,
|
6395
6799
|
"enumValues": null,
|
6396
6800
|
"possibleTypes": null
|
6397
6801
|
},
|
6802
|
+
{
|
6803
|
+
"kind": "ENUM",
|
6804
|
+
"name": "LedgerAccountTypes",
|
6805
|
+
"description": null,
|
6806
|
+
"fields": null,
|
6807
|
+
"inputFields": null,
|
6808
|
+
"interfaces": null,
|
6809
|
+
"enumValues": [
|
6810
|
+
{
|
6811
|
+
"name": "asset",
|
6812
|
+
"description": null,
|
6813
|
+
"isDeprecated": false,
|
6814
|
+
"deprecationReason": null
|
6815
|
+
},
|
6816
|
+
{
|
6817
|
+
"name": "expense",
|
6818
|
+
"description": null,
|
6819
|
+
"isDeprecated": false,
|
6820
|
+
"deprecationReason": null
|
6821
|
+
},
|
6822
|
+
{
|
6823
|
+
"name": "income",
|
6824
|
+
"description": null,
|
6825
|
+
"isDeprecated": false,
|
6826
|
+
"deprecationReason": null
|
6827
|
+
},
|
6828
|
+
{
|
6829
|
+
"name": "liability",
|
6830
|
+
"description": null,
|
6831
|
+
"isDeprecated": false,
|
6832
|
+
"deprecationReason": null
|
6833
|
+
}
|
6834
|
+
],
|
6835
|
+
"possibleTypes": null
|
6836
|
+
},
|
6398
6837
|
{
|
6399
6838
|
"kind": "OBJECT",
|
6400
|
-
"name": "
|
6401
|
-
"description": "A paginated list of Ledger
|
6839
|
+
"name": "LedgerAccountsConnection",
|
6840
|
+
"description": "A paginated list of Ledger Accounts",
|
6402
6841
|
"fields": [
|
6403
6842
|
{
|
6404
6843
|
"name": "nodes",
|
@@ -6415,7 +6854,7 @@
|
|
6415
6854
|
"name": null,
|
6416
6855
|
"ofType": {
|
6417
6856
|
"kind": "OBJECT",
|
6418
|
-
"name": "
|
6857
|
+
"name": "LedgerAccount",
|
6419
6858
|
"ofType": null
|
6420
6859
|
}
|
6421
6860
|
}
|
@@ -6448,33 +6887,13 @@
|
|
6448
6887
|
},
|
6449
6888
|
{
|
6450
6889
|
"kind": "INPUT_OBJECT",
|
6451
|
-
"name": "
|
6890
|
+
"name": "LedgerAccountsFilterSet",
|
6452
6891
|
"description": null,
|
6453
6892
|
"fields": null,
|
6454
6893
|
"inputFields": [
|
6455
6894
|
{
|
6456
|
-
"name": "
|
6457
|
-
"description":
|
6458
|
-
"type": {
|
6459
|
-
"kind": "INPUT_OBJECT",
|
6460
|
-
"name": "DateFilter",
|
6461
|
-
"ofType": null
|
6462
|
-
},
|
6463
|
-
"defaultValue": null
|
6464
|
-
},
|
6465
|
-
{
|
6466
|
-
"name": "group",
|
6467
|
-
"description": "Use this to filter Ledger Entries by groups. The response will include entries that contain or do not contain specific groups.",
|
6468
|
-
"type": {
|
6469
|
-
"kind": "INPUT_OBJECT",
|
6470
|
-
"name": "GroupFilter",
|
6471
|
-
"ofType": null
|
6472
|
-
},
|
6473
|
-
"defaultValue": null
|
6474
|
-
},
|
6475
|
-
{
|
6476
|
-
"name": "isReversal",
|
6477
|
-
"description": "Use this to filter Ledger Entries that were posted using `reverseLedgerEntry`.",
|
6895
|
+
"name": "hasParentLedgerAccount",
|
6896
|
+
"description": "Use this to filter Ledger Accounts by their parent status",
|
6478
6897
|
"type": {
|
6479
6898
|
"kind": "SCALAR",
|
6480
6899
|
"name": "Boolean",
|
@@ -6483,8 +6902,8 @@
|
|
6483
6902
|
"defaultValue": null
|
6484
6903
|
},
|
6485
6904
|
{
|
6486
|
-
"name": "
|
6487
|
-
"description": "Use this to filter Ledger
|
6905
|
+
"name": "isLinkedAccount",
|
6906
|
+
"description": "Use this to filter Ledger Accounts by their linked status",
|
6488
6907
|
"type": {
|
6489
6908
|
"kind": "SCALAR",
|
6490
6909
|
"name": "Boolean",
|
@@ -6493,51 +6912,51 @@
|
|
6493
6912
|
"defaultValue": null
|
6494
6913
|
},
|
6495
6914
|
{
|
6496
|
-
"name": "
|
6497
|
-
"description": "Use to filter Ledger
|
6915
|
+
"name": "ledgerAccount",
|
6916
|
+
"description": "Use this to filter Ledger Accounts by their ID or path",
|
6498
6917
|
"type": {
|
6499
6918
|
"kind": "INPUT_OBJECT",
|
6500
|
-
"name": "
|
6919
|
+
"name": "LedgerAccountFilter",
|
6501
6920
|
"ofType": null
|
6502
6921
|
},
|
6503
6922
|
"defaultValue": null
|
6504
6923
|
},
|
6505
6924
|
{
|
6506
|
-
"name": "
|
6507
|
-
"description":
|
6925
|
+
"name": "linkedAccount",
|
6926
|
+
"description": "Use this to filter Ledger Accounts by their external linked account ID",
|
6508
6927
|
"type": {
|
6509
6928
|
"kind": "INPUT_OBJECT",
|
6510
|
-
"name": "
|
6929
|
+
"name": "ExternalAccountFilter",
|
6511
6930
|
"ofType": null
|
6512
6931
|
},
|
6513
6932
|
"defaultValue": null
|
6514
6933
|
},
|
6515
6934
|
{
|
6516
|
-
"name": "
|
6517
|
-
"description": "Use this filter
|
6935
|
+
"name": "parentLedgerAccount",
|
6936
|
+
"description": "Use this to filter Ledger Accounts by their parent account IDs",
|
6518
6937
|
"type": {
|
6519
|
-
"kind": "
|
6520
|
-
"name": "
|
6938
|
+
"kind": "INPUT_OBJECT",
|
6939
|
+
"name": "LedgerAccountFilter",
|
6521
6940
|
"ofType": null
|
6522
6941
|
},
|
6523
6942
|
"defaultValue": null
|
6524
6943
|
},
|
6525
6944
|
{
|
6526
|
-
"name": "
|
6527
|
-
"description": "
|
6945
|
+
"name": "path",
|
6946
|
+
"description": "A filter that must match the account path. Wildcards ('*') may be used only for template variables, and will only match a single variable each.\nFor example: 'assets-root/accounts-receivable/merchant:*' would match: 'assets-root/accounts-receivable/merchant:1' and 'assets-root/accounts-receivable/merchant:1/child'.\nWildcards may not be used outside of template variables. For example, passing in 'assets-root/*' as a filter is invalid and would raise a GraphQL error.",
|
6528
6947
|
"type": {
|
6529
6948
|
"kind": "INPUT_OBJECT",
|
6530
|
-
"name": "
|
6949
|
+
"name": "StringMatchFilter",
|
6531
6950
|
"ofType": null
|
6532
6951
|
},
|
6533
6952
|
"defaultValue": null
|
6534
6953
|
},
|
6535
6954
|
{
|
6536
6955
|
"name": "type",
|
6537
|
-
"description": "Use this to filter Ledger
|
6956
|
+
"description": "Use this to filter Ledger Accounts by their type",
|
6538
6957
|
"type": {
|
6539
6958
|
"kind": "INPUT_OBJECT",
|
6540
|
-
"name": "
|
6959
|
+
"name": "LedgerAccountTypeFilter",
|
6541
6960
|
"ofType": null
|
6542
6961
|
},
|
6543
6962
|
"defaultValue": null
|
@@ -6548,60 +6967,73 @@
|
|
6548
6967
|
"possibleTypes": null
|
6549
6968
|
},
|
6550
6969
|
{
|
6551
|
-
"kind": "
|
6552
|
-
"name": "
|
6553
|
-
"description":
|
6970
|
+
"kind": "INTERFACE",
|
6971
|
+
"name": "LedgerDataMigration",
|
6972
|
+
"description": "Represents a data migration for a Ledger.",
|
6554
6973
|
"fields": [
|
6555
6974
|
{
|
6556
|
-
"name": "
|
6557
|
-
"description": "
|
6558
|
-
"args": [],
|
6559
|
-
"type": {
|
6560
|
-
"kind": "NON_NULL",
|
6561
|
-
"name": null,
|
6562
|
-
"ofType": {
|
6563
|
-
"kind": "LIST",
|
6564
|
-
"name": null,
|
6565
|
-
"ofType": {
|
6566
|
-
"kind": "NON_NULL",
|
6567
|
-
"name": null,
|
6568
|
-
"ofType": {
|
6569
|
-
"kind": "OBJECT",
|
6570
|
-
"name": "LedgerEntryCondition",
|
6571
|
-
"ofType": null
|
6572
|
-
}
|
6573
|
-
}
|
6574
|
-
}
|
6575
|
-
},
|
6576
|
-
"isDeprecated": false,
|
6577
|
-
"deprecationReason": null
|
6578
|
-
},
|
6579
|
-
{
|
6580
|
-
"name": "created",
|
6581
|
-
"description": "ISO-8601 timestamp this LedgerEntry was created in Fragment.",
|
6975
|
+
"name": "currentMigration",
|
6976
|
+
"description": "Current active migration info (null if migration is inactive).",
|
6582
6977
|
"args": [],
|
6583
6978
|
"type": {
|
6584
|
-
"kind": "
|
6585
|
-
"name":
|
6586
|
-
"ofType":
|
6587
|
-
"kind": "SCALAR",
|
6588
|
-
"name": "DateTime",
|
6589
|
-
"ofType": null
|
6590
|
-
}
|
6979
|
+
"kind": "OBJECT",
|
6980
|
+
"name": "LedgerDataMigrationHistoryEntry",
|
6981
|
+
"ofType": null
|
6591
6982
|
},
|
6592
6983
|
"isDeprecated": false,
|
6593
6984
|
"deprecationReason": null
|
6594
6985
|
},
|
6595
6986
|
{
|
6596
|
-
"name": "
|
6597
|
-
"description": "
|
6598
|
-
"args": [
|
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
|
+
],
|
6599
7031
|
"type": {
|
6600
7032
|
"kind": "NON_NULL",
|
6601
7033
|
"name": null,
|
6602
7034
|
"ofType": {
|
6603
|
-
"kind": "
|
6604
|
-
"name": "
|
7035
|
+
"kind": "OBJECT",
|
7036
|
+
"name": "LedgerDataMigrationHistoryConnection",
|
6605
7037
|
"ofType": null
|
6606
7038
|
}
|
6607
7039
|
},
|
@@ -6609,15 +7041,56 @@
|
|
6609
7041
|
"deprecationReason": null
|
6610
7042
|
},
|
6611
7043
|
{
|
6612
|
-
"name": "
|
6613
|
-
"description": "
|
6614
|
-
"args": [
|
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
|
+
],
|
6615
7088
|
"type": {
|
6616
7089
|
"kind": "NON_NULL",
|
6617
7090
|
"name": null,
|
6618
7091
|
"ofType": {
|
6619
|
-
"kind": "
|
6620
|
-
"name": "
|
7092
|
+
"kind": "OBJECT",
|
7093
|
+
"name": "LedgerEntriesConnection",
|
6621
7094
|
"ofType": null
|
6622
7095
|
}
|
6623
7096
|
},
|
@@ -6625,20 +7098,46 @@
|
|
6625
7098
|
"deprecationReason": null
|
6626
7099
|
},
|
6627
7100
|
{
|
6628
|
-
"name": "
|
6629
|
-
"description": "
|
7101
|
+
"name": "status",
|
7102
|
+
"description": "The status of the data migration.",
|
6630
7103
|
"args": [],
|
6631
7104
|
"type": {
|
6632
|
-
"kind": "
|
6633
|
-
"name":
|
6634
|
-
"ofType":
|
7105
|
+
"kind": "NON_NULL",
|
7106
|
+
"name": null,
|
7107
|
+
"ofType": {
|
7108
|
+
"kind": "ENUM",
|
7109
|
+
"name": "LedgerDataMigrationStatus",
|
7110
|
+
"ofType": null
|
7111
|
+
}
|
6635
7112
|
},
|
6636
7113
|
"isDeprecated": false,
|
6637
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
|
6638
7125
|
},
|
6639
7126
|
{
|
6640
|
-
"
|
6641
|
-
"
|
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",
|
6642
7141
|
"args": [],
|
6643
7142
|
"type": {
|
6644
7143
|
"kind": "NON_NULL",
|
@@ -6651,7 +7150,7 @@
|
|
6651
7150
|
"name": null,
|
6652
7151
|
"ofType": {
|
6653
7152
|
"kind": "OBJECT",
|
6654
|
-
"name": "
|
7153
|
+
"name": "LedgerDataMigrationHistoryEntry",
|
6655
7154
|
"ofType": null
|
6656
7155
|
}
|
6657
7156
|
}
|
@@ -6661,31 +7160,42 @@
|
|
6661
7160
|
"deprecationReason": null
|
6662
7161
|
},
|
6663
7162
|
{
|
6664
|
-
"name": "
|
6665
|
-
"description": "
|
7163
|
+
"name": "pageInfo",
|
7164
|
+
"description": "Pagination info for this list.",
|
6666
7165
|
"args": [],
|
6667
7166
|
"type": {
|
6668
7167
|
"kind": "NON_NULL",
|
6669
7168
|
"name": null,
|
6670
7169
|
"ofType": {
|
6671
|
-
"kind": "
|
6672
|
-
"name": "
|
7170
|
+
"kind": "OBJECT",
|
7171
|
+
"name": "PageInfo",
|
6673
7172
|
"ofType": null
|
6674
7173
|
}
|
6675
7174
|
},
|
6676
7175
|
"isDeprecated": false,
|
6677
7176
|
"deprecationReason": null
|
6678
|
-
}
|
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": [
|
6679
7189
|
{
|
6680
|
-
"name": "
|
6681
|
-
"description": "The
|
7190
|
+
"name": "schemaVersion",
|
7191
|
+
"description": "The schema version.",
|
6682
7192
|
"args": [],
|
6683
7193
|
"type": {
|
6684
7194
|
"kind": "NON_NULL",
|
6685
7195
|
"name": null,
|
6686
7196
|
"ofType": {
|
6687
7197
|
"kind": "SCALAR",
|
6688
|
-
"name": "
|
7198
|
+
"name": "Int",
|
6689
7199
|
"ofType": null
|
6690
7200
|
}
|
6691
7201
|
},
|
@@ -6693,139 +7203,251 @@
|
|
6693
7203
|
"deprecationReason": null
|
6694
7204
|
},
|
6695
7205
|
{
|
6696
|
-
"name": "
|
6697
|
-
"description": "The
|
7206
|
+
"name": "status",
|
7207
|
+
"description": "The current status of this schema version (active if it's the latest and migration is active, otherwise inactive).",
|
6698
7208
|
"args": [],
|
6699
7209
|
"type": {
|
6700
7210
|
"kind": "NON_NULL",
|
6701
7211
|
"name": null,
|
6702
7212
|
"ofType": {
|
6703
|
-
"kind": "
|
6704
|
-
"name": "
|
7213
|
+
"kind": "ENUM",
|
7214
|
+
"name": "LedgerDataMigrationStatus",
|
6705
7215
|
"ofType": null
|
6706
7216
|
}
|
6707
7217
|
},
|
6708
7218
|
"isDeprecated": false,
|
6709
7219
|
"deprecationReason": null
|
6710
|
-
}
|
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": [
|
6711
7235
|
{
|
6712
|
-
"name": "
|
6713
|
-
"description": "
|
6714
|
-
"args": [],
|
6715
|
-
"type": {
|
6716
|
-
"kind": "NON_NULL",
|
6717
|
-
"name": null,
|
6718
|
-
"ofType": {
|
6719
|
-
"kind": "SCALAR",
|
6720
|
-
"name": "Boolean",
|
6721
|
-
"ofType": null
|
6722
|
-
}
|
6723
|
-
},
|
7236
|
+
"name": "active",
|
7237
|
+
"description": "The migration is active.",
|
6724
7238
|
"isDeprecated": false,
|
6725
7239
|
"deprecationReason": null
|
6726
7240
|
},
|
6727
7241
|
{
|
6728
|
-
"name": "
|
6729
|
-
"description": "
|
7242
|
+
"name": "inactive",
|
7243
|
+
"description": "The migration is inactive.",
|
7244
|
+
"isDeprecated": false,
|
7245
|
+
"deprecationReason": null
|
7246
|
+
}
|
7247
|
+
],
|
7248
|
+
"possibleTypes": null
|
7249
|
+
},
|
7250
|
+
{
|
7251
|
+
"kind": "OBJECT",
|
7252
|
+
"name": "LedgerEntriesConnection",
|
7253
|
+
"description": "A paginated list of Ledger Entries",
|
7254
|
+
"fields": [
|
7255
|
+
{
|
7256
|
+
"name": "nodes",
|
7257
|
+
"description": "The current page of results",
|
6730
7258
|
"args": [],
|
6731
7259
|
"type": {
|
6732
7260
|
"kind": "NON_NULL",
|
6733
7261
|
"name": null,
|
6734
7262
|
"ofType": {
|
6735
|
-
"kind": "
|
6736
|
-
"name":
|
6737
|
-
"ofType":
|
7263
|
+
"kind": "LIST",
|
7264
|
+
"name": null,
|
7265
|
+
"ofType": {
|
7266
|
+
"kind": "NON_NULL",
|
7267
|
+
"name": null,
|
7268
|
+
"ofType": {
|
7269
|
+
"kind": "OBJECT",
|
7270
|
+
"name": "LedgerEntry",
|
7271
|
+
"ofType": null
|
7272
|
+
}
|
7273
|
+
}
|
6738
7274
|
}
|
6739
7275
|
},
|
6740
7276
|
"isDeprecated": false,
|
6741
7277
|
"deprecationReason": null
|
6742
7278
|
},
|
6743
7279
|
{
|
6744
|
-
"name": "
|
6745
|
-
"description": "The
|
7280
|
+
"name": "pageInfo",
|
7281
|
+
"description": "The [pagination info](https://fragment.dev/api-reference/api-types#connection-types-pageinfo) for this list",
|
6746
7282
|
"args": [],
|
6747
7283
|
"type": {
|
6748
7284
|
"kind": "NON_NULL",
|
6749
7285
|
"name": null,
|
6750
7286
|
"ofType": {
|
6751
7287
|
"kind": "OBJECT",
|
6752
|
-
"name": "
|
7288
|
+
"name": "PageInfo",
|
6753
7289
|
"ofType": null
|
6754
7290
|
}
|
6755
7291
|
},
|
6756
7292
|
"isDeprecated": false,
|
6757
7293
|
"deprecationReason": null
|
6758
|
-
}
|
7294
|
+
}
|
7295
|
+
],
|
7296
|
+
"inputFields": null,
|
7297
|
+
"interfaces": [],
|
7298
|
+
"enumValues": null,
|
7299
|
+
"possibleTypes": null
|
7300
|
+
},
|
7301
|
+
{
|
7302
|
+
"kind": "INPUT_OBJECT",
|
7303
|
+
"name": "LedgerEntriesFilterSet",
|
7304
|
+
"description": null,
|
7305
|
+
"fields": null,
|
7306
|
+
"inputFields": [
|
6759
7307
|
{
|
6760
|
-
"name": "
|
6761
|
-
"description":
|
6762
|
-
"args": [],
|
7308
|
+
"name": "date",
|
7309
|
+
"description": null,
|
6763
7310
|
"type": {
|
6764
|
-
"kind": "
|
6765
|
-
"name":
|
6766
|
-
"ofType":
|
6767
|
-
"kind": "SCALAR",
|
6768
|
-
"name": "ID",
|
6769
|
-
"ofType": null
|
6770
|
-
}
|
7311
|
+
"kind": "INPUT_OBJECT",
|
7312
|
+
"name": "DateFilter",
|
7313
|
+
"ofType": null
|
6771
7314
|
},
|
6772
|
-
"
|
6773
|
-
"deprecationReason": null
|
7315
|
+
"defaultValue": null
|
6774
7316
|
},
|
6775
7317
|
{
|
6776
|
-
"name": "
|
6777
|
-
"description": "
|
6778
|
-
"args": [],
|
7318
|
+
"name": "group",
|
7319
|
+
"description": "Use this to filter Ledger Entries by groups. The response will include entries that contain or do not contain specific groups.",
|
6779
7320
|
"type": {
|
6780
|
-
"kind": "
|
6781
|
-
"name":
|
6782
|
-
"ofType":
|
6783
|
-
"kind": "OBJECT",
|
6784
|
-
"name": "LedgerLinesConnection",
|
6785
|
-
"ofType": null
|
6786
|
-
}
|
7321
|
+
"kind": "INPUT_OBJECT",
|
7322
|
+
"name": "GroupFilter",
|
7323
|
+
"ofType": null
|
6787
7324
|
},
|
6788
|
-
"
|
6789
|
-
"deprecationReason": null
|
7325
|
+
"defaultValue": null
|
6790
7326
|
},
|
6791
7327
|
{
|
6792
|
-
"name": "
|
6793
|
-
"description": "
|
6794
|
-
"args": [],
|
7328
|
+
"name": "isReversal",
|
7329
|
+
"description": "Use this to filter Ledger Entries that were posted using `reverseLedgerEntry`.",
|
6795
7330
|
"type": {
|
6796
7331
|
"kind": "SCALAR",
|
6797
|
-
"name": "
|
7332
|
+
"name": "Boolean",
|
6798
7333
|
"ofType": null
|
6799
7334
|
},
|
6800
|
-
"
|
6801
|
-
|
7335
|
+
"defaultValue": null
|
7336
|
+
},
|
7337
|
+
{
|
7338
|
+
"name": "isReversed",
|
7339
|
+
"description": "Use this to filter Ledger Entries that have been reversed.",
|
7340
|
+
"type": {
|
7341
|
+
"kind": "SCALAR",
|
7342
|
+
"name": "Boolean",
|
7343
|
+
"ofType": null
|
7344
|
+
},
|
7345
|
+
"defaultValue": null
|
7346
|
+
},
|
7347
|
+
{
|
7348
|
+
"name": "ledgerEntry",
|
7349
|
+
"description": "Use to filter Ledger Entries by their IDs or IKs.",
|
7350
|
+
"type": {
|
7351
|
+
"kind": "INPUT_OBJECT",
|
7352
|
+
"name": "LedgerEntryFilter",
|
7353
|
+
"ofType": null
|
7354
|
+
},
|
7355
|
+
"defaultValue": null
|
6802
7356
|
},
|
6803
7357
|
{
|
6804
7358
|
"name": "posted",
|
6805
|
-
"description":
|
7359
|
+
"description": null,
|
7360
|
+
"type": {
|
7361
|
+
"kind": "INPUT_OBJECT",
|
7362
|
+
"name": "DateTimeFilter",
|
7363
|
+
"ofType": null
|
7364
|
+
},
|
7365
|
+
"defaultValue": null
|
7366
|
+
},
|
7367
|
+
{
|
7368
|
+
"name": "showHidden",
|
7369
|
+
"description": "Use this filter to show hidden Ledger Entries.",
|
7370
|
+
"type": {
|
7371
|
+
"kind": "SCALAR",
|
7372
|
+
"name": "Boolean",
|
7373
|
+
"ofType": null
|
7374
|
+
},
|
7375
|
+
"defaultValue": null
|
7376
|
+
},
|
7377
|
+
{
|
7378
|
+
"name": "tag",
|
7379
|
+
"description": "Use this to filter Ledger Entries by tags. The response will include entries that contain tags matching the filter.",
|
7380
|
+
"type": {
|
7381
|
+
"kind": "INPUT_OBJECT",
|
7382
|
+
"name": "TagFilter",
|
7383
|
+
"ofType": null
|
7384
|
+
},
|
7385
|
+
"defaultValue": null
|
7386
|
+
},
|
7387
|
+
{
|
7388
|
+
"name": "type",
|
7389
|
+
"description": "Use this to filter Ledger Entries by type. Ledger Entry types are defined in Schemas.",
|
7390
|
+
"type": {
|
7391
|
+
"kind": "INPUT_OBJECT",
|
7392
|
+
"name": "StringFilter",
|
7393
|
+
"ofType": null
|
7394
|
+
},
|
7395
|
+
"defaultValue": null
|
7396
|
+
},
|
7397
|
+
{
|
7398
|
+
"name": "typeVersion",
|
7399
|
+
"description": "Use this to filter Ledger Entries by their type version.",
|
7400
|
+
"type": {
|
7401
|
+
"kind": "INPUT_OBJECT",
|
7402
|
+
"name": "StringFilter",
|
7403
|
+
"ofType": null
|
7404
|
+
},
|
7405
|
+
"defaultValue": null
|
7406
|
+
}
|
7407
|
+
],
|
7408
|
+
"interfaces": null,
|
7409
|
+
"enumValues": null,
|
7410
|
+
"possibleTypes": null
|
7411
|
+
},
|
7412
|
+
{
|
7413
|
+
"kind": "OBJECT",
|
7414
|
+
"name": "LedgerEntry",
|
7415
|
+
"description": null,
|
7416
|
+
"fields": [
|
7417
|
+
{
|
7418
|
+
"name": "conditions",
|
7419
|
+
"description": "The conditions that were satisfied by this Ledger Entry when it was posted.",
|
6806
7420
|
"args": [],
|
6807
7421
|
"type": {
|
6808
7422
|
"kind": "NON_NULL",
|
6809
7423
|
"name": null,
|
6810
7424
|
"ofType": {
|
6811
|
-
"kind": "
|
6812
|
-
"name":
|
6813
|
-
"ofType":
|
7425
|
+
"kind": "LIST",
|
7426
|
+
"name": null,
|
7427
|
+
"ofType": {
|
7428
|
+
"kind": "NON_NULL",
|
7429
|
+
"name": null,
|
7430
|
+
"ofType": {
|
7431
|
+
"kind": "OBJECT",
|
7432
|
+
"name": "LedgerEntryCondition",
|
7433
|
+
"ofType": null
|
7434
|
+
}
|
7435
|
+
}
|
6814
7436
|
}
|
6815
7437
|
},
|
6816
7438
|
"isDeprecated": false,
|
6817
7439
|
"deprecationReason": null
|
6818
7440
|
},
|
6819
7441
|
{
|
6820
|
-
"name": "
|
6821
|
-
"description": "
|
7442
|
+
"name": "created",
|
7443
|
+
"description": "ISO-8601 timestamp this LedgerEntry was created in Fragment.",
|
6822
7444
|
"args": [],
|
6823
7445
|
"type": {
|
6824
7446
|
"kind": "NON_NULL",
|
6825
7447
|
"name": null,
|
6826
7448
|
"ofType": {
|
6827
|
-
"kind": "
|
6828
|
-
"name": "
|
7449
|
+
"kind": "SCALAR",
|
7450
|
+
"name": "DateTime",
|
6829
7451
|
"ofType": null
|
6830
7452
|
}
|
6831
7453
|
},
|
@@ -6833,15 +7455,15 @@
|
|
6833
7455
|
"deprecationReason": null
|
6834
7456
|
},
|
6835
7457
|
{
|
6836
|
-
"name": "
|
6837
|
-
"description": "
|
7458
|
+
"name": "dashboardUrl",
|
7459
|
+
"description": "URL to the Fragment Dashboard for this Ledger Entry.",
|
6838
7460
|
"args": [],
|
6839
7461
|
"type": {
|
6840
7462
|
"kind": "NON_NULL",
|
6841
7463
|
"name": null,
|
6842
7464
|
"ofType": {
|
6843
7465
|
"kind": "SCALAR",
|
6844
|
-
"name": "
|
7466
|
+
"name": "String",
|
6845
7467
|
"ofType": null
|
6846
7468
|
}
|
6847
7469
|
},
|
@@ -6849,44 +7471,36 @@
|
|
6849
7471
|
"deprecationReason": null
|
6850
7472
|
},
|
6851
7473
|
{
|
6852
|
-
"name": "
|
6853
|
-
"description": "
|
6854
|
-
"args": [],
|
6855
|
-
"type": {
|
6856
|
-
"kind": "SCALAR",
|
6857
|
-
"name": "DateTime",
|
6858
|
-
"ofType": null
|
6859
|
-
},
|
6860
|
-
"isDeprecated": false,
|
6861
|
-
"deprecationReason": null
|
6862
|
-
},
|
6863
|
-
{
|
6864
|
-
"name": "reversedBy",
|
6865
|
-
"description": "The Ledger Entry that reversed this Ledger Entry.",
|
7474
|
+
"name": "date",
|
7475
|
+
"description": "Date this LedgerEntry posted to its Ledger e.g. \"2021-01-01\".",
|
6866
7476
|
"args": [],
|
6867
7477
|
"type": {
|
6868
|
-
"kind": "
|
6869
|
-
"name":
|
6870
|
-
"ofType":
|
7478
|
+
"kind": "NON_NULL",
|
7479
|
+
"name": null,
|
7480
|
+
"ofType": {
|
7481
|
+
"kind": "SCALAR",
|
7482
|
+
"name": "Date",
|
7483
|
+
"ofType": null
|
7484
|
+
}
|
6871
7485
|
},
|
6872
7486
|
"isDeprecated": false,
|
6873
7487
|
"deprecationReason": null
|
6874
7488
|
},
|
6875
7489
|
{
|
6876
|
-
"name": "
|
6877
|
-
"description": "
|
7490
|
+
"name": "description",
|
7491
|
+
"description": "Description posted for this Ledger Entry.",
|
6878
7492
|
"args": [],
|
6879
7493
|
"type": {
|
6880
|
-
"kind": "
|
6881
|
-
"name": "
|
7494
|
+
"kind": "SCALAR",
|
7495
|
+
"name": "String",
|
6882
7496
|
"ofType": null
|
6883
7497
|
},
|
6884
7498
|
"isDeprecated": false,
|
6885
7499
|
"deprecationReason": null
|
6886
7500
|
},
|
6887
7501
|
{
|
6888
|
-
"name": "
|
6889
|
-
"description": "The
|
7502
|
+
"name": "groups",
|
7503
|
+
"description": "The Ledger Entry Groups this Ledger Entry is in.",
|
6890
7504
|
"args": [],
|
6891
7505
|
"type": {
|
6892
7506
|
"kind": "NON_NULL",
|
@@ -6899,7 +7513,7 @@
|
|
6899
7513
|
"name": null,
|
6900
7514
|
"ofType": {
|
6901
7515
|
"kind": "OBJECT",
|
6902
|
-
"name": "
|
7516
|
+
"name": "LedgerEntryGroup",
|
6903
7517
|
"ofType": null
|
6904
7518
|
}
|
6905
7519
|
}
|
@@ -6909,66 +7523,79 @@
|
|
6909
7523
|
"deprecationReason": null
|
6910
7524
|
},
|
6911
7525
|
{
|
6912
|
-
"name": "
|
6913
|
-
"description": "
|
7526
|
+
"name": "hidden",
|
7527
|
+
"description": "Indicates whether this Ledger Entry is hidden when listing Ledger Entries.\nReversed and Reversal Ledger Entries are hidden by default because taken together they have no impact on a Ledger's balances.",
|
6914
7528
|
"args": [],
|
6915
7529
|
"type": {
|
6916
|
-
"kind": "
|
6917
|
-
"name":
|
6918
|
-
"ofType":
|
7530
|
+
"kind": "NON_NULL",
|
7531
|
+
"name": null,
|
7532
|
+
"ofType": {
|
7533
|
+
"kind": "SCALAR",
|
7534
|
+
"name": "Boolean",
|
7535
|
+
"ofType": null
|
7536
|
+
}
|
6919
7537
|
},
|
6920
7538
|
"isDeprecated": false,
|
6921
7539
|
"deprecationReason": null
|
6922
7540
|
},
|
6923
7541
|
{
|
6924
|
-
"name": "
|
6925
|
-
"description": "
|
7542
|
+
"name": "id",
|
7543
|
+
"description": "The ID of this LedgerEntry.",
|
6926
7544
|
"args": [],
|
6927
7545
|
"type": {
|
6928
|
-
"kind": "
|
6929
|
-
"name":
|
6930
|
-
"ofType":
|
7546
|
+
"kind": "NON_NULL",
|
7547
|
+
"name": null,
|
7548
|
+
"ofType": {
|
7549
|
+
"kind": "SCALAR",
|
7550
|
+
"name": "ID",
|
7551
|
+
"ofType": null
|
7552
|
+
}
|
6931
7553
|
},
|
6932
7554
|
"isDeprecated": false,
|
6933
7555
|
"deprecationReason": null
|
6934
7556
|
},
|
6935
7557
|
{
|
6936
|
-
"name": "
|
6937
|
-
"description":
|
7558
|
+
"name": "ik",
|
7559
|
+
"description": "The idempotency key used to post this ledger entry",
|
6938
7560
|
"args": [],
|
6939
7561
|
"type": {
|
6940
7562
|
"kind": "NON_NULL",
|
6941
7563
|
"name": null,
|
6942
7564
|
"ofType": {
|
6943
7565
|
"kind": "SCALAR",
|
6944
|
-
"name": "
|
7566
|
+
"name": "String",
|
6945
7567
|
"ofType": null
|
6946
7568
|
}
|
6947
7569
|
},
|
6948
|
-
"isDeprecated":
|
6949
|
-
"deprecationReason":
|
6950
|
-
}
|
6951
|
-
],
|
6952
|
-
"inputFields": null,
|
6953
|
-
"interfaces": [],
|
6954
|
-
"enumValues": null,
|
6955
|
-
"possibleTypes": null
|
6956
|
-
},
|
6957
|
-
{
|
6958
|
-
"kind": "OBJECT",
|
6959
|
-
"name": "LedgerEntryCondition",
|
6960
|
-
"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`.",
|
6961
|
-
"fields": [
|
7570
|
+
"isDeprecated": false,
|
7571
|
+
"deprecationReason": null
|
7572
|
+
},
|
6962
7573
|
{
|
6963
|
-
"name": "
|
6964
|
-
"description": "
|
7574
|
+
"name": "isReversal",
|
7575
|
+
"description": "Indicates whether this Ledger Entry is a reversal of another Ledger Entry.\nIf so, reverses will point to that Ledger Entry.",
|
6965
7576
|
"args": [],
|
6966
7577
|
"type": {
|
6967
7578
|
"kind": "NON_NULL",
|
6968
7579
|
"name": null,
|
6969
7580
|
"ofType": {
|
6970
|
-
"kind": "
|
6971
|
-
"name": "
|
7581
|
+
"kind": "SCALAR",
|
7582
|
+
"name": "Boolean",
|
7583
|
+
"ofType": null
|
7584
|
+
}
|
7585
|
+
},
|
7586
|
+
"isDeprecated": false,
|
7587
|
+
"deprecationReason": null
|
7588
|
+
},
|
7589
|
+
{
|
7590
|
+
"name": "isReversed",
|
7591
|
+
"description": "Indicates whether this Ledger Entry has been reversed by another Ledger Entry.\nIf so, reversedBy will point to that Ledger Entry.",
|
7592
|
+
"args": [],
|
7593
|
+
"type": {
|
7594
|
+
"kind": "NON_NULL",
|
7595
|
+
"name": null,
|
7596
|
+
"ofType": {
|
7597
|
+
"kind": "SCALAR",
|
7598
|
+
"name": "Boolean",
|
6972
7599
|
"ofType": null
|
6973
7600
|
}
|
6974
7601
|
},
|
@@ -6976,44 +7603,576 @@
|
|
6976
7603
|
"deprecationReason": null
|
6977
7604
|
},
|
6978
7605
|
{
|
6979
|
-
"name": "
|
6980
|
-
"description": "The
|
7606
|
+
"name": "ledger",
|
7607
|
+
"description": "The Ledger that this Ledger Entry is posted to.",
|
7608
|
+
"args": [],
|
7609
|
+
"type": {
|
7610
|
+
"kind": "NON_NULL",
|
7611
|
+
"name": null,
|
7612
|
+
"ofType": {
|
7613
|
+
"kind": "OBJECT",
|
7614
|
+
"name": "Ledger",
|
7615
|
+
"ofType": null
|
7616
|
+
}
|
7617
|
+
},
|
7618
|
+
"isDeprecated": false,
|
7619
|
+
"deprecationReason": null
|
7620
|
+
},
|
7621
|
+
{
|
7622
|
+
"name": "ledgerId",
|
7623
|
+
"description": "The ID of the Ledger this Ledger Entry is posted to.",
|
7624
|
+
"args": [],
|
7625
|
+
"type": {
|
7626
|
+
"kind": "NON_NULL",
|
7627
|
+
"name": null,
|
7628
|
+
"ofType": {
|
7629
|
+
"kind": "SCALAR",
|
7630
|
+
"name": "ID",
|
7631
|
+
"ofType": null
|
7632
|
+
}
|
7633
|
+
},
|
7634
|
+
"isDeprecated": false,
|
7635
|
+
"deprecationReason": null
|
7636
|
+
},
|
7637
|
+
{
|
7638
|
+
"name": "lines",
|
7639
|
+
"description": "Lines posted in this Ledger Entry.",
|
7640
|
+
"args": [],
|
7641
|
+
"type": {
|
7642
|
+
"kind": "NON_NULL",
|
7643
|
+
"name": null,
|
7644
|
+
"ofType": {
|
7645
|
+
"kind": "OBJECT",
|
7646
|
+
"name": "LedgerLinesConnection",
|
7647
|
+
"ofType": null
|
7648
|
+
}
|
7649
|
+
},
|
7650
|
+
"isDeprecated": false,
|
7651
|
+
"deprecationReason": null
|
7652
|
+
},
|
7653
|
+
{
|
7654
|
+
"name": "parameters",
|
7655
|
+
"description": "The parameters used to post this Ledger Entry.",
|
7656
|
+
"args": [],
|
7657
|
+
"type": {
|
7658
|
+
"kind": "SCALAR",
|
7659
|
+
"name": "Parameters",
|
7660
|
+
"ofType": null
|
7661
|
+
},
|
7662
|
+
"isDeprecated": false,
|
7663
|
+
"deprecationReason": null
|
7664
|
+
},
|
7665
|
+
{
|
7666
|
+
"name": "posted",
|
7667
|
+
"description": "ISO-8601 timestamp this LedgerEntry posted to its Ledger.",
|
7668
|
+
"args": [],
|
7669
|
+
"type": {
|
7670
|
+
"kind": "NON_NULL",
|
7671
|
+
"name": null,
|
7672
|
+
"ofType": {
|
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",
|
8082
|
+
"ofType": null
|
8083
|
+
}
|
8084
|
+
},
|
8085
|
+
"isDeprecated": false,
|
8086
|
+
"deprecationReason": null
|
8087
|
+
},
|
8088
|
+
{
|
8089
|
+
"name": "status",
|
8090
|
+
"description": "The status of the data migration.",
|
8091
|
+
"args": [],
|
8092
|
+
"type": {
|
8093
|
+
"kind": "NON_NULL",
|
8094
|
+
"name": null,
|
8095
|
+
"ofType": {
|
8096
|
+
"kind": "ENUM",
|
8097
|
+
"name": "LedgerDataMigrationStatus",
|
8098
|
+
"ofType": null
|
8099
|
+
}
|
8100
|
+
},
|
8101
|
+
"isDeprecated": false,
|
8102
|
+
"deprecationReason": null
|
8103
|
+
},
|
8104
|
+
{
|
8105
|
+
"name": "typeVersion",
|
8106
|
+
"description": "The version of the entry type being migrated.",
|
8107
|
+
"args": [],
|
8108
|
+
"type": {
|
8109
|
+
"kind": "NON_NULL",
|
8110
|
+
"name": null,
|
8111
|
+
"ofType": {
|
8112
|
+
"kind": "SCALAR",
|
8113
|
+
"name": "Int",
|
8114
|
+
"ofType": null
|
8115
|
+
}
|
8116
|
+
},
|
8117
|
+
"isDeprecated": false,
|
8118
|
+
"deprecationReason": null
|
8119
|
+
}
|
8120
|
+
],
|
8121
|
+
"inputFields": null,
|
8122
|
+
"interfaces": [
|
8123
|
+
{
|
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": [
|
8137
|
+
{
|
8138
|
+
"name": "nodes",
|
8139
|
+
"description": "The current page of results",
|
8140
|
+
"args": [],
|
8141
|
+
"type": {
|
8142
|
+
"kind": "NON_NULL",
|
8143
|
+
"name": null,
|
8144
|
+
"ofType": {
|
8145
|
+
"kind": "LIST",
|
8146
|
+
"name": null,
|
8147
|
+
"ofType": {
|
8148
|
+
"kind": "NON_NULL",
|
8149
|
+
"name": null,
|
8150
|
+
"ofType": {
|
8151
|
+
"kind": "OBJECT",
|
8152
|
+
"name": "LedgerEntryDataMigration",
|
8153
|
+
"ofType": null
|
8154
|
+
}
|
8155
|
+
}
|
8156
|
+
}
|
8157
|
+
},
|
8158
|
+
"isDeprecated": false,
|
8159
|
+
"deprecationReason": null
|
8160
|
+
},
|
8161
|
+
{
|
8162
|
+
"name": "pageInfo",
|
8163
|
+
"description": "Pagination info for this list.",
|
6981
8164
|
"args": [],
|
6982
8165
|
"type": {
|
6983
8166
|
"kind": "NON_NULL",
|
6984
8167
|
"name": null,
|
6985
8168
|
"ofType": {
|
6986
8169
|
"kind": "OBJECT",
|
6987
|
-
"name": "
|
8170
|
+
"name": "PageInfo",
|
6988
8171
|
"ofType": null
|
6989
8172
|
}
|
6990
8173
|
},
|
6991
8174
|
"isDeprecated": false,
|
6992
8175
|
"deprecationReason": null
|
6993
|
-
},
|
6994
|
-
{
|
6995
|
-
"name": "postcondition",
|
6996
|
-
"description": "The conditions that must be satisfied after the operation.",
|
6997
|
-
"args": [],
|
6998
|
-
"type": {
|
6999
|
-
"kind": "OBJECT",
|
7000
|
-
"name": "LedgerAccountCondition",
|
7001
|
-
"ofType": null
|
7002
|
-
},
|
7003
|
-
"isDeprecated": false,
|
7004
|
-
"deprecationReason": null
|
7005
|
-
},
|
7006
|
-
{
|
7007
|
-
"name": "precondition",
|
7008
|
-
"description": "The conditions that must be satisfied prior to the operation.",
|
7009
|
-
"args": [],
|
7010
|
-
"type": {
|
7011
|
-
"kind": "OBJECT",
|
7012
|
-
"name": "LedgerAccountCondition",
|
7013
|
-
"ofType": null
|
7014
|
-
},
|
7015
|
-
"isDeprecated": false,
|
7016
|
-
"deprecationReason": null
|
7017
8176
|
}
|
7018
8177
|
],
|
7019
8178
|
"inputFields": null,
|
@@ -7023,50 +8182,36 @@
|
|
7023
8182
|
},
|
7024
8183
|
{
|
7025
8184
|
"kind": "INPUT_OBJECT",
|
7026
|
-
"name": "
|
7027
|
-
"description":
|
8185
|
+
"name": "LedgerEntryDataMigrationsFilterSet",
|
8186
|
+
"description": null,
|
7028
8187
|
"fields": null,
|
7029
8188
|
"inputFields": [
|
7030
8189
|
{
|
7031
|
-
"name": "
|
7032
|
-
"description": "
|
7033
|
-
"type": {
|
7034
|
-
"kind": "NON_NULL",
|
7035
|
-
"name": null,
|
7036
|
-
"ofType": {
|
7037
|
-
"kind": "INPUT_OBJECT",
|
7038
|
-
"name": "LedgerAccountMatchInput",
|
7039
|
-
"ofType": null
|
7040
|
-
}
|
7041
|
-
},
|
7042
|
-
"defaultValue": null
|
7043
|
-
},
|
7044
|
-
{
|
7045
|
-
"name": "currency",
|
7046
|
-
"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.",
|
7047
8192
|
"type": {
|
7048
|
-
"kind": "
|
7049
|
-
"name": "
|
8193
|
+
"kind": "SCALAR",
|
8194
|
+
"name": "SafeString",
|
7050
8195
|
"ofType": null
|
7051
8196
|
},
|
7052
8197
|
"defaultValue": null
|
7053
8198
|
},
|
7054
8199
|
{
|
7055
|
-
"name": "
|
7056
|
-
"description": "
|
8200
|
+
"name": "status",
|
8201
|
+
"description": "Filter by the status of the data migration.",
|
7057
8202
|
"type": {
|
7058
|
-
"kind": "
|
7059
|
-
"name": "
|
8203
|
+
"kind": "ENUM",
|
8204
|
+
"name": "LedgerDataMigrationStatus",
|
7060
8205
|
"ofType": null
|
7061
8206
|
},
|
7062
8207
|
"defaultValue": null
|
7063
8208
|
},
|
7064
8209
|
{
|
7065
|
-
"name": "
|
7066
|
-
"description": "
|
8210
|
+
"name": "typeVersion",
|
8211
|
+
"description": "Filter by Ledger Entry type version.",
|
7067
8212
|
"type": {
|
7068
|
-
"kind": "
|
7069
|
-
"name": "
|
8213
|
+
"kind": "SCALAR",
|
8214
|
+
"name": "Int",
|
7070
8215
|
"ofType": null
|
7071
8216
|
},
|
7072
8217
|
"defaultValue": null
|
@@ -7473,6 +8618,51 @@
|
|
7473
8618
|
"enumValues": null,
|
7474
8619
|
"possibleTypes": null
|
7475
8620
|
},
|
8621
|
+
{
|
8622
|
+
"kind": "INPUT_OBJECT",
|
8623
|
+
"name": "LedgerEntryGroupBalanceFilter",
|
8624
|
+
"description": "Filter Ledger Entry Groups by their balance impact on a Ledger Account. If a group has a matching balance for the specified account, the group will be included in the results.",
|
8625
|
+
"fields": null,
|
8626
|
+
"inputFields": [
|
8627
|
+
{
|
8628
|
+
"name": "account",
|
8629
|
+
"description": "A Ledger Entry Group will be included in the result if it has a balance for the specified account. If 'account' is the only filter specified, then any non-null balance in any currency will match.",
|
8630
|
+
"type": {
|
8631
|
+
"kind": "NON_NULL",
|
8632
|
+
"name": null,
|
8633
|
+
"ofType": {
|
8634
|
+
"kind": "INPUT_OBJECT",
|
8635
|
+
"name": "GroupBalanceAccountFilter",
|
8636
|
+
"ofType": null
|
8637
|
+
}
|
8638
|
+
},
|
8639
|
+
"defaultValue": null
|
8640
|
+
},
|
8641
|
+
{
|
8642
|
+
"name": "currency",
|
8643
|
+
"description": "A Ledger Entry Group will be included in the result if it has a balance for the specified account in the specified currency. If the 'ownBalance' filter is omitted then any non-null balance will match.",
|
8644
|
+
"type": {
|
8645
|
+
"kind": "INPUT_OBJECT",
|
8646
|
+
"name": "CurrencyFilter",
|
8647
|
+
"ofType": null
|
8648
|
+
},
|
8649
|
+
"defaultValue": null
|
8650
|
+
},
|
8651
|
+
{
|
8652
|
+
"name": "ownBalance",
|
8653
|
+
"description": "A Ledger Entry Group will be included in the result if it has a balance for the specified account that passes the specified value predicate. If the 'currency' filter is omitted then any balance in any currency that passes the predicate will match. If the 'currency' filter is included, the value predicate will only be evaluated against the specified currency. ",
|
8654
|
+
"type": {
|
8655
|
+
"kind": "INPUT_OBJECT",
|
8656
|
+
"name": "Int96Filter",
|
8657
|
+
"ofType": null
|
8658
|
+
},
|
8659
|
+
"defaultValue": null
|
8660
|
+
}
|
8661
|
+
],
|
8662
|
+
"interfaces": null,
|
8663
|
+
"enumValues": null,
|
8664
|
+
"possibleTypes": null
|
8665
|
+
},
|
7476
8666
|
{
|
7477
8667
|
"kind": "INPUT_OBJECT",
|
7478
8668
|
"name": "LedgerEntryGroupBalanceFilterSet",
|
@@ -7663,6 +8853,16 @@
|
|
7663
8853
|
"description": null,
|
7664
8854
|
"fields": null,
|
7665
8855
|
"inputFields": [
|
8856
|
+
{
|
8857
|
+
"name": "balance",
|
8858
|
+
"description": "Filter Ledger Entry Groups by their balance impact on a Ledger Account. If a group has a matching balance for the specified account, the group will be included in the results.",
|
8859
|
+
"type": {
|
8860
|
+
"kind": "INPUT_OBJECT",
|
8861
|
+
"name": "LedgerEntryGroupBalanceFilter",
|
8862
|
+
"ofType": null
|
8863
|
+
},
|
8864
|
+
"defaultValue": null
|
8865
|
+
},
|
7666
8866
|
{
|
7667
8867
|
"name": "created",
|
7668
8868
|
"description": "Use to filter Ledger Entry Groups by their created timestamp",
|
@@ -7824,61 +9024,235 @@
|
|
7824
9024
|
"name": "String",
|
7825
9025
|
"ofType": null
|
7826
9026
|
},
|
7827
|
-
"defaultValue": null
|
9027
|
+
"defaultValue": null
|
9028
|
+
},
|
9029
|
+
{
|
9030
|
+
"name": "typeVersion",
|
9031
|
+
"description": "Experimental: This field is reserved for an upcoming feature and is not yet supported.",
|
9032
|
+
"type": {
|
9033
|
+
"kind": "SCALAR",
|
9034
|
+
"name": "Int",
|
9035
|
+
"ofType": null
|
9036
|
+
},
|
9037
|
+
"defaultValue": null
|
9038
|
+
}
|
9039
|
+
],
|
9040
|
+
"interfaces": null,
|
9041
|
+
"enumValues": null,
|
9042
|
+
"possibleTypes": null
|
9043
|
+
},
|
9044
|
+
{
|
9045
|
+
"kind": "INPUT_OBJECT",
|
9046
|
+
"name": "LedgerEntryMatchInput",
|
9047
|
+
"description": "Specify a Ledger Entry by using `id`.",
|
9048
|
+
"fields": null,
|
9049
|
+
"inputFields": [
|
9050
|
+
{
|
9051
|
+
"name": "id",
|
9052
|
+
"description": "The FRAGMENT ID of the Ledger Entry",
|
9053
|
+
"type": {
|
9054
|
+
"kind": "SCALAR",
|
9055
|
+
"name": "ID",
|
9056
|
+
"ofType": null
|
9057
|
+
},
|
9058
|
+
"defaultValue": null
|
9059
|
+
},
|
9060
|
+
{
|
9061
|
+
"name": "ik",
|
9062
|
+
"description": "The IK provided to the `addLedgerEntry` mutation or the `ik` field returned from a `reconcileTx` mutation. This is required if you have not provided `id`.",
|
9063
|
+
"type": {
|
9064
|
+
"kind": "SCALAR",
|
9065
|
+
"name": "SafeString",
|
9066
|
+
"ofType": null
|
9067
|
+
},
|
9068
|
+
"defaultValue": null
|
9069
|
+
},
|
9070
|
+
{
|
9071
|
+
"name": "ledger",
|
9072
|
+
"description": "The FRAGMENT ID of the Ledger to which this Ledger Entry belongs. This is required if you have not provided `id`.",
|
9073
|
+
"type": {
|
9074
|
+
"kind": "INPUT_OBJECT",
|
9075
|
+
"name": "LedgerMatchInput",
|
9076
|
+
"ofType": null
|
9077
|
+
},
|
9078
|
+
"defaultValue": null
|
9079
|
+
}
|
9080
|
+
],
|
9081
|
+
"interfaces": null,
|
9082
|
+
"enumValues": null,
|
9083
|
+
"possibleTypes": null
|
9084
|
+
},
|
9085
|
+
{
|
9086
|
+
"kind": "OBJECT",
|
9087
|
+
"name": "LedgerEntryStats",
|
9088
|
+
"description": "Posting count statistics for a specific type and typeVersion of entry in a Ledger.",
|
9089
|
+
"fields": [
|
9090
|
+
{
|
9091
|
+
"name": "count",
|
9092
|
+
"description": "The total number of entries of this type.",
|
9093
|
+
"args": [],
|
9094
|
+
"type": {
|
9095
|
+
"kind": "NON_NULL",
|
9096
|
+
"name": null,
|
9097
|
+
"ofType": {
|
9098
|
+
"kind": "SCALAR",
|
9099
|
+
"name": "Int96",
|
9100
|
+
"ofType": null
|
9101
|
+
}
|
9102
|
+
},
|
9103
|
+
"isDeprecated": false,
|
9104
|
+
"deprecationReason": null
|
9105
|
+
},
|
9106
|
+
{
|
9107
|
+
"name": "ledgerId",
|
9108
|
+
"description": "The ledger ID these stats are for.",
|
9109
|
+
"args": [],
|
9110
|
+
"type": {
|
9111
|
+
"kind": "NON_NULL",
|
9112
|
+
"name": null,
|
9113
|
+
"ofType": {
|
9114
|
+
"kind": "SCALAR",
|
9115
|
+
"name": "SafeString",
|
9116
|
+
"ofType": null
|
9117
|
+
}
|
9118
|
+
},
|
9119
|
+
"isDeprecated": false,
|
9120
|
+
"deprecationReason": null
|
9121
|
+
},
|
9122
|
+
{
|
9123
|
+
"name": "netCount",
|
9124
|
+
"description": "The net number of entries (count - reversalsCount).",
|
9125
|
+
"args": [],
|
9126
|
+
"type": {
|
9127
|
+
"kind": "NON_NULL",
|
9128
|
+
"name": null,
|
9129
|
+
"ofType": {
|
9130
|
+
"kind": "SCALAR",
|
9131
|
+
"name": "Int96",
|
9132
|
+
"ofType": null
|
9133
|
+
}
|
9134
|
+
},
|
9135
|
+
"isDeprecated": false,
|
9136
|
+
"deprecationReason": null
|
9137
|
+
},
|
9138
|
+
{
|
9139
|
+
"name": "reversalsCount",
|
9140
|
+
"description": "The number of entries that are reversals.",
|
9141
|
+
"args": [],
|
9142
|
+
"type": {
|
9143
|
+
"kind": "NON_NULL",
|
9144
|
+
"name": null,
|
9145
|
+
"ofType": {
|
9146
|
+
"kind": "SCALAR",
|
9147
|
+
"name": "Int96",
|
9148
|
+
"ofType": null
|
9149
|
+
}
|
9150
|
+
},
|
9151
|
+
"isDeprecated": false,
|
9152
|
+
"deprecationReason": null
|
9153
|
+
},
|
9154
|
+
{
|
9155
|
+
"name": "schemaKey",
|
9156
|
+
"description": "The schema key associated with these stats.",
|
9157
|
+
"args": [],
|
9158
|
+
"type": {
|
9159
|
+
"kind": "NON_NULL",
|
9160
|
+
"name": null,
|
9161
|
+
"ofType": {
|
9162
|
+
"kind": "SCALAR",
|
9163
|
+
"name": "SafeString",
|
9164
|
+
"ofType": null
|
9165
|
+
}
|
9166
|
+
},
|
9167
|
+
"isDeprecated": false,
|
9168
|
+
"deprecationReason": null
|
9169
|
+
},
|
9170
|
+
{
|
9171
|
+
"name": "type",
|
9172
|
+
"description": "The type of entry these stats are for.",
|
9173
|
+
"args": [],
|
9174
|
+
"type": {
|
9175
|
+
"kind": "NON_NULL",
|
9176
|
+
"name": null,
|
9177
|
+
"ofType": {
|
9178
|
+
"kind": "SCALAR",
|
9179
|
+
"name": "SafeString",
|
9180
|
+
"ofType": null
|
9181
|
+
}
|
9182
|
+
},
|
9183
|
+
"isDeprecated": false,
|
9184
|
+
"deprecationReason": null
|
7828
9185
|
},
|
7829
9186
|
{
|
7830
9187
|
"name": "typeVersion",
|
7831
|
-
"description": "
|
9188
|
+
"description": "The version of the entry type these stats are for.",
|
9189
|
+
"args": [],
|
7832
9190
|
"type": {
|
7833
|
-
"kind": "
|
7834
|
-
"name":
|
7835
|
-
"ofType":
|
9191
|
+
"kind": "NON_NULL",
|
9192
|
+
"name": null,
|
9193
|
+
"ofType": {
|
9194
|
+
"kind": "SCALAR",
|
9195
|
+
"name": "Int",
|
9196
|
+
"ofType": null
|
9197
|
+
}
|
7836
9198
|
},
|
7837
|
-
"
|
9199
|
+
"isDeprecated": false,
|
9200
|
+
"deprecationReason": null
|
7838
9201
|
}
|
7839
9202
|
],
|
7840
|
-
"
|
9203
|
+
"inputFields": null,
|
9204
|
+
"interfaces": [],
|
7841
9205
|
"enumValues": null,
|
7842
9206
|
"possibleTypes": null
|
7843
9207
|
},
|
7844
9208
|
{
|
7845
|
-
"kind": "
|
7846
|
-
"name": "
|
7847
|
-
"description": "
|
7848
|
-
"fields":
|
7849
|
-
"inputFields": [
|
7850
|
-
{
|
7851
|
-
"name": "id",
|
7852
|
-
"description": "The FRAGMENT ID of the Ledger Entry",
|
7853
|
-
"type": {
|
7854
|
-
"kind": "SCALAR",
|
7855
|
-
"name": "ID",
|
7856
|
-
"ofType": null
|
7857
|
-
},
|
7858
|
-
"defaultValue": null
|
7859
|
-
},
|
9209
|
+
"kind": "OBJECT",
|
9210
|
+
"name": "LedgerEntryStatsConnection",
|
9211
|
+
"description": "A paginated list of Ledger Entry Stats",
|
9212
|
+
"fields": [
|
7860
9213
|
{
|
7861
|
-
"name": "
|
7862
|
-
"description": "The
|
9214
|
+
"name": "nodes",
|
9215
|
+
"description": "The current page of results",
|
9216
|
+
"args": [],
|
7863
9217
|
"type": {
|
7864
|
-
"kind": "
|
7865
|
-
"name":
|
7866
|
-
"ofType":
|
9218
|
+
"kind": "NON_NULL",
|
9219
|
+
"name": null,
|
9220
|
+
"ofType": {
|
9221
|
+
"kind": "LIST",
|
9222
|
+
"name": null,
|
9223
|
+
"ofType": {
|
9224
|
+
"kind": "NON_NULL",
|
9225
|
+
"name": null,
|
9226
|
+
"ofType": {
|
9227
|
+
"kind": "OBJECT",
|
9228
|
+
"name": "LedgerEntryStats",
|
9229
|
+
"ofType": null
|
9230
|
+
}
|
9231
|
+
}
|
9232
|
+
}
|
7867
9233
|
},
|
7868
|
-
"
|
9234
|
+
"isDeprecated": false,
|
9235
|
+
"deprecationReason": null
|
7869
9236
|
},
|
7870
9237
|
{
|
7871
|
-
"name": "
|
7872
|
-
"description": "
|
9238
|
+
"name": "pageInfo",
|
9239
|
+
"description": "Pagination info for this list.",
|
9240
|
+
"args": [],
|
7873
9241
|
"type": {
|
7874
|
-
"kind": "
|
7875
|
-
"name":
|
7876
|
-
"ofType":
|
9242
|
+
"kind": "NON_NULL",
|
9243
|
+
"name": null,
|
9244
|
+
"ofType": {
|
9245
|
+
"kind": "OBJECT",
|
9246
|
+
"name": "PageInfo",
|
9247
|
+
"ofType": null
|
9248
|
+
}
|
7877
9249
|
},
|
7878
|
-
"
|
9250
|
+
"isDeprecated": false,
|
9251
|
+
"deprecationReason": null
|
7879
9252
|
}
|
7880
9253
|
],
|
7881
|
-
"
|
9254
|
+
"inputFields": null,
|
9255
|
+
"interfaces": [],
|
7882
9256
|
"enumValues": null,
|
7883
9257
|
"possibleTypes": null
|
7884
9258
|
},
|
@@ -8600,6 +9974,16 @@
|
|
8600
9974
|
},
|
8601
9975
|
"defaultValue": null
|
8602
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
|
+
},
|
8603
9987
|
{
|
8604
9988
|
"name": "date",
|
8605
9989
|
"description": "Filter by the posted date of the Ledger Line. This is identical to using `posted`, but only supports day-level granularity.",
|
@@ -9102,75 +10486,250 @@
|
|
9102
10486
|
},
|
9103
10487
|
{
|
9104
10488
|
"kind": "OBJECT",
|
9105
|
-
"name": "UnitLink",
|
10489
|
+
"name": "UnitLink",
|
10490
|
+
"ofType": null
|
10491
|
+
}
|
10492
|
+
]
|
10493
|
+
},
|
10494
|
+
{
|
10495
|
+
"kind": "INPUT_OBJECT",
|
10496
|
+
"name": "LinkMatchInput",
|
10497
|
+
"description": null,
|
10498
|
+
"fields": null,
|
10499
|
+
"inputFields": [
|
10500
|
+
{
|
10501
|
+
"name": "id",
|
10502
|
+
"description": null,
|
10503
|
+
"type": {
|
10504
|
+
"kind": "NON_NULL",
|
10505
|
+
"name": null,
|
10506
|
+
"ofType": {
|
10507
|
+
"kind": "SCALAR",
|
10508
|
+
"name": "ID",
|
10509
|
+
"ofType": null
|
10510
|
+
}
|
10511
|
+
},
|
10512
|
+
"defaultValue": null
|
10513
|
+
}
|
10514
|
+
],
|
10515
|
+
"interfaces": null,
|
10516
|
+
"enumValues": null,
|
10517
|
+
"possibleTypes": null
|
10518
|
+
},
|
10519
|
+
{
|
10520
|
+
"kind": "ENUM",
|
10521
|
+
"name": "LinkType",
|
10522
|
+
"description": "The type of Link an external account belongs to.",
|
10523
|
+
"fields": null,
|
10524
|
+
"inputFields": null,
|
10525
|
+
"interfaces": null,
|
10526
|
+
"enumValues": [
|
10527
|
+
{
|
10528
|
+
"name": "CustomLink",
|
10529
|
+
"description": "A Custom Link",
|
10530
|
+
"isDeprecated": false,
|
10531
|
+
"deprecationReason": null
|
10532
|
+
},
|
10533
|
+
{
|
10534
|
+
"name": "IncreaseLink",
|
10535
|
+
"description": "An Increase Link",
|
10536
|
+
"isDeprecated": false,
|
10537
|
+
"deprecationReason": null
|
10538
|
+
},
|
10539
|
+
{
|
10540
|
+
"name": "StripeLink",
|
10541
|
+
"description": "A Stripe Link",
|
10542
|
+
"isDeprecated": false,
|
10543
|
+
"deprecationReason": null
|
10544
|
+
},
|
10545
|
+
{
|
10546
|
+
"name": "UnitLink",
|
10547
|
+
"description": "A Unit Link",
|
10548
|
+
"isDeprecated": false,
|
10549
|
+
"deprecationReason": null
|
10550
|
+
}
|
10551
|
+
],
|
10552
|
+
"possibleTypes": null
|
10553
|
+
},
|
10554
|
+
{
|
10555
|
+
"kind": "OBJECT",
|
10556
|
+
"name": "LinksConnection",
|
10557
|
+
"description": "A paginated list of Links",
|
10558
|
+
"fields": [
|
10559
|
+
{
|
10560
|
+
"name": "nodes",
|
10561
|
+
"description": "The current page of results",
|
10562
|
+
"args": [],
|
10563
|
+
"type": {
|
10564
|
+
"kind": "NON_NULL",
|
10565
|
+
"name": null,
|
10566
|
+
"ofType": {
|
10567
|
+
"kind": "LIST",
|
10568
|
+
"name": null,
|
10569
|
+
"ofType": {
|
10570
|
+
"kind": "NON_NULL",
|
10571
|
+
"name": null,
|
10572
|
+
"ofType": {
|
10573
|
+
"kind": "INTERFACE",
|
10574
|
+
"name": "Link",
|
10575
|
+
"ofType": null
|
10576
|
+
}
|
10577
|
+
}
|
10578
|
+
}
|
10579
|
+
},
|
10580
|
+
"isDeprecated": false,
|
10581
|
+
"deprecationReason": null
|
10582
|
+
},
|
10583
|
+
{
|
10584
|
+
"name": "pageInfo",
|
10585
|
+
"description": "The [pagination info](https://fragment.dev/api-reference/api-types#connection-types-pageinfo) for this list",
|
10586
|
+
"args": [],
|
10587
|
+
"type": {
|
10588
|
+
"kind": "NON_NULL",
|
10589
|
+
"name": null,
|
10590
|
+
"ofType": {
|
10591
|
+
"kind": "OBJECT",
|
10592
|
+
"name": "PageInfo",
|
10593
|
+
"ofType": null
|
10594
|
+
}
|
10595
|
+
},
|
10596
|
+
"isDeprecated": false,
|
10597
|
+
"deprecationReason": null
|
10598
|
+
}
|
10599
|
+
],
|
10600
|
+
"inputFields": null,
|
10601
|
+
"interfaces": [],
|
10602
|
+
"enumValues": null,
|
10603
|
+
"possibleTypes": null
|
10604
|
+
},
|
10605
|
+
{
|
10606
|
+
"kind": "INPUT_OBJECT",
|
10607
|
+
"name": "MigrateLedgerEntryInput",
|
10608
|
+
"description": "An object defining the input for migrating a Ledger Entry.",
|
10609
|
+
"fields": null,
|
10610
|
+
"inputFields": [
|
10611
|
+
{
|
10612
|
+
"name": "id",
|
10613
|
+
"description": "The Ledger Entry to migrate",
|
10614
|
+
"type": {
|
10615
|
+
"kind": "NON_NULL",
|
10616
|
+
"name": null,
|
10617
|
+
"ofType": {
|
10618
|
+
"kind": "SCALAR",
|
10619
|
+
"name": "ID",
|
10620
|
+
"ofType": null
|
10621
|
+
}
|
10622
|
+
},
|
10623
|
+
"defaultValue": null
|
10624
|
+
},
|
10625
|
+
{
|
10626
|
+
"name": "newLedgerEntry",
|
10627
|
+
"description": "The Ledger Entry you want to migrate it to",
|
10628
|
+
"type": {
|
10629
|
+
"kind": "NON_NULL",
|
10630
|
+
"name": null,
|
10631
|
+
"ofType": {
|
10632
|
+
"kind": "INPUT_OBJECT",
|
10633
|
+
"name": "LedgerEntryInput",
|
10634
|
+
"ofType": null
|
10635
|
+
}
|
10636
|
+
},
|
10637
|
+
"defaultValue": null
|
10638
|
+
}
|
10639
|
+
],
|
10640
|
+
"interfaces": null,
|
10641
|
+
"enumValues": null,
|
10642
|
+
"possibleTypes": null
|
10643
|
+
},
|
10644
|
+
{
|
10645
|
+
"kind": "UNION",
|
10646
|
+
"name": "MigrateLedgerEntryResponse",
|
10647
|
+
"description": null,
|
10648
|
+
"fields": null,
|
10649
|
+
"inputFields": null,
|
10650
|
+
"interfaces": null,
|
10651
|
+
"enumValues": null,
|
10652
|
+
"possibleTypes": [
|
10653
|
+
{
|
10654
|
+
"kind": "OBJECT",
|
10655
|
+
"name": "BadRequestError",
|
10656
|
+
"ofType": null
|
10657
|
+
},
|
10658
|
+
{
|
10659
|
+
"kind": "OBJECT",
|
10660
|
+
"name": "InternalError",
|
10661
|
+
"ofType": null
|
10662
|
+
},
|
10663
|
+
{
|
10664
|
+
"kind": "OBJECT",
|
10665
|
+
"name": "MigrateLedgerEntryResult",
|
9106
10666
|
"ofType": null
|
9107
10667
|
}
|
9108
10668
|
]
|
9109
10669
|
},
|
9110
10670
|
{
|
9111
|
-
"kind": "
|
9112
|
-
"name": "
|
10671
|
+
"kind": "OBJECT",
|
10672
|
+
"name": "MigrateLedgerEntryResult",
|
9113
10673
|
"description": null,
|
9114
|
-
"fields":
|
9115
|
-
"inputFields": [
|
10674
|
+
"fields": [
|
9116
10675
|
{
|
9117
|
-
"name": "
|
9118
|
-
"description":
|
10676
|
+
"name": "isIkReplay",
|
10677
|
+
"description": "Whether this migration was an IK replay or not",
|
10678
|
+
"args": [],
|
9119
10679
|
"type": {
|
9120
10680
|
"kind": "NON_NULL",
|
9121
10681
|
"name": null,
|
9122
10682
|
"ofType": {
|
9123
10683
|
"kind": "SCALAR",
|
9124
|
-
"name": "
|
10684
|
+
"name": "Boolean",
|
9125
10685
|
"ofType": null
|
9126
10686
|
}
|
9127
10687
|
},
|
9128
|
-
"
|
9129
|
-
|
9130
|
-
|
9131
|
-
"interfaces": null,
|
9132
|
-
"enumValues": null,
|
9133
|
-
"possibleTypes": null
|
9134
|
-
},
|
9135
|
-
{
|
9136
|
-
"kind": "OBJECT",
|
9137
|
-
"name": "LinksConnection",
|
9138
|
-
"description": "A paginated list of Links",
|
9139
|
-
"fields": [
|
10688
|
+
"isDeprecated": false,
|
10689
|
+
"deprecationReason": null
|
10690
|
+
},
|
9140
10691
|
{
|
9141
|
-
"name": "
|
9142
|
-
"description": "The
|
10692
|
+
"name": "newLedgerEntry",
|
10693
|
+
"description": "The new Ledger Entry posted as a result of the migration",
|
9143
10694
|
"args": [],
|
9144
10695
|
"type": {
|
9145
10696
|
"kind": "NON_NULL",
|
9146
10697
|
"name": null,
|
9147
10698
|
"ofType": {
|
9148
|
-
"kind": "
|
9149
|
-
"name":
|
9150
|
-
"ofType":
|
9151
|
-
"kind": "NON_NULL",
|
9152
|
-
"name": null,
|
9153
|
-
"ofType": {
|
9154
|
-
"kind": "INTERFACE",
|
9155
|
-
"name": "Link",
|
9156
|
-
"ofType": null
|
9157
|
-
}
|
9158
|
-
}
|
10699
|
+
"kind": "OBJECT",
|
10700
|
+
"name": "LedgerEntry",
|
10701
|
+
"ofType": null
|
9159
10702
|
}
|
9160
10703
|
},
|
9161
10704
|
"isDeprecated": false,
|
9162
10705
|
"deprecationReason": null
|
9163
10706
|
},
|
9164
10707
|
{
|
9165
|
-
"name": "
|
9166
|
-
"description": "The
|
10708
|
+
"name": "reversedLedgerEntry",
|
10709
|
+
"description": "The Ledger Entry that was migrated",
|
9167
10710
|
"args": [],
|
9168
10711
|
"type": {
|
9169
10712
|
"kind": "NON_NULL",
|
9170
10713
|
"name": null,
|
9171
10714
|
"ofType": {
|
9172
10715
|
"kind": "OBJECT",
|
9173
|
-
"name": "
|
10716
|
+
"name": "LedgerEntry",
|
10717
|
+
"ofType": null
|
10718
|
+
}
|
10719
|
+
},
|
10720
|
+
"isDeprecated": false,
|
10721
|
+
"deprecationReason": null
|
10722
|
+
},
|
10723
|
+
{
|
10724
|
+
"name": "reversingLedgerEntry",
|
10725
|
+
"description": "The reversal Ledger Entry that was posted to reverse the Ledger Entry being migrated",
|
10726
|
+
"args": [],
|
10727
|
+
"type": {
|
10728
|
+
"kind": "NON_NULL",
|
10729
|
+
"name": null,
|
10730
|
+
"ofType": {
|
10731
|
+
"kind": "OBJECT",
|
10732
|
+
"name": "LedgerEntry",
|
9174
10733
|
"ofType": null
|
9175
10734
|
}
|
9176
10735
|
},
|
@@ -9589,6 +11148,37 @@
|
|
9589
11148
|
"isDeprecated": false,
|
9590
11149
|
"deprecationReason": null
|
9591
11150
|
},
|
11151
|
+
{
|
11152
|
+
"name": "migrateLedgerEntry",
|
11153
|
+
"description": "Migrate an existing Ledger Entry to a new type and typeVersion.\n\nMigrating a Ledger Entry will do the following:\n 1. Reverse the existing Ledger Entry\n 2. Post a new Ledger Entry with the new type, typeVersion, and parameters provided",
|
11154
|
+
"args": [
|
11155
|
+
{
|
11156
|
+
"name": "input",
|
11157
|
+
"description": null,
|
11158
|
+
"type": {
|
11159
|
+
"kind": "NON_NULL",
|
11160
|
+
"name": null,
|
11161
|
+
"ofType": {
|
11162
|
+
"kind": "INPUT_OBJECT",
|
11163
|
+
"name": "MigrateLedgerEntryInput",
|
11164
|
+
"ofType": null
|
11165
|
+
}
|
11166
|
+
},
|
11167
|
+
"defaultValue": null
|
11168
|
+
}
|
11169
|
+
],
|
11170
|
+
"type": {
|
11171
|
+
"kind": "NON_NULL",
|
11172
|
+
"name": null,
|
11173
|
+
"ofType": {
|
11174
|
+
"kind": "UNION",
|
11175
|
+
"name": "MigrateLedgerEntryResponse",
|
11176
|
+
"ofType": null
|
11177
|
+
}
|
11178
|
+
},
|
11179
|
+
"isDeprecated": false,
|
11180
|
+
"deprecationReason": null
|
11181
|
+
},
|
9592
11182
|
{
|
9593
11183
|
"name": "reconcileTx",
|
9594
11184
|
"description": "This mutation is used to [reconcile](https://fragment.dev/docs/reconcile-payments#reconcile-a-tx) transactions from an external system into a Ledger Entry. This mutation does not require an idempotency key since a transaction can only be reconciled once per Linked Ledger Account. If you are reconciling a transfer between two Link Accounts which are both linked to the same Ledger, use a transit account in between to split the transfer into two `reconcileTx` calls.",
|
@@ -10782,6 +12372,16 @@
|
|
10782
12372
|
}
|
10783
12373
|
},
|
10784
12374
|
"defaultValue": null
|
12375
|
+
},
|
12376
|
+
{
|
12377
|
+
"name": "typeVersion",
|
12378
|
+
"description": "The version of the Ledger Entry type.",
|
12379
|
+
"type": {
|
12380
|
+
"kind": "SCALAR",
|
12381
|
+
"name": "Int",
|
12382
|
+
"ofType": null
|
12383
|
+
},
|
12384
|
+
"defaultValue": null
|
10785
12385
|
}
|
10786
12386
|
],
|
10787
12387
|
"interfaces": null,
|
@@ -11261,6 +12861,16 @@
|
|
11261
12861
|
"ofType": null
|
11262
12862
|
},
|
11263
12863
|
"defaultValue": null
|
12864
|
+
},
|
12865
|
+
{
|
12866
|
+
"name": "linkType",
|
12867
|
+
"description": "The type of Link this external account belongs to. Must be one of: IncreaseLink, UnitLink, CustomLink, or StripeLink.",
|
12868
|
+
"type": {
|
12869
|
+
"kind": "ENUM",
|
12870
|
+
"name": "LinkType",
|
12871
|
+
"ofType": null
|
12872
|
+
},
|
12873
|
+
"defaultValue": null
|
11264
12874
|
}
|
11265
12875
|
],
|
11266
12876
|
"interfaces": null,
|
@@ -11483,6 +13093,16 @@
|
|
11483
13093
|
},
|
11484
13094
|
"defaultValue": null
|
11485
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
|
+
},
|
11486
13106
|
{
|
11487
13107
|
"name": "template",
|
11488
13108
|
"description": "Whether or not this Ledger Account should be templated.",
|
@@ -11533,6 +13153,35 @@
|
|
11533
13153
|
"enumValues": null,
|
11534
13154
|
"possibleTypes": null
|
11535
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
|
+
},
|
11536
13185
|
{
|
11537
13186
|
"kind": "INPUT_OBJECT",
|
11538
13187
|
"name": "SchemaLedgerEntriesInput",
|
@@ -11740,6 +13389,16 @@
|
|
11740
13389
|
},
|
11741
13390
|
"defaultValue": null
|
11742
13391
|
},
|
13392
|
+
{
|
13393
|
+
"name": "status",
|
13394
|
+
"description": "The status of this Ledger Entry. Defaults to active.",
|
13395
|
+
"type": {
|
13396
|
+
"kind": "ENUM",
|
13397
|
+
"name": "SchemaLedgerEntryStatus",
|
13398
|
+
"ofType": null
|
13399
|
+
},
|
13400
|
+
"defaultValue": null
|
13401
|
+
},
|
11743
13402
|
{
|
11744
13403
|
"name": "tags",
|
11745
13404
|
"description": "Ledger Entries posted with this type will be associated with these tags.",
|
@@ -11787,6 +13446,35 @@
|
|
11787
13446
|
"enumValues": null,
|
11788
13447
|
"possibleTypes": null
|
11789
13448
|
},
|
13449
|
+
{
|
13450
|
+
"kind": "ENUM",
|
13451
|
+
"name": "SchemaLedgerEntryStatus",
|
13452
|
+
"description": "The status of a Ledger Entry.",
|
13453
|
+
"fields": null,
|
13454
|
+
"inputFields": null,
|
13455
|
+
"interfaces": null,
|
13456
|
+
"enumValues": [
|
13457
|
+
{
|
13458
|
+
"name": "active",
|
13459
|
+
"description": "The Ledger Entry is active.",
|
13460
|
+
"isDeprecated": false,
|
13461
|
+
"deprecationReason": null
|
13462
|
+
},
|
13463
|
+
{
|
13464
|
+
"name": "archived",
|
13465
|
+
"description": "The Ledger Entry is archived.",
|
13466
|
+
"isDeprecated": false,
|
13467
|
+
"deprecationReason": null
|
13468
|
+
},
|
13469
|
+
{
|
13470
|
+
"name": "disabled",
|
13471
|
+
"description": "The Ledger Entry is disabled.",
|
13472
|
+
"isDeprecated": false,
|
13473
|
+
"deprecationReason": null
|
13474
|
+
}
|
13475
|
+
],
|
13476
|
+
"possibleTypes": null
|
13477
|
+
},
|
11790
13478
|
{
|
11791
13479
|
"kind": "INPUT_OBJECT",
|
11792
13480
|
"name": "SchemaLedgerEntryTagInput",
|
@@ -12587,6 +14275,90 @@
|
|
12587
14275
|
}
|
12588
14276
|
},
|
12589
14277
|
"defaultValue": null
|
14278
|
+
},
|
14279
|
+
{
|
14280
|
+
"name": "keyEqualTo",
|
14281
|
+
"description": "Matches tags where the key exactly equals the provided value.",
|
14282
|
+
"type": {
|
14283
|
+
"kind": "SCALAR",
|
14284
|
+
"name": "SafeString",
|
14285
|
+
"ofType": null
|
14286
|
+
},
|
14287
|
+
"defaultValue": null
|
14288
|
+
},
|
14289
|
+
{
|
14290
|
+
"name": "keyIn",
|
14291
|
+
"description": "Matches tags where the key matches any of the provided values. Limited to 100 items maximum.",
|
14292
|
+
"type": {
|
14293
|
+
"kind": "LIST",
|
14294
|
+
"name": null,
|
14295
|
+
"ofType": {
|
14296
|
+
"kind": "NON_NULL",
|
14297
|
+
"name": null,
|
14298
|
+
"ofType": {
|
14299
|
+
"kind": "SCALAR",
|
14300
|
+
"name": "SafeString",
|
14301
|
+
"ofType": null
|
14302
|
+
}
|
14303
|
+
}
|
14304
|
+
},
|
14305
|
+
"defaultValue": null
|
14306
|
+
},
|
14307
|
+
{
|
14308
|
+
"name": "notEqualTo",
|
14309
|
+
"description": "Matches tags that do not equal the provided value. The key and value are both matched exactly.",
|
14310
|
+
"type": {
|
14311
|
+
"kind": "INPUT_OBJECT",
|
14312
|
+
"name": "TagMatchInput",
|
14313
|
+
"ofType": null
|
14314
|
+
},
|
14315
|
+
"defaultValue": null
|
14316
|
+
},
|
14317
|
+
{
|
14318
|
+
"name": "notIn",
|
14319
|
+
"description": "Matches tags that do not match any of the provided values. The key and value are both matched exactly. Limited to 100 items maximum.",
|
14320
|
+
"type": {
|
14321
|
+
"kind": "LIST",
|
14322
|
+
"name": null,
|
14323
|
+
"ofType": {
|
14324
|
+
"kind": "NON_NULL",
|
14325
|
+
"name": null,
|
14326
|
+
"ofType": {
|
14327
|
+
"kind": "INPUT_OBJECT",
|
14328
|
+
"name": "TagMatchInput",
|
14329
|
+
"ofType": null
|
14330
|
+
}
|
14331
|
+
}
|
14332
|
+
},
|
14333
|
+
"defaultValue": null
|
14334
|
+
},
|
14335
|
+
{
|
14336
|
+
"name": "notKeyEqualTo",
|
14337
|
+
"description": "Matches tags where the key does not equal the provided value.",
|
14338
|
+
"type": {
|
14339
|
+
"kind": "SCALAR",
|
14340
|
+
"name": "SafeString",
|
14341
|
+
"ofType": null
|
14342
|
+
},
|
14343
|
+
"defaultValue": null
|
14344
|
+
},
|
14345
|
+
{
|
14346
|
+
"name": "notKeyIn",
|
14347
|
+
"description": "Matches tags where the key does not match any of the provided values. Limited to 100 items maximum.",
|
14348
|
+
"type": {
|
14349
|
+
"kind": "LIST",
|
14350
|
+
"name": null,
|
14351
|
+
"ofType": {
|
14352
|
+
"kind": "NON_NULL",
|
14353
|
+
"name": null,
|
14354
|
+
"ofType": {
|
14355
|
+
"kind": "SCALAR",
|
14356
|
+
"name": "SafeString",
|
14357
|
+
"ofType": null
|
14358
|
+
}
|
14359
|
+
}
|
14360
|
+
},
|
14361
|
+
"defaultValue": null
|
12590
14362
|
}
|
12591
14363
|
],
|
12592
14364
|
"interfaces": null,
|
@@ -13408,6 +15180,24 @@
|
|
13408
15180
|
}
|
13409
15181
|
},
|
13410
15182
|
"defaultValue": null
|
15183
|
+
},
|
15184
|
+
{
|
15185
|
+
"name": "tagsToRemove",
|
15186
|
+
"description": "The list of Tags to remove from this Ledger Entry.",
|
15187
|
+
"type": {
|
15188
|
+
"kind": "LIST",
|
15189
|
+
"name": null,
|
15190
|
+
"ofType": {
|
15191
|
+
"kind": "NON_NULL",
|
15192
|
+
"name": null,
|
15193
|
+
"ofType": {
|
15194
|
+
"kind": "INPUT_OBJECT",
|
15195
|
+
"name": "LedgerEntryTagInput",
|
15196
|
+
"ofType": null
|
15197
|
+
}
|
15198
|
+
}
|
15199
|
+
},
|
15200
|
+
"defaultValue": null
|
13411
15201
|
}
|
13412
15202
|
],
|
13413
15203
|
"interfaces": null,
|