@fragment-dev/cli 2026.10.17 → 2026.10.19-12
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.
- package/dist/{chunk-GYWED2SH.js → chunk-3JWLAXCA.js} +1 -1
- package/dist/{chunk-T4F2KIRS.js → chunk-3SSYKK4L.js} +1 -1
- package/dist/{chunk-MKZVZ5AM.js → chunk-4AZDMO3F.js} +1 -1
- package/dist/{chunk-X7F4UURD.js → chunk-4NAXLXCY.js} +1 -1
- package/dist/{chunk-TGUREEUR.js → chunk-6PQBSUOC.js} +1 -1
- package/dist/{chunk-WP5UMDHV.js → chunk-A5YYXU6L.js} +1 -1
- package/dist/{chunk-WOURST6S.js → chunk-CLYW55VK.js} +1 -1
- package/dist/{chunk-3FGXDI32.js → chunk-G4BHAMX2.js} +1 -1
- package/dist/{chunk-H6M4ESQ5.js → chunk-GEZWFZB5.js} +1886 -242
- package/dist/{chunk-IXB7366H.js → chunk-HQUHJD7J.js} +1 -1
- package/dist/{chunk-BR3BGX47.js → chunk-I466MTHZ.js} +1 -1
- package/dist/{chunk-XTIWELC3.js → chunk-I6Z32LFY.js} +3 -3
- package/dist/{chunk-3TFIBVQL.js → chunk-J62IRQUQ.js} +18 -6
- package/dist/{chunk-UATL3BDC.js → chunk-LQY2CVHR.js} +1 -1
- package/dist/{chunk-ETYQBPZP.js → chunk-LTGDFG7C.js} +46 -1679
- package/dist/{chunk-SUAZLG32.js → chunk-LYLOVF56.js} +19 -19
- package/dist/{chunk-XF6FG52L.js → chunk-N4AAJ2Q4.js} +1 -1
- package/dist/{chunk-W44J2JVQ.js → chunk-NJASXIBV.js} +1 -1
- package/dist/{chunk-2HMFSCLH.js → chunk-OJMX77SF.js} +4 -4
- package/dist/{chunk-XXZYCI7W.js → chunk-Q7VAVBZL.js} +3 -3
- package/dist/{chunk-WSXVGBNN.js → chunk-QJEJBASA.js} +4 -0
- package/dist/{chunk-UGKOSHL3.js → chunk-RD6UER2I.js} +1 -1
- package/dist/{chunk-WON5U5HP.js → chunk-TQANG7FZ.js} +1 -1
- package/dist/{chunk-CGDMBIH5.js → chunk-UHOCZFNK.js} +1 -1
- package/dist/{chunk-DESBLI6A.js → chunk-VPEZW3DX.js} +1 -1
- package/dist/{chunk-NAPBYVP3.js → chunk-XNLWAWUO.js} +1 -1
- package/dist/{chunk-2TNTVKTC.js → chunk-ZJ7HFBBE.js} +1 -1
- package/dist/{chunk-XRJA4D4I.js → chunk-ZXRWYH2K.js} +6 -6
- package/dist/{chunk-DDSENTEL.js → chunk-ZZFFRSK4.js} +1 -1
- package/dist/commands/add-ledger-entry.js +3 -3
- package/dist/commands/create-custom-link.js +3 -3
- package/dist/commands/create-ledger.js +3 -3
- package/dist/commands/delete-custom-txs.js +3 -3
- package/dist/commands/delete-ledger.js +3 -3
- package/dist/commands/delete-schema.js +3 -3
- package/dist/commands/gen-graphql.js +6 -6
- package/dist/commands/get-schema.js +3 -3
- package/dist/commands/migrate-ledger-entry.js +3 -3
- package/dist/commands/query/ledgerAccounts.js +3 -3
- package/dist/commands/query/ledgers.js +3 -3
- package/dist/commands/query/schema.js +3 -3
- package/dist/commands/query/schemas.js +3 -3
- package/dist/commands/reverse-ledger-entry.js +3 -3
- package/dist/commands/store-schema.js +3 -3
- package/dist/commands/token.js +3 -3
- package/dist/commands/update-ledger-account.js +3 -3
- package/dist/commands/verify-schema.js +7 -7
- package/dist/commands/workspace.js +3 -3
- package/dist/commands.js +29 -29
- package/dist/graphql.js +3 -3
- package/dist/index.js +29 -29
- package/dist/lib/authenticatedCommand.js +2 -2
- package/dist/lib/sdk.js +1 -1
- package/dist/utils/formatValidationErrors.js +2 -2
- package/dist/utils/schemaBackCompat.js +6 -6
- package/dist/utils/schemaValidation.js +5 -5
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BackCompatCheckError,
|
|
3
3
|
verifySchemaAgainstFile
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZXRWYH2K.js";
|
|
5
5
|
import {
|
|
6
6
|
extractSchemaMetadata,
|
|
7
7
|
isJsonParseError,
|
|
8
8
|
validateSchemaStructure
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Q7VAVBZL.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_SCHEMA_PATH
|
|
12
12
|
} from "./chunk-A4BSWX5D.js";
|
|
13
13
|
import {
|
|
14
14
|
logValidationErrors
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-G4BHAMX2.js";
|
|
16
16
|
import {
|
|
17
17
|
FragmentCommand,
|
|
18
18
|
require_lib
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
codes,
|
|
10
10
|
getStringParametersInternal,
|
|
11
11
|
z
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LTGDFG7C.js";
|
|
13
13
|
import {
|
|
14
14
|
init_cjs_shims
|
|
15
15
|
} from "./chunk-7GH3YGSC.js";
|
|
@@ -283,7 +283,11 @@ var BaseLedgerEntries = z.object({
|
|
|
283
283
|
var PaymentAccountingEventKey = {
|
|
284
284
|
/** The payment was captured and is guaranteed to settle. */
|
|
285
285
|
initiated: "initiated",
|
|
286
|
-
settled: "settled"
|
|
286
|
+
settled: "settled",
|
|
287
|
+
/** A refund of the settled payment is initiated. */
|
|
288
|
+
refund_initiated: "refund_initiated",
|
|
289
|
+
/** An initiated refund failed, so the refunded funds return. */
|
|
290
|
+
refund_failed: "refund_failed"
|
|
287
291
|
};
|
|
288
292
|
var PaymentAccountingEventKeySchema = z.nativeEnum(
|
|
289
293
|
PaymentAccountingEventKey
|
|
@@ -295,16 +299,22 @@ var PaymentTypeDirection = {
|
|
|
295
299
|
var PaymentTypeDirectionSchema = z.nativeEnum(PaymentTypeDirection);
|
|
296
300
|
var SystemLineKind = {
|
|
297
301
|
payment_settlement_line: "payment_settlement_line",
|
|
298
|
-
payment_fee_line: "payment_fee_line"
|
|
302
|
+
payment_fee_line: "payment_fee_line",
|
|
303
|
+
payment_refund_line: "payment_refund_line",
|
|
304
|
+
payment_refund_reversal_line: "payment_refund_reversal_line"
|
|
299
305
|
};
|
|
300
306
|
var SystemLineKindSchema = z.nativeEnum(SystemLineKind);
|
|
301
307
|
var SystemLineParameterName = {
|
|
302
308
|
payment_settlement_line: "settled_amount",
|
|
303
|
-
payment_fee_line: "fragment_fee_amount"
|
|
309
|
+
payment_fee_line: "fragment_fee_amount",
|
|
310
|
+
payment_refund_line: "refund_amount",
|
|
311
|
+
payment_refund_reversal_line: "refund_amount"
|
|
304
312
|
};
|
|
305
313
|
var SYSTEM_LINE_AMOUNT = {
|
|
306
314
|
[SystemLineKind.payment_settlement_line]: `{{${SystemLineParameterName.payment_settlement_line}}}`,
|
|
307
|
-
[SystemLineKind.payment_fee_line]: `-{{${SystemLineParameterName.payment_fee_line}}}
|
|
315
|
+
[SystemLineKind.payment_fee_line]: `-{{${SystemLineParameterName.payment_fee_line}}}`,
|
|
316
|
+
[SystemLineKind.payment_refund_line]: `-{{${SystemLineParameterName.payment_refund_line}}}`,
|
|
317
|
+
[SystemLineKind.payment_refund_reversal_line]: `{{${SystemLineParameterName.payment_refund_reversal_line}}}`
|
|
308
318
|
};
|
|
309
319
|
var SYSTEM_PARAMETER_NAMES = new Set(
|
|
310
320
|
Object.values(SystemLineParameterName)
|
|
@@ -334,7 +344,9 @@ var BaseSchemaPaymentTypeInput = z.object({
|
|
|
334
344
|
payment: BaseSchemaPaymentInput,
|
|
335
345
|
accounting: z.object({
|
|
336
346
|
initiated: BaseSchemaPaymentEntryInput.optional(),
|
|
337
|
-
settled: BaseSchemaPaymentEntryInput
|
|
347
|
+
settled: BaseSchemaPaymentEntryInput,
|
|
348
|
+
refund_initiated: BaseSchemaPaymentEntryInput.optional(),
|
|
349
|
+
refund_failed: BaseSchemaPaymentEntryInput.optional()
|
|
338
350
|
})
|
|
339
351
|
});
|
|
340
352
|
var BaseSchemaPayments = z.object({
|