@delopay/sdk 0.227.0 → 0.228.0

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/index.d.cts CHANGED
@@ -7528,6 +7528,12 @@ interface ProfileCreateRequest {
7528
7528
  * on, they receive the payment id as before.
7529
7529
  */
7530
7530
  send_payment_id_to_processor?: boolean | null;
7531
+ /**
7532
+ * Whether the processor may see the cart line items. Unset or `false` (the
7533
+ * default) sends one neutral line for the order total instead, so methods
7534
+ * that require line items keep working; on, processors receive the items.
7535
+ */
7536
+ send_order_details_to_processor?: boolean | null;
7531
7537
  /**
7532
7538
  * The language this shop's hosted checkout renders in, as one BCP 47 tag
7533
7539
  * (e.g. `de`). Absent means the shop has not chosen one and the buyer's
@@ -7597,6 +7603,11 @@ interface ProfileUpdateRequest {
7597
7603
  * on, they receive the payment id as before.
7598
7604
  */
7599
7605
  send_payment_id_to_processor?: boolean | null;
7606
+ /**
7607
+ * Whether the processor may see the cart line items. Absent leaves the
7608
+ * setting unchanged; send `false` to withhold them again.
7609
+ */
7610
+ send_order_details_to_processor?: boolean | null;
7600
7611
  /**
7601
7612
  * The language this shop's hosted checkout renders in. Absent leaves it
7602
7613
  * unchanged; explicit `null` clears it again.
@@ -7628,6 +7639,8 @@ interface ProfileResponse {
7628
7639
  send_metadata_to_processor: boolean;
7629
7640
  /** Whether the shop's own payment id reaches processors; off, they receive the opaque processor reference instead. */
7630
7641
  send_payment_id_to_processor: boolean;
7642
+ /** Whether the cart line items reach processors; off, they receive one neutral line for the order total instead. */
7643
+ send_order_details_to_processor: boolean;
7631
7644
  is_tax_connector_enabled: boolean;
7632
7645
  is_network_tokenization_enabled: boolean;
7633
7646
  is_auto_retries_enabled: boolean;
@@ -20695,9 +20708,15 @@ declare class Invoices {
20695
20708
  */
20696
20709
  listForProduct(productId: string, params?: Omit<InvoiceListQuery, 'product_id'>, options?: RequestExtras): Promise<InvoiceList>;
20697
20710
  /**
20698
- * The documents of one period as CSV (`text/csv; charset=utf-8`), with the
20699
- * list's filters. Amounts are decimal in each document's currency; drafts
20700
- * have an empty number.
20711
+ * The documents of one period, with the list's filters, as CSV
20712
+ * (`text/csv; charset=utf-8`) by default. Amounts are decimal in each
20713
+ * document's currency; drafts have an empty number.
20714
+ *
20715
+ * Another file is asked for with `Accept` in `options.headers`:
20716
+ * `application/json` (the rows as `records`, with `record_count` and the
20717
+ * filters applied), `application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`
20718
+ * (an Excel workbook) or `application/zip` (the stored PDF of every issued or
20719
+ * voided document, with the CSV as `invoices.csv`; at most 500 documents).
20701
20720
  * `GET /invoices/export`
20702
20721
  */
20703
20722
  export(params: InvoiceExportParams, options?: RequestExtras): Promise<Blob>;
package/dist/index.d.ts CHANGED
@@ -7528,6 +7528,12 @@ interface ProfileCreateRequest {
7528
7528
  * on, they receive the payment id as before.
7529
7529
  */
7530
7530
  send_payment_id_to_processor?: boolean | null;
7531
+ /**
7532
+ * Whether the processor may see the cart line items. Unset or `false` (the
7533
+ * default) sends one neutral line for the order total instead, so methods
7534
+ * that require line items keep working; on, processors receive the items.
7535
+ */
7536
+ send_order_details_to_processor?: boolean | null;
7531
7537
  /**
7532
7538
  * The language this shop's hosted checkout renders in, as one BCP 47 tag
7533
7539
  * (e.g. `de`). Absent means the shop has not chosen one and the buyer's
@@ -7597,6 +7603,11 @@ interface ProfileUpdateRequest {
7597
7603
  * on, they receive the payment id as before.
7598
7604
  */
7599
7605
  send_payment_id_to_processor?: boolean | null;
7606
+ /**
7607
+ * Whether the processor may see the cart line items. Absent leaves the
7608
+ * setting unchanged; send `false` to withhold them again.
7609
+ */
7610
+ send_order_details_to_processor?: boolean | null;
7600
7611
  /**
7601
7612
  * The language this shop's hosted checkout renders in. Absent leaves it
7602
7613
  * unchanged; explicit `null` clears it again.
@@ -7628,6 +7639,8 @@ interface ProfileResponse {
7628
7639
  send_metadata_to_processor: boolean;
7629
7640
  /** Whether the shop's own payment id reaches processors; off, they receive the opaque processor reference instead. */
7630
7641
  send_payment_id_to_processor: boolean;
7642
+ /** Whether the cart line items reach processors; off, they receive one neutral line for the order total instead. */
7643
+ send_order_details_to_processor: boolean;
7631
7644
  is_tax_connector_enabled: boolean;
7632
7645
  is_network_tokenization_enabled: boolean;
7633
7646
  is_auto_retries_enabled: boolean;
@@ -20695,9 +20708,15 @@ declare class Invoices {
20695
20708
  */
20696
20709
  listForProduct(productId: string, params?: Omit<InvoiceListQuery, 'product_id'>, options?: RequestExtras): Promise<InvoiceList>;
20697
20710
  /**
20698
- * The documents of one period as CSV (`text/csv; charset=utf-8`), with the
20699
- * list's filters. Amounts are decimal in each document's currency; drafts
20700
- * have an empty number.
20711
+ * The documents of one period, with the list's filters, as CSV
20712
+ * (`text/csv; charset=utf-8`) by default. Amounts are decimal in each
20713
+ * document's currency; drafts have an empty number.
20714
+ *
20715
+ * Another file is asked for with `Accept` in `options.headers`:
20716
+ * `application/json` (the rows as `records`, with `record_count` and the
20717
+ * filters applied), `application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`
20718
+ * (an Excel workbook) or `application/zip` (the stored PDF of every issued or
20719
+ * voided document, with the CSV as `invoices.csv`; at most 500 documents).
20701
20720
  * `GET /invoices/export`
20702
20721
  */
20703
20722
  export(params: InvoiceExportParams, options?: RequestExtras): Promise<Blob>;
package/dist/index.js CHANGED
@@ -222,7 +222,7 @@ import {
222
222
  validatePanes,
223
223
  verticalGapValue,
224
224
  visibleCustomFields
225
- } from "./chunk-J6JKP5UX.js";
225
+ } from "./chunk-UVKPIUOO.js";
226
226
  export {
227
227
  AIRWALLEX_AUTOFILL_TREATMENTS,
228
228
  AIRWALLEX_CARD_LAYOUTS,
package/dist/internal.cjs CHANGED
@@ -6201,9 +6201,15 @@ var Invoices = class {
6201
6201
  });
6202
6202
  }
6203
6203
  /**
6204
- * The documents of one period as CSV (`text/csv; charset=utf-8`), with the
6205
- * list's filters. Amounts are decimal in each document's currency; drafts
6206
- * have an empty number.
6204
+ * The documents of one period, with the list's filters, as CSV
6205
+ * (`text/csv; charset=utf-8`) by default. Amounts are decimal in each
6206
+ * document's currency; drafts have an empty number.
6207
+ *
6208
+ * Another file is asked for with `Accept` in `options.headers`:
6209
+ * `application/json` (the rows as `records`, with `record_count` and the
6210
+ * filters applied), `application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`
6211
+ * (an Excel workbook) or `application/zip` (the stored PDF of every issued or
6212
+ * voided document, with the CSV as `invoices.csv`; at most 500 documents).
6207
6213
  * `GET /invoices/export`
6208
6214
  */
6209
6215
  async export(params, options) {