@hyperline/cli 0.1.0-build.1.a244fbf → 0.1.0-build.1.a24f4e1

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.
@@ -42976,7 +42976,7 @@ Payment method strategy used to charge the invoice. Only applies to \`to_pay\` s
42976
42976
 
42977
42977
  - \`current\`: Use the current default payment method of the customer.
42978
42978
  - \`external\`: Manage the payment of the invoice outside of Hyperline.
42979
- `).option("--payment-method-id <value>", `ID of the default payment method used to pay the invoice. Transactions related to the invoice may use different payment methods.`).option("--bank-account-id <value>", `ID of the bank account displayed on the invoice. Transactions related to the invoice may use different bank accounts.`).option("--subscription-id <value>", `ID of the subscription related to the invoice.`).option("--emitted-at <value>", `Issue date of the invoice.`).option("--due-at <value>", `Due date of the invoice. Computed from the issue date and the payment delay configured in your settings.`).option("--settled-at <value>", `Date the invoice was fully paid.`).option("--properties <json>", `Key/value pairs to store any metadata useful in your context.`).option("--custom-properties <json>", `Values for custom properties defined for the \`invoice\` entity, keyed by slug.`).option("--additional-display-fields <json>", `Ordered additional fields displayed on the invoice PDF. Invoice and customer custom properties are referenced by slug.`).requiredOption("--line-items <json>", `line_items`).option("--transactions <json>", `transactions`).option("--coupons <json>", `coupons`).addHelpText("after", `
42979
+ `).option("--payment-method-id <value>", `ID of the default payment method used to pay the invoice. Transactions related to the invoice may use different payment methods.`).option("--bank-account-id <value>", `ID of the bank account displayed on the invoice. Transactions related to the invoice may use different bank accounts.`).option("--subscription-id <value>", `ID of the subscription related to the invoice.`).option("--emitted-at <value>", `Issue date of the invoice.`).option("--due-at <value>", `Due date of the invoice. Computed from the issue date and the payment delay configured in your settings.`).option("--settled-at <value>", `Date the invoice was fully paid.`).option("--issuing-method <value>", `Set to \`scheduled\` to finalize the draft invoice automatically on its issue date (\`emitted_at\`), resolved to the start of that day in the customer timezone. Requires \`status\` to be \`draft\` and an issue date after today. Default to \`manual\`.`).option("--properties <json>", `Key/value pairs to store any metadata useful in your context.`).option("--custom-properties <json>", `Values for custom properties defined for the \`invoice\` entity, keyed by slug.`).option("--additional-display-fields <json>", `Ordered additional fields displayed on the invoice PDF. Invoice and customer custom properties are referenced by slug.`).requiredOption("--line-items <json>", `line_items`).option("--transactions <json>", `transactions`).option("--coupons <json>", `coupons`).addHelpText("after", `
42980
42980
  Examples:
42981
42981
  hyperline invoices create-invoice --customer-id <customer_id> --line-items <line_items>
42982
42982
  hyperline invoices create-invoice --customer-id <customer_id> --line-items <line_items> --currency <currency> --status <status>
@@ -43027,6 +43027,8 @@ Examples:
43027
43027
  args.due_at = opts.dueAt;
43028
43028
  if (opts.settledAt !== void 0)
43029
43029
  args.settled_at = opts.settledAt;
43030
+ if (opts.issuingMethod !== void 0)
43031
+ args.issuing_method = opts.issuingMethod;
43030
43032
  if (opts.properties !== void 0)
43031
43033
  args.properties = JSON.parse(opts.properties);
43032
43034
  if (opts.customProperties !== void 0)
@@ -43216,7 +43218,7 @@ Examples:
43216
43218
 
43217
43219
  - \`auto\`: Tax is automatically computed and applied.
43218
43220
  - \`not_eligible\`: Tax collection is disabled for the invoice.
43219
- `).option("--line-items <json>", `line_items`).option("--coupons <json>", `coupons`).option("--payment-method-type <value>", `payment_method_type`).option("--payment-method-id <value>", `ID of the default payment method used to pay the invoice. Transactions related to the invoice may use different payment methods.`).option("--bank-account-id <value>", `ID of the bank account displayed on the invoice. Transactions related to the invoice may use different bank accounts.`).option("--subscription-id <value>", `ID of the subscription related to the invoice.`).option("--properties <json>", `Key/value pairs to store any metadata useful in your context.`).option("--custom-properties <json>", `Values for custom properties defined for the \`invoice\` entity, keyed by slug.`).option("--additional-display-fields <json>", `Ordered additional fields displayed on the invoice PDF. Invoice and customer custom properties are referenced by slug.`).option("--customer <json>", `Override customer details on the invoice. Only allowed for draft or grace period invoices.`).addHelpText("after", `
43221
+ `).option("--issuing-method <value>", `Set to \`scheduled\` to finalize the draft invoice automatically on its issue date (\`emitted_at\`), in the invoice timezone. The issue date must be after today. Set to \`manual\` to unschedule the invoice.`).option("--emitted-at <value>", `Issue date of the draft invoice. For a scheduled invoice, the day on which it is automatically finalized.`).option("--line-items <json>", `line_items`).option("--coupons <json>", `coupons`).option("--payment-method-type <value>", `payment_method_type`).option("--payment-method-id <value>", `ID of the default payment method used to pay the invoice. Transactions related to the invoice may use different payment methods.`).option("--bank-account-id <value>", `ID of the bank account displayed on the invoice. Transactions related to the invoice may use different bank accounts.`).option("--subscription-id <value>", `ID of the subscription related to the invoice.`).option("--properties <json>", `Key/value pairs to store any metadata useful in your context.`).option("--custom-properties <json>", `Values for custom properties defined for the \`invoice\` entity, keyed by slug.`).option("--additional-display-fields <json>", `Ordered additional fields displayed on the invoice PDF. Invoice and customer custom properties are referenced by slug.`).option("--customer <json>", `Override customer details on the invoice. Only allowed for draft or grace period invoices.`).addHelpText("after", `
43220
43222
  Examples:
43221
43223
  hyperline invoices update --id <id>
43222
43224
  hyperline invoices update --id <id> --type <type> --document-name <document_name>
@@ -43245,6 +43247,10 @@ Examples:
43245
43247
  args.footer = opts.footer;
43246
43248
  if (opts.taxScheme !== void 0)
43247
43249
  args.tax_scheme = opts.taxScheme;
43250
+ if (opts.issuingMethod !== void 0)
43251
+ args.issuing_method = opts.issuingMethod;
43252
+ if (opts.emittedAt !== void 0)
43253
+ args.emitted_at = opts.emittedAt;
43248
43254
  if (opts.paymentMethodType !== void 0)
43249
43255
  args.payment_method_type = opts.paymentMethodType;
43250
43256
  if (opts.paymentMethodId !== void 0)
@@ -44136,7 +44142,7 @@ How the periodic credit allowance is granted for partial billing periods.
44136
44142
 
44137
44143
  - \`prorated\` (default): the granted credits are prorated to the elapsed period.
44138
44144
  - \`full_allowance\`: the full allowance is always granted (the invoice remains prorated).
44139
- `).option("--credits-balance-auto-creation-enabled <value>", `Default for the \`credits_balance_auto_creation_enabled\` setting of subscription products using this credit product: whether the customer credit balance is created as soon as the product is added to a subscription. \`true\` when unset. A subscription product can override it.`).option("--display-mode <value>", `How bundle items are displayed on invoices.`).option("--exclusive-items-enabled", `When true, only one item in the bundle can be active at a time.`).option("--bundle-items <json>", `Products included in this bundle. Percentages must sum to 100.`).addHelpText("after", `
44145
+ `).option("--credits-balance-auto-creation-enabled <value>", `Default for the \`credits_balance_auto_creation_enabled\` setting of subscription products using this credit product: whether the customer credit balance is created as soon as the product is added to a subscription. \`true\` when unset. A subscription product can override it.`).option("--portal-top-up-auto-activation-enabled <value>", `Whether portal top-ups are enabled for the customer when a credit balance of this product is created for them, from a subscription or manually. Portal top-ups must also be enabled in the hosted pages settings to show on the portal. \`false\` when unset.`).option("--display-mode <value>", `How bundle items are displayed on invoices.`).option("--exclusive-items-enabled", `When true, only one item in the bundle can be active at a time.`).option("--bundle-items <json>", `Products included in this bundle. Percentages must sum to 100.`).addHelpText("after", `
44140
44146
  Examples:
44141
44147
  hyperline products create --name <name> --type <type> --price-configurations <price_configurations>
44142
44148
  hyperline products create --name <name> --type <type> --price-configurations <price_configurations> --description <description> --description-display-interval-dates
@@ -44163,6 +44169,8 @@ Examples:
44163
44169
  args.credits_grant_mode = opts.creditsGrantMode;
44164
44170
  if (opts.creditsBalanceAutoCreationEnabled !== void 0)
44165
44171
  args.credits_balance_auto_creation_enabled = opts.creditsBalanceAutoCreationEnabled;
44172
+ if (opts.portalTopUpAutoActivationEnabled !== void 0)
44173
+ args.portal_top_up_auto_activation_enabled = opts.portalTopUpAutoActivationEnabled;
44166
44174
  if (opts.displayMode !== void 0)
44167
44175
  args.display_mode = opts.displayMode;
44168
44176
  if (opts.lowCreditsThreshold !== void 0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperline/cli",
3
- "version": "0.1.0-build.1.a244fbf",
3
+ "version": "0.1.0-build.1.a24f4e1",
4
4
  "description": "Agent-first CLI for Hyperline API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",