@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,4 +1,4 @@
1
- import { B as BlindpayApiResponse } from './index.d-Gvol1faW.js';
1
+ import { B as BlindpayApiResponse } from './index.d-DK8eD9f3.js';
2
2
 
3
3
  /**
4
4
  *
@@ -1,4 +1,4 @@
1
- import { B as BlindpayApiResponse } from './index.d-Gvol1faW.mjs';
1
+ import { B as BlindpayApiResponse } from './index.d-DK8eD9f3.mjs';
2
2
 
3
3
  /**
4
4
  *
@@ -73,7 +73,7 @@ import {
73
73
  import {
74
74
  createBankAccountsResource,
75
75
  init_bank_accounts
76
- } from "./chunk-UOAM7SX3.mjs";
76
+ } from "./chunk-HKWPAL4R.mjs";
77
77
  import {
78
78
  __async,
79
79
  __esm,
@@ -85,7 +85,7 @@ import {
85
85
  var version;
86
86
  var init_package = __esm({
87
87
  "package.json"() {
88
- version = "3.6.0";
88
+ version = "3.9.0";
89
89
  }
90
90
  });
91
91
 
@@ -120,6 +120,16 @@ function createBankAccountsResource(instanceId, client) {
120
120
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
121
121
  type: "rtp"
122
122
  }, data));
123
+ },
124
+ createTed(_u) {
125
+ var _v = _u, {
126
+ receiver_id
127
+ } = _v, data = __objRest(_v, [
128
+ "receiver_id"
129
+ ]);
130
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
131
+ type: "ted"
132
+ }, data));
123
133
  }
124
134
  };
125
135
  }
@@ -18,7 +18,7 @@ type CurrencyType = "sender" | "receiver";
18
18
 
19
19
  type Network = "base" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "arbitrum" | "polygon" | "polygon_amoy" | "ethereum" | "stellar" | "stellar_testnet" | "tron" | "solana" | "solana_devnet";
20
20
 
21
- type StablecoinToken = "USDC" | "USDT" | "USDB"
21
+ type StablecoinToken = "USDC" | "USDT" | "USDB";
22
22
 
23
23
  type TransactionDocumentType = "invoice" | "purchase_order" | "delivery_slip" | "contract" | "customs_declaration" | "bill_of_lading" | "others";
24
24
 
@@ -26,7 +26,7 @@ type BankAccountType = "checking" | "saving";
26
26
 
27
27
  type Currency = "USDC" | "USDT" | "USDB" | "BRL" | "USD" | "MXN" | "COP" | "ARS";
28
28
 
29
- type Rail = "wire" | "ach" | "pix" | "pix_safe" | "spei_bitso" | "transfers_bitso" | "ach_cop_bitso" | "international_swift" | "rtp";
29
+ type Rail = "wire" | "ach" | "pix" | "pix_safe" | "spei_bitso" | "transfers_bitso" | "ach_cop_bitso" | "international_swift" | "rtp" | "ted";
30
30
 
31
31
  type AccountClass = "individual" | "business";
32
32
 
@@ -347,7 +347,7 @@ type PayinTrackingPartnerFee = {
347
347
  completed_at?: string | null
348
348
  }
349
349
 
350
- type PayinPaymentMethod = "ach" | "wire" | "pix" | "spei" | "transfers" | "pse" | "international_swift"
350
+ type PayinPaymentMethod = "ach" | "wire" | "pix" | "spei" | "transfers" | "pse" | "international_swift" | "rtp" | "ted"
351
351
 
352
352
  type BusinessIndustry =
353
353
  | "111998"
@@ -651,4 +651,6 @@ type PayoutTrackingPartnerFee = {
651
651
  completed_at: string | null;
652
652
  }
653
653
 
654
- export type { AccountClass as A, BlindpayApiResponse as B, Country as C, BusinessType as D, EstimatedAnnualRevenue as E, Network as N, PaginationParams as P, Rail as R, StablecoinToken as S, TransactionStatus as T, BankAccountType as a, AchCopDocument as b, ArgentinaTransfers as c, BusinessIndustry as d, PayinTrackingTransaction as e, PayinTrackingPayment as f, PayinTrackingComplete as g, PayinTrackingPartnerFee as h, PayinPaymentMethod as i, Currency as j, PayerRules as k, PaginationMetadata as l, CurrencyType as m, PayoutTrackingTransaction as n, PayoutTrackingPayment as o, PayoutTrackingLiquidity as p, PayoutTrackingComplete as q, PayoutTrackingPartnerFee as r, TransactionDocumentType as s, TrackingStatus as t, AccountPurpose as u, SourceOfFundsDocType as v, SourceOfWealth as w, RecipientRelationship as x, SoleProprietorDocType as y, PurposeOfTransactions as z };
654
+ type KycStatus = "awaiting_contract" | "compliance_request" | "verifying" | "approved" | "rejected" | "deprecated" | "pending_review";
655
+
656
+ export type { AccountClass as A, BlindpayApiResponse as B, Country as C, BusinessType as D, EstimatedAnnualRevenue as E, KycStatus as K, Network as N, PaginationParams as P, Rail as R, StablecoinToken as S, TransactionStatus as T, BankAccountType as a, AchCopDocument as b, ArgentinaTransfers as c, BusinessIndustry as d, PayinTrackingTransaction as e, PayinTrackingPayment as f, PayinTrackingComplete as g, PayinTrackingPartnerFee as h, PayinPaymentMethod as i, Currency as j, PayerRules as k, PaginationMetadata as l, CurrencyType as m, PayoutTrackingTransaction as n, PayoutTrackingPayment as o, PayoutTrackingLiquidity as p, PayoutTrackingComplete as q, PayoutTrackingPartnerFee as r, TransactionDocumentType as s, TrackingStatus as t, AccountPurpose as u, SourceOfFundsDocType as v, SourceOfWealth as w, RecipientRelationship as x, SoleProprietorDocType as y, PurposeOfTransactions as z };
@@ -18,7 +18,7 @@ type CurrencyType = "sender" | "receiver";
18
18
 
19
19
  type Network = "base" | "sepolia" | "arbitrum_sepolia" | "base_sepolia" | "arbitrum" | "polygon" | "polygon_amoy" | "ethereum" | "stellar" | "stellar_testnet" | "tron" | "solana" | "solana_devnet";
20
20
 
21
- type StablecoinToken = "USDC" | "USDT" | "USDB"
21
+ type StablecoinToken = "USDC" | "USDT" | "USDB";
22
22
 
23
23
  type TransactionDocumentType = "invoice" | "purchase_order" | "delivery_slip" | "contract" | "customs_declaration" | "bill_of_lading" | "others";
24
24
 
@@ -26,7 +26,7 @@ type BankAccountType = "checking" | "saving";
26
26
 
27
27
  type Currency = "USDC" | "USDT" | "USDB" | "BRL" | "USD" | "MXN" | "COP" | "ARS";
28
28
 
29
- type Rail = "wire" | "ach" | "pix" | "pix_safe" | "spei_bitso" | "transfers_bitso" | "ach_cop_bitso" | "international_swift" | "rtp";
29
+ type Rail = "wire" | "ach" | "pix" | "pix_safe" | "spei_bitso" | "transfers_bitso" | "ach_cop_bitso" | "international_swift" | "rtp" | "ted";
30
30
 
31
31
  type AccountClass = "individual" | "business";
32
32
 
@@ -347,7 +347,7 @@ type PayinTrackingPartnerFee = {
347
347
  completed_at?: string | null
348
348
  }
349
349
 
350
- type PayinPaymentMethod = "ach" | "wire" | "pix" | "spei" | "transfers" | "pse" | "international_swift"
350
+ type PayinPaymentMethod = "ach" | "wire" | "pix" | "spei" | "transfers" | "pse" | "international_swift" | "rtp" | "ted"
351
351
 
352
352
  type BusinessIndustry =
353
353
  | "111998"
@@ -651,4 +651,6 @@ type PayoutTrackingPartnerFee = {
651
651
  completed_at: string | null;
652
652
  }
653
653
 
654
- export type { AccountClass as A, BlindpayApiResponse as B, Country as C, BusinessType as D, EstimatedAnnualRevenue as E, Network as N, PaginationParams as P, Rail as R, StablecoinToken as S, TransactionStatus as T, BankAccountType as a, AchCopDocument as b, ArgentinaTransfers as c, BusinessIndustry as d, PayinTrackingTransaction as e, PayinTrackingPayment as f, PayinTrackingComplete as g, PayinTrackingPartnerFee as h, PayinPaymentMethod as i, Currency as j, PayerRules as k, PaginationMetadata as l, CurrencyType as m, PayoutTrackingTransaction as n, PayoutTrackingPayment as o, PayoutTrackingLiquidity as p, PayoutTrackingComplete as q, PayoutTrackingPartnerFee as r, TransactionDocumentType as s, TrackingStatus as t, AccountPurpose as u, SourceOfFundsDocType as v, SourceOfWealth as w, RecipientRelationship as x, SoleProprietorDocType as y, PurposeOfTransactions as z };
654
+ type KycStatus = "awaiting_contract" | "compliance_request" | "verifying" | "approved" | "rejected" | "deprecated" | "pending_review";
655
+
656
+ export type { AccountClass as A, BlindpayApiResponse as B, Country as C, BusinessType as D, EstimatedAnnualRevenue as E, KycStatus as K, Network as N, PaginationParams as P, Rail as R, StablecoinToken as S, TransactionStatus as T, BankAccountType as a, AchCopDocument as b, ArgentinaTransfers as c, BusinessIndustry as d, PayinTrackingTransaction as e, PayinTrackingPayment as f, PayinTrackingComplete as g, PayinTrackingPartnerFee as h, PayinPaymentMethod as i, Currency as j, PayerRules as k, PaginationMetadata as l, CurrencyType as m, PayoutTrackingTransaction as n, PayoutTrackingPayment as o, PayoutTrackingLiquidity as p, PayoutTrackingComplete as q, PayoutTrackingPartnerFee as r, TransactionDocumentType as s, TrackingStatus as t, AccountPurpose as u, SourceOfFundsDocType as v, SourceOfWealth as w, RecipientRelationship as x, SoleProprietorDocType as y, PurposeOfTransactions as z };
package/dist/index.d.mts CHANGED
@@ -3,7 +3,7 @@ export { CreateApiKeyInput, CreateApiKeyResponse, DeleteApiKeyInput, GetApiKeyIn
3
3
  import { createAvailableResource } from './resources/available/index.mjs';
4
4
  export { BankDetailKey, GetBankDetailsResponse, GetNaicsCodesResponse, GetRailsResponse, GetSwiftCodeBankDetailsInput, GetSwiftCodeBankDetailsResponse } from './resources/available/index.mjs';
5
5
  import { createBankAccountsResource } from './resources/bank-accounts/index.mjs';
6
- export { CreateAchInput, CreateAchResponse, CreateArgentinaTransfersInput, CreateArgentinaTransfersResponse, CreateColombiaAchInput, CreateColombiaAchResponse, CreateInternationalSwiftInput, CreateInternationalSwiftResponse, CreatePixInput, CreatePixResponse, CreatePixSafeInput, CreatePixSafeResponse, CreateRtpInput, CreateRtpResponse, CreateSpeiInput, CreateSpeiResponse, CreateWireInput, CreateWireResponse, DeleteBankAccountInput, GetBankAccountInput, GetBankAccountResponse, ListBankAccountsInput, ListBankAccountsResponse, RecipientRelationship } from './resources/bank-accounts/index.mjs';
6
+ export { CreateAchInput, CreateAchResponse, CreateArgentinaTransfersInput, CreateArgentinaTransfersResponse, CreateColombiaAchInput, CreateColombiaAchResponse, CreateInternationalSwiftInput, CreateInternationalSwiftResponse, CreatePixInput, CreatePixResponse, CreatePixSafeInput, CreatePixSafeResponse, CreateRtpInput, CreateRtpResponse, CreateSpeiInput, CreateSpeiResponse, CreateTedInput, CreateTedResponse, CreateWireInput, CreateWireResponse, DeleteBankAccountInput, GetBankAccountInput, GetBankAccountResponse, ListBankAccountsInput, ListBankAccountsResponse, RecipientRelationship } from './resources/bank-accounts/index.mjs';
7
7
  import { createFeesResource } from './resources/fees/index.mjs';
8
8
  export { FeeOptions, GetFeesResponse } from './resources/fees/index.mjs';
9
9
  import { createInstancesResource } from './resources/instances/index.mjs';
@@ -19,7 +19,7 @@ export { AuthorizeStellarTokenInput, AuthorizeStellarTokenResponse, CreateEvmPay
19
19
  import { createQuotesResource } from './resources/quotes/index.mjs';
20
20
  export { CreateQuoteInput, CreateQuoteResponse, GetFxRateInput, GetFxRateResponse } from './resources/quotes/index.mjs';
21
21
  import { createReceiversResource } from './resources/receivers/index.mjs';
22
- export { AmlHits, AmlStatus, BusinessWithStandardKYB, CreateBusinessWithStandardKYBInput, CreateBusinessWithStandardKYBResponse, CreateIndividualWithEnhancedKYCInput, CreateIndividualWithEnhancedKYCResponse, CreateIndividualWithStandardKYCInput, CreateIndividualWithStandardKYCResponse, DeleteReceiverInput, FraudWarning, GetLimitIncreaseRequestsInput, GetLimitIncreaseRequestsResponse, GetReceiverInput, GetReceiverLimitsInput, GetReceiverLimitsResponse, GetReceiverResponse, IdentificationDocument, IndividualWithEnhancedKYC, IndividualWithStandardKYC, KycType, LimitIncreaseRequestStatus, LimitIncreaseRequestSupportingDocumentType, ListReceiversInput, ListReceiversResponse, Owner, OwnerRole, OwnerTaxType, ProofOfAddressDocType, ReceiverKycStatus, RequestLimitIncreaseInput, RequestLimitIncreaseResponse, UpdateReceiverInput } from './resources/receivers/index.mjs';
22
+ export { AmlHits, AmlStatus, BusinessWithStandardKYB, CreateBusinessWithStandardKYBInput, CreateBusinessWithStandardKYBResponse, CreateIndividualWithEnhancedKYCInput, CreateIndividualWithEnhancedKYCResponse, CreateIndividualWithStandardKYCInput, CreateIndividualWithStandardKYCResponse, DeleteReceiverInput, FraudWarning, GetLimitIncreaseRequestsInput, GetLimitIncreaseRequestsResponse, GetReceiverInput, GetReceiverLimitsInput, GetReceiverLimitsResponse, GetReceiverResponse, IdentificationDocument, IndividualWithEnhancedKYC, IndividualWithStandardKYC, KycType, LimitIncreaseRequestStatus, LimitIncreaseRequestSupportingDocumentType, ListReceiversInput, ListReceiversResponse, Owner, OwnerRole, OwnerTaxType, ProofOfAddressDocType, RequestLimitIncreaseInput, RequestLimitIncreaseResponse, UpdateReceiverInput } from './resources/receivers/index.mjs';
23
23
  import { createTermsOfServiceResource } from './resources/terms-of-service/index.mjs';
24
24
  import { createTransfersResource } from './resources/transfers/index.mjs';
25
25
  export { CreateTransferInput, CreateTransferQuoteInput, CreateTransferQuoteResponse, CreateTransferResponse, GetTransferInput, GetTransferResponse, GetTransferTrackInput, GetTransferTrackResponse, ListTransfersInput, ListTransfersResponse, Transfer, TransferTrackingStep, TransferTrackingTransactionMonitoring } from './resources/transfers/index.mjs';
@@ -35,8 +35,8 @@ import { createOfframpWalletsResource } from './resources/wallets/offramp.mjs';
35
35
  export { CreateOfframpWalletInput, CreateOfframpWalletResponse, GetOfframpWalletInput, GetOfframpWalletResponse, ListOfframpWalletsInput, ListOfframpWalletsResponse, OfframpWallet, OfframpWalletNetwork } from './resources/wallets/offramp.mjs';
36
36
  import { createWebhookEndpointsResource } from './resources/webhooks/index.mjs';
37
37
  export { CreateWebhookEndpointInput, CreateWebhookEndpointResponse, DeleteWebhookEndpointInput, GetPortalAccessUrlResponse, GetWebhookEndpointSecretInput, GetWebhookEndpointSecretResponse, ListWebhookEndpointsResponse, WebhookEvents } from './resources/webhooks/index.mjs';
38
- import './index.d-Gvol1faW.mjs';
39
- import './api-client-BlkRiojB.mjs';
38
+ import './index.d-DK8eD9f3.mjs';
39
+ import './api-client-L9eGwH1U.mjs';
40
40
 
41
41
  declare class BlindPay {
42
42
  private readonly baseUrl;
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export { CreateApiKeyInput, CreateApiKeyResponse, DeleteApiKeyInput, GetApiKeyIn
3
3
  import { createAvailableResource } from './resources/available/index.js';
4
4
  export { BankDetailKey, GetBankDetailsResponse, GetNaicsCodesResponse, GetRailsResponse, GetSwiftCodeBankDetailsInput, GetSwiftCodeBankDetailsResponse } from './resources/available/index.js';
5
5
  import { createBankAccountsResource } from './resources/bank-accounts/index.js';
6
- export { CreateAchInput, CreateAchResponse, CreateArgentinaTransfersInput, CreateArgentinaTransfersResponse, CreateColombiaAchInput, CreateColombiaAchResponse, CreateInternationalSwiftInput, CreateInternationalSwiftResponse, CreatePixInput, CreatePixResponse, CreatePixSafeInput, CreatePixSafeResponse, CreateRtpInput, CreateRtpResponse, CreateSpeiInput, CreateSpeiResponse, CreateWireInput, CreateWireResponse, DeleteBankAccountInput, GetBankAccountInput, GetBankAccountResponse, ListBankAccountsInput, ListBankAccountsResponse, RecipientRelationship } from './resources/bank-accounts/index.js';
6
+ export { CreateAchInput, CreateAchResponse, CreateArgentinaTransfersInput, CreateArgentinaTransfersResponse, CreateColombiaAchInput, CreateColombiaAchResponse, CreateInternationalSwiftInput, CreateInternationalSwiftResponse, CreatePixInput, CreatePixResponse, CreatePixSafeInput, CreatePixSafeResponse, CreateRtpInput, CreateRtpResponse, CreateSpeiInput, CreateSpeiResponse, CreateTedInput, CreateTedResponse, CreateWireInput, CreateWireResponse, DeleteBankAccountInput, GetBankAccountInput, GetBankAccountResponse, ListBankAccountsInput, ListBankAccountsResponse, RecipientRelationship } from './resources/bank-accounts/index.js';
7
7
  import { createFeesResource } from './resources/fees/index.js';
8
8
  export { FeeOptions, GetFeesResponse } from './resources/fees/index.js';
9
9
  import { createInstancesResource } from './resources/instances/index.js';
@@ -19,7 +19,7 @@ export { AuthorizeStellarTokenInput, AuthorizeStellarTokenResponse, CreateEvmPay
19
19
  import { createQuotesResource } from './resources/quotes/index.js';
20
20
  export { CreateQuoteInput, CreateQuoteResponse, GetFxRateInput, GetFxRateResponse } from './resources/quotes/index.js';
21
21
  import { createReceiversResource } from './resources/receivers/index.js';
22
- export { AmlHits, AmlStatus, BusinessWithStandardKYB, CreateBusinessWithStandardKYBInput, CreateBusinessWithStandardKYBResponse, CreateIndividualWithEnhancedKYCInput, CreateIndividualWithEnhancedKYCResponse, CreateIndividualWithStandardKYCInput, CreateIndividualWithStandardKYCResponse, DeleteReceiverInput, FraudWarning, GetLimitIncreaseRequestsInput, GetLimitIncreaseRequestsResponse, GetReceiverInput, GetReceiverLimitsInput, GetReceiverLimitsResponse, GetReceiverResponse, IdentificationDocument, IndividualWithEnhancedKYC, IndividualWithStandardKYC, KycType, LimitIncreaseRequestStatus, LimitIncreaseRequestSupportingDocumentType, ListReceiversInput, ListReceiversResponse, Owner, OwnerRole, OwnerTaxType, ProofOfAddressDocType, ReceiverKycStatus, RequestLimitIncreaseInput, RequestLimitIncreaseResponse, UpdateReceiverInput } from './resources/receivers/index.js';
22
+ export { AmlHits, AmlStatus, BusinessWithStandardKYB, CreateBusinessWithStandardKYBInput, CreateBusinessWithStandardKYBResponse, CreateIndividualWithEnhancedKYCInput, CreateIndividualWithEnhancedKYCResponse, CreateIndividualWithStandardKYCInput, CreateIndividualWithStandardKYCResponse, DeleteReceiverInput, FraudWarning, GetLimitIncreaseRequestsInput, GetLimitIncreaseRequestsResponse, GetReceiverInput, GetReceiverLimitsInput, GetReceiverLimitsResponse, GetReceiverResponse, IdentificationDocument, IndividualWithEnhancedKYC, IndividualWithStandardKYC, KycType, LimitIncreaseRequestStatus, LimitIncreaseRequestSupportingDocumentType, ListReceiversInput, ListReceiversResponse, Owner, OwnerRole, OwnerTaxType, ProofOfAddressDocType, RequestLimitIncreaseInput, RequestLimitIncreaseResponse, UpdateReceiverInput } from './resources/receivers/index.js';
23
23
  import { createTermsOfServiceResource } from './resources/terms-of-service/index.js';
24
24
  import { createTransfersResource } from './resources/transfers/index.js';
25
25
  export { CreateTransferInput, CreateTransferQuoteInput, CreateTransferQuoteResponse, CreateTransferResponse, GetTransferInput, GetTransferResponse, GetTransferTrackInput, GetTransferTrackResponse, ListTransfersInput, ListTransfersResponse, Transfer, TransferTrackingStep, TransferTrackingTransactionMonitoring } from './resources/transfers/index.js';
@@ -35,8 +35,8 @@ import { createOfframpWalletsResource } from './resources/wallets/offramp.js';
35
35
  export { CreateOfframpWalletInput, CreateOfframpWalletResponse, GetOfframpWalletInput, GetOfframpWalletResponse, ListOfframpWalletsInput, ListOfframpWalletsResponse, OfframpWallet, OfframpWalletNetwork } from './resources/wallets/offramp.js';
36
36
  import { createWebhookEndpointsResource } from './resources/webhooks/index.js';
37
37
  export { CreateWebhookEndpointInput, CreateWebhookEndpointResponse, DeleteWebhookEndpointInput, GetPortalAccessUrlResponse, GetWebhookEndpointSecretInput, GetWebhookEndpointSecretResponse, ListWebhookEndpointsResponse, WebhookEvents } from './resources/webhooks/index.js';
38
- import './index.d-Gvol1faW.js';
39
- import './api-client-Bklw4zQi.js';
38
+ import './index.d-DK8eD9f3.js';
39
+ import './api-client-BWImXDBx.js';
40
40
 
41
41
  declare class BlindPay {
42
42
  private readonly baseUrl;
package/dist/index.js CHANGED
@@ -95,7 +95,7 @@ module.exports = __toCommonJS(index_exports);
95
95
  var import_svix = require("svix");
96
96
 
97
97
  // package.json
98
- var version = "3.6.0";
98
+ var version = "3.9.0";
99
99
 
100
100
  // src/internal/blindpay-error.ts
101
101
  var BlindPayError = class extends Error {
@@ -258,6 +258,16 @@ function createBankAccountsResource(instanceId, client) {
258
258
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
259
259
  type: "rtp"
260
260
  }, data));
261
+ },
262
+ createTed(_u) {
263
+ var _v = _u, {
264
+ receiver_id
265
+ } = _v, data = __objRest(_v, [
266
+ "receiver_id"
267
+ ]);
268
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
269
+ type: "ted"
270
+ }, data));
261
271
  }
262
272
  };
263
273
  }
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  BlindPay,
3
3
  init_client
4
- } from "./chunk-HWFZN3VU.mjs";
4
+ } from "./chunk-CLGWJEUF.mjs";
5
5
  import {
6
6
  createBlockchainWalletsResource,
7
7
  init_blockchain
@@ -74,7 +74,7 @@ import {
74
74
  import {
75
75
  createBankAccountsResource,
76
76
  init_bank_accounts
77
- } from "./chunk-UOAM7SX3.mjs";
77
+ } from "./chunk-HKWPAL4R.mjs";
78
78
  import "./chunk-OBKEW4AQ.mjs";
79
79
 
80
80
  // src/index.ts
@@ -18697,7 +18697,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18697
18697
  var import_svix = require("svix");
18698
18698
 
18699
18699
  // package.json
18700
- var version = "3.6.0";
18700
+ var version = "3.9.0";
18701
18701
 
18702
18702
  // src/internal/blindpay-error.ts
18703
18703
  var BlindPayError = class extends Error {
@@ -18860,6 +18860,16 @@ function createBankAccountsResource(instanceId, client) {
18860
18860
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18861
18861
  type: "rtp"
18862
18862
  }, data));
18863
+ },
18864
+ createTed(_u) {
18865
+ var _v = _u, {
18866
+ receiver_id
18867
+ } = _v, data = __objRest(_v, [
18868
+ "receiver_id"
18869
+ ]);
18870
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18871
+ type: "ted"
18872
+ }, data));
18863
18873
  }
18864
18874
  };
18865
18875
  }
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  BlindPay,
9
9
  init_client
10
- } from "../../chunk-HWFZN3VU.mjs";
10
+ } from "../../chunk-CLGWJEUF.mjs";
11
11
  import "../../chunk-FG25JHDX.mjs";
12
12
  import "../../chunk-KMU6V4LW.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
@@ -26,7 +26,7 @@ import "../../chunk-RC5NN5UF.mjs";
26
26
  import "../../chunk-VGU72ZNI.mjs";
27
27
  import "../../chunk-LRHWT4JU.mjs";
28
28
  import "../../chunk-WE73MTQL.mjs";
29
- import "../../chunk-UOAM7SX3.mjs";
29
+ import "../../chunk-HKWPAL4R.mjs";
30
30
  import {
31
31
  __async,
32
32
  __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 ListApiKeysResponse = 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 ListApiKeysResponse = 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 { R as Rail, B as BlindpayApiResponse } from '../../index.d-Gvol1faW.mjs';
2
- import { I as InternalApiClient } from '../../api-client-BlkRiojB.mjs';
1
+ import { R as Rail, B as BlindpayApiResponse } from '../../index.d-DK8eD9f3.mjs';
2
+ import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
3
3
 
4
4
  type BankDetailKey = "type" | "name" | "pix_key" | "beneficiary_name" | "routing_number" | "account_number" | "account_type" | "account_class" | "address_line_1" | "address_line_2" | "city" | "state_province_region" | "country" | "postal_code" | "checkbook_account_id" | "checkbook_user_key" | "spei_protocol" | "spei_institution_code" | "spei_clabe" | "transfers_type" | "transfers_account" | "ach_cop_beneficiary_first_name" | "ach_cop_beneficiary_last_name" | "ach_cop_document_id" | "ach_cop_document_type" | "ach_cop_email" | "ach_cop_bank_code" | "ach_cop_bank_account" | "swift_code_bic" | "swift_account_holder_name" | "swift_account_number_iban" | "swift_beneficiary_address_line_1" | "swift_beneficiary_address_line_2" | "swift_beneficiary_country" | "swift_beneficiary_city" | "swift_beneficiary_state_province_region" | "swift_beneficiary_postal_code" | "swift_bank_name" | "swift_bank_address_line_1" | "swift_bank_address_line_2" | "swift_bank_country" | "swift_bank_city" | "swift_bank_state_province_region" | "swift_bank_postal_code" | "swift_intermediary_bank_swift_code_bic" | "swift_intermediary_bank_account_number_iban" | "swift_intermediary_bank_name" | "swift_intermediary_bank_country";
5
5
  type GetBankDetailsResponse = Array<{
@@ -1,5 +1,5 @@
1
- import { R as Rail, B as BlindpayApiResponse } from '../../index.d-Gvol1faW.js';
2
- import { I as InternalApiClient } from '../../api-client-Bklw4zQi.js';
1
+ import { R as Rail, B as BlindpayApiResponse } from '../../index.d-DK8eD9f3.js';
2
+ import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
3
3
 
4
4
  type BankDetailKey = "type" | "name" | "pix_key" | "beneficiary_name" | "routing_number" | "account_number" | "account_type" | "account_class" | "address_line_1" | "address_line_2" | "city" | "state_province_region" | "country" | "postal_code" | "checkbook_account_id" | "checkbook_user_key" | "spei_protocol" | "spei_institution_code" | "spei_clabe" | "transfers_type" | "transfers_account" | "ach_cop_beneficiary_first_name" | "ach_cop_beneficiary_last_name" | "ach_cop_document_id" | "ach_cop_document_type" | "ach_cop_email" | "ach_cop_bank_code" | "ach_cop_bank_account" | "swift_code_bic" | "swift_account_holder_name" | "swift_account_number_iban" | "swift_beneficiary_address_line_1" | "swift_beneficiary_address_line_2" | "swift_beneficiary_country" | "swift_beneficiary_city" | "swift_beneficiary_state_province_region" | "swift_beneficiary_postal_code" | "swift_bank_name" | "swift_bank_address_line_1" | "swift_bank_address_line_2" | "swift_bank_country" | "swift_bank_city" | "swift_bank_state_province_region" | "swift_bank_postal_code" | "swift_intermediary_bank_swift_code_bic" | "swift_intermediary_bank_account_number_iban" | "swift_intermediary_bank_name" | "swift_intermediary_bank_country";
5
5
  type GetBankDetailsResponse = 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 { R as Rail, C as Country, B as BlindpayApiResponse, a as BankAccountType, A as AccountClass, b as AchCopDocument, c as ArgentinaTransfers, d as BusinessIndustry } from '../../index.d-Gvol1faW.mjs';
2
- import { I as InternalApiClient } from '../../api-client-BlkRiojB.mjs';
1
+ import { R as Rail, C as Country, B as BlindpayApiResponse, a as BankAccountType, A as AccountClass, b as AchCopDocument, c as ArgentinaTransfers, d as BusinessIndustry } from '../../index.d-DK8eD9f3.mjs';
2
+ import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
3
3
  import { SpeiProtocol } from '../payouts/index.mjs';
4
4
 
5
5
  type RecipientRelationship = "first_party" | "employee" | "independent_contractor" | "vendor_or_supplier" | "subsidiary_or_affiliate" | "merchant_or_partner" | "customer" | "landlord" | "family" | "other";
@@ -77,6 +77,9 @@ type ListBankAccountsResponse = {
77
77
  status?: string | null;
78
78
  recipient_relationship?: RecipientRelationship | null;
79
79
  swift_payment_code?: string | null;
80
+ ted_bank_code?: string | null;
81
+ ted_branch_code?: string | null;
82
+ ted_cpf_cnpj?: string | null;
80
83
  created_at: string;
81
84
  }>;
82
85
  };
@@ -380,6 +383,24 @@ type CreateRtpResponse = {
380
383
  postal_code: string;
381
384
  created_at: string;
382
385
  };
386
+ type CreateTedInput = {
387
+ receiver_id: string;
388
+ name: string;
389
+ beneficiary_name: string;
390
+ ted_bank_code: string;
391
+ ted_branch_code: string;
392
+ ted_cpf_cnpj: string;
393
+ };
394
+ type CreateTedResponse = {
395
+ id: string;
396
+ type: "ted";
397
+ name: string;
398
+ beneficiary_name: string;
399
+ ted_bank_code: string;
400
+ ted_branch_code: string;
401
+ ted_cpf_cnpj: string;
402
+ created_at: string;
403
+ };
383
404
  declare function createBankAccountsResource(instanceId: string, client: InternalApiClient): {
384
405
  list({ receiver_id, ...params }: ListBankAccountsInput): Promise<BlindpayApiResponse<ListBankAccountsResponse>>;
385
406
  get({ receiver_id, id, }: GetBankAccountInput): Promise<BlindpayApiResponse<GetBankAccountResponse>>;
@@ -393,6 +414,7 @@ declare function createBankAccountsResource(instanceId: string, client: Internal
393
414
  createWire({ receiver_id, ...data }: CreateWireInput): Promise<BlindpayApiResponse<CreateWireResponse>>;
394
415
  createInternationalSwift({ receiver_id, ...data }: CreateInternationalSwiftInput): Promise<BlindpayApiResponse<CreateInternationalSwiftResponse>>;
395
416
  createRtp({ receiver_id, ...data }: CreateRtpInput): Promise<BlindpayApiResponse<CreateRtpResponse>>;
417
+ createTed({ receiver_id, ...data }: CreateTedInput): Promise<BlindpayApiResponse<CreateTedResponse>>;
396
418
  };
397
419
 
398
- export { type CreateAchInput, type CreateAchResponse, type CreateArgentinaTransfersInput, type CreateArgentinaTransfersResponse, type CreateColombiaAchInput, type CreateColombiaAchResponse, type CreateInternationalSwiftInput, type CreateInternationalSwiftResponse, type CreatePixInput, type CreatePixResponse, type CreatePixSafeInput, type CreatePixSafeResponse, type CreateRtpInput, type CreateRtpResponse, type CreateSpeiInput, type CreateSpeiResponse, type CreateWireInput, type CreateWireResponse, type DeleteBankAccountInput, type GetBankAccountInput, type GetBankAccountResponse, type ListBankAccountsInput, type ListBankAccountsResponse, type RecipientRelationship, createBankAccountsResource };
420
+ export { type CreateAchInput, type CreateAchResponse, type CreateArgentinaTransfersInput, type CreateArgentinaTransfersResponse, type CreateColombiaAchInput, type CreateColombiaAchResponse, type CreateInternationalSwiftInput, type CreateInternationalSwiftResponse, type CreatePixInput, type CreatePixResponse, type CreatePixSafeInput, type CreatePixSafeResponse, type CreateRtpInput, type CreateRtpResponse, type CreateSpeiInput, type CreateSpeiResponse, type CreateTedInput, type CreateTedResponse, type CreateWireInput, type CreateWireResponse, type DeleteBankAccountInput, type GetBankAccountInput, type GetBankAccountResponse, type ListBankAccountsInput, type ListBankAccountsResponse, type RecipientRelationship, createBankAccountsResource };
@@ -1,5 +1,5 @@
1
- import { R as Rail, C as Country, B as BlindpayApiResponse, a as BankAccountType, A as AccountClass, b as AchCopDocument, c as ArgentinaTransfers, d as BusinessIndustry } from '../../index.d-Gvol1faW.js';
2
- import { I as InternalApiClient } from '../../api-client-Bklw4zQi.js';
1
+ import { R as Rail, C as Country, B as BlindpayApiResponse, a as BankAccountType, A as AccountClass, b as AchCopDocument, c as ArgentinaTransfers, d as BusinessIndustry } from '../../index.d-DK8eD9f3.js';
2
+ import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
3
3
  import { SpeiProtocol } from '../payouts/index.js';
4
4
 
5
5
  type RecipientRelationship = "first_party" | "employee" | "independent_contractor" | "vendor_or_supplier" | "subsidiary_or_affiliate" | "merchant_or_partner" | "customer" | "landlord" | "family" | "other";
@@ -77,6 +77,9 @@ type ListBankAccountsResponse = {
77
77
  status?: string | null;
78
78
  recipient_relationship?: RecipientRelationship | null;
79
79
  swift_payment_code?: string | null;
80
+ ted_bank_code?: string | null;
81
+ ted_branch_code?: string | null;
82
+ ted_cpf_cnpj?: string | null;
80
83
  created_at: string;
81
84
  }>;
82
85
  };
@@ -380,6 +383,24 @@ type CreateRtpResponse = {
380
383
  postal_code: string;
381
384
  created_at: string;
382
385
  };
386
+ type CreateTedInput = {
387
+ receiver_id: string;
388
+ name: string;
389
+ beneficiary_name: string;
390
+ ted_bank_code: string;
391
+ ted_branch_code: string;
392
+ ted_cpf_cnpj: string;
393
+ };
394
+ type CreateTedResponse = {
395
+ id: string;
396
+ type: "ted";
397
+ name: string;
398
+ beneficiary_name: string;
399
+ ted_bank_code: string;
400
+ ted_branch_code: string;
401
+ ted_cpf_cnpj: string;
402
+ created_at: string;
403
+ };
383
404
  declare function createBankAccountsResource(instanceId: string, client: InternalApiClient): {
384
405
  list({ receiver_id, ...params }: ListBankAccountsInput): Promise<BlindpayApiResponse<ListBankAccountsResponse>>;
385
406
  get({ receiver_id, id, }: GetBankAccountInput): Promise<BlindpayApiResponse<GetBankAccountResponse>>;
@@ -393,6 +414,7 @@ declare function createBankAccountsResource(instanceId: string, client: Internal
393
414
  createWire({ receiver_id, ...data }: CreateWireInput): Promise<BlindpayApiResponse<CreateWireResponse>>;
394
415
  createInternationalSwift({ receiver_id, ...data }: CreateInternationalSwiftInput): Promise<BlindpayApiResponse<CreateInternationalSwiftResponse>>;
395
416
  createRtp({ receiver_id, ...data }: CreateRtpInput): Promise<BlindpayApiResponse<CreateRtpResponse>>;
417
+ createTed({ receiver_id, ...data }: CreateTedInput): Promise<BlindpayApiResponse<CreateTedResponse>>;
396
418
  };
397
419
 
398
- export { type CreateAchInput, type CreateAchResponse, type CreateArgentinaTransfersInput, type CreateArgentinaTransfersResponse, type CreateColombiaAchInput, type CreateColombiaAchResponse, type CreateInternationalSwiftInput, type CreateInternationalSwiftResponse, type CreatePixInput, type CreatePixResponse, type CreatePixSafeInput, type CreatePixSafeResponse, type CreateRtpInput, type CreateRtpResponse, type CreateSpeiInput, type CreateSpeiResponse, type CreateWireInput, type CreateWireResponse, type DeleteBankAccountInput, type GetBankAccountInput, type GetBankAccountResponse, type ListBankAccountsInput, type ListBankAccountsResponse, type RecipientRelationship, createBankAccountsResource };
420
+ export { type CreateAchInput, type CreateAchResponse, type CreateArgentinaTransfersInput, type CreateArgentinaTransfersResponse, type CreateColombiaAchInput, type CreateColombiaAchResponse, type CreateInternationalSwiftInput, type CreateInternationalSwiftResponse, type CreatePixInput, type CreatePixResponse, type CreatePixSafeInput, type CreatePixSafeResponse, type CreateRtpInput, type CreateRtpResponse, type CreateSpeiInput, type CreateSpeiResponse, type CreateTedInput, type CreateTedResponse, type CreateWireInput, type CreateWireResponse, type DeleteBankAccountInput, type GetBankAccountInput, type GetBankAccountResponse, type ListBankAccountsInput, type ListBankAccountsResponse, type RecipientRelationship, createBankAccountsResource };
@@ -164,6 +164,16 @@ function createBankAccountsResource(instanceId, client) {
164
164
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
165
165
  type: "rtp"
166
166
  }, data));
167
+ },
168
+ createTed(_u) {
169
+ var _v = _u, {
170
+ receiver_id
171
+ } = _v, data = __objRest(_v, [
172
+ "receiver_id"
173
+ ]);
174
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
175
+ type: "ted"
176
+ }, data));
167
177
  }
168
178
  };
169
179
  }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createBankAccountsResource,
3
3
  init_bank_accounts
4
- } from "../../chunk-UOAM7SX3.mjs";
4
+ } from "../../chunk-HKWPAL4R.mjs";
5
5
  import "../../chunk-OBKEW4AQ.mjs";
6
6
  init_bank_accounts();
7
7
  export {
@@ -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
  }
@@ -19540,6 +19550,7 @@ describe("Fees", () => {
19540
19550
  arbitrum: mockFeeOptions,
19541
19551
  stellar: mockFeeOptions,
19542
19552
  solana: mockFeeOptions,
19553
+ ted: mockFeeOptions,
19543
19554
  created_at: "2025-01-01T00:00:00Z",
19544
19555
  updated_at: "2025-01-01T00:00:00Z"
19545
19556
  };
@@ -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
@@ -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-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 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
  };