@hyperline/cli 0.1.0-build.1.64a032e → 0.1.0-build.1.7b68e1f

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: []
@@ -30835,7 +30811,7 @@ Strategy used to activate the subscription.
30835
30811
  - \`manually\`: The subscription requires activation through a manual action.
30836
30812
  - \`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
30813
  - \`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>", `
30814
+ `).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
30815
  Strategy used to cancel the subscription. If not specified \`do_nothing\` is used.
30840
30816
 
30841
30817
  - \`charge_prorata\`: Will charge the customer the unpaid amount for the prorated period up to the end of the current period.
@@ -49821,9 +49797,12 @@ var LocaleSchema = external_exports.string().refine((value) => {
49821
49797
  var import_shared3 = __toESM(require_shared(), 1);
49822
49798
  var TimezoneSchema = external_exports.enum((0, import_shared3.getTimezones)().map((timezone) => timezone.name));
49823
49799
 
49824
- // ../hyperline-lib/build/http/middlewares/distributedRateLimiter.js
49800
+ // ../hyperline-lib/build/http/middlewares/distributedConcurrencyLimiter.js
49825
49801
  import { RateLimiterRedis, RateLimiterRes } from "rate-limiter-flexible";
49826
49802
 
49803
+ // ../hyperline-lib/build/http/middlewares/distributedRateLimiter.js
49804
+ import { RateLimiterRedis as RateLimiterRedis2, RateLimiterRes as RateLimiterRes2 } from "rate-limiter-flexible";
49805
+
49827
49806
  // ../hyperline-lib/build/http/middlewares/httpErrorHandler.js
49828
49807
  import multer from "multer";
49829
49808
 
@@ -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.7b68e1f",
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"