@fragment-dev/cli 2026.11.4 → 2026.11.5-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-JRT45OMO.js → chunk-BBLE7Q3G.js} +5 -5
- package/dist/{chunk-2P5K2WKS.js → chunk-H2RK3NKQ.js} +1 -1
- package/dist/{chunk-ZVMXT2Z6.js → chunk-IMSB6JER.js} +1 -1
- package/dist/{chunk-BG476Z37.js → chunk-JBDQ25BB.js} +4 -4
- package/dist/{chunk-KGSG5SYE.js → chunk-JW6HD3IZ.js} +1 -1
- package/dist/{chunk-USYOERT2.js → chunk-P73TPXBG.js} +1 -1
- package/dist/{chunk-LFFZEW7I.js → chunk-V3LLFTBC.js} +1 -1
- package/dist/{chunk-VYIRWU6N.js → chunk-X3ZHPSHH.js} +57 -0
- package/dist/commands/gen-graphql.js +3 -3
- package/dist/commands/login.js +1 -1
- package/dist/commands/simulate-scenario.js +2 -2
- package/dist/commands/token.js +1 -1
- package/dist/commands.js +8 -8
- package/dist/graphql.js +2 -2
- package/dist/index.js +8 -8
- package/dist/queries/standard-queries.js +1 -1
- package/dist/utils/formatScenarioBalances.js +1 -1
- package/oclif.manifest.json +3 -3
- package/package.json +1 -1
|
@@ -470,7 +470,7 @@ var PaymentPersistenceEvent = {
|
|
|
470
470
|
retry: "retry",
|
|
471
471
|
/** The card network captured the payment; it is guaranteed to settle. */
|
|
472
472
|
card_captured: "card_captured",
|
|
473
|
-
/**
|
|
473
|
+
/** Stripe declined an attempt, or refused to create a PaymentIntent for it. */
|
|
474
474
|
card_declined: "card_declined",
|
|
475
475
|
/** The payer abandoned or failed an attempt's 3DS challenge. */
|
|
476
476
|
card_3ds_canceled: "card_3ds_canceled",
|
|
@@ -480,22 +480,22 @@ var PaymentPersistenceEvent = {
|
|
|
480
480
|
refund_initiated: "refund_initiated",
|
|
481
481
|
/** A Fragment Payment refund cleared its in-transit account. */
|
|
482
482
|
refund_settled: "refund_settled",
|
|
483
|
-
/**
|
|
483
|
+
/** Stripe declined a Fragment Payment refund. */
|
|
484
484
|
refund_failed: "refund_failed"
|
|
485
485
|
};
|
|
486
486
|
var PaymentPersistenceEventSchema = z.nativeEnum(
|
|
487
487
|
PaymentPersistenceEvent
|
|
488
488
|
);
|
|
489
489
|
var InternalPaymentAttemptStatus = {
|
|
490
|
-
/** Payment attempt not yet sent to
|
|
490
|
+
/** Payment attempt not yet sent to Stripe. */
|
|
491
491
|
created: "created",
|
|
492
|
-
/** Payment attempt has been sent to
|
|
492
|
+
/** Payment attempt has been sent to Stripe and is being processed. */
|
|
493
493
|
processing: "processing",
|
|
494
494
|
/** Payment attempt has been accepted. */
|
|
495
495
|
accepted: "accepted",
|
|
496
496
|
/** Payment attempt has been declined. */
|
|
497
497
|
declined: "declined",
|
|
498
|
-
/**
|
|
498
|
+
/** Stripe refused to create a PaymentIntent for the attempt. */
|
|
499
499
|
rejected: "rejected",
|
|
500
500
|
/** The payer abandoned or failed the attempt's 3DS challenge. */
|
|
501
501
|
canceled: "canceled",
|
|
@@ -49,7 +49,7 @@ var Login = class _Login extends FragmentCommand {
|
|
|
49
49
|
];
|
|
50
50
|
}
|
|
51
51
|
static {
|
|
52
|
-
this.help = "Create an API client at dashboard.fragment.dev/api-clients";
|
|
52
|
+
this.help = "Create an API client at dashboard.fragment.dev/go/s/api-clients";
|
|
53
53
|
}
|
|
54
54
|
static {
|
|
55
55
|
this.flags = {
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-VETXOSAQ.js";
|
|
22
22
|
import {
|
|
23
23
|
SimulateScenario
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-P73TPXBG.js";
|
|
25
25
|
import {
|
|
26
26
|
Start
|
|
27
27
|
} from "./chunk-S6EUZBEH.js";
|
|
@@ -30,13 +30,13 @@ import {
|
|
|
30
30
|
} from "./chunk-6MYCJAJL.js";
|
|
31
31
|
import {
|
|
32
32
|
Token
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-V3LLFTBC.js";
|
|
34
34
|
import {
|
|
35
35
|
UpdateLedgerAccount
|
|
36
36
|
} from "./chunk-35PT2VZ6.js";
|
|
37
37
|
import {
|
|
38
38
|
GenGraphQL
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-IMSB6JER.js";
|
|
40
40
|
import {
|
|
41
41
|
GetSchema
|
|
42
42
|
} from "./chunk-EO6QNP4N.js";
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
} from "./chunk-SLD5GAXB.js";
|
|
46
46
|
import {
|
|
47
47
|
Login
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-H2RK3NKQ.js";
|
|
49
49
|
import {
|
|
50
50
|
MigrateLedgerEntry
|
|
51
51
|
} from "./chunk-D46OZVDM.js";
|
|
@@ -21,7 +21,7 @@ var Token = class extends AuthenticatedCommand {
|
|
|
21
21
|
this.examples = ["<%= config.bin %> <%= command.id %>"];
|
|
22
22
|
}
|
|
23
23
|
static {
|
|
24
|
-
this.help = "Create an API client at dashboard.fragment.dev/api-clients";
|
|
24
|
+
this.help = "Create an API client at dashboard.fragment.dev/go/s/api-clients";
|
|
25
25
|
}
|
|
26
26
|
async run() {
|
|
27
27
|
try {
|
|
@@ -1473,6 +1473,63 @@ query GetPaymentMethodSetup($ik: SafeString!, $ledgerIk: SafeString!) {
|
|
|
1473
1473
|
}
|
|
1474
1474
|
}
|
|
1475
1475
|
}
|
|
1476
|
+
|
|
1477
|
+
mutation CreateWebhookSubscription($url: String!) {
|
|
1478
|
+
createWebhookSubscription(input: {url: $url}) {
|
|
1479
|
+
__typename
|
|
1480
|
+
... on CreateWebhookSubscriptionResult {
|
|
1481
|
+
signingSecret
|
|
1482
|
+
subscription {
|
|
1483
|
+
id
|
|
1484
|
+
url
|
|
1485
|
+
created
|
|
1486
|
+
}
|
|
1487
|
+
}
|
|
1488
|
+
... on BadRequestError {
|
|
1489
|
+
code
|
|
1490
|
+
message
|
|
1491
|
+
retryable
|
|
1492
|
+
}
|
|
1493
|
+
... on InternalError {
|
|
1494
|
+
code
|
|
1495
|
+
message
|
|
1496
|
+
retryable
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
query ListWebhookSubscriptions($after: String, $first: Int) {
|
|
1502
|
+
webhookSubscriptions(after: $after, first: $first) {
|
|
1503
|
+
nodes {
|
|
1504
|
+
id
|
|
1505
|
+
url
|
|
1506
|
+
created
|
|
1507
|
+
}
|
|
1508
|
+
pageInfo {
|
|
1509
|
+
hasNextPage
|
|
1510
|
+
endCursor
|
|
1511
|
+
}
|
|
1512
|
+
}
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1515
|
+
mutation DeleteWebhookSubscription($id: ID!) {
|
|
1516
|
+
deleteWebhookSubscription(id: $id) {
|
|
1517
|
+
__typename
|
|
1518
|
+
... on DeleteWebhookSubscriptionResult {
|
|
1519
|
+
success
|
|
1520
|
+
}
|
|
1521
|
+
... on BadRequestError {
|
|
1522
|
+
code
|
|
1523
|
+
message
|
|
1524
|
+
retryable
|
|
1525
|
+
}
|
|
1526
|
+
... on InternalError {
|
|
1527
|
+
code
|
|
1528
|
+
message
|
|
1529
|
+
retryable
|
|
1530
|
+
}
|
|
1531
|
+
}
|
|
1532
|
+
}
|
|
1476
1533
|
`;
|
|
1477
1534
|
|
|
1478
1535
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GenGraphQL
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-IMSB6JER.js";
|
|
4
4
|
import "../chunk-D54BAQXO.js";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-JW6HD3IZ.js";
|
|
6
|
+
import "../chunk-X3ZHPSHH.js";
|
|
7
7
|
import "../chunk-UQALZFPK.js";
|
|
8
8
|
import "../chunk-RTELG4M2.js";
|
|
9
9
|
import "../chunk-5BH7GFI3.js";
|
package/dist/commands/login.js
CHANGED
package/dist/commands/token.js
CHANGED
package/dist/commands.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
COMMANDS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JBDQ25BB.js";
|
|
4
4
|
import "./chunk-WABMYMTO.js";
|
|
5
5
|
import "./chunk-Z5CTU7ZF.js";
|
|
6
6
|
import "./chunk-IXQ5SU4D.js";
|
|
@@ -10,22 +10,22 @@ import "./chunk-IGBICJSY.js";
|
|
|
10
10
|
import "./chunk-77TG73N3.js";
|
|
11
11
|
import "./chunk-PBOTSYWN.js";
|
|
12
12
|
import "./chunk-VETXOSAQ.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-P73TPXBG.js";
|
|
14
|
+
import "./chunk-BBLE7Q3G.js";
|
|
15
15
|
import "./chunk-CS746GP2.js";
|
|
16
16
|
import "./chunk-OCE3DJ2V.js";
|
|
17
17
|
import "./chunk-S6EUZBEH.js";
|
|
18
18
|
import "./chunk-6MYCJAJL.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-V3LLFTBC.js";
|
|
20
20
|
import "./chunk-35PT2VZ6.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-IMSB6JER.js";
|
|
22
22
|
import "./chunk-D54BAQXO.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-JW6HD3IZ.js";
|
|
24
|
+
import "./chunk-X3ZHPSHH.js";
|
|
25
25
|
import "./chunk-UQALZFPK.js";
|
|
26
26
|
import "./chunk-EO6QNP4N.js";
|
|
27
27
|
import "./chunk-SLD5GAXB.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-H2RK3NKQ.js";
|
|
29
29
|
import "./chunk-6H5VEWMH.js";
|
|
30
30
|
import "./chunk-D46OZVDM.js";
|
|
31
31
|
import "./chunk-PRL64S57.js";
|
package/dist/graphql.js
CHANGED
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
schemaToEntryDefinitions,
|
|
12
12
|
schemaToPaymentDefinitions,
|
|
13
13
|
validateOutputName
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-JW6HD3IZ.js";
|
|
15
|
+
import "./chunk-X3ZHPSHH.js";
|
|
16
16
|
import "./chunk-UQALZFPK.js";
|
|
17
17
|
import "./chunk-5BH7GFI3.js";
|
|
18
18
|
import "./chunk-OGZLK5FK.js";
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
COMMANDS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JBDQ25BB.js";
|
|
4
4
|
import "./chunk-WABMYMTO.js";
|
|
5
5
|
import "./chunk-Z5CTU7ZF.js";
|
|
6
6
|
import "./chunk-IXQ5SU4D.js";
|
|
@@ -10,22 +10,22 @@ import "./chunk-IGBICJSY.js";
|
|
|
10
10
|
import "./chunk-77TG73N3.js";
|
|
11
11
|
import "./chunk-PBOTSYWN.js";
|
|
12
12
|
import "./chunk-VETXOSAQ.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-P73TPXBG.js";
|
|
14
|
+
import "./chunk-BBLE7Q3G.js";
|
|
15
15
|
import "./chunk-CS746GP2.js";
|
|
16
16
|
import "./chunk-OCE3DJ2V.js";
|
|
17
17
|
import "./chunk-S6EUZBEH.js";
|
|
18
18
|
import "./chunk-6MYCJAJL.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-V3LLFTBC.js";
|
|
20
20
|
import "./chunk-35PT2VZ6.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-IMSB6JER.js";
|
|
22
22
|
import "./chunk-D54BAQXO.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-JW6HD3IZ.js";
|
|
24
|
+
import "./chunk-X3ZHPSHH.js";
|
|
25
25
|
import "./chunk-UQALZFPK.js";
|
|
26
26
|
import "./chunk-EO6QNP4N.js";
|
|
27
27
|
import "./chunk-SLD5GAXB.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-H2RK3NKQ.js";
|
|
29
29
|
import "./chunk-6H5VEWMH.js";
|
|
30
30
|
import "./chunk-D46OZVDM.js";
|
|
31
31
|
import "./chunk-PRL64S57.js";
|
package/oclif.manifest.json
CHANGED
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
"pluginType": "core",
|
|
171
171
|
"strict": true,
|
|
172
172
|
"summary": "Authenticate with FRAGMENT.",
|
|
173
|
-
"help": "Create an API client at dashboard.fragment.dev/api-clients"
|
|
173
|
+
"help": "Create an API client at dashboard.fragment.dev/go/s/api-clients"
|
|
174
174
|
},
|
|
175
175
|
"token": {
|
|
176
176
|
"aliases": [],
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
"pluginName": "@fragment-dev/cli",
|
|
195
195
|
"pluginType": "core",
|
|
196
196
|
"summary": "Get a FRAGMENT Authentication Token.",
|
|
197
|
-
"help": "Create an API client at dashboard.fragment.dev/api-clients"
|
|
197
|
+
"help": "Create an API client at dashboard.fragment.dev/go/s/api-clients"
|
|
198
198
|
},
|
|
199
199
|
"api-client:create": {
|
|
200
200
|
"aliases": [],
|
|
@@ -1187,5 +1187,5 @@
|
|
|
1187
1187
|
"help": "Generate GraphQL queries from your Schema for your SDK."
|
|
1188
1188
|
}
|
|
1189
1189
|
},
|
|
1190
|
-
"version": "2026.11.
|
|
1190
|
+
"version": "2026.11.5-2"
|
|
1191
1191
|
}
|