fragment-dev 2.0.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/fragment.schema.json +1712 -261
- data/lib/fragment_client/graphql_ast.rb +73 -0
- data/lib/fragment_client/typed_entries.rb +444 -0
- data/lib/fragment_client/typed_ledger_entry.rb +281 -0
- data/lib/fragment_client/version.rb +1 -1
- data/lib/fragment_client.rb +169 -16
- data/lib/queries.graphql +80 -0
- data/lib/tapioca/dsl/compilers/fragment_query_methods.rb +61 -0
- data/lib/tapioca/dsl/compilers/fragment_response_types.rb +222 -0
- data/lib/tapioca/dsl/compilers/fragment_typed_entries.rb +169 -0
- data/lib/tapioca/dsl/helpers/graphql_sorbet_types.rb +53 -0
- metadata +9 -2
data/lib/fragment.schema.json
CHANGED
|
@@ -9,6 +9,281 @@
|
|
|
9
9
|
},
|
|
10
10
|
"subscriptionType": null,
|
|
11
11
|
"types": [
|
|
12
|
+
{
|
|
13
|
+
"kind": "OBJECT",
|
|
14
|
+
"name": "AddLedgerEntriesError",
|
|
15
|
+
"description": "Error returned when one or more Ledger Entries in the batch could not be added.",
|
|
16
|
+
"fields": [
|
|
17
|
+
{
|
|
18
|
+
"name": "code",
|
|
19
|
+
"description": "The status code of error. For example, 'ledger_entry_batch_operation_failed'.",
|
|
20
|
+
"args": [],
|
|
21
|
+
"type": {
|
|
22
|
+
"kind": "NON_NULL",
|
|
23
|
+
"name": null,
|
|
24
|
+
"ofType": {
|
|
25
|
+
"kind": "SCALAR",
|
|
26
|
+
"name": "String",
|
|
27
|
+
"ofType": null
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"isDeprecated": false,
|
|
31
|
+
"deprecationReason": null
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "errors",
|
|
35
|
+
"description": "The list of errors for each Ledger Entry that was responsible for the batch's failure.",
|
|
36
|
+
"args": [],
|
|
37
|
+
"type": {
|
|
38
|
+
"kind": "NON_NULL",
|
|
39
|
+
"name": null,
|
|
40
|
+
"ofType": {
|
|
41
|
+
"kind": "LIST",
|
|
42
|
+
"name": null,
|
|
43
|
+
"ofType": {
|
|
44
|
+
"kind": "NON_NULL",
|
|
45
|
+
"name": null,
|
|
46
|
+
"ofType": {
|
|
47
|
+
"kind": "OBJECT",
|
|
48
|
+
"name": "AddLedgerEntryError",
|
|
49
|
+
"ofType": null
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"isDeprecated": false,
|
|
55
|
+
"deprecationReason": null
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "message",
|
|
59
|
+
"description": "The error message",
|
|
60
|
+
"args": [],
|
|
61
|
+
"type": {
|
|
62
|
+
"kind": "NON_NULL",
|
|
63
|
+
"name": null,
|
|
64
|
+
"ofType": {
|
|
65
|
+
"kind": "SCALAR",
|
|
66
|
+
"name": "String",
|
|
67
|
+
"ofType": null
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"isDeprecated": false,
|
|
71
|
+
"deprecationReason": null
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "retryable",
|
|
75
|
+
"description": "Whether or not the operation is retryable",
|
|
76
|
+
"args": [],
|
|
77
|
+
"type": {
|
|
78
|
+
"kind": "NON_NULL",
|
|
79
|
+
"name": null,
|
|
80
|
+
"ofType": {
|
|
81
|
+
"kind": "SCALAR",
|
|
82
|
+
"name": "Boolean",
|
|
83
|
+
"ofType": null
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"isDeprecated": false,
|
|
87
|
+
"deprecationReason": null
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"inputFields": null,
|
|
91
|
+
"interfaces": [
|
|
92
|
+
{
|
|
93
|
+
"kind": "INTERFACE",
|
|
94
|
+
"name": "Error",
|
|
95
|
+
"ofType": null
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"enumValues": null,
|
|
99
|
+
"possibleTypes": null
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"kind": "UNION",
|
|
103
|
+
"name": "AddLedgerEntriesResponse",
|
|
104
|
+
"description": null,
|
|
105
|
+
"fields": null,
|
|
106
|
+
"inputFields": null,
|
|
107
|
+
"interfaces": null,
|
|
108
|
+
"enumValues": null,
|
|
109
|
+
"possibleTypes": [
|
|
110
|
+
{
|
|
111
|
+
"kind": "OBJECT",
|
|
112
|
+
"name": "AddLedgerEntriesError",
|
|
113
|
+
"ofType": null
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"kind": "OBJECT",
|
|
117
|
+
"name": "AddLedgerEntriesResult",
|
|
118
|
+
"ofType": null
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"kind": "OBJECT",
|
|
122
|
+
"name": "BadRequestError",
|
|
123
|
+
"ofType": null
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"kind": "OBJECT",
|
|
127
|
+
"name": "InternalError",
|
|
128
|
+
"ofType": null
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"kind": "OBJECT",
|
|
134
|
+
"name": "AddLedgerEntriesResult",
|
|
135
|
+
"description": null,
|
|
136
|
+
"fields": [
|
|
137
|
+
{
|
|
138
|
+
"name": "results",
|
|
139
|
+
"description": "The added Ledger Entries, in the same order as the input",
|
|
140
|
+
"args": [],
|
|
141
|
+
"type": {
|
|
142
|
+
"kind": "NON_NULL",
|
|
143
|
+
"name": null,
|
|
144
|
+
"ofType": {
|
|
145
|
+
"kind": "LIST",
|
|
146
|
+
"name": null,
|
|
147
|
+
"ofType": {
|
|
148
|
+
"kind": "NON_NULL",
|
|
149
|
+
"name": null,
|
|
150
|
+
"ofType": {
|
|
151
|
+
"kind": "OBJECT",
|
|
152
|
+
"name": "AddLedgerEntryResult",
|
|
153
|
+
"ofType": null
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"isDeprecated": false,
|
|
159
|
+
"deprecationReason": null
|
|
160
|
+
}
|
|
161
|
+
],
|
|
162
|
+
"inputFields": null,
|
|
163
|
+
"interfaces": [],
|
|
164
|
+
"enumValues": null,
|
|
165
|
+
"possibleTypes": null
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"kind": "OBJECT",
|
|
169
|
+
"name": "AddLedgerEntryError",
|
|
170
|
+
"description": "Error details for a single Ledger Entry that was responsible for the batch's failure.",
|
|
171
|
+
"fields": [
|
|
172
|
+
{
|
|
173
|
+
"name": "code",
|
|
174
|
+
"description": "The status code of error. For example, 'ledger_entry_too_many_lines'.",
|
|
175
|
+
"args": [],
|
|
176
|
+
"type": {
|
|
177
|
+
"kind": "NON_NULL",
|
|
178
|
+
"name": null,
|
|
179
|
+
"ofType": {
|
|
180
|
+
"kind": "SCALAR",
|
|
181
|
+
"name": "String",
|
|
182
|
+
"ofType": null
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"isDeprecated": false,
|
|
186
|
+
"deprecationReason": null
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "ik",
|
|
190
|
+
"description": "The [Idempotency Key](https://fragment.dev/api-reference/api-overview#idempotency) of the Ledger Entry",
|
|
191
|
+
"args": [],
|
|
192
|
+
"type": {
|
|
193
|
+
"kind": "NON_NULL",
|
|
194
|
+
"name": null,
|
|
195
|
+
"ofType": {
|
|
196
|
+
"kind": "SCALAR",
|
|
197
|
+
"name": "SafeString",
|
|
198
|
+
"ofType": null
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"isDeprecated": false,
|
|
202
|
+
"deprecationReason": null
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"name": "message",
|
|
206
|
+
"description": "The error message",
|
|
207
|
+
"args": [],
|
|
208
|
+
"type": {
|
|
209
|
+
"kind": "NON_NULL",
|
|
210
|
+
"name": null,
|
|
211
|
+
"ofType": {
|
|
212
|
+
"kind": "SCALAR",
|
|
213
|
+
"name": "String",
|
|
214
|
+
"ofType": null
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"isDeprecated": false,
|
|
218
|
+
"deprecationReason": null
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "retryable",
|
|
222
|
+
"description": "Whether or not the operation is retryable",
|
|
223
|
+
"args": [],
|
|
224
|
+
"type": {
|
|
225
|
+
"kind": "NON_NULL",
|
|
226
|
+
"name": null,
|
|
227
|
+
"ofType": {
|
|
228
|
+
"kind": "SCALAR",
|
|
229
|
+
"name": "Boolean",
|
|
230
|
+
"ofType": null
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"isDeprecated": false,
|
|
234
|
+
"deprecationReason": null
|
|
235
|
+
}
|
|
236
|
+
],
|
|
237
|
+
"inputFields": null,
|
|
238
|
+
"interfaces": [
|
|
239
|
+
{
|
|
240
|
+
"kind": "INTERFACE",
|
|
241
|
+
"name": "Error",
|
|
242
|
+
"ofType": null
|
|
243
|
+
}
|
|
244
|
+
],
|
|
245
|
+
"enumValues": null,
|
|
246
|
+
"possibleTypes": null
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"kind": "INPUT_OBJECT",
|
|
250
|
+
"name": "AddLedgerEntryInput",
|
|
251
|
+
"description": null,
|
|
252
|
+
"fields": null,
|
|
253
|
+
"inputFields": [
|
|
254
|
+
{
|
|
255
|
+
"name": "entry",
|
|
256
|
+
"description": "The [Ledger Entry](https://fragment.dev/api-reference/api-types#input-types-ledgerentryinput) to add",
|
|
257
|
+
"type": {
|
|
258
|
+
"kind": "NON_NULL",
|
|
259
|
+
"name": null,
|
|
260
|
+
"ofType": {
|
|
261
|
+
"kind": "INPUT_OBJECT",
|
|
262
|
+
"name": "LedgerEntryInput",
|
|
263
|
+
"ofType": null
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"defaultValue": null
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"name": "ik",
|
|
270
|
+
"description": "The [Idempotency Key](https://fragment.dev/api-reference/api-overview#idempotency) for this Ledger Entry",
|
|
271
|
+
"type": {
|
|
272
|
+
"kind": "NON_NULL",
|
|
273
|
+
"name": null,
|
|
274
|
+
"ofType": {
|
|
275
|
+
"kind": "SCALAR",
|
|
276
|
+
"name": "SafeString",
|
|
277
|
+
"ofType": null
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
"defaultValue": null
|
|
281
|
+
}
|
|
282
|
+
],
|
|
283
|
+
"interfaces": null,
|
|
284
|
+
"enumValues": null,
|
|
285
|
+
"possibleTypes": null
|
|
286
|
+
},
|
|
12
287
|
{
|
|
13
288
|
"kind": "UNION",
|
|
14
289
|
"name": "AddLedgerEntryResponse",
|
|
@@ -312,7 +587,7 @@
|
|
|
312
587
|
{
|
|
313
588
|
"kind": "ENUM",
|
|
314
589
|
"name": "BalanceUpdateConsistencyMode",
|
|
315
|
-
"description": "Used to configure the write-consistency of a Ledger Account's balance. See [Configure consistency](https://fragment.dev/
|
|
590
|
+
"description": "Used to configure the write-consistency of a Ledger Account's balance. See [Configure consistency](https://fragment.dev/guides/configure-consistency).",
|
|
316
591
|
"fields": null,
|
|
317
592
|
"inputFields": null,
|
|
318
593
|
"interfaces": null,
|
|
@@ -372,7 +647,7 @@
|
|
|
372
647
|
},
|
|
373
648
|
{
|
|
374
649
|
"name": "defaultConsistencyConfig",
|
|
375
|
-
"description": "The default consistency configuration for all Ledger Accounts in this Schema. \nIf a Ledger Account does not specify its own consistency configuration, it will use the default values provided here. \n\nSee [Configure consistency](https://fragment.dev/
|
|
650
|
+
"description": "The default consistency configuration for all Ledger Accounts in this Schema. \nIf a Ledger Account does not specify its own consistency configuration, it will use the default values provided here. \n\nSee [Configure consistency](https://fragment.dev/guides/configure-consistency).",
|
|
376
651
|
"type": {
|
|
377
652
|
"kind": "INPUT_OBJECT",
|
|
378
653
|
"name": "LedgerAccountConsistencyConfigInput",
|
|
@@ -774,7 +1049,7 @@
|
|
|
774
1049
|
},
|
|
775
1050
|
{
|
|
776
1051
|
"name": "consistencyConfig",
|
|
777
|
-
"description": "The consistency configuration for this ledger account. See [Configure consistency](https://fragment.dev/
|
|
1052
|
+
"description": "The consistency configuration for this ledger account. See [Configure consistency](https://fragment.dev/guides/configure-consistency).",
|
|
778
1053
|
"type": {
|
|
779
1054
|
"kind": "INPUT_OBJECT",
|
|
780
1055
|
"name": "LedgerAccountConsistencyConfigInput",
|
|
@@ -818,7 +1093,7 @@
|
|
|
818
1093
|
},
|
|
819
1094
|
{
|
|
820
1095
|
"name": "linkedAccount",
|
|
821
|
-
"description": "The External Account to link to this Ledger Account. This can only be specified on leaf Ledger Accounts. See [Reconcile payments](https://fragment.dev/
|
|
1096
|
+
"description": "The External Account to link to this Ledger Account. This can only be specified on leaf Ledger Accounts. See [Reconcile payments](https://fragment.dev/guides/reconcile-payments).",
|
|
822
1097
|
"type": {
|
|
823
1098
|
"kind": "INPUT_OBJECT",
|
|
824
1099
|
"name": "ExternalAccountMatchInput",
|
|
@@ -1065,7 +1340,78 @@
|
|
|
1065
1340
|
"possibleTypes": null
|
|
1066
1341
|
},
|
|
1067
1342
|
{
|
|
1068
|
-
"kind": "
|
|
1343
|
+
"kind": "INPUT_OBJECT",
|
|
1344
|
+
"name": "CreatePaymentInput",
|
|
1345
|
+
"description": "EXPERIMENTAL: The Payment to create.",
|
|
1346
|
+
"fields": null,
|
|
1347
|
+
"inputFields": [
|
|
1348
|
+
{
|
|
1349
|
+
"name": "parameters",
|
|
1350
|
+
"description": "Parameters for the specific Payment Type. Must be a key-value pair of strings. Must be a flat object: nested objects and arrays are rejected.",
|
|
1351
|
+
"type": {
|
|
1352
|
+
"kind": "SCALAR",
|
|
1353
|
+
"name": "JSON",
|
|
1354
|
+
"ofType": null
|
|
1355
|
+
},
|
|
1356
|
+
"defaultValue": null
|
|
1357
|
+
},
|
|
1358
|
+
{
|
|
1359
|
+
"name": "type",
|
|
1360
|
+
"description": "The type of the Payment. Must be defined in the Schema linked to the Ledger.",
|
|
1361
|
+
"type": {
|
|
1362
|
+
"kind": "NON_NULL",
|
|
1363
|
+
"name": null,
|
|
1364
|
+
"ofType": {
|
|
1365
|
+
"kind": "SCALAR",
|
|
1366
|
+
"name": "SafeString",
|
|
1367
|
+
"ofType": null
|
|
1368
|
+
}
|
|
1369
|
+
},
|
|
1370
|
+
"defaultValue": null
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
"name": "typeVersion",
|
|
1374
|
+
"description": "The version of the Payment Type. Defaults to the latest active version.",
|
|
1375
|
+
"type": {
|
|
1376
|
+
"kind": "SCALAR",
|
|
1377
|
+
"name": "Int",
|
|
1378
|
+
"ofType": null
|
|
1379
|
+
},
|
|
1380
|
+
"defaultValue": null
|
|
1381
|
+
}
|
|
1382
|
+
],
|
|
1383
|
+
"interfaces": null,
|
|
1384
|
+
"enumValues": null,
|
|
1385
|
+
"possibleTypes": null
|
|
1386
|
+
},
|
|
1387
|
+
{
|
|
1388
|
+
"kind": "UNION",
|
|
1389
|
+
"name": "CreatePaymentResponse",
|
|
1390
|
+
"description": null,
|
|
1391
|
+
"fields": null,
|
|
1392
|
+
"inputFields": null,
|
|
1393
|
+
"interfaces": null,
|
|
1394
|
+
"enumValues": null,
|
|
1395
|
+
"possibleTypes": [
|
|
1396
|
+
{
|
|
1397
|
+
"kind": "OBJECT",
|
|
1398
|
+
"name": "BadRequestError",
|
|
1399
|
+
"ofType": null
|
|
1400
|
+
},
|
|
1401
|
+
{
|
|
1402
|
+
"kind": "OBJECT",
|
|
1403
|
+
"name": "InternalError",
|
|
1404
|
+
"ofType": null
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
"kind": "OBJECT",
|
|
1408
|
+
"name": "Payment",
|
|
1409
|
+
"ofType": null
|
|
1410
|
+
}
|
|
1411
|
+
]
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
"kind": "OBJECT",
|
|
1069
1415
|
"name": "Currency",
|
|
1070
1416
|
"description": null,
|
|
1071
1417
|
"fields": [
|
|
@@ -2764,6 +3110,26 @@
|
|
|
2764
3110
|
}
|
|
2765
3111
|
},
|
|
2766
3112
|
"defaultValue": null
|
|
3113
|
+
},
|
|
3114
|
+
{
|
|
3115
|
+
"name": "within",
|
|
3116
|
+
"description": "Must fall within the given period. Supports a year (e.g. \"2026\") or a month (e.g. \"2026-05\"). To match a specific day, use `equalTo`. Cannot be combined with `withinBalanceUTCOffset`.",
|
|
3117
|
+
"type": {
|
|
3118
|
+
"kind": "SCALAR",
|
|
3119
|
+
"name": "PeriodFilter",
|
|
3120
|
+
"ofType": null
|
|
3121
|
+
},
|
|
3122
|
+
"defaultValue": null
|
|
3123
|
+
},
|
|
3124
|
+
{
|
|
3125
|
+
"name": "withinBalanceUTCOffset",
|
|
3126
|
+
"description": "Must fall within the given period, taking into account the Ledger's `balanceUTCOffset`. Supports a year (e.g. \"2026\") or a month (e.g. \"2026-05\"). Cannot be combined with `within`.",
|
|
3127
|
+
"type": {
|
|
3128
|
+
"kind": "SCALAR",
|
|
3129
|
+
"name": "PeriodFilter",
|
|
3130
|
+
"ofType": null
|
|
3131
|
+
},
|
|
3132
|
+
"defaultValue": null
|
|
2767
3133
|
}
|
|
2768
3134
|
],
|
|
2769
3135
|
"interfaces": null,
|
|
@@ -3102,6 +3468,16 @@
|
|
|
3102
3468
|
"interfaces": [],
|
|
3103
3469
|
"enumValues": null,
|
|
3104
3470
|
"possibleTypes": [
|
|
3471
|
+
{
|
|
3472
|
+
"kind": "OBJECT",
|
|
3473
|
+
"name": "AddLedgerEntriesError",
|
|
3474
|
+
"ofType": null
|
|
3475
|
+
},
|
|
3476
|
+
{
|
|
3477
|
+
"kind": "OBJECT",
|
|
3478
|
+
"name": "AddLedgerEntryError",
|
|
3479
|
+
"ofType": null
|
|
3480
|
+
},
|
|
3105
3481
|
{
|
|
3106
3482
|
"kind": "OBJECT",
|
|
3107
3483
|
"name": "BadRequestError",
|
|
@@ -3185,7 +3561,7 @@
|
|
|
3185
3561
|
"args": [
|
|
3186
3562
|
{
|
|
3187
3563
|
"name": "after",
|
|
3188
|
-
"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/
|
|
3564
|
+
"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/guides/query-data#basics-pagination).",
|
|
3189
3565
|
"type": {
|
|
3190
3566
|
"kind": "SCALAR",
|
|
3191
3567
|
"name": "String",
|
|
@@ -3195,7 +3571,7 @@
|
|
|
3195
3571
|
},
|
|
3196
3572
|
{
|
|
3197
3573
|
"name": "before",
|
|
3198
|
-
"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/
|
|
3574
|
+
"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/guides/query-data#basics-pagination).",
|
|
3199
3575
|
"type": {
|
|
3200
3576
|
"kind": "SCALAR",
|
|
3201
3577
|
"name": "String",
|
|
@@ -3290,7 +3666,7 @@
|
|
|
3290
3666
|
"args": [
|
|
3291
3667
|
{
|
|
3292
3668
|
"name": "after",
|
|
3293
|
-
"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/
|
|
3669
|
+
"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/guides/query-data#basics-pagination).",
|
|
3294
3670
|
"type": {
|
|
3295
3671
|
"kind": "SCALAR",
|
|
3296
3672
|
"name": "String",
|
|
@@ -3300,7 +3676,7 @@
|
|
|
3300
3676
|
},
|
|
3301
3677
|
{
|
|
3302
3678
|
"name": "before",
|
|
3303
|
-
"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/
|
|
3679
|
+
"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/guides/query-data#basics-pagination).",
|
|
3304
3680
|
"type": {
|
|
3305
3681
|
"kind": "SCALAR",
|
|
3306
3682
|
"name": "String",
|
|
@@ -4502,7 +4878,7 @@
|
|
|
4502
4878
|
"args": [
|
|
4503
4879
|
{
|
|
4504
4880
|
"name": "after",
|
|
4505
|
-
"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/
|
|
4881
|
+
"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/guides/query-data#basics-pagination).",
|
|
4506
4882
|
"type": {
|
|
4507
4883
|
"kind": "SCALAR",
|
|
4508
4884
|
"name": "String",
|
|
@@ -4512,7 +4888,7 @@
|
|
|
4512
4888
|
},
|
|
4513
4889
|
{
|
|
4514
4890
|
"name": "before",
|
|
4515
|
-
"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/
|
|
4891
|
+
"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/guides/query-data#basics-pagination).",
|
|
4516
4892
|
"type": {
|
|
4517
4893
|
"kind": "SCALAR",
|
|
4518
4894
|
"name": "String",
|
|
@@ -4591,7 +4967,7 @@
|
|
|
4591
4967
|
"args": [
|
|
4592
4968
|
{
|
|
4593
4969
|
"name": "after",
|
|
4594
|
-
"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/
|
|
4970
|
+
"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/guides/query-data#basics-pagination).",
|
|
4595
4971
|
"type": {
|
|
4596
4972
|
"kind": "SCALAR",
|
|
4597
4973
|
"name": "String",
|
|
@@ -4601,7 +4977,7 @@
|
|
|
4601
4977
|
},
|
|
4602
4978
|
{
|
|
4603
4979
|
"name": "before",
|
|
4604
|
-
"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/
|
|
4980
|
+
"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/guides/query-data#basics-pagination).",
|
|
4605
4981
|
"type": {
|
|
4606
4982
|
"kind": "SCALAR",
|
|
4607
4983
|
"name": "String",
|
|
@@ -4658,7 +5034,7 @@
|
|
|
4658
5034
|
"args": [
|
|
4659
5035
|
{
|
|
4660
5036
|
"name": "after",
|
|
4661
|
-
"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/
|
|
5037
|
+
"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/guides/query-data#basics-pagination).",
|
|
4662
5038
|
"type": {
|
|
4663
5039
|
"kind": "SCALAR",
|
|
4664
5040
|
"name": "String",
|
|
@@ -4668,7 +5044,7 @@
|
|
|
4668
5044
|
},
|
|
4669
5045
|
{
|
|
4670
5046
|
"name": "before",
|
|
4671
|
-
"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/
|
|
5047
|
+
"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/guides/query-data#basics-pagination).",
|
|
4672
5048
|
"type": {
|
|
4673
5049
|
"kind": "SCALAR",
|
|
4674
5050
|
"name": "String",
|
|
@@ -4678,7 +5054,7 @@
|
|
|
4678
5054
|
},
|
|
4679
5055
|
{
|
|
4680
5056
|
"name": "filter",
|
|
4681
|
-
"description": "Filter the Ledger Accounts returned. Learn more about [querying Ledger Accounts](https://fragment.dev/
|
|
5057
|
+
"description": "Filter the Ledger Accounts returned. Learn more about [querying Ledger Accounts](https://fragment.dev/guides/query-data/ledger-accounts).",
|
|
4682
5058
|
"type": {
|
|
4683
5059
|
"kind": "INPUT_OBJECT",
|
|
4684
5060
|
"name": "LedgerAccountsFilterSet",
|
|
@@ -4725,7 +5101,7 @@
|
|
|
4725
5101
|
"args": [
|
|
4726
5102
|
{
|
|
4727
5103
|
"name": "after",
|
|
4728
|
-
"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/
|
|
5104
|
+
"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/guides/query-data#basics-pagination).",
|
|
4729
5105
|
"type": {
|
|
4730
5106
|
"kind": "SCALAR",
|
|
4731
5107
|
"name": "String",
|
|
@@ -4735,7 +5111,7 @@
|
|
|
4735
5111
|
},
|
|
4736
5112
|
{
|
|
4737
5113
|
"name": "before",
|
|
4738
|
-
"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/
|
|
5114
|
+
"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/guides/query-data#basics-pagination).",
|
|
4739
5115
|
"type": {
|
|
4740
5116
|
"kind": "SCALAR",
|
|
4741
5117
|
"name": "String",
|
|
@@ -4745,7 +5121,7 @@
|
|
|
4745
5121
|
},
|
|
4746
5122
|
{
|
|
4747
5123
|
"name": "filter",
|
|
4748
|
-
"description": "Filter the Ledger Entries returned. Learn more about [querying Ledger Entries](https://fragment.dev/
|
|
5124
|
+
"description": "Filter the Ledger Entries returned. Learn more about [querying Ledger Entries](https://fragment.dev/guides/query-data#ledger-entries).",
|
|
4749
5125
|
"type": {
|
|
4750
5126
|
"kind": "INPUT_OBJECT",
|
|
4751
5127
|
"name": "LedgerEntriesFilterSet",
|
|
@@ -4792,7 +5168,7 @@
|
|
|
4792
5168
|
"args": [
|
|
4793
5169
|
{
|
|
4794
5170
|
"name": "after",
|
|
4795
|
-
"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/
|
|
5171
|
+
"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/guides/query-data#basics-pagination).",
|
|
4796
5172
|
"type": {
|
|
4797
5173
|
"kind": "SCALAR",
|
|
4798
5174
|
"name": "String",
|
|
@@ -4802,7 +5178,7 @@
|
|
|
4802
5178
|
},
|
|
4803
5179
|
{
|
|
4804
5180
|
"name": "before",
|
|
4805
|
-
"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/
|
|
5181
|
+
"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/guides/query-data#basics-pagination).",
|
|
4806
5182
|
"type": {
|
|
4807
5183
|
"kind": "SCALAR",
|
|
4808
5184
|
"name": "String",
|
|
@@ -4890,7 +5266,7 @@
|
|
|
4890
5266
|
"args": [
|
|
4891
5267
|
{
|
|
4892
5268
|
"name": "after",
|
|
4893
|
-
"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/
|
|
5269
|
+
"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/guides/query-data#basics-pagination).",
|
|
4894
5270
|
"type": {
|
|
4895
5271
|
"kind": "SCALAR",
|
|
4896
5272
|
"name": "String",
|
|
@@ -4900,7 +5276,7 @@
|
|
|
4900
5276
|
},
|
|
4901
5277
|
{
|
|
4902
5278
|
"name": "before",
|
|
4903
|
-
"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/
|
|
5279
|
+
"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/guides/query-data#basics-pagination).",
|
|
4904
5280
|
"type": {
|
|
4905
5281
|
"kind": "SCALAR",
|
|
4906
5282
|
"name": "String",
|
|
@@ -4957,7 +5333,7 @@
|
|
|
4957
5333
|
"args": [
|
|
4958
5334
|
{
|
|
4959
5335
|
"name": "after",
|
|
4960
|
-
"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/
|
|
5336
|
+
"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/guides/query-data#basics-pagination).",
|
|
4961
5337
|
"type": {
|
|
4962
5338
|
"kind": "SCALAR",
|
|
4963
5339
|
"name": "String",
|
|
@@ -4967,7 +5343,7 @@
|
|
|
4967
5343
|
},
|
|
4968
5344
|
{
|
|
4969
5345
|
"name": "before",
|
|
4970
|
-
"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/
|
|
5346
|
+
"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/guides/query-data#basics-pagination).",
|
|
4971
5347
|
"type": {
|
|
4972
5348
|
"kind": "SCALAR",
|
|
4973
5349
|
"name": "String",
|
|
@@ -4977,7 +5353,7 @@
|
|
|
4977
5353
|
},
|
|
4978
5354
|
{
|
|
4979
5355
|
"name": "filter",
|
|
4980
|
-
"description": "Filter the Ledger Lines returned. Either the `ledgerAccount` or `path` field is required. Learn more about [querying Ledger Lines](https://fragment.dev/
|
|
5356
|
+
"description": "Filter the Ledger Lines returned. Either the `ledgerAccount` or `path` field is required. Learn more about [querying Ledger Lines](https://fragment.dev/guides/query-data#ledger-lines).",
|
|
4981
5357
|
"type": {
|
|
4982
5358
|
"kind": "NON_NULL",
|
|
4983
5359
|
"name": null,
|
|
@@ -5028,7 +5404,7 @@
|
|
|
5028
5404
|
"args": [
|
|
5029
5405
|
{
|
|
5030
5406
|
"name": "after",
|
|
5031
|
-
"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/
|
|
5407
|
+
"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/guides/query-data#basics-pagination).",
|
|
5032
5408
|
"type": {
|
|
5033
5409
|
"kind": "SCALAR",
|
|
5034
5410
|
"name": "String",
|
|
@@ -5038,7 +5414,7 @@
|
|
|
5038
5414
|
},
|
|
5039
5415
|
{
|
|
5040
5416
|
"name": "before",
|
|
5041
|
-
"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/
|
|
5417
|
+
"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/guides/query-data#basics-pagination).",
|
|
5042
5418
|
"type": {
|
|
5043
5419
|
"kind": "SCALAR",
|
|
5044
5420
|
"name": "String",
|
|
@@ -5344,7 +5720,7 @@
|
|
|
5344
5720
|
"args": [
|
|
5345
5721
|
{
|
|
5346
5722
|
"name": "after",
|
|
5347
|
-
"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/
|
|
5723
|
+
"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/guides/query-data#basics-pagination).",
|
|
5348
5724
|
"type": {
|
|
5349
5725
|
"kind": "SCALAR",
|
|
5350
5726
|
"name": "String",
|
|
@@ -5364,7 +5740,7 @@
|
|
|
5364
5740
|
},
|
|
5365
5741
|
{
|
|
5366
5742
|
"name": "before",
|
|
5367
|
-
"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/
|
|
5743
|
+
"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/guides/query-data#basics-pagination).",
|
|
5368
5744
|
"type": {
|
|
5369
5745
|
"kind": "SCALAR",
|
|
5370
5746
|
"name": "String",
|
|
@@ -5678,7 +6054,7 @@
|
|
|
5678
6054
|
"args": [
|
|
5679
6055
|
{
|
|
5680
6056
|
"name": "after",
|
|
5681
|
-
"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/
|
|
6057
|
+
"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/guides/query-data#basics-pagination).",
|
|
5682
6058
|
"type": {
|
|
5683
6059
|
"kind": "SCALAR",
|
|
5684
6060
|
"name": "String",
|
|
@@ -5698,7 +6074,7 @@
|
|
|
5698
6074
|
},
|
|
5699
6075
|
{
|
|
5700
6076
|
"name": "before",
|
|
5701
|
-
"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/
|
|
6077
|
+
"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/guides/query-data#basics-pagination).",
|
|
5702
6078
|
"type": {
|
|
5703
6079
|
"kind": "SCALAR",
|
|
5704
6080
|
"name": "String",
|
|
@@ -5824,7 +6200,7 @@
|
|
|
5824
6200
|
"args": [
|
|
5825
6201
|
{
|
|
5826
6202
|
"name": "after",
|
|
5827
|
-
"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/
|
|
6203
|
+
"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/guides/query-data#basics-pagination).",
|
|
5828
6204
|
"type": {
|
|
5829
6205
|
"kind": "SCALAR",
|
|
5830
6206
|
"name": "String",
|
|
@@ -5834,7 +6210,7 @@
|
|
|
5834
6210
|
},
|
|
5835
6211
|
{
|
|
5836
6212
|
"name": "before",
|
|
5837
|
-
"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/
|
|
6213
|
+
"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/guides/query-data#basics-pagination).",
|
|
5838
6214
|
"type": {
|
|
5839
6215
|
"kind": "SCALAR",
|
|
5840
6216
|
"name": "String",
|
|
@@ -6017,7 +6393,7 @@
|
|
|
6017
6393
|
"args": [
|
|
6018
6394
|
{
|
|
6019
6395
|
"name": "after",
|
|
6020
|
-
"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/
|
|
6396
|
+
"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/guides/query-data#basics-pagination).",
|
|
6021
6397
|
"type": {
|
|
6022
6398
|
"kind": "SCALAR",
|
|
6023
6399
|
"name": "String",
|
|
@@ -6027,7 +6403,7 @@
|
|
|
6027
6403
|
},
|
|
6028
6404
|
{
|
|
6029
6405
|
"name": "before",
|
|
6030
|
-
"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/
|
|
6406
|
+
"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/guides/query-data#basics-pagination).",
|
|
6031
6407
|
"type": {
|
|
6032
6408
|
"kind": "SCALAR",
|
|
6033
6409
|
"name": "String",
|
|
@@ -6090,7 +6466,7 @@
|
|
|
6090
6466
|
"args": [
|
|
6091
6467
|
{
|
|
6092
6468
|
"name": "after",
|
|
6093
|
-
"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/
|
|
6469
|
+
"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/guides/query-data#basics-pagination).",
|
|
6094
6470
|
"type": {
|
|
6095
6471
|
"kind": "SCALAR",
|
|
6096
6472
|
"name": "String",
|
|
@@ -6100,7 +6476,7 @@
|
|
|
6100
6476
|
},
|
|
6101
6477
|
{
|
|
6102
6478
|
"name": "before",
|
|
6103
|
-
"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/
|
|
6479
|
+
"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/guides/query-data#basics-pagination).",
|
|
6104
6480
|
"type": {
|
|
6105
6481
|
"kind": "SCALAR",
|
|
6106
6482
|
"name": "String",
|
|
@@ -6110,7 +6486,7 @@
|
|
|
6110
6486
|
},
|
|
6111
6487
|
{
|
|
6112
6488
|
"name": "filter",
|
|
6113
|
-
"description": "Filter the Ledger Lines returned. Learn more about [querying Ledger Lines](https://fragment.dev/
|
|
6489
|
+
"description": "Filter the Ledger Lines returned. Learn more about [querying Ledger Lines](https://fragment.dev/guides/query-data#ledger-lines).",
|
|
6114
6490
|
"type": {
|
|
6115
6491
|
"kind": "INPUT_OBJECT",
|
|
6116
6492
|
"name": "LedgerLinesFilterSet",
|
|
@@ -6381,7 +6757,7 @@
|
|
|
6381
6757
|
"args": [
|
|
6382
6758
|
{
|
|
6383
6759
|
"name": "after",
|
|
6384
|
-
"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/
|
|
6760
|
+
"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/guides/query-data#basics-pagination).",
|
|
6385
6761
|
"type": {
|
|
6386
6762
|
"kind": "SCALAR",
|
|
6387
6763
|
"name": "String",
|
|
@@ -6401,7 +6777,7 @@
|
|
|
6401
6777
|
},
|
|
6402
6778
|
{
|
|
6403
6779
|
"name": "before",
|
|
6404
|
-
"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/
|
|
6780
|
+
"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/guides/query-data#basics-pagination).",
|
|
6405
6781
|
"type": {
|
|
6406
6782
|
"kind": "SCALAR",
|
|
6407
6783
|
"name": "String",
|
|
@@ -6561,6 +6937,18 @@
|
|
|
6561
6937
|
"isDeprecated": false,
|
|
6562
6938
|
"deprecationReason": null
|
|
6563
6939
|
},
|
|
6940
|
+
{
|
|
6941
|
+
"name": "payment",
|
|
6942
|
+
"description": "Payment configuration of this Ledger Account, if it is a payment account.",
|
|
6943
|
+
"args": [],
|
|
6944
|
+
"type": {
|
|
6945
|
+
"kind": "OBJECT",
|
|
6946
|
+
"name": "LedgerAccountPayment",
|
|
6947
|
+
"ofType": null
|
|
6948
|
+
},
|
|
6949
|
+
"isDeprecated": false,
|
|
6950
|
+
"deprecationReason": null
|
|
6951
|
+
},
|
|
6564
6952
|
{
|
|
6565
6953
|
"name": "postedWindow",
|
|
6566
6954
|
"description": "The posted timestamp window for this clearing account, representing the earliest and latest\nposted timestamps across all currencies.\n\nThis field is null when the Ledger Account is not configured to be a Clearing account\nor when no entries have been posted to this account.",
|
|
@@ -6595,7 +6983,7 @@
|
|
|
6595
6983
|
"args": [
|
|
6596
6984
|
{
|
|
6597
6985
|
"name": "after",
|
|
6598
|
-
"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/
|
|
6986
|
+
"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/guides/query-data#basics-pagination).",
|
|
6599
6987
|
"type": {
|
|
6600
6988
|
"kind": "SCALAR",
|
|
6601
6989
|
"name": "String",
|
|
@@ -6605,7 +6993,7 @@
|
|
|
6605
6993
|
},
|
|
6606
6994
|
{
|
|
6607
6995
|
"name": "before",
|
|
6608
|
-
"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/
|
|
6996
|
+
"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/guides/query-data#basics-pagination).",
|
|
6609
6997
|
"type": {
|
|
6610
6998
|
"kind": "SCALAR",
|
|
6611
6999
|
"name": "String",
|
|
@@ -6719,7 +7107,7 @@
|
|
|
6719
7107
|
"fields": [
|
|
6720
7108
|
{
|
|
6721
7109
|
"name": "ownBalance",
|
|
6722
|
-
"description": "A condition that the `ownBalance` field must satisfy. Note that this condition always applies to the latest balance, not to balances at a specific date or time. See [Read balances](https://fragment.dev/
|
|
7110
|
+
"description": "A condition that the `ownBalance` field must satisfy. Note that this condition always applies to the latest balance, not to balances at a specific date or time. See [Read balances](https://fragment.dev/guides/read-balances) for more on the different types of Ledger Account balances.",
|
|
6723
7111
|
"args": [],
|
|
6724
7112
|
"type": {
|
|
6725
7113
|
"kind": "OBJECT",
|
|
@@ -6731,7 +7119,7 @@
|
|
|
6731
7119
|
},
|
|
6732
7120
|
{
|
|
6733
7121
|
"name": "totalBalance",
|
|
6734
|
-
"description": "A condition that the `totalBalance` field must satisfy. Note that this condition always applies to the latest balance, not to balances at a specific date or time. See [Read balances](https://fragment.dev/
|
|
7122
|
+
"description": "A condition that the `totalBalance` field must satisfy. Note that this condition always applies to the latest balance, not to balances at a specific date or time. See [Read balances](https://fragment.dev/guides/read-balances) for more on the different types of Ledger Account balances.",
|
|
6735
7123
|
"args": [],
|
|
6736
7124
|
"type": {
|
|
6737
7125
|
"kind": "OBJECT",
|
|
@@ -6781,7 +7169,7 @@
|
|
|
6781
7169
|
{
|
|
6782
7170
|
"kind": "OBJECT",
|
|
6783
7171
|
"name": "LedgerAccountConsistencyConfig",
|
|
6784
|
-
"description": "The consistency configuration of a Ledger Account's balance updates.\nSee [Configure consistency](https://fragment.dev/
|
|
7172
|
+
"description": "The consistency configuration of a Ledger Account's balance updates.\nSee [Configure consistency](https://fragment.dev/guides/configure-consistency).",
|
|
6785
7173
|
"fields": [
|
|
6786
7174
|
{
|
|
6787
7175
|
"name": "lines",
|
|
@@ -6801,7 +7189,7 @@
|
|
|
6801
7189
|
},
|
|
6802
7190
|
{
|
|
6803
7191
|
"name": "ownBalanceUpdates",
|
|
6804
|
-
"description": "If set to `strong`, then a Ledger Account's `ownBalance` updates will be strongly consistent with\nthe API response. This Ledger Account's balance will be updated and\navailable for strongly consistent reads once you receive an API response.\n\nOtherwise if not set or set to `eventual`, `ownBalance` updates are applied\nasynchronously and may not be immediately reflected in queries.\n\nSee [Configure consistency](https://fragment.dev/
|
|
7192
|
+
"description": "If set to `strong`, then a Ledger Account's `ownBalance` updates will be strongly consistent with\nthe API response. This Ledger Account's balance will be updated and\navailable for strongly consistent reads once you receive an API response.\n\nOtherwise if not set or set to `eventual`, `ownBalance` updates are applied\nasynchronously and may not be immediately reflected in queries.\n\nSee [Configure consistency](https://fragment.dev/guides/configure-consistency).",
|
|
6805
7193
|
"args": [],
|
|
6806
7194
|
"type": {
|
|
6807
7195
|
"kind": "NON_NULL",
|
|
@@ -6817,7 +7205,7 @@
|
|
|
6817
7205
|
},
|
|
6818
7206
|
{
|
|
6819
7207
|
"name": "totalBalanceUpdates",
|
|
6820
|
-
"description": "If set to `strong`, then a Ledger Account's `ownBalance`, `childBalance`, and `balance` fields' updates will be strongly consistent with\nthe API response. This Ledger Account's balance will be updated and\navailable for strongly consistent reads once you receive an API response.\n\nOtherwise if not set or set to `eventual`, updates are applied\nasynchronously and may not be immediately reflected in queries.\n\nSee [Configure consistency](https://fragment.dev/
|
|
7208
|
+
"description": "If set to `strong`, then a Ledger Account's `ownBalance`, `childBalance`, and `balance` fields' updates will be strongly consistent with\nthe API response. This Ledger Account's balance will be updated and\navailable for strongly consistent reads once you receive an API response.\n\nOtherwise if not set or set to `eventual`, updates are applied\nasynchronously and may not be immediately reflected in queries.\n\nSee [Configure consistency](https://fragment.dev/guides/configure-consistency).",
|
|
6821
7209
|
"args": [],
|
|
6822
7210
|
"type": {
|
|
6823
7211
|
"kind": "ENUM",
|
|
@@ -6836,12 +7224,12 @@
|
|
|
6836
7224
|
{
|
|
6837
7225
|
"kind": "INPUT_OBJECT",
|
|
6838
7226
|
"name": "LedgerAccountConsistencyConfigInput",
|
|
6839
|
-
"description": "The payload configuring the consistency for this Ledger Account.\nSee [Configure consistency](https://fragment.dev/
|
|
7227
|
+
"description": "The payload configuring the consistency for this Ledger Account.\nSee [Configure consistency](https://fragment.dev/guides/configure-consistency).",
|
|
6840
7228
|
"fields": null,
|
|
6841
7229
|
"inputFields": [
|
|
6842
7230
|
{
|
|
6843
7231
|
"name": "groups",
|
|
6844
|
-
"description": "The consistency configuration for Ledger Entry Groups affecting this account.\n\nSee [Configure consistency](https://fragment.dev/
|
|
7232
|
+
"description": "The consistency configuration for Ledger Entry Groups affecting this account.\n\nSee [Configure consistency](https://fragment.dev/guides/configure-consistency).",
|
|
6845
7233
|
"type": {
|
|
6846
7234
|
"kind": "LIST",
|
|
6847
7235
|
"name": null,
|
|
@@ -6859,7 +7247,7 @@
|
|
|
6859
7247
|
},
|
|
6860
7248
|
{
|
|
6861
7249
|
"name": "lines",
|
|
6862
|
-
"description": "If set to `strong`, then a Ledger Account's `lines` updates will be strongly consistent with the API response.\nThis Ledger Account's balance will be updated and available for strongly consistent reads before you receive an API response.\n\nOtherwise if unset or set to `eventual`, `lines` updates are applied asynchronously and may not be immediately reflected in queries.\n\nSee [Configure consistency](https://fragment.dev/
|
|
7250
|
+
"description": "If set to `strong`, then a Ledger Account's `lines` updates will be strongly consistent with the API response.\nThis Ledger Account's balance will be updated and available for strongly consistent reads before you receive an API response.\n\nOtherwise if unset or set to `eventual`, `lines` updates are applied asynchronously and may not be immediately reflected in queries.\n\nSee [Configure consistency](https://fragment.dev/guides/configure-consistency).",
|
|
6863
7251
|
"type": {
|
|
6864
7252
|
"kind": "ENUM",
|
|
6865
7253
|
"name": "LedgerLinesConsistencyMode",
|
|
@@ -6869,7 +7257,7 @@
|
|
|
6869
7257
|
},
|
|
6870
7258
|
{
|
|
6871
7259
|
"name": "ownBalanceUpdates",
|
|
6872
|
-
"description": "If set to `strong`, then a Ledger Account's `ownBalance` updates will be strongly consistent with the API response.\nThis Ledger Account's balance will be updated and available for strongly consistent reads before you receive an API response.\n\nOtherwise if unset or set to `eventual`, `ownBalance` updates are applied asynchronously and may not be immediately reflected in queries.\n\nSee [Configure consistency](https://fragment.dev/
|
|
7260
|
+
"description": "If set to `strong`, then a Ledger Account's `ownBalance` updates will be strongly consistent with the API response.\nThis Ledger Account's balance will be updated and available for strongly consistent reads before you receive an API response.\n\nOtherwise if unset or set to `eventual`, `ownBalance` updates are applied asynchronously and may not be immediately reflected in queries.\n\nSee [Configure consistency](https://fragment.dev/guides/configure-consistency).",
|
|
6873
7261
|
"type": {
|
|
6874
7262
|
"kind": "ENUM",
|
|
6875
7263
|
"name": "BalanceUpdateConsistencyMode",
|
|
@@ -6879,7 +7267,7 @@
|
|
|
6879
7267
|
},
|
|
6880
7268
|
{
|
|
6881
7269
|
"name": "totalBalanceUpdates",
|
|
6882
|
-
"description": "EXPERIMENTAL: If set to `strong`, then a Ledger Account's `totalBalance` updates will be strongly consistent with the API response.\nThis Ledger Account's balance will be updated and available for strongly consistent reads before you receive an API response.\n\nOtherwise if unset or set to `eventual`, `totalBalance` updates are applied asynchronously and may not be immediately reflected in queries.\n\nSee [Configure consistency](https://fragment.dev/
|
|
7270
|
+
"description": "EXPERIMENTAL: If set to `strong`, then a Ledger Account's `totalBalance` updates will be strongly consistent with the API response.\nThis Ledger Account's balance will be updated and available for strongly consistent reads before you receive an API response.\n\nOtherwise if unset or set to `eventual`, `totalBalance` updates are applied asynchronously and may not be immediately reflected in queries.\n\nSee [Configure consistency](https://fragment.dev/guides/configure-consistency).",
|
|
6883
7271
|
"type": {
|
|
6884
7272
|
"kind": "ENUM",
|
|
6885
7273
|
"name": "BalanceUpdateConsistencyMode",
|
|
@@ -6931,7 +7319,7 @@
|
|
|
6931
7319
|
"args": [
|
|
6932
7320
|
{
|
|
6933
7321
|
"name": "after",
|
|
6934
|
-
"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/
|
|
7322
|
+
"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/guides/query-data#basics-pagination).",
|
|
6935
7323
|
"type": {
|
|
6936
7324
|
"kind": "SCALAR",
|
|
6937
7325
|
"name": "String",
|
|
@@ -6941,7 +7329,7 @@
|
|
|
6941
7329
|
},
|
|
6942
7330
|
{
|
|
6943
7331
|
"name": "before",
|
|
6944
|
-
"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/
|
|
7332
|
+
"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/guides/query-data#basics-pagination).",
|
|
6945
7333
|
"type": {
|
|
6946
7334
|
"kind": "SCALAR",
|
|
6947
7335
|
"name": "String",
|
|
@@ -6988,7 +7376,7 @@
|
|
|
6988
7376
|
"args": [
|
|
6989
7377
|
{
|
|
6990
7378
|
"name": "after",
|
|
6991
|
-
"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/
|
|
7379
|
+
"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/guides/query-data#basics-pagination).",
|
|
6992
7380
|
"type": {
|
|
6993
7381
|
"kind": "SCALAR",
|
|
6994
7382
|
"name": "String",
|
|
@@ -6998,7 +7386,7 @@
|
|
|
6998
7386
|
},
|
|
6999
7387
|
{
|
|
7000
7388
|
"name": "before",
|
|
7001
|
-
"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/
|
|
7389
|
+
"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/guides/query-data#basics-pagination).",
|
|
7002
7390
|
"type": {
|
|
7003
7391
|
"kind": "SCALAR",
|
|
7004
7392
|
"name": "String",
|
|
@@ -7210,7 +7598,7 @@
|
|
|
7210
7598
|
},
|
|
7211
7599
|
{
|
|
7212
7600
|
"name": "ownBalanceUpdates",
|
|
7213
|
-
"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/
|
|
7601
|
+
"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/guides/configure-consistency).",
|
|
7214
7602
|
"type": {
|
|
7215
7603
|
"kind": "NON_NULL",
|
|
7216
7604
|
"name": null,
|
|
@@ -7268,6 +7656,33 @@
|
|
|
7268
7656
|
"enumValues": null,
|
|
7269
7657
|
"possibleTypes": null
|
|
7270
7658
|
},
|
|
7659
|
+
{
|
|
7660
|
+
"kind": "OBJECT",
|
|
7661
|
+
"name": "LedgerAccountPayment",
|
|
7662
|
+
"description": "Payment configuration of a Ledger Account.",
|
|
7663
|
+
"fields": [
|
|
7664
|
+
{
|
|
7665
|
+
"name": "penguin",
|
|
7666
|
+
"description": null,
|
|
7667
|
+
"args": [],
|
|
7668
|
+
"type": {
|
|
7669
|
+
"kind": "NON_NULL",
|
|
7670
|
+
"name": null,
|
|
7671
|
+
"ofType": {
|
|
7672
|
+
"kind": "SCALAR",
|
|
7673
|
+
"name": "Boolean",
|
|
7674
|
+
"ofType": null
|
|
7675
|
+
}
|
|
7676
|
+
},
|
|
7677
|
+
"isDeprecated": false,
|
|
7678
|
+
"deprecationReason": null
|
|
7679
|
+
}
|
|
7680
|
+
],
|
|
7681
|
+
"inputFields": null,
|
|
7682
|
+
"interfaces": [],
|
|
7683
|
+
"enumValues": null,
|
|
7684
|
+
"possibleTypes": null
|
|
7685
|
+
},
|
|
7271
7686
|
{
|
|
7272
7687
|
"kind": "INPUT_OBJECT",
|
|
7273
7688
|
"name": "LedgerAccountTypeFilter",
|
|
@@ -7527,7 +7942,7 @@
|
|
|
7527
7942
|
"args": [
|
|
7528
7943
|
{
|
|
7529
7944
|
"name": "after",
|
|
7530
|
-
"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/
|
|
7945
|
+
"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/guides/query-data#basics-pagination).",
|
|
7531
7946
|
"type": {
|
|
7532
7947
|
"kind": "SCALAR",
|
|
7533
7948
|
"name": "String",
|
|
@@ -7537,7 +7952,7 @@
|
|
|
7537
7952
|
},
|
|
7538
7953
|
{
|
|
7539
7954
|
"name": "before",
|
|
7540
|
-
"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/
|
|
7955
|
+
"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/guides/query-data#basics-pagination).",
|
|
7541
7956
|
"type": {
|
|
7542
7957
|
"kind": "SCALAR",
|
|
7543
7958
|
"name": "String",
|
|
@@ -7584,7 +7999,7 @@
|
|
|
7584
7999
|
"args": [
|
|
7585
8000
|
{
|
|
7586
8001
|
"name": "after",
|
|
7587
|
-
"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/
|
|
8002
|
+
"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/guides/query-data#basics-pagination).",
|
|
7588
8003
|
"type": {
|
|
7589
8004
|
"kind": "SCALAR",
|
|
7590
8005
|
"name": "String",
|
|
@@ -7594,7 +8009,7 @@
|
|
|
7594
8009
|
},
|
|
7595
8010
|
{
|
|
7596
8011
|
"name": "before",
|
|
7597
|
-
"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/
|
|
8012
|
+
"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/guides/query-data#basics-pagination).",
|
|
7598
8013
|
"type": {
|
|
7599
8014
|
"kind": "SCALAR",
|
|
7600
8015
|
"name": "String",
|
|
@@ -7844,7 +8259,7 @@
|
|
|
7844
8259
|
"inputFields": [
|
|
7845
8260
|
{
|
|
7846
8261
|
"name": "date",
|
|
7847
|
-
"description":
|
|
8262
|
+
"description": "Use this filter to filter Ledger Entries by their `posted` date.",
|
|
7848
8263
|
"type": {
|
|
7849
8264
|
"kind": "INPUT_OBJECT",
|
|
7850
8265
|
"name": "DateFilter",
|
|
@@ -7894,7 +8309,7 @@
|
|
|
7894
8309
|
},
|
|
7895
8310
|
{
|
|
7896
8311
|
"name": "posted",
|
|
7897
|
-
"description":
|
|
8312
|
+
"description": "Use this filter to filter Ledger Entries by their `posted` timestamp.",
|
|
7898
8313
|
"type": {
|
|
7899
8314
|
"kind": "INPUT_OBJECT",
|
|
7900
8315
|
"name": "DateTimeFilter",
|
|
@@ -8515,7 +8930,7 @@
|
|
|
8515
8930
|
"args": [
|
|
8516
8931
|
{
|
|
8517
8932
|
"name": "after",
|
|
8518
|
-
"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/
|
|
8933
|
+
"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/guides/query-data#basics-pagination).",
|
|
8519
8934
|
"type": {
|
|
8520
8935
|
"kind": "SCALAR",
|
|
8521
8936
|
"name": "String",
|
|
@@ -8525,7 +8940,7 @@
|
|
|
8525
8940
|
},
|
|
8526
8941
|
{
|
|
8527
8942
|
"name": "before",
|
|
8528
|
-
"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/
|
|
8943
|
+
"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/guides/query-data#basics-pagination).",
|
|
8529
8944
|
"type": {
|
|
8530
8945
|
"kind": "SCALAR",
|
|
8531
8946
|
"name": "String",
|
|
@@ -8572,7 +8987,7 @@
|
|
|
8572
8987
|
"args": [
|
|
8573
8988
|
{
|
|
8574
8989
|
"name": "after",
|
|
8575
|
-
"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/
|
|
8990
|
+
"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/guides/query-data#basics-pagination).",
|
|
8576
8991
|
"type": {
|
|
8577
8992
|
"kind": "SCALAR",
|
|
8578
8993
|
"name": "String",
|
|
@@ -8582,7 +8997,7 @@
|
|
|
8582
8997
|
},
|
|
8583
8998
|
{
|
|
8584
8999
|
"name": "before",
|
|
8585
|
-
"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/
|
|
9000
|
+
"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/guides/query-data#basics-pagination).",
|
|
8586
9001
|
"type": {
|
|
8587
9002
|
"kind": "SCALAR",
|
|
8588
9003
|
"name": "String",
|
|
@@ -8809,7 +9224,7 @@
|
|
|
8809
9224
|
"args": [
|
|
8810
9225
|
{
|
|
8811
9226
|
"name": "after",
|
|
8812
|
-
"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/
|
|
9227
|
+
"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/guides/query-data#basics-pagination).",
|
|
8813
9228
|
"type": {
|
|
8814
9229
|
"kind": "SCALAR",
|
|
8815
9230
|
"name": "String",
|
|
@@ -8819,7 +9234,7 @@
|
|
|
8819
9234
|
},
|
|
8820
9235
|
{
|
|
8821
9236
|
"name": "before",
|
|
8822
|
-
"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/
|
|
9237
|
+
"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/guides/query-data#basics-pagination).",
|
|
8823
9238
|
"type": {
|
|
8824
9239
|
"kind": "SCALAR",
|
|
8825
9240
|
"name": "String",
|
|
@@ -8936,7 +9351,7 @@
|
|
|
8936
9351
|
"args": [
|
|
8937
9352
|
{
|
|
8938
9353
|
"name": "after",
|
|
8939
|
-
"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/
|
|
9354
|
+
"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/guides/query-data#basics-pagination).",
|
|
8940
9355
|
"type": {
|
|
8941
9356
|
"kind": "SCALAR",
|
|
8942
9357
|
"name": "String",
|
|
@@ -8946,7 +9361,7 @@
|
|
|
8946
9361
|
},
|
|
8947
9362
|
{
|
|
8948
9363
|
"name": "before",
|
|
8949
|
-
"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/
|
|
9364
|
+
"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/guides/query-data#basics-pagination).",
|
|
8950
9365
|
"type": {
|
|
8951
9366
|
"kind": "SCALAR",
|
|
8952
9367
|
"name": "String",
|
|
@@ -9566,7 +9981,7 @@
|
|
|
9566
9981
|
},
|
|
9567
9982
|
{
|
|
9568
9983
|
"name": "typeVersion",
|
|
9569
|
-
"description": "
|
|
9984
|
+
"description": "The version of the Ledger Entry type to post. Defaults to 1.",
|
|
9570
9985
|
"type": {
|
|
9571
9986
|
"kind": "SCALAR",
|
|
9572
9987
|
"name": "Int",
|
|
@@ -10507,6 +10922,45 @@
|
|
|
10507
10922
|
"enumValues": null,
|
|
10508
10923
|
"possibleTypes": null
|
|
10509
10924
|
},
|
|
10925
|
+
{
|
|
10926
|
+
"kind": "INPUT_OBJECT",
|
|
10927
|
+
"name": "LedgerLineTagInput",
|
|
10928
|
+
"description": null,
|
|
10929
|
+
"fields": null,
|
|
10930
|
+
"inputFields": [
|
|
10931
|
+
{
|
|
10932
|
+
"name": "key",
|
|
10933
|
+
"description": "The key of this tag. Can be up to 128 characters long.",
|
|
10934
|
+
"type": {
|
|
10935
|
+
"kind": "NON_NULL",
|
|
10936
|
+
"name": null,
|
|
10937
|
+
"ofType": {
|
|
10938
|
+
"kind": "SCALAR",
|
|
10939
|
+
"name": "SafeString",
|
|
10940
|
+
"ofType": null
|
|
10941
|
+
}
|
|
10942
|
+
},
|
|
10943
|
+
"defaultValue": null
|
|
10944
|
+
},
|
|
10945
|
+
{
|
|
10946
|
+
"name": "value",
|
|
10947
|
+
"description": "The value associated with this tag's key. Can be up to 128 characters long.",
|
|
10948
|
+
"type": {
|
|
10949
|
+
"kind": "NON_NULL",
|
|
10950
|
+
"name": null,
|
|
10951
|
+
"ofType": {
|
|
10952
|
+
"kind": "SCALAR",
|
|
10953
|
+
"name": "SafeString",
|
|
10954
|
+
"ofType": null
|
|
10955
|
+
}
|
|
10956
|
+
},
|
|
10957
|
+
"defaultValue": null
|
|
10958
|
+
}
|
|
10959
|
+
],
|
|
10960
|
+
"interfaces": null,
|
|
10961
|
+
"enumValues": null,
|
|
10962
|
+
"possibleTypes": null
|
|
10963
|
+
},
|
|
10510
10964
|
{
|
|
10511
10965
|
"kind": "OBJECT",
|
|
10512
10966
|
"name": "LedgerLinesConnection",
|
|
@@ -10609,7 +11063,7 @@
|
|
|
10609
11063
|
},
|
|
10610
11064
|
{
|
|
10611
11065
|
"name": "date",
|
|
10612
|
-
"description": "
|
|
11066
|
+
"description": "Use this filter to filter Ledger Lines by their `posted` date.",
|
|
10613
11067
|
"type": {
|
|
10614
11068
|
"kind": "INPUT_OBJECT",
|
|
10615
11069
|
"name": "DateFilter",
|
|
@@ -10659,7 +11113,7 @@
|
|
|
10659
11113
|
},
|
|
10660
11114
|
{
|
|
10661
11115
|
"name": "path",
|
|
10662
|
-
"description": "A filter that string matches the account path. Wildcards ('*') can be used to return lines across multiple accounts.\nTo search for all instances of a a Ledger Account template, use the `matches` filter with an wildcard character in place of the template value e.g. `assets/user:*`. This returns lines from all instances of this template, interleaved by `posted` timestamp.\nTo search for all descendant Ledger Accounts under a given path, use a trailing `/*` in the `matches` filter e.g. `assets/user:user-1>/*`. This returns lines from all descendants at any depth, but not lines from the parent account at `assets/user:user-1>`.\nCannot be combined with `ledgerAccount` filter. Not allowed when querying via `LedgerAccount.lines`. You cannot use wildcards for both descendant and template instance matching in the same query.",
|
|
11116
|
+
"description": "A filter that string matches the account path. Wildcards ('*') can be used to return lines across multiple accounts.\nTo search for all instances of a a Ledger Account template, use the `matches` filter with an wildcard character in place of the template value e.g. `assets/user:*`. This returns lines from all instances of this template, interleaved by `posted` timestamp.\nTo search for all descendant Ledger Accounts under a given path, use a trailing `/*` in the `matches` filter e.g. `assets/user:user-1>/*`. This returns lines from all descendants at any depth, but not lines from the parent account at `assets/user:user-1>`.\nTo OR multiple `matches` patterns and get a single paginated list, use `matchesAny` — e.g. `matchesAny: [\"assets/user:user-1/*\", \"assets/user:user-2/*\"]` returns descendants of both prefixes interleaved by `posted` timestamp.\nCannot be combined with `ledgerAccount` filter. Not allowed when querying via `LedgerAccount.lines`. You cannot use wildcards for both descendant and template instance matching in the same query.",
|
|
10663
11117
|
"type": {
|
|
10664
11118
|
"kind": "INPUT_OBJECT",
|
|
10665
11119
|
"name": "StringMatchFilter",
|
|
@@ -10669,7 +11123,7 @@
|
|
|
10669
11123
|
},
|
|
10670
11124
|
{
|
|
10671
11125
|
"name": "posted",
|
|
10672
|
-
"description": "
|
|
11126
|
+
"description": "Use this filter to filter Ledger Lines by their `posted` timestamp.",
|
|
10673
11127
|
"type": {
|
|
10674
11128
|
"kind": "INPUT_OBJECT",
|
|
10675
11129
|
"name": "DateTimeFilter",
|
|
@@ -10895,108 +11349,294 @@
|
|
|
10895
11349
|
"possibleTypes": null
|
|
10896
11350
|
},
|
|
10897
11351
|
{
|
|
10898
|
-
"kind": "
|
|
10899
|
-
"name": "
|
|
10900
|
-
"description":
|
|
10901
|
-
"fields":
|
|
10902
|
-
"inputFields": [
|
|
11352
|
+
"kind": "OBJECT",
|
|
11353
|
+
"name": "LedgerPayment",
|
|
11354
|
+
"description": "EXPERIMENTAL: A Payment posted to a Ledger.",
|
|
11355
|
+
"fields": [
|
|
10903
11356
|
{
|
|
10904
|
-
"name": "
|
|
10905
|
-
"description":
|
|
11357
|
+
"name": "amount",
|
|
11358
|
+
"description": "The amount of this Payment, in whole cents.",
|
|
11359
|
+
"args": [],
|
|
10906
11360
|
"type": {
|
|
10907
|
-
"kind": "
|
|
10908
|
-
"name":
|
|
10909
|
-
"ofType":
|
|
11361
|
+
"kind": "NON_NULL",
|
|
11362
|
+
"name": null,
|
|
11363
|
+
"ofType": {
|
|
11364
|
+
"kind": "SCALAR",
|
|
11365
|
+
"name": "Int96",
|
|
11366
|
+
"ofType": null
|
|
11367
|
+
}
|
|
10910
11368
|
},
|
|
10911
|
-
"
|
|
11369
|
+
"isDeprecated": false,
|
|
11370
|
+
"deprecationReason": null
|
|
10912
11371
|
},
|
|
10913
11372
|
{
|
|
10914
|
-
"name": "
|
|
10915
|
-
"description":
|
|
11373
|
+
"name": "created",
|
|
11374
|
+
"description": null,
|
|
11375
|
+
"args": [],
|
|
10916
11376
|
"type": {
|
|
10917
|
-
"kind": "
|
|
11377
|
+
"kind": "NON_NULL",
|
|
10918
11378
|
"name": null,
|
|
10919
11379
|
"ofType": {
|
|
10920
|
-
"kind": "
|
|
10921
|
-
"name":
|
|
10922
|
-
"ofType":
|
|
10923
|
-
"kind": "ENUM",
|
|
10924
|
-
"name": "LedgerTypes",
|
|
10925
|
-
"ofType": null
|
|
10926
|
-
}
|
|
11380
|
+
"kind": "SCALAR",
|
|
11381
|
+
"name": "DateTime",
|
|
11382
|
+
"ofType": null
|
|
10927
11383
|
}
|
|
10928
11384
|
},
|
|
10929
|
-
"defaultValue": null
|
|
10930
|
-
}
|
|
10931
|
-
],
|
|
10932
|
-
"interfaces": null,
|
|
10933
|
-
"enumValues": null,
|
|
10934
|
-
"possibleTypes": null
|
|
10935
|
-
},
|
|
10936
|
-
{
|
|
10937
|
-
"kind": "ENUM",
|
|
10938
|
-
"name": "LedgerTypes",
|
|
10939
|
-
"description": null,
|
|
10940
|
-
"fields": null,
|
|
10941
|
-
"inputFields": null,
|
|
10942
|
-
"interfaces": null,
|
|
10943
|
-
"enumValues": [
|
|
10944
|
-
{
|
|
10945
|
-
"name": "double",
|
|
10946
|
-
"description": null,
|
|
10947
11385
|
"isDeprecated": false,
|
|
10948
11386
|
"deprecationReason": null
|
|
10949
|
-
}
|
|
10950
|
-
],
|
|
10951
|
-
"possibleTypes": null
|
|
10952
|
-
},
|
|
10953
|
-
{
|
|
10954
|
-
"kind": "OBJECT",
|
|
10955
|
-
"name": "LedgersConnection",
|
|
10956
|
-
"description": "A paginated list of Ledgers",
|
|
10957
|
-
"fields": [
|
|
11387
|
+
},
|
|
10958
11388
|
{
|
|
10959
|
-
"name": "
|
|
10960
|
-
"description": "The
|
|
11389
|
+
"name": "ik",
|
|
11390
|
+
"description": "The [Idempotency Key](https://fragment.dev/api-reference/api-overview#idempotency) the Payment was created with.",
|
|
10961
11391
|
"args": [],
|
|
10962
11392
|
"type": {
|
|
10963
11393
|
"kind": "NON_NULL",
|
|
10964
11394
|
"name": null,
|
|
10965
11395
|
"ofType": {
|
|
10966
|
-
"kind": "
|
|
10967
|
-
"name":
|
|
10968
|
-
"ofType":
|
|
10969
|
-
"kind": "NON_NULL",
|
|
10970
|
-
"name": null,
|
|
10971
|
-
"ofType": {
|
|
10972
|
-
"kind": "OBJECT",
|
|
10973
|
-
"name": "Ledger",
|
|
10974
|
-
"ofType": null
|
|
10975
|
-
}
|
|
10976
|
-
}
|
|
11396
|
+
"kind": "SCALAR",
|
|
11397
|
+
"name": "SafeString",
|
|
11398
|
+
"ofType": null
|
|
10977
11399
|
}
|
|
10978
11400
|
},
|
|
10979
11401
|
"isDeprecated": false,
|
|
10980
11402
|
"deprecationReason": null
|
|
10981
11403
|
},
|
|
10982
11404
|
{
|
|
10983
|
-
"name": "
|
|
10984
|
-
"description": "The
|
|
11405
|
+
"name": "ledgerId",
|
|
11406
|
+
"description": "The Ledger this Payment belongs to.",
|
|
10985
11407
|
"args": [],
|
|
10986
11408
|
"type": {
|
|
10987
11409
|
"kind": "NON_NULL",
|
|
10988
11410
|
"name": null,
|
|
10989
11411
|
"ofType": {
|
|
10990
|
-
"kind": "
|
|
10991
|
-
"name": "
|
|
11412
|
+
"kind": "SCALAR",
|
|
11413
|
+
"name": "SafeString",
|
|
10992
11414
|
"ofType": null
|
|
10993
11415
|
}
|
|
10994
11416
|
},
|
|
10995
11417
|
"isDeprecated": false,
|
|
10996
11418
|
"deprecationReason": null
|
|
10997
|
-
}
|
|
10998
|
-
|
|
10999
|
-
|
|
11419
|
+
},
|
|
11420
|
+
{
|
|
11421
|
+
"name": "parameters",
|
|
11422
|
+
"description": "Parameters the Payment was created with. Only returned by the `ledgerPayment` query.",
|
|
11423
|
+
"args": [],
|
|
11424
|
+
"type": {
|
|
11425
|
+
"kind": "SCALAR",
|
|
11426
|
+
"name": "JSON",
|
|
11427
|
+
"ofType": null
|
|
11428
|
+
},
|
|
11429
|
+
"isDeprecated": false,
|
|
11430
|
+
"deprecationReason": null
|
|
11431
|
+
},
|
|
11432
|
+
{
|
|
11433
|
+
"name": "status",
|
|
11434
|
+
"description": "The status of this Payment.",
|
|
11435
|
+
"args": [],
|
|
11436
|
+
"type": {
|
|
11437
|
+
"kind": "NON_NULL",
|
|
11438
|
+
"name": null,
|
|
11439
|
+
"ofType": {
|
|
11440
|
+
"kind": "ENUM",
|
|
11441
|
+
"name": "PaymentStatus",
|
|
11442
|
+
"ofType": null
|
|
11443
|
+
}
|
|
11444
|
+
},
|
|
11445
|
+
"isDeprecated": false,
|
|
11446
|
+
"deprecationReason": null
|
|
11447
|
+
},
|
|
11448
|
+
{
|
|
11449
|
+
"name": "type",
|
|
11450
|
+
"description": "The Payment Type in the Schema this Payment was created from.",
|
|
11451
|
+
"args": [],
|
|
11452
|
+
"type": {
|
|
11453
|
+
"kind": "NON_NULL",
|
|
11454
|
+
"name": null,
|
|
11455
|
+
"ofType": {
|
|
11456
|
+
"kind": "SCALAR",
|
|
11457
|
+
"name": "SafeString",
|
|
11458
|
+
"ofType": null
|
|
11459
|
+
}
|
|
11460
|
+
},
|
|
11461
|
+
"isDeprecated": false,
|
|
11462
|
+
"deprecationReason": null
|
|
11463
|
+
},
|
|
11464
|
+
{
|
|
11465
|
+
"name": "typeVersion",
|
|
11466
|
+
"description": "The version of the Payment Type.",
|
|
11467
|
+
"args": [],
|
|
11468
|
+
"type": {
|
|
11469
|
+
"kind": "NON_NULL",
|
|
11470
|
+
"name": null,
|
|
11471
|
+
"ofType": {
|
|
11472
|
+
"kind": "SCALAR",
|
|
11473
|
+
"name": "Int",
|
|
11474
|
+
"ofType": null
|
|
11475
|
+
}
|
|
11476
|
+
},
|
|
11477
|
+
"isDeprecated": false,
|
|
11478
|
+
"deprecationReason": null
|
|
11479
|
+
}
|
|
11480
|
+
],
|
|
11481
|
+
"inputFields": null,
|
|
11482
|
+
"interfaces": [],
|
|
11483
|
+
"enumValues": null,
|
|
11484
|
+
"possibleTypes": null
|
|
11485
|
+
},
|
|
11486
|
+
{
|
|
11487
|
+
"kind": "OBJECT",
|
|
11488
|
+
"name": "LedgerPaymentsConnection",
|
|
11489
|
+
"description": "EXPERIMENTAL: A paginated list of Payments.",
|
|
11490
|
+
"fields": [
|
|
11491
|
+
{
|
|
11492
|
+
"name": "nodes",
|
|
11493
|
+
"description": "The current page of results.",
|
|
11494
|
+
"args": [],
|
|
11495
|
+
"type": {
|
|
11496
|
+
"kind": "NON_NULL",
|
|
11497
|
+
"name": null,
|
|
11498
|
+
"ofType": {
|
|
11499
|
+
"kind": "LIST",
|
|
11500
|
+
"name": null,
|
|
11501
|
+
"ofType": {
|
|
11502
|
+
"kind": "NON_NULL",
|
|
11503
|
+
"name": null,
|
|
11504
|
+
"ofType": {
|
|
11505
|
+
"kind": "OBJECT",
|
|
11506
|
+
"name": "LedgerPayment",
|
|
11507
|
+
"ofType": null
|
|
11508
|
+
}
|
|
11509
|
+
}
|
|
11510
|
+
}
|
|
11511
|
+
},
|
|
11512
|
+
"isDeprecated": false,
|
|
11513
|
+
"deprecationReason": null
|
|
11514
|
+
},
|
|
11515
|
+
{
|
|
11516
|
+
"name": "pageInfo",
|
|
11517
|
+
"description": "The pagination info for this list.",
|
|
11518
|
+
"args": [],
|
|
11519
|
+
"type": {
|
|
11520
|
+
"kind": "NON_NULL",
|
|
11521
|
+
"name": null,
|
|
11522
|
+
"ofType": {
|
|
11523
|
+
"kind": "OBJECT",
|
|
11524
|
+
"name": "PageInfo",
|
|
11525
|
+
"ofType": null
|
|
11526
|
+
}
|
|
11527
|
+
},
|
|
11528
|
+
"isDeprecated": false,
|
|
11529
|
+
"deprecationReason": null
|
|
11530
|
+
}
|
|
11531
|
+
],
|
|
11532
|
+
"inputFields": null,
|
|
11533
|
+
"interfaces": [],
|
|
11534
|
+
"enumValues": null,
|
|
11535
|
+
"possibleTypes": null
|
|
11536
|
+
},
|
|
11537
|
+
{
|
|
11538
|
+
"kind": "INPUT_OBJECT",
|
|
11539
|
+
"name": "LedgerTypeFilter",
|
|
11540
|
+
"description": null,
|
|
11541
|
+
"fields": null,
|
|
11542
|
+
"inputFields": [
|
|
11543
|
+
{
|
|
11544
|
+
"name": "equalTo",
|
|
11545
|
+
"description": null,
|
|
11546
|
+
"type": {
|
|
11547
|
+
"kind": "ENUM",
|
|
11548
|
+
"name": "LedgerTypes",
|
|
11549
|
+
"ofType": null
|
|
11550
|
+
},
|
|
11551
|
+
"defaultValue": null
|
|
11552
|
+
},
|
|
11553
|
+
{
|
|
11554
|
+
"name": "in",
|
|
11555
|
+
"description": "Must match one of the values provided. Limited to 100 items maximum.",
|
|
11556
|
+
"type": {
|
|
11557
|
+
"kind": "LIST",
|
|
11558
|
+
"name": null,
|
|
11559
|
+
"ofType": {
|
|
11560
|
+
"kind": "NON_NULL",
|
|
11561
|
+
"name": null,
|
|
11562
|
+
"ofType": {
|
|
11563
|
+
"kind": "ENUM",
|
|
11564
|
+
"name": "LedgerTypes",
|
|
11565
|
+
"ofType": null
|
|
11566
|
+
}
|
|
11567
|
+
}
|
|
11568
|
+
},
|
|
11569
|
+
"defaultValue": null
|
|
11570
|
+
}
|
|
11571
|
+
],
|
|
11572
|
+
"interfaces": null,
|
|
11573
|
+
"enumValues": null,
|
|
11574
|
+
"possibleTypes": null
|
|
11575
|
+
},
|
|
11576
|
+
{
|
|
11577
|
+
"kind": "ENUM",
|
|
11578
|
+
"name": "LedgerTypes",
|
|
11579
|
+
"description": null,
|
|
11580
|
+
"fields": null,
|
|
11581
|
+
"inputFields": null,
|
|
11582
|
+
"interfaces": null,
|
|
11583
|
+
"enumValues": [
|
|
11584
|
+
{
|
|
11585
|
+
"name": "double",
|
|
11586
|
+
"description": null,
|
|
11587
|
+
"isDeprecated": false,
|
|
11588
|
+
"deprecationReason": null
|
|
11589
|
+
}
|
|
11590
|
+
],
|
|
11591
|
+
"possibleTypes": null
|
|
11592
|
+
},
|
|
11593
|
+
{
|
|
11594
|
+
"kind": "OBJECT",
|
|
11595
|
+
"name": "LedgersConnection",
|
|
11596
|
+
"description": "A paginated list of Ledgers",
|
|
11597
|
+
"fields": [
|
|
11598
|
+
{
|
|
11599
|
+
"name": "nodes",
|
|
11600
|
+
"description": "The current page of results",
|
|
11601
|
+
"args": [],
|
|
11602
|
+
"type": {
|
|
11603
|
+
"kind": "NON_NULL",
|
|
11604
|
+
"name": null,
|
|
11605
|
+
"ofType": {
|
|
11606
|
+
"kind": "LIST",
|
|
11607
|
+
"name": null,
|
|
11608
|
+
"ofType": {
|
|
11609
|
+
"kind": "NON_NULL",
|
|
11610
|
+
"name": null,
|
|
11611
|
+
"ofType": {
|
|
11612
|
+
"kind": "OBJECT",
|
|
11613
|
+
"name": "Ledger",
|
|
11614
|
+
"ofType": null
|
|
11615
|
+
}
|
|
11616
|
+
}
|
|
11617
|
+
}
|
|
11618
|
+
},
|
|
11619
|
+
"isDeprecated": false,
|
|
11620
|
+
"deprecationReason": null
|
|
11621
|
+
},
|
|
11622
|
+
{
|
|
11623
|
+
"name": "pageInfo",
|
|
11624
|
+
"description": "The [pagination info](https://fragment.dev/api-reference/api-types#connection-types-pageinfo) for this list",
|
|
11625
|
+
"args": [],
|
|
11626
|
+
"type": {
|
|
11627
|
+
"kind": "NON_NULL",
|
|
11628
|
+
"name": null,
|
|
11629
|
+
"ofType": {
|
|
11630
|
+
"kind": "OBJECT",
|
|
11631
|
+
"name": "PageInfo",
|
|
11632
|
+
"ofType": null
|
|
11633
|
+
}
|
|
11634
|
+
},
|
|
11635
|
+
"isDeprecated": false,
|
|
11636
|
+
"deprecationReason": null
|
|
11637
|
+
}
|
|
11638
|
+
],
|
|
11639
|
+
"inputFields": null,
|
|
11000
11640
|
"interfaces": [],
|
|
11001
11641
|
"enumValues": null,
|
|
11002
11642
|
"possibleTypes": null
|
|
@@ -11412,6 +12052,45 @@
|
|
|
11412
12052
|
"isDeprecated": false,
|
|
11413
12053
|
"deprecationReason": null
|
|
11414
12054
|
},
|
|
12055
|
+
{
|
|
12056
|
+
"name": "addLedgerEntries",
|
|
12057
|
+
"description": "Batch version of [addLedgerEntry](http://localhost:3001/api-reference/ledger-mutations#addledgerentry).\n\nAdds a batch of Ledger Entries in one synchronous and atomic transaction. Either every entry is added or none are.",
|
|
12058
|
+
"args": [
|
|
12059
|
+
{
|
|
12060
|
+
"name": "entries",
|
|
12061
|
+
"description": "The Ledger Entries to post, each with its own [Idempotency Key](https://fragment.dev/api-reference/api-overview#idempotency).",
|
|
12062
|
+
"type": {
|
|
12063
|
+
"kind": "NON_NULL",
|
|
12064
|
+
"name": null,
|
|
12065
|
+
"ofType": {
|
|
12066
|
+
"kind": "LIST",
|
|
12067
|
+
"name": null,
|
|
12068
|
+
"ofType": {
|
|
12069
|
+
"kind": "NON_NULL",
|
|
12070
|
+
"name": null,
|
|
12071
|
+
"ofType": {
|
|
12072
|
+
"kind": "INPUT_OBJECT",
|
|
12073
|
+
"name": "AddLedgerEntryInput",
|
|
12074
|
+
"ofType": null
|
|
12075
|
+
}
|
|
12076
|
+
}
|
|
12077
|
+
}
|
|
12078
|
+
},
|
|
12079
|
+
"defaultValue": null
|
|
12080
|
+
}
|
|
12081
|
+
],
|
|
12082
|
+
"type": {
|
|
12083
|
+
"kind": "NON_NULL",
|
|
12084
|
+
"name": null,
|
|
12085
|
+
"ofType": {
|
|
12086
|
+
"kind": "UNION",
|
|
12087
|
+
"name": "AddLedgerEntriesResponse",
|
|
12088
|
+
"ofType": null
|
|
12089
|
+
}
|
|
12090
|
+
},
|
|
12091
|
+
"isDeprecated": false,
|
|
12092
|
+
"deprecationReason": null
|
|
12093
|
+
},
|
|
11415
12094
|
{
|
|
11416
12095
|
"name": "addLedgerEntry",
|
|
11417
12096
|
"description": "Adds a Ledger Entry to a Ledger. This Ledger Entry cannot be into a Linked Ledger Account. For that, use [reconcileTx](https://fragment.dev/api-reference/api-mutations#reconciletx)",
|
|
@@ -11490,7 +12169,7 @@
|
|
|
11490
12169
|
},
|
|
11491
12170
|
{
|
|
11492
12171
|
"name": "createCustomLink",
|
|
11493
|
-
"description": "Custom Links let you integrate external systems that don't have native support. See [Custom Links](https://fragment.dev/
|
|
12172
|
+
"description": "Custom Links let you integrate external systems that don't have native support. See [Custom Links](https://fragment.dev/guides/sync-payments#custom-link)",
|
|
11494
12173
|
"args": [
|
|
11495
12174
|
{
|
|
11496
12175
|
"name": "ik",
|
|
@@ -11701,22 +12380,81 @@
|
|
|
11701
12380
|
"deprecationReason": null
|
|
11702
12381
|
},
|
|
11703
12382
|
{
|
|
11704
|
-
"name": "
|
|
11705
|
-
"description": "
|
|
12383
|
+
"name": "createPayment",
|
|
12384
|
+
"description": "EXPERIMENTAL — subject to change.\n\nCreate a Payment.",
|
|
11706
12385
|
"args": [
|
|
11707
12386
|
{
|
|
11708
|
-
"name": "
|
|
11709
|
-
"description": "The
|
|
12387
|
+
"name": "ik",
|
|
12388
|
+
"description": "The [Idempotency Key](https://fragment.dev/api-reference/api-overview#idempotency)",
|
|
11710
12389
|
"type": {
|
|
11711
12390
|
"kind": "NON_NULL",
|
|
11712
12391
|
"name": null,
|
|
11713
12392
|
"ofType": {
|
|
11714
|
-
"kind": "
|
|
11715
|
-
"name":
|
|
11716
|
-
"ofType":
|
|
11717
|
-
|
|
11718
|
-
|
|
11719
|
-
|
|
12393
|
+
"kind": "SCALAR",
|
|
12394
|
+
"name": "SafeString",
|
|
12395
|
+
"ofType": null
|
|
12396
|
+
}
|
|
12397
|
+
},
|
|
12398
|
+
"defaultValue": null
|
|
12399
|
+
},
|
|
12400
|
+
{
|
|
12401
|
+
"name": "ledger",
|
|
12402
|
+
"description": "The Ledger this Payment belongs to.",
|
|
12403
|
+
"type": {
|
|
12404
|
+
"kind": "NON_NULL",
|
|
12405
|
+
"name": null,
|
|
12406
|
+
"ofType": {
|
|
12407
|
+
"kind": "INPUT_OBJECT",
|
|
12408
|
+
"name": "LedgerMatchInput",
|
|
12409
|
+
"ofType": null
|
|
12410
|
+
}
|
|
12411
|
+
},
|
|
12412
|
+
"defaultValue": null
|
|
12413
|
+
},
|
|
12414
|
+
{
|
|
12415
|
+
"name": "payment",
|
|
12416
|
+
"description": "The Payment to create.",
|
|
12417
|
+
"type": {
|
|
12418
|
+
"kind": "NON_NULL",
|
|
12419
|
+
"name": null,
|
|
12420
|
+
"ofType": {
|
|
12421
|
+
"kind": "INPUT_OBJECT",
|
|
12422
|
+
"name": "CreatePaymentInput",
|
|
12423
|
+
"ofType": null
|
|
12424
|
+
}
|
|
12425
|
+
},
|
|
12426
|
+
"defaultValue": null
|
|
12427
|
+
}
|
|
12428
|
+
],
|
|
12429
|
+
"type": {
|
|
12430
|
+
"kind": "NON_NULL",
|
|
12431
|
+
"name": null,
|
|
12432
|
+
"ofType": {
|
|
12433
|
+
"kind": "UNION",
|
|
12434
|
+
"name": "CreatePaymentResponse",
|
|
12435
|
+
"ofType": null
|
|
12436
|
+
}
|
|
12437
|
+
},
|
|
12438
|
+
"isDeprecated": false,
|
|
12439
|
+
"deprecationReason": null
|
|
12440
|
+
},
|
|
12441
|
+
{
|
|
12442
|
+
"name": "deleteCustomTxs",
|
|
12443
|
+
"description": "Delete Txs on a Custom Link. Once deleted, a Tx will not show up in listing queries, but can be resolved by if you lookup by its Fragment ID.",
|
|
12444
|
+
"args": [
|
|
12445
|
+
{
|
|
12446
|
+
"name": "txs",
|
|
12447
|
+
"description": "The Fragment IDs of the Txs to delete",
|
|
12448
|
+
"type": {
|
|
12449
|
+
"kind": "NON_NULL",
|
|
12450
|
+
"name": null,
|
|
12451
|
+
"ofType": {
|
|
12452
|
+
"kind": "LIST",
|
|
12453
|
+
"name": null,
|
|
12454
|
+
"ofType": {
|
|
12455
|
+
"kind": "NON_NULL",
|
|
12456
|
+
"name": null,
|
|
12457
|
+
"ofType": {
|
|
11720
12458
|
"kind": "SCALAR",
|
|
11721
12459
|
"name": "ID",
|
|
11722
12460
|
"ofType": null
|
|
@@ -11834,7 +12572,7 @@
|
|
|
11834
12572
|
},
|
|
11835
12573
|
{
|
|
11836
12574
|
"name": "reconcileTx",
|
|
11837
|
-
"description": "This mutation is used to [reconcile](https://fragment.dev/
|
|
12575
|
+
"description": "This mutation is used to [reconcile](https://fragment.dev/guides/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.",
|
|
11838
12576
|
"args": [
|
|
11839
12577
|
{
|
|
11840
12578
|
"name": "entry",
|
|
@@ -11927,7 +12665,7 @@
|
|
|
11927
12665
|
},
|
|
11928
12666
|
{
|
|
11929
12667
|
"name": "syncCustomAccounts",
|
|
11930
|
-
"description": "Once you've created a [Custom Link](https://fragment.dev/
|
|
12668
|
+
"description": "Once you've created a [Custom Link](https://fragment.dev/guides/sync-payments#custom-link), create accounts under it using this mutation. Each Custom Account is an immutable, single-entry view of all the transactions in the external account. You can sync up to 100 Custom Accounts in one API call.",
|
|
11931
12669
|
"args": [
|
|
11932
12670
|
{
|
|
11933
12671
|
"name": "accounts",
|
|
@@ -11980,7 +12718,7 @@
|
|
|
11980
12718
|
},
|
|
11981
12719
|
{
|
|
11982
12720
|
"name": "syncCustomTxs",
|
|
11983
|
-
"description": "You can create transactions under a Custom Account in a [Custom Link](https://fragment.dev/
|
|
12721
|
+
"description": "You can create transactions under a Custom Account in a [Custom Link](https://fragment.dev/guides/sync-payments#custom-link) using this mutation. Once you've imported transactions, you can use the reconcileTx mutation to add them to a Ledger via the Linked Ledger Account. You can sync up to 100 Custom Transactions in one API call.",
|
|
11984
12722
|
"args": [
|
|
11985
12723
|
{
|
|
11986
12724
|
"name": "link",
|
|
@@ -12141,7 +12879,7 @@
|
|
|
12141
12879
|
},
|
|
12142
12880
|
{
|
|
12143
12881
|
"name": "update",
|
|
12144
|
-
"description": "The payload containing the fields to update. Only a Ledger Entry's tags can be updated.",
|
|
12882
|
+
"description": "The payload containing the fields to update. Only a Ledger Entry's tags and its Ledger Lines' tags can be updated.",
|
|
12145
12883
|
"type": {
|
|
12146
12884
|
"kind": "NON_NULL",
|
|
12147
12885
|
"name": null,
|
|
@@ -12175,7 +12913,7 @@
|
|
|
12175
12913
|
{
|
|
12176
12914
|
"kind": "OBJECT",
|
|
12177
12915
|
"name": "PageInfo",
|
|
12178
|
-
"description": "An object containing [pagination](https://fragment.dev/
|
|
12916
|
+
"description": "An object containing [pagination](https://fragment.dev/guides/query-data#basics-pagination) details.",
|
|
12179
12917
|
"fields": [
|
|
12180
12918
|
{
|
|
12181
12919
|
"name": "endCursor",
|
|
@@ -12259,6 +12997,78 @@
|
|
|
12259
12997
|
"enumValues": null,
|
|
12260
12998
|
"possibleTypes": null
|
|
12261
12999
|
},
|
|
13000
|
+
{
|
|
13001
|
+
"kind": "OBJECT",
|
|
13002
|
+
"name": "Payment",
|
|
13003
|
+
"description": null,
|
|
13004
|
+
"fields": [
|
|
13005
|
+
{
|
|
13006
|
+
"name": "clientSecret",
|
|
13007
|
+
"description": "The secret handed to the payments SDK to render the payment method capture.",
|
|
13008
|
+
"args": [],
|
|
13009
|
+
"type": {
|
|
13010
|
+
"kind": "NON_NULL",
|
|
13011
|
+
"name": null,
|
|
13012
|
+
"ofType": {
|
|
13013
|
+
"kind": "SCALAR",
|
|
13014
|
+
"name": "String",
|
|
13015
|
+
"ofType": null
|
|
13016
|
+
}
|
|
13017
|
+
},
|
|
13018
|
+
"isDeprecated": false,
|
|
13019
|
+
"deprecationReason": null
|
|
13020
|
+
},
|
|
13021
|
+
{
|
|
13022
|
+
"name": "status",
|
|
13023
|
+
"description": "The status of this Payment.",
|
|
13024
|
+
"args": [],
|
|
13025
|
+
"type": {
|
|
13026
|
+
"kind": "NON_NULL",
|
|
13027
|
+
"name": null,
|
|
13028
|
+
"ofType": {
|
|
13029
|
+
"kind": "ENUM",
|
|
13030
|
+
"name": "PaymentStatus",
|
|
13031
|
+
"ofType": null
|
|
13032
|
+
}
|
|
13033
|
+
},
|
|
13034
|
+
"isDeprecated": false,
|
|
13035
|
+
"deprecationReason": null
|
|
13036
|
+
}
|
|
13037
|
+
],
|
|
13038
|
+
"inputFields": null,
|
|
13039
|
+
"interfaces": [],
|
|
13040
|
+
"enumValues": null,
|
|
13041
|
+
"possibleTypes": null
|
|
13042
|
+
},
|
|
13043
|
+
{
|
|
13044
|
+
"kind": "ENUM",
|
|
13045
|
+
"name": "PaymentStatus",
|
|
13046
|
+
"description": "EXPERIMENTAL — subject to change.\n\nStatus of a Payment.",
|
|
13047
|
+
"fields": null,
|
|
13048
|
+
"inputFields": null,
|
|
13049
|
+
"interfaces": null,
|
|
13050
|
+
"enumValues": [
|
|
13051
|
+
{
|
|
13052
|
+
"name": "needs_payment_method",
|
|
13053
|
+
"description": null,
|
|
13054
|
+
"isDeprecated": false,
|
|
13055
|
+
"deprecationReason": null
|
|
13056
|
+
},
|
|
13057
|
+
{
|
|
13058
|
+
"name": "processing",
|
|
13059
|
+
"description": null,
|
|
13060
|
+
"isDeprecated": false,
|
|
13061
|
+
"deprecationReason": null
|
|
13062
|
+
},
|
|
13063
|
+
{
|
|
13064
|
+
"name": "settled",
|
|
13065
|
+
"description": null,
|
|
13066
|
+
"isDeprecated": false,
|
|
13067
|
+
"deprecationReason": null
|
|
13068
|
+
}
|
|
13069
|
+
],
|
|
13070
|
+
"possibleTypes": null
|
|
13071
|
+
},
|
|
12262
13072
|
{
|
|
12263
13073
|
"kind": "SCALAR",
|
|
12264
13074
|
"name": "Period",
|
|
@@ -12269,6 +13079,16 @@
|
|
|
12269
13079
|
"enumValues": null,
|
|
12270
13080
|
"possibleTypes": null
|
|
12271
13081
|
},
|
|
13082
|
+
{
|
|
13083
|
+
"kind": "SCALAR",
|
|
13084
|
+
"name": "PeriodFilter",
|
|
13085
|
+
"description": "A specific year (\"2026\") or month (\"2026-05\") used to match dates that fall within it.",
|
|
13086
|
+
"fields": null,
|
|
13087
|
+
"inputFields": null,
|
|
13088
|
+
"interfaces": null,
|
|
13089
|
+
"enumValues": null,
|
|
13090
|
+
"possibleTypes": null
|
|
13091
|
+
},
|
|
12272
13092
|
{
|
|
12273
13093
|
"kind": "ENUM",
|
|
12274
13094
|
"name": "PostLinesAs",
|
|
@@ -12364,7 +13184,7 @@
|
|
|
12364
13184
|
"args": [
|
|
12365
13185
|
{
|
|
12366
13186
|
"name": "after",
|
|
12367
|
-
"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/
|
|
13187
|
+
"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/guides/query-data#basics-pagination).",
|
|
12368
13188
|
"type": {
|
|
12369
13189
|
"kind": "SCALAR",
|
|
12370
13190
|
"name": "String",
|
|
@@ -12374,7 +13194,7 @@
|
|
|
12374
13194
|
},
|
|
12375
13195
|
{
|
|
12376
13196
|
"name": "before",
|
|
12377
|
-
"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/
|
|
13197
|
+
"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/guides/query-data#basics-pagination).",
|
|
12378
13198
|
"type": {
|
|
12379
13199
|
"kind": "SCALAR",
|
|
12380
13200
|
"name": "String",
|
|
@@ -12608,13 +13428,125 @@
|
|
|
12608
13428
|
"isDeprecated": false,
|
|
12609
13429
|
"deprecationReason": null
|
|
12610
13430
|
},
|
|
13431
|
+
{
|
|
13432
|
+
"name": "ledgerPayment",
|
|
13433
|
+
"description": "EXPERIMENTAL: Get a single Payment by its Idempotency Key.",
|
|
13434
|
+
"args": [
|
|
13435
|
+
{
|
|
13436
|
+
"name": "ik",
|
|
13437
|
+
"description": "The Idempotency Key the Payment was created with.",
|
|
13438
|
+
"type": {
|
|
13439
|
+
"kind": "NON_NULL",
|
|
13440
|
+
"name": null,
|
|
13441
|
+
"ofType": {
|
|
13442
|
+
"kind": "SCALAR",
|
|
13443
|
+
"name": "SafeString",
|
|
13444
|
+
"ofType": null
|
|
13445
|
+
}
|
|
13446
|
+
},
|
|
13447
|
+
"defaultValue": null
|
|
13448
|
+
},
|
|
13449
|
+
{
|
|
13450
|
+
"name": "ledger",
|
|
13451
|
+
"description": "The Ledger the Payment belongs to.",
|
|
13452
|
+
"type": {
|
|
13453
|
+
"kind": "NON_NULL",
|
|
13454
|
+
"name": null,
|
|
13455
|
+
"ofType": {
|
|
13456
|
+
"kind": "INPUT_OBJECT",
|
|
13457
|
+
"name": "LedgerMatchInput",
|
|
13458
|
+
"ofType": null
|
|
13459
|
+
}
|
|
13460
|
+
},
|
|
13461
|
+
"defaultValue": null
|
|
13462
|
+
}
|
|
13463
|
+
],
|
|
13464
|
+
"type": {
|
|
13465
|
+
"kind": "OBJECT",
|
|
13466
|
+
"name": "LedgerPayment",
|
|
13467
|
+
"ofType": null
|
|
13468
|
+
},
|
|
13469
|
+
"isDeprecated": false,
|
|
13470
|
+
"deprecationReason": null
|
|
13471
|
+
},
|
|
13472
|
+
{
|
|
13473
|
+
"name": "ledgerPayments",
|
|
13474
|
+
"description": "EXPERIMENTAL: List the Payments on a Ledger, most recent first.",
|
|
13475
|
+
"args": [
|
|
13476
|
+
{
|
|
13477
|
+
"name": "after",
|
|
13478
|
+
"description": "Where to start paginating from, when paginating forwards. Send endCursor from a response to get its next page.",
|
|
13479
|
+
"type": {
|
|
13480
|
+
"kind": "SCALAR",
|
|
13481
|
+
"name": "String",
|
|
13482
|
+
"ofType": null
|
|
13483
|
+
},
|
|
13484
|
+
"defaultValue": null
|
|
13485
|
+
},
|
|
13486
|
+
{
|
|
13487
|
+
"name": "before",
|
|
13488
|
+
"description": "Where to start paginating from, when paginating backwards. Send startCursor from a response to get the previous page.",
|
|
13489
|
+
"type": {
|
|
13490
|
+
"kind": "SCALAR",
|
|
13491
|
+
"name": "String",
|
|
13492
|
+
"ofType": null
|
|
13493
|
+
},
|
|
13494
|
+
"defaultValue": null
|
|
13495
|
+
},
|
|
13496
|
+
{
|
|
13497
|
+
"name": "first",
|
|
13498
|
+
"description": "The number of Payments to return per page, when paginating forwards. Defaults to 20, maximum is 200.",
|
|
13499
|
+
"type": {
|
|
13500
|
+
"kind": "SCALAR",
|
|
13501
|
+
"name": "Int",
|
|
13502
|
+
"ofType": null
|
|
13503
|
+
},
|
|
13504
|
+
"defaultValue": null
|
|
13505
|
+
},
|
|
13506
|
+
{
|
|
13507
|
+
"name": "last",
|
|
13508
|
+
"description": "The number of Payments to return per page, when paginating backwards. Defaults to 20, maximum is 200.",
|
|
13509
|
+
"type": {
|
|
13510
|
+
"kind": "SCALAR",
|
|
13511
|
+
"name": "Int",
|
|
13512
|
+
"ofType": null
|
|
13513
|
+
},
|
|
13514
|
+
"defaultValue": null
|
|
13515
|
+
},
|
|
13516
|
+
{
|
|
13517
|
+
"name": "ledger",
|
|
13518
|
+
"description": "The Ledger to list Payments for.",
|
|
13519
|
+
"type": {
|
|
13520
|
+
"kind": "NON_NULL",
|
|
13521
|
+
"name": null,
|
|
13522
|
+
"ofType": {
|
|
13523
|
+
"kind": "INPUT_OBJECT",
|
|
13524
|
+
"name": "LedgerMatchInput",
|
|
13525
|
+
"ofType": null
|
|
13526
|
+
}
|
|
13527
|
+
},
|
|
13528
|
+
"defaultValue": null
|
|
13529
|
+
}
|
|
13530
|
+
],
|
|
13531
|
+
"type": {
|
|
13532
|
+
"kind": "NON_NULL",
|
|
13533
|
+
"name": null,
|
|
13534
|
+
"ofType": {
|
|
13535
|
+
"kind": "OBJECT",
|
|
13536
|
+
"name": "LedgerPaymentsConnection",
|
|
13537
|
+
"ofType": null
|
|
13538
|
+
}
|
|
13539
|
+
},
|
|
13540
|
+
"isDeprecated": false,
|
|
13541
|
+
"deprecationReason": null
|
|
13542
|
+
},
|
|
12611
13543
|
{
|
|
12612
13544
|
"name": "ledgers",
|
|
12613
13545
|
"description": "Query Ledgers in workspace. Ledgers are paginated and returned in reverse-chronological order by their created date.",
|
|
12614
13546
|
"args": [
|
|
12615
13547
|
{
|
|
12616
13548
|
"name": "after",
|
|
12617
|
-
"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/
|
|
13549
|
+
"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/guides/query-data#basics-pagination).",
|
|
12618
13550
|
"type": {
|
|
12619
13551
|
"kind": "SCALAR",
|
|
12620
13552
|
"name": "String",
|
|
@@ -12624,7 +13556,7 @@
|
|
|
12624
13556
|
},
|
|
12625
13557
|
{
|
|
12626
13558
|
"name": "before",
|
|
12627
|
-
"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/
|
|
13559
|
+
"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/guides/query-data#basics-pagination).",
|
|
12628
13560
|
"type": {
|
|
12629
13561
|
"kind": "SCALAR",
|
|
12630
13562
|
"name": "String",
|
|
@@ -12634,7 +13566,7 @@
|
|
|
12634
13566
|
},
|
|
12635
13567
|
{
|
|
12636
13568
|
"name": "filter",
|
|
12637
|
-
"description": "Filter the Ledgers returned. Learn more about [querying Ledgers](https://fragment.dev/
|
|
13569
|
+
"description": "Filter the Ledgers returned. Learn more about [querying Ledgers](https://fragment.dev/guides/query-data#ledgers).",
|
|
12638
13570
|
"type": {
|
|
12639
13571
|
"kind": "INPUT_OBJECT",
|
|
12640
13572
|
"name": "LedgersFilterSet",
|
|
@@ -12751,7 +13683,7 @@
|
|
|
12751
13683
|
"args": [
|
|
12752
13684
|
{
|
|
12753
13685
|
"name": "after",
|
|
12754
|
-
"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/
|
|
13686
|
+
"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/guides/query-data#basics-pagination).",
|
|
12755
13687
|
"type": {
|
|
12756
13688
|
"kind": "SCALAR",
|
|
12757
13689
|
"name": "String",
|
|
@@ -12761,7 +13693,7 @@
|
|
|
12761
13693
|
},
|
|
12762
13694
|
{
|
|
12763
13695
|
"name": "before",
|
|
12764
|
-
"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/
|
|
13696
|
+
"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/guides/query-data#basics-pagination).",
|
|
12765
13697
|
"type": {
|
|
12766
13698
|
"kind": "SCALAR",
|
|
12767
13699
|
"name": "String",
|
|
@@ -12854,7 +13786,7 @@
|
|
|
12854
13786
|
{
|
|
12855
13787
|
"kind": "ENUM",
|
|
12856
13788
|
"name": "ReadBalanceConsistencyMode",
|
|
12857
|
-
"description": "The consistency configuration of a Ledger Account's balance queries. If not provided as an argument to a balance query, the default behavior is to read eventually consistent balances. See [Configure consistency](https://fragment.dev/
|
|
13789
|
+
"description": "The consistency configuration of a Ledger Account's balance queries. If not provided as an argument to a balance query, the default behavior is to read eventually consistent balances. See [Configure consistency](https://fragment.dev/guides/configure-consistency).",
|
|
12858
13790
|
"fields": null,
|
|
12859
13791
|
"inputFields": null,
|
|
12860
13792
|
"interfaces": null,
|
|
@@ -13243,7 +14175,7 @@
|
|
|
13243
14175
|
"args": [
|
|
13244
14176
|
{
|
|
13245
14177
|
"name": "after",
|
|
13246
|
-
"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/
|
|
14178
|
+
"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/guides/query-data#basics-pagination).",
|
|
13247
14179
|
"type": {
|
|
13248
14180
|
"kind": "SCALAR",
|
|
13249
14181
|
"name": "String",
|
|
@@ -13253,7 +14185,7 @@
|
|
|
13253
14185
|
},
|
|
13254
14186
|
{
|
|
13255
14187
|
"name": "before",
|
|
13256
|
-
"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/
|
|
14188
|
+
"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/guides/query-data#basics-pagination).",
|
|
13257
14189
|
"type": {
|
|
13258
14190
|
"kind": "SCALAR",
|
|
13259
14191
|
"name": "String",
|
|
@@ -13343,7 +14275,7 @@
|
|
|
13343
14275
|
"args": [
|
|
13344
14276
|
{
|
|
13345
14277
|
"name": "after",
|
|
13346
|
-
"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/
|
|
14278
|
+
"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/guides/query-data#basics-pagination).",
|
|
13347
14279
|
"type": {
|
|
13348
14280
|
"kind": "SCALAR",
|
|
13349
14281
|
"name": "String",
|
|
@@ -13353,7 +14285,7 @@
|
|
|
13353
14285
|
},
|
|
13354
14286
|
{
|
|
13355
14287
|
"name": "before",
|
|
13356
|
-
"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/
|
|
14288
|
+
"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/guides/query-data#basics-pagination).",
|
|
13357
14289
|
"type": {
|
|
13358
14290
|
"kind": "SCALAR",
|
|
13359
14291
|
"name": "String",
|
|
@@ -13485,12 +14417,12 @@
|
|
|
13485
14417
|
{
|
|
13486
14418
|
"kind": "INPUT_OBJECT",
|
|
13487
14419
|
"name": "SchemaConsistencyConfigInput",
|
|
13488
|
-
"description": "The consistency configuration for entities created within Ledgers created by this Schema.\n\nSee [Configure consistency](https://fragment.dev/
|
|
14420
|
+
"description": "The consistency configuration for entities created within Ledgers created by this Schema.\n\nSee [Configure consistency](https://fragment.dev/guides/configure-consistency).",
|
|
13489
14421
|
"fields": null,
|
|
13490
14422
|
"inputFields": [
|
|
13491
14423
|
{
|
|
13492
14424
|
"name": "entries",
|
|
13493
|
-
"description": "The consistency mode for the Ledger Entries list query within Ledgers created by this Schema.\n\nSee [Configure consistency](https://fragment.dev/
|
|
14425
|
+
"description": "The consistency mode for the Ledger Entries list query within Ledgers created by this Schema.\n\nSee [Configure consistency](https://fragment.dev/guides/configure-consistency).",
|
|
13494
14426
|
"type": {
|
|
13495
14427
|
"kind": "ENUM",
|
|
13496
14428
|
"name": "SchemaConsistencyMode",
|
|
@@ -13506,7 +14438,7 @@
|
|
|
13506
14438
|
{
|
|
13507
14439
|
"kind": "ENUM",
|
|
13508
14440
|
"name": "SchemaConsistencyMode",
|
|
13509
|
-
"description": "The consistency modes available for entities created within this Schema. \n\nSee [Configure consistency](https://fragment.dev/
|
|
14441
|
+
"description": "The consistency modes available for entities created within this Schema. \n\nSee [Configure consistency](https://fragment.dev/guides/configure-consistency).",
|
|
13510
14442
|
"fields": null,
|
|
13511
14443
|
"inputFields": null,
|
|
13512
14444
|
"interfaces": null,
|
|
@@ -13694,6 +14626,16 @@
|
|
|
13694
14626
|
},
|
|
13695
14627
|
"defaultValue": null
|
|
13696
14628
|
},
|
|
14629
|
+
{
|
|
14630
|
+
"name": "payments",
|
|
14631
|
+
"description": "EXPERIMENTAL: The Payment Types to add to the Schema.",
|
|
14632
|
+
"type": {
|
|
14633
|
+
"kind": "INPUT_OBJECT",
|
|
14634
|
+
"name": "SchemaPaymentsInput",
|
|
14635
|
+
"ofType": null
|
|
14636
|
+
},
|
|
14637
|
+
"defaultValue": null
|
|
14638
|
+
},
|
|
13697
14639
|
{
|
|
13698
14640
|
"name": "scenes",
|
|
13699
14641
|
"description": "Any scenes associated with this Schema.",
|
|
@@ -13794,7 +14736,7 @@
|
|
|
13794
14736
|
},
|
|
13795
14737
|
{
|
|
13796
14738
|
"name": "consistencyConfig",
|
|
13797
|
-
"description": "The consistency configuration for this ledger account. See [Configure consistency](https://fragment.dev/
|
|
14739
|
+
"description": "The consistency configuration for this ledger account. See [Configure consistency](https://fragment.dev/guides/configure-consistency).",
|
|
13798
14740
|
"type": {
|
|
13799
14741
|
"kind": "INPUT_OBJECT",
|
|
13800
14742
|
"name": "LedgerAccountConsistencyConfigInput",
|
|
@@ -13856,6 +14798,16 @@
|
|
|
13856
14798
|
},
|
|
13857
14799
|
"defaultValue": null
|
|
13858
14800
|
},
|
|
14801
|
+
{
|
|
14802
|
+
"name": "payment",
|
|
14803
|
+
"description": "EXPERIMENTAL: Marks this as a Payment Account.",
|
|
14804
|
+
"type": {
|
|
14805
|
+
"kind": "INPUT_OBJECT",
|
|
14806
|
+
"name": "SchemaPaymentInput",
|
|
14807
|
+
"ofType": null
|
|
14808
|
+
},
|
|
14809
|
+
"defaultValue": null
|
|
14810
|
+
},
|
|
13859
14811
|
{
|
|
13860
14812
|
"name": "status",
|
|
13861
14813
|
"description": "The status of this Ledger Account. Defaults to active.",
|
|
@@ -14272,21 +15224,388 @@
|
|
|
14272
15224
|
"name": null,
|
|
14273
15225
|
"ofType": {
|
|
14274
15226
|
"kind": "SCALAR",
|
|
14275
|
-
"name": "SafeString",
|
|
15227
|
+
"name": "SafeString",
|
|
15228
|
+
"ofType": null
|
|
15229
|
+
}
|
|
15230
|
+
},
|
|
15231
|
+
"defaultValue": null
|
|
15232
|
+
},
|
|
15233
|
+
{
|
|
15234
|
+
"name": "value",
|
|
15235
|
+
"description": "The value associated with the given key for this tag.",
|
|
15236
|
+
"type": {
|
|
15237
|
+
"kind": "NON_NULL",
|
|
15238
|
+
"name": null,
|
|
15239
|
+
"ofType": {
|
|
15240
|
+
"kind": "SCALAR",
|
|
15241
|
+
"name": "ParameterizedString",
|
|
15242
|
+
"ofType": null
|
|
15243
|
+
}
|
|
15244
|
+
},
|
|
15245
|
+
"defaultValue": null
|
|
15246
|
+
}
|
|
15247
|
+
],
|
|
15248
|
+
"interfaces": null,
|
|
15249
|
+
"enumValues": null,
|
|
15250
|
+
"possibleTypes": null
|
|
15251
|
+
},
|
|
15252
|
+
{
|
|
15253
|
+
"kind": "INPUT_OBJECT",
|
|
15254
|
+
"name": "SchemaLedgerLineInput",
|
|
15255
|
+
"description": "A Ledger Line in a Ledger Entry.",
|
|
15256
|
+
"fields": null,
|
|
15257
|
+
"inputFields": [
|
|
15258
|
+
{
|
|
15259
|
+
"name": "account",
|
|
15260
|
+
"description": "The Ledger Account this Ledger Line will be posted to.\nIt supports parameters in its attributes via handlebars syntax.",
|
|
15261
|
+
"type": {
|
|
15262
|
+
"kind": "NON_NULL",
|
|
15263
|
+
"name": null,
|
|
15264
|
+
"ofType": {
|
|
15265
|
+
"kind": "INPUT_OBJECT",
|
|
15266
|
+
"name": "SchemaLedgerAccountMatchInput",
|
|
15267
|
+
"ofType": null
|
|
15268
|
+
}
|
|
15269
|
+
},
|
|
15270
|
+
"defaultValue": null
|
|
15271
|
+
},
|
|
15272
|
+
{
|
|
15273
|
+
"name": "amount",
|
|
15274
|
+
"description": "The amount of the Ledger Line. It supports parameters via the handlebars syntax and addition (+) and subtraction (-).",
|
|
15275
|
+
"type": {
|
|
15276
|
+
"kind": "SCALAR",
|
|
15277
|
+
"name": "ParameterizedString",
|
|
15278
|
+
"ofType": null
|
|
15279
|
+
},
|
|
15280
|
+
"defaultValue": null
|
|
15281
|
+
},
|
|
15282
|
+
{
|
|
15283
|
+
"name": "currency",
|
|
15284
|
+
"description": "The currency of the Ledger Line. This is required if the Ledger Account has currencyMode multi.\nIt supports parameters in its attributes via handlebars syntax.",
|
|
15285
|
+
"type": {
|
|
15286
|
+
"kind": "INPUT_OBJECT",
|
|
15287
|
+
"name": "SchemaCurrencyMatchInput",
|
|
15288
|
+
"ofType": null
|
|
15289
|
+
},
|
|
15290
|
+
"defaultValue": null
|
|
15291
|
+
},
|
|
15292
|
+
{
|
|
15293
|
+
"name": "description",
|
|
15294
|
+
"description": "Human-readable description of the line.",
|
|
15295
|
+
"type": {
|
|
15296
|
+
"kind": "SCALAR",
|
|
15297
|
+
"name": "ParameterizedString",
|
|
15298
|
+
"ofType": null
|
|
15299
|
+
},
|
|
15300
|
+
"defaultValue": null
|
|
15301
|
+
},
|
|
15302
|
+
{
|
|
15303
|
+
"name": "key",
|
|
15304
|
+
"description": "The key for the Ledger Line. Ledger Line keys must be unique within a Ledger Entry. Key can be filtered on as part of the LedgerLinesFilterSet.",
|
|
15305
|
+
"type": {
|
|
15306
|
+
"kind": "NON_NULL",
|
|
15307
|
+
"name": null,
|
|
15308
|
+
"ofType": {
|
|
15309
|
+
"kind": "SCALAR",
|
|
15310
|
+
"name": "SafeString",
|
|
15311
|
+
"ofType": null
|
|
15312
|
+
}
|
|
15313
|
+
},
|
|
15314
|
+
"defaultValue": null
|
|
15315
|
+
},
|
|
15316
|
+
{
|
|
15317
|
+
"name": "repeated",
|
|
15318
|
+
"description": "Repeated expansion configuration. When set, this line is expanded at runtime for each element\nin the array parameter named by the key.",
|
|
15319
|
+
"type": {
|
|
15320
|
+
"kind": "INPUT_OBJECT",
|
|
15321
|
+
"name": "SchemaRepeatedConfigInput",
|
|
15322
|
+
"ofType": null
|
|
15323
|
+
},
|
|
15324
|
+
"defaultValue": null
|
|
15325
|
+
},
|
|
15326
|
+
{
|
|
15327
|
+
"name": "tags",
|
|
15328
|
+
"description": "Tags to attach to this Ledger Line. Supports parameterized values via handlebars syntax.",
|
|
15329
|
+
"type": {
|
|
15330
|
+
"kind": "LIST",
|
|
15331
|
+
"name": null,
|
|
15332
|
+
"ofType": {
|
|
15333
|
+
"kind": "NON_NULL",
|
|
15334
|
+
"name": null,
|
|
15335
|
+
"ofType": {
|
|
15336
|
+
"kind": "INPUT_OBJECT",
|
|
15337
|
+
"name": "SchemaLedgerEntryTagInput",
|
|
15338
|
+
"ofType": null
|
|
15339
|
+
}
|
|
15340
|
+
}
|
|
15341
|
+
},
|
|
15342
|
+
"defaultValue": null
|
|
15343
|
+
},
|
|
15344
|
+
{
|
|
15345
|
+
"name": "tx",
|
|
15346
|
+
"description": "The external transaction to reconcile.\nThis field is required if the Ledger Account being posted to is a Linked Ledger Account. Otherwise, this field is disallowed.\nIt supports parameters in its attributes via handlebars syntax.\n\nSee the docs on [reconciling payments](https://fragment.dev/guides/reconcile-payments).",
|
|
15347
|
+
"type": {
|
|
15348
|
+
"kind": "INPUT_OBJECT",
|
|
15349
|
+
"name": "SchemaTxMatchInput",
|
|
15350
|
+
"ofType": null
|
|
15351
|
+
},
|
|
15352
|
+
"defaultValue": null
|
|
15353
|
+
}
|
|
15354
|
+
],
|
|
15355
|
+
"interfaces": null,
|
|
15356
|
+
"enumValues": null,
|
|
15357
|
+
"possibleTypes": null
|
|
15358
|
+
},
|
|
15359
|
+
{
|
|
15360
|
+
"kind": "INPUT_OBJECT",
|
|
15361
|
+
"name": "SchemaMatchInput",
|
|
15362
|
+
"description": "An object used to retrieve a Schema.",
|
|
15363
|
+
"fields": null,
|
|
15364
|
+
"inputFields": [
|
|
15365
|
+
{
|
|
15366
|
+
"name": "key",
|
|
15367
|
+
"description": "The key to retrieve a Schema by.\n`key` is unique to a Workspace.",
|
|
15368
|
+
"type": {
|
|
15369
|
+
"kind": "NON_NULL",
|
|
15370
|
+
"name": null,
|
|
15371
|
+
"ofType": {
|
|
15372
|
+
"kind": "SCALAR",
|
|
15373
|
+
"name": "SafeString",
|
|
15374
|
+
"ofType": null
|
|
15375
|
+
}
|
|
15376
|
+
},
|
|
15377
|
+
"defaultValue": null
|
|
15378
|
+
},
|
|
15379
|
+
{
|
|
15380
|
+
"name": "version",
|
|
15381
|
+
"description": "Optional parameter to specify version of requested Schema. If not provided, it defaults to 0, representing the latest available version for the provided Schema key.",
|
|
15382
|
+
"type": {
|
|
15383
|
+
"kind": "SCALAR",
|
|
15384
|
+
"name": "Int",
|
|
15385
|
+
"ofType": null
|
|
15386
|
+
},
|
|
15387
|
+
"defaultValue": null
|
|
15388
|
+
}
|
|
15389
|
+
],
|
|
15390
|
+
"interfaces": null,
|
|
15391
|
+
"enumValues": null,
|
|
15392
|
+
"possibleTypes": null
|
|
15393
|
+
},
|
|
15394
|
+
{
|
|
15395
|
+
"kind": "INPUT_OBJECT",
|
|
15396
|
+
"name": "SchemaPaymentAccountingInput",
|
|
15397
|
+
"description": "EXPERIMENTAL: The Ledger Entries a Payment Type posts as a payment moves\nthrough its lifecycle, keyed by lifecycle transition.",
|
|
15398
|
+
"fields": null,
|
|
15399
|
+
"inputFields": [
|
|
15400
|
+
{
|
|
15401
|
+
"name": "needs_payment_method_to_processing",
|
|
15402
|
+
"description": "Posted when the payment enters processing. Optional.",
|
|
15403
|
+
"type": {
|
|
15404
|
+
"kind": "INPUT_OBJECT",
|
|
15405
|
+
"name": "SchemaPaymentEntryInput",
|
|
15406
|
+
"ofType": null
|
|
15407
|
+
},
|
|
15408
|
+
"defaultValue": null
|
|
15409
|
+
},
|
|
15410
|
+
{
|
|
15411
|
+
"name": "processing_to_settled",
|
|
15412
|
+
"description": "Posted when the payment settles. Every Payment Type must define it.",
|
|
15413
|
+
"type": {
|
|
15414
|
+
"kind": "NON_NULL",
|
|
15415
|
+
"name": null,
|
|
15416
|
+
"ofType": {
|
|
15417
|
+
"kind": "INPUT_OBJECT",
|
|
15418
|
+
"name": "SchemaPaymentEntryInput",
|
|
15419
|
+
"ofType": null
|
|
15420
|
+
}
|
|
15421
|
+
},
|
|
15422
|
+
"defaultValue": null
|
|
15423
|
+
}
|
|
15424
|
+
],
|
|
15425
|
+
"interfaces": null,
|
|
15426
|
+
"enumValues": null,
|
|
15427
|
+
"possibleTypes": null
|
|
15428
|
+
},
|
|
15429
|
+
{
|
|
15430
|
+
"kind": "INPUT_OBJECT",
|
|
15431
|
+
"name": "SchemaPaymentEntryInput",
|
|
15432
|
+
"description": "EXPERIMENTAL: The Ledger Entry a Payment Type posts on a payment lifecycle event.",
|
|
15433
|
+
"fields": null,
|
|
15434
|
+
"inputFields": [
|
|
15435
|
+
{
|
|
15436
|
+
"name": "description",
|
|
15437
|
+
"description": "Human-readable description of the payment entry.",
|
|
15438
|
+
"type": {
|
|
15439
|
+
"kind": "SCALAR",
|
|
15440
|
+
"name": "ParameterizedString",
|
|
15441
|
+
"ofType": null
|
|
15442
|
+
},
|
|
15443
|
+
"defaultValue": null
|
|
15444
|
+
},
|
|
15445
|
+
{
|
|
15446
|
+
"name": "lines",
|
|
15447
|
+
"description": "The Ledger Lines in the payment entry.",
|
|
15448
|
+
"type": {
|
|
15449
|
+
"kind": "NON_NULL",
|
|
15450
|
+
"name": null,
|
|
15451
|
+
"ofType": {
|
|
15452
|
+
"kind": "LIST",
|
|
15453
|
+
"name": null,
|
|
15454
|
+
"ofType": {
|
|
15455
|
+
"kind": "NON_NULL",
|
|
15456
|
+
"name": null,
|
|
15457
|
+
"ofType": {
|
|
15458
|
+
"kind": "INPUT_OBJECT",
|
|
15459
|
+
"name": "SchemaPaymentLineInput",
|
|
15460
|
+
"ofType": null
|
|
15461
|
+
}
|
|
15462
|
+
}
|
|
15463
|
+
}
|
|
15464
|
+
},
|
|
15465
|
+
"defaultValue": null
|
|
15466
|
+
}
|
|
15467
|
+
],
|
|
15468
|
+
"interfaces": null,
|
|
15469
|
+
"enumValues": null,
|
|
15470
|
+
"possibleTypes": null
|
|
15471
|
+
},
|
|
15472
|
+
{
|
|
15473
|
+
"kind": "INPUT_OBJECT",
|
|
15474
|
+
"name": "SchemaPaymentInput",
|
|
15475
|
+
"description": "EXPERIMENTAL: Marks a Ledger Account as a Payment Account.",
|
|
15476
|
+
"fields": null,
|
|
15477
|
+
"inputFields": [
|
|
15478
|
+
{
|
|
15479
|
+
"name": "penguin",
|
|
15480
|
+
"description": null,
|
|
15481
|
+
"type": {
|
|
15482
|
+
"kind": "NON_NULL",
|
|
15483
|
+
"name": null,
|
|
15484
|
+
"ofType": {
|
|
15485
|
+
"kind": "SCALAR",
|
|
15486
|
+
"name": "Boolean",
|
|
15487
|
+
"ofType": null
|
|
15488
|
+
}
|
|
15489
|
+
},
|
|
15490
|
+
"defaultValue": null
|
|
15491
|
+
}
|
|
15492
|
+
],
|
|
15493
|
+
"interfaces": null,
|
|
15494
|
+
"enumValues": null,
|
|
15495
|
+
"possibleTypes": null
|
|
15496
|
+
},
|
|
15497
|
+
{
|
|
15498
|
+
"kind": "INPUT_OBJECT",
|
|
15499
|
+
"name": "SchemaPaymentLineInput",
|
|
15500
|
+
"description": "EXPERIMENTAL: A Ledger Line in a payment entry.",
|
|
15501
|
+
"fields": null,
|
|
15502
|
+
"inputFields": [
|
|
15503
|
+
{
|
|
15504
|
+
"name": "account",
|
|
15505
|
+
"description": "The Ledger Account this line will be posted to.\nIt supports parameters in its attributes via handlebars syntax.",
|
|
15506
|
+
"type": {
|
|
15507
|
+
"kind": "NON_NULL",
|
|
15508
|
+
"name": null,
|
|
15509
|
+
"ofType": {
|
|
15510
|
+
"kind": "INPUT_OBJECT",
|
|
15511
|
+
"name": "SchemaLedgerAccountMatchInput",
|
|
15512
|
+
"ofType": null
|
|
15513
|
+
}
|
|
15514
|
+
},
|
|
15515
|
+
"defaultValue": null
|
|
15516
|
+
},
|
|
15517
|
+
{
|
|
15518
|
+
"name": "amount",
|
|
15519
|
+
"description": "The amount of the line. It supports parameters via the handlebars syntax and addition (+) and subtraction (-).",
|
|
15520
|
+
"type": {
|
|
15521
|
+
"kind": "NON_NULL",
|
|
15522
|
+
"name": null,
|
|
15523
|
+
"ofType": {
|
|
15524
|
+
"kind": "SCALAR",
|
|
15525
|
+
"name": "ParameterizedString",
|
|
15526
|
+
"ofType": null
|
|
15527
|
+
}
|
|
15528
|
+
},
|
|
15529
|
+
"defaultValue": null
|
|
15530
|
+
},
|
|
15531
|
+
{
|
|
15532
|
+
"name": "currency",
|
|
15533
|
+
"description": "The currency of the line. This is required if the Ledger Account has currencyMode multi.\nIt supports parameters in its attributes via handlebars syntax.",
|
|
15534
|
+
"type": {
|
|
15535
|
+
"kind": "INPUT_OBJECT",
|
|
15536
|
+
"name": "SchemaCurrencyMatchInput",
|
|
15537
|
+
"ofType": null
|
|
15538
|
+
},
|
|
15539
|
+
"defaultValue": null
|
|
15540
|
+
},
|
|
15541
|
+
{
|
|
15542
|
+
"name": "description",
|
|
15543
|
+
"description": "Human-readable description of the line.",
|
|
15544
|
+
"type": {
|
|
15545
|
+
"kind": "SCALAR",
|
|
15546
|
+
"name": "ParameterizedString",
|
|
15547
|
+
"ofType": null
|
|
15548
|
+
},
|
|
15549
|
+
"defaultValue": null
|
|
15550
|
+
},
|
|
15551
|
+
{
|
|
15552
|
+
"name": "key",
|
|
15553
|
+
"description": "The key for the line. Keys must be unique within a payment entry.",
|
|
15554
|
+
"type": {
|
|
15555
|
+
"kind": "NON_NULL",
|
|
15556
|
+
"name": null,
|
|
15557
|
+
"ofType": {
|
|
15558
|
+
"kind": "SCALAR",
|
|
15559
|
+
"name": "SafeString",
|
|
15560
|
+
"ofType": null
|
|
15561
|
+
}
|
|
15562
|
+
},
|
|
15563
|
+
"defaultValue": null
|
|
15564
|
+
},
|
|
15565
|
+
{
|
|
15566
|
+
"name": "system",
|
|
15567
|
+
"description": "Marks this as a system-owned line. Fragment fills the amounts of system\nlines when the payment entry is posted.",
|
|
15568
|
+
"type": {
|
|
15569
|
+
"kind": "ENUM",
|
|
15570
|
+
"name": "SchemaSystemLineKind",
|
|
15571
|
+
"ofType": null
|
|
15572
|
+
},
|
|
15573
|
+
"defaultValue": null
|
|
15574
|
+
}
|
|
15575
|
+
],
|
|
15576
|
+
"interfaces": null,
|
|
15577
|
+
"enumValues": null,
|
|
15578
|
+
"possibleTypes": null
|
|
15579
|
+
},
|
|
15580
|
+
{
|
|
15581
|
+
"kind": "INPUT_OBJECT",
|
|
15582
|
+
"name": "SchemaPaymentTypeDetailsInput",
|
|
15583
|
+
"description": "EXPERIMENTAL: The payment a Payment Type creates.",
|
|
15584
|
+
"fields": null,
|
|
15585
|
+
"inputFields": [
|
|
15586
|
+
{
|
|
15587
|
+
"name": "amount",
|
|
15588
|
+
"description": "The amount requested for the payment, as a parameterized expression filled\nfrom createPayment parameters.",
|
|
15589
|
+
"type": {
|
|
15590
|
+
"kind": "NON_NULL",
|
|
15591
|
+
"name": null,
|
|
15592
|
+
"ofType": {
|
|
15593
|
+
"kind": "SCALAR",
|
|
15594
|
+
"name": "ParameterizedString",
|
|
14276
15595
|
"ofType": null
|
|
14277
15596
|
}
|
|
14278
15597
|
},
|
|
14279
15598
|
"defaultValue": null
|
|
14280
15599
|
},
|
|
14281
15600
|
{
|
|
14282
|
-
"name": "
|
|
14283
|
-
"description": "The
|
|
15601
|
+
"name": "direction",
|
|
15602
|
+
"description": "The direction the payment moves money.",
|
|
14284
15603
|
"type": {
|
|
14285
15604
|
"kind": "NON_NULL",
|
|
14286
15605
|
"name": null,
|
|
14287
15606
|
"ofType": {
|
|
14288
|
-
"kind": "
|
|
14289
|
-
"name": "
|
|
15607
|
+
"kind": "ENUM",
|
|
15608
|
+
"name": "SchemaPaymentTypeDirection",
|
|
14290
15609
|
"ofType": null
|
|
14291
15610
|
}
|
|
14292
15611
|
},
|
|
@@ -14297,59 +15616,80 @@
|
|
|
14297
15616
|
"enumValues": null,
|
|
14298
15617
|
"possibleTypes": null
|
|
14299
15618
|
},
|
|
15619
|
+
{
|
|
15620
|
+
"kind": "ENUM",
|
|
15621
|
+
"name": "SchemaPaymentTypeDirection",
|
|
15622
|
+
"description": "The direction a Payment Type moves money.",
|
|
15623
|
+
"fields": null,
|
|
15624
|
+
"inputFields": null,
|
|
15625
|
+
"interfaces": null,
|
|
15626
|
+
"enumValues": [
|
|
15627
|
+
{
|
|
15628
|
+
"name": "payin",
|
|
15629
|
+
"description": "Money moves into the Payment Account.",
|
|
15630
|
+
"isDeprecated": false,
|
|
15631
|
+
"deprecationReason": null
|
|
15632
|
+
},
|
|
15633
|
+
{
|
|
15634
|
+
"name": "payout",
|
|
15635
|
+
"description": "Money moves out of the Payment Account.",
|
|
15636
|
+
"isDeprecated": false,
|
|
15637
|
+
"deprecationReason": null
|
|
15638
|
+
}
|
|
15639
|
+
],
|
|
15640
|
+
"possibleTypes": null
|
|
15641
|
+
},
|
|
14300
15642
|
{
|
|
14301
15643
|
"kind": "INPUT_OBJECT",
|
|
14302
|
-
"name": "
|
|
14303
|
-
"description": "A
|
|
15644
|
+
"name": "SchemaPaymentTypeInput",
|
|
15645
|
+
"description": "EXPERIMENTAL: A Payment Type in a Schema. All Payment Types defined in a\nSchema must have a unique `type` and `typeVersion` pair.",
|
|
14304
15646
|
"fields": null,
|
|
14305
15647
|
"inputFields": [
|
|
14306
15648
|
{
|
|
14307
|
-
"name": "
|
|
14308
|
-
"description": "The Ledger
|
|
15649
|
+
"name": "accounting",
|
|
15650
|
+
"description": "The Ledger Entries posted as the payment moves through its lifecycle.",
|
|
14309
15651
|
"type": {
|
|
14310
15652
|
"kind": "NON_NULL",
|
|
14311
15653
|
"name": null,
|
|
14312
15654
|
"ofType": {
|
|
14313
15655
|
"kind": "INPUT_OBJECT",
|
|
14314
|
-
"name": "
|
|
15656
|
+
"name": "SchemaPaymentAccountingInput",
|
|
14315
15657
|
"ofType": null
|
|
14316
15658
|
}
|
|
14317
15659
|
},
|
|
14318
15660
|
"defaultValue": null
|
|
14319
15661
|
},
|
|
14320
15662
|
{
|
|
14321
|
-
"name": "
|
|
14322
|
-
"description": "The
|
|
14323
|
-
"type": {
|
|
14324
|
-
"kind": "SCALAR",
|
|
14325
|
-
"name": "ParameterizedString",
|
|
14326
|
-
"ofType": null
|
|
14327
|
-
},
|
|
14328
|
-
"defaultValue": null
|
|
14329
|
-
},
|
|
14330
|
-
{
|
|
14331
|
-
"name": "currency",
|
|
14332
|
-
"description": "The currency of the Ledger Line. This is required if the Ledger Account has currencyMode multi.\nIt supports parameters in its attributes via handlebars syntax.",
|
|
15663
|
+
"name": "payment",
|
|
15664
|
+
"description": "The payment this Payment Type creates.",
|
|
14333
15665
|
"type": {
|
|
14334
|
-
"kind": "
|
|
14335
|
-
"name":
|
|
14336
|
-
"ofType":
|
|
15666
|
+
"kind": "NON_NULL",
|
|
15667
|
+
"name": null,
|
|
15668
|
+
"ofType": {
|
|
15669
|
+
"kind": "INPUT_OBJECT",
|
|
15670
|
+
"name": "SchemaPaymentTypeDetailsInput",
|
|
15671
|
+
"ofType": null
|
|
15672
|
+
}
|
|
14337
15673
|
},
|
|
14338
15674
|
"defaultValue": null
|
|
14339
15675
|
},
|
|
14340
15676
|
{
|
|
14341
|
-
"name": "
|
|
14342
|
-
"description": "
|
|
15677
|
+
"name": "status",
|
|
15678
|
+
"description": "The status of this Payment Type.",
|
|
14343
15679
|
"type": {
|
|
14344
|
-
"kind": "
|
|
14345
|
-
"name":
|
|
14346
|
-
"ofType":
|
|
15680
|
+
"kind": "NON_NULL",
|
|
15681
|
+
"name": null,
|
|
15682
|
+
"ofType": {
|
|
15683
|
+
"kind": "ENUM",
|
|
15684
|
+
"name": "SchemaPaymentTypeStatus",
|
|
15685
|
+
"ofType": null
|
|
15686
|
+
}
|
|
14347
15687
|
},
|
|
14348
15688
|
"defaultValue": null
|
|
14349
15689
|
},
|
|
14350
15690
|
{
|
|
14351
|
-
"name": "
|
|
14352
|
-
"description": "The
|
|
15691
|
+
"name": "type",
|
|
15692
|
+
"description": "The type of this Payment Type. This is a stable, unique identifier for it.\nUniqueness is enforced at the Schema level.",
|
|
14353
15693
|
"type": {
|
|
14354
15694
|
"kind": "NON_NULL",
|
|
14355
15695
|
"name": null,
|
|
@@ -14362,77 +15702,68 @@
|
|
|
14362
15702
|
"defaultValue": null
|
|
14363
15703
|
},
|
|
14364
15704
|
{
|
|
14365
|
-
"name": "
|
|
14366
|
-
"description": "
|
|
14367
|
-
"type": {
|
|
14368
|
-
"kind": "INPUT_OBJECT",
|
|
14369
|
-
"name": "SchemaRepeatedConfigInput",
|
|
14370
|
-
"ofType": null
|
|
14371
|
-
},
|
|
14372
|
-
"defaultValue": null
|
|
14373
|
-
},
|
|
14374
|
-
{
|
|
14375
|
-
"name": "tags",
|
|
14376
|
-
"description": "Tags to attach to this Ledger Line. Supports parameterized values via handlebars syntax.",
|
|
15705
|
+
"name": "typeVersion",
|
|
15706
|
+
"description": "The version of the Payment Type.",
|
|
14377
15707
|
"type": {
|
|
14378
|
-
"kind": "
|
|
15708
|
+
"kind": "NON_NULL",
|
|
14379
15709
|
"name": null,
|
|
14380
15710
|
"ofType": {
|
|
14381
|
-
"kind": "
|
|
14382
|
-
"name":
|
|
14383
|
-
"ofType":
|
|
14384
|
-
"kind": "INPUT_OBJECT",
|
|
14385
|
-
"name": "SchemaLedgerEntryTagInput",
|
|
14386
|
-
"ofType": null
|
|
14387
|
-
}
|
|
15711
|
+
"kind": "SCALAR",
|
|
15712
|
+
"name": "Int",
|
|
15713
|
+
"ofType": null
|
|
14388
15714
|
}
|
|
14389
15715
|
},
|
|
14390
15716
|
"defaultValue": null
|
|
14391
|
-
},
|
|
14392
|
-
{
|
|
14393
|
-
"name": "tx",
|
|
14394
|
-
"description": "The external transaction to reconcile.\nThis field is required if the Ledger Account being posted to is a Linked Ledger Account. Otherwise, this field is disallowed.\nIt supports parameters in its attributes via handlebars syntax.\n\nSee the docs on [reconciling payments](https://fragment.dev/docs/reconcile-payments).",
|
|
14395
|
-
"type": {
|
|
14396
|
-
"kind": "INPUT_OBJECT",
|
|
14397
|
-
"name": "SchemaTxMatchInput",
|
|
14398
|
-
"ofType": null
|
|
14399
|
-
},
|
|
14400
|
-
"defaultValue": null
|
|
14401
15717
|
}
|
|
14402
15718
|
],
|
|
14403
15719
|
"interfaces": null,
|
|
14404
15720
|
"enumValues": null,
|
|
14405
15721
|
"possibleTypes": null
|
|
14406
15722
|
},
|
|
15723
|
+
{
|
|
15724
|
+
"kind": "ENUM",
|
|
15725
|
+
"name": "SchemaPaymentTypeStatus",
|
|
15726
|
+
"description": "The status of a Payment Type.",
|
|
15727
|
+
"fields": null,
|
|
15728
|
+
"inputFields": null,
|
|
15729
|
+
"interfaces": null,
|
|
15730
|
+
"enumValues": [
|
|
15731
|
+
{
|
|
15732
|
+
"name": "active",
|
|
15733
|
+
"description": "The Payment Type is active.",
|
|
15734
|
+
"isDeprecated": false,
|
|
15735
|
+
"deprecationReason": null
|
|
15736
|
+
}
|
|
15737
|
+
],
|
|
15738
|
+
"possibleTypes": null
|
|
15739
|
+
},
|
|
14407
15740
|
{
|
|
14408
15741
|
"kind": "INPUT_OBJECT",
|
|
14409
|
-
"name": "
|
|
14410
|
-
"description": "
|
|
15742
|
+
"name": "SchemaPaymentsInput",
|
|
15743
|
+
"description": "EXPERIMENTAL: The Payment Types in your Schema.",
|
|
14411
15744
|
"fields": null,
|
|
14412
15745
|
"inputFields": [
|
|
14413
15746
|
{
|
|
14414
|
-
"name": "
|
|
14415
|
-
"description": "
|
|
15747
|
+
"name": "types",
|
|
15748
|
+
"description": "A list of Payment Type definitions.",
|
|
14416
15749
|
"type": {
|
|
14417
15750
|
"kind": "NON_NULL",
|
|
14418
15751
|
"name": null,
|
|
14419
15752
|
"ofType": {
|
|
14420
|
-
"kind": "
|
|
14421
|
-
"name":
|
|
14422
|
-
"ofType":
|
|
15753
|
+
"kind": "LIST",
|
|
15754
|
+
"name": null,
|
|
15755
|
+
"ofType": {
|
|
15756
|
+
"kind": "NON_NULL",
|
|
15757
|
+
"name": null,
|
|
15758
|
+
"ofType": {
|
|
15759
|
+
"kind": "INPUT_OBJECT",
|
|
15760
|
+
"name": "SchemaPaymentTypeInput",
|
|
15761
|
+
"ofType": null
|
|
15762
|
+
}
|
|
15763
|
+
}
|
|
14423
15764
|
}
|
|
14424
15765
|
},
|
|
14425
15766
|
"defaultValue": null
|
|
14426
|
-
},
|
|
14427
|
-
{
|
|
14428
|
-
"name": "version",
|
|
14429
|
-
"description": "Optional parameter to specify version of requested Schema. If not provided, it defaults to 0, representing the latest available version for the provided Schema key.",
|
|
14430
|
-
"type": {
|
|
14431
|
-
"kind": "SCALAR",
|
|
14432
|
-
"name": "Int",
|
|
14433
|
-
"ofType": null
|
|
14434
|
-
},
|
|
14435
|
-
"defaultValue": null
|
|
14436
15767
|
}
|
|
14437
15768
|
],
|
|
14438
15769
|
"interfaces": null,
|
|
@@ -14464,6 +15795,29 @@
|
|
|
14464
15795
|
"enumValues": null,
|
|
14465
15796
|
"possibleTypes": null
|
|
14466
15797
|
},
|
|
15798
|
+
{
|
|
15799
|
+
"kind": "ENUM",
|
|
15800
|
+
"name": "SchemaSystemLineKind",
|
|
15801
|
+
"description": "Identifies a system-owned line in a payment entry. The amounts of system\nlines are filled by Fragment when the payment entry is posted.",
|
|
15802
|
+
"fields": null,
|
|
15803
|
+
"inputFields": null,
|
|
15804
|
+
"interfaces": null,
|
|
15805
|
+
"enumValues": [
|
|
15806
|
+
{
|
|
15807
|
+
"name": "payment_fee_line",
|
|
15808
|
+
"description": "The line carrying the Fragment fee amount, posted to the Payment Account.",
|
|
15809
|
+
"isDeprecated": false,
|
|
15810
|
+
"deprecationReason": null
|
|
15811
|
+
},
|
|
15812
|
+
{
|
|
15813
|
+
"name": "payment_settlement_line",
|
|
15814
|
+
"description": "The line carrying the settled payment amount, posted to the Payment Account.",
|
|
15815
|
+
"isDeprecated": false,
|
|
15816
|
+
"deprecationReason": null
|
|
15817
|
+
}
|
|
15818
|
+
],
|
|
15819
|
+
"possibleTypes": null
|
|
15820
|
+
},
|
|
14467
15821
|
{
|
|
14468
15822
|
"kind": "INPUT_OBJECT",
|
|
14469
15823
|
"name": "SchemaTxMatchInput",
|
|
@@ -14804,6 +16158,24 @@
|
|
|
14804
16158
|
"ofType": null
|
|
14805
16159
|
},
|
|
14806
16160
|
"defaultValue": null
|
|
16161
|
+
},
|
|
16162
|
+
{
|
|
16163
|
+
"name": "matchesAny",
|
|
16164
|
+
"description": "Must match any one of the provided `matches` patterns, OR-ed together — results are returned as a single paginated list. Each entry uses the same wildcard grammar as `matches`. Cannot be combined with `matches`. Limited to 100 entries.",
|
|
16165
|
+
"type": {
|
|
16166
|
+
"kind": "LIST",
|
|
16167
|
+
"name": null,
|
|
16168
|
+
"ofType": {
|
|
16169
|
+
"kind": "NON_NULL",
|
|
16170
|
+
"name": null,
|
|
16171
|
+
"ofType": {
|
|
16172
|
+
"kind": "SCALAR",
|
|
16173
|
+
"name": "String",
|
|
16174
|
+
"ofType": null
|
|
16175
|
+
}
|
|
16176
|
+
}
|
|
16177
|
+
},
|
|
16178
|
+
"defaultValue": null
|
|
14807
16179
|
}
|
|
14808
16180
|
],
|
|
14809
16181
|
"interfaces": null,
|
|
@@ -16017,6 +17389,24 @@
|
|
|
16017
17389
|
},
|
|
16018
17390
|
"defaultValue": null
|
|
16019
17391
|
},
|
|
17392
|
+
{
|
|
17393
|
+
"name": "ledgerLines",
|
|
17394
|
+
"description": "The list of Ledger Line updates to apply to Ledger Lines on this Ledger Entry.",
|
|
17395
|
+
"type": {
|
|
17396
|
+
"kind": "LIST",
|
|
17397
|
+
"name": null,
|
|
17398
|
+
"ofType": {
|
|
17399
|
+
"kind": "NON_NULL",
|
|
17400
|
+
"name": null,
|
|
17401
|
+
"ofType": {
|
|
17402
|
+
"kind": "INPUT_OBJECT",
|
|
17403
|
+
"name": "UpdateLedgerLineInput",
|
|
17404
|
+
"ofType": null
|
|
17405
|
+
}
|
|
17406
|
+
}
|
|
17407
|
+
},
|
|
17408
|
+
"defaultValue": null
|
|
17409
|
+
},
|
|
16020
17410
|
{
|
|
16021
17411
|
"name": "tags",
|
|
16022
17412
|
"description": "The list of Tags to add and/or update on this Ledger Entry.",
|
|
@@ -16132,6 +17522,67 @@
|
|
|
16132
17522
|
"enumValues": null,
|
|
16133
17523
|
"possibleTypes": null
|
|
16134
17524
|
},
|
|
17525
|
+
{
|
|
17526
|
+
"kind": "INPUT_OBJECT",
|
|
17527
|
+
"name": "UpdateLedgerLineInput",
|
|
17528
|
+
"description": null,
|
|
17529
|
+
"fields": null,
|
|
17530
|
+
"inputFields": [
|
|
17531
|
+
{
|
|
17532
|
+
"name": "ledgerLine",
|
|
17533
|
+
"description": "The Ledger Line that is being updated. It must belong to the Ledger Entry being updated.",
|
|
17534
|
+
"type": {
|
|
17535
|
+
"kind": "NON_NULL",
|
|
17536
|
+
"name": null,
|
|
17537
|
+
"ofType": {
|
|
17538
|
+
"kind": "INPUT_OBJECT",
|
|
17539
|
+
"name": "LedgerLineMatchInput",
|
|
17540
|
+
"ofType": null
|
|
17541
|
+
}
|
|
17542
|
+
},
|
|
17543
|
+
"defaultValue": null
|
|
17544
|
+
},
|
|
17545
|
+
{
|
|
17546
|
+
"name": "tags",
|
|
17547
|
+
"description": "The list of Tags to add and/or update on this Ledger Line.",
|
|
17548
|
+
"type": {
|
|
17549
|
+
"kind": "LIST",
|
|
17550
|
+
"name": null,
|
|
17551
|
+
"ofType": {
|
|
17552
|
+
"kind": "NON_NULL",
|
|
17553
|
+
"name": null,
|
|
17554
|
+
"ofType": {
|
|
17555
|
+
"kind": "INPUT_OBJECT",
|
|
17556
|
+
"name": "LedgerLineTagInput",
|
|
17557
|
+
"ofType": null
|
|
17558
|
+
}
|
|
17559
|
+
}
|
|
17560
|
+
},
|
|
17561
|
+
"defaultValue": null
|
|
17562
|
+
},
|
|
17563
|
+
{
|
|
17564
|
+
"name": "tagsToRemove",
|
|
17565
|
+
"description": "The list of Tags to remove from this Ledger Line.",
|
|
17566
|
+
"type": {
|
|
17567
|
+
"kind": "LIST",
|
|
17568
|
+
"name": null,
|
|
17569
|
+
"ofType": {
|
|
17570
|
+
"kind": "NON_NULL",
|
|
17571
|
+
"name": null,
|
|
17572
|
+
"ofType": {
|
|
17573
|
+
"kind": "INPUT_OBJECT",
|
|
17574
|
+
"name": "LedgerLineTagInput",
|
|
17575
|
+
"ofType": null
|
|
17576
|
+
}
|
|
17577
|
+
}
|
|
17578
|
+
},
|
|
17579
|
+
"defaultValue": null
|
|
17580
|
+
}
|
|
17581
|
+
],
|
|
17582
|
+
"interfaces": null,
|
|
17583
|
+
"enumValues": null,
|
|
17584
|
+
"possibleTypes": null
|
|
17585
|
+
},
|
|
16135
17586
|
{
|
|
16136
17587
|
"kind": "UNION",
|
|
16137
17588
|
"name": "UpdateLedgerResponse",
|
|
@@ -16436,6 +17887,12 @@
|
|
|
16436
17887
|
"isDeprecated": false,
|
|
16437
17888
|
"deprecationReason": null
|
|
16438
17889
|
},
|
|
17890
|
+
{
|
|
17891
|
+
"name": "VARIABLE_DEFINITION",
|
|
17892
|
+
"description": "Location adjacent to a variable definition.",
|
|
17893
|
+
"isDeprecated": false,
|
|
17894
|
+
"deprecationReason": null
|
|
17895
|
+
},
|
|
16439
17896
|
{
|
|
16440
17897
|
"name": "SCHEMA",
|
|
16441
17898
|
"description": "Location adjacent to a schema definition.",
|
|
@@ -16501,12 +17958,6 @@
|
|
|
16501
17958
|
"description": "Location adjacent to an input object field definition.",
|
|
16502
17959
|
"isDeprecated": false,
|
|
16503
17960
|
"deprecationReason": null
|
|
16504
|
-
},
|
|
16505
|
-
{
|
|
16506
|
-
"name": "VARIABLE_DEFINITION",
|
|
16507
|
-
"description": "Location adjacent to a variable definition.",
|
|
16508
|
-
"isDeprecated": false,
|
|
16509
|
-
"deprecationReason": null
|
|
16510
17961
|
}
|
|
16511
17962
|
],
|
|
16512
17963
|
"possibleTypes": null
|