@fragment-dev/cli 2026.9.21-12 → 2026.9.21-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,7 +31,9 @@ mutation StoreSchema($schema: SchemaInput!) {
31
31
  }
32
32
  }
33
33
 
34
- mutation DeleteSchema($schema: SchemaMatchInput!) {
34
+ mutation DeleteSchema(
35
+ $schema: SchemaMatchInput!
36
+ ) {
35
37
  deleteSchema(schema: $schema) {
36
38
  __typename
37
39
  ... on DeleteSchemaResult {
@@ -50,8 +52,12 @@ mutation DeleteSchema($schema: SchemaMatchInput!) {
50
52
  }
51
53
  }
52
54
 
53
- mutation CreateLedger($ik: SafeString!, $ledger: CreateLedgerInput!, $schemaKey: SafeString!) {
54
- createLedger(ik: $ik, ledger: $ledger, schema: {key: $schemaKey}) {
55
+ mutation CreateLedger(
56
+ $ik: SafeString!
57
+ $ledger: CreateLedgerInput!
58
+ $schemaKey: SafeString!
59
+ ) {
60
+ createLedger(ik: $ik, ledger: $ledger, schema: { key: $schemaKey }) {
55
61
  __typename
56
62
  ... on CreateLedgerResult {
57
63
  ledger {
@@ -78,7 +84,9 @@ mutation CreateLedger($ik: SafeString!, $ledger: CreateLedgerInput!, $schemaKey:
78
84
  }
79
85
  }
80
86
 
81
- mutation DeleteLedger($ledger: LedgerMatchInput!) {
87
+ mutation DeleteLedger(
88
+ $ledger: LedgerMatchInput!
89
+ ) {
82
90
  deleteLedger(ledger: $ledger) {
83
91
  __typename
84
92
  ... on DeleteLedgerResult {
@@ -97,87 +105,34 @@ mutation DeleteLedger($ledger: LedgerMatchInput!) {
97
105
  }
98
106
  }
99
107
 
100
- mutation InstantiateLedgerAccount($ledger: LedgerMatchInput!, $path: String!, $parameters: Parameters) {
101
- instantiateLedgerAccount(ledger: $ledger, path: $path, parameters: $parameters) {
102
- __typename
103
- ... on InstantiateLedgerAccountResult {
104
- ledgerAccount {
105
- id
106
- path
107
- name
108
- type
109
- created
110
- }
111
- }
112
- ... on BadRequestError {
113
- code
114
- message
115
- retryable
116
- }
117
- ... on InternalError {
118
- code
119
- message
120
- retryable
121
- }
122
- }
123
- }
124
-
125
- mutation AddLedgerEntries($entries: [AddLedgerEntryInput!]!) {
126
- addLedgerEntries(entries: $entries) {
127
- __typename
128
- ... on AddLedgerEntriesResult {
129
- results {
130
- isIkReplay
131
- entry {
132
- type
133
- id
134
- ik
135
- posted
136
- created
137
- }
138
- lines {
139
- id
140
- amount
141
- account {
142
- path
143
- }
144
- }
145
- }
146
- }
147
- ... on AddLedgerEntriesError {
148
- code
149
- message
150
- retryable
151
- errors {
152
- ik
153
- code
154
- message
155
- retryable
156
- }
157
- }
158
- ... on BadRequestError {
159
- code
160
- message
161
- retryable
162
- }
163
- ... on InternalError {
164
- code
165
- message
166
- retryable
167
- }
168
- }
169
- }
170
-
171
- mutation AddLedgerEntry($ik: SafeString!, $ledgerIk: SafeString!, $type: String!, $typeVersion: Int, $posted: DateTime, $parameters: JSON!, $tags: [LedgerEntryTagInput!], $groups: [LedgerEntryGroupInput!]) {
108
+ mutation AddLedgerEntry(
109
+ $ik: SafeString!
110
+ $ledgerIk: SafeString!
111
+ $type: String!
112
+ $typeVersion: Int
113
+ $posted: DateTime
114
+ $parameters: JSON!
115
+ $tags: [LedgerEntryTagInput!]
116
+ $groups: [LedgerEntryGroupInput!]
117
+ ) {
172
118
  addLedgerEntry(
173
119
  ik: $ik
174
- entry: {ledger: {ik: $ledgerIk}, type: $type, typeVersion: $typeVersion, posted: $posted, parameters: $parameters, tags: $tags, groups: $groups}
120
+ entry: {
121
+ ledger: { ik: $ledgerIk }
122
+ type: $type
123
+ typeVersion: $typeVersion
124
+ posted: $posted
125
+ parameters: $parameters
126
+ tags: $tags
127
+ groups: $groups
128
+ }
175
129
  ) {
176
130
  __typename
177
131
  ... on AddLedgerEntryResult {
178
132
  isIkReplay
179
133
  entry {
180
134
  type
135
+ typeVersion
181
136
  id
182
137
  ik
183
138
  posted
@@ -204,7 +159,10 @@ mutation AddLedgerEntry($ik: SafeString!, $ledgerIk: SafeString!, $type: String!
204
159
  }
205
160
  }
206
161
 
207
- mutation ReverseLedgerEntry($id: ID!) {
162
+
163
+ mutation ReverseLedgerEntry(
164
+ $id: ID!
165
+ ) {
208
166
  reverseLedgerEntry(id: $id) {
209
167
  __typename
210
168
  ... on ReverseLedgerEntryResult {
@@ -214,6 +172,7 @@ mutation ReverseLedgerEntry($id: ID!) {
214
172
  created
215
173
  posted
216
174
  type
175
+ typeVersion
217
176
  description
218
177
  hidden
219
178
  lines {
@@ -232,6 +191,7 @@ mutation ReverseLedgerEntry($id: ID!) {
232
191
  created
233
192
  posted
234
193
  type
194
+ typeVersion
235
195
  description
236
196
  hidden
237
197
  lines {
@@ -259,8 +219,14 @@ mutation ReverseLedgerEntry($id: ID!) {
259
219
  }
260
220
  }
261
221
 
262
- mutation MigrateLedgerEntry($id: ID!, $newLedgerEntry: LedgerEntryInput!) {
263
- migrateLedgerEntry(input: {id: $id, newLedgerEntry: $newLedgerEntry}) {
222
+ mutation MigrateLedgerEntry(
223
+ $id: ID!
224
+ $newLedgerEntry: LedgerEntryInput!
225
+ ) {
226
+ migrateLedgerEntry(input: {
227
+ id: $id
228
+ newLedgerEntry: $newLedgerEntry
229
+ }) {
264
230
  __typename
265
231
  ... on MigrateLedgerEntryResult {
266
232
  reversingLedgerEntry {
@@ -335,16 +301,34 @@ mutation MigrateLedgerEntry($id: ID!, $newLedgerEntry: LedgerEntryInput!) {
335
301
  }
336
302
  }
337
303
 
338
- mutation AddLedgerEntryRuntime($ik: SafeString!, $type: String!, $typeVersion: Int, $ledgerIk: SafeString!, $posted: DateTime, $lines: [LedgerLineInput!]!, $tags: [LedgerEntryTagInput!], $groups: [LedgerEntryGroupInput!]) {
304
+ mutation AddLedgerEntryRuntime(
305
+ $ik: SafeString!
306
+ $type: String!
307
+ $typeVersion: Int
308
+ $ledgerIk: SafeString!
309
+ $posted: DateTime
310
+ $lines: [LedgerLineInput!]!
311
+ $tags: [LedgerEntryTagInput!]
312
+ $groups: [LedgerEntryGroupInput!]
313
+ ) {
339
314
  addLedgerEntry(
340
315
  ik: $ik
341
- entry: {type: $type, typeVersion: $typeVersion, ledger: {ik: $ledgerIk}, posted: $posted, lines: $lines, tags: $tags, groups: $groups}
316
+ entry: {
317
+ type: $type
318
+ typeVersion: $typeVersion
319
+ ledger: { ik: $ledgerIk }
320
+ posted: $posted
321
+ lines: $lines
322
+ tags: $tags
323
+ groups: $groups
324
+ }
342
325
  ) {
343
326
  __typename
344
327
  ... on AddLedgerEntryResult {
345
328
  isIkReplay
346
329
  entry {
347
330
  type
331
+ typeVersion
348
332
  id
349
333
  ik
350
334
  posted
@@ -371,9 +355,23 @@ mutation AddLedgerEntryRuntime($ik: SafeString!, $type: String!, $typeVersion: I
371
355
  }
372
356
  }
373
357
 
374
- mutation ReconcileTx($ledgerIk: SafeString!, $type: String!, $typeVersion: Int, $parameters: JSON!, $tags: [LedgerEntryTagInput!], $groups: [LedgerEntryGroupInput!]) {
358
+ mutation ReconcileTx(
359
+ $ledgerIk: SafeString!
360
+ $type: String!
361
+ $typeVersion: Int
362
+ $parameters: JSON!
363
+ $tags: [LedgerEntryTagInput!]
364
+ $groups: [LedgerEntryGroupInput!]
365
+ ) {
375
366
  reconcileTx(
376
- entry: {ledger: {ik: $ledgerIk}, type: $type, typeVersion: $typeVersion, parameters: $parameters, tags: $tags, groups: $groups}
367
+ entry: {
368
+ ledger: { ik: $ledgerIk }
369
+ type: $type
370
+ typeVersion: $typeVersion
371
+ parameters: $parameters
372
+ tags: $tags
373
+ groups: $groups
374
+ }
377
375
  ) {
378
376
  __typename
379
377
  ... on ReconcileTxResult {
@@ -384,6 +382,8 @@ mutation ReconcileTx($ledgerIk: SafeString!, $type: String!, $typeVersion: Int,
384
382
  posted
385
383
  created
386
384
  description
385
+ type
386
+ typeVersion
387
387
  }
388
388
  lines {
389
389
  id
@@ -407,9 +407,23 @@ mutation ReconcileTx($ledgerIk: SafeString!, $type: String!, $typeVersion: Int,
407
407
  }
408
408
  }
409
409
 
410
- mutation ReconcileTxRuntime($ledgerIk: SafeString!, $type: String!, $typeVersion: Int, $lines: [LedgerLineInput!]!, $tags: [LedgerEntryTagInput!], $groups: [LedgerEntryGroupInput!]) {
410
+ mutation ReconcileTxRuntime(
411
+ $ledgerIk: SafeString!
412
+ $type: String!
413
+ $typeVersion: Int
414
+ $lines: [LedgerLineInput!]!
415
+ $tags: [LedgerEntryTagInput!]
416
+ $groups: [LedgerEntryGroupInput!]
417
+ ) {
411
418
  reconcileTx(
412
- entry: {ledger: {ik: $ledgerIk}, type: $type, typeVersion: $typeVersion, lines: $lines, tags: $tags, groups: $groups}
419
+ entry: {
420
+ ledger: { ik: $ledgerIk }
421
+ type: $type
422
+ typeVersion: $typeVersion
423
+ lines: $lines
424
+ tags: $tags
425
+ groups: $groups
426
+ }
413
427
  ) {
414
428
  __typename
415
429
  ... on ReconcileTxResult {
@@ -420,6 +434,8 @@ mutation ReconcileTxRuntime($ledgerIk: SafeString!, $type: String!, $typeVersion
420
434
  posted
421
435
  created
422
436
  description
437
+ type
438
+ typeVersion
423
439
  }
424
440
  lines {
425
441
  id
@@ -443,9 +459,13 @@ mutation ReconcileTxRuntime($ledgerIk: SafeString!, $type: String!, $typeVersion
443
459
  }
444
460
  }
445
461
 
446
- mutation UpdateLedgerEntry($entryIk: SafeString!, $ledgerIk: SafeString!, $update: UpdateLedgerEntryInput!) {
462
+ mutation UpdateLedgerEntry(
463
+ $entryIk: SafeString!
464
+ $ledgerIk: SafeString!
465
+ $update: UpdateLedgerEntryInput!
466
+ ) {
447
467
  updateLedgerEntry(
448
- ledgerEntry: {ik: $entryIk, ledger: {ik: $ledgerIk}}
468
+ ledgerEntry: { ik: $entryIk, ledger: { ik: $ledgerIk } }
449
469
  update: $update
450
470
  ) {
451
471
  __typename
@@ -489,7 +509,7 @@ mutation UpdateLedgerEntry($entryIk: SafeString!, $ledgerIk: SafeString!, $updat
489
509
  }
490
510
 
491
511
  mutation UpdateLedger($ledgerIk: SafeString!, $update: UpdateLedgerInput!) {
492
- updateLedger(ledger: {ik: $ledgerIk}, update: $update) {
512
+ updateLedger(ledger: { ik: $ledgerIk }, update: $update) {
493
513
  __typename
494
514
  ... on UpdateLedgerResult {
495
515
  ledger {
@@ -510,7 +530,6 @@ mutation UpdateLedger($ledgerIk: SafeString!, $update: UpdateLedgerInput!) {
510
530
  }
511
531
  }
512
532
  }
513
-
514
533
  mutation CreateCustomLink($name: String!, $ik: SafeString!) {
515
534
  createCustomLink(name: $name, ik: $ik) {
516
535
  __typename
@@ -536,7 +555,7 @@ mutation CreateCustomLink($name: String!, $ik: SafeString!) {
536
555
  }
537
556
 
538
557
  mutation SyncCustomAccounts($linkId: ID!, $accounts: [CustomAccountInput!]!) {
539
- syncCustomAccounts(link: {id: $linkId}, accounts: $accounts) {
558
+ syncCustomAccounts(link: { id: $linkId }, accounts: $accounts) {
540
559
  __typename
541
560
  ... on SyncCustomAccountsResult {
542
561
  accounts {
@@ -563,7 +582,7 @@ mutation SyncCustomAccounts($linkId: ID!, $accounts: [CustomAccountInput!]!) {
563
582
  }
564
583
 
565
584
  mutation SyncCustomTxs($linkId: ID!, $txs: [CustomTxInput!]!) {
566
- syncCustomTxs(link: {id: $linkId}, txs: $txs) {
585
+ syncCustomTxs(link: { id: $linkId }, txs: $txs) {
567
586
  __typename
568
587
  ... on SyncCustomTxsResult {
569
588
  txs {
@@ -621,7 +640,7 @@ mutation DeleteCustomTxs($txs: [ID!]!) {
621
640
  }
622
641
 
623
642
  query GetLedger($ik: SafeString!) {
624
- ledger(ledger: {ik: $ik}) {
643
+ ledger(ledger: { ik: $ik }) {
625
644
  id
626
645
  ik
627
646
  name
@@ -631,7 +650,7 @@ query GetLedger($ik: SafeString!) {
631
650
  }
632
651
 
633
652
  query GetLedgerEntry($ik: SafeString!, $ledgerIk: SafeString!) {
634
- ledgerEntry(ledgerEntry: {ik: $ik, ledger: {ik: $ledgerIk}}) {
653
+ ledgerEntry(ledgerEntry: { ik: $ik, ledger: { ik: $ledgerIk } }) {
635
654
  id
636
655
  ik
637
656
  posted
@@ -649,8 +668,13 @@ query GetLedgerEntry($ik: SafeString!, $ledgerIk: SafeString!) {
649
668
  }
650
669
  }
651
670
 
652
- query ListLedgerAccounts($ledgerIk: SafeString!, $after: String, $first: Int, $before: String) {
653
- ledger(ledger: {ik: $ledgerIk}) {
671
+ query ListLedgerAccounts(
672
+ $ledgerIk: SafeString!
673
+ $after: String
674
+ $first: Int
675
+ $before: String
676
+ ) {
677
+ ledger(ledger: { ik: $ledgerIk }) {
654
678
  id
655
679
  ik
656
680
  name
@@ -673,8 +697,18 @@ query ListLedgerAccounts($ledgerIk: SafeString!, $after: String, $first: Int, $b
673
697
  }
674
698
  }
675
699
 
676
- query ListLedgerAccountBalances($ledgerIk: SafeString!, $after: String, $first: Int, $before: String, $balanceCurrency: CurrencyMatchInput, $balanceAt: LastMoment, $ownBalanceConsistencyMode: ReadBalanceConsistencyMode, $childBalanceConsistencyMode: ReadBalanceConsistencyMode, $balanceConsistencyMode: ReadBalanceConsistencyMode) {
677
- ledger(ledger: {ik: $ledgerIk}) {
700
+ query ListLedgerAccountBalances(
701
+ $ledgerIk: SafeString!
702
+ $after: String
703
+ $first: Int
704
+ $before: String
705
+ $balanceCurrency: CurrencyMatchInput
706
+ $balanceAt: LastMoment
707
+ $ownBalanceConsistencyMode: ReadBalanceConsistencyMode
708
+ $childBalanceConsistencyMode: ReadBalanceConsistencyMode
709
+ $balanceConsistencyMode: ReadBalanceConsistencyMode
710
+ ) {
711
+ ledger(ledger: { ik: $ledgerIk }) {
678
712
  id
679
713
  ik
680
714
  name
@@ -712,8 +746,17 @@ query ListLedgerAccountBalances($ledgerIk: SafeString!, $after: String, $first:
712
746
  }
713
747
  }
714
748
 
715
- query ListMultiCurrencyLedgerAccountBalances($ledgerIk: SafeString!, $after: String, $first: Int, $before: String, $balanceAt: LastMoment, $ownBalancesConsistencyMode: ReadBalanceConsistencyMode, $childBalancesConsistencyMode: ReadBalanceConsistencyMode, $balancesConsistencyMode: ReadBalanceConsistencyMode) {
716
- ledger(ledger: {ik: $ledgerIk}) {
749
+ query ListMultiCurrencyLedgerAccountBalances(
750
+ $ledgerIk: SafeString!
751
+ $after: String
752
+ $first: Int
753
+ $before: String
754
+ $balanceAt: LastMoment
755
+ $ownBalancesConsistencyMode: ReadBalanceConsistencyMode
756
+ $childBalancesConsistencyMode: ReadBalanceConsistencyMode
757
+ $balancesConsistencyMode: ReadBalanceConsistencyMode
758
+ ) {
759
+ ledger(ledger: { ik: $ledgerIk }) {
717
760
  id
718
761
  ik
719
762
  name
@@ -725,7 +768,10 @@ query ListMultiCurrencyLedgerAccountBalances($ledgerIk: SafeString!, $after: Str
725
768
  name
726
769
  type
727
770
  created
728
- ownBalances(at: $balanceAt, consistencyMode: $ownBalancesConsistencyMode) {
771
+ ownBalances(
772
+ at: $balanceAt
773
+ consistencyMode: $ownBalancesConsistencyMode
774
+ ) {
729
775
  nodes {
730
776
  currency {
731
777
  code
@@ -734,7 +780,10 @@ query ListMultiCurrencyLedgerAccountBalances($ledgerIk: SafeString!, $after: Str
734
780
  amount
735
781
  }
736
782
  }
737
- childBalances(at: $balanceAt, consistencyMode: $childBalancesConsistencyMode) {
783
+ childBalances(
784
+ at: $balanceAt
785
+ consistencyMode: $childBalancesConsistencyMode
786
+ ) {
738
787
  nodes {
739
788
  currency {
740
789
  code
@@ -743,7 +792,10 @@ query ListMultiCurrencyLedgerAccountBalances($ledgerIk: SafeString!, $after: Str
743
792
  amount
744
793
  }
745
794
  }
746
- balances(at: $balanceAt, consistencyMode: $balancesConsistencyMode) {
795
+ balances(
796
+ at: $balanceAt
797
+ consistencyMode: $balancesConsistencyMode
798
+ ) {
747
799
  nodes {
748
800
  currency {
749
801
  code
@@ -763,8 +815,15 @@ query ListMultiCurrencyLedgerAccountBalances($ledgerIk: SafeString!, $after: Str
763
815
  }
764
816
  }
765
817
 
766
- query GetLedgerAccountLines($path: String!, $ledgerIk: SafeString!, $after: String, $first: Int, $before: String, $filter: LedgerLinesFilterSet) {
767
- ledgerAccount(ledgerAccount: {ledger: {ik: $ledgerIk}, path: $path}) {
818
+ query GetLedgerAccountLines(
819
+ $path: String!
820
+ $ledgerIk: SafeString!
821
+ $after: String
822
+ $first: Int
823
+ $before: String
824
+ $filter: LedgerLinesFilterSet
825
+ ) {
826
+ ledgerAccount(ledgerAccount: { ledger: { ik: $ledgerIk }, path: $path }) {
768
827
  id
769
828
  path
770
829
  lines(after: $after, first: $first, before: $before, filter: $filter) {
@@ -785,8 +844,14 @@ query GetLedgerAccountLines($path: String!, $ledgerIk: SafeString!, $after: Stri
785
844
  }
786
845
  }
787
846
 
788
- query GetLedgerAccountBalance($path: String!, $ledgerIk: SafeString!, $balanceCurrency: CurrencyMatchInput, $balanceAt: LastMoment, $balanceConsistencyMode: ReadBalanceConsistencyMode) {
789
- ledgerAccount(ledgerAccount: {ledger: {ik: $ledgerIk}, path: $path}) {
847
+ query GetLedgerAccountBalance(
848
+ $path: String!
849
+ $ledgerIk: SafeString!
850
+ $balanceCurrency: CurrencyMatchInput
851
+ $balanceAt: LastMoment
852
+ $balanceConsistencyMode: ReadBalanceConsistencyMode
853
+ ) {
854
+ ledgerAccount(ledgerAccount: { ledger: { ik: $ledgerIk }, path: $path }) {
790
855
  id
791
856
  path
792
857
  balance(
@@ -798,7 +863,7 @@ query GetLedgerAccountBalance($path: String!, $ledgerIk: SafeString!, $balanceCu
798
863
  }
799
864
 
800
865
  query GetSchema($key: SafeString!, $version: Int) {
801
- schema(schema: {key: $key, version: $version}) {
866
+ schema(schema: { key: $key, version: $version }) {
802
867
  key
803
868
  name
804
869
  version {
@@ -809,12 +874,24 @@ query GetSchema($key: SafeString!, $version: Int) {
809
874
  }
810
875
  }
811
876
 
812
- query ListLedgerEntries($ledgerIk: SafeString!, $after: String, $first: Int, $before: String, $filter: LedgerEntriesFilterSet) {
813
- ledger(ledger: {ik: $ledgerIk}) {
814
- ledgerEntries(after: $after, first: $first, before: $before, filter: $filter) {
877
+ query ListLedgerEntries(
878
+ $ledgerIk: SafeString!
879
+ $after: String
880
+ $first: Int
881
+ $before: String
882
+ $filter: LedgerEntriesFilterSet
883
+ ) {
884
+ ledger(ledger: { ik: $ledgerIk }) {
885
+ ledgerEntries(
886
+ after: $after
887
+ first: $first
888
+ before: $before
889
+ filter: $filter
890
+ ) {
815
891
  nodes {
816
892
  ik
817
893
  type
894
+ typeVersion
818
895
  posted
819
896
  lines {
820
897
  nodes {
@@ -842,20 +919,32 @@ query GetWorkspace {
842
919
  }
843
920
  }
844
921
 
845
- query ListLedgerEntryGroupBalances($ledgerIk: SafeString!, $groupKey: SafeString!, $groupValue: SafeString!, $consistencyMode: ReadBalanceConsistencyMode = use_account, $after: String, $before: String, $first: Int, $last: Int, $filter: LedgerEntryGroupBalanceFilterSet) {
846
- ledgerEntryGroup(
847
- ledgerEntryGroup: {ledger: {ik: $ledgerIk}, key: $groupKey, value: $groupValue}
848
- ) {
922
+ query ListLedgerEntryGroupBalances(
923
+ $ledgerIk: SafeString!
924
+ $groupKey: SafeString!
925
+ $groupValue: SafeString!
926
+ $consistencyMode: ReadBalanceConsistencyMode = use_account
927
+ $after: String
928
+ $before: String
929
+ $first: Int
930
+ $last: Int
931
+ $filter: LedgerEntryGroupBalanceFilterSet
932
+ ) {
933
+ ledgerEntryGroup(ledgerEntryGroup: {
934
+ ledger: { ik: $ledgerIk },
935
+ key: $groupKey,
936
+ value: $groupValue,
937
+ }) {
849
938
  key
850
939
  value
851
940
  created
852
941
  balances(
853
- after: $after
854
- before: $before
855
- first: $first
856
- last: $last
857
- filter: $filter
858
- ) {
942
+ after: $after,
943
+ before: $before,
944
+ first: $first,
945
+ last: $last,
946
+ filter: $filter,
947
+ ){
859
948
  nodes {
860
949
  account {
861
950
  path
@@ -876,8 +965,15 @@ query ListLedgerEntryGroupBalances($ledgerIk: SafeString!, $groupKey: SafeString
876
965
  }
877
966
  }
878
967
 
879
- query GetEntryDataMigrations($ledgerIk: SafeString!, $filter: LedgerEntryDataMigrationsFilterSet, $after: String, $before: String, $first: Int, $last: Int) {
880
- ledger(ledger: {ik: $ledgerIk}) {
968
+ query GetEntryDataMigrations(
969
+ $ledgerIk: SafeString!
970
+ $filter: LedgerEntryDataMigrationsFilterSet
971
+ $after: String
972
+ $before: String
973
+ $first: Int
974
+ $last: Int
975
+ ) {
976
+ ledger(ledger: { ik: $ledgerIk }) {
881
977
  ledgerEntryDataMigrations(
882
978
  first: $first
883
979
  after: $after
@@ -930,13 +1026,33 @@ query GetEntryDataMigrations($ledgerIk: SafeString!, $filter: LedgerEntryDataMig
930
1026
  }
931
1027
  }
932
1028
 
933
- query GetEntriesToMigrateForLedgerEntryDataMigration($ledgerIk: SafeString!, $entryType: String!, $typeVersion: String!, $after: String, $before: String, $first: Int, $last: Int) {
934
- ledger(ledger: {ik: $ledgerIk}) {
1029
+ query GetEntriesToMigrateForLedgerEntryDataMigration(
1030
+ $ledgerIk: SafeString!
1031
+ $entryType: String!
1032
+ $typeVersion: String!
1033
+ $after: String
1034
+ $before: String
1035
+ $first: Int
1036
+ $last: Int
1037
+ ) {
1038
+ ledger(ledger: { ik: $ledgerIk }) {
935
1039
  ledgerEntryDataMigrations(
936
- filter: {entryType: {equalTo: $entryType}, typeVersion: {equalTo: $typeVersion}}
1040
+ filter: {
1041
+ entryType: {
1042
+ equalTo: $entryType
1043
+ }
1044
+ typeVersion: {
1045
+ equalTo: $typeVersion
1046
+ }
1047
+ }
937
1048
  ) {
938
1049
  nodes {
939
- ledgerEntries(first: $first, after: $after, last: $last, before: $before) {
1050
+ ledgerEntries(
1051
+ first: $first
1052
+ after: $after
1053
+ last: $last
1054
+ before: $before
1055
+ ) {
940
1056
  nodes {
941
1057
  id
942
1058
  ik
@@ -951,7 +1067,7 @@ query GetEntriesToMigrateForLedgerEntryDataMigration($ledgerIk: SafeString!, $en
951
1067
  id
952
1068
  amount
953
1069
  account {
954
- path
1070
+ path
955
1071
  }
956
1072
  }
957
1073
  }
@@ -968,8 +1084,15 @@ query GetEntriesToMigrateForLedgerEntryDataMigration($ledgerIk: SafeString!, $en
968
1084
  }
969
1085
  }
970
1086
 
971
- query GetAccountDataMigrations($ledgerIk: SafeString!, $filter: LedgerAccountDataMigrationsFilterSet, $after: String, $before: String, $first: Int, $last: Int) {
972
- ledger(ledger: {ik: $ledgerIk}) {
1087
+ query GetAccountDataMigrations(
1088
+ $ledgerIk: SafeString!
1089
+ $filter: LedgerAccountDataMigrationsFilterSet
1090
+ $after: String
1091
+ $before: String
1092
+ $first: Int
1093
+ $last: Int
1094
+ ) {
1095
+ ledger(ledger: { ik: $ledgerIk }) {
973
1096
  ledgerAccountDataMigrations(
974
1097
  first: $first
975
1098
  after: $after
@@ -1021,11 +1144,29 @@ query GetAccountDataMigrations($ledgerIk: SafeString!, $filter: LedgerAccountDat
1021
1144
  }
1022
1145
  }
1023
1146
 
1024
- query GetEntriesToMigrateForLedgerAccountDataMigration($ledgerIk: SafeString!, $accountPath: String!, $after: String, $before: String, $first: Int, $last: Int) {
1025
- ledger(ledger: {ik: $ledgerIk}) {
1026
- ledgerAccountDataMigrations(filter: {accountPath: {equalTo: $accountPath}}) {
1147
+ query GetEntriesToMigrateForLedgerAccountDataMigration(
1148
+ $ledgerIk: SafeString!
1149
+ $accountPath: String!
1150
+ $after: String
1151
+ $before: String
1152
+ $first: Int
1153
+ $last: Int
1154
+ ) {
1155
+ ledger(ledger: { ik: $ledgerIk }) {
1156
+ ledgerAccountDataMigrations(
1157
+ filter: {
1158
+ accountPath: {
1159
+ equalTo: $accountPath
1160
+ }
1161
+ }
1162
+ ) {
1027
1163
  nodes {
1028
- ledgerEntries(first: $first, after: $after, last: $last, before: $before) {
1164
+ ledgerEntries(
1165
+ first: $first
1166
+ after: $after
1167
+ last: $last
1168
+ before: $before
1169
+ ) {
1029
1170
  nodes {
1030
1171
  id
1031
1172
  ik
@@ -1057,9 +1198,19 @@ query GetEntriesToMigrateForLedgerAccountDataMigration($ledgerIk: SafeString!, $
1057
1198
  }
1058
1199
  }
1059
1200
 
1060
- mutation CreateCustomCurrency($id: SafeString!, $name: String!, $precision: Int!, $customCode: String!) {
1201
+ mutation CreateCustomCurrency(
1202
+ $id: SafeString!,
1203
+ $name: String!,
1204
+ $precision: Int!,
1205
+ $customCode: String!,
1206
+ ) {
1061
1207
  createCustomCurrency(
1062
- customCurrency: {customCurrencyId: $id, name: $name, precision: $precision, customCode: $customCode}
1208
+ customCurrency: {
1209
+ customCurrencyId: $id,
1210
+ name: $name,
1211
+ precision: $precision,
1212
+ customCode: $customCode,
1213
+ }
1063
1214
  ) {
1064
1215
  __typename
1065
1216
  ... on CreateCustomCurrencyResult {
@@ -1084,17 +1235,35 @@ mutation CreateCustomCurrency($id: SafeString!, $name: String!, $precision: Int!
1084
1235
  }
1085
1236
  }
1086
1237
 
1087
- mutation CreatePayment($ik: SafeString!, $ledgerIk: SafeString!, $type: SafeString!, $typeVersion: Int!, $parameters: JSON) {
1238
+ mutation CreatePayment(
1239
+ $ik: SafeString!
1240
+ $ledgerIk: SafeString!
1241
+ $type: SafeString!
1242
+ $typeVersion: Int!
1243
+ $parameters: JSON
1244
+ ) {
1088
1245
  createPayment(
1089
1246
  ik: $ik
1090
- ledger: {ik: $ledgerIk}
1091
- payment: {type: $type, typeVersion: $typeVersion, parameters: $parameters}
1247
+ ledger: { ik: $ledgerIk }
1248
+ payment: {
1249
+ type: $type
1250
+ typeVersion: $typeVersion
1251
+ parameters: $parameters
1252
+ }
1092
1253
  ) {
1093
1254
  __typename
1094
1255
  ... on CreatePaymentResult {
1095
1256
  payment {
1096
1257
  clientSecret
1258
+ ik
1259
+ ledger {
1260
+ id
1261
+ }
1097
1262
  status
1263
+ amount
1264
+ type
1265
+ typeVersion
1266
+ created
1098
1267
  }
1099
1268
  }
1100
1269
  ... on BadRequestError {
@@ -1109,50 +1278,6 @@ mutation CreatePayment($ik: SafeString!, $ledgerIk: SafeString!, $type: SafeStri
1109
1278
  }
1110
1279
  }
1111
1280
  }
1112
-
1113
- query GetPayment($ik: SafeString!, $ledgerIk: SafeString!) {
1114
- payment(payment: {ik: $ik, ledger: {ik: $ledgerIk}}) {
1115
- id
1116
- ik
1117
- amount
1118
- currency {
1119
- code
1120
- name
1121
- precision
1122
- }
1123
- status
1124
- type
1125
- typeVersion
1126
- mode
1127
- parameters
1128
- created
1129
- }
1130
- }
1131
-
1132
- query ListPayments($ledgerIk: SafeString!, $after: String, $first: Int, $before: String, $filter: PaymentsFilterSet) {
1133
- ledger(ledger: {ik: $ledgerIk}) {
1134
- payments(after: $after, first: $first, before: $before, filter: $filter) {
1135
- nodes {
1136
- id
1137
- ik
1138
- amount
1139
- currency {
1140
- code
1141
- }
1142
- status
1143
- type
1144
- typeVersion
1145
- created
1146
- }
1147
- pageInfo {
1148
- hasNextPage
1149
- endCursor
1150
- hasPreviousPage
1151
- startCursor
1152
- }
1153
- }
1154
- }
1155
- }
1156
1281
  `;
1157
1282
 
1158
1283
  export {
@@ -30,7 +30,7 @@ import {
30
30
  } from "./chunk-6C4LKF7W.js";
31
31
  import {
32
32
  GenGraphQL
33
- } from "./chunk-AAYOKDXO.js";
33
+ } from "./chunk-LDZO7V5Y.js";
34
34
  import {
35
35
  GetSchema
36
36
  } from "./chunk-BUSRW7FZ.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  standardQueries
3
- } from "./chunk-6BCVSZFE.js";
3
+ } from "./chunk-7GWSUHUD.js";
4
4
  import {
5
5
  InvalidGraphQlError
6
6
  } from "./chunk-ZMFGVGZP.js";
@@ -4,7 +4,7 @@ import {
4
4
  schemaToEntryDefinitions,
5
5
  schemaToPaymentDefinitions,
6
6
  validateOutputName
7
- } from "./chunk-4JVCHTFG.js";
7
+ } from "./chunk-HNXSOQZR.js";
8
8
  import {
9
9
  Schema,
10
10
  parseWithError
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  GenGraphQL
3
- } from "../chunk-AAYOKDXO.js";
4
- import "../chunk-4JVCHTFG.js";
5
- import "../chunk-6BCVSZFE.js";
3
+ } from "../chunk-LDZO7V5Y.js";
4
+ import "../chunk-HNXSOQZR.js";
5
+ import "../chunk-7GWSUHUD.js";
6
6
  import "../chunk-ZMFGVGZP.js";
7
7
  import "../chunk-PDBMPOWO.js";
8
8
  import "../chunk-NRCYIEHQ.js";
package/dist/commands.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  COMMANDS
3
- } from "./chunk-TFI5IJD4.js";
3
+ } from "./chunk-CF5YCSII.js";
4
4
  import "./chunk-TZNA4KRJ.js";
5
5
  import "./chunk-XN23M5N7.js";
6
6
  import "./chunk-YBZUHA4G.js";
@@ -13,9 +13,9 @@ import "./chunk-6U6BM2J2.js";
13
13
  import "./chunk-6C4LKF7W.js";
14
14
  import "./chunk-SPDDJSCO.js";
15
15
  import "./chunk-A4BSWX5D.js";
16
- import "./chunk-AAYOKDXO.js";
17
- import "./chunk-4JVCHTFG.js";
18
- import "./chunk-6BCVSZFE.js";
16
+ import "./chunk-LDZO7V5Y.js";
17
+ import "./chunk-HNXSOQZR.js";
18
+ import "./chunk-7GWSUHUD.js";
19
19
  import "./chunk-ZMFGVGZP.js";
20
20
  import "./chunk-PDBMPOWO.js";
21
21
  import "./chunk-NRCYIEHQ.js";
package/dist/graphql.js CHANGED
@@ -11,8 +11,8 @@ import {
11
11
  schemaToEntryDefinitions,
12
12
  schemaToPaymentDefinitions,
13
13
  validateOutputName
14
- } from "./chunk-4JVCHTFG.js";
15
- import "./chunk-6BCVSZFE.js";
14
+ } from "./chunk-HNXSOQZR.js";
15
+ import "./chunk-7GWSUHUD.js";
16
16
  import "./chunk-ZMFGVGZP.js";
17
17
  import "./chunk-54IT64QD.js";
18
18
  import "./chunk-FJ6QHDIV.js";
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  COMMANDS
3
- } from "./chunk-TFI5IJD4.js";
3
+ } from "./chunk-CF5YCSII.js";
4
4
  import "./chunk-TZNA4KRJ.js";
5
5
  import "./chunk-XN23M5N7.js";
6
6
  import "./chunk-YBZUHA4G.js";
@@ -13,9 +13,9 @@ import "./chunk-6U6BM2J2.js";
13
13
  import "./chunk-6C4LKF7W.js";
14
14
  import "./chunk-SPDDJSCO.js";
15
15
  import "./chunk-A4BSWX5D.js";
16
- import "./chunk-AAYOKDXO.js";
17
- import "./chunk-4JVCHTFG.js";
18
- import "./chunk-6BCVSZFE.js";
16
+ import "./chunk-LDZO7V5Y.js";
17
+ import "./chunk-HNXSOQZR.js";
18
+ import "./chunk-7GWSUHUD.js";
19
19
  import "./chunk-ZMFGVGZP.js";
20
20
  import "./chunk-PDBMPOWO.js";
21
21
  import "./chunk-NRCYIEHQ.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  standardQueries
3
- } from "../chunk-6BCVSZFE.js";
3
+ } from "../chunk-7GWSUHUD.js";
4
4
  import "../chunk-7GH3YGSC.js";
5
5
  export {
6
6
  standardQueries
@@ -1096,5 +1096,5 @@
1096
1096
  "help": "Generate GraphQL queries from your Schema for your SDK."
1097
1097
  }
1098
1098
  },
1099
- "version": "2026.9.21-12"
1099
+ "version": "2026.9.21-3"
1100
1100
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fragment-dev/cli",
3
- "version": "2026.9.21-12",
3
+ "version": "2026.9.21-3",
4
4
  "description": "FRAGMENT CLI",
5
5
  "author": "hello@fragment.dev",
6
6
  "bin": {
@@ -10,12 +10,6 @@
10
10
  "license": "MIT",
11
11
  "type": "module",
12
12
  "repository": "fragment-dev/workspaces",
13
- "nx": {
14
- "//": "standardQueries.test.ts reads customerApi's exported schema file, a dependency nx can't infer from package.json.",
15
- "implicitDependencies": [
16
- "@fragment/customer-api-sst"
17
- ]
18
- },
19
13
  "files": [
20
14
  "/bin",
21
15
  "/dist",