@moonpay/cli 0.6.7 → 0.6.10

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.
@@ -332,7 +332,7 @@ var schemas_default = [
332
332
  },
333
333
  {
334
334
  name: "deposit_create",
335
- description: "Create a new deposit link that generates multi-chain deposit addresses. Anyone can send crypto to these addresses from Solana, Ethereum, Bitcoin, or Tron \u2014 it automatically converts to USDC and settles to the specified destination wallet and chain.",
335
+ description: "Create a new deposit link that generates multi-chain deposit addresses. Anyone can send crypto to these addresses from Solana, Ethereum, Bitcoin, or Tron \u2014 it automatically converts to the specified stablecoin and settles to the destination wallet and chain.",
336
336
  inputSchema: {
337
337
  $ref: "#/definitions/deposit_create_input",
338
338
  definitions: {
@@ -357,13 +357,23 @@ var schemas_default = [
357
357
  "arbitrum",
358
358
  "bnb"
359
359
  ],
360
- description: "Blockchain of the destination wallet (determines which USDC the wallet receives)"
360
+ description: "Blockchain of the destination wallet"
361
+ },
362
+ token: {
363
+ type: "string",
364
+ enum: [
365
+ "USDC",
366
+ "USDC.e",
367
+ "USDT"
368
+ ],
369
+ description: "Token to receive. USDC.e (bridged USDC) is only available on Polygon."
361
370
  }
362
371
  },
363
372
  required: [
364
373
  "name",
365
374
  "wallet",
366
- "chain"
375
+ "chain",
376
+ "token"
367
377
  ],
368
378
  additionalProperties: false
369
379
  }
@@ -382,11 +392,15 @@ var schemas_default = [
382
392
  },
383
393
  destinationWallet: {
384
394
  type: "string",
385
- description: "Wallet address that will receive USDC"
395
+ description: "Wallet address that will receive the stablecoin"
386
396
  },
387
397
  destinationChain: {
388
398
  type: "string",
389
- description: "Chain where USDC will be delivered"
399
+ description: "Chain where the stablecoin will be delivered"
400
+ },
401
+ customerToken: {
402
+ type: "string",
403
+ description: "Token to check deposit transactions \u2014 pass to deposit_transaction_list"
390
404
  },
391
405
  depositUrl: {
392
406
  type: "string",
@@ -428,6 +442,7 @@ var schemas_default = [
428
442
  "id",
429
443
  "destinationWallet",
430
444
  "destinationChain",
445
+ "customerToken",
431
446
  "depositUrl",
432
447
  "wallets",
433
448
  "instructions"
@@ -438,6 +453,93 @@ var schemas_default = [
438
453
  $schema: "http://json-schema.org/draft-07/schema#"
439
454
  }
440
455
  },
456
+ {
457
+ name: "deposit_transaction_list",
458
+ description: "List transactions for a deposit. Pass the deposit id from deposit_create to check incoming payment status.",
459
+ inputSchema: {
460
+ $ref: "#/definitions/deposit_transaction_list_input",
461
+ definitions: {
462
+ deposit_transaction_list_input: {
463
+ type: "object",
464
+ properties: {
465
+ id: {
466
+ type: "string",
467
+ description: "Deposit ID returned from deposit_create"
468
+ }
469
+ },
470
+ required: [
471
+ "id"
472
+ ],
473
+ additionalProperties: false
474
+ }
475
+ },
476
+ $schema: "http://json-schema.org/draft-07/schema#"
477
+ },
478
+ outputSchema: {
479
+ $ref: "#/definitions/deposit_transaction_list_output",
480
+ definitions: {
481
+ deposit_transaction_list_output: {
482
+ type: "object",
483
+ properties: {
484
+ items: {
485
+ type: "array",
486
+ items: {
487
+ type: "object",
488
+ properties: {
489
+ id: {
490
+ type: "string"
491
+ },
492
+ amount: {
493
+ type: "number"
494
+ },
495
+ token: {
496
+ type: "string"
497
+ },
498
+ from: {
499
+ type: "string"
500
+ },
501
+ status: {
502
+ type: "string"
503
+ },
504
+ settledAmount: {
505
+ type: [
506
+ "number",
507
+ "null"
508
+ ]
509
+ },
510
+ settledCurrency: {
511
+ type: [
512
+ "string",
513
+ "null"
514
+ ]
515
+ },
516
+ timestamp: {
517
+ type: "string"
518
+ }
519
+ },
520
+ required: [
521
+ "id",
522
+ "amount",
523
+ "token",
524
+ "from",
525
+ "status",
526
+ "settledAmount",
527
+ "settledCurrency",
528
+ "timestamp"
529
+ ],
530
+ additionalProperties: false
531
+ }
532
+ }
533
+ },
534
+ required: [
535
+ "items"
536
+ ],
537
+ additionalProperties: false
538
+ }
539
+ },
540
+ $schema: "http://json-schema.org/draft-07/schema#"
541
+ }
542
+ },
441
543
  {
442
544
  name: "login",
443
545
  description: "Send a verification code to the provided email to sign in or create an account.",
@@ -4982,10 +5084,18 @@ var schemas_default = [
4982
5084
  }
4983
5085
  ],
4984
5086
  description: "Filter: pending (need to accept, default) or accepted (already signed)"
5087
+ },
5088
+ country: {
5089
+ type: [
5090
+ "string",
5091
+ "null"
5092
+ ],
5093
+ description: "Country code for terms (e.g. USA, GBR). Defaults to USA."
4985
5094
  }
4986
5095
  },
4987
5096
  required: [
4988
- "status"
5097
+ "status",
5098
+ "country"
4989
5099
  ],
4990
5100
  additionalProperties: false
4991
5101
  }
@@ -5249,13 +5359,27 @@ var schemas_default = [
5249
5359
  wallet: {
5250
5360
  type: "string",
5251
5361
  description: "Registered wallet address (must be registered via virtual-account_wallet_register first)"
5362
+ },
5363
+ blockchain: {
5364
+ type: "string",
5365
+ enum: [
5366
+ "Solana",
5367
+ "Ethereum",
5368
+ "Polygon",
5369
+ "Arbitrum",
5370
+ "Base",
5371
+ "Stellar",
5372
+ "Citrea"
5373
+ ],
5374
+ description: "Blockchain to receive stablecoin on (Solana, Ethereum, Polygon, Arbitrum, Base)"
5252
5375
  }
5253
5376
  },
5254
5377
  required: [
5255
5378
  "name",
5256
5379
  "fiat",
5257
5380
  "stablecoin",
5258
- "wallet"
5381
+ "wallet",
5382
+ "blockchain"
5259
5383
  ],
5260
5384
  additionalProperties: false
5261
5385
  }
@@ -5931,6 +6055,48 @@ var schemas_default = [
5931
6055
  },
5932
6056
  $schema: "http://json-schema.org/draft-07/schema#"
5933
6057
  }
6058
+ },
6059
+ {
6060
+ name: "virtual-account_wallet_registration-message_create",
6061
+ description: "Generate a proof-of-ownership message for wallet registration. The message must be signed by the wallet's private key and submitted via virtual-account_wallet_register.",
6062
+ inputSchema: {
6063
+ $ref: "#/definitions/virtual-account_wallet_registration-message_create_input",
6064
+ definitions: {
6065
+ "virtual-account_wallet_registration-message_create_input": {
6066
+ type: "object",
6067
+ properties: {
6068
+ wallet: {
6069
+ type: "string",
6070
+ description: "Wallet address to register"
6071
+ }
6072
+ },
6073
+ required: [
6074
+ "wallet"
6075
+ ],
6076
+ additionalProperties: false
6077
+ }
6078
+ },
6079
+ $schema: "http://json-schema.org/draft-07/schema#"
6080
+ },
6081
+ outputSchema: {
6082
+ $ref: "#/definitions/virtual-account_wallet_registration-message_create_output",
6083
+ definitions: {
6084
+ "virtual-account_wallet_registration-message_create_output": {
6085
+ type: "object",
6086
+ properties: {
6087
+ message: {
6088
+ type: "string",
6089
+ description: "Message to sign with the wallet's private key"
6090
+ }
6091
+ },
6092
+ required: [
6093
+ "message"
6094
+ ],
6095
+ additionalProperties: false
6096
+ }
6097
+ },
6098
+ $schema: "http://json-schema.org/draft-07/schema#"
6099
+ }
5934
6100
  }
5935
6101
  ];
5936
6102
 
@@ -6825,4 +6991,4 @@ export {
6825
6991
  x402Request,
6826
6992
  virtualAccountWalletRegister
6827
6993
  };
6828
- //# sourceMappingURL=chunk-DWAP6OI2.js.map
6994
+ //# sourceMappingURL=chunk-TIV6G4KD.js.map