@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
@@ -23,12 +23,19 @@ type UpdateInstanceMemberRoleInput = {
23
23
  memberId: string;
24
24
  role: InstanceMemberRole;
25
25
  };
26
+ type MigrateInstanceOwnershipInput = {
27
+ user_id: string;
28
+ };
29
+ type MigrateInstanceOwnershipResponse = {
30
+ success: boolean;
31
+ };
26
32
  declare function createInstancesResource(instanceId: string, client: InternalApiClient): {
27
33
  getMembers(): Promise<BlindpayApiResponse<GetInstanceMembersResponse>>;
28
34
  update({ ...data }: UpdateInstanceInput): Promise<BlindpayApiResponse<void>>;
29
35
  delete(): Promise<BlindpayApiResponse<void>>;
30
36
  deleteMember(memberId: DeleteInstanceMemberInput): Promise<BlindpayApiResponse<void>>;
31
37
  updateMemberRole({ memberId, role, }: UpdateInstanceMemberRoleInput): Promise<BlindpayApiResponse<void>>;
38
+ migrateOwnership({ ...data }: MigrateInstanceOwnershipInput): Promise<BlindpayApiResponse<MigrateInstanceOwnershipResponse>>;
32
39
  };
33
40
 
34
- export { type DeleteInstanceMemberInput, type GetInstanceMembersResponse, type InstanceMemberRole, type UpdateInstanceInput, type UpdateInstanceMemberRoleInput, createInstancesResource };
41
+ export { type DeleteInstanceMemberInput, type GetInstanceMembersResponse, type InstanceMemberRole, type MigrateInstanceOwnershipInput, type MigrateInstanceOwnershipResponse, type UpdateInstanceInput, type UpdateInstanceMemberRoleInput, createInstancesResource };
@@ -23,12 +23,19 @@ type UpdateInstanceMemberRoleInput = {
23
23
  memberId: string;
24
24
  role: InstanceMemberRole;
25
25
  };
26
+ type MigrateInstanceOwnershipInput = {
27
+ user_id: string;
28
+ };
29
+ type MigrateInstanceOwnershipResponse = {
30
+ success: boolean;
31
+ };
26
32
  declare function createInstancesResource(instanceId: string, client: InternalApiClient): {
27
33
  getMembers(): Promise<BlindpayApiResponse<GetInstanceMembersResponse>>;
28
34
  update({ ...data }: UpdateInstanceInput): Promise<BlindpayApiResponse<void>>;
29
35
  delete(): Promise<BlindpayApiResponse<void>>;
30
36
  deleteMember(memberId: DeleteInstanceMemberInput): Promise<BlindpayApiResponse<void>>;
31
37
  updateMemberRole({ memberId, role, }: UpdateInstanceMemberRoleInput): Promise<BlindpayApiResponse<void>>;
38
+ migrateOwnership({ ...data }: MigrateInstanceOwnershipInput): Promise<BlindpayApiResponse<MigrateInstanceOwnershipResponse>>;
32
39
  };
33
40
 
34
- export { type DeleteInstanceMemberInput, type GetInstanceMembersResponse, type InstanceMemberRole, type UpdateInstanceInput, type UpdateInstanceMemberRoleInput, createInstancesResource };
41
+ export { type DeleteInstanceMemberInput, type GetInstanceMembersResponse, type InstanceMemberRole, type MigrateInstanceOwnershipInput, type MigrateInstanceOwnershipResponse, type UpdateInstanceInput, type UpdateInstanceMemberRoleInput, createInstancesResource };
@@ -57,6 +57,10 @@ function createInstancesResource(instanceId, client) {
57
57
  role
58
58
  }) {
59
59
  return client.put(`/instances/${instanceId}/members/${memberId}`, { user_role: role });
60
+ },
61
+ migrateOwnership(_b) {
62
+ var data = __objRest(_b, []);
63
+ return client.post(`/instances/${instanceId}/ownership`, data);
60
64
  }
61
65
  };
62
66
  }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createInstancesResource,
3
3
  init_instances
4
- } from "../../chunk-BGXC2F73.mjs";
4
+ } from "../../chunk-KYOUR4KX.mjs";
5
5
  import "../../chunk-OBKEW4AQ.mjs";
6
6
  init_instances();
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.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
@@ -67,7 +67,8 @@ type Payout = {
67
67
  transfers_account?: string;
68
68
  transfers_type: "CVU" | "CBU" | "ALIAS";
69
69
  has_virtual_account: boolean;
70
- billing_fee_amount?: string | null;
70
+ billing_fee_amount?: number | null;
71
+ cpn_payment_id?: string | null;
71
72
  jpm_track_data?: Record<string, unknown> | string | null;
72
73
  ted_bank_code?: string | null;
73
74
  ted_branch_code?: string | null;
@@ -67,7 +67,8 @@ type Payout = {
67
67
  transfers_account?: string;
68
68
  transfers_type: "CVU" | "CBU" | "ALIAS";
69
69
  has_virtual_account: boolean;
70
- billing_fee_amount?: string | null;
70
+ billing_fee_amount?: number | null;
71
+ cpn_payment_id?: string | null;
71
72
  jpm_track_data?: Record<string, unknown> | string | null;
72
73
  ted_bank_code?: string | null;
73
74
  ted_branch_code?: string | null;
@@ -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,4 +1,4 @@
1
- import { m as CurrencyType, N as Network, S as StablecoinToken, s as TransactionDocumentType, B as BlindpayApiResponse, j as Currency } from '../../index.d-DK8eD9f3.mjs';
1
+ import { m as CurrencyType, N as Network, S as StablecoinToken, B as BlindpayApiResponse, j as Currency } from '../../index.d-DK8eD9f3.mjs';
2
2
  import { I as InternalApiClient } from '../../api-client-L9eGwH1U.mjs';
3
3
 
4
4
  type CreateQuoteInput = {
@@ -7,12 +7,9 @@ type CreateQuoteInput = {
7
7
  cover_fees: boolean;
8
8
  request_amount: number;
9
9
  network: Network;
10
- token?: StablecoinToken | null;
10
+ token: StablecoinToken;
11
11
  description?: string | null;
12
12
  partner_fee_id?: string | null;
13
- transaction_document_file: string | null;
14
- transaction_document_id?: string | null;
15
- transaction_document_type?: TransactionDocumentType | null;
16
13
  };
17
14
  type CreateQuoteResponse = {
18
15
  id: string;
@@ -1,4 +1,4 @@
1
- import { m as CurrencyType, N as Network, S as StablecoinToken, s as TransactionDocumentType, B as BlindpayApiResponse, j as Currency } from '../../index.d-DK8eD9f3.js';
1
+ import { m as CurrencyType, N as Network, S as StablecoinToken, B as BlindpayApiResponse, j as Currency } from '../../index.d-DK8eD9f3.js';
2
2
  import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
3
3
 
4
4
  type CreateQuoteInput = {
@@ -7,12 +7,9 @@ type CreateQuoteInput = {
7
7
  cover_fees: boolean;
8
8
  request_amount: number;
9
9
  network: Network;
10
- token?: StablecoinToken | null;
10
+ token: StablecoinToken;
11
11
  description?: string | null;
12
12
  partner_fee_id?: string | null;
13
- transaction_document_file: string | null;
14
- transaction_document_id?: string | null;
15
- transaction_document_type?: TransactionDocumentType | null;
16
13
  };
17
14
  type CreateQuoteResponse = {
18
15
  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
  }
@@ -19559,10 +19573,7 @@ describe("Quotes", () => {
19559
19573
  token: "USDC",
19560
19574
  cover_fees: true,
19561
19575
  description: "Memo code or description, only works with USD and BRL",
19562
- partner_fee_id: "pf_000000000000",
19563
- transaction_document_file: null,
19564
- transaction_document_id: null,
19565
- transaction_document_type: "invoice"
19576
+ partner_fee_id: "pf_000000000000"
19566
19577
  });
19567
19578
  globalExpect(error).toBeNull();
19568
19579
  globalExpect(data).toEqual(mockedQuote);
@@ -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
@@ -77,10 +77,7 @@ var require_quotes_test = __commonJS({
77
77
  token: "USDC",
78
78
  cover_fees: true,
79
79
  description: "Memo code or description, only works with USD and BRL",
80
- partner_fee_id: "pf_000000000000",
81
- transaction_document_file: null,
82
- transaction_document_id: null,
83
- transaction_document_type: "invoice"
80
+ partner_fee_id: "pf_000000000000"
84
81
  });
85
82
  globalExpect(error).toBeNull();
86
83
  globalExpect(data).toEqual(mockedQuote);
@@ -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