increase 0.467.0 → 0.469.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.
- package/CHANGELOG.md +21 -0
- package/client.d.mts +3 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -0
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +12 -1
- package/resources/beneficial-owners.d.mts +157 -0
- package/resources/beneficial-owners.d.mts.map +1 -0
- package/resources/beneficial-owners.d.ts +157 -0
- package/resources/beneficial-owners.d.ts.map +1 -0
- package/resources/beneficial-owners.js +44 -0
- package/resources/beneficial-owners.js.map +1 -0
- package/resources/beneficial-owners.mjs +40 -0
- package/resources/beneficial-owners.mjs.map +1 -0
- package/resources/card-payments.d.mts +61 -32
- package/resources/card-payments.d.mts.map +1 -1
- package/resources/card-payments.d.ts +61 -32
- package/resources/card-payments.d.ts.map +1 -1
- package/resources/entities.d.mts +2 -97
- package/resources/entities.d.mts.map +1 -1
- package/resources/entities.d.ts +2 -97
- package/resources/entities.d.ts.map +1 -1
- package/resources/entities.js.map +1 -1
- package/resources/entities.mjs.map +1 -1
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +4 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/real-time-decisions.d.mts +61 -32
- package/resources/real-time-decisions.d.mts.map +1 -1
- package/resources/real-time-decisions.d.ts +61 -32
- package/resources/real-time-decisions.d.ts.map +1 -1
- package/src/client.ts +15 -0
- package/src/resources/beneficial-owners.ts +204 -0
- package/src/resources/card-payments.ts +75 -43
- package/src/resources/entities.ts +2 -120
- package/src/resources/index.ts +6 -0
- package/src/resources/real-time-decisions.ts +75 -43
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
|
+
import * as BeneficialOwnersAPI from './beneficial-owners';
|
|
4
5
|
import * as SupplementalDocumentsAPI from './supplemental-documents';
|
|
5
6
|
import { APIPromise } from '../core/api-promise';
|
|
6
7
|
import { Page, type PageParams, PagePromise } from '../core/pagination';
|
|
@@ -308,7 +309,7 @@ export namespace Entity {
|
|
|
308
309
|
* The identifying details of anyone controlling or owning 25% or more of the
|
|
309
310
|
* corporation.
|
|
310
311
|
*/
|
|
311
|
-
beneficial_owners: Array<
|
|
312
|
+
beneficial_owners: Array<BeneficialOwnersAPI.EntityBeneficialOwner>;
|
|
312
313
|
|
|
313
314
|
/**
|
|
314
315
|
* An email address for the business.
|
|
@@ -374,125 +375,6 @@ export namespace Entity {
|
|
|
374
375
|
*/
|
|
375
376
|
zip: string;
|
|
376
377
|
}
|
|
377
|
-
|
|
378
|
-
export interface BeneficialOwner {
|
|
379
|
-
/**
|
|
380
|
-
* The identifier of this beneficial owner.
|
|
381
|
-
*/
|
|
382
|
-
id: string;
|
|
383
|
-
|
|
384
|
-
/**
|
|
385
|
-
* This person's role or title within the entity.
|
|
386
|
-
*/
|
|
387
|
-
company_title: string | null;
|
|
388
|
-
|
|
389
|
-
/**
|
|
390
|
-
* Personal details for the beneficial owner.
|
|
391
|
-
*/
|
|
392
|
-
individual: BeneficialOwner.Individual;
|
|
393
|
-
|
|
394
|
-
/**
|
|
395
|
-
* Why this person is considered a beneficial owner of the entity.
|
|
396
|
-
*/
|
|
397
|
-
prongs: Array<'ownership' | 'control'>;
|
|
398
|
-
|
|
399
|
-
[k: string]: unknown;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
export namespace BeneficialOwner {
|
|
403
|
-
/**
|
|
404
|
-
* Personal details for the beneficial owner.
|
|
405
|
-
*/
|
|
406
|
-
export interface Individual {
|
|
407
|
-
/**
|
|
408
|
-
* The person's address.
|
|
409
|
-
*/
|
|
410
|
-
address: Individual.Address;
|
|
411
|
-
|
|
412
|
-
/**
|
|
413
|
-
* The person's date of birth in YYYY-MM-DD format.
|
|
414
|
-
*/
|
|
415
|
-
date_of_birth: string;
|
|
416
|
-
|
|
417
|
-
/**
|
|
418
|
-
* A means of verifying the person's identity.
|
|
419
|
-
*/
|
|
420
|
-
identification: Individual.Identification;
|
|
421
|
-
|
|
422
|
-
/**
|
|
423
|
-
* The person's legal name.
|
|
424
|
-
*/
|
|
425
|
-
name: string;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
export namespace Individual {
|
|
429
|
-
/**
|
|
430
|
-
* The person's address.
|
|
431
|
-
*/
|
|
432
|
-
export interface Address {
|
|
433
|
-
/**
|
|
434
|
-
* The city, district, town, or village of the address.
|
|
435
|
-
*/
|
|
436
|
-
city: string | null;
|
|
437
|
-
|
|
438
|
-
/**
|
|
439
|
-
* The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
440
|
-
*/
|
|
441
|
-
country: string;
|
|
442
|
-
|
|
443
|
-
/**
|
|
444
|
-
* The first line of the address.
|
|
445
|
-
*/
|
|
446
|
-
line1: string;
|
|
447
|
-
|
|
448
|
-
/**
|
|
449
|
-
* The second line of the address.
|
|
450
|
-
*/
|
|
451
|
-
line2: string | null;
|
|
452
|
-
|
|
453
|
-
/**
|
|
454
|
-
* The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
455
|
-
* state, province, or region of the address.
|
|
456
|
-
*/
|
|
457
|
-
state: string | null;
|
|
458
|
-
|
|
459
|
-
/**
|
|
460
|
-
* The ZIP or postal code of the address.
|
|
461
|
-
*/
|
|
462
|
-
zip: string | null;
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
/**
|
|
466
|
-
* A means of verifying the person's identity.
|
|
467
|
-
*/
|
|
468
|
-
export interface Identification {
|
|
469
|
-
/**
|
|
470
|
-
* A method that can be used to verify the individual's identity.
|
|
471
|
-
*
|
|
472
|
-
* - `social_security_number` - A social security number.
|
|
473
|
-
* - `individual_taxpayer_identification_number` - An individual taxpayer
|
|
474
|
-
* identification number (ITIN).
|
|
475
|
-
* - `passport` - A passport number.
|
|
476
|
-
* - `drivers_license` - A driver's license number.
|
|
477
|
-
* - `other` - Another identifying document.
|
|
478
|
-
*/
|
|
479
|
-
method:
|
|
480
|
-
| 'social_security_number'
|
|
481
|
-
| 'individual_taxpayer_identification_number'
|
|
482
|
-
| 'passport'
|
|
483
|
-
| 'drivers_license'
|
|
484
|
-
| 'other';
|
|
485
|
-
|
|
486
|
-
/**
|
|
487
|
-
* The last 4 digits of the identification number that can be used to verify the
|
|
488
|
-
* individual's identity.
|
|
489
|
-
*/
|
|
490
|
-
number_last4: string;
|
|
491
|
-
|
|
492
|
-
[k: string]: unknown;
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
378
|
}
|
|
497
379
|
|
|
498
380
|
/**
|
package/src/resources/index.ts
CHANGED
|
@@ -45,6 +45,12 @@ export {
|
|
|
45
45
|
type AccountBalanceParams,
|
|
46
46
|
type AccountsPage,
|
|
47
47
|
} from './accounts';
|
|
48
|
+
export {
|
|
49
|
+
BeneficialOwners,
|
|
50
|
+
type EntityBeneficialOwner,
|
|
51
|
+
type BeneficialOwnerListParams,
|
|
52
|
+
type EntityBeneficialOwnersPage,
|
|
53
|
+
} from './beneficial-owners';
|
|
48
54
|
export {
|
|
49
55
|
BookkeepingAccounts,
|
|
50
56
|
type BookkeepingAccount,
|
|
@@ -205,15 +205,6 @@ export namespace RealTimeDecision {
|
|
|
205
205
|
*/
|
|
206
206
|
cardholder_name: string | null;
|
|
207
207
|
|
|
208
|
-
/**
|
|
209
|
-
* The category of the card authentication attempt.
|
|
210
|
-
*
|
|
211
|
-
* - `payment_authentication` - The authentication attempt is for a payment.
|
|
212
|
-
* - `non_payment_authentication` - The authentication attempt is not for a
|
|
213
|
-
* payment.
|
|
214
|
-
*/
|
|
215
|
-
category: 'payment_authentication' | 'non_payment_authentication' | null;
|
|
216
|
-
|
|
217
208
|
/**
|
|
218
209
|
* Whether or not the authentication attempt was approved.
|
|
219
210
|
*
|
|
@@ -258,27 +249,15 @@ export namespace RealTimeDecision {
|
|
|
258
249
|
merchant_name: string | null;
|
|
259
250
|
|
|
260
251
|
/**
|
|
261
|
-
* The
|
|
262
|
-
* this cardholder for a previous transaction.
|
|
263
|
-
*/
|
|
264
|
-
prior_authenticated_card_payment_id: string | null;
|
|
265
|
-
|
|
266
|
-
/**
|
|
267
|
-
* The purchase amount in minor units.
|
|
252
|
+
* The message category of the card authentication attempt.
|
|
268
253
|
*/
|
|
269
|
-
|
|
254
|
+
message_category: CardAuthentication.MessageCategory;
|
|
270
255
|
|
|
271
256
|
/**
|
|
272
|
-
* The
|
|
273
|
-
*
|
|
274
|
-
*/
|
|
275
|
-
purchase_amount_cardholder_estimated: number | null;
|
|
276
|
-
|
|
277
|
-
/**
|
|
278
|
-
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
279
|
-
* authentication attempt's purchase currency.
|
|
257
|
+
* The ID of a prior Card Authentication that the requestor used to authenticate
|
|
258
|
+
* this cardholder for a previous transaction.
|
|
280
259
|
*/
|
|
281
|
-
|
|
260
|
+
prior_authenticated_card_payment_id: string | null;
|
|
282
261
|
|
|
283
262
|
/**
|
|
284
263
|
* The 3DS requestor authentication indicator describes why the authentication
|
|
@@ -386,23 +365,6 @@ export namespace RealTimeDecision {
|
|
|
386
365
|
*/
|
|
387
366
|
three_d_secure_server_transaction_id: string;
|
|
388
367
|
|
|
389
|
-
/**
|
|
390
|
-
* The type of transaction being authenticated.
|
|
391
|
-
*
|
|
392
|
-
* - `goods_service_purchase` - Purchase of goods or services.
|
|
393
|
-
* - `check_acceptance` - Check acceptance.
|
|
394
|
-
* - `account_funding` - Account funding.
|
|
395
|
-
* - `quasi_cash_transaction` - Quasi-cash transaction.
|
|
396
|
-
* - `prepaid_activation_and_load` - Prepaid activation and load.
|
|
397
|
-
*/
|
|
398
|
-
transaction_type:
|
|
399
|
-
| 'goods_service_purchase'
|
|
400
|
-
| 'check_acceptance'
|
|
401
|
-
| 'account_funding'
|
|
402
|
-
| 'quasi_cash_transaction'
|
|
403
|
-
| 'prepaid_activation_and_load'
|
|
404
|
-
| null;
|
|
405
|
-
|
|
406
368
|
/**
|
|
407
369
|
* The identifier of the Card Payment this authentication attempt will belong to.
|
|
408
370
|
* Available in the API once the card authentication has completed.
|
|
@@ -519,6 +481,76 @@ export namespace RealTimeDecision {
|
|
|
519
481
|
| 'decoupled_authentication_fallback';
|
|
520
482
|
}
|
|
521
483
|
}
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* The message category of the card authentication attempt.
|
|
487
|
+
*/
|
|
488
|
+
export interface MessageCategory {
|
|
489
|
+
/**
|
|
490
|
+
* The category of the card authentication attempt.
|
|
491
|
+
*
|
|
492
|
+
* - `payment_authentication` - The authentication attempt is for a payment.
|
|
493
|
+
* - `non_payment_authentication` - The authentication attempt is not for a
|
|
494
|
+
* payment.
|
|
495
|
+
*/
|
|
496
|
+
category: 'payment_authentication' | 'non_payment_authentication';
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* Fields specific to non-payment authentication attempts.
|
|
500
|
+
*/
|
|
501
|
+
non_payment: MessageCategory.NonPayment | null;
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* Fields specific to payment authentication attempts.
|
|
505
|
+
*/
|
|
506
|
+
payment: MessageCategory.Payment | null;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
export namespace MessageCategory {
|
|
510
|
+
/**
|
|
511
|
+
* Fields specific to non-payment authentication attempts.
|
|
512
|
+
*/
|
|
513
|
+
export interface NonPayment {}
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
* Fields specific to payment authentication attempts.
|
|
517
|
+
*/
|
|
518
|
+
export interface Payment {
|
|
519
|
+
/**
|
|
520
|
+
* The purchase amount in minor units.
|
|
521
|
+
*/
|
|
522
|
+
purchase_amount: number;
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* The purchase amount in the cardholder's currency (i.e., USD) estimated using
|
|
526
|
+
* daily conversion rates from the card network.
|
|
527
|
+
*/
|
|
528
|
+
purchase_amount_cardholder_estimated: number | null;
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
532
|
+
* authentication attempt's purchase currency.
|
|
533
|
+
*/
|
|
534
|
+
purchase_currency: string;
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* The type of transaction being authenticated.
|
|
538
|
+
*
|
|
539
|
+
* - `goods_service_purchase` - Purchase of goods or services.
|
|
540
|
+
* - `check_acceptance` - Check acceptance.
|
|
541
|
+
* - `account_funding` - Account funding.
|
|
542
|
+
* - `quasi_cash_transaction` - Quasi-cash transaction.
|
|
543
|
+
* - `prepaid_activation_and_load` - Prepaid activation and load.
|
|
544
|
+
*/
|
|
545
|
+
transaction_type:
|
|
546
|
+
| 'goods_service_purchase'
|
|
547
|
+
| 'check_acceptance'
|
|
548
|
+
| 'account_funding'
|
|
549
|
+
| 'quasi_cash_transaction'
|
|
550
|
+
| 'prepaid_activation_and_load'
|
|
551
|
+
| null;
|
|
552
|
+
}
|
|
553
|
+
}
|
|
522
554
|
}
|
|
523
555
|
|
|
524
556
|
/**
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.469.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.469.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.469.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.469.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|