@hyperline/cli 0.1.0-build.1.c1d7f34 → 0.1.0-build.1.c4415eb
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 +354 -26
- package/package.json +1 -1
|
@@ -34894,10 +34894,10 @@ var require_shared = __commonJS({
|
|
|
34894
34894
|
ZodId: () => ZodId,
|
|
34895
34895
|
ZodTranslationsSchemaFn: () => ZodTranslationsSchemaFn
|
|
34896
34896
|
});
|
|
34897
|
-
var
|
|
34897
|
+
var import_zod19 = require_lib();
|
|
34898
34898
|
var countryIds2 = ["all", ...countries.map(({ id }) => id)];
|
|
34899
|
-
var ZodId =
|
|
34900
|
-
var ZodTranslationsSchemaFn = (schema) =>
|
|
34899
|
+
var ZodId = import_zod19.z.enum(countryIds2);
|
|
34900
|
+
var ZodTranslationsSchemaFn = (schema) => import_zod19.z.record(import_zod19.z.string(), schema.optional());
|
|
34901
34901
|
var UsStates = [
|
|
34902
34902
|
{ id: "AA", name: "Armed Forces Americas" },
|
|
34903
34903
|
{ id: "AE", name: "Armed Forces Europe" },
|
|
@@ -38020,7 +38020,7 @@ Examples:
|
|
|
38020
38020
|
queryParamKeys: ["take", "skip"]
|
|
38021
38021
|
});
|
|
38022
38022
|
});
|
|
38023
|
-
resource.command("create").description(`Create a new coupon with discount rules. Supports percentage or fixed amount discounts, duration limits, and redemption restrictions.`).requiredOption("--name <value>", `Coupon name.`).option("--description <value>", `Coupon description.`).option("--expiration-date <value>", `Date corresponding to the expiration of the coupon.`).option("--redemption-limit <number>", `Maximum number of subscriptions to which a single coupon can be applied.`).option("--product-ids <value>", `List of product IDs the coupon can be applied to. If empty, the coupon can be applied to any product.`).requiredOption("--type <value>", `type`).option("--discount-amount <number>", `Amount to apply as a discount on the total amount (excluding taxes) of a subscription. Expressed in the currency's smallest unit.`).option("--currency <value>", `Currency code. See [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes).`).option("--discount-percent <number>", `Percentage to apply as a discount on the amount (excluding taxes) of a product.`).addHelpText("after", `
|
|
38023
|
+
resource.command("create").description(`Create a new coupon with discount rules. Supports percentage or fixed amount discounts, duration limits, and redemption restrictions.`).requiredOption("--name <value>", `Coupon name.`).option("--description <value>", `Coupon description.`).option("--expiration-date <value>", `Date corresponding to the expiration of the coupon.`).option("--redemption-limit <number>", `Maximum number of subscriptions to which a single coupon can be applied.`).option("--product-ids <value>", `List of product IDs the coupon can be applied to. If empty, the coupon can be applied to any product.`).option("--repeat <value>", `Default repeat behaviour applied when the coupon is attached to a subscription. Valid values: \`once\`, \`forever\`, \`duration\`. Can be overridden at attach time.`).option("--duration <value>", `Default duration applied when \`repeat\` is \`duration\`. Required when \`repeat\` is \`duration\`, must be null otherwise.`).requiredOption("--type <value>", `type`).option("--discount-amount <number>", `Amount to apply as a discount on the total amount (excluding taxes) of a subscription. Expressed in the currency's smallest unit.`).option("--currency <value>", `Currency code. See [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes).`).option("--discount-percent <number>", `Percentage to apply as a discount on the amount (excluding taxes) of a product.`).addHelpText("after", `
|
|
38024
38024
|
Examples:
|
|
38025
38025
|
hyperline coupons create --name <name> --type <type>
|
|
38026
38026
|
hyperline coupons create --name <name> --type <type> --description <description> --expiration-date <expiration_date>
|
|
@@ -38039,6 +38039,10 @@ Examples:
|
|
|
38039
38039
|
args.expiration_date = opts.expirationDate;
|
|
38040
38040
|
if (opts.productIds !== void 0)
|
|
38041
38041
|
args.product_ids = opts.productIds;
|
|
38042
|
+
if (opts.repeat !== void 0)
|
|
38043
|
+
args.repeat = opts.repeat;
|
|
38044
|
+
if (opts.duration !== void 0)
|
|
38045
|
+
args.duration = opts.duration;
|
|
38042
38046
|
if (opts.type !== void 0)
|
|
38043
38047
|
args.type = opts.type;
|
|
38044
38048
|
if (opts.currency !== void 0)
|
|
@@ -38074,7 +38078,7 @@ Examples:
|
|
|
38074
38078
|
queryParamKeys: []
|
|
38075
38079
|
});
|
|
38076
38080
|
});
|
|
38077
|
-
resource.command("update").description(`Update an existing coupon's name, discount rules, or restrictions.`).requiredOption("--id <value>", `id parameter`).requiredOption("--name <value>", `Coupon name.`).option("--description <value>", `Coupon description.`).option("--expiration-date <value>", `Date corresponding to the expiration of the coupon.`).option("--redemption-limit <number>", `Maximum number of subscriptions to which a single coupon can be applied.`).option("--product-ids <value>", `List of product IDs the coupon can be applied to. If empty, the coupon can be applied to any product.`).requiredOption("--type <value>", `type`).option("--discount-amount <number>", `Amount to apply as a discount on the total amount (excluding taxes) of a subscription. Expressed in the currency's smallest unit.`).option("--currency <value>", `Currency code. See [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes).`).option("--discount-percent <number>", `Percentage to apply as a discount on the amount (excluding taxes) of a product.`).addHelpText("after", `
|
|
38081
|
+
resource.command("update").description(`Update an existing coupon's name, discount rules, or restrictions.`).requiredOption("--id <value>", `id parameter`).requiredOption("--name <value>", `Coupon name.`).option("--description <value>", `Coupon description.`).option("--expiration-date <value>", `Date corresponding to the expiration of the coupon.`).option("--redemption-limit <number>", `Maximum number of subscriptions to which a single coupon can be applied.`).option("--product-ids <value>", `List of product IDs the coupon can be applied to. If empty, the coupon can be applied to any product.`).option("--repeat <value>", `Default repeat behaviour applied when the coupon is attached to a subscription. Valid values: \`once\`, \`forever\`, \`duration\`. Can be overridden at attach time.`).option("--duration <value>", `Default duration applied when \`repeat\` is \`duration\`. Required when \`repeat\` is \`duration\`, must be null otherwise.`).requiredOption("--type <value>", `type`).option("--discount-amount <number>", `Amount to apply as a discount on the total amount (excluding taxes) of a subscription. Expressed in the currency's smallest unit.`).option("--currency <value>", `Currency code. See [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes).`).option("--discount-percent <number>", `Percentage to apply as a discount on the amount (excluding taxes) of a product.`).addHelpText("after", `
|
|
38078
38082
|
Examples:
|
|
38079
38083
|
hyperline coupons update --id <id> --name <name> --type <type>
|
|
38080
38084
|
hyperline coupons update --id <id> --name <name> --type <type> --description <description> --expiration-date <expiration_date>
|
|
@@ -38095,6 +38099,10 @@ Examples:
|
|
|
38095
38099
|
args.expiration_date = opts.expirationDate;
|
|
38096
38100
|
if (opts.productIds !== void 0)
|
|
38097
38101
|
args.product_ids = opts.productIds;
|
|
38102
|
+
if (opts.repeat !== void 0)
|
|
38103
|
+
args.repeat = opts.repeat;
|
|
38104
|
+
if (opts.duration !== void 0)
|
|
38105
|
+
args.duration = opts.duration;
|
|
38098
38106
|
if (opts.type !== void 0)
|
|
38099
38107
|
args.type = opts.type;
|
|
38100
38108
|
if (opts.currency !== void 0)
|
|
@@ -38744,13 +38752,17 @@ Customer type.
|
|
|
38744
38752
|
- \`corporate\`: The customer is a business entity.
|
|
38745
38753
|
- \`person\`: The customer is a natural person.
|
|
38746
38754
|
- \`automatically_created\`: The customer was automatically imported (e.g. from a data loader). This value cannot be used when creating/editing.
|
|
38747
|
-
`).option("--currency <value>", `Currency code. See [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes).`).option("--is-government-affiliated", `Indicates if the customer is affiliated with a government entity.`).option("--tax-ids <value>", `Customer tax IDs.`).option("--tax-rate-custom <number>", `Customer custom tax rate. If not defined, the rate will be automatically determined based on the customer's country, your country, and applicable legal requirements.`).option("--
|
|
38755
|
+
`).option("--currency <value>", `Currency code. See [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes).`).option("--is-government-affiliated", `Indicates if the customer is affiliated with a government entity.`).option("--tax-ids <value>", `Customer tax IDs.`).option("--tax-rate-custom <number>", `Customer custom tax rate. If not defined, the rate will be automatically determined based on the customer's country, your country, and applicable legal requirements.`).option("--taxability <value>", `Customer taxability.
|
|
38756
|
+
|
|
38757
|
+
- \`taxable\`: Taxes are automatically determined for the customer.
|
|
38758
|
+
- \`exempt\`: The customer is exempt from tax.
|
|
38759
|
+
`).option("--registration-number <value>", `Customer registration number.`).option("--external-id <value>", `ID of the customer in your system. This helps matching your customer with the one on Hyperline.`).option("--invoicing-entity-id <value>", `ID of the invoicing entity this customer will be attached to.`).option("--billing-address <value>", `Customer billing address.`).option("--shipping-address <value>", `Customer shipping address.`).option("--billing-email <value>", `Email to which all communications will be sent.`).option("--invoice-emails <value>", `Emails to which invoices will be sent (e.g. payer, finance team, accounting firm). If not defined, invoices will be sent to the \`billing_email\`; otherwise, they won't be sent to the \`billing_email\`.`).option("--language <value>", `Language used for invoices, emails, and hosted pages.`).option("--timezone <value>", `Customer timezone.`).option("--available-payment-methods <value>", `List of payment methods you allow your customer to pay with. You customer will be able to select one of them in their portal page and those will be the default options when creating a checkout session.`).option("--payment-method-type <value>", `Default payment method type used to pay subscriptions and one-off invoices.`).option("--bank-account <value>", `Custom bank account for the customer. If not defined and customer paying by bank transfer, the bank accounts configured in your account settings will be used.`).option("--custom-payment-delay <number>", `Custom payment terms in days. If not defined, the default one defined on the related invoicing entity will be used.`).option("--custom-payment-initiation-delay <number>", `Custom initiation delay in days before triggering payment. If not defined, the default one defined on the related invoicing entity will be used.`).option("--organisation-id <value>", `Parent organization ID to which the client is attached.`).option("--organisation-invoicing <value>", `
|
|
38748
38760
|
How customer invoices are issued from the parent organisation.
|
|
38749
38761
|
|
|
38750
38762
|
- \`none\`: Invoices will keep being issued from this customer.
|
|
38751
38763
|
- \`every_invoice\`: Customer invoices will be issued from the organisation individually.
|
|
38752
38764
|
- \`concat\`: Customer invoices will be grouped into a global parent invoice at a regular schedule (configured on the organisation).
|
|
38753
|
-
`).option("--properties <value>", `Key/value pairs to store any metadata useful in your context.`).option("--custom-properties <value>", `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.`).addHelpText("after", `
|
|
38765
|
+
`).option("--properties <value>", `Key/value pairs to store any metadata useful in your context.`).option("--custom-properties <value>", `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 <value>", `IDs of Hyperline users following this customer.`).addHelpText("after", `
|
|
38754
38766
|
Examples:
|
|
38755
38767
|
hyperline customers create-customer
|
|
38756
38768
|
hyperline customers create-customer --name <name> --type <type>
|
|
@@ -38769,6 +38781,8 @@ Examples:
|
|
|
38769
38781
|
args.currency = opts.currency;
|
|
38770
38782
|
if (opts.taxIds !== void 0)
|
|
38771
38783
|
args.tax_ids = opts.taxIds;
|
|
38784
|
+
if (opts.taxability !== void 0)
|
|
38785
|
+
args.taxability = opts.taxability;
|
|
38772
38786
|
if (opts.registrationNumber !== void 0)
|
|
38773
38787
|
args.registration_number = opts.registrationNumber;
|
|
38774
38788
|
if (opts.externalId !== void 0)
|
|
@@ -38805,6 +38819,10 @@ Examples:
|
|
|
38805
38819
|
args.invoice_reminders_enabled = opts.invoiceRemindersEnabled;
|
|
38806
38820
|
if (opts.priceBookId !== void 0)
|
|
38807
38821
|
args.price_book_id = opts.priceBookId;
|
|
38822
|
+
if (opts.ownerId !== void 0)
|
|
38823
|
+
args.owner_id = opts.ownerId;
|
|
38824
|
+
if (opts.followerIds !== void 0)
|
|
38825
|
+
args.follower_ids = opts.followerIds;
|
|
38808
38826
|
if (opts.taxRateCustom !== void 0)
|
|
38809
38827
|
args.tax_rate_custom = Number(opts.taxRateCustom);
|
|
38810
38828
|
if (opts.customPaymentDelay !== void 0)
|
|
@@ -38863,13 +38881,17 @@ Customer type.
|
|
|
38863
38881
|
- \`corporate\`: The customer is a business entity.
|
|
38864
38882
|
- \`person\`: The customer is a natural person.
|
|
38865
38883
|
- \`automatically_created\`: The customer was automatically imported (e.g. from a data loader). This value cannot be used when creating/editing.
|
|
38866
|
-
`).option("--currency <value>", `Customer currency. Can only be changed if the customer doesn't have existing invoices, a wallet or a payment method saved.`).option("--tax-ids <value>", `Customer tax IDs.`).option("--tax-rate-custom <number>", `Customer custom tax rate. If not defined, the rate will be automatically determined based on the customer's country, your country, and applicable legal requirements.`).option("--
|
|
38884
|
+
`).option("--currency <value>", `Customer currency. Can only be changed if the customer doesn't have existing invoices, a wallet or a payment method saved.`).option("--tax-ids <value>", `Customer tax IDs.`).option("--tax-rate-custom <number>", `Customer custom tax rate. If not defined, the rate will be automatically determined based on the customer's country, your country, and applicable legal requirements.`).option("--taxability <value>", `Customer taxability.
|
|
38885
|
+
|
|
38886
|
+
- \`taxable\`: Taxes are automatically determined for the customer.
|
|
38887
|
+
- \`exempt\`: The customer is exempt from tax.
|
|
38888
|
+
`).option("--registration-number <value>", `Customer registration number.`).option("--is-government-affiliated", `Indicates if the customer is affiliated with a government entity.`).option("--external-id <value>", `ID of the customer in your system. This helps matching your customer with the one on Hyperline.`).option("--invoicing-entity-id <value>", `ID of the invoicing entity this customer will be attached to.`).option("--billing-address <value>", `Customer billing address.`).option("--shipping-address <value>", `Customer shipping address.`).option("--billing-email <value>", `Email to which all communications will be sent.`).option("--invoice-emails <value>", `Emails to which invoices will be sent (e.g. payer, finance team, accounting firm). If not defined, invoices will be sent to the \`billing_email\`; otherwise, they won't be sent to the \`billing_email\`.`).option("--language <value>", `Language used for invoices, emails, and hosted pages.`).option("--timezone <value>", `Customer timezone.`).option("--available-payment-methods <value>", `List of payment methods you allow your customer to pay with. You customer will be able to select one of them in their portal page and those will be the default options when creating a checkout session.`).option("--payment-method-type <value>", `Default payment method type used to pay subscriptions and one-off invoices.`).option("--payment-method-id <value>", `ID of the default payment method of the customer. Only applies to card and direct debit.`).option("--bank-account <value>", `Custom bank account for the customer. If not defined and customer paying by bank transfer, the bank accounts configured in your account settings will be used.`).option("--custom-payment-delay <number>", `Custom payment terms in days. If not defined, the default one defined on the related invoicing entity will be used.`).option("--custom-payment-initiation-delay <number>", `Custom initiation delay in days before triggering payment. If not defined, the default one defined on the related invoicing entity will be used.`).option("--organisation-id <value>", `Parent organization ID to which the client is attached.`).option("--organisation-invoicing <value>", `
|
|
38867
38889
|
How customer invoices are issued from the parent organisation.
|
|
38868
38890
|
|
|
38869
38891
|
- \`none\`: Invoices will keep being issued from this customer.
|
|
38870
38892
|
- \`every_invoice\`: Customer invoices will be issued from the organisation individually.
|
|
38871
38893
|
- \`concat\`: Customer invoices will be grouped into a global parent invoice at a regular schedule (configured on the organisation).
|
|
38872
|
-
`).option("--properties <value>", `Key/value pairs to store any metadata useful in your context.`).option("--custom-properties <value>", `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.`).addHelpText("after", `
|
|
38894
|
+
`).option("--properties <value>", `Key/value pairs to store any metadata useful in your context.`).option("--custom-properties <value>", `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 <value>", `IDs of Hyperline users following this customer.`).addHelpText("after", `
|
|
38873
38895
|
Examples:
|
|
38874
38896
|
hyperline customers update --id <id>
|
|
38875
38897
|
hyperline customers update --id <id> --name <name> --type <type>
|
|
@@ -38890,6 +38912,8 @@ Examples:
|
|
|
38890
38912
|
args.currency = opts.currency;
|
|
38891
38913
|
if (opts.taxIds !== void 0)
|
|
38892
38914
|
args.tax_ids = opts.taxIds;
|
|
38915
|
+
if (opts.taxability !== void 0)
|
|
38916
|
+
args.taxability = opts.taxability;
|
|
38893
38917
|
if (opts.registrationNumber !== void 0)
|
|
38894
38918
|
args.registration_number = opts.registrationNumber;
|
|
38895
38919
|
if (opts.externalId !== void 0)
|
|
@@ -38928,6 +38952,10 @@ Examples:
|
|
|
38928
38952
|
args.invoice_reminders_enabled = opts.invoiceRemindersEnabled;
|
|
38929
38953
|
if (opts.priceBookId !== void 0)
|
|
38930
38954
|
args.price_book_id = opts.priceBookId;
|
|
38955
|
+
if (opts.ownerId !== void 0)
|
|
38956
|
+
args.owner_id = opts.ownerId;
|
|
38957
|
+
if (opts.followerIds !== void 0)
|
|
38958
|
+
args.follower_ids = opts.followerIds;
|
|
38931
38959
|
if (opts.taxRateCustom !== void 0)
|
|
38932
38960
|
args.tax_rate_custom = Number(opts.taxRateCustom);
|
|
38933
38961
|
if (opts.customPaymentDelay !== void 0)
|
|
@@ -40583,7 +40611,7 @@ Examples:
|
|
|
40583
40611
|
queryParamKeys: []
|
|
40584
40612
|
});
|
|
40585
40613
|
});
|
|
40586
|
-
resource.command("delete-invoice-transaction").description(`Delete a scheduled transaction from an invoice
|
|
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", `
|
|
40587
40615
|
Examples:
|
|
40588
40616
|
hyperline invoices-transactions delete-invoice-transaction --id <id> --transaction-id <transactionId>
|
|
40589
40617
|
hyperline invoices-transactions delete-invoice-transaction --id <id> --transaction-id <transactionId> --output json`).action(async (opts) => {
|
|
@@ -41384,18 +41412,18 @@ Examples:
|
|
|
41384
41412
|
// build/commands/generated/quotes.js
|
|
41385
41413
|
function registerQuotesCommands(parent) {
|
|
41386
41414
|
const resource = parent.command("quotes").description("Manage quotes");
|
|
41387
|
-
resource.command("create").description(`Create a new quote for a customer
|
|
41415
|
+
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.`).option("--status <value>", `
|
|
41388
41416
|
Quote status.
|
|
41389
41417
|
|
|
41390
41418
|
- \`draft\`: The quote is a draft.
|
|
41391
41419
|
- \`approved\`: The quote is approved and ready to be sent to the customer.
|
|
41392
41420
|
- \`pending_signature\`: The quote is awaiting the customer's signature.
|
|
41393
|
-
`).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.
|
|
41421
|
+
`).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. For subscription quotes, defaults to the computed subscription value if not specified. For one-off quotes, this field is ignored \u2014 the amount is always derived from the linked invoice's \`amount_excluding_tax\`.`).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("--contract-clause-ids <value>", `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.
|
|
41394
41422
|
|
|
41395
41423
|
- \`all\`: Display all pricing tiers.
|
|
41396
41424
|
- \`matching\`: Only display the tiers used to compute the price based on quantity.
|
|
41397
41425
|
- \`none\`: Hide all pricing tiers.
|
|
41398
|
-
`).option("--display-phase-value <value>", `Display per-phase value breakdown on the quote.`).option("--display-first-invoice-amount <value>", `Display the first invoice amount on the quote.`).option("--display-documents-in-preview <value>", `Display attached documents in the quote preview.`).option("--display-subscription-on-update <value>", `Display subscription details on subscription update quotes.`).option("--template-id <value>", `ID of the quote template. If not specified, a subscription configuration must be defined.`).option("--expires-at <value>", `Quote expiration date. UTC date time string in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.`).option("--subscription <value>", `Subscription configuration constituting the quote.`).addHelpText("after", `
|
|
41426
|
+
`).option("--display-phase-value <value>", `Display per-phase value breakdown on the quote.`).option("--display-first-invoice-amount <value>", `Display the first invoice amount on the quote.`).option("--display-documents-in-preview <value>", `Display attached documents in the quote preview.`).option("--display-subscription-on-update <value>", `Display subscription details on subscription update quotes.`).option("--generate-draft-invoices <value>", `When \`true\`, the invoice issued after signature stays in \`draft\` status instead of being emitted for payment. Use this when you want to review the final invoice manually before sending it. Defaults to \`false\`.`).option("--template-id <value>", `ID of the quote template. If not specified, a subscription configuration or an \`invoice\` payload must be defined.`).option("--expires-at <value>", `Quote expiration date. UTC date time string in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.`).option("--subscription <value>", `Subscription configuration constituting the quote.`).option("--invoice <value>", `Invoice configuration constituting the one-off quote. When provided, a draft invoice is created and linked to the quote. Cannot be combined with \`subscription\` or \`template_id\`.`).addHelpText("after", `
|
|
41399
41427
|
Examples:
|
|
41400
41428
|
hyperline quotes create --customer-id <customer_id>
|
|
41401
41429
|
hyperline quotes create --customer-id <customer_id> --status <status> --owner-email <owner_email>
|
|
@@ -41422,6 +41450,8 @@ Examples:
|
|
|
41422
41450
|
args.collect_payment_details = opts.collectPaymentDetails;
|
|
41423
41451
|
if (opts.collectCustomPropertyIds !== void 0)
|
|
41424
41452
|
args.collect_custom_property_ids = opts.collectCustomPropertyIds;
|
|
41453
|
+
if (opts.contractClauseIds !== void 0)
|
|
41454
|
+
args.contract_clause_ids = opts.contractClauseIds;
|
|
41425
41455
|
if (opts.requireTaxId !== void 0)
|
|
41426
41456
|
args.require_tax_id = opts.requireTaxId;
|
|
41427
41457
|
if (opts.displayQuoteValue !== void 0)
|
|
@@ -41440,12 +41470,16 @@ Examples:
|
|
|
41440
41470
|
args.display_documents_in_preview = opts.displayDocumentsInPreview;
|
|
41441
41471
|
if (opts.displaySubscriptionOnUpdate !== void 0)
|
|
41442
41472
|
args.display_subscription_on_update = opts.displaySubscriptionOnUpdate;
|
|
41473
|
+
if (opts.generateDraftInvoices !== void 0)
|
|
41474
|
+
args.generate_draft_invoices = opts.generateDraftInvoices;
|
|
41443
41475
|
if (opts.templateId !== void 0)
|
|
41444
41476
|
args.template_id = opts.templateId;
|
|
41445
41477
|
if (opts.expiresAt !== void 0)
|
|
41446
41478
|
args.expires_at = opts.expiresAt;
|
|
41447
41479
|
if (opts.subscription !== void 0)
|
|
41448
41480
|
args.subscription = opts.subscription;
|
|
41481
|
+
if (opts.invoice !== void 0)
|
|
41482
|
+
args.invoice = opts.invoice;
|
|
41449
41483
|
if (opts.amount !== void 0)
|
|
41450
41484
|
args.amount = Number(opts.amount);
|
|
41451
41485
|
await ctx.execute({
|
|
@@ -41674,6 +41708,71 @@ Examples:
|
|
|
41674
41708
|
queryParamKeys: []
|
|
41675
41709
|
});
|
|
41676
41710
|
});
|
|
41711
|
+
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.`).requiredOption("--id <value>", `id parameter`).option("--owner-email <value>", `Email address of the Hyperline user acting as the quote owner.`).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 <value>", `IDs of the customer custom properties required to be filled during the signature flow.`).option("--contract-clause-ids <value>", `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.
|
|
41712
|
+
|
|
41713
|
+
- \`all\`: Display all pricing tiers.
|
|
41714
|
+
- \`matching\`: Only display the tiers used to compute the price based on quantity.
|
|
41715
|
+
- \`none\`: Hide all pricing tiers.
|
|
41716
|
+
`).option("--display-phase-value <value>", `Display per-phase value breakdown on the quote.`).option("--display-first-invoice-amount <value>", `Display the first invoice amount on the quote.`).option("--display-documents-in-preview <value>", `Display attached documents in the quote preview.`).option("--display-subscription-on-update <value>", `Display subscription details on subscription update quotes.`).option("--generate-draft-invoices <value>", `When \`true\`, the invoice issued after signature stays in \`draft\` status instead of being emitted for payment. Use this when you want to review the final invoice manually before sending it. Defaults to \`false\`.`).option("--expires-at <value>", `Quote expiration date. UTC date time string in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. Set to \`null\` to clear the expiration.`).option("--subscription <value>", `Subscription configuration constituting the quote. When provided on a draft quote, it creates or replaces the draft subscription attached to the quote.`).option("--invoice <value>", `Invoice configuration constituting the one-off quote. When provided on a draft one-off quote, it deletes the previous draft invoice and creates a fresh one linked to the quote. \`invoice.invoicing_entity_id\` is ignored on update \u2014 the quote's existing invoicing entity is reused.`).addHelpText("after", `
|
|
41717
|
+
Examples:
|
|
41718
|
+
hyperline quotes update --id <id>
|
|
41719
|
+
hyperline quotes update --id <id> --owner-email <owner_email> --comments <comments>
|
|
41720
|
+
hyperline quotes update --id <id> --output json`).action(async (opts) => {
|
|
41721
|
+
const ctx = resource.parent?.opts()._ctx;
|
|
41722
|
+
if (!ctx) {
|
|
41723
|
+
process.stderr.write("Error: Not authenticated\n");
|
|
41724
|
+
process.exit(1);
|
|
41725
|
+
}
|
|
41726
|
+
const args = {};
|
|
41727
|
+
if (opts.id !== void 0)
|
|
41728
|
+
args.id = opts.id;
|
|
41729
|
+
if (opts.ownerEmail !== void 0)
|
|
41730
|
+
args.owner_email = opts.ownerEmail;
|
|
41731
|
+
if (opts.comments !== void 0)
|
|
41732
|
+
args.comments = opts.comments;
|
|
41733
|
+
if (opts.terms !== void 0)
|
|
41734
|
+
args.terms = opts.terms;
|
|
41735
|
+
if (opts.collectPaymentDetails !== void 0)
|
|
41736
|
+
args.collect_payment_details = opts.collectPaymentDetails;
|
|
41737
|
+
if (opts.collectCustomPropertyIds !== void 0)
|
|
41738
|
+
args.collect_custom_property_ids = opts.collectCustomPropertyIds;
|
|
41739
|
+
if (opts.contractClauseIds !== void 0)
|
|
41740
|
+
args.contract_clause_ids = opts.contractClauseIds;
|
|
41741
|
+
if (opts.requireTaxId !== void 0)
|
|
41742
|
+
args.require_tax_id = opts.requireTaxId;
|
|
41743
|
+
if (opts.displayQuoteValue !== void 0)
|
|
41744
|
+
args.display_quote_value = opts.displayQuoteValue;
|
|
41745
|
+
if (opts.displayQuoteValueWithTax !== void 0)
|
|
41746
|
+
args.display_quote_value_with_tax = opts.displayQuoteValueWithTax;
|
|
41747
|
+
if (opts.displayTaxes !== void 0)
|
|
41748
|
+
args.display_taxes = opts.displayTaxes;
|
|
41749
|
+
if (opts.displayPriceTiers !== void 0)
|
|
41750
|
+
args.display_price_tiers = opts.displayPriceTiers;
|
|
41751
|
+
if (opts.displayPhaseValue !== void 0)
|
|
41752
|
+
args.display_phase_value = opts.displayPhaseValue;
|
|
41753
|
+
if (opts.displayFirstInvoiceAmount !== void 0)
|
|
41754
|
+
args.display_first_invoice_amount = opts.displayFirstInvoiceAmount;
|
|
41755
|
+
if (opts.displayDocumentsInPreview !== void 0)
|
|
41756
|
+
args.display_documents_in_preview = opts.displayDocumentsInPreview;
|
|
41757
|
+
if (opts.displaySubscriptionOnUpdate !== void 0)
|
|
41758
|
+
args.display_subscription_on_update = opts.displaySubscriptionOnUpdate;
|
|
41759
|
+
if (opts.generateDraftInvoices !== void 0)
|
|
41760
|
+
args.generate_draft_invoices = opts.generateDraftInvoices;
|
|
41761
|
+
if (opts.expiresAt !== void 0)
|
|
41762
|
+
args.expires_at = opts.expiresAt;
|
|
41763
|
+
if (opts.subscription !== void 0)
|
|
41764
|
+
args.subscription = opts.subscription;
|
|
41765
|
+
if (opts.invoice !== void 0)
|
|
41766
|
+
args.invoice = opts.invoice;
|
|
41767
|
+
if (opts.amount !== void 0)
|
|
41768
|
+
args.amount = Number(opts.amount);
|
|
41769
|
+
await ctx.execute({
|
|
41770
|
+
method: "PATCH",
|
|
41771
|
+
path: "/v1/quotes/{id}",
|
|
41772
|
+
args,
|
|
41773
|
+
queryParamKeys: []
|
|
41774
|
+
});
|
|
41775
|
+
});
|
|
41677
41776
|
resource.command("download").description(`Download the PDF of a quote. Supports locale parameter for localization.`).requiredOption("--id <value>", `id parameter`).option("--locale <value>", `locale`).addHelpText("after", `
|
|
41678
41777
|
Examples:
|
|
41679
41778
|
hyperline quotes download --id <id>
|
|
@@ -41714,6 +41813,25 @@ Examples:
|
|
|
41714
41813
|
queryParamKeys: []
|
|
41715
41814
|
});
|
|
41716
41815
|
});
|
|
41816
|
+
resource.command("finalize").description(`Finalize a draft quote. The quote is submitted for approval when approval is required, otherwise it becomes approved and ready to be sent for signature.`).requiredOption("--id <value>", `id parameter`).addHelpText("after", `
|
|
41817
|
+
Examples:
|
|
41818
|
+
hyperline quotes finalize --id <id>
|
|
41819
|
+
hyperline quotes finalize --id <id> --output json`).action(async (opts) => {
|
|
41820
|
+
const ctx = resource.parent?.opts()._ctx;
|
|
41821
|
+
if (!ctx) {
|
|
41822
|
+
process.stderr.write("Error: Not authenticated\n");
|
|
41823
|
+
process.exit(1);
|
|
41824
|
+
}
|
|
41825
|
+
const args = {};
|
|
41826
|
+
if (opts.id !== void 0)
|
|
41827
|
+
args.id = opts.id;
|
|
41828
|
+
await ctx.execute({
|
|
41829
|
+
method: "POST",
|
|
41830
|
+
path: "/v1/quotes/{id}/finalize",
|
|
41831
|
+
args,
|
|
41832
|
+
queryParamKeys: []
|
|
41833
|
+
});
|
|
41834
|
+
});
|
|
41717
41835
|
resource.command("send").description(`Send a quote by email for customer signature. Requires the quote to be approved first.`).requiredOption("--id <value>", `id parameter`).requiredOption("--email <value>", `Email address to which the quote will be sent for signature.`).option("--message <value>", `Custom message used in the email content.`).addHelpText("after", `
|
|
41718
41836
|
Examples:
|
|
41719
41837
|
hyperline quotes send --id <id> --email <email>
|
|
@@ -41821,10 +41939,132 @@ Examples:
|
|
|
41821
41939
|
});
|
|
41822
41940
|
}
|
|
41823
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
|
+
|
|
41824
42064
|
// build/commands/generated/subscriptions.js
|
|
41825
42065
|
function registerSubscriptionsCommands(parent) {
|
|
41826
42066
|
const resource = parent.command("subscriptions").description("Manage subscriptions");
|
|
41827
|
-
resource.command("create-subscription-update").description(`Apply a single update to an existing subscription (e.g. change quantity, add/remove product, modify price).`).requiredOption("--id <value>", `id parameter`).requiredOption("--application-schedule <value>", `application_schedule`).option("--apply-at <value>", `The date when the update should be applied. Required when application_schedule is 'scheduled'.`).requiredOption("--payment-schedule <value>", `payment_schedule`).option("--charge-at <value>", `The date when the resulting subscription update should be charged. Required when payment_schedule is 'custom'. Must be in the future.`).requiredOption("--calculation-method <value>", `calculation_method`).requiredOption("--type <value>", `type`).requiredOption("--payload <value>", `payload`).addHelpText("after", `
|
|
42067
|
+
resource.command("create-subscription-update").description(`Apply a single update to an existing subscription (e.g. change quantity, add/remove product, modify price).`).requiredOption("--id <value>", `id parameter`).requiredOption("--application-schedule <value>", `application_schedule`).option("--apply-at <value>", `The date when the update should be applied. Required when application_schedule is 'scheduled'.`).requiredOption("--payment-schedule <value>", `payment_schedule`).option("--charge-at <value>", `The date when the resulting subscription update should be charged. Required when payment_schedule is 'custom'. Must be in the future.`).requiredOption("--calculation-method <value>", `calculation_method`).option("--refund-method <value>", `Override the refund destination when the update generates a refund credit note (e.g. seat reduction). When omitted, falls back to the invoicing entity's \`creditNoteWalletRefundEnabled\` setting.`).requiredOption("--type <value>", `type`).requiredOption("--payload <value>", `payload`).addHelpText("after", `
|
|
41828
42068
|
Examples:
|
|
41829
42069
|
hyperline subscriptions create-subscription-update --id <id> --application-schedule <application_schedule> --payment-schedule <payment_schedule> --calculation-method <calculation_method> --type <type> --payload <payload>
|
|
41830
42070
|
hyperline subscriptions create-subscription-update --id <id> --application-schedule <application_schedule> --payment-schedule <payment_schedule> --calculation-method <calculation_method> --type <type> --payload <payload> --apply-at <apply_at> --charge-at <charge_at>
|
|
@@ -41847,6 +42087,8 @@ Examples:
|
|
|
41847
42087
|
args.charge_at = opts.chargeAt;
|
|
41848
42088
|
if (opts.calculationMethod !== void 0)
|
|
41849
42089
|
args.calculation_method = opts.calculationMethod;
|
|
42090
|
+
if (opts.refundMethod !== void 0)
|
|
42091
|
+
args.refund_method = opts.refundMethod;
|
|
41850
42092
|
if (opts.type !== void 0)
|
|
41851
42093
|
args.type = opts.type;
|
|
41852
42094
|
if (opts.payload !== void 0)
|
|
@@ -41858,7 +42100,7 @@ Examples:
|
|
|
41858
42100
|
queryParamKeys: []
|
|
41859
42101
|
});
|
|
41860
42102
|
});
|
|
41861
|
-
resource.command("create-subscription-updates").description(`Apply multiple updates at once to an existing subscription in a single atomic operation.`).requiredOption("--id <value>", `id parameter`).requiredOption("--application-schedule <value>", `application_schedule`).option("--apply-at <value>", `The date when the update should be applied. Required when application_schedule is 'scheduled'.`).requiredOption("--payment-schedule <value>", `payment_schedule`).option("--charge-at <value>", `The date when the resulting subscription update should be charged. Required when payment_schedule is 'custom'. Must be in the future.`).requiredOption("--calculation-method <value>", `calculation_method`).requiredOption("--updates <value>", `updates`).addHelpText("after", `
|
|
42103
|
+
resource.command("create-subscription-updates").description(`Apply multiple updates at once to an existing subscription in a single atomic operation.`).requiredOption("--id <value>", `id parameter`).requiredOption("--application-schedule <value>", `application_schedule`).option("--apply-at <value>", `The date when the update should be applied. Required when application_schedule is 'scheduled'.`).requiredOption("--payment-schedule <value>", `payment_schedule`).option("--charge-at <value>", `The date when the resulting subscription update should be charged. Required when payment_schedule is 'custom'. Must be in the future.`).requiredOption("--calculation-method <value>", `calculation_method`).option("--refund-method <value>", `Override the refund destination when the update generates a refund credit note (e.g. seat reduction). When omitted, falls back to the invoicing entity's \`creditNoteWalletRefundEnabled\` setting.`).requiredOption("--updates <value>", `updates`).addHelpText("after", `
|
|
41862
42104
|
Examples:
|
|
41863
42105
|
hyperline subscriptions create-subscription-updates --id <id> --application-schedule <application_schedule> --payment-schedule <payment_schedule> --calculation-method <calculation_method> --updates <updates>
|
|
41864
42106
|
hyperline subscriptions create-subscription-updates --id <id> --application-schedule <application_schedule> --payment-schedule <payment_schedule> --calculation-method <calculation_method> --updates <updates> --apply-at <apply_at> --charge-at <charge_at>
|
|
@@ -41881,6 +42123,8 @@ Examples:
|
|
|
41881
42123
|
args.charge_at = opts.chargeAt;
|
|
41882
42124
|
if (opts.calculationMethod !== void 0)
|
|
41883
42125
|
args.calculation_method = opts.calculationMethod;
|
|
42126
|
+
if (opts.refundMethod !== void 0)
|
|
42127
|
+
args.refund_method = opts.refundMethod;
|
|
41884
42128
|
if (opts.updates !== void 0)
|
|
41885
42129
|
args.updates = opts.updates;
|
|
41886
42130
|
await ctx.execute({
|
|
@@ -41890,7 +42134,7 @@ Examples:
|
|
|
41890
42134
|
queryParamKeys: []
|
|
41891
42135
|
});
|
|
41892
42136
|
});
|
|
41893
|
-
resource.command("cancel").description(`Cancel a subscription. Supports immediate or end-of-period cancellation. Optionally specify a cancellation reason.`).requiredOption("--id <value>", `id parameter`).option("--cancel-at <value>", `Subscription cancel date. UTC date time string in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.`).option("--reason <value>", `Reason for the cancellation.`).option("--pro-rata", `Indicates if the cancel should refund the customer using a pro rata strategy.`).addHelpText("after", `
|
|
42137
|
+
resource.command("cancel").description(`Cancel a subscription. Supports immediate or end-of-period cancellation. Optionally specify a cancellation reason.`).requiredOption("--id <value>", `id parameter`).option("--cancel-at <value>", `Subscription cancel date. UTC date time string in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.`).option("--reason <value>", `Reason for the cancellation.`).option("--pro-rata", `Indicates if the cancel should refund the customer using a pro rata strategy.`).option("--refund-method <value>", `Override the refund destination for the resulting credit note. When omitted, falls back to the invoicing entity's \`creditNoteWalletRefundEnabled\` setting.`).addHelpText("after", `
|
|
41894
42138
|
Examples:
|
|
41895
42139
|
hyperline subscriptions cancel --id <id>
|
|
41896
42140
|
hyperline subscriptions cancel --id <id> --cancel-at <cancel_at> --reason <reason>
|
|
@@ -41907,6 +42151,8 @@ Examples:
|
|
|
41907
42151
|
args.cancel_at = opts.cancelAt;
|
|
41908
42152
|
if (opts.reason !== void 0)
|
|
41909
42153
|
args.reason = opts.reason;
|
|
42154
|
+
if (opts.refundMethod !== void 0)
|
|
42155
|
+
args.refund_method = opts.refundMethod;
|
|
41910
42156
|
if (opts.proRata !== void 0)
|
|
41911
42157
|
args.pro_rata = true;
|
|
41912
42158
|
await ctx.execute({
|
|
@@ -42016,7 +42262,7 @@ Examples:
|
|
|
42016
42262
|
queryParamKeys: []
|
|
42017
42263
|
});
|
|
42018
42264
|
});
|
|
42019
|
-
resource.command("simulate-subscription-updates").description(`Preview the effect of updates on a subscription without applying them. Returns simulated invoice and billing impact.`).requiredOption("--id <value>", `id parameter`).requiredOption("--application-schedule <value>", `application_schedule`).option("--apply-at <value>", `The date when the update should be applied. Required when application_schedule is 'scheduled'.`).requiredOption("--payment-schedule <value>", `payment_schedule`).option("--charge-at <value>", `The date when the resulting subscription update should be charged. Required when payment_schedule is 'custom'. Must be in the future.`).requiredOption("--calculation-method <value>", `calculation_method`).requiredOption("--updates <value>", `updates`).addHelpText("after", `
|
|
42265
|
+
resource.command("simulate-subscription-updates").description(`Preview the effect of updates on a subscription without applying them. Returns simulated invoice and billing impact.`).requiredOption("--id <value>", `id parameter`).requiredOption("--application-schedule <value>", `application_schedule`).option("--apply-at <value>", `The date when the update should be applied. Required when application_schedule is 'scheduled'.`).requiredOption("--payment-schedule <value>", `payment_schedule`).option("--charge-at <value>", `The date when the resulting subscription update should be charged. Required when payment_schedule is 'custom'. Must be in the future.`).requiredOption("--calculation-method <value>", `calculation_method`).option("--refund-method <value>", `Override the refund destination when the update generates a refund credit note (e.g. seat reduction). When omitted, falls back to the invoicing entity's \`creditNoteWalletRefundEnabled\` setting.`).requiredOption("--updates <value>", `updates`).addHelpText("after", `
|
|
42020
42266
|
Examples:
|
|
42021
42267
|
hyperline subscriptions simulate-subscription-updates --id <id> --application-schedule <application_schedule> --payment-schedule <payment_schedule> --calculation-method <calculation_method> --updates <updates>
|
|
42022
42268
|
hyperline subscriptions simulate-subscription-updates --id <id> --application-schedule <application_schedule> --payment-schedule <payment_schedule> --calculation-method <calculation_method> --updates <updates> --apply-at <apply_at> --charge-at <charge_at>
|
|
@@ -42039,6 +42285,8 @@ Examples:
|
|
|
42039
42285
|
args.charge_at = opts.chargeAt;
|
|
42040
42286
|
if (opts.calculationMethod !== void 0)
|
|
42041
42287
|
args.calculation_method = opts.calculationMethod;
|
|
42288
|
+
if (opts.refundMethod !== void 0)
|
|
42289
|
+
args.refund_method = opts.refundMethod;
|
|
42042
42290
|
if (opts.updates !== void 0)
|
|
42043
42291
|
args.updates = opts.updates;
|
|
42044
42292
|
await ctx.execute({
|
|
@@ -42064,7 +42312,7 @@ Strategy used to cancel the subscription. If not specified \`do_nothing\` is use
|
|
|
42064
42312
|
- \`refund_custom\`: Will refund to the customer a custom amount.
|
|
42065
42313
|
- \`end_of_period\`: Will cancel the subscription at the end date of the current billing period.
|
|
42066
42314
|
- \`do_nothing\`: Will only cease the subscription without any additional actions.
|
|
42067
|
-
`).option("--cancellation-amount <number>", `Custom amount used when cancelling the subscription. Only applies to the \`charge_custom\` or the \`refund_custom\` cancellation strategy.`).option("--properties <value>", `Key/value pairs to store any metadata useful in your context.`).option("--custom-properties <value>", `A list of key value with the slug of the custom property as the key and the custom property value as value.`).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>", `
|
|
42315
|
+
`).option("--cancellation-amount <number>", `Custom amount used when cancelling the subscription. Only applies to the \`charge_custom\` or the \`refund_custom\` cancellation strategy.`).option("--cancellation-refund-method <value>", `Override the refund destination for credit notes generated by \`refund_prorata\` / \`refund_custom\` cancellation strategies. When omitted, falls back to the invoicing entity's \`creditNoteWalletRefundEnabled\` setting.`).option("--properties <value>", `Key/value pairs to store any metadata useful in your context.`).option("--custom-properties <value>", `A list of key value with the slug of the custom property as the key and the custom property value as value.`).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>", `
|
|
42068
42316
|
Defines when invoices are generated relative to the billing period.
|
|
42069
42317
|
|
|
42070
42318
|
- \`period_start\`: Invoices are generated at the start of the billing period.
|
|
@@ -42119,6 +42367,8 @@ Examples:
|
|
|
42119
42367
|
args.cancel_at = opts.cancelAt;
|
|
42120
42368
|
if (opts.cancellationStrategy !== void 0)
|
|
42121
42369
|
args.cancellation_strategy = opts.cancellationStrategy;
|
|
42370
|
+
if (opts.cancellationRefundMethod !== void 0)
|
|
42371
|
+
args.cancellation_refund_method = opts.cancellationRefundMethod;
|
|
42122
42372
|
if (opts.properties !== void 0)
|
|
42123
42373
|
args.properties = opts.properties;
|
|
42124
42374
|
if (opts.customProperties !== void 0)
|
|
@@ -42401,7 +42651,7 @@ Examples:
|
|
|
42401
42651
|
queryParamKeys: []
|
|
42402
42652
|
});
|
|
42403
42653
|
});
|
|
42404
|
-
resource.command("update").description(`Comprehensive subscription update: modify fields, manage phases (add/update/delete pending phases), update products within phases, and manage coupons.
|
|
42654
|
+
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 PATCH /v1/quotes/{id}.`).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>", `
|
|
42405
42655
|
Defines when invoices are generated relative to the billing period.
|
|
42406
42656
|
|
|
42407
42657
|
- \`period_start\`: Invoices are generated at the start of the billing period.
|
|
@@ -42761,7 +43011,7 @@ Examples:
|
|
|
42761
43011
|
]
|
|
42762
43012
|
});
|
|
42763
43013
|
});
|
|
42764
|
-
resource.command("create-subscription-transition").description(`Create a transition from one subscription to another, configured from a subscription, plan, or template. Can be applied immediately or scheduled.`).requiredOption("--source-subscription-id <value>", `The ID of the subscription to transition from`).option("--name <value>", `An optional name for the transition`).option("--calculation-method <value>", `The calculation method to use for the transition. 'do_not_charge' will not generate any transition invoice. 'pro_rata' will generate a prorated invoice for the remaining period.`).option("--billing-cycle-transition-method <value>", `The billing cycle transition method to use. 'keep_current_billing_cycle' will keep the current billing cycle dates if possible. 'align_to_new_billing_cycle' will align the billing cycle to the transition date.`).requiredOption("--application-schedule <value>", `
|
|
43014
|
+
resource.command("create-subscription-transition").description(`Create a transition from one subscription to another, configured from a subscription, plan, or template. Can be applied immediately or scheduled.`).requiredOption("--source-subscription-id <value>", `The ID of the subscription to transition from`).option("--name <value>", `An optional name for the transition`).option("--calculation-method <value>", `The calculation method to use for the transition. 'do_not_charge' will not generate any transition invoice. 'pro_rata' will generate a prorated invoice for the remaining period. 'refund_and_reinvoice' (only available with application_schedule 'last_renewal') issues a credit note for what was invoiced for the current period and a separate invoice for the new configuration.`).option("--billing-cycle-transition-method <value>", `The billing cycle transition method to use. 'keep_current_billing_cycle' will keep the current billing cycle dates if possible. 'align_to_new_billing_cycle' will align the billing cycle to the transition date.`).requiredOption("--application-schedule <value>", `When the transition should be applied: 'immediately', 'scheduled' for a specific date, or 'last_renewal' to apply it retroactively to the start of the current billing period (refunding what was already invoiced for that period and re-charging the new configuration). Past dates within the current billing period are supported and will be applied immediately.`).option("--transition-date <value>", `The date at which the transition should occur. Only applicable if the application schedule is 'scheduled'. Can be a past date within the current billing period. UTC date time string in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.`).requiredOption("--target-subscription <value>", `The configuration of the subscription to transition to`).addHelpText("after", `
|
|
42765
43015
|
Examples:
|
|
42766
43016
|
hyperline subscriptions-transitions create-subscription-transition --source-subscription-id <source_subscription_id> --application-schedule <application_schedule> --target-subscription <target_subscription>
|
|
42767
43017
|
hyperline subscriptions-transitions create-subscription-transition --source-subscription-id <source_subscription_id> --application-schedule <application_schedule> --target-subscription <target_subscription> --name <name> --calculation-method <calculation_method>
|
|
@@ -42975,6 +43225,30 @@ Examples:
|
|
|
42975
43225
|
});
|
|
42976
43226
|
}
|
|
42977
43227
|
|
|
43228
|
+
// build/commands/generated/transactions.js
|
|
43229
|
+
function registerTransactionsCommands(parent) {
|
|
43230
|
+
const resource = parent.command("transactions").description("Manage transactions");
|
|
43231
|
+
resource.command("refund").description(`Refund a settled banking transaction for its full amount. The related invoice will switch back to to pay status. Use the create credit note endpoint if you want to cancel (and optionally refund) the initial invoice.`).requiredOption("--id <value>", `id parameter`).addHelpText("after", `
|
|
43232
|
+
Examples:
|
|
43233
|
+
hyperline transactions refund --id <id>
|
|
43234
|
+
hyperline transactions refund --id <id> --output json`).action(async (opts) => {
|
|
43235
|
+
const ctx = resource.parent?.opts()._ctx;
|
|
43236
|
+
if (!ctx) {
|
|
43237
|
+
process.stderr.write("Error: Not authenticated\n");
|
|
43238
|
+
process.exit(1);
|
|
43239
|
+
}
|
|
43240
|
+
const args = {};
|
|
43241
|
+
if (opts.id !== void 0)
|
|
43242
|
+
args.id = opts.id;
|
|
43243
|
+
await ctx.execute({
|
|
43244
|
+
method: "POST",
|
|
43245
|
+
path: "/v1/transactions/{id}/refund",
|
|
43246
|
+
args,
|
|
43247
|
+
queryParamKeys: []
|
|
43248
|
+
});
|
|
43249
|
+
});
|
|
43250
|
+
}
|
|
43251
|
+
|
|
42978
43252
|
// build/commands/generated/wallets.js
|
|
42979
43253
|
function registerWalletsCommands(parent) {
|
|
42980
43254
|
const resource = parent.command("wallets").description("Manage wallets");
|
|
@@ -43135,10 +43409,10 @@ Examples:
|
|
|
43135
43409
|
queryParamKeys: []
|
|
43136
43410
|
});
|
|
43137
43411
|
});
|
|
43138
|
-
resource.command("load").description(`Add credits
|
|
43412
|
+
resource.command("load").description(`Add paid credits by charging the customer's payment method, or add free credits by issuing a credit note.`).requiredOption("--id <value>", `id parameter`).option("--type <value>", `Wallet load type. Use \`paid\` to collect payment from the customer's payment method, or \`free\` to grant credits without collecting payment.`).option("--amount <number>", `Amount to be loaded onto the wallet as free credits. A corresponding credit note will be generated and no payment is collected. Expressed in currency's smallest unit.`).option("--comment <value>", `Internal comment stored on the wallet transaction for context.`).option("--document-status <value>", `Indicates the status of the generated credit note for free top-ups.`).option("--bank-account-id <value>", `Bank account ID to use when recording a paid wallet load by bank transfer.`).option("--reference <value>", `Reference stored on the generated payment document for a paid wallet load.`).addHelpText("after", `
|
|
43139
43413
|
Examples:
|
|
43140
43414
|
hyperline wallets load --id <id>
|
|
43141
|
-
hyperline wallets load --id <id> --
|
|
43415
|
+
hyperline wallets load --id <id> --type <type> --amount <amount>
|
|
43142
43416
|
hyperline wallets load --id <id> --output json`).action(async (opts) => {
|
|
43143
43417
|
const ctx = resource.parent?.opts()._ctx;
|
|
43144
43418
|
if (!ctx) {
|
|
@@ -43148,12 +43422,18 @@ Examples:
|
|
|
43148
43422
|
const args = {};
|
|
43149
43423
|
if (opts.id !== void 0)
|
|
43150
43424
|
args.id = opts.id;
|
|
43425
|
+
if (opts.type !== void 0)
|
|
43426
|
+
args.type = opts.type;
|
|
43427
|
+
if (opts.comment !== void 0)
|
|
43428
|
+
args.comment = opts.comment;
|
|
43151
43429
|
if (opts.documentStatus !== void 0)
|
|
43152
43430
|
args.document_status = opts.documentStatus;
|
|
43431
|
+
if (opts.bankAccountId !== void 0)
|
|
43432
|
+
args.bank_account_id = opts.bankAccountId;
|
|
43433
|
+
if (opts.reference !== void 0)
|
|
43434
|
+
args.reference = opts.reference;
|
|
43153
43435
|
if (opts.amount !== void 0)
|
|
43154
43436
|
args.amount = Number(opts.amount);
|
|
43155
|
-
if (opts.amountFree !== void 0)
|
|
43156
|
-
args.amount_free = Number(opts.amountFree);
|
|
43157
43437
|
await ctx.execute({
|
|
43158
43438
|
method: "POST",
|
|
43159
43439
|
path: "/v1/wallets/{id}/load",
|
|
@@ -43382,11 +43662,13 @@ function registerAllCommands(program2) {
|
|
|
43382
43662
|
registerProductsCommands(program2);
|
|
43383
43663
|
registerPrice_ConfigurationsCommands(program2);
|
|
43384
43664
|
registerQuotesCommands(program2);
|
|
43665
|
+
registerQuotes_TemplatesCommands(program2);
|
|
43385
43666
|
registerSubscriptions_TemplatesCommands(program2);
|
|
43386
43667
|
registerSubscriptionsCommands(program2);
|
|
43387
43668
|
registerSubscriptions_TransitionsCommands(program2);
|
|
43388
43669
|
registerSubscriptions_PhasesCommands(program2);
|
|
43389
43670
|
registerTaxesCommands(program2);
|
|
43671
|
+
registerTransactionsCommands(program2);
|
|
43390
43672
|
registerWalletsCommands(program2);
|
|
43391
43673
|
registerWebhooksCommands(program2);
|
|
43392
43674
|
}
|
|
@@ -57177,6 +57459,7 @@ var BooleanSchema = external_exports.boolean().or(external_exports.enum(["true",
|
|
|
57177
57459
|
});
|
|
57178
57460
|
var StringSchemaForMultipartForm = external_exports.string().transform((value) => value === "" ? null : value);
|
|
57179
57461
|
var StringArraySchemaForMultipartForm = external_exports.string().array().or(external_exports.string().length(0)).transform((value) => typeof value === "string" ? [] : value);
|
|
57462
|
+
var CommaSeparatedArraySchema = external_exports.string().optional().transform((raw) => raw ? raw.split(",").filter(Boolean) : void 0);
|
|
57180
57463
|
var urlRegex = /^(?:(?:https?):\/\/)?(?:www\.)?(?:[\w-]+\.)+[a-z]{2,7}(?:\/\S*)?$/i;
|
|
57181
57464
|
var ZodFlexibleUrl = external_exports.string({ message: "Invalid URL" }).regex(urlRegex).transform((url2) => {
|
|
57182
57465
|
if (!url2)
|
|
@@ -61515,6 +61798,7 @@ import * as winston from "winston";
|
|
|
61515
61798
|
|
|
61516
61799
|
// ../hyperline-monitoring/build/logger/formatting/format.js
|
|
61517
61800
|
import prune from "json-prune";
|
|
61801
|
+
var REDACTED_HEADER_KEY_PATTERN = /authorization|authenticate|cookie|secret|token|credential|signature|jwt|api[_-]?key|access[_-]?token|refresh[_-]?token|private[_-]?key/i;
|
|
61518
61802
|
function jsonFormat(info) {
|
|
61519
61803
|
const prunedInfo = JSON.parse(prune(info));
|
|
61520
61804
|
for (const [key, value] of Object.entries(prunedInfo)) {
|
|
@@ -61597,17 +61881,26 @@ function formatAxiosError(error48) {
|
|
|
61597
61881
|
url: request?.url,
|
|
61598
61882
|
baseURL: request?.baseURL,
|
|
61599
61883
|
params: request?.params,
|
|
61600
|
-
headers: request?.headers,
|
|
61884
|
+
headers: redactHeaders({ headers: request?.headers }),
|
|
61601
61885
|
"axios-retry": request?.["axios-retry"]
|
|
61602
61886
|
},
|
|
61603
61887
|
response: {
|
|
61604
61888
|
status: response?.status,
|
|
61605
61889
|
statusText: response?.statusText,
|
|
61606
|
-
headers: response?.headers,
|
|
61890
|
+
headers: redactHeaders({ headers: response?.headers }),
|
|
61607
61891
|
data: response?.data
|
|
61608
61892
|
}
|
|
61609
61893
|
};
|
|
61610
61894
|
}
|
|
61895
|
+
function redactHeaders({ headers }) {
|
|
61896
|
+
if (!isRecord(headers)) {
|
|
61897
|
+
return headers;
|
|
61898
|
+
}
|
|
61899
|
+
return Object.fromEntries(Object.entries(headers).map(([headerKey, headerValue]) => [
|
|
61900
|
+
headerKey,
|
|
61901
|
+
REDACTED_HEADER_KEY_PATTERN.test(headerKey) ? "<redacted>" : headerValue
|
|
61902
|
+
]));
|
|
61903
|
+
}
|
|
61611
61904
|
function isRecord(value) {
|
|
61612
61905
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
61613
61906
|
}
|
|
@@ -61972,10 +62265,12 @@ var languages = [
|
|
|
61972
62265
|
var de = {
|
|
61973
62266
|
"accounting.invoicePosted.entryDescription": "Buchungseintrag f\xFCr Rechnung {{invoiceId}}",
|
|
61974
62267
|
"accounting.transactionSettled.entryDescription": "Zahlungsabwicklung f\xFCr Rechnung {{invoiceId}}",
|
|
62268
|
+
"accounting.transactionRefunded.entryDescription": "R\xFCckerstattung f\xFCr Rechnung {{invoiceId}}",
|
|
61975
62269
|
"accounting.creditNotePosted.entryDescription": "Gutschrift {{creditNoteId}} f\xFCr Rechnung {{invoiceId}}",
|
|
61976
62270
|
"accounting.revrec.creditLineDescription": "Umsatz realisieren \u2013 Zeitplan {{scheduleId}}, Zeitraum {{periodDate}}",
|
|
61977
62271
|
"accounting.revrec.debitLineDescription": "Abgrenzungsposten reduzieren \u2013 Zeitplan {{scheduleId}}, Zeitraum {{periodDate}}",
|
|
61978
62272
|
"accounting.revrec.discountCreditLineDescription": "Erl\xF6sminderung (Rabatt) erfassen \u2013 Zeitplan {{scheduleId}}, Zeitraum {{periodDate}}",
|
|
62273
|
+
"accounting.revrec.closedPeriodFallbackNote": " (in die n\xE4chste offene Periode gebucht \u2013 Zielperiode geschlossen; urspr\xFCngliches Datum {{originalDate}})",
|
|
61979
62274
|
"accounting.revrec.discountDebitLineDescription": "Abgegrenzten Rabatt reduzieren \u2013 Zeitplan {{scheduleId}}, Zeitraum {{periodDate}}",
|
|
61980
62275
|
"accounting.revrec.entryDescription": "Umsatzrealisierung f\xFCr Zeitplan {{scheduleId}}, Zeitraum {{periodStart}} - {{periodEnd}}",
|
|
61981
62276
|
"creditNotes.refundChargeName": "R\xFCckerstattung f\xFCr die Rechnung",
|
|
@@ -61988,7 +62283,9 @@ var de = {
|
|
|
61988
62283
|
"invoices.outstandingProduct.descriptionPeriod": "Unbezahlter Betrag der Rechnung{{invoiceNumber}} vom {{periodStart}} bis {{periodEnd}}",
|
|
61989
62284
|
"invoices.outstandingProduct.name": "Offener Saldo",
|
|
61990
62285
|
"invoices.prorata.paymentForItem": "Anteilig berechneter Betrag f\xFCr",
|
|
62286
|
+
"invoices.prorata.paymentForItemFullPeriod": "Zahlung f\xFCr",
|
|
61991
62287
|
"invoices.prorata.refundForItem": "Anteilig erstatteter Betrag f\xFCr",
|
|
62288
|
+
"invoices.prorata.refundForItemFullPeriod": "Erstattung f\xFCr",
|
|
61992
62289
|
"subscriptions.closingChargeName": "Abschlussgeb\xFChr f\xFCr das Abonnement",
|
|
61993
62290
|
"subscriptions.correction": "Vorperiodische Anpassung",
|
|
61994
62291
|
"subscriptions.updates.addCoupon": "Gutschein hinzuf\xFCgen {{couponName}}",
|
|
@@ -62017,7 +62314,9 @@ var en = {
|
|
|
62017
62314
|
"invoices.outstandingProduct.descriptionPeriod": "Unpaid amount from the invoice{{invoiceNumber}} from {{periodStart}} to {{periodEnd}}",
|
|
62018
62315
|
"invoices.outstandingProduct.name": "Outstanding balance",
|
|
62019
62316
|
"invoices.prorata.paymentForItem": "Prorated payment for",
|
|
62317
|
+
"invoices.prorata.paymentForItemFullPeriod": "Payment for",
|
|
62020
62318
|
"invoices.prorata.refundForItem": "Prorated refund for",
|
|
62319
|
+
"invoices.prorata.refundForItemFullPeriod": "Refund for",
|
|
62021
62320
|
"subscriptions.closingChargeName": "Closing fee for subscription",
|
|
62022
62321
|
"subscriptions.correction": "Adjustment previous period",
|
|
62023
62322
|
"subscriptions.updates.addCoupon": "Add coupon {{couponName}}",
|
|
@@ -62037,12 +62336,14 @@ var en = {
|
|
|
62037
62336
|
"subscriptions.updates.updateCount.description.full.not_committed.not_invoiced": "Amount of {{amount}} not invoiced for the full period",
|
|
62038
62337
|
"accounting.invoicePosted.entryDescription": "Posting entry for Invoice {{invoiceId}} issued",
|
|
62039
62338
|
"accounting.transactionSettled.entryDescription": "Payment settlement for Invoice {{invoiceId}}",
|
|
62339
|
+
"accounting.transactionRefunded.entryDescription": "Refund for Invoice {{invoiceId}}",
|
|
62040
62340
|
"accounting.creditNotePosted.entryDescription": "Credit note {{creditNoteId}} for Invoice {{invoiceId}}",
|
|
62041
62341
|
"accounting.revrec.entryDescription": "Revenue recognition for schedule {{scheduleId}}, period {{periodStart}} - {{periodEnd}}",
|
|
62042
62342
|
"accounting.revrec.debitLineDescription": "Decrease deferred revenue \u2013 schedule {{scheduleId}}, period {{periodDate}}",
|
|
62043
62343
|
"accounting.revrec.creditLineDescription": "Recognize revenue \u2013 schedule {{scheduleId}}, period {{periodDate}}",
|
|
62044
62344
|
"accounting.revrec.discountDebitLineDescription": "Decrease deferred discount \u2013 schedule {{scheduleId}}, period {{periodDate}}",
|
|
62045
62345
|
"accounting.revrec.discountCreditLineDescription": "Recognize contra-revenue (discount) \u2013 schedule {{scheduleId}}, period {{periodDate}}",
|
|
62346
|
+
"accounting.revrec.closedPeriodFallbackNote": " (posted to next open period \u2014 target accounting period closed; original date {{originalDate}})",
|
|
62046
62347
|
"einvoicing.paymentProcessed": "Payment processed",
|
|
62047
62348
|
"einvoicing.paymentReceived": "Payment received",
|
|
62048
62349
|
"einvoicing.paymentFromWallet": "Payment from wallet"
|
|
@@ -62052,10 +62353,12 @@ var en = {
|
|
|
62052
62353
|
var es = {
|
|
62053
62354
|
"accounting.invoicePosted.entryDescription": "Asiento contable para la factura {{invoiceId}}",
|
|
62054
62355
|
"accounting.transactionSettled.entryDescription": "Liquidaci\xF3n de pago para la factura {{invoiceId}}",
|
|
62356
|
+
"accounting.transactionRefunded.entryDescription": "Reembolso de la factura {{invoiceId}}",
|
|
62055
62357
|
"accounting.creditNotePosted.entryDescription": "Nota de cr\xE9dito {{creditNoteId}} para la factura {{invoiceId}}",
|
|
62056
62358
|
"accounting.revrec.creditLineDescription": "Reconocer ingresos \u2013 cronograma {{scheduleId}}, per\xEDodo {{periodDate}}",
|
|
62057
62359
|
"accounting.revrec.debitLineDescription": "Disminuci\xF3n de ingresos diferidos \u2013 cronograma {{scheduleId}}, per\xEDodo {{periodDate}}",
|
|
62058
62360
|
"accounting.revrec.discountCreditLineDescription": "Reconocer contra-ingresos (descuento) \u2013 cronograma {{scheduleId}}, per\xEDodo {{periodDate}}",
|
|
62361
|
+
"accounting.revrec.closedPeriodFallbackNote": " (registrado en el pr\xF3ximo per\xEDodo abierto \u2014 per\xEDodo contable de destino cerrado; fecha original {{originalDate}})",
|
|
62059
62362
|
"accounting.revrec.discountDebitLineDescription": "Disminuci\xF3n de descuento diferido \u2013 cronograma {{scheduleId}}, per\xEDodo {{periodDate}}",
|
|
62060
62363
|
"accounting.revrec.entryDescription": "Reconocimiento de ingresos para el cronograma {{scheduleId}}, per\xEDodo {{periodStart}} - {{periodEnd}}",
|
|
62061
62364
|
"creditNotes.refundChargeName": "Reembolso por factura",
|
|
@@ -62068,7 +62371,9 @@ var es = {
|
|
|
62068
62371
|
"invoices.outstandingProduct.descriptionPeriod": "Monto pendiente de la factura{{invoiceNumber}} del {{periodStart}} al {{periodEnd}}",
|
|
62069
62372
|
"invoices.outstandingProduct.name": "Saldo pendiente",
|
|
62070
62373
|
"invoices.prorata.paymentForItem": "Pago prorrateado por",
|
|
62374
|
+
"invoices.prorata.paymentForItemFullPeriod": "Pago por",
|
|
62071
62375
|
"invoices.prorata.refundForItem": "Reembolso prorrateado por",
|
|
62376
|
+
"invoices.prorata.refundForItemFullPeriod": "Reembolso por",
|
|
62072
62377
|
"subscriptions.closingChargeName": "Cargo por cierre de suscripci\xF3n",
|
|
62073
62378
|
"subscriptions.correction": "Ajuste del periodo anterior",
|
|
62074
62379
|
"subscriptions.updates.addCoupon": "A\xF1adir cup\xF3n {{couponName}}",
|
|
@@ -62093,9 +62398,11 @@ var fr = {
|
|
|
62093
62398
|
"accounting.revrec.creditLineDescription": "Reconnaissance du chiffre d'affaires \u2013 \xE9ch\xE9ancier {{scheduleId}}, p\xE9riode {{periodDate}}",
|
|
62094
62399
|
"accounting.revrec.debitLineDescription": "Diminution des produits constat\xE9s d'avance \u2013 \xE9ch\xE9ancier {{scheduleId}}, p\xE9riode {{periodDate}}",
|
|
62095
62400
|
"accounting.revrec.discountCreditLineDescription": "Reconnaissance du contre-revenu (remise) \u2013 \xE9ch\xE9ancier {{scheduleId}}, p\xE9riode {{periodDate}}",
|
|
62401
|
+
"accounting.revrec.closedPeriodFallbackNote": " (comptabilis\xE9 sur la prochaine p\xE9riode ouverte \u2014 p\xE9riode comptable cible cl\xF4tur\xE9e ; date d'origine {{originalDate}})",
|
|
62096
62402
|
"accounting.revrec.discountDebitLineDescription": "Diminution des remises diff\xE9r\xE9es \u2013 \xE9ch\xE9ancier {{scheduleId}}, p\xE9riode {{periodDate}}",
|
|
62097
62403
|
"accounting.invoicePosted.entryDescription": "\xC9criture de comptabilisation pour la facture {{invoiceId}}",
|
|
62098
62404
|
"accounting.transactionSettled.entryDescription": "R\xE8glement de la facture {{invoiceId}}",
|
|
62405
|
+
"accounting.transactionRefunded.entryDescription": "Remboursement de la facture {{invoiceId}}",
|
|
62099
62406
|
"accounting.creditNotePosted.entryDescription": "Avoir {{creditNoteId}} pour la facture {{invoiceId}}",
|
|
62100
62407
|
"accounting.revrec.entryDescription": "Reconnaissance du chiffre d'affaires pour l'\xE9ch\xE9ancier {{scheduleId}}, p\xE9riode {{periodStart}} - {{periodEnd}}",
|
|
62101
62408
|
"creditNotes.refundChargeName": "Remboursement pour facture",
|
|
@@ -62108,7 +62415,9 @@ var fr = {
|
|
|
62108
62415
|
"invoices.outstandingProduct.descriptionPeriod": "Montant impay\xE9 de la facture{{invoiceNumber}} du {{periodStart}} au {{periodEnd}}",
|
|
62109
62416
|
"invoices.outstandingProduct.name": "Solde impay\xE9",
|
|
62110
62417
|
"invoices.prorata.paymentForItem": "Paiement au prorata pour",
|
|
62418
|
+
"invoices.prorata.paymentForItemFullPeriod": "Paiement pour",
|
|
62111
62419
|
"invoices.prorata.refundForItem": "Remboursement au prorata pour",
|
|
62420
|
+
"invoices.prorata.refundForItemFullPeriod": "Remboursement pour",
|
|
62112
62421
|
"subscriptions.closingChargeName": "Frais de cl\xF4ture pour abonnement",
|
|
62113
62422
|
"subscriptions.correction": "Ajustement p\xE9riode pr\xE9c\xE9dente",
|
|
62114
62423
|
"subscriptions.updates.addCoupon": "Ajout du coupon {{couponName}}",
|
|
@@ -62132,10 +62441,12 @@ var fr = {
|
|
|
62132
62441
|
var it = {
|
|
62133
62442
|
"accounting.invoicePosted.entryDescription": "Registrazione contabile per la fattura {{invoiceId}}",
|
|
62134
62443
|
"accounting.transactionSettled.entryDescription": "Regolamento pagamento per la fattura {{invoiceId}}",
|
|
62444
|
+
"accounting.transactionRefunded.entryDescription": "Rimborso per la fattura {{invoiceId}}",
|
|
62135
62445
|
"accounting.creditNotePosted.entryDescription": "Nota di credito {{creditNoteId}} per la fattura {{invoiceId}}",
|
|
62136
62446
|
"accounting.revrec.creditLineDescription": "Riconoscere i ricavi \u2013 programma {{scheduleId}}, periodo {{periodDate}}",
|
|
62137
62447
|
"accounting.revrec.debitLineDescription": "Diminuzione dei ricavi differiti \u2013 programma {{scheduleId}}, periodo {{periodDate}}",
|
|
62138
62448
|
"accounting.revrec.discountCreditLineDescription": "Riconoscere il contra-ricavo (sconto) \u2013 programma {{scheduleId}}, periodo {{periodDate}}",
|
|
62449
|
+
"accounting.revrec.closedPeriodFallbackNote": " (registrato nel prossimo periodo aperto \u2014 periodo contabile di destinazione chiuso; data originale {{originalDate}})",
|
|
62139
62450
|
"accounting.revrec.discountDebitLineDescription": "Diminuzione dello sconto differito \u2013 programma {{scheduleId}}, periodo {{periodDate}}",
|
|
62140
62451
|
"accounting.revrec.entryDescription": "Riconoscimento dei ricavi per il programma {{scheduleId}}, periodo {{periodStart}} - {{periodEnd}}",
|
|
62141
62452
|
"creditNotes.refundChargeName": "Rimborso per fattura",
|
|
@@ -62148,7 +62459,9 @@ var it = {
|
|
|
62148
62459
|
"invoices.outstandingProduct.descriptionPeriod": "Importo insoluto della fattura{{invoiceNumber}} dal {{periodStart}} al {{periodEnd}}",
|
|
62149
62460
|
"invoices.outstandingProduct.name": "Saldo insoluto",
|
|
62150
62461
|
"invoices.prorata.paymentForItem": "Pagamento proporzionale per",
|
|
62462
|
+
"invoices.prorata.paymentForItemFullPeriod": "Pagamento per",
|
|
62151
62463
|
"invoices.prorata.refundForItem": "Rimborso proporzionale per",
|
|
62464
|
+
"invoices.prorata.refundForItemFullPeriod": "Rimborso per",
|
|
62152
62465
|
"subscriptions.closingChargeName": "Costo di chiusura per abbonamento",
|
|
62153
62466
|
"subscriptions.correction": "Correzione periodo precedente",
|
|
62154
62467
|
"subscriptions.updates.addCoupon": "Aggiungi coupon {{couponName}}",
|
|
@@ -62172,10 +62485,12 @@ var it = {
|
|
|
62172
62485
|
var nl = {
|
|
62173
62486
|
"accounting.invoicePosted.entryDescription": "Boekingsregel voor factuur {{invoiceId}}",
|
|
62174
62487
|
"accounting.transactionSettled.entryDescription": "Betalingsafwikkeling voor factuur {{invoiceId}}",
|
|
62488
|
+
"accounting.transactionRefunded.entryDescription": "Terugbetaling voor factuur {{invoiceId}}",
|
|
62175
62489
|
"accounting.creditNotePosted.entryDescription": "Creditnota {{creditNoteId}} voor factuur {{invoiceId}}",
|
|
62176
62490
|
"accounting.revrec.creditLineDescription": "Omzet erkennen \u2013 schema {{scheduleId}}, periode {{periodDate}}",
|
|
62177
62491
|
"accounting.revrec.debitLineDescription": "Uitgestelde omzet verlagen \u2013 schema {{scheduleId}}, periode {{periodDate}}",
|
|
62178
62492
|
"accounting.revrec.discountCreditLineDescription": "Omzetvermindering (korting) erkennen \u2013 schema {{scheduleId}}, periode {{periodDate}}",
|
|
62493
|
+
"accounting.revrec.closedPeriodFallbackNote": " (geboekt in de volgende open periode \u2014 doelboekingsperiode gesloten; oorspronkelijke datum {{originalDate}})",
|
|
62179
62494
|
"accounting.revrec.discountDebitLineDescription": "Uitgestelde korting verlagen \u2013 schema {{scheduleId}}, periode {{periodDate}}",
|
|
62180
62495
|
"accounting.revrec.entryDescription": "Omzeterkenning voor schema {{scheduleId}}, periode {{periodStart}} - {{periodEnd}}",
|
|
62181
62496
|
"creditNotes.refundChargeName": "Terugbetaling voor factuur",
|
|
@@ -62188,7 +62503,9 @@ var nl = {
|
|
|
62188
62503
|
"invoices.outstandingProduct.descriptionPeriod": "Onbetaald bedrag van de factuur{{invoiceNumber}} van {{periodStart}} tot {{periodEnd}}",
|
|
62189
62504
|
"invoices.outstandingProduct.name": "Openstaand saldo",
|
|
62190
62505
|
"invoices.prorata.paymentForItem": "Gedeeltelijke betaling voor",
|
|
62506
|
+
"invoices.prorata.paymentForItemFullPeriod": "Betaling voor",
|
|
62191
62507
|
"invoices.prorata.refundForItem": "Gedeeltelijke terugbetaling voor",
|
|
62508
|
+
"invoices.prorata.refundForItemFullPeriod": "Terugbetaling voor",
|
|
62192
62509
|
"subscriptions.closingChargeName": "Afsluitkosten voor abonnement",
|
|
62193
62510
|
"subscriptions.correction": "Aanpassing vorige periode",
|
|
62194
62511
|
"subscriptions.updates.addCoupon": "Coupon toevoegen {{couponName}}",
|
|
@@ -62212,10 +62529,12 @@ var nl = {
|
|
|
62212
62529
|
var pl = {
|
|
62213
62530
|
"accounting.invoicePosted.entryDescription": "Zapis ksi\u0119gowy dla faktury {{invoiceId}}",
|
|
62214
62531
|
"accounting.transactionSettled.entryDescription": "Rozliczenie p\u0142atno\u015Bci dla faktury {{invoiceId}}",
|
|
62532
|
+
"accounting.transactionRefunded.entryDescription": "Zwrot za faktur\u0119 {{invoiceId}}",
|
|
62215
62533
|
"accounting.creditNotePosted.entryDescription": "Nota kredytowa {{creditNoteId}} dla faktury {{invoiceId}}",
|
|
62216
62534
|
"accounting.revrec.creditLineDescription": "Rozpoznanie przychodu \u2013 harmonogram {{scheduleId}}, okres {{periodDate}}",
|
|
62217
62535
|
"accounting.revrec.debitLineDescription": "Zmniejszenie przychod\xF3w przysz\u0142ych okres\xF3w \u2013 harmonogram {{scheduleId}}, okres {{periodDate}}",
|
|
62218
62536
|
"accounting.revrec.discountCreditLineDescription": "Rozpoznanie kontra-przychodu (rabat) \u2013 harmonogram {{scheduleId}}, okres {{periodDate}}",
|
|
62537
|
+
"accounting.revrec.closedPeriodFallbackNote": " (zaksi\u0119gowano w nast\u0119pnym otwartym okresie \u2014 docelowy okres ksi\u0119gowy zamkni\u0119ty; pierwotna data {{originalDate}})",
|
|
62219
62538
|
"accounting.revrec.discountDebitLineDescription": "Zmniejszenie odroczonego rabatu \u2013 harmonogram {{scheduleId}}, okres {{periodDate}}",
|
|
62220
62539
|
"accounting.revrec.entryDescription": "Rozpoznanie przychodu dla harmonogramu {{scheduleId}}, okres {{periodStart}} - {{periodEnd}}",
|
|
62221
62540
|
"creditNotes.refundChargeName": "Zwrot za faktur\u0119",
|
|
@@ -62228,7 +62547,9 @@ var pl = {
|
|
|
62228
62547
|
"invoices.outstandingProduct.descriptionPeriod": "Nieop\u0142acona kwota z faktury{{invoiceNumber}} od {{periodStart}} do {{periodEnd}}",
|
|
62229
62548
|
"invoices.outstandingProduct.name": "Niezap\u0142acone saldo",
|
|
62230
62549
|
"invoices.prorata.paymentForItem": "P\u0142atno\u015B\u0107 proporcjonalna za",
|
|
62550
|
+
"invoices.prorata.paymentForItemFullPeriod": "P\u0142atno\u015B\u0107 za",
|
|
62231
62551
|
"invoices.prorata.refundForItem": "Zwrot proporcjonalny za",
|
|
62552
|
+
"invoices.prorata.refundForItemFullPeriod": "Zwrot za",
|
|
62232
62553
|
"subscriptions.closingChargeName": "Op\u0142ata za zamkni\u0119cie subskrypcji",
|
|
62233
62554
|
"subscriptions.correction": "Korekta poprzedniego okresu",
|
|
62234
62555
|
"subscriptions.updates.addCoupon": "Dodaj kupon {{couponName}}",
|
|
@@ -62252,10 +62573,12 @@ var pl = {
|
|
|
62252
62573
|
var pt = {
|
|
62253
62574
|
"accounting.invoicePosted.entryDescription": "Lan\xE7amento cont\xE1bil para a fatura {{invoiceId}}",
|
|
62254
62575
|
"accounting.transactionSettled.entryDescription": "Liquida\xE7\xE3o de pagamento para a fatura {{invoiceId}}",
|
|
62576
|
+
"accounting.transactionRefunded.entryDescription": "Reembolso da fatura {{invoiceId}}",
|
|
62255
62577
|
"accounting.creditNotePosted.entryDescription": "Nota de cr\xE9dito {{creditNoteId}} para a fatura {{invoiceId}}",
|
|
62256
62578
|
"accounting.revrec.creditLineDescription": "Reconhecer receita \u2013 cronograma {{scheduleId}}, per\xEDodo {{periodDate}}",
|
|
62257
62579
|
"accounting.revrec.debitLineDescription": "Diminui\xE7\xE3o da receita diferida \u2013 cronograma {{scheduleId}}, per\xEDodo {{periodDate}}",
|
|
62258
62580
|
"accounting.revrec.discountCreditLineDescription": "Reconhecer contra-receita (desconto) \u2013 cronograma {{scheduleId}}, per\xEDodo {{periodDate}}",
|
|
62581
|
+
"accounting.revrec.closedPeriodFallbackNote": " (lan\xE7ado no pr\xF3ximo per\xEDodo aberto \u2014 per\xEDodo cont\xE1bil de destino fechado; data original {{originalDate}})",
|
|
62259
62582
|
"accounting.revrec.discountDebitLineDescription": "Diminui\xE7\xE3o do desconto diferido \u2013 cronograma {{scheduleId}}, per\xEDodo {{periodDate}}",
|
|
62260
62583
|
"accounting.revrec.entryDescription": "Reconhecimento de receita para o cronograma {{scheduleId}}, per\xEDodo {{periodStart}} - {{periodEnd}}",
|
|
62261
62584
|
"creditNotes.refundChargeName": "Reembolso pela fatura",
|
|
@@ -62268,7 +62591,9 @@ var pt = {
|
|
|
62268
62591
|
"invoices.outstandingProduct.descriptionPeriod": "Valor em aberto da fatura{{invoiceNumber}} de {{periodStart}} a {{periodEnd}}",
|
|
62269
62592
|
"invoices.outstandingProduct.name": "Saldo em aberto",
|
|
62270
62593
|
"invoices.prorata.paymentForItem": "Pagamento proporcional por",
|
|
62594
|
+
"invoices.prorata.paymentForItemFullPeriod": "Pagamento por",
|
|
62271
62595
|
"invoices.prorata.refundForItem": "Reembolso proporcional por",
|
|
62596
|
+
"invoices.prorata.refundForItemFullPeriod": "Reembolso por",
|
|
62272
62597
|
"subscriptions.closingChargeName": "Taxa de encerramento da assinatura",
|
|
62273
62598
|
"subscriptions.correction": "Ajuste do per\xEDodo anterior",
|
|
62274
62599
|
"subscriptions.updates.addCoupon": "Adicionar cupom {{couponName}}",
|
|
@@ -62486,6 +62811,9 @@ import { StreamableHTTPServerTransport } from "@modelcontextprotocol/sdk/server/
|
|
|
62486
62811
|
|
|
62487
62812
|
// ../hyperline-mcp/build/server/server.js
|
|
62488
62813
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
62814
|
+
var defaultToolOutputSchema = {
|
|
62815
|
+
result: external_exports.unknown()
|
|
62816
|
+
};
|
|
62489
62817
|
|
|
62490
62818
|
// ../hyperline-mcp/build/session/sessionKey.js
|
|
62491
62819
|
import { createHmac } from "node:crypto";
|