@blindpay/node 3.11.0 → 4.0.1

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 (112) hide show
  1. package/dist/{api-client-5N_7-zad.d.ts → api-client-BWImXDBx.d.ts} +1 -1
  2. package/dist/{api-client-DYqrodZr.d.mts → api-client-L9eGwH1U.d.mts} +1 -1
  3. package/dist/{chunk-IM2L5L4B.mjs → chunk-IJSACZHV.mjs} +16 -24
  4. package/dist/{chunk-N4F3FBNB.mjs → chunk-L23IOSI3.mjs} +40 -40
  5. package/dist/{chunk-LEPGLH7Q.mjs → chunk-SWTOSLUI.mjs} +10 -10
  6. package/dist/{chunk-KMU6V4LW.mjs → chunk-TVOMVVOO.mjs} +11 -11
  7. package/dist/{chunk-FG25JHDX.mjs → chunk-VAVDEV6P.mjs} +14 -14
  8. package/dist/{chunk-QGNLMN6Z.mjs → chunk-YHI3J2CL.mjs} +7 -7
  9. package/dist/{index.d-CGeWvXXq.d.mts → index.d-DK8eD9f3.d.mts} +1 -1
  10. package/dist/{index.d-CGeWvXXq.d.ts → index.d-DK8eD9f3.d.ts} +1 -1
  11. package/dist/index.d.mts +4 -16
  12. package/dist/index.d.ts +4 -16
  13. package/dist/index.js +83 -153
  14. package/dist/index.mjs +14 -20
  15. package/dist/resources/api-keys/api-keys.test.js +83 -151
  16. package/dist/resources/api-keys/api-keys.test.mjs +9 -10
  17. package/dist/resources/api-keys/index.d.mts +2 -2
  18. package/dist/resources/api-keys/index.d.ts +2 -2
  19. package/dist/resources/available/available.test.js +83 -151
  20. package/dist/resources/available/available.test.mjs +9 -10
  21. package/dist/resources/available/index.d.mts +2 -2
  22. package/dist/resources/available/index.d.ts +2 -2
  23. package/dist/resources/bank-accounts/bank-accounts.test.js +171 -241
  24. package/dist/resources/bank-accounts/bank-accounts.test.mjs +97 -100
  25. package/dist/resources/bank-accounts/index.d.mts +100 -102
  26. package/dist/resources/bank-accounts/index.d.ts +100 -102
  27. package/dist/resources/bank-accounts/index.js +40 -40
  28. package/dist/resources/bank-accounts/index.mjs +1 -1
  29. package/dist/resources/customers/customers.test.js +83 -151
  30. package/dist/resources/customers/customers.test.mjs +9 -10
  31. package/dist/resources/customers/index.d.mts +70 -69
  32. package/dist/resources/customers/index.d.ts +70 -69
  33. package/dist/resources/fees/fees.test.js +83 -151
  34. package/dist/resources/fees/fees.test.mjs +9 -10
  35. package/dist/resources/fees/index.d.mts +2 -2
  36. package/dist/resources/fees/index.d.ts +2 -2
  37. package/dist/resources/instances/index.d.mts +2 -2
  38. package/dist/resources/instances/index.d.ts +2 -2
  39. package/dist/resources/instances/instances.test.js +83 -151
  40. package/dist/resources/instances/instances.test.mjs +9 -10
  41. package/dist/resources/partner-fees/index.d.mts +2 -2
  42. package/dist/resources/partner-fees/index.d.ts +2 -2
  43. package/dist/resources/partner-fees/partner-fees.test.js +83 -151
  44. package/dist/resources/partner-fees/partner-fees.test.mjs +9 -10
  45. package/dist/resources/payins/index.d.mts +2 -2
  46. package/dist/resources/payins/index.d.ts +2 -2
  47. package/dist/resources/payins/payins-quotes.test.js +83 -151
  48. package/dist/resources/payins/payins-quotes.test.mjs +9 -10
  49. package/dist/resources/payins/payins.test.js +83 -151
  50. package/dist/resources/payins/payins.test.mjs +9 -10
  51. package/dist/resources/payins/quotes.d.mts +2 -2
  52. package/dist/resources/payins/quotes.d.ts +2 -2
  53. package/dist/resources/payouts/index.d.mts +2 -2
  54. package/dist/resources/payouts/index.d.ts +2 -2
  55. package/dist/resources/payouts/payouts.test.js +83 -151
  56. package/dist/resources/payouts/payouts.test.mjs +9 -10
  57. package/dist/resources/quotes/index.d.mts +2 -2
  58. package/dist/resources/quotes/index.d.ts +2 -2
  59. package/dist/resources/quotes/quotes.test.js +83 -151
  60. package/dist/resources/quotes/quotes.test.mjs +9 -10
  61. package/dist/resources/terms-of-service/index.d.mts +2 -2
  62. package/dist/resources/terms-of-service/index.d.ts +2 -2
  63. package/dist/resources/terms-of-service/terms-of-service.test.js +83 -151
  64. package/dist/resources/terms-of-service/terms-of-service.test.mjs +9 -10
  65. package/dist/resources/transfers/index.d.mts +2 -2
  66. package/dist/resources/transfers/index.d.ts +2 -2
  67. package/dist/resources/transfers/transfers.test.js +83 -151
  68. package/dist/resources/transfers/transfers.test.mjs +9 -10
  69. package/dist/resources/upload/index.d.mts +1 -1
  70. package/dist/resources/upload/index.d.ts +1 -1
  71. package/dist/resources/upload/upload.test.js +83 -151
  72. package/dist/resources/upload/upload.test.mjs +9 -10
  73. package/dist/resources/virtual-accounts/index.d.mts +9 -9
  74. package/dist/resources/virtual-accounts/index.d.ts +9 -9
  75. package/dist/resources/virtual-accounts/index.js +10 -10
  76. package/dist/resources/virtual-accounts/index.mjs +1 -1
  77. package/dist/resources/virtual-accounts/virtual-accounts.test.js +87 -155
  78. package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +13 -14
  79. package/dist/resources/wallets/blockchain.d.mts +15 -15
  80. package/dist/resources/wallets/blockchain.d.ts +15 -15
  81. package/dist/resources/wallets/blockchain.js +14 -14
  82. package/dist/resources/wallets/blockchain.mjs +1 -1
  83. package/dist/resources/wallets/blockchain.test.js +91 -159
  84. package/dist/resources/wallets/blockchain.test.mjs +17 -18
  85. package/dist/resources/wallets/custodial.d.mts +11 -11
  86. package/dist/resources/wallets/custodial.d.ts +11 -11
  87. package/dist/resources/wallets/custodial.js +11 -11
  88. package/dist/resources/wallets/custodial.mjs +1 -1
  89. package/dist/resources/wallets/custodial.test.js +87 -155
  90. package/dist/resources/wallets/custodial.test.mjs +13 -14
  91. package/dist/resources/wallets/offramp.d.mts +9 -9
  92. package/dist/resources/wallets/offramp.d.ts +9 -9
  93. package/dist/resources/wallets/offramp.js +7 -7
  94. package/dist/resources/wallets/offramp.mjs +1 -1
  95. package/dist/resources/wallets/offramp.test.js +89 -157
  96. package/dist/resources/wallets/offramp.test.mjs +15 -16
  97. package/dist/resources/webhooks/index.d.mts +2 -2
  98. package/dist/resources/webhooks/index.d.ts +2 -2
  99. package/dist/resources/webhooks/webhooks.test.js +83 -151
  100. package/dist/resources/webhooks/webhooks.test.mjs +9 -10
  101. package/package.json +1 -1
  102. package/dist/chunk-NAGY6BLL.mjs +0 -79
  103. package/dist/resources/receivers/index.d.mts +0 -513
  104. package/dist/resources/receivers/index.d.ts +0 -513
  105. package/dist/resources/receivers/index.js +0 -118
  106. package/dist/resources/receivers/index.mjs +0 -9
  107. package/dist/resources/receivers/receivers.test.d.mts +0 -2
  108. package/dist/resources/receivers/receivers.test.d.ts +0 -2
  109. package/dist/resources/receivers/receivers.test.js +0 -20510
  110. package/dist/resources/receivers/receivers.test.mjs +0 -652
  111. package/dist/strict-omit-ByJhzKNC.d.mts +0 -3
  112. package/dist/strict-omit-ByJhzKNC.d.ts +0 -3
@@ -1,29 +1,30 @@
1
- import { P as PaginationParams, C as Country, B as BlindpayApiResponse, A as AccountClass, K as KycStatus, e as AccountPurpose, S as SourceOfFundsDocType, d as BusinessIndustry, E as EstimatedAnnualRevenue, f as SourceOfWealth, g as RecipientRelationship, h as SoleProprietorDocType, i as PurposeOfTransactions, j as PaginationMetadata, k as BusinessType } from '../../index.d-CGeWvXXq.js';
2
- import { I as InternalApiClient } from '../../api-client-5N_7-zad.js';
3
- import { S as StrictOmit } from '../../strict-omit-ByJhzKNC.js';
1
+ import { P as PaginationParams, C as Country, B as BlindpayApiResponse, A as AccountClass, K as KycStatus, u as AccountPurpose, v as SourceOfFundsDocType, d as BusinessIndustry, E as EstimatedAnnualRevenue, w as SourceOfWealth, x as RecipientRelationship, y as SoleProprietorDocType, z as PurposeOfTransactions, l as PaginationMetadata, D as BusinessType } from '../../index.d-DK8eD9f3.js';
2
+ import { I as InternalApiClient } from '../../api-client-BWImXDBx.js';
4
3
 
5
- type CustomerProofOfAddressDocType = "UTILITY_BILL" | "BANK_STATEMENT" | "RENTAL_AGREEMENT" | "TAX_DOCUMENT" | "GOVERNMENT_CORRESPONDENCE";
6
- type CustomerIdentificationDocument = "PASSPORT" | "ID_CARD" | "DRIVERS";
7
- type CustomerAmlStatus = "clear" | "hit" | "error";
8
- type CustomerAmlHits = {
4
+ type StrictOmit<T, K extends keyof T> = Omit<T, K>;
5
+
6
+ type ProofOfAddressDocType = "UTILITY_BILL" | "BANK_STATEMENT" | "RENTAL_AGREEMENT" | "TAX_DOCUMENT" | "GOVERNMENT_CORRESPONDENCE";
7
+ type IdentificationDocument = "PASSPORT" | "ID_CARD" | "DRIVERS";
8
+ type AmlStatus = "clear" | "hit" | "error";
9
+ type AmlHits = {
9
10
  has_sanction_match: boolean;
10
11
  has_pep_match: boolean;
11
12
  has_watchlist_match: boolean;
12
13
  has_crimelist_match: boolean;
13
14
  has_adversemedia_match: boolean;
14
15
  };
15
- type CustomerFraudWarning = {
16
+ type FraudWarning = {
16
17
  id: string | null;
17
18
  name: string | null;
18
19
  operation: string | null;
19
20
  score: number | null;
20
21
  };
21
- type CustomerOwnerTaxType = "SSN" | "ITIN";
22
- type CustomerKycType = "light" | "standard" | "enhanced";
23
- type CustomerOwnerRole = "beneficial_controlling" | "beneficial_owner" | "controlling_person";
24
- type CustomerOwner = {
22
+ type OwnerTaxType = "SSN" | "ITIN";
23
+ type KycType = "light" | "standard" | "enhanced";
24
+ type OwnerRole = "beneficial_controlling" | "beneficial_owner" | "controlling_person";
25
+ type Owner = {
25
26
  id: string;
26
- role: CustomerOwnerRole;
27
+ role: OwnerRole;
27
28
  first_name: string;
28
29
  last_name: string;
29
30
  date_of_birth: string;
@@ -35,22 +36,22 @@ type CustomerOwner = {
35
36
  country: Country;
36
37
  postal_code: string;
37
38
  id_doc_country: Country;
38
- id_doc_type: CustomerIdentificationDocument;
39
+ id_doc_type: IdentificationDocument;
39
40
  id_doc_front_file: string;
40
41
  id_doc_back_file: string | null;
41
- proof_of_address_doc_type: CustomerProofOfAddressDocType;
42
+ proof_of_address_doc_type: ProofOfAddressDocType;
42
43
  proof_of_address_doc_file: string | null;
43
44
  ownership_percentage: number | null;
44
45
  title: string | null;
45
- tax_type?: CustomerOwnerTaxType | null;
46
+ tax_type?: OwnerTaxType | null;
46
47
  instance_id?: string;
47
48
  customer_id?: string;
48
49
  };
49
- type CustomerIndividualWithStandardKYC = {
50
+ type IndividualWithStandardKYC = {
50
51
  id: string;
51
52
  is_tos_accepted: boolean;
52
53
  type: Extract<AccountClass, "individual">;
53
- kyc_type: Extract<CustomerKycType, "standard">;
54
+ kyc_type: Extract<KycType, "standard">;
54
55
  kyc_status: KycStatus;
55
56
  kyc_warnings: Array<{
56
57
  code: string | null;
@@ -69,13 +70,13 @@ type CustomerIndividualWithStandardKYC = {
69
70
  ip_address: string | null;
70
71
  image_url: string | null;
71
72
  phone_number: string;
72
- proof_of_address_doc_type: CustomerProofOfAddressDocType;
73
+ proof_of_address_doc_type: ProofOfAddressDocType;
73
74
  proof_of_address_doc_file: string;
74
75
  first_name: string;
75
76
  last_name: string;
76
77
  date_of_birth: string;
77
78
  id_doc_country: Country;
78
- id_doc_type: CustomerIdentificationDocument;
79
+ id_doc_type: IdentificationDocument;
79
80
  id_doc_front_file: string;
80
81
  id_doc_back_file: string;
81
82
  aiprise_validation_key: string;
@@ -88,9 +89,9 @@ type CustomerIndividualWithStandardKYC = {
88
89
  daily: number;
89
90
  monthly: number;
90
91
  };
91
- fraud_warnings?: CustomerFraudWarning[] | null;
92
- aml_status?: CustomerAmlStatus | null;
93
- aml_hits?: CustomerAmlHits | null;
92
+ fraud_warnings?: FraudWarning[] | null;
93
+ aml_status?: AmlStatus | null;
94
+ aml_hits?: AmlHits | null;
94
95
  account_purpose?: AccountPurpose | null;
95
96
  account_purpose_other?: string | null;
96
97
  occupation?: string | null;
@@ -107,11 +108,11 @@ type CustomerIndividualWithStandardKYC = {
107
108
  sole_proprietor_doc_type?: SoleProprietorDocType | null;
108
109
  publicly_traded?: boolean | null;
109
110
  };
110
- type CustomerIndividualWithEnhancedKYC = {
111
+ type IndividualWithEnhancedKYC = {
111
112
  id: string;
112
113
  is_tos_accepted: boolean;
113
114
  type: Extract<AccountClass, "individual">;
114
- kyc_type: Extract<CustomerKycType, "enhanced">;
115
+ kyc_type: Extract<KycType, "enhanced">;
115
116
  kyc_status: KycStatus;
116
117
  kyc_warnings: Array<{
117
118
  code: string | null;
@@ -130,13 +131,13 @@ type CustomerIndividualWithEnhancedKYC = {
130
131
  ip_address: string | null;
131
132
  image_url: string | null;
132
133
  phone_number: string | null;
133
- proof_of_address_doc_type: CustomerProofOfAddressDocType;
134
+ proof_of_address_doc_type: ProofOfAddressDocType;
134
135
  proof_of_address_doc_file: string;
135
136
  first_name: string;
136
137
  last_name: string;
137
138
  date_of_birth: string;
138
139
  id_doc_country: Country;
139
- id_doc_type: CustomerIdentificationDocument;
140
+ id_doc_type: IdentificationDocument;
140
141
  id_doc_front_file: string;
141
142
  id_doc_back_file: string | null;
142
143
  aiprise_validation_key: string;
@@ -154,9 +155,9 @@ type CustomerIndividualWithEnhancedKYC = {
154
155
  daily: number;
155
156
  monthly: number;
156
157
  };
157
- fraud_warnings?: CustomerFraudWarning[] | null;
158
- aml_status?: CustomerAmlStatus | null;
159
- aml_hits?: CustomerAmlHits | null;
158
+ fraud_warnings?: FraudWarning[] | null;
159
+ aml_status?: AmlStatus | null;
160
+ aml_hits?: AmlHits | null;
160
161
  account_purpose?: AccountPurpose | null;
161
162
  account_purpose_other?: string | null;
162
163
  occupation?: string | null;
@@ -171,12 +172,12 @@ type CustomerIndividualWithEnhancedKYC = {
171
172
  sole_proprietor_doc_type?: SoleProprietorDocType | null;
172
173
  publicly_traded?: boolean | null;
173
174
  };
174
- type CustomerBusinessWithStandardKYB = {
175
+ type BusinessWithStandardKYB = {
175
176
  id: string;
176
177
  is_tos_accepted: boolean;
177
178
  is_fbo: boolean;
178
179
  type: Extract<AccountClass, "business">;
179
- kyc_type: Extract<CustomerKycType, "standard">;
180
+ kyc_type: Extract<KycType, "standard">;
180
181
  kyc_status: KycStatus;
181
182
  kyc_warnings: Array<{
182
183
  code: string | null;
@@ -195,13 +196,13 @@ type CustomerBusinessWithStandardKYB = {
195
196
  ip_address: string | null;
196
197
  image_url: string | null;
197
198
  phone_number: string | null;
198
- proof_of_address_doc_type: CustomerProofOfAddressDocType;
199
+ proof_of_address_doc_type: ProofOfAddressDocType;
199
200
  proof_of_address_doc_file: string;
200
201
  legal_name: string;
201
202
  alternate_name: string | null;
202
203
  formation_date: string;
203
204
  website: string | null;
204
- owners: CustomerOwner[];
205
+ owners: Owner[];
205
206
  incorporation_doc_file: string;
206
207
  proof_of_ownership_doc_file: string;
207
208
  external_id: string | null;
@@ -215,9 +216,9 @@ type CustomerBusinessWithStandardKYB = {
215
216
  daily: number;
216
217
  monthly: number;
217
218
  };
218
- fraud_warnings?: CustomerFraudWarning[] | null;
219
- aml_status?: CustomerAmlStatus | null;
220
- aml_hits?: CustomerAmlHits | null;
219
+ fraud_warnings?: FraudWarning[] | null;
220
+ aml_status?: AmlStatus | null;
221
+ aml_hits?: AmlHits | null;
221
222
  account_purpose?: AccountPurpose | null;
222
223
  account_purpose_other?: string | null;
223
224
  occupation?: string | null;
@@ -231,7 +232,7 @@ type CustomerBusinessWithStandardKYB = {
231
232
  recipient_relationship?: RecipientRelationship | null;
232
233
  sole_proprietor_doc_type?: SoleProprietorDocType | null;
233
234
  };
234
- type CreateCustomerIndividualWithStandardKYCInput = {
235
+ type CreateIndividualWithStandardKYCInput = {
235
236
  country: Country;
236
237
  email: string;
237
238
  account_purpose?: AccountPurpose | null;
@@ -244,14 +245,14 @@ type CreateCustomerIndividualWithStandardKYCInput = {
244
245
  id_doc_back_file?: string | null;
245
246
  id_doc_country?: Country | null;
246
247
  id_doc_front_file?: string | null;
247
- id_doc_type?: CustomerIdentificationDocument | null;
248
+ id_doc_type?: IdentificationDocument | null;
248
249
  image_url?: string | null;
249
250
  ip_address?: string | null;
250
251
  last_name?: string | null;
251
252
  phone_number?: string | null;
252
253
  postal_code?: string | null;
253
254
  proof_of_address_doc_file?: string | null;
254
- proof_of_address_doc_type?: CustomerProofOfAddressDocType | null;
255
+ proof_of_address_doc_type?: ProofOfAddressDocType | null;
255
256
  selfie_file?: string | null;
256
257
  source_of_funds_doc_file?: string | null;
257
258
  source_of_funds_doc_type?: SourceOfFundsDocType | null;
@@ -264,10 +265,10 @@ type CreateCustomerIndividualWithStandardKYCInput = {
264
265
  recipient_relationship?: RecipientRelationship | null;
265
266
  sole_proprietor_doc_type?: SoleProprietorDocType | null;
266
267
  };
267
- type CreateCustomerIndividualWithStandardKYCResponse = {
268
+ type CreateIndividualWithStandardKYCResponse = {
268
269
  id: string;
269
270
  };
270
- type CreateCustomerIndividualWithEnhancedKYCInput = {
271
+ type CreateIndividualWithEnhancedKYCInput = {
271
272
  country: Country;
272
273
  email: string;
273
274
  account_purpose?: AccountPurpose | null;
@@ -280,14 +281,14 @@ type CreateCustomerIndividualWithEnhancedKYCInput = {
280
281
  id_doc_back_file?: string | null;
281
282
  id_doc_country?: Country | null;
282
283
  id_doc_front_file?: string | null;
283
- id_doc_type?: CustomerIdentificationDocument | null;
284
+ id_doc_type?: IdentificationDocument | null;
284
285
  image_url?: string | null;
285
286
  ip_address?: string | null;
286
287
  last_name?: string | null;
287
288
  phone_number?: string | null;
288
289
  postal_code?: string | null;
289
290
  proof_of_address_doc_file?: string | null;
290
- proof_of_address_doc_type?: CustomerProofOfAddressDocType | null;
291
+ proof_of_address_doc_type?: ProofOfAddressDocType | null;
291
292
  purpose_of_transactions?: PurposeOfTransactions | null;
292
293
  purpose_of_transactions_explanation?: string | null;
293
294
  selfie_file?: string | null;
@@ -302,10 +303,10 @@ type CreateCustomerIndividualWithEnhancedKYCInput = {
302
303
  recipient_relationship?: RecipientRelationship | null;
303
304
  sole_proprietor_doc_type?: SoleProprietorDocType | null;
304
305
  };
305
- type CreateCustomerIndividualWithEnhancedKYCResponse = {
306
+ type CreateIndividualWithEnhancedKYCResponse = {
306
307
  id: string;
307
308
  };
308
- type CreateCustomerBusinessWithStandardKYBInput = {
309
+ type CreateBusinessWithStandardKYBInput = {
309
310
  country: Country;
310
311
  email: string;
311
312
  account_purpose?: AccountPurpose | null;
@@ -323,11 +324,11 @@ type CreateCustomerBusinessWithStandardKYBInput = {
323
324
  incorporation_doc_file?: string | null;
324
325
  ip_address?: string | null;
325
326
  legal_name?: string | null;
326
- owners?: Array<StrictOmit<CustomerOwner, "id">> | null;
327
+ owners?: Array<StrictOmit<Owner, "id">> | null;
327
328
  phone_number?: string | null;
328
329
  postal_code?: string | null;
329
330
  proof_of_address_doc_file?: string | null;
330
- proof_of_address_doc_type?: CustomerProofOfAddressDocType | null;
331
+ proof_of_address_doc_type?: ProofOfAddressDocType | null;
331
332
  proof_of_ownership_doc_file?: string | null;
332
333
  publicly_traded?: boolean | null;
333
334
  source_of_funds_doc_file?: string | null;
@@ -342,7 +343,7 @@ type CreateCustomerBusinessWithStandardKYBInput = {
342
343
  recipient_relationship?: RecipientRelationship | null;
343
344
  sole_proprietor_doc_type?: SoleProprietorDocType | null;
344
345
  };
345
- type CreateCustomerBusinessWithStandardKYBResponse = {
346
+ type CreateBusinessWithStandardKYBResponse = {
346
347
  id: string;
347
348
  };
348
349
  type ListCustomersInput = PaginationParams & {
@@ -354,11 +355,11 @@ type ListCustomersInput = PaginationParams & {
354
355
  country?: Country;
355
356
  };
356
357
  type ListCustomersResponse = {
357
- data: Array<CustomerIndividualWithStandardKYC | CustomerIndividualWithEnhancedKYC | CustomerBusinessWithStandardKYB>;
358
+ data: Array<IndividualWithStandardKYC | IndividualWithEnhancedKYC | BusinessWithStandardKYB>;
358
359
  pagination: PaginationMetadata;
359
360
  };
360
361
  type GetCustomerInput = string;
361
- type GetCustomerResponse = CustomerIndividualWithStandardKYC | CustomerIndividualWithEnhancedKYC | CustomerBusinessWithStandardKYB;
362
+ type GetCustomerResponse = IndividualWithStandardKYC | IndividualWithEnhancedKYC | BusinessWithStandardKYB;
362
363
  type UpdateCustomerInput = {
363
364
  customer_id: string;
364
365
  account_purpose?: AccountPurpose | null;
@@ -379,17 +380,17 @@ type UpdateCustomerInput = {
379
380
  id_doc_back_file?: string;
380
381
  id_doc_country?: Country;
381
382
  id_doc_front_file?: string;
382
- id_doc_type?: CustomerIdentificationDocument;
383
+ id_doc_type?: IdentificationDocument;
383
384
  image_url?: string;
384
385
  incorporation_doc_file?: string;
385
386
  ip_address?: string;
386
387
  last_name?: string;
387
388
  legal_name?: string;
388
- owners?: Array<StrictOmit<CustomerOwner, "id">>;
389
+ owners?: Array<StrictOmit<Owner, "id">>;
389
390
  phone_number?: string;
390
391
  postal_code?: string;
391
392
  proof_of_address_doc_file?: string;
392
- proof_of_address_doc_type?: CustomerProofOfAddressDocType;
393
+ proof_of_address_doc_type?: ProofOfAddressDocType;
393
394
  proof_of_ownership_doc_file?: string;
394
395
  publicly_traded?: boolean | null;
395
396
  purpose_of_transactions?: PurposeOfTransactions;
@@ -421,46 +422,46 @@ type GetCustomerLimitsResponse = {
421
422
  };
422
423
  };
423
424
  };
424
- type GetCustomerLimitIncreaseRequestsInput = string;
425
- type CustomerLimitIncreaseRequestStatus = "in_review" | "approved" | "rejected";
426
- type CustomerLimitIncreaseRequestSupportingDocumentType = "individual_bank_statement" | "individual_tax_return" | "individual_proof_of_income" | "business_bank_statement" | "business_financial_statements" | "business_tax_return";
427
- type GetCustomerLimitIncreaseRequestsResponse = Array<{
425
+ type GetLimitIncreaseRequestsInput = string;
426
+ type LimitIncreaseRequestStatus = "in_review" | "approved" | "rejected";
427
+ type LimitIncreaseRequestSupportingDocumentType = "individual_bank_statement" | "individual_tax_return" | "individual_proof_of_income" | "business_bank_statement" | "business_financial_statements" | "business_tax_return";
428
+ type GetLimitIncreaseRequestsResponse = Array<{
428
429
  id: string;
429
430
  customer_id: string;
430
- status: CustomerLimitIncreaseRequestStatus;
431
+ status: LimitIncreaseRequestStatus;
431
432
  daily: number;
432
433
  monthly: number;
433
434
  per_transaction: number;
434
435
  supporting_document_file: string;
435
- supporting_document_type: CustomerLimitIncreaseRequestSupportingDocumentType;
436
+ supporting_document_type: LimitIncreaseRequestSupportingDocumentType;
436
437
  created_at: string;
437
438
  updated_at: string;
438
439
  approved_per_transaction?: number | null;
439
440
  approved_daily?: number | null;
440
441
  approved_monthly?: number | null;
441
442
  }>;
442
- type RequestCustomerLimitIncreaseInput = {
443
+ type RequestLimitIncreaseInput = {
443
444
  customer_id: string;
444
445
  daily: number;
445
446
  monthly: number;
446
447
  per_transaction: number;
447
448
  supporting_document_file: string;
448
- supporting_document_type: CustomerLimitIncreaseRequestSupportingDocumentType;
449
+ supporting_document_type: LimitIncreaseRequestSupportingDocumentType;
449
450
  };
450
- type RequestCustomerLimitIncreaseResponse = {
451
+ type RequestLimitIncreaseResponse = {
451
452
  id: string;
452
453
  };
453
454
  declare function createCustomersResource(instanceId: string, client: InternalApiClient): {
454
455
  list(params?: ListCustomersInput): Promise<BlindpayApiResponse<ListCustomersResponse>>;
455
- createIndividualWithStandardKYC(data: CreateCustomerIndividualWithStandardKYCInput): Promise<BlindpayApiResponse<CreateCustomerIndividualWithStandardKYCResponse>>;
456
- createIndividualWithEnhancedKYC(data: CreateCustomerIndividualWithEnhancedKYCInput): Promise<BlindpayApiResponse<CreateCustomerIndividualWithEnhancedKYCResponse>>;
457
- createBusinessWithStandardKYB(data: CreateCustomerBusinessWithStandardKYBInput): Promise<BlindpayApiResponse<CreateCustomerBusinessWithStandardKYBResponse>>;
456
+ createIndividualWithStandardKYC(data: CreateIndividualWithStandardKYCInput): Promise<BlindpayApiResponse<CreateIndividualWithStandardKYCResponse>>;
457
+ createIndividualWithEnhancedKYC(data: CreateIndividualWithEnhancedKYCInput): Promise<BlindpayApiResponse<CreateIndividualWithEnhancedKYCResponse>>;
458
+ createBusinessWithStandardKYB(data: CreateBusinessWithStandardKYBInput): Promise<BlindpayApiResponse<CreateBusinessWithStandardKYBResponse>>;
458
459
  get(customer_id: GetCustomerInput): Promise<BlindpayApiResponse<GetCustomerResponse>>;
459
460
  update({ customer_id, ...data }: UpdateCustomerInput): Promise<BlindpayApiResponse<void>>;
460
461
  delete(customer_id: DeleteCustomerInput): Promise<BlindpayApiResponse<void>>;
461
462
  getLimits(customer_id: GetCustomerLimitsInput): Promise<BlindpayApiResponse<GetCustomerLimitsResponse>>;
462
- getLimitIncreaseRequests(customer_id: GetCustomerLimitIncreaseRequestsInput): Promise<BlindpayApiResponse<GetCustomerLimitIncreaseRequestsResponse>>;
463
- requestLimitIncrease({ customer_id, ...data }: RequestCustomerLimitIncreaseInput): Promise<BlindpayApiResponse<RequestCustomerLimitIncreaseResponse>>;
463
+ getLimitIncreaseRequests(customer_id: GetLimitIncreaseRequestsInput): Promise<BlindpayApiResponse<GetLimitIncreaseRequestsResponse>>;
464
+ requestLimitIncrease({ customer_id, ...data }: RequestLimitIncreaseInput): Promise<BlindpayApiResponse<RequestLimitIncreaseResponse>>;
464
465
  };
465
466
 
466
- export { type CreateCustomerBusinessWithStandardKYBInput, type CreateCustomerBusinessWithStandardKYBResponse, type CreateCustomerIndividualWithEnhancedKYCInput, type CreateCustomerIndividualWithEnhancedKYCResponse, type CreateCustomerIndividualWithStandardKYCInput, type CreateCustomerIndividualWithStandardKYCResponse, type CustomerAmlHits, type CustomerAmlStatus, type CustomerBusinessWithStandardKYB, type CustomerFraudWarning, type CustomerIdentificationDocument, type CustomerIndividualWithEnhancedKYC, type CustomerIndividualWithStandardKYC, type CustomerKycType, type CustomerLimitIncreaseRequestStatus, type CustomerLimitIncreaseRequestSupportingDocumentType, type CustomerOwner, type CustomerOwnerRole, type CustomerOwnerTaxType, type CustomerProofOfAddressDocType, type DeleteCustomerInput, type GetCustomerInput, type GetCustomerLimitIncreaseRequestsInput, type GetCustomerLimitIncreaseRequestsResponse, type GetCustomerLimitsInput, type GetCustomerLimitsResponse, type GetCustomerResponse, type ListCustomersInput, type ListCustomersResponse, type RequestCustomerLimitIncreaseInput, type RequestCustomerLimitIncreaseResponse, type UpdateCustomerInput, createCustomersResource };
467
+ export { type AmlHits, type AmlStatus, type BusinessWithStandardKYB, type CreateBusinessWithStandardKYBInput, type CreateBusinessWithStandardKYBResponse, type CreateIndividualWithEnhancedKYCInput, type CreateIndividualWithEnhancedKYCResponse, type CreateIndividualWithStandardKYCInput, type CreateIndividualWithStandardKYCResponse, type DeleteCustomerInput, type FraudWarning, type GetCustomerInput, type GetCustomerLimitsInput, type GetCustomerLimitsResponse, type GetCustomerResponse, type GetLimitIncreaseRequestsInput, type GetLimitIncreaseRequestsResponse, type IdentificationDocument, type IndividualWithEnhancedKYC, type IndividualWithStandardKYC, type KycType, type LimitIncreaseRequestStatus, type LimitIncreaseRequestSupportingDocumentType, type ListCustomersInput, type ListCustomersResponse, type Owner, type OwnerRole, type OwnerTaxType, type ProofOfAddressDocType, type RequestLimitIncreaseInput, type RequestLimitIncreaseResponse, type UpdateCustomerInput, createCustomersResource };