@hyperline/cli 0.1.0-build.1.3d2423f → 0.1.0-build.1.3faa434

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.
@@ -44878,7 +44878,7 @@ Examples:
44878
44878
  queryParamKeys: []
44879
44879
  });
44880
44880
  });
44881
- resource.command("load").description(`Add paid credits by charging the customer's payment method, or add free credits by issuing a credit note.`).requiredOption("--id <value>", `id parameter`).option("--type <value>", `Wallet load type. Use \`paid\` to collect payment from the customer's payment method, or \`free\` to grant credits without collecting payment.`).option("--amount <number>", `Amount to be loaded onto the wallet as free credits. A corresponding credit note will be generated and no payment is collected. Expressed in currency's smallest unit.`).option("--comment <value>", `Internal comment stored on the wallet transaction for context.`).option("--document-status <value>", `Indicates the status of the generated credit note for free top-ups.`).option("--bank-account-id <value>", `Bank account ID to use when recording a paid wallet load by bank transfer.`).option("--reference <value>", `Reference stored on the payment transaction for a paid wallet load.`).addHelpText("after", `
44881
+ resource.command("load").description(`Add free credits, apply unallocated funds from an existing payment transaction, or record a new paid transaction.`).requiredOption("--id <value>", `id parameter`).option("--type <value>", `Wallet load type. Use \`paid\` to apply an existing payment transaction or record a new one, or \`free\` to grant credits without collecting payment.`).option("--amount <number>", `Amount to be loaded onto the wallet as free credits. A corresponding credit note will be generated and no payment is collected. Expressed in currency's smallest unit.`).option("--comment <value>", `Internal comment stored on the wallet transaction for context.`).option("--document-status <value>", `Indicates the status of the generated credit note for free top-ups.`).option("--transaction-id <value>", `Existing payment transaction ID whose unallocated amount will be loaded onto the wallet.`).option("--date <value>", `Date of the new offline payment transaction recorded for the wallet load. UTC date time string in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.`).option("--bank-account-id <value>", `Bank account ID to use when recording a new paid wallet load by bank transfer.`).option("--reference <value>", `Reference stored on the new payment transaction for a paid wallet load.`).addHelpText("after", `
44882
44882
  Examples:
44883
44883
  hyperline wallets load --id <id>
44884
44884
  hyperline wallets load --id <id> --type <type> --amount <amount>
@@ -44897,6 +44897,10 @@ Examples:
44897
44897
  args.comment = opts.comment;
44898
44898
  if (opts.documentStatus !== void 0)
44899
44899
  args.document_status = opts.documentStatus;
44900
+ if (opts.transactionId !== void 0)
44901
+ args.transaction_id = opts.transactionId;
44902
+ if (opts.date !== void 0)
44903
+ args.date = opts.date;
44900
44904
  if (opts.bankAccountId !== void 0)
44901
44905
  args.bank_account_id = opts.bankAccountId;
44902
44906
  if (opts.reference !== void 0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperline/cli",
3
- "version": "0.1.0-build.1.3d2423f",
3
+ "version": "0.1.0-build.1.3faa434",
4
4
  "description": "Agent-first CLI for Hyperline API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",