@blindpay/node 3.1.1 → 3.3.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 (119) hide show
  1. package/README.md +2 -2
  2. package/dist/api-client-Cu0yYexQ.d.ts +16 -0
  3. package/dist/api-client-DV5jG52T.d.mts +16 -0
  4. package/dist/chunk-ALHMJWQN.mjs +21 -0
  5. package/dist/{chunk-VOB7TMKL.mjs → chunk-F5Z45GCA.mjs} +8 -0
  6. package/dist/chunk-ISHZTBAN.mjs +39 -0
  7. package/dist/{chunk-I4KOWV46.mjs → chunk-JOHWDSDM.mjs} +44 -20
  8. package/dist/chunk-KMU6V4LW.mjs +50 -0
  9. package/dist/chunk-UDRMLZWT.mjs +53 -0
  10. package/dist/{chunk-CPOSU35L.mjs → chunk-UOAM7SX3.mjs} +43 -25
  11. package/dist/{chunk-U7CKUUO7.mjs → chunk-WE73MTQL.mjs} +3 -0
  12. package/dist/{chunk-67XECGMJ.mjs → chunk-YIZJM2GU.mjs} +4 -3
  13. package/dist/{api-client-CIPV5zmo.d.mts → index.d-yOiKSwHO.d.mts} +6 -19
  14. package/dist/{api-client-CIPV5zmo.d.ts → index.d-yOiKSwHO.d.ts} +6 -19
  15. package/dist/index.d.mts +19 -6
  16. package/dist/index.d.ts +19 -6
  17. package/dist/index.js +183 -30
  18. package/dist/index.mjs +43 -19
  19. package/dist/resources/api-keys/api-keys.test.js +175 -30
  20. package/dist/resources/api-keys/api-keys.test.mjs +12 -8
  21. package/dist/resources/api-keys/index.d.mts +2 -1
  22. package/dist/resources/api-keys/index.d.ts +2 -1
  23. package/dist/resources/available/available.test.js +199 -30
  24. package/dist/resources/available/available.test.mjs +36 -8
  25. package/dist/resources/available/index.d.mts +8 -2
  26. package/dist/resources/available/index.d.ts +8 -2
  27. package/dist/resources/available/index.js +3 -0
  28. package/dist/resources/available/index.mjs +1 -1
  29. package/dist/resources/bank-accounts/bank-accounts.test.js +230 -32
  30. package/dist/resources/bank-accounts/bank-accounts.test.mjs +67 -10
  31. package/dist/resources/bank-accounts/index.d.mts +83 -9
  32. package/dist/resources/bank-accounts/index.d.ts +83 -9
  33. package/dist/resources/bank-accounts/index.js +43 -25
  34. package/dist/resources/bank-accounts/index.mjs +1 -1
  35. package/dist/resources/fees/fees.test.d.mts +2 -0
  36. package/dist/resources/fees/fees.test.d.ts +2 -0
  37. package/dist/resources/fees/fees.test.js +19845 -0
  38. package/dist/resources/fees/fees.test.mjs +85 -0
  39. package/dist/resources/fees/index.d.mts +36 -0
  40. package/dist/resources/fees/index.d.ts +36 -0
  41. package/dist/resources/fees/index.js +36 -0
  42. package/dist/resources/fees/index.mjs +9 -0
  43. package/dist/resources/instances/index.d.mts +2 -1
  44. package/dist/resources/instances/index.d.ts +2 -1
  45. package/dist/resources/instances/instances.test.js +175 -30
  46. package/dist/resources/instances/instances.test.mjs +12 -8
  47. package/dist/resources/partner-fees/index.d.mts +2 -1
  48. package/dist/resources/partner-fees/index.d.ts +2 -1
  49. package/dist/resources/partner-fees/partner-fees.test.js +175 -30
  50. package/dist/resources/partner-fees/partner-fees.test.mjs +12 -8
  51. package/dist/resources/payins/index.d.mts +2 -1
  52. package/dist/resources/payins/index.d.ts +2 -1
  53. package/dist/resources/payins/payins-quotes.test.js +175 -30
  54. package/dist/resources/payins/payins-quotes.test.mjs +12 -8
  55. package/dist/resources/payins/payins.test.js +175 -30
  56. package/dist/resources/payins/payins.test.mjs +12 -8
  57. package/dist/resources/payins/quotes.d.mts +2 -1
  58. package/dist/resources/payins/quotes.d.ts +2 -1
  59. package/dist/resources/payouts/index.d.mts +15 -3
  60. package/dist/resources/payouts/index.d.ts +15 -3
  61. package/dist/resources/payouts/index.js +8 -0
  62. package/dist/resources/payouts/index.mjs +1 -1
  63. package/dist/resources/payouts/payouts.test.js +194 -30
  64. package/dist/resources/payouts/payouts.test.mjs +31 -8
  65. package/dist/resources/quotes/index.d.mts +2 -1
  66. package/dist/resources/quotes/index.d.ts +2 -1
  67. package/dist/resources/quotes/quotes.test.js +175 -30
  68. package/dist/resources/quotes/quotes.test.mjs +12 -8
  69. package/dist/resources/receivers/index.d.mts +134 -85
  70. package/dist/resources/receivers/index.d.ts +134 -85
  71. package/dist/resources/receivers/index.js +4 -3
  72. package/dist/resources/receivers/index.mjs +1 -1
  73. package/dist/resources/receivers/receivers.test.js +350 -184
  74. package/dist/resources/receivers/receivers.test.mjs +187 -162
  75. package/dist/resources/terms-of-service/index.d.mts +2 -1
  76. package/dist/resources/terms-of-service/index.d.ts +2 -1
  77. package/dist/resources/terms-of-service/terms-of-service.test.js +175 -30
  78. package/dist/resources/terms-of-service/terms-of-service.test.mjs +12 -8
  79. package/dist/resources/transfers/index.d.mts +94 -0
  80. package/dist/resources/transfers/index.d.ts +94 -0
  81. package/dist/resources/transfers/index.js +67 -0
  82. package/dist/resources/transfers/index.mjs +9 -0
  83. package/dist/resources/transfers/transfers.test.d.mts +2 -0
  84. package/dist/resources/transfers/transfers.test.d.ts +2 -0
  85. package/dist/resources/transfers/transfers.test.js +19931 -0
  86. package/dist/resources/transfers/transfers.test.mjs +171 -0
  87. package/dist/resources/upload/index.d.mts +16 -0
  88. package/dist/resources/upload/index.d.ts +16 -0
  89. package/dist/resources/upload/index.js +100 -0
  90. package/dist/resources/upload/index.mjs +9 -0
  91. package/dist/resources/upload/upload.test.d.mts +2 -0
  92. package/dist/resources/upload/upload.test.d.ts +2 -0
  93. package/dist/resources/upload/upload.test.js +19840 -0
  94. package/dist/resources/upload/upload.test.mjs +80 -0
  95. package/dist/resources/virtual-accounts/index.d.mts +4 -2
  96. package/dist/resources/virtual-accounts/index.d.ts +4 -2
  97. package/dist/resources/virtual-accounts/virtual-accounts.test.js +177 -31
  98. package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +14 -9
  99. package/dist/resources/wallets/blockchain.d.mts +2 -1
  100. package/dist/resources/wallets/blockchain.d.ts +2 -1
  101. package/dist/resources/wallets/blockchain.test.js +175 -30
  102. package/dist/resources/wallets/blockchain.test.mjs +12 -8
  103. package/dist/resources/wallets/custodial.d.mts +55 -0
  104. package/dist/resources/wallets/custodial.d.ts +55 -0
  105. package/dist/resources/wallets/custodial.js +78 -0
  106. package/dist/resources/wallets/custodial.mjs +9 -0
  107. package/dist/resources/wallets/custodial.test.d.mts +2 -0
  108. package/dist/resources/wallets/custodial.test.d.ts +2 -0
  109. package/dist/resources/wallets/custodial.test.js +19901 -0
  110. package/dist/resources/wallets/custodial.test.mjs +141 -0
  111. package/dist/resources/wallets/offramp.d.mts +2 -1
  112. package/dist/resources/wallets/offramp.d.ts +2 -1
  113. package/dist/resources/wallets/offramp.test.js +175 -30
  114. package/dist/resources/wallets/offramp.test.mjs +12 -8
  115. package/dist/resources/webhooks/index.d.mts +3 -2
  116. package/dist/resources/webhooks/index.d.ts +3 -2
  117. package/dist/resources/webhooks/webhooks.test.js +175 -30
  118. package/dist/resources/webhooks/webhooks.test.mjs +12 -8
  119. package/package.json +3 -3
@@ -8,22 +8,26 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-I4KOWV46.mjs";
11
+ } from "../../chunk-JOHWDSDM.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
+ import "../../chunk-KMU6V4LW.mjs";
13
14
  import "../../chunk-QGNLMN6Z.mjs";
14
15
  import "../../chunk-UC57SCKQ.mjs";
16
+ import "../../chunk-ISHZTBAN.mjs";
17
+ import "../../chunk-UDRMLZWT.mjs";
18
+ import "../../chunk-LEPGLH7Q.mjs";
19
+ import "../../chunk-E7M4CJKR.mjs";
20
+ import "../../chunk-F5Z45GCA.mjs";
15
21
  import "../../chunk-TBTA7A2P.mjs";
16
- import "../../chunk-67XECGMJ.mjs";
22
+ import "../../chunk-YIZJM2GU.mjs";
17
23
  import "../../chunk-Z6EYX4D3.mjs";
18
- import "../../chunk-LEPGLH7Q.mjs";
24
+ import "../../chunk-ALHMJWQN.mjs";
25
+ import "../../chunk-B5T7AQLH.mjs";
19
26
  import "../../chunk-RC5NN5UF.mjs";
20
27
  import "../../chunk-VGU72ZNI.mjs";
21
- import "../../chunk-E7M4CJKR.mjs";
22
- import "../../chunk-VOB7TMKL.mjs";
23
28
  import "../../chunk-LRHWT4JU.mjs";
24
- import "../../chunk-U7CKUUO7.mjs";
25
- import "../../chunk-CPOSU35L.mjs";
26
- import "../../chunk-B5T7AQLH.mjs";
29
+ import "../../chunk-WE73MTQL.mjs";
30
+ import "../../chunk-UOAM7SX3.mjs";
27
31
  import {
28
32
  __async,
29
33
  __commonJS
@@ -39,157 +43,166 @@ var require_receivers_test = __commonJS({
39
43
  const blindpay = new BlindPay({ apiKey: "test-key", instanceId: "in_000000000000" });
40
44
  describe("List receivers", () => {
41
45
  it("should list receivers", () => __async(null, null, function* () {
42
- const mockedReceivers = [
43
- {
44
- id: "re_Euw7HN4OdxPn",
45
- type: "individual",
46
- kyc_type: "standard",
47
- kyc_status: "verifying",
48
- is_tos_accepted: true,
49
- kyc_warnings: [
50
- {
51
- code: null,
52
- message: null,
53
- resolution_status: null,
54
- warning_id: null
46
+ const mockedReceivers = {
47
+ data: [
48
+ {
49
+ id: "re_Euw7HN4OdxPn",
50
+ type: "individual",
51
+ kyc_type: "standard",
52
+ kyc_status: "verifying",
53
+ is_tos_accepted: true,
54
+ kyc_warnings: [
55
+ {
56
+ code: null,
57
+ message: null,
58
+ resolution_status: null,
59
+ warning_id: null
60
+ }
61
+ ],
62
+ email: "bernardo@gmail.com",
63
+ tax_id: "12345678900",
64
+ address_line_1: "Av. Paulista, 1000",
65
+ address_line_2: "Apto 101",
66
+ city: "S\xE3o Paulo",
67
+ state_province_region: "SP",
68
+ country: "BR",
69
+ postal_code: "01310-100",
70
+ ip_address: "127.0.0.1",
71
+ image_url: "https://example.com/image.png",
72
+ phone_number: "+5511987654321",
73
+ proof_of_address_doc_type: "UTILITY_BILL",
74
+ proof_of_address_doc_file: "https://example.com/image.png",
75
+ first_name: "Bernardo",
76
+ last_name: "Simonassi",
77
+ date_of_birth: "1998-02-02T00:00:00.000Z",
78
+ id_doc_country: "BR",
79
+ id_doc_type: "PASSPORT",
80
+ id_doc_front_file: "https://example.com/image.png",
81
+ id_doc_back_file: "https://example.com/image.png",
82
+ aiprise_validation_key: "",
83
+ instance_id: "in_000000000000",
84
+ tos_id: "to_3ZZhllJkvo5Z",
85
+ created_at: "2021-01-01T00:00:00.000Z",
86
+ updated_at: "2021-01-01T00:00:00.000Z",
87
+ limit: {
88
+ per_transaction: 1e5,
89
+ daily: 2e5,
90
+ monthly: 1e6
55
91
  }
56
- ],
57
- email: "bernardo@gmail.com",
58
- tax_id: "12345678900",
59
- address_line_1: "Av. Paulista, 1000",
60
- address_line_2: "Apto 101",
61
- city: "S\xE3o Paulo",
62
- state_province_region: "SP",
63
- country: "BR",
64
- postal_code: "01310-100",
65
- ip_address: "127.0.0.1",
66
- image_url: "https://example.com/image.png",
67
- phone_number: "+5511987654321",
68
- proof_of_address_doc_type: "UTILITY_BILL",
69
- proof_of_address_doc_file: "https://example.com/image.png",
70
- first_name: "Bernardo",
71
- last_name: "Simonassi",
72
- date_of_birth: "1998-02-02T00:00:00.000Z",
73
- id_doc_country: "BR",
74
- id_doc_type: "PASSPORT",
75
- id_doc_front_file: "https://example.com/image.png",
76
- id_doc_back_file: "https://example.com/image.png",
77
- aiprise_validation_key: "",
78
- instance_id: "in_000000000000",
79
- tos_id: "to_3ZZhllJkvo5Z",
80
- created_at: "2021-01-01T00:00:00.000Z",
81
- updated_at: "2021-01-01T00:00:00.000Z",
82
- limit: {
83
- per_transaction: 1e5,
84
- daily: 2e5,
85
- monthly: 1e6
86
- }
87
- },
88
- {
89
- id: "re_YuaMcI2B8zbQ",
90
- type: "individual",
91
- is_tos_accepted: true,
92
- kyc_type: "enhanced",
93
- kyc_status: "approved",
94
- kyc_warnings: null,
95
- email: "alice.johnson@example.com",
96
- tax_id: "98765432100",
97
- address_line_1: "123 Main St",
98
- address_line_2: null,
99
- city: "New York",
100
- state_province_region: "NY",
101
- country: "US",
102
- postal_code: "10001",
103
- ip_address: "192.168.1.1",
104
- image_url: null,
105
- phone_number: "+15555555555",
106
- proof_of_address_doc_type: "BANK_STATEMENT",
107
- proof_of_address_doc_file: "https://example.com/image.png",
108
- first_name: "Alice",
109
- last_name: "Johnson",
110
- date_of_birth: "1990-05-10T00:00:00.000Z",
111
- id_doc_country: "US",
112
- id_doc_type: "PASSPORT",
113
- id_doc_front_file: "https://example.com/image.png",
114
- id_doc_back_file: null,
115
- aiprise_validation_key: "enhanced-key",
116
- instance_id: "in_000000000001",
117
- source_of_funds_doc_type: "salary",
118
- source_of_funds_doc_file: "https://example.com/image.png",
119
- individual_holding_doc_front_file: "https://example.com/image.png",
120
- purpose_of_transactions: "investment_purposes",
121
- purpose_of_transactions_explanation: "Investing in stocks",
122
- tos_id: "to_nppX66ntvtHs",
123
- created_at: "2022-02-02T00:00:00.000Z",
124
- updated_at: "2022-02-02T00:00:00.000Z",
125
- limit: {
126
- per_transaction: 5e4,
127
- daily: 1e5,
128
- monthly: 5e5
129
- }
130
- },
131
- {
132
- id: "re_IOxAUL24LG7P",
133
- type: "business",
134
- kyc_type: "standard",
135
- is_tos_accepted: true,
136
- is_fbo: false,
137
- kyc_status: "pending",
138
- kyc_warnings: null,
139
- email: "business@example.com",
140
- tax_id: "20096178000195",
141
- address_line_1: "1 King St W",
142
- address_line_2: "Suite 100",
143
- city: "Toronto",
144
- state_province_region: "ON",
145
- country: "CA",
146
- postal_code: "M5H 1A1",
147
- ip_address: null,
148
- image_url: null,
149
- phone_number: "+14165555555",
150
- proof_of_address_doc_type: "UTILITY_BILL",
151
- proof_of_address_doc_file: "https://example.com/image.png",
152
- legal_name: "Business Corp",
153
- alternate_name: "BizCo",
154
- formation_date: "2010-01-01T00:00:00.000Z",
155
- website: "https://businesscorp.com",
156
- owners: [
157
- {
158
- role: "beneficial_owner",
159
- first_name: "Carlos",
160
- last_name: "Silva",
161
- date_of_birth: "1995-05-15T00:00:00.000Z",
162
- tax_id: "12345678901",
163
- address_line_1: "Rua Augusta, 1500",
164
- address_line_2: null,
165
- city: "S\xE3o Paulo",
166
- state_province_region: "SP",
167
- country: "BR",
168
- postal_code: "01304-001",
169
- id_doc_country: "BR",
170
- id_doc_type: "PASSPORT",
171
- id_doc_front_file: "https://example.com/image.png",
172
- id_doc_back_file: "https://example.com/image.png",
173
- proof_of_address_doc_type: "UTILITY_BILL",
174
- proof_of_address_doc_file: "https://example.com/image.png",
175
- id: "ub_000000000000"
92
+ },
93
+ {
94
+ id: "re_YuaMcI2B8zbQ",
95
+ type: "individual",
96
+ is_tos_accepted: true,
97
+ kyc_type: "enhanced",
98
+ kyc_status: "approved",
99
+ kyc_warnings: null,
100
+ email: "alice.johnson@example.com",
101
+ tax_id: "98765432100",
102
+ address_line_1: "123 Main St",
103
+ address_line_2: null,
104
+ city: "New York",
105
+ state_province_region: "NY",
106
+ country: "US",
107
+ postal_code: "10001",
108
+ ip_address: "192.168.1.1",
109
+ image_url: null,
110
+ phone_number: "+15555555555",
111
+ proof_of_address_doc_type: "BANK_STATEMENT",
112
+ proof_of_address_doc_file: "https://example.com/image.png",
113
+ first_name: "Alice",
114
+ last_name: "Johnson",
115
+ date_of_birth: "1990-05-10T00:00:00.000Z",
116
+ id_doc_country: "US",
117
+ id_doc_type: "PASSPORT",
118
+ id_doc_front_file: "https://example.com/image.png",
119
+ id_doc_back_file: null,
120
+ aiprise_validation_key: "enhanced-key",
121
+ instance_id: "in_000000000001",
122
+ source_of_funds_doc_type: "salary",
123
+ source_of_funds_doc_file: "https://example.com/image.png",
124
+ individual_holding_doc_front_file: "https://example.com/image.png",
125
+ purpose_of_transactions: "investment_purposes",
126
+ purpose_of_transactions_explanation: "Investing in stocks",
127
+ tos_id: "to_nppX66ntvtHs",
128
+ created_at: "2022-02-02T00:00:00.000Z",
129
+ updated_at: "2022-02-02T00:00:00.000Z",
130
+ limit: {
131
+ per_transaction: 5e4,
132
+ daily: 1e5,
133
+ monthly: 5e5
134
+ }
135
+ },
136
+ {
137
+ id: "re_IOxAUL24LG7P",
138
+ type: "business",
139
+ kyc_type: "standard",
140
+ is_tos_accepted: true,
141
+ is_fbo: false,
142
+ kyc_status: "pending",
143
+ kyc_warnings: null,
144
+ email: "business@example.com",
145
+ tax_id: "20096178000195",
146
+ address_line_1: "1 King St W",
147
+ address_line_2: "Suite 100",
148
+ city: "Toronto",
149
+ state_province_region: "ON",
150
+ country: "CA",
151
+ postal_code: "M5H 1A1",
152
+ ip_address: null,
153
+ image_url: null,
154
+ phone_number: "+14165555555",
155
+ proof_of_address_doc_type: "UTILITY_BILL",
156
+ proof_of_address_doc_file: "https://example.com/image.png",
157
+ legal_name: "Business Corp",
158
+ alternate_name: "BizCo",
159
+ formation_date: "2010-01-01T00:00:00.000Z",
160
+ website: "https://businesscorp.com",
161
+ owners: [
162
+ {
163
+ role: "beneficial_owner",
164
+ first_name: "Carlos",
165
+ last_name: "Silva",
166
+ date_of_birth: "1995-05-15T00:00:00.000Z",
167
+ tax_id: "12345678901",
168
+ address_line_1: "Rua Augusta, 1500",
169
+ address_line_2: null,
170
+ city: "S\xE3o Paulo",
171
+ state_province_region: "SP",
172
+ country: "BR",
173
+ postal_code: "01304-001",
174
+ id_doc_country: "BR",
175
+ id_doc_type: "PASSPORT",
176
+ id_doc_front_file: "https://example.com/image.png",
177
+ id_doc_back_file: "https://example.com/image.png",
178
+ proof_of_address_doc_type: "UTILITY_BILL",
179
+ proof_of_address_doc_file: "https://example.com/image.png",
180
+ ownership_percentage: 25,
181
+ title: "CEO",
182
+ id: "ub_000000000000"
183
+ }
184
+ ],
185
+ incorporation_doc_file: "https://example.com/image.png",
186
+ proof_of_ownership_doc_file: "https://example.com/image.png",
187
+ external_id: null,
188
+ instance_id: "in_000000000002",
189
+ tos_id: "to_nppX66ntvtHs",
190
+ aiprise_validation_key: "",
191
+ created_at: "2015-03-15T00:00:00.000Z",
192
+ updated_at: "2015-03-15T00:00:00.000Z",
193
+ limit: {
194
+ per_transaction: 2e5,
195
+ daily: 4e5,
196
+ monthly: 2e6
176
197
  }
177
- ],
178
- incorporation_doc_file: "https://example.com/image.png",
179
- proof_of_ownership_doc_file: "https://example.com/image.png",
180
- external_id: null,
181
- instance_id: "in_000000000002",
182
- tos_id: "to_nppX66ntvtHs",
183
- aiprise_validation_key: "",
184
- created_at: "2015-03-15T00:00:00.000Z",
185
- updated_at: "2015-03-15T00:00:00.000Z",
186
- limit: {
187
- per_transaction: 2e5,
188
- daily: 4e5,
189
- monthly: 2e6
190
198
  }
199
+ ],
200
+ pagination: {
201
+ has_more: false,
202
+ next_page: "",
203
+ prev_page: ""
191
204
  }
192
- ];
205
+ };
193
206
  fetchMock.mockResponseOnce(JSON.stringify(mockedReceivers), {
194
207
  headers: { "Content-Type": "application/json" }
195
208
  });
@@ -208,12 +221,12 @@ var require_receivers_test = __commonJS({
208
221
  });
209
222
  const { data, error } = yield blindpay.receivers.createIndividualWithStandardKYC({
210
223
  email: "bernardo.simonassi@gmail.com",
224
+ country: "BR",
211
225
  tax_id: "12345678900",
212
226
  address_line_1: "Av. Paulista, 1000",
213
227
  address_line_2: "Apto 101",
214
228
  city: "S\xE3o Paulo",
215
229
  state_province_region: "SP",
216
- country: "BR",
217
230
  postal_code: "01310-100",
218
231
  phone_number: "+5511987654321",
219
232
  first_name: "Bernardo",
@@ -239,12 +252,12 @@ var require_receivers_test = __commonJS({
239
252
  });
240
253
  const { data, error } = yield blindpay.receivers.createIndividualWithEnhancedKYC({
241
254
  email: "bernardo.simonassi@gmail.com",
255
+ country: "BR",
242
256
  tax_id: "12345678900",
243
257
  address_line_1: "Av. Paulista, 1000",
244
258
  address_line_2: "Apto 101",
245
259
  city: "S\xE3o Paulo",
246
260
  state_province_region: "SP",
247
- country: "BR",
248
261
  postal_code: "01310-100",
249
262
  first_name: "Bernardo",
250
263
  last_name: "Simonassi",
@@ -256,11 +269,11 @@ var require_receivers_test = __commonJS({
256
269
  id_doc_back_file: "https://example.com/image.png",
257
270
  proof_of_address_doc_type: "UTILITY_BILL",
258
271
  proof_of_address_doc_file: "https://example.com/image.png",
259
- individual_holding_doc_front_file: "https://example.com/image.png",
260
272
  purpose_of_transactions: "personal_or_living_expenses",
261
273
  source_of_funds_doc_type: "savings",
262
274
  purpose_of_transactions_explanation: "I am receiving salary payments from my employer",
263
275
  source_of_funds_doc_file: "https://example.com/image.png",
276
+ selfie_file: "https://example.com/image.png",
264
277
  tos_id: "to_3ZZhllJkvo5Z"
265
278
  });
266
279
  globalExpect(error).toBeNull();
@@ -275,12 +288,12 @@ var require_receivers_test = __commonJS({
275
288
  });
276
289
  const { data, error } = yield blindpay.receivers.createBusinessWithStandardKYB({
277
290
  email: "contato@empresa.com.br",
291
+ country: "BR",
278
292
  tax_id: "20096178000195",
279
293
  address_line_1: "Av. Brigadeiro Faria Lima, 400",
280
294
  address_line_2: "Sala 1201",
281
295
  city: "S\xE3o Paulo",
282
296
  state_province_region: "SP",
283
- country: "BR",
284
297
  postal_code: "04538-132",
285
298
  legal_name: "Empresa Exemplo Ltda",
286
299
  alternate_name: "Exemplo",
@@ -291,6 +304,13 @@ var require_receivers_test = __commonJS({
291
304
  proof_of_ownership_doc_file: "https://example.com/image.png",
292
305
  tos_id: "to_nppX66ntvtHs",
293
306
  website: "https://site.com/",
307
+ business_type: "llc",
308
+ business_description: "Software development company",
309
+ business_industry: "541511",
310
+ estimated_annual_revenue: "1000000_9999999",
311
+ source_of_wealth: "affiliate_or_royalty_income",
312
+ publicly_traded: false,
313
+ account_purpose: "treasury_management",
294
314
  owners: [
295
315
  {
296
316
  role: "beneficial_owner",
@@ -309,7 +329,9 @@ var require_receivers_test = __commonJS({
309
329
  id_doc_front_file: "https://example.com/image.png",
310
330
  id_doc_back_file: "https://example.com/image.png",
311
331
  proof_of_address_doc_type: "UTILITY_BILL",
312
- proof_of_address_doc_file: "https://example.com/image.png"
332
+ proof_of_address_doc_file: "https://example.com/image.png",
333
+ ownership_percentage: 25,
334
+ title: "CEO"
313
335
  }
314
336
  ]
315
337
  });
@@ -423,14 +445,17 @@ var require_receivers_test = __commonJS({
423
445
  id_doc_country: "BR",
424
446
  id_doc_type: "PASSPORT",
425
447
  id_doc_front_file: "https://example.com/image.png",
426
- id_doc_back_file: "https://example.com/image.png"
448
+ id_doc_back_file: "https://example.com/image.png",
449
+ proof_of_address_doc_type: "UTILITY_BILL",
450
+ proof_of_address_doc_file: "https://example.com/image.png",
451
+ ownership_percentage: 25,
452
+ title: "CEO"
427
453
  }
428
454
  ],
429
455
  incorporation_doc_file: "https://example.com/image.png",
430
456
  proof_of_ownership_doc_file: "https://example.com/image.png",
431
457
  source_of_funds_doc_type: "savings",
432
458
  source_of_funds_doc_file: "https://example.com/image.png",
433
- individual_holding_doc_front_file: "https://example.com/image.png",
434
459
  purpose_of_transactions: "personal_or_living_expenses",
435
460
  purpose_of_transactions_explanation: "I am receiving salary payments from my employer",
436
461
  external_id: "some-external-id",
@@ -1,4 +1,5 @@
1
- import { I as InternalApiClient, B as BlindpayApiResponse } from '../../api-client-CIPV5zmo.mjs';
1
+ import { B as BlindpayApiResponse } from '../../index.d-yOiKSwHO.mjs';
2
+ import { I as InternalApiClient } from '../../api-client-DV5jG52T.mjs';
2
3
 
3
4
  type InitiateInput = {
4
5
  idempotency_key: string;
@@ -1,4 +1,5 @@
1
- import { I as InternalApiClient, B as BlindpayApiResponse } from '../../api-client-CIPV5zmo.js';
1
+ import { B as BlindpayApiResponse } from '../../index.d-yOiKSwHO.js';
2
+ import { I as InternalApiClient } from '../../api-client-Cu0yYexQ.js';
2
3
 
3
4
  type InitiateInput = {
4
5
  idempotency_key: string;