@blindpay/node 3.8.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-B9lW57MD.d.ts → api-client-BWImXDBx.d.ts} +1 -1
  2. package/dist/{api-client-Ct0AsDO5.d.mts → api-client-L9eGwH1U.d.mts} +1 -1
  3. package/dist/{chunk-57QRKKXM.mjs → chunk-CLGWJEUF.mjs} +7 -7
  4. package/dist/{chunk-UOAM7SX3.mjs → chunk-HKWPAL4R.mjs} +10 -0
  5. package/dist/{index.d-CxmQ6ci9.d.mts → index.d-DK8eD9f3.d.mts} +5 -3
  6. package/dist/{index.d-CxmQ6ci9.d.ts → index.d-DK8eD9f3.d.ts} +5 -3
  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 +7 -7
  11. package/dist/resources/api-keys/api-keys.test.js +11 -1
  12. package/dist/resources/api-keys/api-keys.test.mjs +3 -3
  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 +3 -3
  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 +3 -3
  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 +4 -3
  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 +3 -3
  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 +3 -3
  37. package/dist/resources/payins/index.d.mts +3 -2
  38. package/dist/resources/payins/index.d.ts +3 -2
  39. package/dist/resources/payins/payins-quotes.test.js +11 -1
  40. package/dist/resources/payins/payins-quotes.test.mjs +3 -3
  41. package/dist/resources/payins/payins.test.js +11 -1
  42. package/dist/resources/payins/payins.test.mjs +3 -3
  43. package/dist/resources/payins/quotes.d.mts +2 -2
  44. package/dist/resources/payins/quotes.d.ts +2 -2
  45. package/dist/resources/payouts/index.d.mts +6 -2
  46. package/dist/resources/payouts/index.d.ts +6 -2
  47. package/dist/resources/payouts/payouts.test.js +11 -1
  48. package/dist/resources/payouts/payouts.test.mjs +3 -3
  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 +3 -3
  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 +4 -4
  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 +3 -3
  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 +3 -3
  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 +3 -3
  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 +3 -3
  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 +3 -3
  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 +3 -3
  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 +3 -3
  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 +3 -3
  89. package/package.json +1 -1
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-57QRKKXM.mjs";
11
+ } from "../../chunk-CLGWJEUF.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -21,13 +21,13 @@ import "../../chunk-F5Z45GCA.mjs";
21
21
  import "../../chunk-TBTA7A2P.mjs";
22
22
  import "../../chunk-YIZJM2GU.mjs";
23
23
  import "../../chunk-Z6EYX4D3.mjs";
24
- import "../../chunk-UOAM7SX3.mjs";
24
+ import "../../chunk-ALHMJWQN.mjs";
25
25
  import "../../chunk-BGXC2F73.mjs";
26
26
  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-ALHMJWQN.mjs";
30
+ import "../../chunk-HKWPAL4R.mjs";
31
31
  import {
32
32
  __async,
33
33
  __commonJS
@@ -68,6 +68,7 @@ var require_fees_test = __commonJS({
68
68
  arbitrum: mockFeeOptions,
69
69
  stellar: mockFeeOptions,
70
70
  solana: mockFeeOptions,
71
+ ted: mockFeeOptions,
71
72
  created_at: "2025-01-01T00:00:00Z",
72
73
  updated_at: "2025-01-01T00:00:00Z"
73
74
  };
@@ -1,5 +1,5 @@
1
- import { B as BlindpayApiResponse } from '../../index.d-CxmQ6ci9.mjs';
2
- import { I as InternalApiClient } from '../../api-client-Ct0AsDO5.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 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-CxmQ6ci9.js';
2
- import { I as InternalApiClient } from '../../api-client-B9lW57MD.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-CxmQ6ci9.mjs';
2
- import { I as InternalApiClient } from '../../api-client-Ct0AsDO5.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-CxmQ6ci9.js';
2
- import { I as InternalApiClient } from '../../api-client-B9lW57MD.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.8.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-57QRKKXM.mjs";
11
+ } from "../../chunk-CLGWJEUF.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -21,13 +21,13 @@ import "../../chunk-F5Z45GCA.mjs";
21
21
  import "../../chunk-TBTA7A2P.mjs";
22
22
  import "../../chunk-YIZJM2GU.mjs";
23
23
  import "../../chunk-Z6EYX4D3.mjs";
24
- import "../../chunk-UOAM7SX3.mjs";
24
+ import "../../chunk-ALHMJWQN.mjs";
25
25
  import "../../chunk-BGXC2F73.mjs";
26
26
  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-ALHMJWQN.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-CxmQ6ci9.mjs';
2
- import { I as InternalApiClient } from '../../api-client-Ct0AsDO5.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-CxmQ6ci9.js';
2
- import { I as InternalApiClient } from '../../api-client-B9lW57MD.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.8.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-57QRKKXM.mjs";
11
+ } from "../../chunk-CLGWJEUF.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -21,13 +21,13 @@ import "../../chunk-F5Z45GCA.mjs";
21
21
  import "../../chunk-TBTA7A2P.mjs";
22
22
  import "../../chunk-YIZJM2GU.mjs";
23
23
  import "../../chunk-Z6EYX4D3.mjs";
24
- import "../../chunk-UOAM7SX3.mjs";
24
+ import "../../chunk-ALHMJWQN.mjs";
25
25
  import "../../chunk-BGXC2F73.mjs";
26
26
  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-ALHMJWQN.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-CxmQ6ci9.mjs';
2
- import { I as InternalApiClient } from '../../api-client-Ct0AsDO5.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;
@@ -59,6 +59,7 @@ type Payin = {
59
59
  sender_amount: number;
60
60
  receiver_amount: number;
61
61
  token: StablecoinToken;
62
+ partner_fee_id?: string | null;
62
63
  partner_fee_amount?: number | null;
63
64
  total_fee_amount?: number | null;
64
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-CxmQ6ci9.js';
2
- import { I as InternalApiClient } from '../../api-client-B9lW57MD.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;
@@ -59,6 +59,7 @@ type Payin = {
59
59
  sender_amount: number;
60
60
  receiver_amount: number;
61
61
  token: StablecoinToken;
62
+ partner_fee_id?: string | null;
62
63
  partner_fee_amount?: number | null;
63
64
  total_fee_amount?: number | null;
64
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.8.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-57QRKKXM.mjs";
11
+ } from "../../chunk-CLGWJEUF.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -21,13 +21,13 @@ import "../../chunk-F5Z45GCA.mjs";
21
21
  import "../../chunk-TBTA7A2P.mjs";
22
22
  import "../../chunk-YIZJM2GU.mjs";
23
23
  import "../../chunk-Z6EYX4D3.mjs";
24
- import "../../chunk-UOAM7SX3.mjs";
24
+ import "../../chunk-ALHMJWQN.mjs";
25
25
  import "../../chunk-BGXC2F73.mjs";
26
26
  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-ALHMJWQN.mjs";
30
+ import "../../chunk-HKWPAL4R.mjs";
31
31
  import {
32
32
  __async,
33
33
  __commonJS
@@ -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.8.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-57QRKKXM.mjs";
11
+ } from "../../chunk-CLGWJEUF.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -21,13 +21,13 @@ import "../../chunk-F5Z45GCA.mjs";
21
21
  import "../../chunk-TBTA7A2P.mjs";
22
22
  import "../../chunk-YIZJM2GU.mjs";
23
23
  import "../../chunk-Z6EYX4D3.mjs";
24
- import "../../chunk-UOAM7SX3.mjs";
24
+ import "../../chunk-ALHMJWQN.mjs";
25
25
  import "../../chunk-BGXC2F73.mjs";
26
26
  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-ALHMJWQN.mjs";
30
+ import "../../chunk-HKWPAL4R.mjs";
31
31
  import {
32
32
  __async,
33
33
  __commonJS
@@ -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-CxmQ6ci9.mjs';
2
- import { I as InternalApiClient } from '../../api-client-Ct0AsDO5.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;
@@ -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-CxmQ6ci9.js';
2
- import { I as InternalApiClient } from '../../api-client-B9lW57MD.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;
@@ -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-CxmQ6ci9.mjs';
2
- import { I as InternalApiClient } from '../../api-client-Ct0AsDO5.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,6 +26,7 @@ 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;
@@ -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-CxmQ6ci9.js';
2
- import { I as InternalApiClient } from '../../api-client-B9lW57MD.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,6 +26,7 @@ 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;
@@ -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.8.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-57QRKKXM.mjs";
11
+ } from "../../chunk-CLGWJEUF.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -21,13 +21,13 @@ import "../../chunk-F5Z45GCA.mjs";
21
21
  import "../../chunk-TBTA7A2P.mjs";
22
22
  import "../../chunk-YIZJM2GU.mjs";
23
23
  import "../../chunk-Z6EYX4D3.mjs";
24
- import "../../chunk-UOAM7SX3.mjs";
24
+ import "../../chunk-ALHMJWQN.mjs";
25
25
  import "../../chunk-BGXC2F73.mjs";
26
26
  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-ALHMJWQN.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-CxmQ6ci9.mjs';
2
- import { I as InternalApiClient } from '../../api-client-Ct0AsDO5.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-CxmQ6ci9.js';
2
- import { I as InternalApiClient } from '../../api-client-B9lW57MD.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.8.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-57QRKKXM.mjs";
11
+ } from "../../chunk-CLGWJEUF.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -21,13 +21,13 @@ import "../../chunk-F5Z45GCA.mjs";
21
21
  import "../../chunk-TBTA7A2P.mjs";
22
22
  import "../../chunk-YIZJM2GU.mjs";
23
23
  import "../../chunk-Z6EYX4D3.mjs";
24
- import "../../chunk-UOAM7SX3.mjs";
24
+ import "../../chunk-ALHMJWQN.mjs";
25
25
  import "../../chunk-BGXC2F73.mjs";
26
26
  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-ALHMJWQN.mjs";
30
+ import "../../chunk-HKWPAL4R.mjs";
31
31
  import {
32
32
  __async,
33
33
  __commonJS
@@ -1,11 +1,10 @@
1
- import { P as PaginationParams, C as Country, B as BlindpayApiResponse, A as AccountClass, u as AccountPurpose, v as SourceOfFundsDocType, d as BusinessIndustry, E as EstimatedAnnualRevenue, w as SourceOfWealth, x as RecipientRelationship, y as SoleProprietorDocType, z as PurposeOfTransactions, l as PaginationMetadata, D as BusinessType } from '../../index.d-CxmQ6ci9.mjs';
2
- import { I as InternalApiClient } from '../../api-client-Ct0AsDO5.mjs';
1
+ import { P as PaginationParams, C as Country, B as BlindpayApiResponse, A as AccountClass, K as KycStatus, u as AccountPurpose, v as SourceOfFundsDocType, d as BusinessIndustry, E as EstimatedAnnualRevenue, w as SourceOfWealth, x as RecipientRelationship, y as SoleProprietorDocType, z as PurposeOfTransactions, l as PaginationMetadata, D as BusinessType } from '../../index.d-DK8eD9f3.mjs';
2
+ import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
3
3
 
4
4
  type StrictOmit<T, K extends keyof T> = Omit<T, K>;
5
5
 
6
6
  type ProofOfAddressDocType = "UTILITY_BILL" | "BANK_STATEMENT" | "RENTAL_AGREEMENT" | "TAX_DOCUMENT" | "GOVERNMENT_CORRESPONDENCE";
7
7
  type IdentificationDocument = "PASSPORT" | "ID_CARD" | "DRIVERS";
8
- type ReceiverKycStatus = "verifying" | "approved" | "rejected" | "deprecated" | "pending_review";
9
8
  type AmlStatus = "clear" | "hit" | "error";
10
9
  type AmlHits = {
11
10
  has_sanction_match: boolean;
@@ -53,7 +52,7 @@ type IndividualWithStandardKYC = {
53
52
  is_tos_accepted: boolean;
54
53
  type: Extract<AccountClass, "individual">;
55
54
  kyc_type: Extract<KycType, "standard">;
56
- kyc_status: string;
55
+ kyc_status: KycStatus;
57
56
  kyc_warnings: Array<{
58
57
  code: string | null;
59
58
  message: string | null;
@@ -114,7 +113,7 @@ type IndividualWithEnhancedKYC = {
114
113
  is_tos_accepted: boolean;
115
114
  type: Extract<AccountClass, "individual">;
116
115
  kyc_type: Extract<KycType, "enhanced">;
117
- kyc_status: string;
116
+ kyc_status: KycStatus;
118
117
  kyc_warnings: Array<{
119
118
  code: string | null;
120
119
  message: string | null;
@@ -179,7 +178,7 @@ type BusinessWithStandardKYB = {
179
178
  is_fbo: boolean;
180
179
  type: Extract<AccountClass, "business">;
181
180
  kyc_type: Extract<KycType, "standard">;
182
- kyc_status: string;
181
+ kyc_status: KycStatus;
183
182
  kyc_warnings: Array<{
184
183
  code: string | null;
185
184
  message: string | null;
@@ -465,4 +464,4 @@ declare function createReceiversResource(instanceId: string, client: InternalApi
465
464
  requestLimitIncrease({ receiver_id, ...data }: RequestLimitIncreaseInput): Promise<BlindpayApiResponse<RequestLimitIncreaseResponse>>;
466
465
  };
467
466
 
468
- export { type AmlHits, type AmlStatus, type BusinessWithStandardKYB, type CreateBusinessWithStandardKYBInput, type CreateBusinessWithStandardKYBResponse, type CreateIndividualWithEnhancedKYCInput, type CreateIndividualWithEnhancedKYCResponse, type CreateIndividualWithStandardKYCInput, type CreateIndividualWithStandardKYCResponse, type DeleteReceiverInput, type FraudWarning, type GetLimitIncreaseRequestsInput, type GetLimitIncreaseRequestsResponse, type GetReceiverInput, type GetReceiverLimitsInput, type GetReceiverLimitsResponse, type GetReceiverResponse, type IdentificationDocument, type IndividualWithEnhancedKYC, type IndividualWithStandardKYC, type KycType, type LimitIncreaseRequestStatus, type LimitIncreaseRequestSupportingDocumentType, type ListReceiversInput, type ListReceiversResponse, type Owner, type OwnerRole, type OwnerTaxType, type ProofOfAddressDocType, type ReceiverKycStatus, type RequestLimitIncreaseInput, type RequestLimitIncreaseResponse, type UpdateReceiverInput, createReceiversResource };
467
+ export { type AmlHits, type AmlStatus, type BusinessWithStandardKYB, type CreateBusinessWithStandardKYBInput, type CreateBusinessWithStandardKYBResponse, type CreateIndividualWithEnhancedKYCInput, type CreateIndividualWithEnhancedKYCResponse, type CreateIndividualWithStandardKYCInput, type CreateIndividualWithStandardKYCResponse, type DeleteReceiverInput, type FraudWarning, type GetLimitIncreaseRequestsInput, type GetLimitIncreaseRequestsResponse, type GetReceiverInput, type GetReceiverLimitsInput, type GetReceiverLimitsResponse, type GetReceiverResponse, type IdentificationDocument, type IndividualWithEnhancedKYC, type IndividualWithStandardKYC, type KycType, type LimitIncreaseRequestStatus, type LimitIncreaseRequestSupportingDocumentType, type ListReceiversInput, type ListReceiversResponse, type Owner, type OwnerRole, type OwnerTaxType, type ProofOfAddressDocType, type RequestLimitIncreaseInput, type RequestLimitIncreaseResponse, type UpdateReceiverInput, createReceiversResource };
@@ -1,11 +1,10 @@
1
- import { P as PaginationParams, C as Country, B as BlindpayApiResponse, A as AccountClass, u as AccountPurpose, v as SourceOfFundsDocType, d as BusinessIndustry, E as EstimatedAnnualRevenue, w as SourceOfWealth, x as RecipientRelationship, y as SoleProprietorDocType, z as PurposeOfTransactions, l as PaginationMetadata, D as BusinessType } from '../../index.d-CxmQ6ci9.js';
2
- import { I as InternalApiClient } from '../../api-client-B9lW57MD.js';
1
+ import { P as PaginationParams, C as Country, B as BlindpayApiResponse, A as AccountClass, K as KycStatus, u as AccountPurpose, v as SourceOfFundsDocType, d as BusinessIndustry, E as EstimatedAnnualRevenue, w as SourceOfWealth, x as RecipientRelationship, y as SoleProprietorDocType, z as PurposeOfTransactions, l as PaginationMetadata, D as BusinessType } from '../../index.d-DK8eD9f3.js';
2
+ import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
3
3
 
4
4
  type StrictOmit<T, K extends keyof T> = Omit<T, K>;
5
5
 
6
6
  type ProofOfAddressDocType = "UTILITY_BILL" | "BANK_STATEMENT" | "RENTAL_AGREEMENT" | "TAX_DOCUMENT" | "GOVERNMENT_CORRESPONDENCE";
7
7
  type IdentificationDocument = "PASSPORT" | "ID_CARD" | "DRIVERS";
8
- type ReceiverKycStatus = "verifying" | "approved" | "rejected" | "deprecated" | "pending_review";
9
8
  type AmlStatus = "clear" | "hit" | "error";
10
9
  type AmlHits = {
11
10
  has_sanction_match: boolean;
@@ -53,7 +52,7 @@ type IndividualWithStandardKYC = {
53
52
  is_tos_accepted: boolean;
54
53
  type: Extract<AccountClass, "individual">;
55
54
  kyc_type: Extract<KycType, "standard">;
56
- kyc_status: string;
55
+ kyc_status: KycStatus;
57
56
  kyc_warnings: Array<{
58
57
  code: string | null;
59
58
  message: string | null;
@@ -114,7 +113,7 @@ type IndividualWithEnhancedKYC = {
114
113
  is_tos_accepted: boolean;
115
114
  type: Extract<AccountClass, "individual">;
116
115
  kyc_type: Extract<KycType, "enhanced">;
117
- kyc_status: string;
116
+ kyc_status: KycStatus;
118
117
  kyc_warnings: Array<{
119
118
  code: string | null;
120
119
  message: string | null;
@@ -179,7 +178,7 @@ type BusinessWithStandardKYB = {
179
178
  is_fbo: boolean;
180
179
  type: Extract<AccountClass, "business">;
181
180
  kyc_type: Extract<KycType, "standard">;
182
- kyc_status: string;
181
+ kyc_status: KycStatus;
183
182
  kyc_warnings: Array<{
184
183
  code: string | null;
185
184
  message: string | null;
@@ -465,4 +464,4 @@ declare function createReceiversResource(instanceId: string, client: InternalApi
465
464
  requestLimitIncrease({ receiver_id, ...data }: RequestLimitIncreaseInput): Promise<BlindpayApiResponse<RequestLimitIncreaseResponse>>;
466
465
  };
467
466
 
468
- export { type AmlHits, type AmlStatus, type BusinessWithStandardKYB, type CreateBusinessWithStandardKYBInput, type CreateBusinessWithStandardKYBResponse, type CreateIndividualWithEnhancedKYCInput, type CreateIndividualWithEnhancedKYCResponse, type CreateIndividualWithStandardKYCInput, type CreateIndividualWithStandardKYCResponse, type DeleteReceiverInput, type FraudWarning, type GetLimitIncreaseRequestsInput, type GetLimitIncreaseRequestsResponse, type GetReceiverInput, type GetReceiverLimitsInput, type GetReceiverLimitsResponse, type GetReceiverResponse, type IdentificationDocument, type IndividualWithEnhancedKYC, type IndividualWithStandardKYC, type KycType, type LimitIncreaseRequestStatus, type LimitIncreaseRequestSupportingDocumentType, type ListReceiversInput, type ListReceiversResponse, type Owner, type OwnerRole, type OwnerTaxType, type ProofOfAddressDocType, type ReceiverKycStatus, type RequestLimitIncreaseInput, type RequestLimitIncreaseResponse, type UpdateReceiverInput, createReceiversResource };
467
+ export { type AmlHits, type AmlStatus, type BusinessWithStandardKYB, type CreateBusinessWithStandardKYBInput, type CreateBusinessWithStandardKYBResponse, type CreateIndividualWithEnhancedKYCInput, type CreateIndividualWithEnhancedKYCResponse, type CreateIndividualWithStandardKYCInput, type CreateIndividualWithStandardKYCResponse, type DeleteReceiverInput, type FraudWarning, type GetLimitIncreaseRequestsInput, type GetLimitIncreaseRequestsResponse, type GetReceiverInput, type GetReceiverLimitsInput, type GetReceiverLimitsResponse, type GetReceiverResponse, type IdentificationDocument, type IndividualWithEnhancedKYC, type IndividualWithStandardKYC, type KycType, type LimitIncreaseRequestStatus, type LimitIncreaseRequestSupportingDocumentType, type ListReceiversInput, type ListReceiversResponse, type Owner, type OwnerRole, type OwnerTaxType, type ProofOfAddressDocType, type RequestLimitIncreaseInput, type RequestLimitIncreaseResponse, type UpdateReceiverInput, createReceiversResource };