@hyperline/cli 0.1.0-build.1.efe955e → 0.1.0-build.1.f17e91a
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 +127 -16
- package/dist/external-deps.json +0 -1
- package/package.json +2 -4
|
@@ -34894,10 +34894,10 @@ var require_shared = __commonJS({
|
|
|
34894
34894
|
ZodId: () => ZodId,
|
|
34895
34895
|
ZodTranslationsSchemaFn: () => ZodTranslationsSchemaFn
|
|
34896
34896
|
});
|
|
34897
|
-
var
|
|
34897
|
+
var import_zod20 = require_lib();
|
|
34898
34898
|
var countryIds2 = ["all", ...countries.map(({ id }) => id)];
|
|
34899
|
-
var ZodId =
|
|
34900
|
-
var ZodTranslationsSchemaFn = (schema) =>
|
|
34899
|
+
var ZodId = import_zod20.z.enum(countryIds2);
|
|
34900
|
+
var ZodTranslationsSchemaFn = (schema) => import_zod20.z.record(import_zod20.z.string(), schema.optional());
|
|
34901
34901
|
var UsStates = [
|
|
34902
34902
|
{ id: "AA", name: "Armed Forces Americas" },
|
|
34903
34903
|
{ id: "AE", name: "Armed Forces Europe" },
|
|
@@ -40035,7 +40035,7 @@ How customer invoices are issued from the parent organisation.
|
|
|
40035
40035
|
- \`none\`: Invoices will keep being issued from this customer.
|
|
40036
40036
|
- \`every_invoice\`: Customer invoices will be issued from the organisation individually.
|
|
40037
40037
|
- \`concat\`: Customer invoices will be grouped into a global parent invoice at a regular schedule (configured on the organisation).
|
|
40038
|
-
`).option("--properties <json>", `Key/value pairs to store any metadata useful in your context.`).option("--custom-properties <json>", `A list of key value with the slug of the custom property as the key and the custom property value as value.`).option("--invoice-reminders-enabled <value>", `Indicates if invoice reminders are enabled for the customer.`).option("--price-book-id <value>", `Default price book ID assigned to the customer.`).option("--owner-id <value>", `ID of the Hyperline user responsible for this customer and targeted by customer agent notifications.`).option("--follower-ids <json>", `IDs of Hyperline users following this customer.`).addHelpText("after", `
|
|
40038
|
+
`).option("--properties <json>", `Key/value pairs to store any metadata useful in your context.`).option("--custom-properties <json>", `A list of key value with the slug of the custom property as the key and the custom property value as value.`).option("--invoice-reminders-enabled <value>", `Indicates if invoice reminders are enabled for the customer.`).option("--force-invoice-draft <value>", `Indicates if customer invoices should be created as draft invoices.`).option("--price-book-id <value>", `Default price book ID assigned to the customer.`).option("--owner-id <value>", `ID of the Hyperline user responsible for this customer and targeted by customer agent notifications.`).option("--follower-ids <json>", `IDs of Hyperline users following this customer.`).addHelpText("after", `
|
|
40039
40039
|
Examples:
|
|
40040
40040
|
hyperline customers create-customer
|
|
40041
40041
|
hyperline customers create-customer --name <name> --type <type>
|
|
@@ -40078,6 +40078,8 @@ Examples:
|
|
|
40078
40078
|
args.organisation_invoicing = opts.organisationInvoicing;
|
|
40079
40079
|
if (opts.invoiceRemindersEnabled !== void 0)
|
|
40080
40080
|
args.invoice_reminders_enabled = opts.invoiceRemindersEnabled;
|
|
40081
|
+
if (opts.forceInvoiceDraft !== void 0)
|
|
40082
|
+
args.force_invoice_draft = opts.forceInvoiceDraft;
|
|
40081
40083
|
if (opts.priceBookId !== void 0)
|
|
40082
40084
|
args.price_book_id = opts.priceBookId;
|
|
40083
40085
|
if (opts.ownerId !== void 0)
|
|
@@ -40168,7 +40170,7 @@ How customer invoices are issued from the parent organisation.
|
|
|
40168
40170
|
- \`none\`: Invoices will keep being issued from this customer.
|
|
40169
40171
|
- \`every_invoice\`: Customer invoices will be issued from the organisation individually.
|
|
40170
40172
|
- \`concat\`: Customer invoices will be grouped into a global parent invoice at a regular schedule (configured on the organisation).
|
|
40171
|
-
`).option("--properties <json>", `Key/value pairs to store any metadata useful in your context.`).option("--custom-properties <json>", `A list of key value with the slug of the custom property as the key and the custom property value as value.`).option("--invoice-reminders-enabled <value>", `Indicates if invoice reminders are enabled for the customer.`).option("--price-book-id <value>", `Default price book ID assigned to the customer.`).option("--owner-id <value>", `ID of the Hyperline user responsible for this customer and targeted by customer agent notifications.`).option("--follower-ids <json>", `IDs of Hyperline users following this customer.`).addHelpText("after", `
|
|
40173
|
+
`).option("--properties <json>", `Key/value pairs to store any metadata useful in your context.`).option("--custom-properties <json>", `A list of key value with the slug of the custom property as the key and the custom property value as value.`).option("--invoice-reminders-enabled <value>", `Indicates if invoice reminders are enabled for the customer.`).option("--force-invoice-draft <value>", `Indicates if customer invoices should be created as draft invoices.`).option("--price-book-id <value>", `Default price book ID assigned to the customer.`).option("--owner-id <value>", `ID of the Hyperline user responsible for this customer and targeted by customer agent notifications.`).option("--follower-ids <json>", `IDs of Hyperline users following this customer.`).addHelpText("after", `
|
|
40172
40174
|
Examples:
|
|
40173
40175
|
hyperline customers update --id <id>
|
|
40174
40176
|
hyperline customers update --id <id> --name <name> --type <type>
|
|
@@ -40215,6 +40217,8 @@ Examples:
|
|
|
40215
40217
|
args.organisation_invoicing = opts.organisationInvoicing;
|
|
40216
40218
|
if (opts.invoiceRemindersEnabled !== void 0)
|
|
40217
40219
|
args.invoice_reminders_enabled = opts.invoiceRemindersEnabled;
|
|
40220
|
+
if (opts.forceInvoiceDraft !== void 0)
|
|
40221
|
+
args.force_invoice_draft = opts.forceInvoiceDraft;
|
|
40218
40222
|
if (opts.priceBookId !== void 0)
|
|
40219
40223
|
args.price_book_id = opts.priceBookId;
|
|
40220
40224
|
if (opts.ownerId !== void 0)
|
|
@@ -41892,7 +41896,7 @@ Examples:
|
|
|
41892
41896
|
// build/commands/generated/invoices-transactions.js
|
|
41893
41897
|
function registerInvoices_TransactionsCommands(parent) {
|
|
41894
41898
|
const resource = parent.command("invoices-transactions").description("Manage invoices > transactions");
|
|
41895
|
-
resource.command("create-invoice-transaction").description(`Record a payment transaction on an invoice.
|
|
41899
|
+
resource.command("create-invoice-transaction").description(`Record a payment transaction on an invoice. Rejects transactions that cannot be allocated, including cancelled invoices or invoices with no remaining capacity; excess amounts remain unallocated.`).requiredOption("--id <value>", `id parameter`).requiredOption("--amount <number>", `Transaction amount.`).requiredOption("--process-at <value>", `Date corresponding to the processing of the transaction. If in the future, the transaction is scheduled to be processed.`).option("--payment-method-id <value>", `Payment method used to execute the transaction. Only applies to scheduled transactions with a process_at date in the future.`).option("--payment-method-type <value>", `payment_method_type`).option("--bank-account-id <value>", `Bank account linked to the transaction.`).option("--provider-name <value>", `Provider name.`).option("--provider-id <value>", `Provider ID. Required if multiple instances of the same provider are connected in Hyperline.`).option("--provider-transaction-id <value>", `ID of the transaction on the provider's side. If the transaction is pending, Hyperline will automatically refresh it with the latest details until it is settled. Note that the \`amount\` and \`process_at\` fields may be overridden by the transaction data.`).addHelpText("after", `
|
|
41896
41900
|
Examples:
|
|
41897
41901
|
hyperline invoices-transactions create-invoice-transaction --id <id> --amount <amount> --process-at <process_at>
|
|
41898
41902
|
hyperline invoices-transactions create-invoice-transaction --id <id> --amount <amount> --process-at <process_at> --payment-method-id <payment_method_id> --payment-method-type <payment_method_type>
|
|
@@ -42784,7 +42788,7 @@ Examples:
|
|
|
42784
42788
|
// build/commands/generated/quotes.js
|
|
42785
42789
|
function registerQuotesCommands(parent) {
|
|
42786
42790
|
const resource = parent.command("quotes").description("Manage quotes");
|
|
42787
|
-
resource.command("create").description(`Create a new quote for a customer. Use \`subscription\` (or \`template_id\`) for subscription quotes; use \`invoice\` for one-off quotes backed by a draft invoice with line items. Quotes can be sent for signature and converted to subscriptions or one-off invoices. When creating from a quote template, do not combine \`template_id\` with subscription overrides for dates, contract terms, products, phases, coupons, discounts, prices, or seats in this call: first create the quote from \`template_id\` so template terms and contract documents are copied, then call \`update_quote\` with the subscription payload.`).option("--status <value>", `
|
|
42791
|
+
resource.command("create").description(`Create a new quote for a customer. The quote carries its own configuration inline \u2014 build \`subscription\` in this call with its contract terms, phases, products and prices; there is no separate step to create a subscription first and reference it by ID. Use \`subscription\` (or \`template_id\`) for subscription quotes; use \`invoice\` for one-off quotes backed by a draft invoice with line items. Quotes can be sent for signature and converted to subscriptions or one-off invoices. When creating from a quote template, do not combine \`template_id\` with subscription overrides for dates, contract terms, products, phases, coupons, discounts, prices, or seats in this call: first create the quote from \`template_id\` so template terms and contract documents are copied, then call \`update_quote\` with the subscription payload. Discover product and price configuration IDs with \`get_catalog_context\`; validate the exact payload first with \`simulate_create_quote\` (identical schema, nothing persisted).`).option("--status <value>", `
|
|
42788
42792
|
Quote status.
|
|
42789
42793
|
|
|
42790
42794
|
- \`draft\`: The quote is a draft.
|
|
@@ -43082,7 +43086,7 @@ Examples:
|
|
|
43082
43086
|
queryParamKeys: []
|
|
43083
43087
|
});
|
|
43084
43088
|
});
|
|
43085
|
-
resource.command("update").description(`Update quote-level fields before a quote is finalized. On draft quotes, pass \`subscription\` to create or replace the draft subscription configuration, or pass \`invoice\` on a one-off quote to replace the linked draft invoice. For quotes created from \`template_id\`, use this tool for subscription overrides such as dates, contract terms, products, phases, coupons, discounts, prices, seats, and subscription custom properties. Omit \`terms\`, \`comments\`, and \`contract_clause_ids\` unless deliberately overriding template content
|
|
43089
|
+
resource.command("update").description(`Update quote-level fields before a quote is finalized. On draft quotes, pass \`subscription\` inline \u2014 the full configuration, not a reference to an existing subscription \u2014 to create or replace the draft subscription configuration, or pass \`invoice\` on a one-off quote to replace the linked draft invoice. For quotes created from \`template_id\`, use this tool for subscription overrides such as dates, contract terms, products, phases, coupons, discounts, prices, seats, and subscription custom properties. Omit \`terms\`, \`comments\`, and \`contract_clause_ids\` unless deliberately overriding template content. Discover product and price configuration IDs with \`get_catalog_context\`.`).requiredOption("--id <value>", `id parameter`).option("--owner-email <value>", `Email address of the Hyperline user acting as the quote owner.`).option("--catalog-version-id <value>", `ID of a published catalog version to price every product of the quote from, instead of the live products catalog. A product's own \`catalog_version_id\` takes precedence, and explicit \`prices\` always win over both.`).option("--comments <value>", `Custom comments displayed on the quote.`).option("--terms <value>", `Custom quotation terms.`).option("--amount <number>", `Estimated contract value. Set to \`null\` to clear the manually set value.`).option("--collect-payment-details <value>", `Collect customer payment method mandate during signature flow or not.`).option("--collect-custom-property-ids <json>", `IDs of the customer custom properties required to be filled during the signature flow.`).option("--contract-clause-ids <json>", `IDs of the contract clauses used in the quote terms.`).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-quote-value-with-tax <value>", `Display the total quote value including tax on the quote. Only applies to \`one_off\` quotes.`).option("--display-taxes <value>", `Display tax breakdown on the quote.`).option("--display-price-tiers <value>", `Controls which price tiers are displayed on the quote.
|
|
43086
43090
|
|
|
43087
43091
|
- \`all\`: Display all pricing tiers.
|
|
43088
43092
|
- \`matching\`: Only display the tiers used to compute the price based on quantity.
|
|
@@ -43680,7 +43684,7 @@ Examples:
|
|
|
43680
43684
|
queryParamKeys: []
|
|
43681
43685
|
});
|
|
43682
43686
|
});
|
|
43683
|
-
resource.command("create").description(`Create a new subscription
|
|
43687
|
+
resource.command("create").description(`Create a new subscription. Requires \`customer_id\` plus one source: \`template_id\` (optionally with \`template_configuration_id\`) to instantiate a subscription template; flat \`products\` with a top-level \`activation_strategy\`; or explicit \`phases\`, where each phase needs \`activation_strategy\`, \`end_strategy\`, \`billing_date_setting\`, and \`products\` (each with \`id\`, usually a \`payment_interval\`). \`contract_terms\` requires both \`activation_strategy\` and \`end_strategy\`. Discover product and price configuration IDs with \`get_catalog_context\`; validate the exact payload first with \`simulate_create_subscription\` (identical schema, nothing persisted).`).requiredOption("--customer-id <value>", `ID of the customer.`).option("--activation-strategy <value>", `
|
|
43684
43688
|
Strategy used to activate the subscription.
|
|
43685
43689
|
|
|
43686
43690
|
- \`start_date\`: The subscription will become active on the specified start date. If the start date is in the past, it will be activated immediately.
|
|
@@ -44044,7 +44048,7 @@ Examples:
|
|
|
44044
44048
|
queryParamKeys: []
|
|
44045
44049
|
});
|
|
44046
44050
|
});
|
|
44047
|
-
resource.command("update").description(`Comprehensive subscription update: modify fields, manage phases (add/update/delete pending phases), update products within phases, and manage coupons. Draft quote subscription configuration must be updated through
|
|
44051
|
+
resource.command("update").description(`Comprehensive subscription update: modify fields, manage phases (add/update/delete pending phases), update products within phases, and manage coupons. Pending phases are replaced by the provided array. Discover product and price configuration IDs with \`get_catalog_context\`. Draft quote subscription configuration must be updated through \`update_quote\`, not here.`).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>", `
|
|
44048
44052
|
Defines when invoices are generated relative to the billing period.
|
|
44049
44053
|
|
|
44050
44054
|
- \`period_start\`: Invoices are generated at the start of the billing period.
|
|
@@ -44653,6 +44657,66 @@ Examples:
|
|
|
44653
44657
|
// build/commands/generated/transactions.js
|
|
44654
44658
|
function registerTransactionsCommands(parent) {
|
|
44655
44659
|
const resource = parent.command("transactions").description("Manage transactions");
|
|
44660
|
+
resource.command("create").description(`Record an offline payment, refund, or chargeback; this records money already moved and does not initiate a payment.`).requiredOption("--customer-id <value>", `ID of the customer linked to the transaction.`).requiredOption("--amount <number>", `Positive transaction amount in the customer's currency's smallest unit.`).requiredOption("--date <value>", `Date when the offline transaction settled.`).option("--payment-method-type <value>", `Offline payment method: bank transfer or external payment.`).option("--bank-account-id <value>", `Bank account for a transfer, in the customer's currency; not allowed for external payments.`).requiredOption("--type <value>", `Type of offline transaction to record.`).option("--reference <value>", `Optional reference identifying the offline payment.`).option("--original-transaction-id <value>", `Original payment transaction ID for a refund or chargeback.`).addHelpText("after", `
|
|
44661
|
+
Examples:
|
|
44662
|
+
hyperline transactions create --customer-id <customer_id> --amount <amount> --date <date> --type <type>
|
|
44663
|
+
hyperline transactions create --customer-id <customer_id> --amount <amount> --date <date> --type <type> --payment-method-type <payment_method_type> --bank-account-id <bank_account_id>
|
|
44664
|
+
hyperline transactions create --customer-id <customer_id> --amount <amount> --date <date> --type <type> --output json`).action(async (opts) => {
|
|
44665
|
+
const ctx = resource.parent?.opts()._ctx;
|
|
44666
|
+
if (!ctx) {
|
|
44667
|
+
process.stderr.write("Error: Not authenticated\n");
|
|
44668
|
+
process.exit(1);
|
|
44669
|
+
}
|
|
44670
|
+
const args = {};
|
|
44671
|
+
if (opts.customerId !== void 0)
|
|
44672
|
+
args.customer_id = opts.customerId;
|
|
44673
|
+
if (opts.date !== void 0)
|
|
44674
|
+
args.date = opts.date;
|
|
44675
|
+
if (opts.paymentMethodType !== void 0)
|
|
44676
|
+
args.payment_method_type = opts.paymentMethodType;
|
|
44677
|
+
if (opts.bankAccountId !== void 0)
|
|
44678
|
+
args.bank_account_id = opts.bankAccountId;
|
|
44679
|
+
if (opts.type !== void 0)
|
|
44680
|
+
args.type = opts.type;
|
|
44681
|
+
if (opts.reference !== void 0)
|
|
44682
|
+
args.reference = opts.reference;
|
|
44683
|
+
if (opts.originalTransactionId !== void 0)
|
|
44684
|
+
args.original_transaction_id = opts.originalTransactionId;
|
|
44685
|
+
if (opts.amount !== void 0)
|
|
44686
|
+
args.amount = Number(opts.amount);
|
|
44687
|
+
await ctx.execute({
|
|
44688
|
+
method: "POST",
|
|
44689
|
+
path: "/v1/transactions",
|
|
44690
|
+
args,
|
|
44691
|
+
queryParamKeys: []
|
|
44692
|
+
});
|
|
44693
|
+
});
|
|
44694
|
+
resource.command("delete").description(`Delete an unallocated offline transaction with no wallet funding or dependent transactions; this does not reverse a payment.`).requiredOption("--id <value>", `id parameter`).option("--yes", "Skip confirmation").addHelpText("after", `
|
|
44695
|
+
Examples:
|
|
44696
|
+
hyperline transactions delete --id <id>
|
|
44697
|
+
hyperline transactions delete --id <id> --output json`).action(async (opts) => {
|
|
44698
|
+
const ctx = resource.parent?.opts()._ctx;
|
|
44699
|
+
if (!ctx) {
|
|
44700
|
+
process.stderr.write("Error: Not authenticated\n");
|
|
44701
|
+
process.exit(1);
|
|
44702
|
+
}
|
|
44703
|
+
const args = {};
|
|
44704
|
+
if (opts.id !== void 0)
|
|
44705
|
+
args.id = opts.id;
|
|
44706
|
+
if (!opts.yes) {
|
|
44707
|
+
const confirmed = await confirmPrompt("Are you sure? Pass --yes to skip. [y/N] ");
|
|
44708
|
+
if (!confirmed) {
|
|
44709
|
+
process.stdout.write("Aborted.\n");
|
|
44710
|
+
return;
|
|
44711
|
+
}
|
|
44712
|
+
}
|
|
44713
|
+
await ctx.execute({
|
|
44714
|
+
method: "DELETE",
|
|
44715
|
+
path: "/v1/transactions/{id}",
|
|
44716
|
+
args,
|
|
44717
|
+
queryParamKeys: []
|
|
44718
|
+
});
|
|
44719
|
+
});
|
|
44656
44720
|
resource.command("list").description(`List transactions across all invoices, including transactions without an invoice allocation. Paginated with take/skip.`).option("--take <number>", `take`).option("--skip <number>", `skip`).addHelpText("after", `
|
|
44657
44721
|
Examples:
|
|
44658
44722
|
hyperline transactions list
|
|
@@ -61123,6 +61187,12 @@ var languages = [
|
|
|
61123
61187
|
{ id: "en", name: "English", isoCode: "en", locale: "en-US" },
|
|
61124
61188
|
{ id: "de", name: "German", isoCode: "de", locale: "de-DE" },
|
|
61125
61189
|
{ id: "it", name: "Italian", isoCode: "it", locale: "it-IT" },
|
|
61190
|
+
{
|
|
61191
|
+
id: "lt",
|
|
61192
|
+
name: "Lithuanian",
|
|
61193
|
+
isoCode: "lt",
|
|
61194
|
+
locale: "lt-LT"
|
|
61195
|
+
},
|
|
61126
61196
|
{ id: "nl", name: "Dutch", isoCode: "nl", locale: "nl-NL" },
|
|
61127
61197
|
{ id: "es", name: "Spanish", isoCode: "es", locale: "es-ES" },
|
|
61128
61198
|
{ id: "pt", name: "Portuguese", isoCode: "pt", locale: "pt-PT" },
|
|
@@ -61359,6 +61429,52 @@ var it = {
|
|
|
61359
61429
|
"subscriptions.updates.updatePrices": "Aggiorna prezzi per {{productName}}"
|
|
61360
61430
|
};
|
|
61361
61431
|
|
|
61432
|
+
// ../hyperline-i18n/build/locales/lt.js
|
|
61433
|
+
var lt = {
|
|
61434
|
+
"creditNotes.refundChargeName": "S\u0105skaitos fakt\u016Bros gr\u0105\u017Einimas",
|
|
61435
|
+
"credits.bundleOf": "{{productName}} \u2013 {{creditCount}} kredit\u0173 paketas",
|
|
61436
|
+
"credits.unitsOf": "{{productName}} \u2013 {{creditCount}} kredit\u0173",
|
|
61437
|
+
"invoices.outstandingProduct.description": "Neapmok\u0117ta {{date}} i\u0161ra\u0161ytos s\u0105skaitos fakt\u016Bros{{invoiceNumber}} suma",
|
|
61438
|
+
"invoices.outstandingProduct.descriptionPeriod": "Neapmok\u0117ta s\u0105skaitos fakt\u016Bros{{invoiceNumber}} suma u\u017E laikotarp\u012F nuo {{periodStart}} iki {{periodEnd}}",
|
|
61439
|
+
"invoices.outstandingProduct.name": "Neapmok\u0117tas likutis",
|
|
61440
|
+
"invoices.prorata.paymentForItem": "Proporcingas mok\u0117jimas u\u017E",
|
|
61441
|
+
"invoices.prorata.paymentForItemFullPeriod": "Mok\u0117jimas u\u017E",
|
|
61442
|
+
"invoices.prorata.refundForItem": "Proporcingas gr\u0105\u017Einimas u\u017E",
|
|
61443
|
+
"invoices.prorata.refundForItemFullPeriod": "Gr\u0105\u017Einimas u\u017E",
|
|
61444
|
+
"wallets.expiredBalanceInvoiceLineName": "{{walletName}} \u2013 nebegaliojantis likutis",
|
|
61445
|
+
"subscriptions.closingChargeName": "Prenumeratos u\u017Ebaigimo mokestis",
|
|
61446
|
+
"subscriptions.correction": "Ankstesnio laikotarpio koregavimas",
|
|
61447
|
+
"subscriptions.updates.addCoupon": "Prid\u0117ti kupon\u0105 {{couponName}}",
|
|
61448
|
+
"subscriptions.updates.addProduct": "Prid\u0117ti {{productName}}",
|
|
61449
|
+
"subscriptions.updates.removeCoupon": "Pa\u0161alinti kupon\u0105 {{couponName}}",
|
|
61450
|
+
"subscriptions.updates.removeProduct": "Pa\u0161alinti {{productName}}",
|
|
61451
|
+
"subscriptions.updates.unit": "vnt.",
|
|
61452
|
+
"subscriptions.updates.updatePrices": "Atnaujinti {{productName}} kainas",
|
|
61453
|
+
"subscriptions.updates.updateCount": "Atnaujinti {{productName}} kiek\u012F ({{previousCount}} \u2192 {{newCount}} {{unit}})",
|
|
61454
|
+
"subscriptions.updates.updateCount.description.prorata.committed.invoiced": "Pritaikytas minimalus \u012Fsipareigotas {{committedCount}} kiekis.",
|
|
61455
|
+
"subscriptions.updates.updateCount.description.prorata.committed.not_invoiced": "Proporcingam laikotarpiui nei\u0161ra\u0161yta {{amount}} suma (minimalus \u012Fsipareigotas kiekis \u2013 {{committedCount}})",
|
|
61456
|
+
"subscriptions.updates.updateCount.description.prorata.not_committed.invoiced": "U\u017E \u0161i\u0105 eilut\u0119 proporcingam laikotarpiui s\u0105skaita fakt\u016Bra i\u0161ra\u0161yta",
|
|
61457
|
+
"subscriptions.updates.updateCount.description.prorata.not_committed.not_invoiced": "Proporcingam laikotarpiui nei\u0161ra\u0161yta {{amount}} suma",
|
|
61458
|
+
"subscriptions.updates.updateCount.description.full.committed.invoiced": "Visam laikotarpiui pritaikytas minimalus \u012Fsipareigotas {{committedCount}} kiekis.",
|
|
61459
|
+
"subscriptions.updates.updateCount.description.full.committed.not_invoiced": "Visam laikotarpiui nei\u0161ra\u0161yta {{amount}} suma (minimalus \u012Fsipareigotas kiekis \u2013 {{committedCount}})",
|
|
61460
|
+
"subscriptions.updates.updateCount.description.full.not_committed.invoiced": "U\u017E \u0161i\u0105 eilut\u0119 visam laikotarpiui s\u0105skaita fakt\u016Bra i\u0161ra\u0161yta",
|
|
61461
|
+
"subscriptions.updates.updateCount.description.full.not_committed.not_invoiced": "Visam laikotarpiui nei\u0161ra\u0161yta {{amount}} suma",
|
|
61462
|
+
"accounting.invoicePosted.entryDescription": "I\u0161ra\u0161ytos s\u0105skaitos fakt\u016Bros {{invoiceId}} registravimo \u012Fra\u0161as",
|
|
61463
|
+
"accounting.transactionSettled.entryDescription": "S\u0105skaitos fakt\u016Bros {{invoiceId}} mok\u0117jimo sudengimas",
|
|
61464
|
+
"accounting.transactionRefunded.entryDescription": "S\u0105skaitos fakt\u016Bros {{invoiceId}} gr\u0105\u017Einimas",
|
|
61465
|
+
"accounting.creditNotePosted.entryDescription": "Kreditin\u0117 s\u0105skaita {{creditNoteId}} s\u0105skaitai fakt\u016Brai {{invoiceId}}",
|
|
61466
|
+
"accounting.standaloneCreditNotePosted.entryDescription": "Kreditin\u0117 s\u0105skaita {{creditNoteId}}",
|
|
61467
|
+
"accounting.revrec.entryDescription": "Pajam\u0173 pripa\u017Einimas pagal grafik\u0105 {{scheduleId}}, laikotarpis {{periodStart}}\u2013{{periodEnd}}",
|
|
61468
|
+
"accounting.revrec.debitLineDescription": "Atid\u0117t\u0173j\u0173 pajam\u0173 suma\u017Einimas \u2013 grafikas {{scheduleId}}, laikotarpis {{periodDate}}",
|
|
61469
|
+
"accounting.revrec.creditLineDescription": "Pajam\u0173 pripa\u017Einimas \u2013 grafikas {{scheduleId}}, laikotarpis {{periodDate}}",
|
|
61470
|
+
"accounting.revrec.discountDebitLineDescription": "Atid\u0117tosios nuolaidos suma\u017Einimas \u2013 grafikas {{scheduleId}}, laikotarpis {{periodDate}}",
|
|
61471
|
+
"accounting.revrec.discountCreditLineDescription": "Pajamas ma\u017Einan\u010Dios sumos (nuolaidos) pripa\u017Einimas \u2013 grafikas {{scheduleId}}, laikotarpis {{periodDate}}",
|
|
61472
|
+
"accounting.revrec.closedPeriodFallbackNote": " (u\u017Eregistruota kitame atvirame laikotarpyje, nes tikslinis apskaitos laikotarpis u\u017Edarytas; pradin\u0117 data {{originalDate}})",
|
|
61473
|
+
"einvoicing.paymentProcessed": "Mok\u0117jimas apdorotas",
|
|
61474
|
+
"einvoicing.paymentReceived": "Mok\u0117jimas gautas",
|
|
61475
|
+
"einvoicing.paymentFromWallet": "Mok\u0117jimas i\u0161 pinigin\u0117s"
|
|
61476
|
+
};
|
|
61477
|
+
|
|
61362
61478
|
// ../hyperline-i18n/build/locales/nl.js
|
|
61363
61479
|
var nl = {
|
|
61364
61480
|
"accounting.invoicePosted.entryDescription": "Boekingsregel voor factuur {{invoiceId}}",
|
|
@@ -61504,6 +61620,7 @@ var translations = {
|
|
|
61504
61620
|
fr,
|
|
61505
61621
|
de,
|
|
61506
61622
|
it,
|
|
61623
|
+
lt,
|
|
61507
61624
|
nl,
|
|
61508
61625
|
es,
|
|
61509
61626
|
pt,
|
|
@@ -61942,9 +62059,6 @@ var loggerFactory = buildLoggerFactory({
|
|
|
61942
62059
|
var createLogger2 = loggerFactory.createLogger;
|
|
61943
62060
|
var logger = loggerFactory.createLogger({ serviceName: "default" });
|
|
61944
62061
|
|
|
61945
|
-
// ../hyperline-monitoring/build/tracing/tracing.js
|
|
61946
|
-
import tracer from "dd-trace";
|
|
61947
|
-
|
|
61948
62062
|
// ../hyperline-lib/build/utils/aws.js
|
|
61949
62063
|
import { GetBucketLocationCommand, S3Client } from "@aws-sdk/client-s3";
|
|
61950
62064
|
import { GetCallerIdentityCommand, STSClient } from "@aws-sdk/client-sts";
|
|
@@ -64425,9 +64539,6 @@ import { StreamableHTTPServerTransport } from "@modelcontextprotocol/sdk/server/
|
|
|
64425
64539
|
|
|
64426
64540
|
// ../hyperline-mcp/build/server/server.js
|
|
64427
64541
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
64428
|
-
var defaultToolOutputSchema = {
|
|
64429
|
-
result: external_exports.unknown()
|
|
64430
|
-
};
|
|
64431
64542
|
|
|
64432
64543
|
// build/output.js
|
|
64433
64544
|
function formatOutput({ data, format: format2 }) {
|
package/dist/external-deps.json
CHANGED
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.f17e91a",
|
|
4
4
|
"description": "Agent-first CLI for Hyperline API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -18,8 +18,7 @@
|
|
|
18
18
|
"lint:check": "biome check",
|
|
19
19
|
"lint:check:ci": "biome ci",
|
|
20
20
|
"lint": "biome check --write",
|
|
21
|
-
"test": "TZ=UTC vitest run --project unit --passWithNoTests"
|
|
22
|
-
"typecheck": "tsc -b --emitDeclarationOnly"
|
|
21
|
+
"test": "TZ=UTC vitest run --project unit --passWithNoTests"
|
|
23
22
|
},
|
|
24
23
|
"dependencies": {
|
|
25
24
|
"@asteasolutions/zod-to-openapi": "8.1.0",
|
|
@@ -29,7 +28,6 @@
|
|
|
29
28
|
"axios": "1.13.2",
|
|
30
29
|
"axios-retry": "4.5.0",
|
|
31
30
|
"commander": "13.1.0",
|
|
32
|
-
"dd-trace": "5.45.0",
|
|
33
31
|
"dotenv": "16.3.1",
|
|
34
32
|
"express": "5.2.1",
|
|
35
33
|
"express-idempotency": "2.0.0",
|