@blindpay/node 3.9.0 → 3.10.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 (62) hide show
  1. package/dist/{chunk-CLGWJEUF.mjs → chunk-7PWF4J3Z.mjs} +3 -3
  2. package/dist/{chunk-BGXC2F73.mjs → chunk-KYOUR4KX.mjs} +4 -0
  3. package/dist/{chunk-HKWPAL4R.mjs → chunk-N4F3FBNB.mjs} +10 -0
  4. package/dist/index.d.mts +2 -2
  5. package/dist/index.d.ts +2 -2
  6. package/dist/index.js +15 -1
  7. package/dist/index.mjs +3 -3
  8. package/dist/resources/api-keys/api-keys.test.js +15 -1
  9. package/dist/resources/api-keys/api-keys.test.mjs +3 -3
  10. package/dist/resources/available/available.test.js +15 -1
  11. package/dist/resources/available/available.test.mjs +3 -3
  12. package/dist/resources/bank-accounts/bank-accounts.test.js +53 -1
  13. package/dist/resources/bank-accounts/bank-accounts.test.mjs +41 -3
  14. package/dist/resources/bank-accounts/index.d.mts +35 -1
  15. package/dist/resources/bank-accounts/index.d.ts +35 -1
  16. package/dist/resources/bank-accounts/index.js +10 -0
  17. package/dist/resources/bank-accounts/index.mjs +1 -1
  18. package/dist/resources/fees/fees.test.js +15 -1
  19. package/dist/resources/fees/fees.test.mjs +3 -3
  20. package/dist/resources/instances/index.d.mts +8 -1
  21. package/dist/resources/instances/index.d.ts +8 -1
  22. package/dist/resources/instances/index.js +4 -0
  23. package/dist/resources/instances/index.mjs +1 -1
  24. package/dist/resources/instances/instances.test.js +15 -1
  25. package/dist/resources/instances/instances.test.mjs +3 -3
  26. package/dist/resources/partner-fees/partner-fees.test.js +15 -1
  27. package/dist/resources/partner-fees/partner-fees.test.mjs +3 -3
  28. package/dist/resources/payins/payins-quotes.test.js +15 -1
  29. package/dist/resources/payins/payins-quotes.test.mjs +3 -3
  30. package/dist/resources/payins/payins.test.js +15 -1
  31. package/dist/resources/payins/payins.test.mjs +3 -3
  32. package/dist/resources/payouts/index.d.mts +2 -1
  33. package/dist/resources/payouts/index.d.ts +2 -1
  34. package/dist/resources/payouts/payouts.test.js +15 -1
  35. package/dist/resources/payouts/payouts.test.mjs +3 -3
  36. package/dist/resources/quotes/index.d.mts +2 -5
  37. package/dist/resources/quotes/index.d.ts +2 -5
  38. package/dist/resources/quotes/quotes.test.js +16 -5
  39. package/dist/resources/quotes/quotes.test.mjs +4 -7
  40. package/dist/resources/receivers/receivers.test.js +15 -1
  41. package/dist/resources/receivers/receivers.test.mjs +3 -3
  42. package/dist/resources/terms-of-service/terms-of-service.test.js +15 -1
  43. package/dist/resources/terms-of-service/terms-of-service.test.mjs +3 -3
  44. package/dist/resources/transfers/transfers.test.js +15 -1
  45. package/dist/resources/transfers/transfers.test.mjs +3 -3
  46. package/dist/resources/upload/upload.test.js +15 -1
  47. package/dist/resources/upload/upload.test.mjs +3 -3
  48. package/dist/resources/virtual-accounts/virtual-accounts.test.js +15 -1
  49. package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +3 -3
  50. package/dist/resources/wallets/blockchain.test.js +15 -1
  51. package/dist/resources/wallets/blockchain.test.mjs +3 -3
  52. package/dist/resources/wallets/custodial.test.js +15 -1
  53. package/dist/resources/wallets/custodial.test.mjs +3 -3
  54. package/dist/resources/wallets/offramp.d.mts +1 -1
  55. package/dist/resources/wallets/offramp.d.ts +1 -1
  56. package/dist/resources/wallets/offramp.test.js +15 -1
  57. package/dist/resources/wallets/offramp.test.mjs +3 -3
  58. package/dist/resources/webhooks/index.d.mts +1 -1
  59. package/dist/resources/webhooks/index.d.ts +1 -1
  60. package/dist/resources/webhooks/webhooks.test.js +15 -1
  61. package/dist/resources/webhooks/webhooks.test.mjs +3 -3
  62. package/package.json +1 -1
@@ -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.9.0";
18705
+ var version = "3.10.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18875,6 +18875,16 @@ function createBankAccountsResource(instanceId, client) {
18875
18875
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18876
18876
  type: "ted"
18877
18877
  }, data));
18878
+ },
18879
+ createSepa(_w) {
18880
+ var _x = _w, {
18881
+ receiver_id
18882
+ } = _x, data = __objRest(_x, [
18883
+ "receiver_id"
18884
+ ]);
18885
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18886
+ type: "sepa"
18887
+ }, data));
18878
18888
  }
18879
18889
  };
18880
18890
  }
@@ -18909,6 +18919,10 @@ function createInstancesResource(instanceId, client) {
18909
18919
  role
18910
18920
  }) {
18911
18921
  return client.put(`/instances/${instanceId}/members/${memberId}`, { user_role: role });
18922
+ },
18923
+ migrateOwnership(_b) {
18924
+ var data = __objRest(_b, []);
18925
+ return client.post(`/instances/${instanceId}/ownership`, data);
18912
18926
  }
18913
18927
  };
18914
18928
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-CLGWJEUF.mjs";
11
+ } from "../../chunk-7PWF4J3Z.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -22,12 +22,12 @@ import "../../chunk-TBTA7A2P.mjs";
22
22
  import "../../chunk-YIZJM2GU.mjs";
23
23
  import "../../chunk-Z6EYX4D3.mjs";
24
24
  import "../../chunk-ALHMJWQN.mjs";
25
- import "../../chunk-BGXC2F73.mjs";
25
+ import "../../chunk-KYOUR4KX.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-HKWPAL4R.mjs";
30
+ import "../../chunk-N4F3FBNB.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.9.0";
18705
+ var version = "3.10.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18875,6 +18875,16 @@ function createBankAccountsResource(instanceId, client) {
18875
18875
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18876
18876
  type: "ted"
18877
18877
  }, data));
18878
+ },
18879
+ createSepa(_w) {
18880
+ var _x = _w, {
18881
+ receiver_id
18882
+ } = _x, data = __objRest(_x, [
18883
+ "receiver_id"
18884
+ ]);
18885
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18886
+ type: "sepa"
18887
+ }, data));
18878
18888
  }
18879
18889
  };
18880
18890
  }
@@ -18909,6 +18919,10 @@ function createInstancesResource(instanceId, client) {
18909
18919
  role
18910
18920
  }) {
18911
18921
  return client.put(`/instances/${instanceId}/members/${memberId}`, { user_role: role });
18922
+ },
18923
+ migrateOwnership(_b) {
18924
+ var data = __objRest(_b, []);
18925
+ return client.post(`/instances/${instanceId}/ownership`, data);
18912
18926
  }
18913
18927
  };
18914
18928
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-CLGWJEUF.mjs";
11
+ } from "../../chunk-7PWF4J3Z.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -22,12 +22,12 @@ import "../../chunk-TBTA7A2P.mjs";
22
22
  import "../../chunk-YIZJM2GU.mjs";
23
23
  import "../../chunk-Z6EYX4D3.mjs";
24
24
  import "../../chunk-ALHMJWQN.mjs";
25
- import "../../chunk-BGXC2F73.mjs";
25
+ import "../../chunk-KYOUR4KX.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-HKWPAL4R.mjs";
30
+ import "../../chunk-N4F3FBNB.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.9.0";
18705
+ var version = "3.10.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18875,6 +18875,16 @@ function createBankAccountsResource(instanceId, client) {
18875
18875
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18876
18876
  type: "ted"
18877
18877
  }, data));
18878
+ },
18879
+ createSepa(_w) {
18880
+ var _x = _w, {
18881
+ receiver_id
18882
+ } = _x, data = __objRest(_x, [
18883
+ "receiver_id"
18884
+ ]);
18885
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18886
+ type: "sepa"
18887
+ }, data));
18878
18888
  }
18879
18889
  };
18880
18890
  }
@@ -18909,6 +18919,10 @@ function createInstancesResource(instanceId, client) {
18909
18919
  role
18910
18920
  }) {
18911
18921
  return client.put(`/instances/${instanceId}/members/${memberId}`, { user_role: role });
18922
+ },
18923
+ migrateOwnership(_b) {
18924
+ var data = __objRest(_b, []);
18925
+ return client.post(`/instances/${instanceId}/ownership`, data);
18912
18926
  }
18913
18927
  };
18914
18928
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-CLGWJEUF.mjs";
11
+ } from "../../chunk-7PWF4J3Z.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -22,12 +22,12 @@ import "../../chunk-TBTA7A2P.mjs";
22
22
  import "../../chunk-YIZJM2GU.mjs";
23
23
  import "../../chunk-Z6EYX4D3.mjs";
24
24
  import "../../chunk-ALHMJWQN.mjs";
25
- import "../../chunk-BGXC2F73.mjs";
25
+ import "../../chunk-KYOUR4KX.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-HKWPAL4R.mjs";
30
+ import "../../chunk-N4F3FBNB.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.9.0";
18705
+ var version = "3.10.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18875,6 +18875,16 @@ function createBankAccountsResource(instanceId, client) {
18875
18875
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18876
18876
  type: "ted"
18877
18877
  }, data));
18878
+ },
18879
+ createSepa(_w) {
18880
+ var _x = _w, {
18881
+ receiver_id
18882
+ } = _x, data = __objRest(_x, [
18883
+ "receiver_id"
18884
+ ]);
18885
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18886
+ type: "sepa"
18887
+ }, data));
18878
18888
  }
18879
18889
  };
18880
18890
  }
@@ -18909,6 +18919,10 @@ function createInstancesResource(instanceId, client) {
18909
18919
  role
18910
18920
  }) {
18911
18921
  return client.put(`/instances/${instanceId}/members/${memberId}`, { user_role: role });
18922
+ },
18923
+ migrateOwnership(_b) {
18924
+ var data = __objRest(_b, []);
18925
+ return client.post(`/instances/${instanceId}/ownership`, data);
18912
18926
  }
18913
18927
  };
18914
18928
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-CLGWJEUF.mjs";
11
+ } from "../../chunk-7PWF4J3Z.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -22,12 +22,12 @@ import "../../chunk-TBTA7A2P.mjs";
22
22
  import "../../chunk-YIZJM2GU.mjs";
23
23
  import "../../chunk-Z6EYX4D3.mjs";
24
24
  import "../../chunk-ALHMJWQN.mjs";
25
- import "../../chunk-BGXC2F73.mjs";
25
+ import "../../chunk-KYOUR4KX.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-HKWPAL4R.mjs";
30
+ import "../../chunk-N4F3FBNB.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.9.0";
18705
+ var version = "3.10.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18875,6 +18875,16 @@ function createBankAccountsResource(instanceId, client) {
18875
18875
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18876
18876
  type: "ted"
18877
18877
  }, data));
18878
+ },
18879
+ createSepa(_w) {
18880
+ var _x = _w, {
18881
+ receiver_id
18882
+ } = _x, data = __objRest(_x, [
18883
+ "receiver_id"
18884
+ ]);
18885
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18886
+ type: "sepa"
18887
+ }, data));
18878
18888
  }
18879
18889
  };
18880
18890
  }
@@ -18909,6 +18919,10 @@ function createInstancesResource(instanceId, client) {
18909
18919
  role
18910
18920
  }) {
18911
18921
  return client.put(`/instances/${instanceId}/members/${memberId}`, { user_role: role });
18922
+ },
18923
+ migrateOwnership(_b) {
18924
+ var data = __objRest(_b, []);
18925
+ return client.post(`/instances/${instanceId}/ownership`, data);
18912
18926
  }
18913
18927
  };
18914
18928
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-CLGWJEUF.mjs";
11
+ } from "../../chunk-7PWF4J3Z.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -22,12 +22,12 @@ import "../../chunk-TBTA7A2P.mjs";
22
22
  import "../../chunk-YIZJM2GU.mjs";
23
23
  import "../../chunk-Z6EYX4D3.mjs";
24
24
  import "../../chunk-ALHMJWQN.mjs";
25
- import "../../chunk-BGXC2F73.mjs";
25
+ import "../../chunk-KYOUR4KX.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-HKWPAL4R.mjs";
30
+ import "../../chunk-N4F3FBNB.mjs";
31
31
  import {
32
32
  __async,
33
33
  __commonJS
@@ -1,7 +1,7 @@
1
1
  import { B as BlindpayApiResponse } from '../../index.d-DK8eD9f3.mjs';
2
2
  import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
3
3
 
4
- type OfframpWalletNetwork = "tron" | "solana";
4
+ type OfframpWalletNetwork = "tron" | "solana" | "arbitrum" | "arbitrum_sepolia" | "base" | "base_sepolia" | "ethereum" | "polygon" | "polygon_amoy" | "sepolia" | "solana_devnet";
5
5
  type OfframpWallet = {
6
6
  id: string;
7
7
  external_id: string;
@@ -1,7 +1,7 @@
1
1
  import { B as BlindpayApiResponse } from '../../index.d-DK8eD9f3.js';
2
2
  import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
3
3
 
4
- type OfframpWalletNetwork = "tron" | "solana";
4
+ type OfframpWalletNetwork = "tron" | "solana" | "arbitrum" | "arbitrum_sepolia" | "base" | "base_sepolia" | "ethereum" | "polygon" | "polygon_amoy" | "sepolia" | "solana_devnet";
5
5
  type OfframpWallet = {
6
6
  id: string;
7
7
  external_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.9.0";
18705
+ var version = "3.10.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18875,6 +18875,16 @@ function createBankAccountsResource(instanceId, client) {
18875
18875
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18876
18876
  type: "ted"
18877
18877
  }, data));
18878
+ },
18879
+ createSepa(_w) {
18880
+ var _x = _w, {
18881
+ receiver_id
18882
+ } = _x, data = __objRest(_x, [
18883
+ "receiver_id"
18884
+ ]);
18885
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18886
+ type: "sepa"
18887
+ }, data));
18878
18888
  }
18879
18889
  };
18880
18890
  }
@@ -18909,6 +18919,10 @@ function createInstancesResource(instanceId, client) {
18909
18919
  role
18910
18920
  }) {
18911
18921
  return client.put(`/instances/${instanceId}/members/${memberId}`, { user_role: role });
18922
+ },
18923
+ migrateOwnership(_b) {
18924
+ var data = __objRest(_b, []);
18925
+ return client.post(`/instances/${instanceId}/ownership`, data);
18912
18926
  }
18913
18927
  };
18914
18928
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-CLGWJEUF.mjs";
11
+ } from "../../chunk-7PWF4J3Z.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -22,12 +22,12 @@ import "../../chunk-TBTA7A2P.mjs";
22
22
  import "../../chunk-YIZJM2GU.mjs";
23
23
  import "../../chunk-Z6EYX4D3.mjs";
24
24
  import "../../chunk-ALHMJWQN.mjs";
25
- import "../../chunk-BGXC2F73.mjs";
25
+ import "../../chunk-KYOUR4KX.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-HKWPAL4R.mjs";
30
+ import "../../chunk-N4F3FBNB.mjs";
31
31
  import {
32
32
  __async,
33
33
  __commonJS
@@ -1,7 +1,7 @@
1
1
  import { B as BlindpayApiResponse } from '../../index.d-DK8eD9f3.mjs';
2
2
  import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
3
3
 
4
- type WebhookEvents = "receiver.new" | "receiver.update" | "bankAccount.new" | "payout.new" | "payout.update" | "payout.complete" | "payout.partnerFee" | "blockchainWallet.new" | "payin.new" | "payin.update" | "payin.complete" | "payin.partnerFee" | "tos.accept" | "limitIncrease.new" | "limitIncrease.update" | "virtualAccount.new" | "virtualAccount.complete" | "transfer.new" | "transfer.update" | "transfer.complete" | "wallet.new" | "wallet.inbound";
4
+ type WebhookEvents = "receiver.new" | "receiver.update" | "bankAccount.new" | "payout.new" | "payout.update" | "payout.complete" | "payout.partnerFee" | "blockchainWallet.new" | "payin.new" | "payin.update" | "payin.complete" | "payin.partnerFee" | "tos.accept" | "limitIncrease.new" | "limitIncrease.update" | "virtualAccount.new" | "virtualAccount.complete" | "transfer.new" | "transfer.update" | "transfer.complete" | "wallet.new" | "wallet.inbound" | "receiver.delete";
5
5
  type CreateWebhookEndpointInput = {
6
6
  url: string;
7
7
  events: WebhookEvents[];
@@ -1,7 +1,7 @@
1
1
  import { B as BlindpayApiResponse } from '../../index.d-DK8eD9f3.js';
2
2
  import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
3
3
 
4
- type WebhookEvents = "receiver.new" | "receiver.update" | "bankAccount.new" | "payout.new" | "payout.update" | "payout.complete" | "payout.partnerFee" | "blockchainWallet.new" | "payin.new" | "payin.update" | "payin.complete" | "payin.partnerFee" | "tos.accept" | "limitIncrease.new" | "limitIncrease.update" | "virtualAccount.new" | "virtualAccount.complete" | "transfer.new" | "transfer.update" | "transfer.complete" | "wallet.new" | "wallet.inbound";
4
+ type WebhookEvents = "receiver.new" | "receiver.update" | "bankAccount.new" | "payout.new" | "payout.update" | "payout.complete" | "payout.partnerFee" | "blockchainWallet.new" | "payin.new" | "payin.update" | "payin.complete" | "payin.partnerFee" | "tos.accept" | "limitIncrease.new" | "limitIncrease.update" | "virtualAccount.new" | "virtualAccount.complete" | "transfer.new" | "transfer.update" | "transfer.complete" | "wallet.new" | "wallet.inbound" | "receiver.delete";
5
5
  type CreateWebhookEndpointInput = {
6
6
  url: string;
7
7
  events: WebhookEvents[];
@@ -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.9.0";
18705
+ var version = "3.10.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18875,6 +18875,16 @@ function createBankAccountsResource(instanceId, client) {
18875
18875
  return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18876
18876
  type: "ted"
18877
18877
  }, data));
18878
+ },
18879
+ createSepa(_w) {
18880
+ var _x = _w, {
18881
+ receiver_id
18882
+ } = _x, data = __objRest(_x, [
18883
+ "receiver_id"
18884
+ ]);
18885
+ return client.post(`/instances/${instanceId}/receivers/${receiver_id}/bank-accounts`, __spreadValues({
18886
+ type: "sepa"
18887
+ }, data));
18878
18888
  }
18879
18889
  };
18880
18890
  }
@@ -18909,6 +18919,10 @@ function createInstancesResource(instanceId, client) {
18909
18919
  role
18910
18920
  }) {
18911
18921
  return client.put(`/instances/${instanceId}/members/${memberId}`, { user_role: role });
18922
+ },
18923
+ migrateOwnership(_b) {
18924
+ var data = __objRest(_b, []);
18925
+ return client.post(`/instances/${instanceId}/ownership`, data);
18912
18926
  }
18913
18927
  };
18914
18928
  }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-CLGWJEUF.mjs";
11
+ } from "../../chunk-7PWF4J3Z.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-KMU6V4LW.mjs";
14
14
  import "../../chunk-QGNLMN6Z.mjs";
@@ -22,12 +22,12 @@ import "../../chunk-TBTA7A2P.mjs";
22
22
  import "../../chunk-YIZJM2GU.mjs";
23
23
  import "../../chunk-Z6EYX4D3.mjs";
24
24
  import "../../chunk-ALHMJWQN.mjs";
25
- import "../../chunk-BGXC2F73.mjs";
25
+ import "../../chunk-KYOUR4KX.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-HKWPAL4R.mjs";
30
+ import "../../chunk-N4F3FBNB.mjs";
31
31
  import {
32
32
  __async,
33
33
  __commonJS
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blindpay/node",
3
- "version": "3.9.0",
3
+ "version": "3.10.0",
4
4
  "description": "Official Node.js SDK for Blindpay API - Stablecoin API for global payments",
5
5
  "keywords": [
6
6
  "blindpay",