@blindpay/node 2.5.0 → 3.0.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 (74) hide show
  1. package/dist/{api-client-Drd7alfK.d.mts → api-client-B7VQkM_4.d.mts} +94 -33
  2. package/dist/{api-client-Drd7alfK.d.ts → api-client-B7VQkM_4.d.ts} +94 -33
  3. package/dist/{chunk-5XJJKYXE.mjs → chunk-LEPGLH7Q.mjs} +20 -10
  4. package/dist/{chunk-3QQCDR3E.mjs → chunk-VBZHAPK7.mjs} +8 -0
  5. package/dist/{chunk-CEJF5Y4K.mjs → chunk-WH2VNZE7.mjs} +11 -11
  6. package/dist/index.d.mts +4 -4
  7. package/dist/index.d.ts +4 -4
  8. package/dist/index.js +29 -11
  9. package/dist/index.mjs +11 -11
  10. package/dist/resources/api-keys/api-keys.test.js +29 -11
  11. package/dist/resources/api-keys/api-keys.test.mjs +5 -5
  12. package/dist/resources/api-keys/index.d.mts +1 -1
  13. package/dist/resources/api-keys/index.d.ts +1 -1
  14. package/dist/resources/available/available.test.js +29 -11
  15. package/dist/resources/available/available.test.mjs +5 -5
  16. package/dist/resources/available/index.d.mts +1 -1
  17. package/dist/resources/available/index.d.ts +1 -1
  18. package/dist/resources/bank-accounts/bank-accounts.test.js +29 -11
  19. package/dist/resources/bank-accounts/bank-accounts.test.mjs +5 -5
  20. package/dist/resources/bank-accounts/index.d.mts +2 -4
  21. package/dist/resources/bank-accounts/index.d.ts +2 -4
  22. package/dist/resources/instances/index.d.mts +1 -1
  23. package/dist/resources/instances/index.d.ts +1 -1
  24. package/dist/resources/instances/instances.test.js +29 -11
  25. package/dist/resources/instances/instances.test.mjs +5 -5
  26. package/dist/resources/partner-fees/index.d.mts +1 -1
  27. package/dist/resources/partner-fees/index.d.ts +1 -1
  28. package/dist/resources/partner-fees/partner-fees.test.js +29 -11
  29. package/dist/resources/partner-fees/partner-fees.test.mjs +5 -5
  30. package/dist/resources/payins/index.d.mts +9 -33
  31. package/dist/resources/payins/index.d.ts +9 -33
  32. package/dist/resources/payins/payins-quotes.test.js +29 -11
  33. package/dist/resources/payins/payins-quotes.test.mjs +5 -5
  34. package/dist/resources/payins/payins.test.js +141 -36
  35. package/dist/resources/payins/payins.test.mjs +117 -30
  36. package/dist/resources/payins/quotes.d.mts +1 -1
  37. package/dist/resources/payins/quotes.d.ts +1 -1
  38. package/dist/resources/payouts/index.d.mts +42 -17
  39. package/dist/resources/payouts/index.d.ts +42 -17
  40. package/dist/resources/payouts/index.js +8 -0
  41. package/dist/resources/payouts/index.mjs +1 -1
  42. package/dist/resources/payouts/payouts.test.js +139 -11
  43. package/dist/resources/payouts/payouts.test.mjs +115 -5
  44. package/dist/resources/quotes/index.d.mts +1 -1
  45. package/dist/resources/quotes/index.d.ts +1 -1
  46. package/dist/resources/quotes/quotes.test.js +29 -11
  47. package/dist/resources/quotes/quotes.test.mjs +5 -5
  48. package/dist/resources/receivers/index.d.mts +9 -7
  49. package/dist/resources/receivers/index.d.ts +9 -7
  50. package/dist/resources/receivers/receivers.test.js +36 -19
  51. package/dist/resources/receivers/receivers.test.mjs +12 -13
  52. package/dist/resources/terms-of-service/index.d.mts +1 -1
  53. package/dist/resources/terms-of-service/index.d.ts +1 -1
  54. package/dist/resources/terms-of-service/terms-of-service.test.js +29 -11
  55. package/dist/resources/terms-of-service/terms-of-service.test.mjs +5 -5
  56. package/dist/resources/virtual-accounts/index.d.mts +22 -7
  57. package/dist/resources/virtual-accounts/index.d.ts +22 -7
  58. package/dist/resources/virtual-accounts/index.js +20 -10
  59. package/dist/resources/virtual-accounts/index.mjs +1 -1
  60. package/dist/resources/virtual-accounts/virtual-accounts.test.js +148 -30
  61. package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +124 -24
  62. package/dist/resources/wallets/blockchain.d.mts +1 -1
  63. package/dist/resources/wallets/blockchain.d.ts +1 -1
  64. package/dist/resources/wallets/blockchain.test.js +29 -11
  65. package/dist/resources/wallets/blockchain.test.mjs +5 -5
  66. package/dist/resources/wallets/offramp.d.mts +1 -1
  67. package/dist/resources/wallets/offramp.d.ts +1 -1
  68. package/dist/resources/wallets/offramp.test.js +29 -11
  69. package/dist/resources/wallets/offramp.test.mjs +5 -5
  70. package/dist/resources/webhooks/index.d.mts +1 -1
  71. package/dist/resources/webhooks/index.d.ts +1 -1
  72. package/dist/resources/webhooks/webhooks.test.js +29 -11
  73. package/dist/resources/webhooks/webhooks.test.mjs +5 -5
  74. package/package.json +2 -1
@@ -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 = "2.5.0";
18700
+ var version = "3.0.0";
18701
18701
 
18702
18702
  // src/internal/blindpay-error.ts
18703
18703
  var BlindPayError = class extends Error {
@@ -18962,6 +18962,14 @@ function createPayoutsResource(instanceId, client) {
18962
18962
  createEvm(_c) {
18963
18963
  var data = __objRest(_c, []);
18964
18964
  return client.post(`/instances/${instanceId}/payouts/evm`, data);
18965
+ },
18966
+ authorizeSolana(_d) {
18967
+ var data = __objRest(_d, []);
18968
+ return client.post(`/instances/${instanceId}/payouts/solana/authorize`, data);
18969
+ },
18970
+ createSolana(_e) {
18971
+ var data = __objRest(_e, []);
18972
+ return client.post(`/instances/${instanceId}/payouts/solana`, data);
18965
18973
  }
18966
18974
  };
18967
18975
  }
@@ -19054,30 +19062,40 @@ function createTermsOfServiceResource(instanceId, client) {
19054
19062
  // src/resources/virtual-accounts/index.ts
19055
19063
  function createVirtualAccountsResource(instanceId, client) {
19056
19064
  return {
19057
- update(_a3) {
19065
+ list(receiver_id) {
19066
+ return client.get(`/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`);
19067
+ },
19068
+ get({
19069
+ receiver_id,
19070
+ id
19071
+ }) {
19072
+ return client.get(
19073
+ `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts/${id}`
19074
+ );
19075
+ },
19076
+ create(_a3) {
19058
19077
  var _b = _a3, {
19059
19078
  receiver_id
19060
19079
  } = _b, data = __objRest(_b, [
19061
19080
  "receiver_id"
19062
19081
  ]);
19063
- return client.put(
19082
+ return client.post(
19064
19083
  `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`,
19065
19084
  data
19066
19085
  );
19067
19086
  },
19068
- create(_c) {
19087
+ update(_c) {
19069
19088
  var _d = _c, {
19070
- receiver_id
19089
+ receiver_id,
19090
+ id
19071
19091
  } = _d, data = __objRest(_d, [
19072
- "receiver_id"
19092
+ "receiver_id",
19093
+ "id"
19073
19094
  ]);
19074
- return client.post(
19075
- `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`,
19095
+ return client.put(
19096
+ `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts/${id}`,
19076
19097
  data
19077
19098
  );
19078
- },
19079
- get(receiver_id) {
19080
- return client.get(`/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`);
19081
19099
  }
19082
19100
  };
19083
19101
  }
@@ -7,21 +7,21 @@ import {
7
7
  import {
8
8
  BlindPay,
9
9
  init_client
10
- } from "../../chunk-CEJF5Y4K.mjs";
11
- import "../../chunk-UC57SCKQ.mjs";
10
+ } from "../../chunk-WH2VNZE7.mjs";
12
11
  import "../../chunk-FG25JHDX.mjs";
13
12
  import "../../chunk-QGNLMN6Z.mjs";
13
+ import "../../chunk-UC57SCKQ.mjs";
14
14
  import "../../chunk-TBTA7A2P.mjs";
15
15
  import "../../chunk-67XECGMJ.mjs";
16
16
  import "../../chunk-Z6EYX4D3.mjs";
17
- import "../../chunk-5XJJKYXE.mjs";
18
- import "../../chunk-U7CKUUO7.mjs";
17
+ import "../../chunk-LEPGLH7Q.mjs";
19
18
  import "../../chunk-RC5NN5UF.mjs";
20
19
  import "../../chunk-W7NJUABI.mjs";
21
20
  import "../../chunk-VRA5HP7F.mjs";
22
- import "../../chunk-3QQCDR3E.mjs";
21
+ import "../../chunk-VBZHAPK7.mjs";
23
22
  import "../../chunk-LRHWT4JU.mjs";
24
23
  import "../../chunk-CPOSU35L.mjs";
24
+ import "../../chunk-U7CKUUO7.mjs";
25
25
  import "../../chunk-B5T7AQLH.mjs";
26
26
  import {
27
27
  __async,
@@ -1,4 +1,4 @@
1
- import { I as InternalApiClient, B as BlindpayApiResponse } from '../../api-client-Drd7alfK.mjs';
1
+ import { I as InternalApiClient, B as BlindpayApiResponse } from '../../api-client-B7VQkM_4.mjs';
2
2
 
3
3
  type ListApiKeysResponse = Array<{
4
4
  id: string;
@@ -1,4 +1,4 @@
1
- import { I as InternalApiClient, B as BlindpayApiResponse } from '../../api-client-Drd7alfK.js';
1
+ import { I as InternalApiClient, B as BlindpayApiResponse } from '../../api-client-B7VQkM_4.js';
2
2
 
3
3
  type ListApiKeysResponse = Array<{
4
4
  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 = "2.5.0";
18705
+ var version = "3.0.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18967,6 +18967,14 @@ function createPayoutsResource(instanceId, client) {
18967
18967
  createEvm(_c) {
18968
18968
  var data = __objRest(_c, []);
18969
18969
  return client.post(`/instances/${instanceId}/payouts/evm`, data);
18970
+ },
18971
+ authorizeSolana(_d) {
18972
+ var data = __objRest(_d, []);
18973
+ return client.post(`/instances/${instanceId}/payouts/solana/authorize`, data);
18974
+ },
18975
+ createSolana(_e) {
18976
+ var data = __objRest(_e, []);
18977
+ return client.post(`/instances/${instanceId}/payouts/solana`, data);
18970
18978
  }
18971
18979
  };
18972
18980
  }
@@ -19059,30 +19067,40 @@ function createTermsOfServiceResource(instanceId, client) {
19059
19067
  // src/resources/virtual-accounts/index.ts
19060
19068
  function createVirtualAccountsResource(instanceId, client) {
19061
19069
  return {
19062
- update(_a3) {
19070
+ list(receiver_id) {
19071
+ return client.get(`/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`);
19072
+ },
19073
+ get({
19074
+ receiver_id,
19075
+ id
19076
+ }) {
19077
+ return client.get(
19078
+ `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts/${id}`
19079
+ );
19080
+ },
19081
+ create(_a3) {
19063
19082
  var _b = _a3, {
19064
19083
  receiver_id
19065
19084
  } = _b, data = __objRest(_b, [
19066
19085
  "receiver_id"
19067
19086
  ]);
19068
- return client.put(
19087
+ return client.post(
19069
19088
  `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`,
19070
19089
  data
19071
19090
  );
19072
19091
  },
19073
- create(_c) {
19092
+ update(_c) {
19074
19093
  var _d = _c, {
19075
- receiver_id
19094
+ receiver_id,
19095
+ id
19076
19096
  } = _d, data = __objRest(_d, [
19077
- "receiver_id"
19097
+ "receiver_id",
19098
+ "id"
19078
19099
  ]);
19079
- return client.post(
19080
- `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`,
19100
+ return client.put(
19101
+ `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts/${id}`,
19081
19102
  data
19082
19103
  );
19083
- },
19084
- get(receiver_id) {
19085
- return client.get(`/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`);
19086
19104
  }
19087
19105
  };
19088
19106
  }
@@ -8,21 +8,21 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-CEJF5Y4K.mjs";
12
- import "../../chunk-UC57SCKQ.mjs";
11
+ } from "../../chunk-WH2VNZE7.mjs";
13
12
  import "../../chunk-FG25JHDX.mjs";
14
13
  import "../../chunk-QGNLMN6Z.mjs";
14
+ import "../../chunk-UC57SCKQ.mjs";
15
15
  import "../../chunk-TBTA7A2P.mjs";
16
16
  import "../../chunk-67XECGMJ.mjs";
17
17
  import "../../chunk-Z6EYX4D3.mjs";
18
- import "../../chunk-5XJJKYXE.mjs";
19
- import "../../chunk-U7CKUUO7.mjs";
18
+ import "../../chunk-LEPGLH7Q.mjs";
20
19
  import "../../chunk-RC5NN5UF.mjs";
21
20
  import "../../chunk-W7NJUABI.mjs";
22
21
  import "../../chunk-VRA5HP7F.mjs";
23
- import "../../chunk-3QQCDR3E.mjs";
22
+ import "../../chunk-VBZHAPK7.mjs";
24
23
  import "../../chunk-LRHWT4JU.mjs";
25
24
  import "../../chunk-CPOSU35L.mjs";
25
+ import "../../chunk-U7CKUUO7.mjs";
26
26
  import "../../chunk-B5T7AQLH.mjs";
27
27
  import {
28
28
  __async,
@@ -1,4 +1,4 @@
1
- import { I as InternalApiClient, R as Rail, B as BlindpayApiResponse } from '../../api-client-Drd7alfK.mjs';
1
+ import { I as InternalApiClient, R as Rail, B as BlindpayApiResponse } from '../../api-client-B7VQkM_4.mjs';
2
2
 
3
3
  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";
4
4
  type GetBankDetailsResponse = Array<{
@@ -1,4 +1,4 @@
1
- import { I as InternalApiClient, R as Rail, B as BlindpayApiResponse } from '../../api-client-Drd7alfK.js';
1
+ import { I as InternalApiClient, R as Rail, B as BlindpayApiResponse } from '../../api-client-B7VQkM_4.js';
2
2
 
3
3
  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";
4
4
  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 = "2.5.0";
18705
+ var version = "3.0.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18967,6 +18967,14 @@ function createPayoutsResource(instanceId, client) {
18967
18967
  createEvm(_c) {
18968
18968
  var data = __objRest(_c, []);
18969
18969
  return client.post(`/instances/${instanceId}/payouts/evm`, data);
18970
+ },
18971
+ authorizeSolana(_d) {
18972
+ var data = __objRest(_d, []);
18973
+ return client.post(`/instances/${instanceId}/payouts/solana/authorize`, data);
18974
+ },
18975
+ createSolana(_e) {
18976
+ var data = __objRest(_e, []);
18977
+ return client.post(`/instances/${instanceId}/payouts/solana`, data);
18970
18978
  }
18971
18979
  };
18972
18980
  }
@@ -19059,30 +19067,40 @@ function createTermsOfServiceResource(instanceId, client) {
19059
19067
  // src/resources/virtual-accounts/index.ts
19060
19068
  function createVirtualAccountsResource(instanceId, client) {
19061
19069
  return {
19062
- update(_a3) {
19070
+ list(receiver_id) {
19071
+ return client.get(`/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`);
19072
+ },
19073
+ get({
19074
+ receiver_id,
19075
+ id
19076
+ }) {
19077
+ return client.get(
19078
+ `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts/${id}`
19079
+ );
19080
+ },
19081
+ create(_a3) {
19063
19082
  var _b = _a3, {
19064
19083
  receiver_id
19065
19084
  } = _b, data = __objRest(_b, [
19066
19085
  "receiver_id"
19067
19086
  ]);
19068
- return client.put(
19087
+ return client.post(
19069
19088
  `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`,
19070
19089
  data
19071
19090
  );
19072
19091
  },
19073
- create(_c) {
19092
+ update(_c) {
19074
19093
  var _d = _c, {
19075
- receiver_id
19094
+ receiver_id,
19095
+ id
19076
19096
  } = _d, data = __objRest(_d, [
19077
- "receiver_id"
19097
+ "receiver_id",
19098
+ "id"
19078
19099
  ]);
19079
- return client.post(
19080
- `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`,
19100
+ return client.put(
19101
+ `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts/${id}`,
19081
19102
  data
19082
19103
  );
19083
- },
19084
- get(receiver_id) {
19085
- return client.get(`/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`);
19086
19104
  }
19087
19105
  };
19088
19106
  }
@@ -8,21 +8,21 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-CEJF5Y4K.mjs";
12
- import "../../chunk-UC57SCKQ.mjs";
11
+ } from "../../chunk-WH2VNZE7.mjs";
13
12
  import "../../chunk-FG25JHDX.mjs";
14
13
  import "../../chunk-QGNLMN6Z.mjs";
14
+ import "../../chunk-UC57SCKQ.mjs";
15
15
  import "../../chunk-TBTA7A2P.mjs";
16
16
  import "../../chunk-67XECGMJ.mjs";
17
17
  import "../../chunk-Z6EYX4D3.mjs";
18
- import "../../chunk-5XJJKYXE.mjs";
19
- import "../../chunk-U7CKUUO7.mjs";
18
+ import "../../chunk-LEPGLH7Q.mjs";
20
19
  import "../../chunk-RC5NN5UF.mjs";
21
20
  import "../../chunk-W7NJUABI.mjs";
22
21
  import "../../chunk-VRA5HP7F.mjs";
23
- import "../../chunk-3QQCDR3E.mjs";
22
+ import "../../chunk-VBZHAPK7.mjs";
24
23
  import "../../chunk-LRHWT4JU.mjs";
25
24
  import "../../chunk-CPOSU35L.mjs";
25
+ import "../../chunk-U7CKUUO7.mjs";
26
26
  import "../../chunk-B5T7AQLH.mjs";
27
27
  import {
28
28
  __async,
@@ -1,8 +1,6 @@
1
- import { I as InternalApiClient, B as BlindpayApiResponse, R as Rail, a as BankAccountType, A as AccountClass, C as Country } from '../../api-client-Drd7alfK.mjs';
1
+ import { I as InternalApiClient, B as BlindpayApiResponse, R as Rail, a as BankAccountType, A as AccountClass, C as Country, b as AchCopDocument, c as ArgentinaTransfers } from '../../api-client-B7VQkM_4.mjs';
2
2
  import { SpeiProtocol } from '../payouts/index.mjs';
3
3
 
4
- type ArgentinaTransfers = "CVU" | "CBU" | "ALIAS";
5
- type AchCopDocument = "CC" | "CE" | "NIT" | "PASS" | "PEP";
6
4
  type ListBankAccountsInput = string;
7
5
  type ListBankAccountsResponse = {
8
6
  data: Array<{
@@ -317,4 +315,4 @@ declare function createBankAccountsResource(instanceId: string, client: Internal
317
315
  createRtp({ receiver_id, ...data }: CreateRtpInput): Promise<BlindpayApiResponse<CreateRtpResponse>>;
318
316
  };
319
317
 
320
- export { type AchCopDocument, type ArgentinaTransfers, type CreateAchInput, type CreateAchResponse, type CreateArgentinaTransfersInput, type CreateArgentinaTransfersResponse, type CreateColombiaAchInput, type CreateColombiaAchResponse, type CreateInternationalSwiftInput, type CreateInternationalSwiftResponse, type CreatePixInput, type CreatePixResponse, type CreateRtpInput, type CreateRtpResponse, type CreateSpeiInput, type CreateSpeiResponse, type CreateWireInput, type CreateWireResponse, type DeleteBankAccountInput, type GetBankAccountInput, type GetBankAccountResponse, type ListBankAccountsInput, type ListBankAccountsResponse, createBankAccountsResource };
318
+ export { type CreateAchInput, type CreateAchResponse, type CreateArgentinaTransfersInput, type CreateArgentinaTransfersResponse, type CreateColombiaAchInput, type CreateColombiaAchResponse, type CreateInternationalSwiftInput, type CreateInternationalSwiftResponse, type CreatePixInput, type CreatePixResponse, type CreateRtpInput, type CreateRtpResponse, type CreateSpeiInput, type CreateSpeiResponse, type CreateWireInput, type CreateWireResponse, type DeleteBankAccountInput, type GetBankAccountInput, type GetBankAccountResponse, type ListBankAccountsInput, type ListBankAccountsResponse, createBankAccountsResource };
@@ -1,8 +1,6 @@
1
- import { I as InternalApiClient, B as BlindpayApiResponse, R as Rail, a as BankAccountType, A as AccountClass, C as Country } from '../../api-client-Drd7alfK.js';
1
+ import { I as InternalApiClient, B as BlindpayApiResponse, R as Rail, a as BankAccountType, A as AccountClass, C as Country, b as AchCopDocument, c as ArgentinaTransfers } from '../../api-client-B7VQkM_4.js';
2
2
  import { SpeiProtocol } from '../payouts/index.js';
3
3
 
4
- type ArgentinaTransfers = "CVU" | "CBU" | "ALIAS";
5
- type AchCopDocument = "CC" | "CE" | "NIT" | "PASS" | "PEP";
6
4
  type ListBankAccountsInput = string;
7
5
  type ListBankAccountsResponse = {
8
6
  data: Array<{
@@ -317,4 +315,4 @@ declare function createBankAccountsResource(instanceId: string, client: Internal
317
315
  createRtp({ receiver_id, ...data }: CreateRtpInput): Promise<BlindpayApiResponse<CreateRtpResponse>>;
318
316
  };
319
317
 
320
- export { type AchCopDocument, type ArgentinaTransfers, type CreateAchInput, type CreateAchResponse, type CreateArgentinaTransfersInput, type CreateArgentinaTransfersResponse, type CreateColombiaAchInput, type CreateColombiaAchResponse, type CreateInternationalSwiftInput, type CreateInternationalSwiftResponse, type CreatePixInput, type CreatePixResponse, type CreateRtpInput, type CreateRtpResponse, type CreateSpeiInput, type CreateSpeiResponse, type CreateWireInput, type CreateWireResponse, type DeleteBankAccountInput, type GetBankAccountInput, type GetBankAccountResponse, type ListBankAccountsInput, type ListBankAccountsResponse, createBankAccountsResource };
318
+ export { type CreateAchInput, type CreateAchResponse, type CreateArgentinaTransfersInput, type CreateArgentinaTransfersResponse, type CreateColombiaAchInput, type CreateColombiaAchResponse, type CreateInternationalSwiftInput, type CreateInternationalSwiftResponse, type CreatePixInput, type CreatePixResponse, type CreateRtpInput, type CreateRtpResponse, type CreateSpeiInput, type CreateSpeiResponse, type CreateWireInput, type CreateWireResponse, type DeleteBankAccountInput, type GetBankAccountInput, type GetBankAccountResponse, type ListBankAccountsInput, type ListBankAccountsResponse, createBankAccountsResource };
@@ -1,4 +1,4 @@
1
- import { I as InternalApiClient, B as BlindpayApiResponse } from '../../api-client-Drd7alfK.mjs';
1
+ import { I as InternalApiClient, B as BlindpayApiResponse } from '../../api-client-B7VQkM_4.mjs';
2
2
 
3
3
  type InstanceMemberRole = "owner" | "admin" | "finance" | "checker" | "operations" | "developer" | "viewer";
4
4
  type GetInstanceMembersResponse = Array<{
@@ -1,4 +1,4 @@
1
- import { I as InternalApiClient, B as BlindpayApiResponse } from '../../api-client-Drd7alfK.js';
1
+ import { I as InternalApiClient, B as BlindpayApiResponse } from '../../api-client-B7VQkM_4.js';
2
2
 
3
3
  type InstanceMemberRole = "owner" | "admin" | "finance" | "checker" | "operations" | "developer" | "viewer";
4
4
  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 = "2.5.0";
18705
+ var version = "3.0.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18967,6 +18967,14 @@ function createPayoutsResource(instanceId, client) {
18967
18967
  createEvm(_c) {
18968
18968
  var data = __objRest(_c, []);
18969
18969
  return client.post(`/instances/${instanceId}/payouts/evm`, data);
18970
+ },
18971
+ authorizeSolana(_d) {
18972
+ var data = __objRest(_d, []);
18973
+ return client.post(`/instances/${instanceId}/payouts/solana/authorize`, data);
18974
+ },
18975
+ createSolana(_e) {
18976
+ var data = __objRest(_e, []);
18977
+ return client.post(`/instances/${instanceId}/payouts/solana`, data);
18970
18978
  }
18971
18979
  };
18972
18980
  }
@@ -19059,30 +19067,40 @@ function createTermsOfServiceResource(instanceId, client) {
19059
19067
  // src/resources/virtual-accounts/index.ts
19060
19068
  function createVirtualAccountsResource(instanceId, client) {
19061
19069
  return {
19062
- update(_a3) {
19070
+ list(receiver_id) {
19071
+ return client.get(`/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`);
19072
+ },
19073
+ get({
19074
+ receiver_id,
19075
+ id
19076
+ }) {
19077
+ return client.get(
19078
+ `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts/${id}`
19079
+ );
19080
+ },
19081
+ create(_a3) {
19063
19082
  var _b = _a3, {
19064
19083
  receiver_id
19065
19084
  } = _b, data = __objRest(_b, [
19066
19085
  "receiver_id"
19067
19086
  ]);
19068
- return client.put(
19087
+ return client.post(
19069
19088
  `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`,
19070
19089
  data
19071
19090
  );
19072
19091
  },
19073
- create(_c) {
19092
+ update(_c) {
19074
19093
  var _d = _c, {
19075
- receiver_id
19094
+ receiver_id,
19095
+ id
19076
19096
  } = _d, data = __objRest(_d, [
19077
- "receiver_id"
19097
+ "receiver_id",
19098
+ "id"
19078
19099
  ]);
19079
- return client.post(
19080
- `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`,
19100
+ return client.put(
19101
+ `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts/${id}`,
19081
19102
  data
19082
19103
  );
19083
- },
19084
- get(receiver_id) {
19085
- return client.get(`/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`);
19086
19104
  }
19087
19105
  };
19088
19106
  }
@@ -8,21 +8,21 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-CEJF5Y4K.mjs";
12
- import "../../chunk-UC57SCKQ.mjs";
11
+ } from "../../chunk-WH2VNZE7.mjs";
13
12
  import "../../chunk-FG25JHDX.mjs";
14
13
  import "../../chunk-QGNLMN6Z.mjs";
14
+ import "../../chunk-UC57SCKQ.mjs";
15
15
  import "../../chunk-TBTA7A2P.mjs";
16
16
  import "../../chunk-67XECGMJ.mjs";
17
17
  import "../../chunk-Z6EYX4D3.mjs";
18
- import "../../chunk-5XJJKYXE.mjs";
19
- import "../../chunk-U7CKUUO7.mjs";
18
+ import "../../chunk-LEPGLH7Q.mjs";
20
19
  import "../../chunk-RC5NN5UF.mjs";
21
20
  import "../../chunk-W7NJUABI.mjs";
22
21
  import "../../chunk-VRA5HP7F.mjs";
23
- import "../../chunk-3QQCDR3E.mjs";
22
+ import "../../chunk-VBZHAPK7.mjs";
24
23
  import "../../chunk-LRHWT4JU.mjs";
25
24
  import "../../chunk-CPOSU35L.mjs";
25
+ import "../../chunk-U7CKUUO7.mjs";
26
26
  import "../../chunk-B5T7AQLH.mjs";
27
27
  import {
28
28
  __async,
@@ -1,4 +1,4 @@
1
- import { I as InternalApiClient, B as BlindpayApiResponse } from '../../api-client-Drd7alfK.mjs';
1
+ import { I as InternalApiClient, B as BlindpayApiResponse } from '../../api-client-B7VQkM_4.mjs';
2
2
 
3
3
  type ListPartnerFeesResponse = Array<{
4
4
  id: string;
@@ -1,4 +1,4 @@
1
- import { I as InternalApiClient, B as BlindpayApiResponse } from '../../api-client-Drd7alfK.js';
1
+ import { I as InternalApiClient, B as BlindpayApiResponse } from '../../api-client-B7VQkM_4.js';
2
2
 
3
3
  type ListPartnerFeesResponse = Array<{
4
4
  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 = "2.5.0";
18705
+ var version = "3.0.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18967,6 +18967,14 @@ function createPayoutsResource(instanceId, client) {
18967
18967
  createEvm(_c) {
18968
18968
  var data = __objRest(_c, []);
18969
18969
  return client.post(`/instances/${instanceId}/payouts/evm`, data);
18970
+ },
18971
+ authorizeSolana(_d) {
18972
+ var data = __objRest(_d, []);
18973
+ return client.post(`/instances/${instanceId}/payouts/solana/authorize`, data);
18974
+ },
18975
+ createSolana(_e) {
18976
+ var data = __objRest(_e, []);
18977
+ return client.post(`/instances/${instanceId}/payouts/solana`, data);
18970
18978
  }
18971
18979
  };
18972
18980
  }
@@ -19059,30 +19067,40 @@ function createTermsOfServiceResource(instanceId, client) {
19059
19067
  // src/resources/virtual-accounts/index.ts
19060
19068
  function createVirtualAccountsResource(instanceId, client) {
19061
19069
  return {
19062
- update(_a3) {
19070
+ list(receiver_id) {
19071
+ return client.get(`/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`);
19072
+ },
19073
+ get({
19074
+ receiver_id,
19075
+ id
19076
+ }) {
19077
+ return client.get(
19078
+ `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts/${id}`
19079
+ );
19080
+ },
19081
+ create(_a3) {
19063
19082
  var _b = _a3, {
19064
19083
  receiver_id
19065
19084
  } = _b, data = __objRest(_b, [
19066
19085
  "receiver_id"
19067
19086
  ]);
19068
- return client.put(
19087
+ return client.post(
19069
19088
  `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`,
19070
19089
  data
19071
19090
  );
19072
19091
  },
19073
- create(_c) {
19092
+ update(_c) {
19074
19093
  var _d = _c, {
19075
- receiver_id
19094
+ receiver_id,
19095
+ id
19076
19096
  } = _d, data = __objRest(_d, [
19077
- "receiver_id"
19097
+ "receiver_id",
19098
+ "id"
19078
19099
  ]);
19079
- return client.post(
19080
- `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`,
19100
+ return client.put(
19101
+ `/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts/${id}`,
19081
19102
  data
19082
19103
  );
19083
- },
19084
- get(receiver_id) {
19085
- return client.get(`/instances/${instanceId}/receivers/${receiver_id}/virtual-accounts`);
19086
19104
  }
19087
19105
  };
19088
19106
  }
@@ -8,21 +8,21 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-CEJF5Y4K.mjs";
12
- import "../../chunk-UC57SCKQ.mjs";
11
+ } from "../../chunk-WH2VNZE7.mjs";
13
12
  import "../../chunk-FG25JHDX.mjs";
14
13
  import "../../chunk-QGNLMN6Z.mjs";
14
+ import "../../chunk-UC57SCKQ.mjs";
15
15
  import "../../chunk-TBTA7A2P.mjs";
16
16
  import "../../chunk-67XECGMJ.mjs";
17
17
  import "../../chunk-Z6EYX4D3.mjs";
18
- import "../../chunk-5XJJKYXE.mjs";
19
- import "../../chunk-U7CKUUO7.mjs";
18
+ import "../../chunk-LEPGLH7Q.mjs";
20
19
  import "../../chunk-RC5NN5UF.mjs";
21
20
  import "../../chunk-W7NJUABI.mjs";
22
21
  import "../../chunk-VRA5HP7F.mjs";
23
- import "../../chunk-3QQCDR3E.mjs";
22
+ import "../../chunk-VBZHAPK7.mjs";
24
23
  import "../../chunk-LRHWT4JU.mjs";
25
24
  import "../../chunk-CPOSU35L.mjs";
25
+ import "../../chunk-U7CKUUO7.mjs";
26
26
  import "../../chunk-B5T7AQLH.mjs";
27
27
  import {
28
28
  __async,