@zernio/node 0.2.1478 → 0.2.1479

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.mts CHANGED
@@ -17826,6 +17826,10 @@ type TreasuryTopup = {
17826
17826
  status?: 'pending' | 'succeeded' | 'failed' | 'expired';
17827
17827
  createdAt?: string;
17828
17828
  succeededAt?: (string) | null;
17829
+ /**
17830
+ * A Stripe invoice exists for this payment (Checkout payments). Every paid payment has a card receipt; see getTopupReceipt.
17831
+ */
17832
+ hasInvoice?: boolean;
17829
17833
  };
17830
17834
  type method4 = 'card' | 'bank_transfer';
17831
17835
  /**
@@ -25924,6 +25928,14 @@ type GetTopupReceiptData = {
25924
25928
  type GetTopupReceiptResponse = ({
25925
25929
  url: string;
25926
25930
  format: 'pdf' | 'page';
25931
+ /**
25932
+ * The invoice PDF; null when the payment made no invoice.
25933
+ */
25934
+ invoiceUrl?: (string) | null;
25935
+ /**
25936
+ * Stripe's card receipt page for the charge.
25937
+ */
25938
+ receiptUrl?: (string) | null;
25927
25939
  /**
25928
25940
  * As in the top-up list.
25929
25941
  */
package/dist/index.d.ts CHANGED
@@ -17826,6 +17826,10 @@ type TreasuryTopup = {
17826
17826
  status?: 'pending' | 'succeeded' | 'failed' | 'expired';
17827
17827
  createdAt?: string;
17828
17828
  succeededAt?: (string) | null;
17829
+ /**
17830
+ * A Stripe invoice exists for this payment (Checkout payments). Every paid payment has a card receipt; see getTopupReceipt.
17831
+ */
17832
+ hasInvoice?: boolean;
17829
17833
  };
17830
17834
  type method4 = 'card' | 'bank_transfer';
17831
17835
  /**
@@ -25924,6 +25928,14 @@ type GetTopupReceiptData = {
25924
25928
  type GetTopupReceiptResponse = ({
25925
25929
  url: string;
25926
25930
  format: 'pdf' | 'page';
25931
+ /**
25932
+ * The invoice PDF; null when the payment made no invoice.
25933
+ */
25934
+ invoiceUrl?: (string) | null;
25935
+ /**
25936
+ * Stripe's card receipt page for the charge.
25937
+ */
25938
+ receiptUrl?: (string) | null;
25927
25939
  /**
25928
25940
  * As in the top-up list.
25929
25941
  */
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@zernio/node",
39
- version: "0.2.1478",
39
+ version: "0.2.1479",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@zernio/node",
8
- version: "0.2.1478",
8
+ version: "0.2.1479",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.1478",
3
+ "version": "0.2.1479",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -16237,6 +16237,10 @@ export type TreasuryTopup = {
16237
16237
  status?: 'pending' | 'succeeded' | 'failed' | 'expired';
16238
16238
  createdAt?: string;
16239
16239
  succeededAt?: (string) | null;
16240
+ /**
16241
+ * A Stripe invoice exists for this payment (Checkout payments). Every paid payment has a card receipt; see getTopupReceipt.
16242
+ */
16243
+ hasInvoice?: boolean;
16240
16244
  };
16241
16245
 
16242
16246
  export type method4 = 'card' | 'bank_transfer';
@@ -24715,6 +24719,14 @@ export type GetTopupReceiptData = {
24715
24719
  export type GetTopupReceiptResponse = ({
24716
24720
  url: string;
24717
24721
  format: 'pdf' | 'page';
24722
+ /**
24723
+ * The invoice PDF; null when the payment made no invoice.
24724
+ */
24725
+ invoiceUrl?: (string) | null;
24726
+ /**
24727
+ * Stripe's card receipt page for the charge.
24728
+ */
24729
+ receiptUrl?: (string) | null;
24718
24730
  /**
24719
24731
  * As in the top-up list.
24720
24732
  */