@hyperline/cli 0.1.0-build.1.64a032e → 0.1.0-build.1.75cab90

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.
@@ -28346,30 +28346,6 @@ Examples:
28346
28346
  queryParamKeys: []
28347
28347
  });
28348
28348
  });
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
28349
  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
28350
  Examples:
28375
28351
  hyperline customers-segments update --id <id>
@@ -28390,7 +28366,7 @@ Examples:
28390
28366
  if (opts.rules !== void 0)
28391
28367
  args.rules = opts.rules;
28392
28368
  await ctx.execute({
28393
- method: "PUT",
28369
+ method: "PATCH",
28394
28370
  path: "/v1/customers/segments/{id}",
28395
28371
  args,
28396
28372
  queryParamKeys: []
@@ -30163,7 +30139,7 @@ Quote status.
30163
30139
  - \`draft\`: The quote is a draft.
30164
30140
  - \`approved\`: The quote is approved and ready to be sent to the customer.
30165
30141
  - \`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.
30142
+ `).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
30143
 
30168
30144
  - \`all\`: Display all pricing tiers.
30169
30145
  - \`matching\`: Only display the tiers used to compute the price based on quantity.
@@ -30195,6 +30171,8 @@ Examples:
30195
30171
  args.collect_payment_details = opts.collectPaymentDetails;
30196
30172
  if (opts.collectCustomPropertyIds !== void 0)
30197
30173
  args.collect_custom_property_ids = opts.collectCustomPropertyIds;
30174
+ if (opts.requireTaxId !== void 0)
30175
+ args.require_tax_id = opts.requireTaxId;
30198
30176
  if (opts.displayQuoteValue !== void 0)
30199
30177
  args.display_quote_value = opts.displayQuoteValue;
30200
30178
  if (opts.displayTaxes !== void 0)
@@ -30835,7 +30813,7 @@ Strategy used to activate the subscription.
30835
30813
  - \`manually\`: The subscription requires activation through a manual action.
30836
30814
  - \`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
30815
  - \`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>", `
30816
+ `).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
30817
  Strategy used to cancel the subscription. If not specified \`do_nothing\` is used.
30840
30818
 
30841
30819
  - \`charge_prorata\`: Will charge the customer the unpaid amount for the prorated period up to the end of the current period.
@@ -49821,9 +49799,12 @@ var LocaleSchema = external_exports.string().refine((value) => {
49821
49799
  var import_shared3 = __toESM(require_shared(), 1);
49822
49800
  var TimezoneSchema = external_exports.enum((0, import_shared3.getTimezones)().map((timezone) => timezone.name));
49823
49801
 
49824
- // ../hyperline-lib/build/http/middlewares/distributedRateLimiter.js
49802
+ // ../hyperline-lib/build/http/middlewares/distributedConcurrencyLimiter.js
49825
49803
  import { RateLimiterRedis, RateLimiterRes } from "rate-limiter-flexible";
49826
49804
 
49805
+ // ../hyperline-lib/build/http/middlewares/distributedRateLimiter.js
49806
+ import { RateLimiterRedis as RateLimiterRedis2, RateLimiterRes as RateLimiterRes2 } from "rate-limiter-flexible";
49807
+
49827
49808
  // ../hyperline-lib/build/http/middlewares/httpErrorHandler.js
49828
49809
  import multer from "multer";
49829
49810
 
@@ -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.64a032e",
3
+ "version": "0.1.0-build.1.75cab90",
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"