@hyperline/cli 0.1.0-build.1.86c80d9 → 0.1.0-build.1.8881190

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.
@@ -40611,7 +40611,7 @@ Examples:
40611
40611
  queryParamKeys: []
40612
40612
  });
40613
40613
  });
40614
- resource.command("delete-invoice-transaction").description(`Delete a scheduled transaction from an invoice. Only applies to transactions that haven't been processed yet.`).requiredOption("--id <value>", `id parameter`).requiredOption("--transaction-id <value>", `transactionId parameter`).option("--yes", "Skip confirmation").addHelpText("after", `
40614
+ resource.command("delete-invoice-transaction").description(`Delete a scheduled transaction or wallet debit from an invoice.`).requiredOption("--id <value>", `id parameter`).requiredOption("--transaction-id <value>", `transactionId parameter`).option("--yes", "Skip confirmation").addHelpText("after", `
40615
40615
  Examples:
40616
40616
  hyperline invoices-transactions delete-invoice-transaction --id <id> --transaction-id <transactionId>
40617
40617
  hyperline invoices-transactions delete-invoice-transaction --id <id> --transaction-id <transactionId> --output json`).action(async (opts) => {
@@ -41939,6 +41939,128 @@ Examples:
41939
41939
  });
41940
41940
  }
41941
41941
 
41942
+ // build/commands/generated/quotes-templates.js
41943
+ function registerQuotes_TemplatesCommands(parent) {
41944
+ const resource = parent.command("quotes-templates").description("Manage quotes > templates");
41945
+ resource.command("list-quote-templates").description(`List quote templates with pagination and optional filters for id, name, subscription_template_id, and search. Use template IDs to create quotes from reusable quote defaults.`).option("--take <number>", `take`).option("--skip <number>", `skip`).option("--id <value>", `id`).option("--id.not <value>", `id__not`).option("--id.is-null <value>", `id__isNull`).option("--id.is-not-null <value>", `id__isNotNull`).option("--id.equals <value>", `id__equals`).option("--id.contains <value>", `id__contains`).option("--id.starts-with <value>", `id__startsWith`).option("--id.end-with <value>", `id__endWith`).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("--subscription-template-id <value>", `subscription_template_id`).option("--subscription-template-id.not <value>", `subscription_template_id__not`).option("--subscription-template-id.is-null <value>", `subscription_template_id__isNull`).option("--subscription-template-id.is-not-null <value>", `subscription_template_id__isNotNull`).option("--subscription-template-id.equals <value>", `subscription_template_id__equals`).option("--subscription-template-id.contains <value>", `subscription_template_id__contains`).option("--subscription-template-id.starts-with <value>", `subscription_template_id__startsWith`).option("--subscription-template-id.end-with <value>", `subscription_template_id__endWith`).option("--search <value>", `search`).addHelpText("after", `
41946
+ Examples:
41947
+ hyperline quotes-templates list-quote-templates
41948
+ hyperline quotes-templates list-quote-templates --take <take> --id <id>`).action(async (opts) => {
41949
+ const ctx = resource.parent?.opts()._ctx;
41950
+ if (!ctx) {
41951
+ process.stderr.write("Error: Not authenticated\n");
41952
+ process.exit(1);
41953
+ }
41954
+ const args = {};
41955
+ if (opts.id !== void 0)
41956
+ args.id = opts.id;
41957
+ if (opts["id.not"] !== void 0)
41958
+ args.id__not = opts["id.not"];
41959
+ if (opts["id.isNull"] !== void 0)
41960
+ args.id__isNull = opts["id.isNull"];
41961
+ if (opts["id.isNotNull"] !== void 0)
41962
+ args.id__isNotNull = opts["id.isNotNull"];
41963
+ if (opts["id.equals"] !== void 0)
41964
+ args.id__equals = opts["id.equals"];
41965
+ if (opts["id.contains"] !== void 0)
41966
+ args.id__contains = opts["id.contains"];
41967
+ if (opts["id.startsWith"] !== void 0)
41968
+ args.id__startsWith = opts["id.startsWith"];
41969
+ if (opts["id.endWith"] !== void 0)
41970
+ args.id__endWith = opts["id.endWith"];
41971
+ if (opts.name !== void 0)
41972
+ args.name = opts.name;
41973
+ if (opts["name.not"] !== void 0)
41974
+ args.name__not = opts["name.not"];
41975
+ if (opts["name.isNull"] !== void 0)
41976
+ args.name__isNull = opts["name.isNull"];
41977
+ if (opts["name.isNotNull"] !== void 0)
41978
+ args.name__isNotNull = opts["name.isNotNull"];
41979
+ if (opts["name.equals"] !== void 0)
41980
+ args.name__equals = opts["name.equals"];
41981
+ if (opts["name.contains"] !== void 0)
41982
+ args.name__contains = opts["name.contains"];
41983
+ if (opts["name.startsWith"] !== void 0)
41984
+ args.name__startsWith = opts["name.startsWith"];
41985
+ if (opts["name.endWith"] !== void 0)
41986
+ args.name__endWith = opts["name.endWith"];
41987
+ if (opts.subscriptionTemplateId !== void 0)
41988
+ args.subscription_template_id = opts.subscriptionTemplateId;
41989
+ if (opts["subscriptionTemplateId.not"] !== void 0)
41990
+ args.subscription_template_id__not = opts["subscriptionTemplateId.not"];
41991
+ if (opts["subscriptionTemplateId.isNull"] !== void 0)
41992
+ args.subscription_template_id__isNull = opts["subscriptionTemplateId.isNull"];
41993
+ if (opts["subscriptionTemplateId.isNotNull"] !== void 0)
41994
+ args.subscription_template_id__isNotNull = opts["subscriptionTemplateId.isNotNull"];
41995
+ if (opts["subscriptionTemplateId.equals"] !== void 0)
41996
+ args.subscription_template_id__equals = opts["subscriptionTemplateId.equals"];
41997
+ if (opts["subscriptionTemplateId.contains"] !== void 0)
41998
+ args.subscription_template_id__contains = opts["subscriptionTemplateId.contains"];
41999
+ if (opts["subscriptionTemplateId.startsWith"] !== void 0)
42000
+ args.subscription_template_id__startsWith = opts["subscriptionTemplateId.startsWith"];
42001
+ if (opts["subscriptionTemplateId.endWith"] !== void 0)
42002
+ args.subscription_template_id__endWith = opts["subscriptionTemplateId.endWith"];
42003
+ if (opts.search !== void 0)
42004
+ args.search = opts.search;
42005
+ if (opts.take !== void 0)
42006
+ args.take = Number(opts.take);
42007
+ if (opts.skip !== void 0)
42008
+ args.skip = Number(opts.skip);
42009
+ await ctx.execute({
42010
+ method: "GET",
42011
+ path: "/v1/quotes/templates",
42012
+ args,
42013
+ queryParamKeys: [
42014
+ "take",
42015
+ "skip",
42016
+ "id",
42017
+ "id__not",
42018
+ "id__isNull",
42019
+ "id__isNotNull",
42020
+ "id__equals",
42021
+ "id__contains",
42022
+ "id__startsWith",
42023
+ "id__endWith",
42024
+ "name",
42025
+ "name__not",
42026
+ "name__isNull",
42027
+ "name__isNotNull",
42028
+ "name__equals",
42029
+ "name__contains",
42030
+ "name__startsWith",
42031
+ "name__endWith",
42032
+ "subscription_template_id",
42033
+ "subscription_template_id__not",
42034
+ "subscription_template_id__isNull",
42035
+ "subscription_template_id__isNotNull",
42036
+ "subscription_template_id__equals",
42037
+ "subscription_template_id__contains",
42038
+ "subscription_template_id__startsWith",
42039
+ "subscription_template_id__endWith",
42040
+ "search"
42041
+ ]
42042
+ });
42043
+ });
42044
+ resource.command("get-quote-template").description(`Retrieve a quote template by ID with quote defaults, display options, attachments, and linked contract template/clause IDs.`).requiredOption("--id <value>", `id parameter`).addHelpText("after", `
42045
+ Examples:
42046
+ hyperline quotes-templates get-quote-template --id <id>`).action(async (opts) => {
42047
+ const ctx = resource.parent?.opts()._ctx;
42048
+ if (!ctx) {
42049
+ process.stderr.write("Error: Not authenticated\n");
42050
+ process.exit(1);
42051
+ }
42052
+ const args = {};
42053
+ if (opts.id !== void 0)
42054
+ args.id = opts.id;
42055
+ await ctx.execute({
42056
+ method: "GET",
42057
+ path: "/v1/quotes/templates/{id}",
42058
+ args,
42059
+ queryParamKeys: []
42060
+ });
42061
+ });
42062
+ }
42063
+
41942
42064
  // build/commands/generated/subscriptions.js
41943
42065
  function registerSubscriptionsCommands(parent) {
41944
42066
  const resource = parent.command("subscriptions").description("Manage subscriptions");
@@ -43540,6 +43662,7 @@ function registerAllCommands(program2) {
43540
43662
  registerProductsCommands(program2);
43541
43663
  registerPrice_ConfigurationsCommands(program2);
43542
43664
  registerQuotesCommands(program2);
43665
+ registerQuotes_TemplatesCommands(program2);
43543
43666
  registerSubscriptions_TemplatesCommands(program2);
43544
43667
  registerSubscriptionsCommands(program2);
43545
43668
  registerSubscriptions_TransitionsCommands(program2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperline/cli",
3
- "version": "0.1.0-build.1.86c80d9",
3
+ "version": "0.1.0-build.1.8881190",
4
4
  "description": "Agent-first CLI for Hyperline API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",