@blindpay/node 3.6.0 → 3.9.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.
Files changed (89) hide show
  1. package/dist/{api-client-Bklw4zQi.d.ts → api-client-BWImXDBx.d.ts} +1 -1
  2. package/dist/{api-client-BlkRiojB.d.mts → api-client-L9eGwH1U.d.mts} +1 -1
  3. package/dist/{chunk-HWFZN3VU.mjs → chunk-CLGWJEUF.mjs} +2 -2
  4. package/dist/{chunk-UOAM7SX3.mjs → chunk-HKWPAL4R.mjs} +10 -0
  5. package/dist/{index.d-Gvol1faW.d.mts → index.d-DK8eD9f3.d.mts} +6 -4
  6. package/dist/{index.d-Gvol1faW.d.ts → index.d-DK8eD9f3.d.ts} +6 -4
  7. package/dist/index.d.mts +4 -4
  8. package/dist/index.d.ts +4 -4
  9. package/dist/index.js +11 -1
  10. package/dist/index.mjs +2 -2
  11. package/dist/resources/api-keys/api-keys.test.js +11 -1
  12. package/dist/resources/api-keys/api-keys.test.mjs +2 -2
  13. package/dist/resources/api-keys/index.d.mts +2 -2
  14. package/dist/resources/api-keys/index.d.ts +2 -2
  15. package/dist/resources/available/available.test.js +11 -1
  16. package/dist/resources/available/available.test.mjs +2 -2
  17. package/dist/resources/available/index.d.mts +2 -2
  18. package/dist/resources/available/index.d.ts +2 -2
  19. package/dist/resources/bank-accounts/bank-accounts.test.js +11 -1
  20. package/dist/resources/bank-accounts/bank-accounts.test.mjs +2 -2
  21. package/dist/resources/bank-accounts/index.d.mts +25 -3
  22. package/dist/resources/bank-accounts/index.d.ts +25 -3
  23. package/dist/resources/bank-accounts/index.js +10 -0
  24. package/dist/resources/bank-accounts/index.mjs +1 -1
  25. package/dist/resources/fees/fees.test.js +12 -1
  26. package/dist/resources/fees/fees.test.mjs +3 -2
  27. package/dist/resources/fees/index.d.mts +3 -2
  28. package/dist/resources/fees/index.d.ts +3 -2
  29. package/dist/resources/instances/index.d.mts +2 -2
  30. package/dist/resources/instances/index.d.ts +2 -2
  31. package/dist/resources/instances/instances.test.js +11 -1
  32. package/dist/resources/instances/instances.test.mjs +2 -2
  33. package/dist/resources/partner-fees/index.d.mts +2 -2
  34. package/dist/resources/partner-fees/index.d.ts +2 -2
  35. package/dist/resources/partner-fees/partner-fees.test.js +11 -1
  36. package/dist/resources/partner-fees/partner-fees.test.mjs +2 -2
  37. package/dist/resources/payins/index.d.mts +14 -2
  38. package/dist/resources/payins/index.d.ts +14 -2
  39. package/dist/resources/payins/payins-quotes.test.js +13 -3
  40. package/dist/resources/payins/payins-quotes.test.mjs +4 -4
  41. package/dist/resources/payins/payins.test.js +31 -1
  42. package/dist/resources/payins/payins.test.mjs +22 -2
  43. package/dist/resources/payins/quotes.d.mts +4 -4
  44. package/dist/resources/payins/quotes.d.ts +4 -4
  45. package/dist/resources/payouts/index.d.mts +7 -3
  46. package/dist/resources/payouts/index.d.ts +7 -3
  47. package/dist/resources/payouts/payouts.test.js +11 -1
  48. package/dist/resources/payouts/payouts.test.mjs +2 -2
  49. package/dist/resources/quotes/index.d.mts +2 -2
  50. package/dist/resources/quotes/index.d.ts +2 -2
  51. package/dist/resources/quotes/quotes.test.js +11 -1
  52. package/dist/resources/quotes/quotes.test.mjs +2 -2
  53. package/dist/resources/receivers/index.d.mts +6 -7
  54. package/dist/resources/receivers/index.d.ts +6 -7
  55. package/dist/resources/receivers/receivers.test.js +12 -2
  56. package/dist/resources/receivers/receivers.test.mjs +3 -3
  57. package/dist/resources/terms-of-service/index.d.mts +2 -2
  58. package/dist/resources/terms-of-service/index.d.ts +2 -2
  59. package/dist/resources/terms-of-service/terms-of-service.test.js +11 -1
  60. package/dist/resources/terms-of-service/terms-of-service.test.mjs +2 -2
  61. package/dist/resources/transfers/index.d.mts +2 -2
  62. package/dist/resources/transfers/index.d.ts +2 -2
  63. package/dist/resources/transfers/transfers.test.js +11 -1
  64. package/dist/resources/transfers/transfers.test.mjs +2 -2
  65. package/dist/resources/upload/index.d.mts +1 -1
  66. package/dist/resources/upload/index.d.ts +1 -1
  67. package/dist/resources/upload/upload.test.js +11 -1
  68. package/dist/resources/upload/upload.test.mjs +2 -2
  69. package/dist/resources/virtual-accounts/index.d.mts +3 -3
  70. package/dist/resources/virtual-accounts/index.d.ts +3 -3
  71. package/dist/resources/virtual-accounts/virtual-accounts.test.js +11 -1
  72. package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +2 -2
  73. package/dist/resources/wallets/blockchain.d.mts +2 -2
  74. package/dist/resources/wallets/blockchain.d.ts +2 -2
  75. package/dist/resources/wallets/blockchain.test.js +11 -1
  76. package/dist/resources/wallets/blockchain.test.mjs +2 -2
  77. package/dist/resources/wallets/custodial.d.mts +2 -2
  78. package/dist/resources/wallets/custodial.d.ts +2 -2
  79. package/dist/resources/wallets/custodial.test.js +11 -1
  80. package/dist/resources/wallets/custodial.test.mjs +2 -2
  81. package/dist/resources/wallets/offramp.d.mts +2 -2
  82. package/dist/resources/wallets/offramp.d.ts +2 -2
  83. package/dist/resources/wallets/offramp.test.js +11 -1
  84. package/dist/resources/wallets/offramp.test.mjs +2 -2
  85. package/dist/resources/webhooks/index.d.mts +2 -2
  86. package/dist/resources/webhooks/index.d.ts +2 -2
  87. package/dist/resources/webhooks/webhooks.test.js +11 -1
  88. package/dist/resources/webhooks/webhooks.test.mjs +2 -2
  89. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
- import { B as BlindpayApiResponse } from '../../index.d-Gvol1faW.js';
2
- import { I as InternalApiClient } from '../../api-client-Bklw4zQi.js';
1
+ import { B as BlindpayApiResponse } from '../../index.d-DK8eD9f3.js';
2
+ import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
3
3
 
4
4
  type FeeOptions = {
5
5
  payin_flat: number;
@@ -26,6 +26,7 @@ type GetFeesResponse = {
26
26
  arbitrum: FeeOptions;
27
27
  stellar: FeeOptions;
28
28
  solana: FeeOptions;
29
+ ted: FeeOptions;
29
30
  created_at: string;
30
31
  updated_at: string;
31
32
  };
@@ -1,5 +1,5 @@
1
- import { B as BlindpayApiResponse } from '../../index.d-Gvol1faW.mjs';
2
- import { I as InternalApiClient } from '../../api-client-BlkRiojB.mjs';
1
+ import { B as BlindpayApiResponse } from '../../index.d-DK8eD9f3.mjs';
2
+ import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
3
3
 
4
4
  type InstanceMemberRole = "owner" | "admin" | "finance" | "checker" | "operations" | "developer" | "viewer";
5
5
  type GetInstanceMembersResponse = Array<{
@@ -1,5 +1,5 @@
1
- import { B as BlindpayApiResponse } from '../../index.d-Gvol1faW.js';
2
- import { I as InternalApiClient } from '../../api-client-Bklw4zQi.js';
1
+ import { B as BlindpayApiResponse } from '../../index.d-DK8eD9f3.js';
2
+ import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
3
3
 
4
4
  type InstanceMemberRole = "owner" | "admin" | "finance" | "checker" | "operations" | "developer" | "viewer";
5
5
  type GetInstanceMembersResponse = Array<{
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18702
18702
  var import_svix = require("svix");
18703
18703
 
18704
18704
  // package.json
18705
- var version = "3.6.0";
18705
+ var version = "3.9.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18865,6 +18865,16 @@ function createBankAccountsResource(instanceId, client) {
18865
18865
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18866
18866
  type: "rtp"
18867
18867
  }, data));
18868
+ },
18869
+ createTed(_u) {
18870
+ var _v = _u, {
18871
+ receiver_id
18872
+ } = _v, data = __objRest(_v, [
18873
+ "receiver_id"
18874
+ ]);
18875
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18876
+ type: "ted"
18877
+ }, data));
18868
18878
  }
18869
18879
  };
18870
18880
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-HWFZN3VU.mjs";
11
+ } from "../../chunk-CLGWJEUF.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -27,7 +27,7 @@ import "../../chunk-RC5NN5UF.mjs";
27
27
  import "../../chunk-VGU72ZNI.mjs";
28
28
  import "../../chunk-LRHWT4JU.mjs";
29
29
  import "../../chunk-WE73MTQL.mjs";
30
- import "../../chunk-UOAM7SX3.mjs";
30
+ import "../../chunk-HKWPAL4R.mjs";
31
31
  import {
32
32
  __async,
33
33
  __commonJS
@@ -1,5 +1,5 @@
1
- import { B as BlindpayApiResponse } from '../../index.d-Gvol1faW.mjs';
2
- import { I as InternalApiClient } from '../../api-client-BlkRiojB.mjs';
1
+ import { B as BlindpayApiResponse } from '../../index.d-DK8eD9f3.mjs';
2
+ import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
3
3
 
4
4
  type ListPartnerFeesResponse = Array<{
5
5
  id: string;
@@ -1,5 +1,5 @@
1
- import { B as BlindpayApiResponse } from '../../index.d-Gvol1faW.js';
2
- import { I as InternalApiClient } from '../../api-client-Bklw4zQi.js';
1
+ import { B as BlindpayApiResponse } from '../../index.d-DK8eD9f3.js';
2
+ import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
3
3
 
4
4
  type ListPartnerFeesResponse = Array<{
5
5
  id: string;
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18702
18702
  var import_svix = require("svix");
18703
18703
 
18704
18704
  // package.json
18705
- var version = "3.6.0";
18705
+ var version = "3.9.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18865,6 +18865,16 @@ function createBankAccountsResource(instanceId, client) {
18865
18865
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18866
18866
  type: "rtp"
18867
18867
  }, data));
18868
+ },
18869
+ createTed(_u) {
18870
+ var _v = _u, {
18871
+ receiver_id
18872
+ } = _v, data = __objRest(_v, [
18873
+ "receiver_id"
18874
+ ]);
18875
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18876
+ type: "ted"
18877
+ }, data));
18868
18878
  }
18869
18879
  };
18870
18880
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-HWFZN3VU.mjs";
11
+ } from "../../chunk-CLGWJEUF.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -27,7 +27,7 @@ import "../../chunk-RC5NN5UF.mjs";
27
27
  import "../../chunk-VGU72ZNI.mjs";
28
28
  import "../../chunk-LRHWT4JU.mjs";
29
29
  import "../../chunk-WE73MTQL.mjs";
30
- import "../../chunk-UOAM7SX3.mjs";
30
+ import "../../chunk-HKWPAL4R.mjs";
31
31
  import {
32
32
  __async,
33
33
  __commonJS
@@ -1,5 +1,5 @@
1
- import { P as PaginationParams, T as TransactionStatus, B as BlindpayApiResponse, e as PayinTrackingTransaction, f as PayinTrackingPayment, g as PayinTrackingComplete, h as PayinTrackingPartnerFee, A as AccountClass, i as PayinPaymentMethod, S as StablecoinToken, j as Currency, k as PayerRules, N as Network, b as AchCopDocument, l as PaginationMetadata } from '../../index.d-Gvol1faW.mjs';
2
- import { I as InternalApiClient } from '../../api-client-BlkRiojB.mjs';
1
+ import { P as PaginationParams, T as TransactionStatus, B as BlindpayApiResponse, e as PayinTrackingTransaction, f as PayinTrackingPayment, g as PayinTrackingComplete, h as PayinTrackingPartnerFee, A as AccountClass, i as PayinPaymentMethod, S as StablecoinToken, j as Currency, k as PayerRules, N as Network, b as AchCopDocument, l as PaginationMetadata } from '../../index.d-DK8eD9f3.mjs';
2
+ import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
3
3
 
4
4
  type BlindpayBankDetails = {
5
5
  routing_number: string;
@@ -23,6 +23,17 @@ type BlindpayBankDetails = {
23
23
  address_line_1: string;
24
24
  address_line_2: string;
25
25
  };
26
+ receiving_bank: {
27
+ name: string;
28
+ address_line_1: string;
29
+ address_line_2: string;
30
+ };
31
+ swift_account_number?: string | null;
32
+ swift_receiving_bank?: {
33
+ name: string | null;
34
+ address_line_1: string | null;
35
+ address_line_2: string | null;
36
+ } | null;
26
37
  };
27
38
  type Payin = {
28
39
  id: string;
@@ -48,6 +59,7 @@ type Payin = {
48
59
  sender_amount: number;
49
60
  receiver_amount: number;
50
61
  token: StablecoinToken;
62
+ partner_fee_id?: string | null;
51
63
  partner_fee_amount?: number | null;
52
64
  total_fee_amount?: number | null;
53
65
  commercial_quotation: number;
@@ -1,5 +1,5 @@
1
- import { P as PaginationParams, T as TransactionStatus, B as BlindpayApiResponse, e as PayinTrackingTransaction, f as PayinTrackingPayment, g as PayinTrackingComplete, h as PayinTrackingPartnerFee, A as AccountClass, i as PayinPaymentMethod, S as StablecoinToken, j as Currency, k as PayerRules, N as Network, b as AchCopDocument, l as PaginationMetadata } from '../../index.d-Gvol1faW.js';
2
- import { I as InternalApiClient } from '../../api-client-Bklw4zQi.js';
1
+ import { P as PaginationParams, T as TransactionStatus, B as BlindpayApiResponse, e as PayinTrackingTransaction, f as PayinTrackingPayment, g as PayinTrackingComplete, h as PayinTrackingPartnerFee, A as AccountClass, i as PayinPaymentMethod, S as StablecoinToken, j as Currency, k as PayerRules, N as Network, b as AchCopDocument, l as PaginationMetadata } from '../../index.d-DK8eD9f3.js';
2
+ import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
3
3
 
4
4
  type BlindpayBankDetails = {
5
5
  routing_number: string;
@@ -23,6 +23,17 @@ type BlindpayBankDetails = {
23
23
  address_line_1: string;
24
24
  address_line_2: string;
25
25
  };
26
+ receiving_bank: {
27
+ name: string;
28
+ address_line_1: string;
29
+ address_line_2: string;
30
+ };
31
+ swift_account_number?: string | null;
32
+ swift_receiving_bank?: {
33
+ name: string | null;
34
+ address_line_1: string | null;
35
+ address_line_2: string | null;
36
+ } | null;
26
37
  };
27
38
  type Payin = {
28
39
  id: string;
@@ -48,6 +59,7 @@ type Payin = {
48
59
  sender_amount: number;
49
60
  receiver_amount: number;
50
61
  token: StablecoinToken;
62
+ partner_fee_id?: string | null;
51
63
  partner_fee_amount?: number | null;
52
64
  total_fee_amount?: number | null;
53
65
  commercial_quotation: number;
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18702
18702
  var import_svix = require("svix");
18703
18703
 
18704
18704
  // package.json
18705
- var version = "3.6.0";
18705
+ var version = "3.9.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18865,6 +18865,16 @@ function createBankAccountsResource(instanceId, client) {
18865
18865
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18866
18866
  type: "rtp"
18867
18867
  }, data));
18868
+ },
18869
+ createTed(_u) {
18870
+ var _v = _u, {
18871
+ receiver_id
18872
+ } = _v, data = __objRest(_v, [
18873
+ "receiver_id"
18874
+ ]);
18875
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18876
+ type: "ted"
18877
+ }, data));
18868
18878
  }
18869
18879
  };
18870
18880
  }
@@ -19558,8 +19568,8 @@ describe("Payin quotes", () => {
19558
19568
  });
19559
19569
  const { data, error } = yield blindpay.payins.quotes.getFxRate({
19560
19570
  currency_type: "sender",
19561
- from: "USD",
19562
- to: "BRL",
19571
+ from: "BRL",
19572
+ to: "USDC",
19563
19573
  request_amount: 1e3
19564
19574
  });
19565
19575
  globalExpect(error).toBeNull();
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-HWFZN3VU.mjs";
11
+ } from "../../chunk-CLGWJEUF.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -27,7 +27,7 @@ import "../../chunk-RC5NN5UF.mjs";
27
27
  import "../../chunk-VGU72ZNI.mjs";
28
28
  import "../../chunk-LRHWT4JU.mjs";
29
29
  import "../../chunk-WE73MTQL.mjs";
30
- import "../../chunk-UOAM7SX3.mjs";
30
+ import "../../chunk-HKWPAL4R.mjs";
31
31
  import {
32
32
  __async,
33
33
  __commonJS
@@ -86,8 +86,8 @@ var require_payins_quotes_test = __commonJS({
86
86
  });
87
87
  const { data, error } = yield blindpay.payins.quotes.getFxRate({
88
88
  currency_type: "sender",
89
- from: "USD",
90
- to: "BRL",
89
+ from: "BRL",
90
+ to: "USDC",
91
91
  request_amount: 1e3
92
92
  });
93
93
  globalExpect(error).toBeNull();
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18702
18702
  var import_svix = require("svix");
18703
18703
 
18704
18704
  // package.json
18705
- var version = "3.6.0";
18705
+ var version = "3.9.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18865,6 +18865,16 @@ function createBankAccountsResource(instanceId, client) {
18865
18865
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18866
18866
  type: "rtp"
18867
18867
  }, data));
18868
+ },
18869
+ createTed(_u) {
18870
+ var _v = _u, {
18871
+ receiver_id
18872
+ } = _v, data = __objRest(_v, [
18873
+ "receiver_id"
18874
+ ]);
18875
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18876
+ type: "ted"
18877
+ }, data));
18868
18878
  }
18869
18879
  };
18870
18880
  }
@@ -19610,6 +19620,11 @@ describe("Payins", () => {
19610
19620
  name: "BlindPay, Inc.",
19611
19621
  address_line_1: "8 The Green, #19364",
19612
19622
  address_line_2: "Dover, DE 19901"
19623
+ },
19624
+ receiving_bank: {
19625
+ name: "CFSB",
19626
+ address_line_1: "1 Letterman Drive, Building A, Suite A4-700",
19627
+ address_line_2: "San Francisco, CA 94129"
19613
19628
  }
19614
19629
  }
19615
19630
  }
@@ -19723,6 +19738,11 @@ describe("Payins", () => {
19723
19738
  name: "BlindPay, Inc.",
19724
19739
  address_line_1: "8 The Green, #19364",
19725
19740
  address_line_2: "Dover, DE 19901"
19741
+ },
19742
+ receiving_bank: {
19743
+ name: "CFSB",
19744
+ address_line_1: "1 Letterman Drive, Building A, Suite A4-700",
19745
+ address_line_2: "San Francisco, CA 94129"
19726
19746
  }
19727
19747
  }
19728
19748
  };
@@ -19829,6 +19849,11 @@ describe("Payins", () => {
19829
19849
  name: "BlindPay, Inc.",
19830
19850
  address_line_1: "8 The Green, #19364",
19831
19851
  address_line_2: "Dover, DE 19901"
19852
+ },
19853
+ receiving_bank: {
19854
+ name: "CFSB",
19855
+ address_line_1: "1 Letterman Drive, Building A, Suite A4-700",
19856
+ address_line_2: "San Francisco, CA 94129"
19832
19857
  }
19833
19858
  }
19834
19859
  };
@@ -19912,6 +19937,11 @@ describe("Payins", () => {
19912
19937
  name: "BlindPay, Inc.",
19913
19938
  address_line_1: "8 The Green, #19364",
19914
19939
  address_line_2: "Dover, DE 19901"
19940
+ },
19941
+ receiving_bank: {
19942
+ name: "CFSB",
19943
+ address_line_1: "1 Letterman Drive, Building A, Suite A4-700",
19944
+ address_line_2: "San Francisco, CA 94129"
19915
19945
  }
19916
19946
  },
19917
19947
  receiver_id: "re_000000000000",
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-HWFZN3VU.mjs";
11
+ } from "../../chunk-CLGWJEUF.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -27,7 +27,7 @@ import "../../chunk-RC5NN5UF.mjs";
27
27
  import "../../chunk-VGU72ZNI.mjs";
28
28
  import "../../chunk-LRHWT4JU.mjs";
29
29
  import "../../chunk-WE73MTQL.mjs";
30
- import "../../chunk-UOAM7SX3.mjs";
30
+ import "../../chunk-HKWPAL4R.mjs";
31
31
  import {
32
32
  __async,
33
33
  __commonJS
@@ -138,6 +138,11 @@ var require_payins_test = __commonJS({
138
138
  name: "BlindPay, Inc.",
139
139
  address_line_1: "8 The Green, #19364",
140
140
  address_line_2: "Dover, DE 19901"
141
+ },
142
+ receiving_bank: {
143
+ name: "CFSB",
144
+ address_line_1: "1 Letterman Drive, Building A, Suite A4-700",
145
+ address_line_2: "San Francisco, CA 94129"
141
146
  }
142
147
  }
143
148
  }
@@ -251,6 +256,11 @@ var require_payins_test = __commonJS({
251
256
  name: "BlindPay, Inc.",
252
257
  address_line_1: "8 The Green, #19364",
253
258
  address_line_2: "Dover, DE 19901"
259
+ },
260
+ receiving_bank: {
261
+ name: "CFSB",
262
+ address_line_1: "1 Letterman Drive, Building A, Suite A4-700",
263
+ address_line_2: "San Francisco, CA 94129"
254
264
  }
255
265
  }
256
266
  };
@@ -357,6 +367,11 @@ var require_payins_test = __commonJS({
357
367
  name: "BlindPay, Inc.",
358
368
  address_line_1: "8 The Green, #19364",
359
369
  address_line_2: "Dover, DE 19901"
370
+ },
371
+ receiving_bank: {
372
+ name: "CFSB",
373
+ address_line_1: "1 Letterman Drive, Building A, Suite A4-700",
374
+ address_line_2: "San Francisco, CA 94129"
360
375
  }
361
376
  }
362
377
  };
@@ -440,6 +455,11 @@ var require_payins_test = __commonJS({
440
455
  name: "BlindPay, Inc.",
441
456
  address_line_1: "8 The Green, #19364",
442
457
  address_line_2: "Dover, DE 19901"
458
+ },
459
+ receiving_bank: {
460
+ name: "CFSB",
461
+ address_line_1: "1 Letterman Drive, Building A, Suite A4-700",
462
+ address_line_2: "San Francisco, CA 94129"
443
463
  }
444
464
  },
445
465
  receiver_id: "re_000000000000",
@@ -1,5 +1,5 @@
1
- import { m as CurrencyType, i as PayinPaymentMethod, S as StablecoinToken, k as PayerRules, B as BlindpayApiResponse, j as Currency } from '../../index.d-Gvol1faW.mjs';
2
- import { I as InternalApiClient } from '../../api-client-BlkRiojB.mjs';
1
+ import { m as CurrencyType, i as PayinPaymentMethod, S as StablecoinToken, k as PayerRules, B as BlindpayApiResponse, j as Currency } from '../../index.d-DK8eD9f3.mjs';
2
+ import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
3
3
 
4
4
  type CreatePayinQuoteInput = {
5
5
  blockchain_wallet_id: string;
@@ -26,8 +26,8 @@ type CreatePayinQuoteResponse = {
26
26
  };
27
27
  type GetPayinFxRateInput = {
28
28
  currency_type: CurrencyType;
29
- from: Currency;
30
- to: Currency;
29
+ from: Extract<Currency, "BRL" | "USD" | "MXN" | "COP" | "ARS">;
30
+ to: Extract<Currency, "USDC" | "USDT" | "USDB">;
31
31
  request_amount: number;
32
32
  };
33
33
  type GetPayinFxRateResponse = {
@@ -1,5 +1,5 @@
1
- import { m as CurrencyType, i as PayinPaymentMethod, S as StablecoinToken, k as PayerRules, B as BlindpayApiResponse, j as Currency } from '../../index.d-Gvol1faW.js';
2
- import { I as InternalApiClient } from '../../api-client-Bklw4zQi.js';
1
+ import { m as CurrencyType, i as PayinPaymentMethod, S as StablecoinToken, k as PayerRules, B as BlindpayApiResponse, j as Currency } from '../../index.d-DK8eD9f3.js';
2
+ import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
3
3
 
4
4
  type CreatePayinQuoteInput = {
5
5
  blockchain_wallet_id: string;
@@ -26,8 +26,8 @@ type CreatePayinQuoteResponse = {
26
26
  };
27
27
  type GetPayinFxRateInput = {
28
28
  currency_type: CurrencyType;
29
- from: Currency;
30
- to: Currency;
29
+ from: Extract<Currency, "BRL" | "USD" | "MXN" | "COP" | "ARS">;
30
+ to: Extract<Currency, "USDC" | "USDT" | "USDB">;
31
31
  request_amount: number;
32
32
  };
33
33
  type GetPayinFxRateResponse = {
@@ -1,5 +1,5 @@
1
- import { P as PaginationParams, B as BlindpayApiResponse, T as TransactionStatus, n as PayoutTrackingTransaction, o as PayoutTrackingPayment, p as PayoutTrackingLiquidity, q as PayoutTrackingComplete, r as PayoutTrackingPartnerFee, N as Network, S as StablecoinToken, j as Currency, s as TransactionDocumentType, R as Rail, C as Country, A as AccountClass, a as BankAccountType, l as PaginationMetadata } from '../../index.d-Gvol1faW.mjs';
2
- import { I as InternalApiClient } from '../../api-client-BlkRiojB.mjs';
1
+ import { P as PaginationParams, B as BlindpayApiResponse, T as TransactionStatus, n as PayoutTrackingTransaction, o as PayoutTrackingPayment, p as PayoutTrackingLiquidity, q as PayoutTrackingComplete, r as PayoutTrackingPartnerFee, N as Network, S as StablecoinToken, j as Currency, s as TransactionDocumentType, R as Rail, C as Country, A as AccountClass, a as BankAccountType, l as PaginationMetadata } from '../../index.d-DK8eD9f3.mjs';
2
+ import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
3
3
 
4
4
  type SpeiProtocol = "clabe" | "debitcard" | "phonenum";
5
5
  type Payout = {
@@ -26,12 +26,13 @@ type Payout = {
26
26
  description: string;
27
27
  sender_amount: number;
28
28
  receiver_amount: number;
29
+ partner_fee_id?: string | null;
29
30
  partner_fee_amount: number;
30
31
  commercial_quotation: number;
31
32
  blindpay_quotation: number;
32
33
  total_fee_amount: number;
33
34
  receiver_local_amount: number;
34
- currency: Exclude<Currency, "USDT" | "USDB">;
35
+ currency: Exclude<Currency, "USDB" | "USDC" | "USDT">;
35
36
  transaction_document_file: string;
36
37
  transaction_document_type: TransactionDocumentType;
37
38
  transaction_document_id: string;
@@ -68,6 +69,9 @@ type Payout = {
68
69
  has_virtual_account: boolean;
69
70
  billing_fee_amount?: string | null;
70
71
  jpm_track_data?: Record<string, unknown> | string | null;
72
+ ted_bank_code?: string | null;
73
+ ted_branch_code?: string | null;
74
+ ted_cpf_cnpj?: string | null;
71
75
  };
72
76
  type ListPayoutsInput = PaginationParams & {
73
77
  receiver_id?: string;
@@ -1,5 +1,5 @@
1
- import { P as PaginationParams, B as BlindpayApiResponse, T as TransactionStatus, n as PayoutTrackingTransaction, o as PayoutTrackingPayment, p as PayoutTrackingLiquidity, q as PayoutTrackingComplete, r as PayoutTrackingPartnerFee, N as Network, S as StablecoinToken, j as Currency, s as TransactionDocumentType, R as Rail, C as Country, A as AccountClass, a as BankAccountType, l as PaginationMetadata } from '../../index.d-Gvol1faW.js';
2
- import { I as InternalApiClient } from '../../api-client-Bklw4zQi.js';
1
+ import { P as PaginationParams, B as BlindpayApiResponse, T as TransactionStatus, n as PayoutTrackingTransaction, o as PayoutTrackingPayment, p as PayoutTrackingLiquidity, q as PayoutTrackingComplete, r as PayoutTrackingPartnerFee, N as Network, S as StablecoinToken, j as Currency, s as TransactionDocumentType, R as Rail, C as Country, A as AccountClass, a as BankAccountType, l as PaginationMetadata } from '../../index.d-DK8eD9f3.js';
2
+ import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
3
3
 
4
4
  type SpeiProtocol = "clabe" | "debitcard" | "phonenum";
5
5
  type Payout = {
@@ -26,12 +26,13 @@ type Payout = {
26
26
  description: string;
27
27
  sender_amount: number;
28
28
  receiver_amount: number;
29
+ partner_fee_id?: string | null;
29
30
  partner_fee_amount: number;
30
31
  commercial_quotation: number;
31
32
  blindpay_quotation: number;
32
33
  total_fee_amount: number;
33
34
  receiver_local_amount: number;
34
- currency: Exclude<Currency, "USDT" | "USDB">;
35
+ currency: Exclude<Currency, "USDB" | "USDC" | "USDT">;
35
36
  transaction_document_file: string;
36
37
  transaction_document_type: TransactionDocumentType;
37
38
  transaction_document_id: string;
@@ -68,6 +69,9 @@ type Payout = {
68
69
  has_virtual_account: boolean;
69
70
  billing_fee_amount?: string | null;
70
71
  jpm_track_data?: Record<string, unknown> | string | null;
72
+ ted_bank_code?: string | null;
73
+ ted_branch_code?: string | null;
74
+ ted_cpf_cnpj?: string | null;
71
75
  };
72
76
  type ListPayoutsInput = PaginationParams & {
73
77
  receiver_id?: string;
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18702
18702
  var import_svix = require("svix");
18703
18703
 
18704
18704
  // package.json
18705
- var version = "3.6.0";
18705
+ var version = "3.9.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18865,6 +18865,16 @@ function createBankAccountsResource(instanceId, client) {
18865
18865
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18866
18866
  type: "rtp"
18867
18867
  }, data));
18868
+ },
18869
+ createTed(_u) {
18870
+ var _v = _u, {
18871
+ receiver_id
18872
+ } = _v, data = __objRest(_v, [
18873
+ "receiver_id"
18874
+ ]);
18875
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18876
+ type: "ted"
18877
+ }, data));
18868
18878
  }
18869
18879
  };
18870
18880
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-HWFZN3VU.mjs";
11
+ } from "../../chunk-CLGWJEUF.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -27,7 +27,7 @@ import "../../chunk-RC5NN5UF.mjs";
27
27
  import "../../chunk-VGU72ZNI.mjs";
28
28
  import "../../chunk-LRHWT4JU.mjs";
29
29
  import "../../chunk-WE73MTQL.mjs";
30
- import "../../chunk-UOAM7SX3.mjs";
30
+ import "../../chunk-HKWPAL4R.mjs";
31
31
  import {
32
32
  __async,
33
33
  __commonJS
@@ -1,5 +1,5 @@
1
- import { m as CurrencyType, N as Network, S as StablecoinToken, s as TransactionDocumentType, B as BlindpayApiResponse, j as Currency } from '../../index.d-Gvol1faW.mjs';
2
- import { I as InternalApiClient } from '../../api-client-BlkRiojB.mjs';
1
+ import { m as CurrencyType, N as Network, S as StablecoinToken, s as TransactionDocumentType, B as BlindpayApiResponse, j as Currency } from '../../index.d-DK8eD9f3.mjs';
2
+ import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
3
3
 
4
4
  type CreateQuoteInput = {
5
5
  bank_account_id: string;
@@ -1,5 +1,5 @@
1
- import { m as CurrencyType, N as Network, S as StablecoinToken, s as TransactionDocumentType, B as BlindpayApiResponse, j as Currency } from '../../index.d-Gvol1faW.js';
2
- import { I as InternalApiClient } from '../../api-client-Bklw4zQi.js';
1
+ import { m as CurrencyType, N as Network, S as StablecoinToken, s as TransactionDocumentType, B as BlindpayApiResponse, j as Currency } from '../../index.d-DK8eD9f3.js';
2
+ import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
3
3
 
4
4
  type CreateQuoteInput = {
5
5
  bank_account_id: string;
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18702
18702
  var import_svix = require("svix");
18703
18703
 
18704
18704
  // package.json
18705
- var version = "3.6.0";
18705
+ var version = "3.9.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18865,6 +18865,16 @@ function createBankAccountsResource(instanceId, client) {
18865
18865
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18866
18866
  type: "rtp"
18867
18867
  }, data));
18868
+ },
18869
+ createTed(_u) {
18870
+ var _v = _u, {
18871
+ receiver_id
18872
+ } = _v, data = __objRest(_v, [
18873
+ "receiver_id"
18874
+ ]);
18875
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18876
+ type: "ted"
18877
+ }, data));
18868
18878
  }
18869
18879
  };
18870
18880
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-HWFZN3VU.mjs";
11
+ } from "../../chunk-CLGWJEUF.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -27,7 +27,7 @@ import "../../chunk-RC5NN5UF.mjs";
27
27
  import "../../chunk-VGU72ZNI.mjs";
28
28
  import "../../chunk-LRHWT4JU.mjs";
29
29
  import "../../chunk-WE73MTQL.mjs";
30
- import "../../chunk-UOAM7SX3.mjs";
30
+ import "../../chunk-HKWPAL4R.mjs";
31
31
  import {
32
32
  __async,
33
33
  __commonJS