apipay 0.5.0 → 0.7.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.
@@ -1,1156 +0,0 @@
1
- {
2
- "commands": {
3
- "login": {
4
- "aliases": [],
5
- "args": {},
6
- "description": "Authenticate with ApiPay",
7
- "examples": [
8
- "<%= config.bin %> login",
9
- "<%= config.bin %> login --email user@example.com",
10
- "<%= config.bin %> login --email user@example.com --password mypass"
11
- ],
12
- "flags": {
13
- "json": {
14
- "description": "Output raw JSON (for scripting/CI)",
15
- "name": "json",
16
- "allowNo": false,
17
- "type": "boolean"
18
- },
19
- "quiet": {
20
- "char": "q",
21
- "description": "Suppress interactive output",
22
- "name": "quiet",
23
- "allowNo": false,
24
- "type": "boolean"
25
- },
26
- "email": {
27
- "char": "e",
28
- "description": "Email address (skip interactive prompt)",
29
- "name": "email",
30
- "hasDynamicHelp": false,
31
- "multiple": false,
32
- "type": "option"
33
- },
34
- "password": {
35
- "char": "p",
36
- "description": "Password for email+password login (CI/scripting)",
37
- "name": "password",
38
- "hasDynamicHelp": false,
39
- "multiple": false,
40
- "type": "option"
41
- },
42
- "no-browser": {
43
- "description": "Don't open the browser for magic link",
44
- "name": "no-browser",
45
- "allowNo": false,
46
- "type": "boolean"
47
- }
48
- },
49
- "hasDynamicHelp": false,
50
- "hiddenAliases": [],
51
- "id": "login",
52
- "pluginAlias": "apipay",
53
- "pluginName": "apipay",
54
- "pluginType": "core",
55
- "strict": true,
56
- "enableJsonFlag": false,
57
- "isESM": true,
58
- "relativePath": [
59
- "dist",
60
- "commands",
61
- "login.js"
62
- ]
63
- },
64
- "logout": {
65
- "aliases": [],
66
- "args": {},
67
- "description": "Log out from ApiPay and clear stored credentials",
68
- "examples": [
69
- "<%= config.bin %> logout"
70
- ],
71
- "flags": {
72
- "json": {
73
- "description": "Output raw JSON (for scripting/CI)",
74
- "name": "json",
75
- "allowNo": false,
76
- "type": "boolean"
77
- },
78
- "quiet": {
79
- "char": "q",
80
- "description": "Suppress interactive output",
81
- "name": "quiet",
82
- "allowNo": false,
83
- "type": "boolean"
84
- }
85
- },
86
- "hasDynamicHelp": false,
87
- "hiddenAliases": [],
88
- "id": "logout",
89
- "pluginAlias": "apipay",
90
- "pluginName": "apipay",
91
- "pluginType": "core",
92
- "strict": true,
93
- "isESM": true,
94
- "relativePath": [
95
- "dist",
96
- "commands",
97
- "logout.js"
98
- ]
99
- },
100
- "setup": {
101
- "aliases": [],
102
- "args": {},
103
- "description": "Set up ApiPay interactively — login, generate API key, add bank, register webhook",
104
- "examples": [
105
- "<%= config.bin %> setup"
106
- ],
107
- "flags": {
108
- "json": {
109
- "description": "Output raw JSON (for scripting/CI)",
110
- "name": "json",
111
- "allowNo": false,
112
- "type": "boolean"
113
- },
114
- "quiet": {
115
- "char": "q",
116
- "description": "Suppress interactive output",
117
- "name": "quiet",
118
- "allowNo": false,
119
- "type": "boolean"
120
- }
121
- },
122
- "hasDynamicHelp": false,
123
- "hiddenAliases": [],
124
- "id": "setup",
125
- "pluginAlias": "apipay",
126
- "pluginName": "apipay",
127
- "pluginType": "core",
128
- "strict": true,
129
- "enableJsonFlag": false,
130
- "isESM": true,
131
- "relativePath": [
132
- "dist",
133
- "commands",
134
- "setup.js"
135
- ]
136
- },
137
- "status": {
138
- "aliases": [],
139
- "args": {},
140
- "description": "Show current setup status and configuration",
141
- "examples": [
142
- "<%= config.bin %> status"
143
- ],
144
- "flags": {
145
- "json": {
146
- "description": "Output raw JSON (for scripting/CI)",
147
- "name": "json",
148
- "allowNo": false,
149
- "type": "boolean"
150
- },
151
- "quiet": {
152
- "char": "q",
153
- "description": "Suppress interactive output",
154
- "name": "quiet",
155
- "allowNo": false,
156
- "type": "boolean"
157
- }
158
- },
159
- "hasDynamicHelp": false,
160
- "hiddenAliases": [],
161
- "id": "status",
162
- "pluginAlias": "apipay",
163
- "pluginName": "apipay",
164
- "pluginType": "core",
165
- "strict": true,
166
- "enableJsonFlag": false,
167
- "isESM": true,
168
- "relativePath": [
169
- "dist",
170
- "commands",
171
- "status.js"
172
- ]
173
- },
174
- "whoami": {
175
- "aliases": [],
176
- "args": {},
177
- "description": "Display the currently authenticated user",
178
- "examples": [
179
- "<%= config.bin %> whoami"
180
- ],
181
- "flags": {
182
- "json": {
183
- "description": "Output raw JSON (for scripting/CI)",
184
- "name": "json",
185
- "allowNo": false,
186
- "type": "boolean"
187
- },
188
- "quiet": {
189
- "char": "q",
190
- "description": "Suppress interactive output",
191
- "name": "quiet",
192
- "allowNo": false,
193
- "type": "boolean"
194
- }
195
- },
196
- "hasDynamicHelp": false,
197
- "hiddenAliases": [],
198
- "id": "whoami",
199
- "pluginAlias": "apipay",
200
- "pluginName": "apipay",
201
- "pluginType": "core",
202
- "strict": true,
203
- "isESM": true,
204
- "relativePath": [
205
- "dist",
206
- "commands",
207
- "whoami.js"
208
- ]
209
- },
210
- "banks:add": {
211
- "aliases": [],
212
- "args": {},
213
- "description": "Add a bank account to your ApiPay integration",
214
- "examples": [
215
- "<%= config.bin %> banks:add"
216
- ],
217
- "flags": {
218
- "json": {
219
- "description": "Output raw JSON (for scripting/CI)",
220
- "name": "json",
221
- "allowNo": false,
222
- "type": "boolean"
223
- },
224
- "quiet": {
225
- "char": "q",
226
- "description": "Suppress interactive output",
227
- "name": "quiet",
228
- "allowNo": false,
229
- "type": "boolean"
230
- }
231
- },
232
- "hasDynamicHelp": false,
233
- "hiddenAliases": [],
234
- "id": "banks:add",
235
- "pluginAlias": "apipay",
236
- "pluginName": "apipay",
237
- "pluginType": "core",
238
- "strict": true,
239
- "isESM": true,
240
- "relativePath": [
241
- "dist",
242
- "commands",
243
- "banks",
244
- "add.js"
245
- ]
246
- },
247
- "banks:list": {
248
- "aliases": [],
249
- "args": {},
250
- "description": "List your bank accounts",
251
- "examples": [
252
- "<%= config.bin %> banks:list"
253
- ],
254
- "flags": {
255
- "json": {
256
- "description": "Output raw JSON (for scripting/CI)",
257
- "name": "json",
258
- "allowNo": false,
259
- "type": "boolean"
260
- },
261
- "quiet": {
262
- "char": "q",
263
- "description": "Suppress interactive output",
264
- "name": "quiet",
265
- "allowNo": false,
266
- "type": "boolean"
267
- }
268
- },
269
- "hasDynamicHelp": false,
270
- "hiddenAliases": [],
271
- "id": "banks:list",
272
- "pluginAlias": "apipay",
273
- "pluginName": "apipay",
274
- "pluginType": "core",
275
- "strict": true,
276
- "isESM": true,
277
- "relativePath": [
278
- "dist",
279
- "commands",
280
- "banks",
281
- "list.js"
282
- ]
283
- },
284
- "banks:remove-unconfirmed": {
285
- "aliases": [],
286
- "args": {},
287
- "description": "Remove a bank account that hasn't confirmed OTP yet",
288
- "examples": [
289
- "<%= config.bin %> banks:remove-unconfirmed"
290
- ],
291
- "flags": {
292
- "json": {
293
- "description": "Output raw JSON (for scripting/CI)",
294
- "name": "json",
295
- "allowNo": false,
296
- "type": "boolean"
297
- },
298
- "quiet": {
299
- "char": "q",
300
- "description": "Suppress interactive output",
301
- "name": "quiet",
302
- "allowNo": false,
303
- "type": "boolean"
304
- }
305
- },
306
- "hasDynamicHelp": false,
307
- "hiddenAliases": [],
308
- "id": "banks:remove-unconfirmed",
309
- "pluginAlias": "apipay",
310
- "pluginName": "apipay",
311
- "pluginType": "core",
312
- "strict": true,
313
- "isESM": true,
314
- "relativePath": [
315
- "dist",
316
- "commands",
317
- "banks",
318
- "remove-unconfirmed.js"
319
- ]
320
- },
321
- "banks:remove": {
322
- "aliases": [],
323
- "args": {
324
- "id": {
325
- "description": "Bank public ID",
326
- "name": "id",
327
- "required": false
328
- }
329
- },
330
- "description": "Remove a bank account",
331
- "examples": [
332
- "<%= config.bin %> banks:remove",
333
- "<%= config.bin %> banks:remove <public-id>"
334
- ],
335
- "flags": {
336
- "json": {
337
- "description": "Output raw JSON (for scripting/CI)",
338
- "name": "json",
339
- "allowNo": false,
340
- "type": "boolean"
341
- },
342
- "quiet": {
343
- "char": "q",
344
- "description": "Suppress interactive output",
345
- "name": "quiet",
346
- "allowNo": false,
347
- "type": "boolean"
348
- }
349
- },
350
- "hasDynamicHelp": false,
351
- "hiddenAliases": [],
352
- "id": "banks:remove",
353
- "pluginAlias": "apipay",
354
- "pluginName": "apipay",
355
- "pluginType": "core",
356
- "strict": true,
357
- "isESM": true,
358
- "relativePath": [
359
- "dist",
360
- "commands",
361
- "banks",
362
- "remove.js"
363
- ]
364
- },
365
- "banks:toggle": {
366
- "aliases": [],
367
- "args": {
368
- "id": {
369
- "description": "Bank public ID",
370
- "name": "id",
371
- "required": true
372
- }
373
- },
374
- "description": "Toggle a bank account between ACTIVE and INACTIVE",
375
- "examples": [
376
- "<%= config.bin %> banks:toggle <public-id>"
377
- ],
378
- "flags": {
379
- "json": {
380
- "description": "Output raw JSON (for scripting/CI)",
381
- "name": "json",
382
- "allowNo": false,
383
- "type": "boolean"
384
- },
385
- "quiet": {
386
- "char": "q",
387
- "description": "Suppress interactive output",
388
- "name": "quiet",
389
- "allowNo": false,
390
- "type": "boolean"
391
- }
392
- },
393
- "hasDynamicHelp": false,
394
- "hiddenAliases": [],
395
- "id": "banks:toggle",
396
- "pluginAlias": "apipay",
397
- "pluginName": "apipay",
398
- "pluginType": "core",
399
- "strict": true,
400
- "isESM": true,
401
- "relativePath": [
402
- "dist",
403
- "commands",
404
- "banks",
405
- "toggle.js"
406
- ]
407
- },
408
- "config:get": {
409
- "aliases": [],
410
- "args": {
411
- "key": {
412
- "description": "Config key (e.g., apiBaseUrl, dashboardUrl)",
413
- "name": "key",
414
- "required": false
415
- }
416
- },
417
- "description": "Get a CLI configuration value",
418
- "examples": [
419
- "<%= config.bin %> config:get apiBaseUrl",
420
- "<%= config.bin %> config:get"
421
- ],
422
- "flags": {
423
- "json": {
424
- "description": "Output raw JSON (for scripting/CI)",
425
- "name": "json",
426
- "allowNo": false,
427
- "type": "boolean"
428
- },
429
- "quiet": {
430
- "char": "q",
431
- "description": "Suppress interactive output",
432
- "name": "quiet",
433
- "allowNo": false,
434
- "type": "boolean"
435
- }
436
- },
437
- "hasDynamicHelp": false,
438
- "hiddenAliases": [],
439
- "id": "config:get",
440
- "pluginAlias": "apipay",
441
- "pluginName": "apipay",
442
- "pluginType": "core",
443
- "strict": true,
444
- "enableJsonFlag": false,
445
- "isESM": true,
446
- "relativePath": [
447
- "dist",
448
- "commands",
449
- "config",
450
- "get.js"
451
- ]
452
- },
453
- "config:reset": {
454
- "aliases": [],
455
- "args": {},
456
- "description": "Reset all CLI configuration and stored credentials",
457
- "examples": [
458
- "<%= config.bin %> config:reset"
459
- ],
460
- "flags": {
461
- "json": {
462
- "description": "Output raw JSON (for scripting/CI)",
463
- "name": "json",
464
- "allowNo": false,
465
- "type": "boolean"
466
- },
467
- "quiet": {
468
- "char": "q",
469
- "description": "Suppress interactive output",
470
- "name": "quiet",
471
- "allowNo": false,
472
- "type": "boolean"
473
- }
474
- },
475
- "hasDynamicHelp": false,
476
- "hiddenAliases": [],
477
- "id": "config:reset",
478
- "pluginAlias": "apipay",
479
- "pluginName": "apipay",
480
- "pluginType": "core",
481
- "strict": true,
482
- "enableJsonFlag": false,
483
- "isESM": true,
484
- "relativePath": [
485
- "dist",
486
- "commands",
487
- "config",
488
- "reset.js"
489
- ]
490
- },
491
- "config:set": {
492
- "aliases": [],
493
- "args": {
494
- "key": {
495
- "description": "Config key (e.g., apiBaseUrl, dashboardUrl)",
496
- "name": "key",
497
- "required": true
498
- },
499
- "value": {
500
- "description": "Config value",
501
- "name": "value",
502
- "required": true
503
- }
504
- },
505
- "description": "Set a CLI configuration value",
506
- "examples": [],
507
- "flags": {
508
- "json": {
509
- "description": "Output raw JSON (for scripting/CI)",
510
- "name": "json",
511
- "allowNo": false,
512
- "type": "boolean"
513
- },
514
- "quiet": {
515
- "char": "q",
516
- "description": "Suppress interactive output",
517
- "name": "quiet",
518
- "allowNo": false,
519
- "type": "boolean"
520
- }
521
- },
522
- "hasDynamicHelp": false,
523
- "hiddenAliases": [],
524
- "id": "config:set",
525
- "pluginAlias": "apipay",
526
- "pluginName": "apipay",
527
- "pluginType": "core",
528
- "strict": true,
529
- "enableJsonFlag": false,
530
- "isESM": true,
531
- "relativePath": [
532
- "dist",
533
- "commands",
534
- "config",
535
- "set.js"
536
- ]
537
- },
538
- "keys:create": {
539
- "aliases": [],
540
- "args": {},
541
- "description": "Generate a new API key for client integrations",
542
- "examples": [
543
- "<%= config.bin %> keys:create"
544
- ],
545
- "flags": {
546
- "json": {
547
- "description": "Output raw JSON (for scripting/CI)",
548
- "name": "json",
549
- "allowNo": false,
550
- "type": "boolean"
551
- },
552
- "quiet": {
553
- "char": "q",
554
- "description": "Suppress interactive output",
555
- "name": "quiet",
556
- "allowNo": false,
557
- "type": "boolean"
558
- }
559
- },
560
- "hasDynamicHelp": false,
561
- "hiddenAliases": [],
562
- "id": "keys:create",
563
- "pluginAlias": "apipay",
564
- "pluginName": "apipay",
565
- "pluginType": "core",
566
- "strict": true,
567
- "isESM": true,
568
- "relativePath": [
569
- "dist",
570
- "commands",
571
- "keys",
572
- "create.js"
573
- ]
574
- },
575
- "keys:list": {
576
- "aliases": [],
577
- "args": {},
578
- "description": "List your API keys",
579
- "examples": [
580
- "<%= config.bin %> keys:list"
581
- ],
582
- "flags": {
583
- "json": {
584
- "description": "Output raw JSON (for scripting/CI)",
585
- "name": "json",
586
- "allowNo": false,
587
- "type": "boolean"
588
- },
589
- "quiet": {
590
- "char": "q",
591
- "description": "Suppress interactive output",
592
- "name": "quiet",
593
- "allowNo": false,
594
- "type": "boolean"
595
- }
596
- },
597
- "hasDynamicHelp": false,
598
- "hiddenAliases": [],
599
- "id": "keys:list",
600
- "pluginAlias": "apipay",
601
- "pluginName": "apipay",
602
- "pluginType": "core",
603
- "strict": true,
604
- "isESM": true,
605
- "relativePath": [
606
- "dist",
607
- "commands",
608
- "keys",
609
- "list.js"
610
- ]
611
- },
612
- "keys:revoke": {
613
- "aliases": [],
614
- "args": {
615
- "id": {
616
- "description": "API key ID to revoke (defaults to current key)",
617
- "name": "id",
618
- "required": false
619
- }
620
- },
621
- "description": "Revoke an API key",
622
- "examples": [
623
- "<%= config.bin %> keys:revoke",
624
- "<%= config.bin %> keys:revoke <key-id>"
625
- ],
626
- "flags": {
627
- "json": {
628
- "description": "Output raw JSON (for scripting/CI)",
629
- "name": "json",
630
- "allowNo": false,
631
- "type": "boolean"
632
- },
633
- "quiet": {
634
- "char": "q",
635
- "description": "Suppress interactive output",
636
- "name": "quiet",
637
- "allowNo": false,
638
- "type": "boolean"
639
- }
640
- },
641
- "hasDynamicHelp": false,
642
- "hiddenAliases": [],
643
- "id": "keys:revoke",
644
- "pluginAlias": "apipay",
645
- "pluginName": "apipay",
646
- "pluginType": "core",
647
- "strict": true,
648
- "isESM": true,
649
- "relativePath": [
650
- "dist",
651
- "commands",
652
- "keys",
653
- "revoke.js"
654
- ]
655
- },
656
- "metrics:summary": {
657
- "aliases": [],
658
- "args": {},
659
- "description": "View transaction summary grouped by bank",
660
- "examples": [
661
- "<%= config.bin %> metrics:summary"
662
- ],
663
- "flags": {
664
- "json": {
665
- "description": "Output raw JSON (for scripting/CI)",
666
- "name": "json",
667
- "allowNo": false,
668
- "type": "boolean"
669
- },
670
- "quiet": {
671
- "char": "q",
672
- "description": "Suppress interactive output",
673
- "name": "quiet",
674
- "allowNo": false,
675
- "type": "boolean"
676
- }
677
- },
678
- "hasDynamicHelp": false,
679
- "hiddenAliases": [],
680
- "id": "metrics:summary",
681
- "pluginAlias": "apipay",
682
- "pluginName": "apipay",
683
- "pluginType": "core",
684
- "strict": true,
685
- "isESM": true,
686
- "relativePath": [
687
- "dist",
688
- "commands",
689
- "metrics",
690
- "summary.js"
691
- ]
692
- },
693
- "metrics:transactions": {
694
- "aliases": [],
695
- "args": {},
696
- "description": "List recent transactions",
697
- "examples": [
698
- "<%= config.bin %> metrics:transactions",
699
- "<%= config.bin %> metrics:transactions --page 2 --limit 50"
700
- ],
701
- "flags": {
702
- "json": {
703
- "description": "Output raw JSON (for scripting/CI)",
704
- "name": "json",
705
- "allowNo": false,
706
- "type": "boolean"
707
- },
708
- "quiet": {
709
- "char": "q",
710
- "description": "Suppress interactive output",
711
- "name": "quiet",
712
- "allowNo": false,
713
- "type": "boolean"
714
- },
715
- "page": {
716
- "description": "Page number",
717
- "name": "page",
718
- "default": 1,
719
- "hasDynamicHelp": false,
720
- "multiple": false,
721
- "type": "option"
722
- },
723
- "limit": {
724
- "description": "Items per page (max 100)",
725
- "name": "limit",
726
- "default": 20,
727
- "hasDynamicHelp": false,
728
- "multiple": false,
729
- "type": "option"
730
- }
731
- },
732
- "hasDynamicHelp": false,
733
- "hiddenAliases": [],
734
- "id": "metrics:transactions",
735
- "pluginAlias": "apipay",
736
- "pluginName": "apipay",
737
- "pluginType": "core",
738
- "strict": true,
739
- "isESM": true,
740
- "relativePath": [
741
- "dist",
742
- "commands",
743
- "metrics",
744
- "transactions.js"
745
- ]
746
- },
747
- "pay:create": {
748
- "aliases": [],
749
- "args": {},
750
- "description": "Generate a new payment link (payment request)",
751
- "examples": [
752
- "<%= config.bin %> pay:create"
753
- ],
754
- "flags": {
755
- "json": {
756
- "description": "Output raw JSON (for scripting/CI)",
757
- "name": "json",
758
- "allowNo": false,
759
- "type": "boolean"
760
- },
761
- "quiet": {
762
- "char": "q",
763
- "description": "Suppress interactive output",
764
- "name": "quiet",
765
- "allowNo": false,
766
- "type": "boolean"
767
- }
768
- },
769
- "hasDynamicHelp": false,
770
- "hiddenAliases": [],
771
- "id": "pay:create",
772
- "pluginAlias": "apipay",
773
- "pluginName": "apipay",
774
- "pluginType": "core",
775
- "strict": true,
776
- "isESM": true,
777
- "relativePath": [
778
- "dist",
779
- "commands",
780
- "pay",
781
- "create.js"
782
- ]
783
- },
784
- "pay:list": {
785
- "aliases": [],
786
- "args": {},
787
- "description": "List all payment links (payment requests)",
788
- "examples": [
789
- "<%= config.bin %> pay:list"
790
- ],
791
- "flags": {
792
- "json": {
793
- "description": "Output raw JSON (for scripting/CI)",
794
- "name": "json",
795
- "allowNo": false,
796
- "type": "boolean"
797
- },
798
- "quiet": {
799
- "char": "q",
800
- "description": "Suppress interactive output",
801
- "name": "quiet",
802
- "allowNo": false,
803
- "type": "boolean"
804
- }
805
- },
806
- "hasDynamicHelp": false,
807
- "hiddenAliases": [],
808
- "id": "pay:list",
809
- "pluginAlias": "apipay",
810
- "pluginName": "apipay",
811
- "pluginType": "core",
812
- "strict": true,
813
- "isESM": true,
814
- "relativePath": [
815
- "dist",
816
- "commands",
817
- "pay",
818
- "list.js"
819
- ]
820
- },
821
- "pay:remove": {
822
- "aliases": [],
823
- "args": {
824
- "uuid": {
825
- "description": "UUID of the payment link to remove",
826
- "name": "uuid",
827
- "required": false
828
- }
829
- },
830
- "description": "Remove a payment link (payment request)",
831
- "examples": [
832
- "<%= config.bin %> pay:remove",
833
- "<%= config.bin %> pay:remove 123e4567-e89b-12d3..."
834
- ],
835
- "flags": {
836
- "json": {
837
- "description": "Output raw JSON (for scripting/CI)",
838
- "name": "json",
839
- "allowNo": false,
840
- "type": "boolean"
841
- },
842
- "quiet": {
843
- "char": "q",
844
- "description": "Suppress interactive output",
845
- "name": "quiet",
846
- "allowNo": false,
847
- "type": "boolean"
848
- }
849
- },
850
- "hasDynamicHelp": false,
851
- "hiddenAliases": [],
852
- "id": "pay:remove",
853
- "pluginAlias": "apipay",
854
- "pluginName": "apipay",
855
- "pluginType": "core",
856
- "strict": true,
857
- "isESM": true,
858
- "relativePath": [
859
- "dist",
860
- "commands",
861
- "pay",
862
- "remove.js"
863
- ]
864
- },
865
- "webhooks:add": {
866
- "aliases": [],
867
- "args": {},
868
- "description": "Register a webhook for transaction notifications",
869
- "examples": [
870
- "<%= config.bin %> webhooks:add"
871
- ],
872
- "flags": {
873
- "json": {
874
- "description": "Output raw JSON (for scripting/CI)",
875
- "name": "json",
876
- "allowNo": false,
877
- "type": "boolean"
878
- },
879
- "quiet": {
880
- "char": "q",
881
- "description": "Suppress interactive output",
882
- "name": "quiet",
883
- "allowNo": false,
884
- "type": "boolean"
885
- }
886
- },
887
- "hasDynamicHelp": false,
888
- "hiddenAliases": [],
889
- "id": "webhooks:add",
890
- "pluginAlias": "apipay",
891
- "pluginName": "apipay",
892
- "pluginType": "core",
893
- "strict": true,
894
- "isESM": true,
895
- "relativePath": [
896
- "dist",
897
- "commands",
898
- "webhooks",
899
- "add.js"
900
- ]
901
- },
902
- "webhooks:history": {
903
- "aliases": [],
904
- "args": {
905
- "id": {
906
- "description": "Webhook ID",
907
- "name": "id",
908
- "required": true
909
- }
910
- },
911
- "description": "View delivery history for a webhook",
912
- "examples": [
913
- "<%= config.bin %> webhooks:history <webhook-id>"
914
- ],
915
- "flags": {
916
- "json": {
917
- "description": "Output raw JSON (for scripting/CI)",
918
- "name": "json",
919
- "allowNo": false,
920
- "type": "boolean"
921
- },
922
- "quiet": {
923
- "char": "q",
924
- "description": "Suppress interactive output",
925
- "name": "quiet",
926
- "allowNo": false,
927
- "type": "boolean"
928
- }
929
- },
930
- "hasDynamicHelp": false,
931
- "hiddenAliases": [],
932
- "id": "webhooks:history",
933
- "pluginAlias": "apipay",
934
- "pluginName": "apipay",
935
- "pluginType": "core",
936
- "strict": true,
937
- "isESM": true,
938
- "relativePath": [
939
- "dist",
940
- "commands",
941
- "webhooks",
942
- "history.js"
943
- ]
944
- },
945
- "webhooks:list": {
946
- "aliases": [],
947
- "args": {},
948
- "description": "List your registered webhooks",
949
- "examples": [
950
- "<%= config.bin %> webhooks:list"
951
- ],
952
- "flags": {
953
- "json": {
954
- "description": "Output raw JSON (for scripting/CI)",
955
- "name": "json",
956
- "allowNo": false,
957
- "type": "boolean"
958
- },
959
- "quiet": {
960
- "char": "q",
961
- "description": "Suppress interactive output",
962
- "name": "quiet",
963
- "allowNo": false,
964
- "type": "boolean"
965
- }
966
- },
967
- "hasDynamicHelp": false,
968
- "hiddenAliases": [],
969
- "id": "webhooks:list",
970
- "pluginAlias": "apipay",
971
- "pluginName": "apipay",
972
- "pluginType": "core",
973
- "strict": true,
974
- "isESM": true,
975
- "relativePath": [
976
- "dist",
977
- "commands",
978
- "webhooks",
979
- "list.js"
980
- ]
981
- },
982
- "webhooks:remove": {
983
- "aliases": [],
984
- "args": {
985
- "id": {
986
- "description": "Webhook ID",
987
- "name": "id",
988
- "required": true
989
- }
990
- },
991
- "description": "Remove a webhook",
992
- "examples": [
993
- "<%= config.bin %> webhooks:remove <webhook-id>"
994
- ],
995
- "flags": {
996
- "json": {
997
- "description": "Output raw JSON (for scripting/CI)",
998
- "name": "json",
999
- "allowNo": false,
1000
- "type": "boolean"
1001
- },
1002
- "quiet": {
1003
- "char": "q",
1004
- "description": "Suppress interactive output",
1005
- "name": "quiet",
1006
- "allowNo": false,
1007
- "type": "boolean"
1008
- }
1009
- },
1010
- "hasDynamicHelp": false,
1011
- "hiddenAliases": [],
1012
- "id": "webhooks:remove",
1013
- "pluginAlias": "apipay",
1014
- "pluginName": "apipay",
1015
- "pluginType": "core",
1016
- "strict": true,
1017
- "isESM": true,
1018
- "relativePath": [
1019
- "dist",
1020
- "commands",
1021
- "webhooks",
1022
- "remove.js"
1023
- ]
1024
- },
1025
- "webhooks:resend": {
1026
- "aliases": [],
1027
- "args": {
1028
- "historyId": {
1029
- "description": "Delivery history ID",
1030
- "name": "historyId",
1031
- "required": true
1032
- }
1033
- },
1034
- "description": "Resend a failed webhook delivery",
1035
- "examples": [
1036
- "<%= config.bin %> webhooks:resend <history-id>"
1037
- ],
1038
- "flags": {
1039
- "json": {
1040
- "description": "Output raw JSON (for scripting/CI)",
1041
- "name": "json",
1042
- "allowNo": false,
1043
- "type": "boolean"
1044
- },
1045
- "quiet": {
1046
- "char": "q",
1047
- "description": "Suppress interactive output",
1048
- "name": "quiet",
1049
- "allowNo": false,
1050
- "type": "boolean"
1051
- }
1052
- },
1053
- "hasDynamicHelp": false,
1054
- "hiddenAliases": [],
1055
- "id": "webhooks:resend",
1056
- "pluginAlias": "apipay",
1057
- "pluginName": "apipay",
1058
- "pluginType": "core",
1059
- "strict": true,
1060
- "isESM": true,
1061
- "relativePath": [
1062
- "dist",
1063
- "commands",
1064
- "webhooks",
1065
- "resend.js"
1066
- ]
1067
- },
1068
- "webhooks:toggle": {
1069
- "aliases": [],
1070
- "args": {
1071
- "id": {
1072
- "description": "Webhook ID",
1073
- "name": "id",
1074
- "required": true
1075
- }
1076
- },
1077
- "description": "Toggle a webhook between active and inactive",
1078
- "examples": [
1079
- "<%= config.bin %> webhooks:toggle <webhook-id>"
1080
- ],
1081
- "flags": {
1082
- "json": {
1083
- "description": "Output raw JSON (for scripting/CI)",
1084
- "name": "json",
1085
- "allowNo": false,
1086
- "type": "boolean"
1087
- },
1088
- "quiet": {
1089
- "char": "q",
1090
- "description": "Suppress interactive output",
1091
- "name": "quiet",
1092
- "allowNo": false,
1093
- "type": "boolean"
1094
- }
1095
- },
1096
- "hasDynamicHelp": false,
1097
- "hiddenAliases": [],
1098
- "id": "webhooks:toggle",
1099
- "pluginAlias": "apipay",
1100
- "pluginName": "apipay",
1101
- "pluginType": "core",
1102
- "strict": true,
1103
- "isESM": true,
1104
- "relativePath": [
1105
- "dist",
1106
- "commands",
1107
- "webhooks",
1108
- "toggle.js"
1109
- ]
1110
- },
1111
- "webhooks:update": {
1112
- "aliases": [],
1113
- "args": {
1114
- "id": {
1115
- "description": "Webhook ID",
1116
- "name": "id",
1117
- "required": true
1118
- }
1119
- },
1120
- "description": "Update a webhook URL or transaction type",
1121
- "examples": [
1122
- "<%= config.bin %> webhooks:update <webhook-id>"
1123
- ],
1124
- "flags": {
1125
- "json": {
1126
- "description": "Output raw JSON (for scripting/CI)",
1127
- "name": "json",
1128
- "allowNo": false,
1129
- "type": "boolean"
1130
- },
1131
- "quiet": {
1132
- "char": "q",
1133
- "description": "Suppress interactive output",
1134
- "name": "quiet",
1135
- "allowNo": false,
1136
- "type": "boolean"
1137
- }
1138
- },
1139
- "hasDynamicHelp": false,
1140
- "hiddenAliases": [],
1141
- "id": "webhooks:update",
1142
- "pluginAlias": "apipay",
1143
- "pluginName": "apipay",
1144
- "pluginType": "core",
1145
- "strict": true,
1146
- "isESM": true,
1147
- "relativePath": [
1148
- "dist",
1149
- "commands",
1150
- "webhooks",
1151
- "update.js"
1152
- ]
1153
- }
1154
- },
1155
- "version": "0.5.0"
1156
- }