@hyperline/cli 0.1.0-build.1.75cab90 → 0.1.0-build.1.7609ff3
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/bin/hyperline-main.js +49 -48
- package/package.json +3 -3
|
@@ -27224,7 +27224,7 @@ Examples:
|
|
|
27224
27224
|
// build/commands/generated/customers.js
|
|
27225
27225
|
function registerCustomersCommands(parent) {
|
|
27226
27226
|
const resource = parent.command("customers").description("Manage customers");
|
|
27227
|
-
resource.command("list").description(`List customers with optional filters for name, type, status, currency, country, external_id, billing_email, search, tax_id, subscription_status, invoicing_entity_id, segment_id, custom_properties, payment_method_type, created_at, updated_at. Paginated with take/skip.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--name <value>", `name`).option("--name.not <value>", `name__not`).option("--name.is-null <value>", `name__isNull`).option("--name.is-not-null <value>", `name__isNotNull`).option("--name.equals <value>", `name__equals`).option("--name.contains <value>", `name__contains`).option("--name.starts-with <value>", `name__startsWith`).option("--name.end-with <value>", `name__endWith`).option("--type <value>", `type`).option("--type.
|
|
27227
|
+
resource.command("list").description(`List customers with optional filters for name, type, status, currency, country, external_id, billing_email, search, tax_id, subscription_status, invoicing_entity_id, segment_id, custom_properties, payment_method_type, created_at, updated_at. Paginated with take/skip.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--name <value>", `name`).option("--name.not <value>", `name__not`).option("--name.is-null <value>", `name__isNull`).option("--name.is-not-null <value>", `name__isNotNull`).option("--name.equals <value>", `name__equals`).option("--name.contains <value>", `name__contains`).option("--name.starts-with <value>", `name__startsWith`).option("--name.end-with <value>", `name__endWith`).option("--type <value>", `type`).option("--type.in <value>", `type__in`).option("--status <value>", `status`).option("--status.in <value>", `status__in`).option("--currency <value>", `currency`).option("--currency.not <value>", `currency__not`).option("--currency.is-null <value>", `currency__isNull`).option("--currency.is-not-null <value>", `currency__isNotNull`).option("--currency.equals <value>", `currency__equals`).option("--currency.contains <value>", `currency__contains`).option("--currency.starts-with <value>", `currency__startsWith`).option("--currency.end-with <value>", `currency__endWith`).option("--country <value>", `country`).option("--country.not <value>", `country__not`).option("--country.is-null <value>", `country__isNull`).option("--country.is-not-null <value>", `country__isNotNull`).option("--country.equals <value>", `country__equals`).option("--country.contains <value>", `country__contains`).option("--country.starts-with <value>", `country__startsWith`).option("--country.end-with <value>", `country__endWith`).option("--external-id <value>", `external_id`).option("--external-id.not <value>", `external_id__not`).option("--external-id.is-null <value>", `external_id__isNull`).option("--external-id.is-not-null <value>", `external_id__isNotNull`).option("--external-id.equals <value>", `external_id__equals`).option("--external-id.contains <value>", `external_id__contains`).option("--external-id.starts-with <value>", `external_id__startsWith`).option("--external-id.end-with <value>", `external_id__endWith`).option("--billing-email <value>", `billing_email`).option("--billing-email.not <value>", `billing_email__not`).option("--billing-email.is-null <value>", `billing_email__isNull`).option("--billing-email.is-not-null <value>", `billing_email__isNotNull`).option("--billing-email.equals <value>", `billing_email__equals`).option("--billing-email.contains <value>", `billing_email__contains`).option("--billing-email.starts-with <value>", `billing_email__startsWith`).option("--billing-email.end-with <value>", `billing_email__endWith`).option("--search <value>", `search`).option("--tax-id <value>", `tax_id`).option("--tax-id.not <value>", `tax_id__not`).option("--tax-id.is-null <value>", `tax_id__isNull`).option("--tax-id.is-not-null <value>", `tax_id__isNotNull`).option("--tax-id.equals <value>", `tax_id__equals`).option("--tax-id.contains <value>", `tax_id__contains`).option("--tax-id.starts-with <value>", `tax_id__startsWith`).option("--tax-id.end-with <value>", `tax_id__endWith`).option("--subscription-status <value>", `subscription_status`).option("--subscription-status.in <value>", `subscription_status__in`).option("--invoicing-entity-id <value>", `invoicing_entity_id`).option("--invoicing-entity-id.not <value>", `invoicing_entity_id__not`).option("--invoicing-entity-id.is-null <value>", `invoicing_entity_id__isNull`).option("--invoicing-entity-id.is-not-null <value>", `invoicing_entity_id__isNotNull`).option("--invoicing-entity-id.equals <value>", `invoicing_entity_id__equals`).option("--invoicing-entity-id.contains <value>", `invoicing_entity_id__contains`).option("--invoicing-entity-id.starts-with <value>", `invoicing_entity_id__startsWith`).option("--invoicing-entity-id.end-with <value>", `invoicing_entity_id__endWith`).option("--segment-id <value>", `segment_id`).option("--custom-properties <value>", `custom_properties`).option("--payment-method-type <value>", `payment_method_type`).option("--payment-method-type.in <value>", `payment_method_type__in`).option("--created-at <value>", `created_at`).option("--created-at.not <value>", `created_at__not`).option("--created-at.is-null <value>", `created_at__isNull`).option("--created-at.is-not-null <value>", `created_at__isNotNull`).option("--created-at.equals <value>", `created_at__equals`).option("--created-at.lt <value>", `created_at__lt`).option("--created-at.lte <value>", `created_at__lte`).option("--created-at.gt <value>", `created_at__gt`).option("--created-at.gte <value>", `created_at__gte`).option("--updated-at <value>", `updated_at`).option("--updated-at.not <value>", `updated_at__not`).option("--updated-at.is-null <value>", `updated_at__isNull`).option("--updated-at.is-not-null <value>", `updated_at__isNotNull`).option("--updated-at.equals <value>", `updated_at__equals`).option("--updated-at.lt <value>", `updated_at__lt`).option("--updated-at.lte <value>", `updated_at__lte`).option("--updated-at.gt <value>", `updated_at__gt`).option("--updated-at.gte <value>", `updated_at__gte`).addHelpText("after", `
|
|
27228
27228
|
Examples:
|
|
27229
27229
|
hyperline customers list
|
|
27230
27230
|
hyperline customers list --take <take> --name <name>`).action(async (opts) => {
|
|
@@ -27252,20 +27252,8 @@ Examples:
|
|
|
27252
27252
|
args.name__endWith = opts["name.endWith"];
|
|
27253
27253
|
if (opts.type !== void 0)
|
|
27254
27254
|
args.type = opts.type;
|
|
27255
|
-
if (opts["type.
|
|
27256
|
-
args.
|
|
27257
|
-
if (opts["type.isNull"] !== void 0)
|
|
27258
|
-
args.type__isNull = opts["type.isNull"];
|
|
27259
|
-
if (opts["type.isNotNull"] !== void 0)
|
|
27260
|
-
args.type__isNotNull = opts["type.isNotNull"];
|
|
27261
|
-
if (opts["type.equals"] !== void 0)
|
|
27262
|
-
args.type__equals = opts["type.equals"];
|
|
27263
|
-
if (opts["type.contains"] !== void 0)
|
|
27264
|
-
args.type__contains = opts["type.contains"];
|
|
27265
|
-
if (opts["type.startsWith"] !== void 0)
|
|
27266
|
-
args.type__startsWith = opts["type.startsWith"];
|
|
27267
|
-
if (opts["type.endWith"] !== void 0)
|
|
27268
|
-
args.type__endWith = opts["type.endWith"];
|
|
27255
|
+
if (opts["type.in"] !== void 0)
|
|
27256
|
+
args.type__in = opts["type.in"];
|
|
27269
27257
|
if (opts.status !== void 0)
|
|
27270
27258
|
args.status = opts.status;
|
|
27271
27259
|
if (opts["status.in"] !== void 0)
|
|
@@ -27436,13 +27424,7 @@ Examples:
|
|
|
27436
27424
|
"name__startsWith",
|
|
27437
27425
|
"name__endWith",
|
|
27438
27426
|
"type",
|
|
27439
|
-
"
|
|
27440
|
-
"type__isNull",
|
|
27441
|
-
"type__isNotNull",
|
|
27442
|
-
"type__equals",
|
|
27443
|
-
"type__contains",
|
|
27444
|
-
"type__startsWith",
|
|
27445
|
-
"type__endWith",
|
|
27427
|
+
"type__in",
|
|
27446
27428
|
"status",
|
|
27447
27429
|
"status__in",
|
|
27448
27430
|
"currency",
|
|
@@ -28958,7 +28940,7 @@ Payment method strategy used to charge the invoice. Only applies to \`to_pay\` s
|
|
|
28958
28940
|
|
|
28959
28941
|
- \`current\`: Use the current default payment method of the customer.
|
|
28960
28942
|
- \`external\`: Manage the payment of the invoice outside of Hyperline.
|
|
28961
|
-
`).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("--emitted-at <value>", `
|
|
28943
|
+
`).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("--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 <value>", `Key/value pairs to store any metadata useful in your context.`).requiredOption("--line-items <value>", `line_items`).option("--transactions <value>", `transactions`).option("--coupons <value>", `coupons`).addHelpText("after", `
|
|
28962
28944
|
Examples:
|
|
28963
28945
|
hyperline invoices create-invoice --customer-id <customer_id> --line-items <line_items>
|
|
28964
28946
|
hyperline invoices create-invoice --customer-id <customer_id> --line-items <line_items> --currency <currency> --status <status>
|
|
@@ -30822,7 +30804,12 @@ Strategy used to cancel the subscription. If not specified \`do_nothing\` is use
|
|
|
30822
30804
|
- \`refund_custom\`: Will refund to the customer a custom amount.
|
|
30823
30805
|
- \`end_of_period\`: Will cancel the subscription at the end date of the current billing period.
|
|
30824
30806
|
- \`do_nothing\`: Will only cease the subscription without any additional actions.
|
|
30825
|
-
`).option("--cancellation-amount <number>", `Custom amount used when cancelling the subscription. Only applies to the \`charge_custom\` or the \`refund_custom\` cancellation strategy.`).option("--properties <value>", `Key/value pairs to store any metadata useful in your context.`).option("--custom-properties <value>", `A list of key value with the slug of the custom property as the key and the custom property value as value.`).option("--tax-only <value>", `Only tax will be charged on this subscription.`).option("--generate-draft-invoices <value>", `Generate draft invoices for the subscription. Each invoice will need to be reviewed and validated manually before being sent`).option("--generate-document <value>", `Generate non-legal documents instead of invoices.`).option("--document-name <value>", `If \`generate_document\` is turned on, allows you to give a name to your document.`).option("--add-tax-to-document <value>", `If \`generate_document\` is turned on, will add taxes to document.`).option("--do-not-charge-subscription <value>", `Subscription will be invoiced but not charged (invoices/documents will be settled directly).`).option("--invoice-custom-note <value>", `Default custom note added to invoices generated by the subscription.`).option("--
|
|
30807
|
+
`).option("--cancellation-amount <number>", `Custom amount used when cancelling the subscription. Only applies to the \`charge_custom\` or the \`refund_custom\` cancellation strategy.`).option("--properties <value>", `Key/value pairs to store any metadata useful in your context.`).option("--custom-properties <value>", `A list of key value with the slug of the custom property as the key and the custom property value as value.`).option("--tax-only <value>", `Only tax will be charged on this subscription.`).option("--generate-draft-invoices <value>", `Generate draft invoices for the subscription. Each invoice will need to be reviewed and validated manually before being sent`).option("--generate-document <value>", `Generate non-legal documents instead of invoices.`).option("--document-name <value>", `If \`generate_document\` is turned on, allows you to give a name to your document.`).option("--add-tax-to-document <value>", `If \`generate_document\` is turned on, will add taxes to document.`).option("--do-not-charge-subscription <value>", `Subscription will be invoiced but not charged (invoices/documents will be settled directly).`).option("--invoice-custom-note <value>", `Default custom note added to invoices generated by the subscription.`).option("--invoice-schedule <value>", `
|
|
30808
|
+
Defines when invoices are generated relative to the billing period.
|
|
30809
|
+
|
|
30810
|
+
- \`period_start\`: Invoices are generated at the start of the billing period.
|
|
30811
|
+
- \`period_end\`: Invoices are generated at the end of the billing period.
|
|
30812
|
+
`).option("--template-id <value>", `ID of the template that the subscription is linked to.`).option("--template-configuration-id <value>", `ID of the template configuration that the subscription is linked to.`).option("--trial <value>", `Create a free trial phase based on the plan configuration. Only applies if a \`plan_id\` is provided.`).option("--payment-method-strategy <value>", `
|
|
30826
30813
|
Payment method strategy used to bill the subscription. By default, the current payment method of the customer will be used.
|
|
30827
30814
|
|
|
30828
30815
|
- \`new\`: Ask the customer for a new payment method. The customer can fill in their payment method either on the subscription's checkout session or on their portal page.
|
|
@@ -30890,6 +30877,8 @@ Examples:
|
|
|
30890
30877
|
args.do_not_charge_subscription = opts.doNotChargeSubscription;
|
|
30891
30878
|
if (opts.invoiceCustomNote !== void 0)
|
|
30892
30879
|
args.invoice_custom_note = opts.invoiceCustomNote;
|
|
30880
|
+
if (opts.invoiceSchedule !== void 0)
|
|
30881
|
+
args.invoice_schedule = opts.invoiceSchedule;
|
|
30893
30882
|
if (opts.templateId !== void 0)
|
|
30894
30883
|
args.template_id = opts.templateId;
|
|
30895
30884
|
if (opts.templateConfigurationId !== void 0)
|
|
@@ -30917,7 +30906,7 @@ Examples:
|
|
|
30917
30906
|
queryParamKeys: []
|
|
30918
30907
|
});
|
|
30919
30908
|
});
|
|
30920
|
-
resource.command("list").description(`List subscriptions with filters for activation_strategy, status, currency, plan_id, original_quote_id, customer_id, invoicing_entity_id, purchase_order, updated_at, custom_properties. Draft, voided, and cancelled excluded by default. Paginated with take/skip.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--activation-strategy <value>", `activation_strategy`).option("--activation-strategy.in <value>", `activation_strategy__in`).option("--status <value>", `status`).option("--status.in <value>", `status__in`).option("--currency <value>", `currency`).option("--currency.not <value>", `currency__not`).option("--currency.is-null <value>", `currency__isNull`).option("--currency.is-not-null <value>", `currency__isNotNull`).option("--currency.equals <value>", `currency__equals`).option("--currency.contains <value>", `currency__contains`).option("--currency.starts-with <value>", `currency__startsWith`).option("--currency.end-with <value>", `currency__endWith`).option("--plan-id <value>", `plan_id`).option("--plan-id.not <value>", `plan_id__not`).option("--plan-id.is-null <value>", `plan_id__isNull`).option("--plan-id.is-not-null <value>", `plan_id__isNotNull`).option("--plan-id.equals <value>", `plan_id__equals`).option("--plan-id.contains <value>", `plan_id__contains`).option("--plan-id.starts-with <value>", `plan_id__startsWith`).option("--plan-id.end-with <value>", `plan_id__endWith`).option("--original-quote-id <value>", `original_quote_id`).option("--original-quote-id.not <value>", `original_quote_id__not`).option("--original-quote-id.is-null <value>", `original_quote_id__isNull`).option("--original-quote-id.is-not-null <value>", `original_quote_id__isNotNull`).option("--original-quote-id.equals <value>", `original_quote_id__equals`).option("--original-quote-id.contains <value>", `original_quote_id__contains`).option("--original-quote-id.starts-with <value>", `original_quote_id__startsWith`).option("--original-quote-id.end-with <value>", `original_quote_id__endWith`).option("--customer-id <value>", `customer_id`).option("--customer-id.not <value>", `customer_id__not`).option("--customer-id.is-null <value>", `customer_id__isNull`).option("--customer-id.is-not-null <value>", `customer_id__isNotNull`).option("--customer-id.equals <value>", `customer_id__equals`).option("--customer-id.contains <value>", `customer_id__contains`).option("--customer-id.starts-with <value>", `customer_id__startsWith`).option("--customer-id.end-with <value>", `customer_id__endWith`).option("--invoicing-entity-id <value>", `invoicing_entity_id`).option("--
|
|
30909
|
+
resource.command("list").description(`List subscriptions with filters for activation_strategy, status, currency, plan_id, original_quote_id, customer_id, invoicing_entity_id, purchase_order, updated_at, custom_properties. Draft, voided, and cancelled excluded by default. Paginated with take/skip.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--activation-strategy <value>", `activation_strategy`).option("--activation-strategy.in <value>", `activation_strategy__in`).option("--status <value>", `status`).option("--status.in <value>", `status__in`).option("--currency <value>", `currency`).option("--currency.not <value>", `currency__not`).option("--currency.is-null <value>", `currency__isNull`).option("--currency.is-not-null <value>", `currency__isNotNull`).option("--currency.equals <value>", `currency__equals`).option("--currency.contains <value>", `currency__contains`).option("--currency.starts-with <value>", `currency__startsWith`).option("--currency.end-with <value>", `currency__endWith`).option("--plan-id <value>", `plan_id`).option("--plan-id.not <value>", `plan_id__not`).option("--plan-id.is-null <value>", `plan_id__isNull`).option("--plan-id.is-not-null <value>", `plan_id__isNotNull`).option("--plan-id.equals <value>", `plan_id__equals`).option("--plan-id.contains <value>", `plan_id__contains`).option("--plan-id.starts-with <value>", `plan_id__startsWith`).option("--plan-id.end-with <value>", `plan_id__endWith`).option("--original-quote-id <value>", `original_quote_id`).option("--original-quote-id.not <value>", `original_quote_id__not`).option("--original-quote-id.is-null <value>", `original_quote_id__isNull`).option("--original-quote-id.is-not-null <value>", `original_quote_id__isNotNull`).option("--original-quote-id.equals <value>", `original_quote_id__equals`).option("--original-quote-id.contains <value>", `original_quote_id__contains`).option("--original-quote-id.starts-with <value>", `original_quote_id__startsWith`).option("--original-quote-id.end-with <value>", `original_quote_id__endWith`).option("--customer-id <value>", `customer_id`).option("--customer-id.not <value>", `customer_id__not`).option("--customer-id.is-null <value>", `customer_id__isNull`).option("--customer-id.is-not-null <value>", `customer_id__isNotNull`).option("--customer-id.equals <value>", `customer_id__equals`).option("--customer-id.contains <value>", `customer_id__contains`).option("--customer-id.starts-with <value>", `customer_id__startsWith`).option("--customer-id.end-with <value>", `customer_id__endWith`).option("--invoicing-entity-id <value>", `invoicing_entity_id`).option("--purchase-order <value>", `purchase_order`).option("--purchase-order.not <value>", `purchase_order__not`).option("--purchase-order.is-null <value>", `purchase_order__isNull`).option("--purchase-order.is-not-null <value>", `purchase_order__isNotNull`).option("--purchase-order.equals <value>", `purchase_order__equals`).option("--purchase-order.contains <value>", `purchase_order__contains`).option("--purchase-order.starts-with <value>", `purchase_order__startsWith`).option("--purchase-order.end-with <value>", `purchase_order__endWith`).option("--updated-at <value>", `updated_at`).option("--updated-at.not <value>", `updated_at__not`).option("--updated-at.is-null <value>", `updated_at__isNull`).option("--updated-at.is-not-null <value>", `updated_at__isNotNull`).option("--updated-at.equals <value>", `updated_at__equals`).option("--updated-at.lt <value>", `updated_at__lt`).option("--updated-at.lte <value>", `updated_at__lte`).option("--updated-at.gt <value>", `updated_at__gt`).option("--updated-at.gte <value>", `updated_at__gte`).option("--custom-properties <value>", `custom_properties`).option("--invoice-drafts <value>", `invoice_drafts`).addHelpText("after", `
|
|
30921
30910
|
Examples:
|
|
30922
30911
|
hyperline subscriptions list
|
|
30923
30912
|
hyperline subscriptions list --take <take> --activation-strategy <activation_strategy>`).action(async (opts) => {
|
|
@@ -31001,20 +30990,6 @@ Examples:
|
|
|
31001
30990
|
args.customer_id__endWith = opts["customerId.endWith"];
|
|
31002
30991
|
if (opts.invoicingEntityId !== void 0)
|
|
31003
30992
|
args.invoicing_entity_id = opts.invoicingEntityId;
|
|
31004
|
-
if (opts["invoicingEntityId.not"] !== void 0)
|
|
31005
|
-
args.invoicing_entity_id__not = opts["invoicingEntityId.not"];
|
|
31006
|
-
if (opts["invoicingEntityId.isNull"] !== void 0)
|
|
31007
|
-
args.invoicing_entity_id__isNull = opts["invoicingEntityId.isNull"];
|
|
31008
|
-
if (opts["invoicingEntityId.isNotNull"] !== void 0)
|
|
31009
|
-
args.invoicing_entity_id__isNotNull = opts["invoicingEntityId.isNotNull"];
|
|
31010
|
-
if (opts["invoicingEntityId.equals"] !== void 0)
|
|
31011
|
-
args.invoicing_entity_id__equals = opts["invoicingEntityId.equals"];
|
|
31012
|
-
if (opts["invoicingEntityId.contains"] !== void 0)
|
|
31013
|
-
args.invoicing_entity_id__contains = opts["invoicingEntityId.contains"];
|
|
31014
|
-
if (opts["invoicingEntityId.startsWith"] !== void 0)
|
|
31015
|
-
args.invoicing_entity_id__startsWith = opts["invoicingEntityId.startsWith"];
|
|
31016
|
-
if (opts["invoicingEntityId.endWith"] !== void 0)
|
|
31017
|
-
args.invoicing_entity_id__endWith = opts["invoicingEntityId.endWith"];
|
|
31018
30993
|
if (opts.purchaseOrder !== void 0)
|
|
31019
30994
|
args.purchase_order = opts.purchaseOrder;
|
|
31020
30995
|
if (opts["purchaseOrder.not"] !== void 0)
|
|
@@ -31101,13 +31076,6 @@ Examples:
|
|
|
31101
31076
|
"customer_id__startsWith",
|
|
31102
31077
|
"customer_id__endWith",
|
|
31103
31078
|
"invoicing_entity_id",
|
|
31104
|
-
"invoicing_entity_id__not",
|
|
31105
|
-
"invoicing_entity_id__isNull",
|
|
31106
|
-
"invoicing_entity_id__isNotNull",
|
|
31107
|
-
"invoicing_entity_id__equals",
|
|
31108
|
-
"invoicing_entity_id__contains",
|
|
31109
|
-
"invoicing_entity_id__startsWith",
|
|
31110
|
-
"invoicing_entity_id__endWith",
|
|
31111
31079
|
"purchase_order",
|
|
31112
31080
|
"purchase_order__not",
|
|
31113
31081
|
"purchase_order__isNull",
|
|
@@ -31364,7 +31332,12 @@ Examples:
|
|
|
31364
31332
|
queryParamKeys: []
|
|
31365
31333
|
});
|
|
31366
31334
|
});
|
|
31367
|
-
resource.command("update").description(`Comprehensive subscription update: modify fields, manage phases (add/update/delete pending phases), update products within phases, and manage coupons. Payload mirrors GET response structure.`).requiredOption("--id <value>", `id parameter`).option("--name <value>", `Subscription custom name.`).option("--purchase-order <value>", `Reference to the purchase order.`).option("--minimum-invoice-fee <number>", `Minimum fee applied to each invoice outside of one time payments.`).option("--crm-opportunity-id <value>", `ID of the related opportunity/deal in the connected CRM.`).option("--tax-only <value>", `Only tax will be charged on this subscription.`).option("--generate-draft-invoices <value>", `Generate draft invoices for the subscription. Each invoice will need to be reviewed and validated manually before being sent`).option("--generate-document <value>", `Generate non-legal documents instead of invoices.`).option("--document-name <value>", `If \`generate_document\` is turned on, allows you to give a name to your document.`).option("--add-tax-to-document <value>", `If \`generate_document\` is turned on, will add taxes to document.`).option("--do-not-charge-subscription <value>", `Subscription will be invoiced but not charged (invoices/documents will be settled directly).`).option("--invoice-custom-note <value>", `Default custom note added to invoices generated by the subscription.`).option("--
|
|
31335
|
+
resource.command("update").description(`Comprehensive subscription update: modify fields, manage phases (add/update/delete pending phases), update products within phases, and manage coupons. Payload mirrors GET response structure.`).requiredOption("--id <value>", `id parameter`).option("--name <value>", `Subscription custom name.`).option("--purchase-order <value>", `Reference to the purchase order.`).option("--minimum-invoice-fee <number>", `Minimum fee applied to each invoice outside of one time payments.`).option("--crm-opportunity-id <value>", `ID of the related opportunity/deal in the connected CRM.`).option("--tax-only <value>", `Only tax will be charged on this subscription.`).option("--generate-draft-invoices <value>", `Generate draft invoices for the subscription. Each invoice will need to be reviewed and validated manually before being sent`).option("--generate-document <value>", `Generate non-legal documents instead of invoices.`).option("--document-name <value>", `If \`generate_document\` is turned on, allows you to give a name to your document.`).option("--add-tax-to-document <value>", `If \`generate_document\` is turned on, will add taxes to document.`).option("--do-not-charge-subscription <value>", `Subscription will be invoiced but not charged (invoices/documents will be settled directly).`).option("--invoice-custom-note <value>", `Default custom note added to invoices generated by the subscription.`).option("--invoice-schedule <value>", `
|
|
31336
|
+
Defines when invoices are generated relative to the billing period.
|
|
31337
|
+
|
|
31338
|
+
- \`period_start\`: Invoices are generated at the start of the billing period.
|
|
31339
|
+
- \`period_end\`: Invoices are generated at the end of the billing period.
|
|
31340
|
+
`).option("--estimated-arr <number>", `Estimated Annual Recurring Revenue generated by the subscription.`).option("--contract-value <number>", `Contract value of the subscription. This value is overridable by the user.`).option("--starts-at <value>", `Applies only if the activation strategy is \`start_date\`. UTC date time string in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.`).option("--initial-billing-at <value>", `Date when the subscription will start being billed. If not specified, it will correspond to the \`starts_at\` date. UTC date time string in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.`).option("--cancel-at <value>", `Subscription cancel date. UTC date time string in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.`).option("--properties <value>", `Key/value pairs to store any metadata useful in your context.`).option("--custom-properties <value>", `A list of key value with the slug of the custom property as the key and the custom property value as value.`).option("--display-shipping-details <value>", `Indicates if the shipping details should be displayed on the subscription's invoices.`).option("--phases <value>", `Array of subscription phases. Existing pending phases will be replaced by the ones in the array.`).option("--contract-terms <value>", `Contract terms to update.`).addHelpText("after", `
|
|
31368
31341
|
Examples:
|
|
31369
31342
|
hyperline subscriptions update --id <id>
|
|
31370
31343
|
hyperline subscriptions update --id <id> --name <name> --purchase-order <purchase_order>
|
|
@@ -31397,6 +31370,8 @@ Examples:
|
|
|
31397
31370
|
args.do_not_charge_subscription = opts.doNotChargeSubscription;
|
|
31398
31371
|
if (opts.invoiceCustomNote !== void 0)
|
|
31399
31372
|
args.invoice_custom_note = opts.invoiceCustomNote;
|
|
31373
|
+
if (opts.invoiceSchedule !== void 0)
|
|
31374
|
+
args.invoice_schedule = opts.invoiceSchedule;
|
|
31400
31375
|
if (opts.startsAt !== void 0)
|
|
31401
31376
|
args.starts_at = opts.startsAt;
|
|
31402
31377
|
if (opts.initialBillingAt !== void 0)
|
|
@@ -49017,7 +48992,8 @@ var config3 = getConfig({
|
|
|
49017
48992
|
LOGGER_STDOUT_ENABLED: types.boolean().optional(),
|
|
49018
48993
|
NODE_ENV: types.enum(["local", "test", "staging", "sandbox", "production"]),
|
|
49019
48994
|
EVENT_LOOP_MONITORING_ENABLED: types.boolean().optional(),
|
|
49020
|
-
MEMORY_MONITORING_ENABLED: types.boolean().optional()
|
|
48995
|
+
MEMORY_MONITORING_ENABLED: types.boolean().optional(),
|
|
48996
|
+
MEMORY_MONITORING_INTERVAL_MS: types.number().optional()
|
|
49021
48997
|
// secrets
|
|
49022
48998
|
}, {
|
|
49023
48999
|
APP_VERSION: void 0,
|
|
@@ -49025,6 +49001,7 @@ var config3 = getConfig({
|
|
|
49025
49001
|
LOGGER_STDOUT_ENABLED: false,
|
|
49026
49002
|
EVENT_LOOP_MONITORING_ENABLED: false,
|
|
49027
49003
|
MEMORY_MONITORING_ENABLED: false,
|
|
49004
|
+
MEMORY_MONITORING_INTERVAL_MS: 3e4,
|
|
49028
49005
|
NODE_ENV: "test"
|
|
49029
49006
|
});
|
|
49030
49007
|
|
|
@@ -49473,6 +49450,9 @@ var languages = [
|
|
|
49473
49450
|
|
|
49474
49451
|
// ../hyperline-i18n/build/locales/de.js
|
|
49475
49452
|
var de = {
|
|
49453
|
+
"accounting.invoicePosted.entryDescription": "Buchungseintrag f\xFCr Rechnung {{invoiceId}}",
|
|
49454
|
+
"accounting.transactionSettled.entryDescription": "Zahlungsabwicklung f\xFCr Rechnung {{invoiceId}}",
|
|
49455
|
+
"accounting.creditNotePosted.entryDescription": "Gutschrift {{creditNoteId}} f\xFCr Rechnung {{invoiceId}}",
|
|
49476
49456
|
"accounting.revrec.creditLineDescription": "Umsatz realisieren \u2013 Zeitplan {{scheduleId}}, Zeitraum {{periodDate}}",
|
|
49477
49457
|
"accounting.revrec.debitLineDescription": "Abgrenzungsposten reduzieren \u2013 Zeitplan {{scheduleId}}, Zeitraum {{periodDate}}",
|
|
49478
49458
|
"accounting.revrec.discountCreditLineDescription": "Erl\xF6sminderung (Rabatt) erfassen \u2013 Zeitplan {{scheduleId}}, Zeitraum {{periodDate}}",
|
|
@@ -49535,6 +49515,9 @@ var en = {
|
|
|
49535
49515
|
"subscriptions.updates.updateCount.description.full.committed.not_invoiced": "Amount of {{amount}} (with a minimum committed count of {{committedCount}}) not invoiced for the full period",
|
|
49536
49516
|
"subscriptions.updates.updateCount.description.full.not_committed.invoiced": "This line has been invoiced for the full period",
|
|
49537
49517
|
"subscriptions.updates.updateCount.description.full.not_committed.not_invoiced": "Amount of {{amount}} not invoiced for the full period",
|
|
49518
|
+
"accounting.invoicePosted.entryDescription": "Posting entry for Invoice {{invoiceId}} issued",
|
|
49519
|
+
"accounting.transactionSettled.entryDescription": "Payment settlement for Invoice {{invoiceId}}",
|
|
49520
|
+
"accounting.creditNotePosted.entryDescription": "Credit note {{creditNoteId}} for Invoice {{invoiceId}}",
|
|
49538
49521
|
"accounting.revrec.entryDescription": "Revenue recognition for schedule {{scheduleId}}, period {{periodStart}} - {{periodEnd}}",
|
|
49539
49522
|
"accounting.revrec.debitLineDescription": "Decrease deferred revenue \u2013 schedule {{scheduleId}}, period {{periodDate}}",
|
|
49540
49523
|
"accounting.revrec.creditLineDescription": "Recognize revenue \u2013 schedule {{scheduleId}}, period {{periodDate}}",
|
|
@@ -49547,6 +49530,9 @@ var en = {
|
|
|
49547
49530
|
|
|
49548
49531
|
// ../hyperline-i18n/build/locales/es.js
|
|
49549
49532
|
var es = {
|
|
49533
|
+
"accounting.invoicePosted.entryDescription": "Asiento contable para la factura {{invoiceId}}",
|
|
49534
|
+
"accounting.transactionSettled.entryDescription": "Liquidaci\xF3n de pago para la factura {{invoiceId}}",
|
|
49535
|
+
"accounting.creditNotePosted.entryDescription": "Nota de cr\xE9dito {{creditNoteId}} para la factura {{invoiceId}}",
|
|
49550
49536
|
"accounting.revrec.creditLineDescription": "Reconocer ingresos \u2013 cronograma {{scheduleId}}, per\xEDodo {{periodDate}}",
|
|
49551
49537
|
"accounting.revrec.debitLineDescription": "Disminuci\xF3n de ingresos diferidos \u2013 cronograma {{scheduleId}}, per\xEDodo {{periodDate}}",
|
|
49552
49538
|
"accounting.revrec.discountCreditLineDescription": "Reconocer contra-ingresos (descuento) \u2013 cronograma {{scheduleId}}, per\xEDodo {{periodDate}}",
|
|
@@ -49588,6 +49574,9 @@ var fr = {
|
|
|
49588
49574
|
"accounting.revrec.debitLineDescription": "Diminution des produits constat\xE9s d'avance \u2013 \xE9ch\xE9ancier {{scheduleId}}, p\xE9riode {{periodDate}}",
|
|
49589
49575
|
"accounting.revrec.discountCreditLineDescription": "Reconnaissance du contre-revenu (remise) \u2013 \xE9ch\xE9ancier {{scheduleId}}, p\xE9riode {{periodDate}}",
|
|
49590
49576
|
"accounting.revrec.discountDebitLineDescription": "Diminution des remises diff\xE9r\xE9es \u2013 \xE9ch\xE9ancier {{scheduleId}}, p\xE9riode {{periodDate}}",
|
|
49577
|
+
"accounting.invoicePosted.entryDescription": "\xC9criture de comptabilisation pour la facture {{invoiceId}}",
|
|
49578
|
+
"accounting.transactionSettled.entryDescription": "R\xE8glement de la facture {{invoiceId}}",
|
|
49579
|
+
"accounting.creditNotePosted.entryDescription": "Avoir {{creditNoteId}} pour la facture {{invoiceId}}",
|
|
49591
49580
|
"accounting.revrec.entryDescription": "Reconnaissance du chiffre d'affaires pour l'\xE9ch\xE9ancier {{scheduleId}}, p\xE9riode {{periodStart}} - {{periodEnd}}",
|
|
49592
49581
|
"creditNotes.refundChargeName": "Remboursement pour facture",
|
|
49593
49582
|
"credits.bundleOf": "{{productName}} - Pack de {{creditCount}} cr\xE9dits",
|
|
@@ -49621,6 +49610,9 @@ var fr = {
|
|
|
49621
49610
|
|
|
49622
49611
|
// ../hyperline-i18n/build/locales/it.js
|
|
49623
49612
|
var it = {
|
|
49613
|
+
"accounting.invoicePosted.entryDescription": "Registrazione contabile per la fattura {{invoiceId}}",
|
|
49614
|
+
"accounting.transactionSettled.entryDescription": "Regolamento pagamento per la fattura {{invoiceId}}",
|
|
49615
|
+
"accounting.creditNotePosted.entryDescription": "Nota di credito {{creditNoteId}} per la fattura {{invoiceId}}",
|
|
49624
49616
|
"accounting.revrec.creditLineDescription": "Riconoscere i ricavi \u2013 programma {{scheduleId}}, periodo {{periodDate}}",
|
|
49625
49617
|
"accounting.revrec.debitLineDescription": "Diminuzione dei ricavi differiti \u2013 programma {{scheduleId}}, periodo {{periodDate}}",
|
|
49626
49618
|
"accounting.revrec.discountCreditLineDescription": "Riconoscere il contra-ricavo (sconto) \u2013 programma {{scheduleId}}, periodo {{periodDate}}",
|
|
@@ -49658,6 +49650,9 @@ var it = {
|
|
|
49658
49650
|
|
|
49659
49651
|
// ../hyperline-i18n/build/locales/nl.js
|
|
49660
49652
|
var nl = {
|
|
49653
|
+
"accounting.invoicePosted.entryDescription": "Boekingsregel voor factuur {{invoiceId}}",
|
|
49654
|
+
"accounting.transactionSettled.entryDescription": "Betalingsafwikkeling voor factuur {{invoiceId}}",
|
|
49655
|
+
"accounting.creditNotePosted.entryDescription": "Creditnota {{creditNoteId}} voor factuur {{invoiceId}}",
|
|
49661
49656
|
"accounting.revrec.creditLineDescription": "Omzet erkennen \u2013 schema {{scheduleId}}, periode {{periodDate}}",
|
|
49662
49657
|
"accounting.revrec.debitLineDescription": "Uitgestelde omzet verlagen \u2013 schema {{scheduleId}}, periode {{periodDate}}",
|
|
49663
49658
|
"accounting.revrec.discountCreditLineDescription": "Omzetvermindering (korting) erkennen \u2013 schema {{scheduleId}}, periode {{periodDate}}",
|
|
@@ -49695,6 +49690,9 @@ var nl = {
|
|
|
49695
49690
|
|
|
49696
49691
|
// ../hyperline-i18n/build/locales/pl.js
|
|
49697
49692
|
var pl = {
|
|
49693
|
+
"accounting.invoicePosted.entryDescription": "Zapis ksi\u0119gowy dla faktury {{invoiceId}}",
|
|
49694
|
+
"accounting.transactionSettled.entryDescription": "Rozliczenie p\u0142atno\u015Bci dla faktury {{invoiceId}}",
|
|
49695
|
+
"accounting.creditNotePosted.entryDescription": "Nota kredytowa {{creditNoteId}} dla faktury {{invoiceId}}",
|
|
49698
49696
|
"accounting.revrec.creditLineDescription": "Rozpoznanie przychodu \u2013 harmonogram {{scheduleId}}, okres {{periodDate}}",
|
|
49699
49697
|
"accounting.revrec.debitLineDescription": "Zmniejszenie przychod\xF3w przysz\u0142ych okres\xF3w \u2013 harmonogram {{scheduleId}}, okres {{periodDate}}",
|
|
49700
49698
|
"accounting.revrec.discountCreditLineDescription": "Rozpoznanie kontra-przychodu (rabat) \u2013 harmonogram {{scheduleId}}, okres {{periodDate}}",
|
|
@@ -49732,6 +49730,9 @@ var pl = {
|
|
|
49732
49730
|
|
|
49733
49731
|
// ../hyperline-i18n/build/locales/pt.js
|
|
49734
49732
|
var pt = {
|
|
49733
|
+
"accounting.invoicePosted.entryDescription": "Lan\xE7amento cont\xE1bil para a fatura {{invoiceId}}",
|
|
49734
|
+
"accounting.transactionSettled.entryDescription": "Liquida\xE7\xE3o de pagamento para a fatura {{invoiceId}}",
|
|
49735
|
+
"accounting.creditNotePosted.entryDescription": "Nota de cr\xE9dito {{creditNoteId}} para a fatura {{invoiceId}}",
|
|
49735
49736
|
"accounting.revrec.creditLineDescription": "Reconhecer receita \u2013 cronograma {{scheduleId}}, per\xEDodo {{periodDate}}",
|
|
49736
49737
|
"accounting.revrec.debitLineDescription": "Diminui\xE7\xE3o da receita diferida \u2013 cronograma {{scheduleId}}, per\xEDodo {{periodDate}}",
|
|
49737
49738
|
"accounting.revrec.discountCreditLineDescription": "Reconhecer contra-receita (desconto) \u2013 cronograma {{scheduleId}}, per\xEDodo {{periodDate}}",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperline/cli",
|
|
3
|
-
"version": "0.1.0-build.1.
|
|
3
|
+
"version": "0.1.0-build.1.7609ff3",
|
|
4
4
|
"description": "Agent-first CLI for Hyperline API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"@hyperline/vitest-config": "workspace:*",
|
|
48
48
|
"@types/node": "24.10.1",
|
|
49
49
|
"esbuild": "0.25.4",
|
|
50
|
-
"typescript": "
|
|
51
|
-
"vitest": "4.0.
|
|
50
|
+
"typescript": "6.0.2",
|
|
51
|
+
"vitest": "4.0.17"
|
|
52
52
|
},
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public",
|