@hyperline/cli 0.1.0-build.1.b8a526b → 0.1.0-build.1.b93db20

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.
@@ -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.not <value>", `type__not`).option("--type.is-null <value>", `type__isNull`).option("--type.is-not-null <value>", `type__isNotNull`).option("--type.equals <value>", `type__equals`).option("--type.contains <value>", `type__contains`).option("--type.starts-with <value>", `type__startsWith`).option("--type.end-with <value>", `type__endWith`).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", `
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.not"] !== void 0)
27256
- args.type__not = opts["type.not"];
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
- "type__not",
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",
@@ -28346,30 +28328,6 @@ Examples:
28346
28328
  queryParamKeys: []
28347
28329
  });
28348
28330
  });
28349
- resource.command("preview").description(`Preview which customers match the given segment rules without saving the segment.`).option("--take <number>", `take`).option("--skip <number>", `skip`).requiredOption("--rules <value>", `rules`).addHelpText("after", `
28350
- Examples:
28351
- hyperline customers-segments preview --rules <rules>
28352
- hyperline customers-segments preview --rules <rules> --take <take>
28353
- hyperline customers-segments preview --rules <rules> --output json`).action(async (opts) => {
28354
- const ctx = resource.parent?.opts()._ctx;
28355
- if (!ctx) {
28356
- process.stderr.write("Error: Not authenticated\n");
28357
- process.exit(1);
28358
- }
28359
- const args = {};
28360
- if (opts.rules !== void 0)
28361
- args.rules = opts.rules;
28362
- if (opts.take !== void 0)
28363
- args.take = Number(opts.take);
28364
- if (opts.skip !== void 0)
28365
- args.skip = Number(opts.skip);
28366
- await ctx.execute({
28367
- method: "POST",
28368
- path: "/v1/customers/segments/preview",
28369
- args,
28370
- queryParamKeys: ["take", "skip"]
28371
- });
28372
- });
28373
28331
  resource.command("update").description(`Update an existing customer segment.`).requiredOption("--id <value>", `id parameter`).option("--name <value>", `name`).option("--description <value>", `description`).option("--rules <value>", `rules`).addHelpText("after", `
28374
28332
  Examples:
28375
28333
  hyperline customers-segments update --id <id>
@@ -28390,7 +28348,7 @@ Examples:
28390
28348
  if (opts.rules !== void 0)
28391
28349
  args.rules = opts.rules;
28392
28350
  await ctx.execute({
28393
- method: "PUT",
28351
+ method: "PATCH",
28394
28352
  path: "/v1/customers/segments/{id}",
28395
28353
  args,
28396
28354
  queryParamKeys: []
@@ -30163,7 +30121,7 @@ Quote status.
30163
30121
  - \`draft\`: The quote is a draft.
30164
30122
  - \`approved\`: The quote is approved and ready to be sent to the customer.
30165
30123
  - \`pending_signature\`: The quote is awaiting the customer's signature.
30166
- `).option("--owner-email <value>", `Email address of the Hyperline user acting as the quote owner. If not specified, the Hyperline account owner will be assigned.`).requiredOption("--customer-id <value>", `ID of the customer.`).option("--invoicing-entity-id <value>", `ID of the invoicing entity attached to the quote.`).option("--comments <value>", `Custom comments displayed on the quote.`).option("--terms <value>", `Custom quotation terms.`).option("--amount <number>", `Estimated contract value. If not specified, automatically computed from the subscription configuration.`).option("--collect-payment-details <value>", `Collect customer payment method mandate during signature flow or not.`).option("--collect-custom-property-ids <value>", `IDs of the customer custom properties required to be filled during the signature flow.`).option("--display-quote-value <value>", `Display the total quote value on the quote.`).option("--display-taxes <value>", `Display tax breakdown on the quote.`).option("--display-price-tiers <value>", `Controls which price tiers are displayed on the quote.
30124
+ `).option("--owner-email <value>", `Email address of the Hyperline user acting as the quote owner. If not specified, the Hyperline account owner will be assigned.`).requiredOption("--customer-id <value>", `ID of the customer.`).option("--invoicing-entity-id <value>", `ID of the invoicing entity attached to the quote.`).option("--comments <value>", `Custom comments displayed on the quote.`).option("--terms <value>", `Custom quotation terms.`).option("--amount <number>", `Estimated contract value. If not specified, automatically computed from the subscription configuration.`).option("--collect-payment-details <value>", `Collect customer payment method mandate during signature flow or not.`).option("--collect-custom-property-ids <value>", `IDs of the customer custom properties required to be filled during the signature flow.`).option("--require-tax-id <value>", `Require the customer to provide a tax ID during the signature flow.`).option("--display-quote-value <value>", `Display the total quote value on the quote.`).option("--display-taxes <value>", `Display tax breakdown on the quote.`).option("--display-price-tiers <value>", `Controls which price tiers are displayed on the quote.
30167
30125
 
30168
30126
  - \`all\`: Display all pricing tiers.
30169
30127
  - \`matching\`: Only display the tiers used to compute the price based on quantity.
@@ -30195,6 +30153,8 @@ Examples:
30195
30153
  args.collect_payment_details = opts.collectPaymentDetails;
30196
30154
  if (opts.collectCustomPropertyIds !== void 0)
30197
30155
  args.collect_custom_property_ids = opts.collectCustomPropertyIds;
30156
+ if (opts.requireTaxId !== void 0)
30157
+ args.require_tax_id = opts.requireTaxId;
30198
30158
  if (opts.displayQuoteValue !== void 0)
30199
30159
  args.display_quote_value = opts.displayQuoteValue;
30200
30160
  if (opts.displayTaxes !== void 0)
@@ -30835,7 +30795,7 @@ Strategy used to activate the subscription.
30835
30795
  - \`manually\`: The subscription requires activation through a manual action.
30836
30796
  - \`checkout\`: The subscription will be activated once the checkout is completed, but only if the start date is in the past. Otherwise, activation will occur later on the specified start date.
30837
30797
  - \`quote\`: The subscription will be activated depending on the configuration and the signature of the related quote.
30838
- `).option("--products <value>", `Products that make up the subscription.`).option("--coupons <value>", `coupons`).option("--name <value>", `Subscription custom name.`).option("--purchase-order <value>", `Reference to the purchase order.`).option("--invoicing-entity-id <value>", `ID of the invoicing entity attached to the subscription.`).option("--crm-opportunity-id <value>", `ID of the related opportunity/deal in the connected CRM.`).option("--minimum-invoice-fee <number>", `Minimum fee applied to each invoice outside of one time payments.`).option("--contract-terms <value>", `Contract terms linked to the subscription.`).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("--display-shipping-details <value>", `Indicates if the shipping details should be displayed on the subscription's invoices.`).option("--cancel-at <value>", `Subscription cancel date. UTC date time string in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.`).option("--cancellation-strategy <value>", `
30798
+ `).option("--products <value>", `Products that make up the subscription.`).option("--coupons <value>", `coupons`).option("--name <value>", `Subscription custom name.`).option("--purchase-order <value>", `Reference to the purchase order.`).option("--invoicing-entity-id <value>", `ID of the invoicing entity attached to the subscription. If not defined, fallback to customer's invoicing entity.`).option("--crm-opportunity-id <value>", `ID of the related opportunity/deal in the connected CRM.`).option("--minimum-invoice-fee <number>", `Minimum fee applied to each invoice outside of one time payments.`).option("--contract-terms <value>", `Contract terms linked to the subscription.`).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("--display-shipping-details <value>", `Indicates if the shipping details should be displayed on the subscription's invoices.`).option("--cancel-at <value>", `Subscription cancel date. UTC date time string in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.`).option("--cancellation-strategy <value>", `
30839
30799
  Strategy used to cancel the subscription. If not specified \`do_nothing\` is used.
30840
30800
 
30841
30801
  - \`charge_prorata\`: Will charge the customer the unpaid amount for the prorated period up to the end of the current period.
@@ -30939,7 +30899,7 @@ Examples:
30939
30899
  queryParamKeys: []
30940
30900
  });
30941
30901
  });
30942
- 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("--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("--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", `
30902
+ 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", `
30943
30903
  Examples:
30944
30904
  hyperline subscriptions list
30945
30905
  hyperline subscriptions list --take <take> --activation-strategy <activation_strategy>`).action(async (opts) => {
@@ -31023,20 +30983,6 @@ Examples:
31023
30983
  args.customer_id__endWith = opts["customerId.endWith"];
31024
30984
  if (opts.invoicingEntityId !== void 0)
31025
30985
  args.invoicing_entity_id = opts.invoicingEntityId;
31026
- if (opts["invoicingEntityId.not"] !== void 0)
31027
- args.invoicing_entity_id__not = opts["invoicingEntityId.not"];
31028
- if (opts["invoicingEntityId.isNull"] !== void 0)
31029
- args.invoicing_entity_id__isNull = opts["invoicingEntityId.isNull"];
31030
- if (opts["invoicingEntityId.isNotNull"] !== void 0)
31031
- args.invoicing_entity_id__isNotNull = opts["invoicingEntityId.isNotNull"];
31032
- if (opts["invoicingEntityId.equals"] !== void 0)
31033
- args.invoicing_entity_id__equals = opts["invoicingEntityId.equals"];
31034
- if (opts["invoicingEntityId.contains"] !== void 0)
31035
- args.invoicing_entity_id__contains = opts["invoicingEntityId.contains"];
31036
- if (opts["invoicingEntityId.startsWith"] !== void 0)
31037
- args.invoicing_entity_id__startsWith = opts["invoicingEntityId.startsWith"];
31038
- if (opts["invoicingEntityId.endWith"] !== void 0)
31039
- args.invoicing_entity_id__endWith = opts["invoicingEntityId.endWith"];
31040
30986
  if (opts.purchaseOrder !== void 0)
31041
30987
  args.purchase_order = opts.purchaseOrder;
31042
30988
  if (opts["purchaseOrder.not"] !== void 0)
@@ -31123,13 +31069,6 @@ Examples:
31123
31069
  "customer_id__startsWith",
31124
31070
  "customer_id__endWith",
31125
31071
  "invoicing_entity_id",
31126
- "invoicing_entity_id__not",
31127
- "invoicing_entity_id__isNull",
31128
- "invoicing_entity_id__isNotNull",
31129
- "invoicing_entity_id__equals",
31130
- "invoicing_entity_id__contains",
31131
- "invoicing_entity_id__startsWith",
31132
- "invoicing_entity_id__endWith",
31133
31072
  "purchase_order",
31134
31073
  "purchase_order__not",
31135
31074
  "purchase_order__isNull",
@@ -49821,9 +49760,12 @@ var LocaleSchema = external_exports.string().refine((value) => {
49821
49760
  var import_shared3 = __toESM(require_shared(), 1);
49822
49761
  var TimezoneSchema = external_exports.enum((0, import_shared3.getTimezones)().map((timezone) => timezone.name));
49823
49762
 
49824
- // ../hyperline-lib/build/http/middlewares/distributedRateLimiter.js
49763
+ // ../hyperline-lib/build/http/middlewares/distributedConcurrencyLimiter.js
49825
49764
  import { RateLimiterRedis, RateLimiterRes } from "rate-limiter-flexible";
49826
49765
 
49766
+ // ../hyperline-lib/build/http/middlewares/distributedRateLimiter.js
49767
+ import { RateLimiterRedis as RateLimiterRedis2, RateLimiterRes as RateLimiterRes2 } from "rate-limiter-flexible";
49768
+
49827
49769
  // ../hyperline-lib/build/http/middlewares/httpErrorHandler.js
49828
49770
  import multer from "multer";
49829
49771
 
@@ -13,7 +13,7 @@
13
13
  "json-prune": "1.1.0",
14
14
  "lru-cache": "11.0.2",
15
15
  "multer": "1.4.5-lts.1",
16
- "rate-limiter-flexible": "2.4.2",
16
+ "rate-limiter-flexible": "11.0.0",
17
17
  "stacktrace-parser": "0.1.10",
18
18
  "uuid": "9.0.1",
19
19
  "winston": "3.10.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperline/cli",
3
- "version": "0.1.0-build.1.b8a526b",
3
+ "version": "0.1.0-build.1.b93db20",
4
4
  "description": "Agent-first CLI for Hyperline API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -36,7 +36,7 @@
36
36
  "json-prune": "1.1.0",
37
37
  "lru-cache": "11.0.2",
38
38
  "multer": "1.4.5-lts.1",
39
- "rate-limiter-flexible": "2.4.2",
39
+ "rate-limiter-flexible": "11.0.0",
40
40
  "stacktrace-parser": "0.1.10",
41
41
  "uuid": "9.0.1",
42
42
  "winston": "3.10.0"