increase 0.12.0 → 0.13.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.
- package/CHANGELOG.md +21 -0
- package/core.d.ts.map +1 -1
- package/core.js +12 -10
- package/core.js.map +1 -1
- package/core.mjs +12 -10
- package/core.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/card-payments.d.ts +275 -2
- package/resources/card-payments.d.ts.map +1 -1
- package/resources/card-payments.js.map +1 -1
- package/resources/card-payments.mjs.map +1 -1
- package/resources/declined-transactions.d.ts +76 -1
- package/resources/declined-transactions.d.ts.map +1 -1
- package/resources/declined-transactions.js.map +1 -1
- package/resources/declined-transactions.mjs.map +1 -1
- package/resources/inbound-ach-transfers.d.ts +8 -2
- package/resources/inbound-ach-transfers.d.ts.map +1 -1
- package/resources/inbound-ach-transfers.js.map +1 -1
- package/resources/inbound-ach-transfers.mjs.map +1 -1
- package/resources/pending-transactions.d.ts +73 -0
- package/resources/pending-transactions.d.ts.map +1 -1
- package/resources/pending-transactions.js.map +1 -1
- package/resources/pending-transactions.mjs.map +1 -1
- package/resources/real-time-decisions.d.ts +73 -0
- package/resources/real-time-decisions.d.ts.map +1 -1
- package/resources/real-time-decisions.js.map +1 -1
- package/resources/real-time-decisions.mjs.map +1 -1
- package/resources/simulations/ach-transfers.d.ts +80 -2
- package/resources/simulations/ach-transfers.d.ts.map +1 -1
- package/resources/simulations/ach-transfers.js.map +1 -1
- package/resources/simulations/ach-transfers.mjs.map +1 -1
- package/resources/simulations/cards.d.ts +149 -1
- package/resources/simulations/cards.d.ts.map +1 -1
- package/resources/simulations/cards.js.map +1 -1
- package/resources/simulations/cards.mjs.map +1 -1
- package/resources/simulations/real-time-payments-transfers.d.ts +76 -1
- package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/simulations/real-time-payments-transfers.js.map +1 -1
- package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
- package/src/_shims/index.d.ts +1 -1
- package/src/_shims/index.mjs +1 -1
- package/src/core.ts +13 -12
- package/src/index.ts +1 -1
- package/src/resources/account-numbers.ts +5 -5
- package/src/resources/account-statements.ts +5 -5
- package/src/resources/account-transfers.ts +5 -5
- package/src/resources/accounts.ts +5 -5
- package/src/resources/ach-prenotifications.ts +5 -5
- package/src/resources/ach-transfers.ts +5 -5
- package/src/resources/balance-lookups.ts +3 -3
- package/src/resources/bookkeeping-accounts.ts +5 -5
- package/src/resources/bookkeeping-entries.ts +5 -5
- package/src/resources/bookkeeping-entry-sets.ts +3 -3
- package/src/resources/card-disputes.ts +5 -5
- package/src/resources/card-payments.ts +333 -6
- package/src/resources/card-profiles.ts +5 -5
- package/src/resources/card-purchase-supplements.ts +5 -5
- package/src/resources/cards.ts +5 -5
- package/src/resources/check-deposits.ts +5 -5
- package/src/resources/check-transfers.ts +5 -5
- package/src/resources/declined-transactions.ts +97 -6
- package/src/resources/digital-wallet-tokens.ts +5 -5
- package/src/resources/documents.ts +5 -5
- package/src/resources/entities/beneficial-owners.ts +4 -4
- package/src/resources/entities/entities.ts +7 -7
- package/src/resources/entities/supplemental-documents.ts +5 -5
- package/src/resources/event-subscriptions.ts +5 -5
- package/src/resources/events.ts +5 -5
- package/src/resources/exports.ts +5 -5
- package/src/resources/external-accounts.ts +5 -5
- package/src/resources/files.ts +6 -6
- package/src/resources/groups.ts +3 -3
- package/src/resources/inbound-ach-transfers.ts +13 -5
- package/src/resources/inbound-wire-drawdown-requests.ts +5 -5
- package/src/resources/oauth-connections.ts +5 -5
- package/src/resources/pending-transactions.ts +93 -5
- package/src/resources/physical-cards.ts +5 -5
- package/src/resources/programs.ts +5 -5
- package/src/resources/real-time-decisions.ts +91 -3
- package/src/resources/real-time-payments-transfers.ts +5 -5
- package/src/resources/routing-numbers.ts +4 -4
- package/src/resources/simulations/account-statements.ts +4 -4
- package/src/resources/simulations/account-transfers.ts +3 -3
- package/src/resources/simulations/ach-transfers.ts +100 -5
- package/src/resources/simulations/card-disputes.ts +4 -4
- package/src/resources/simulations/card-profiles.ts +3 -3
- package/src/resources/simulations/card-refunds.ts +4 -4
- package/src/resources/simulations/cards.ts +184 -5
- package/src/resources/simulations/check-deposits.ts +3 -3
- package/src/resources/simulations/check-transfers.ts +3 -3
- package/src/resources/simulations/digital-wallet-token-requests.ts +3 -3
- package/src/resources/simulations/documents.ts +4 -4
- package/src/resources/simulations/inbound-funds-holds.ts +3 -3
- package/src/resources/simulations/inbound-wire-drawdown-requests.ts +4 -4
- package/src/resources/simulations/interest-payments.ts +3 -3
- package/src/resources/simulations/physical-cards.ts +4 -4
- package/src/resources/simulations/programs.ts +4 -4
- package/src/resources/simulations/real-time-payments-transfers.ts +96 -5
- package/src/resources/simulations/simulations.ts +19 -19
- package/src/resources/simulations/wire-transfers.ts +3 -3
- package/src/resources/transactions.ts +5 -5
- package/src/resources/wire-drawdown-requests.ts +5 -5
- package/src/resources/wire-transfers.ts +5 -5
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from "../../
|
|
4
|
-
import { APIResource } from "../../
|
|
5
|
-
import { isRequestOptions } from "../../
|
|
6
|
-
import * as EntitiesAPI from "
|
|
7
|
-
import * as BeneficialOwnersAPI from "
|
|
8
|
-
import * as SupplementalDocumentsAPI from "
|
|
9
|
-
import { Page, type PageParams } from "../../
|
|
3
|
+
import * as Core from "../../core";
|
|
4
|
+
import { APIResource } from "../../resource";
|
|
5
|
+
import { isRequestOptions } from "../../core";
|
|
6
|
+
import * as EntitiesAPI from "./entities";
|
|
7
|
+
import * as BeneficialOwnersAPI from "./beneficial-owners";
|
|
8
|
+
import * as SupplementalDocumentsAPI from "./supplemental-documents";
|
|
9
|
+
import { Page, type PageParams } from "../../pagination";
|
|
10
10
|
|
|
11
11
|
export class Entities extends APIResource {
|
|
12
12
|
beneficialOwners: BeneficialOwnersAPI.BeneficialOwners = new BeneficialOwnersAPI.BeneficialOwners(
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from "../../
|
|
4
|
-
import { APIResource } from "../../
|
|
5
|
-
import * as SupplementalDocumentsAPI from "
|
|
6
|
-
import * as EntitiesAPI from "
|
|
7
|
-
import { Page, type PageParams } from "../../
|
|
3
|
+
import * as Core from "../../core";
|
|
4
|
+
import { APIResource } from "../../resource";
|
|
5
|
+
import * as SupplementalDocumentsAPI from "./supplemental-documents";
|
|
6
|
+
import * as EntitiesAPI from "./entities";
|
|
7
|
+
import { Page, type PageParams } from "../../pagination";
|
|
8
8
|
|
|
9
9
|
export class SupplementalDocuments extends APIResource {
|
|
10
10
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from "../
|
|
4
|
-
import { APIResource } from "../
|
|
5
|
-
import { isRequestOptions } from "../
|
|
6
|
-
import * as EventSubscriptionsAPI from "
|
|
7
|
-
import { Page, type PageParams } from "../
|
|
3
|
+
import * as Core from "../core";
|
|
4
|
+
import { APIResource } from "../resource";
|
|
5
|
+
import { isRequestOptions } from "../core";
|
|
6
|
+
import * as EventSubscriptionsAPI from "./event-subscriptions";
|
|
7
|
+
import { Page, type PageParams } from "../pagination";
|
|
8
8
|
|
|
9
9
|
export class EventSubscriptions extends APIResource {
|
|
10
10
|
/**
|
package/src/resources/events.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from "../
|
|
4
|
-
import { APIResource } from "../
|
|
5
|
-
import { isRequestOptions } from "../
|
|
6
|
-
import * as EventsAPI from "
|
|
7
|
-
import { Page, type PageParams } from "../
|
|
3
|
+
import * as Core from "../core";
|
|
4
|
+
import { APIResource } from "../resource";
|
|
5
|
+
import { isRequestOptions } from "../core";
|
|
6
|
+
import * as EventsAPI from "./events";
|
|
7
|
+
import { Page, type PageParams } from "../pagination";
|
|
8
8
|
|
|
9
9
|
export class Events extends APIResource {
|
|
10
10
|
/**
|
package/src/resources/exports.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from "../
|
|
4
|
-
import { APIResource } from "../
|
|
5
|
-
import { isRequestOptions } from "../
|
|
6
|
-
import * as ExportsAPI from "
|
|
7
|
-
import { Page, type PageParams } from "../
|
|
3
|
+
import * as Core from "../core";
|
|
4
|
+
import { APIResource } from "../resource";
|
|
5
|
+
import { isRequestOptions } from "../core";
|
|
6
|
+
import * as ExportsAPI from "./exports";
|
|
7
|
+
import { Page, type PageParams } from "../pagination";
|
|
8
8
|
|
|
9
9
|
export class Exports extends APIResource {
|
|
10
10
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from "../
|
|
4
|
-
import { APIResource } from "../
|
|
5
|
-
import { isRequestOptions } from "../
|
|
6
|
-
import * as ExternalAccountsAPI from "
|
|
7
|
-
import { Page, type PageParams } from "../
|
|
3
|
+
import * as Core from "../core";
|
|
4
|
+
import { APIResource } from "../resource";
|
|
5
|
+
import { isRequestOptions } from "../core";
|
|
6
|
+
import * as ExternalAccountsAPI from "./external-accounts";
|
|
7
|
+
import { Page, type PageParams } from "../pagination";
|
|
8
8
|
|
|
9
9
|
export class ExternalAccounts extends APIResource {
|
|
10
10
|
/**
|
package/src/resources/files.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from "../
|
|
4
|
-
import { APIResource } from "../
|
|
5
|
-
import { isRequestOptions } from "../
|
|
6
|
-
import * as FilesAPI from "
|
|
7
|
-
import { type Uploadable, multipartFormRequestOptions } from "../
|
|
8
|
-
import { Page, type PageParams } from "../
|
|
3
|
+
import * as Core from "../core";
|
|
4
|
+
import { APIResource } from "../resource";
|
|
5
|
+
import { isRequestOptions } from "../core";
|
|
6
|
+
import * as FilesAPI from "./files";
|
|
7
|
+
import { type Uploadable, multipartFormRequestOptions } from "../core";
|
|
8
|
+
import { Page, type PageParams } from "../pagination";
|
|
9
9
|
|
|
10
10
|
export class Files extends APIResource {
|
|
11
11
|
/**
|
package/src/resources/groups.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from "../
|
|
4
|
-
import { APIResource } from "../
|
|
5
|
-
import * as GroupsAPI from "
|
|
3
|
+
import * as Core from "../core";
|
|
4
|
+
import { APIResource } from "../resource";
|
|
5
|
+
import * as GroupsAPI from "./groups";
|
|
6
6
|
|
|
7
7
|
export class Groups extends APIResource {
|
|
8
8
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from "../
|
|
4
|
-
import { APIResource } from "../
|
|
5
|
-
import { isRequestOptions } from "../
|
|
6
|
-
import * as InboundACHTransfersAPI from "
|
|
7
|
-
import { Page, type PageParams } from "../
|
|
3
|
+
import * as Core from "../core";
|
|
4
|
+
import { APIResource } from "../resource";
|
|
5
|
+
import { isRequestOptions } from "../core";
|
|
6
|
+
import * as InboundACHTransfersAPI from "./inbound-ach-transfers";
|
|
7
|
+
import { Page, type PageParams } from "../pagination";
|
|
8
8
|
|
|
9
9
|
export class InboundACHTransfers extends APIResource {
|
|
10
10
|
/**
|
|
@@ -323,6 +323,9 @@ export namespace InboundACHTransfer {
|
|
|
323
323
|
/**
|
|
324
324
|
* The reason for the transfer return.
|
|
325
325
|
*
|
|
326
|
+
* - `returned_per_odfi_request` - The originating financial institution asked for
|
|
327
|
+
* this transfer to be returned. The receiving bank is complying with the
|
|
328
|
+
* request. The Nacha return code is R06.
|
|
326
329
|
* - `authorization_revoked_by_customer` - The customer no longer authorizes this
|
|
327
330
|
* transaction. The Nacha return code is R07.
|
|
328
331
|
* - `payment_stopped` - The customer asked for the payment to be stopped. This
|
|
@@ -342,6 +345,7 @@ export namespace InboundACHTransfer {
|
|
|
342
345
|
* authorizes this transaction. The Nacha return code is R29.
|
|
343
346
|
*/
|
|
344
347
|
reason:
|
|
348
|
+
| 'returned_per_odfi_request'
|
|
345
349
|
| 'authorization_revoked_by_customer'
|
|
346
350
|
| 'payment_stopped'
|
|
347
351
|
| 'customer_advised_unauthorized_improper_ineligible_or_incomplete'
|
|
@@ -428,6 +432,9 @@ export interface InboundACHTransferTransferReturnParams {
|
|
|
428
432
|
* The reason why this transfer will be returned. The most usual return codes are
|
|
429
433
|
* `payment_stopped` for debits and `credit_entry_refused_by_receiver` for credits.
|
|
430
434
|
*
|
|
435
|
+
* - `returned_per_odfi_request` - The originating financial institution asked for
|
|
436
|
+
* this transfer to be returned. The receiving bank is complying with the
|
|
437
|
+
* request. The Nacha return code is R06.
|
|
431
438
|
* - `authorization_revoked_by_customer` - The customer no longer authorizes this
|
|
432
439
|
* transaction. The Nacha return code is R07.
|
|
433
440
|
* - `payment_stopped` - The customer asked for the payment to be stopped. This
|
|
@@ -447,6 +454,7 @@ export interface InboundACHTransferTransferReturnParams {
|
|
|
447
454
|
* authorizes this transaction. The Nacha return code is R29.
|
|
448
455
|
*/
|
|
449
456
|
reason:
|
|
457
|
+
| 'returned_per_odfi_request'
|
|
450
458
|
| 'authorization_revoked_by_customer'
|
|
451
459
|
| 'payment_stopped'
|
|
452
460
|
| 'customer_advised_unauthorized_improper_ineligible_or_incomplete'
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from "../
|
|
4
|
-
import { APIResource } from "../
|
|
5
|
-
import { isRequestOptions } from "../
|
|
6
|
-
import * as InboundWireDrawdownRequestsAPI from "
|
|
7
|
-
import { Page, type PageParams } from "../
|
|
3
|
+
import * as Core from "../core";
|
|
4
|
+
import { APIResource } from "../resource";
|
|
5
|
+
import { isRequestOptions } from "../core";
|
|
6
|
+
import * as InboundWireDrawdownRequestsAPI from "./inbound-wire-drawdown-requests";
|
|
7
|
+
import { Page, type PageParams } from "../pagination";
|
|
8
8
|
|
|
9
9
|
export class InboundWireDrawdownRequests extends APIResource {
|
|
10
10
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from "../
|
|
4
|
-
import { APIResource } from "../
|
|
5
|
-
import { isRequestOptions } from "../
|
|
6
|
-
import * as OauthConnectionsAPI from "
|
|
7
|
-
import { Page, type PageParams } from "../
|
|
3
|
+
import * as Core from "../core";
|
|
4
|
+
import { APIResource } from "../resource";
|
|
5
|
+
import { isRequestOptions } from "../core";
|
|
6
|
+
import * as OauthConnectionsAPI from "./oauth-connections";
|
|
7
|
+
import { Page, type PageParams } from "../pagination";
|
|
8
8
|
|
|
9
9
|
export class OauthConnections extends APIResource {
|
|
10
10
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from "../
|
|
4
|
-
import { APIResource } from "../
|
|
5
|
-
import { isRequestOptions } from "../
|
|
6
|
-
import * as PendingTransactionsAPI from "
|
|
7
|
-
import { Page, type PageParams } from "../
|
|
3
|
+
import * as Core from "../core";
|
|
4
|
+
import { APIResource } from "../resource";
|
|
5
|
+
import { isRequestOptions } from "../core";
|
|
6
|
+
import * as PendingTransactionsAPI from "./pending-transactions";
|
|
7
|
+
import { Page, type PageParams } from "../pagination";
|
|
8
8
|
|
|
9
9
|
export class PendingTransactions extends APIResource {
|
|
10
10
|
/**
|
|
@@ -379,6 +379,11 @@ export namespace PendingTransaction {
|
|
|
379
379
|
* `card_authorization`.
|
|
380
380
|
*/
|
|
381
381
|
type: 'card_authorization';
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* Fields related to verification of cardholder-provided values.
|
|
385
|
+
*/
|
|
386
|
+
verification: CardAuthorization.Verification;
|
|
382
387
|
}
|
|
383
388
|
|
|
384
389
|
export namespace CardAuthorization {
|
|
@@ -482,6 +487,89 @@ export namespace PendingTransaction {
|
|
|
482
487
|
| null;
|
|
483
488
|
}
|
|
484
489
|
}
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* Fields related to verification of cardholder-provided values.
|
|
493
|
+
*/
|
|
494
|
+
export interface Verification {
|
|
495
|
+
/**
|
|
496
|
+
* Fields related to verification of the Card Verification Code, a 3-digit code on
|
|
497
|
+
* the back of the card.
|
|
498
|
+
*/
|
|
499
|
+
card_verification_code: Verification.CardVerificationCode;
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* Cardholder address provided in the authorization request and the address on file
|
|
503
|
+
* we verified it against.
|
|
504
|
+
*/
|
|
505
|
+
cardholder_address: Verification.CardholderAddress;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
export namespace Verification {
|
|
509
|
+
/**
|
|
510
|
+
* Fields related to verification of the Card Verification Code, a 3-digit code on
|
|
511
|
+
* the back of the card.
|
|
512
|
+
*/
|
|
513
|
+
export interface CardVerificationCode {
|
|
514
|
+
/**
|
|
515
|
+
* The result of verifying the Card Verification Code.
|
|
516
|
+
*
|
|
517
|
+
* - `not_checked` - No card verification code was provided in the authorization
|
|
518
|
+
* request.
|
|
519
|
+
* - `match` - The card verification code matched the one on file.
|
|
520
|
+
* - `no_match` - The card verification code did not match the one on file.
|
|
521
|
+
*/
|
|
522
|
+
result: 'not_checked' | 'match' | 'no_match';
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* Cardholder address provided in the authorization request and the address on file
|
|
527
|
+
* we verified it against.
|
|
528
|
+
*/
|
|
529
|
+
export interface CardholderAddress {
|
|
530
|
+
/**
|
|
531
|
+
* Line 1 of the address on file for the cardholder.
|
|
532
|
+
*/
|
|
533
|
+
actual_line1: string | null;
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* The postal code of the address on file for the cardholder.
|
|
537
|
+
*/
|
|
538
|
+
actual_postal_code: string | null;
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* The cardholder address line 1 provided for verification in the authorization
|
|
542
|
+
* request.
|
|
543
|
+
*/
|
|
544
|
+
provided_line1: string | null;
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* The postal code provided for verification in the authorization request.
|
|
548
|
+
*/
|
|
549
|
+
provided_postal_code: string | null;
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* The address verification result returned to the card network.
|
|
553
|
+
*
|
|
554
|
+
* - `not_checked` - No adress was provided in the authorization request.
|
|
555
|
+
* - `postal_code_match_address_not_checked` - Postal code matches, but the street
|
|
556
|
+
* address was not verified.
|
|
557
|
+
* - `postal_code_match_address_no_match` - Postal code matches, but the street
|
|
558
|
+
* address does not match.
|
|
559
|
+
* - `postal_code_no_match_address_match` - Postal code does not match, but the
|
|
560
|
+
* street address matches.
|
|
561
|
+
* - `match` - Postal code and street address match.
|
|
562
|
+
* - `no_match` - Postal code and street address do not match.
|
|
563
|
+
*/
|
|
564
|
+
result:
|
|
565
|
+
| 'not_checked'
|
|
566
|
+
| 'postal_code_match_address_not_checked'
|
|
567
|
+
| 'postal_code_match_address_no_match'
|
|
568
|
+
| 'postal_code_no_match_address_match'
|
|
569
|
+
| 'match'
|
|
570
|
+
| 'no_match';
|
|
571
|
+
}
|
|
572
|
+
}
|
|
485
573
|
}
|
|
486
574
|
|
|
487
575
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from "../
|
|
4
|
-
import { APIResource } from "../
|
|
5
|
-
import { isRequestOptions } from "../
|
|
6
|
-
import * as PhysicalCardsAPI from "
|
|
7
|
-
import { Page, type PageParams } from "../
|
|
3
|
+
import * as Core from "../core";
|
|
4
|
+
import { APIResource } from "../resource";
|
|
5
|
+
import { isRequestOptions } from "../core";
|
|
6
|
+
import * as PhysicalCardsAPI from "./physical-cards";
|
|
7
|
+
import { Page, type PageParams } from "../pagination";
|
|
8
8
|
|
|
9
9
|
export class PhysicalCards extends APIResource {
|
|
10
10
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from "../
|
|
4
|
-
import { APIResource } from "../
|
|
5
|
-
import { isRequestOptions } from "../
|
|
6
|
-
import * as ProgramsAPI from "
|
|
7
|
-
import { Page, type PageParams } from "../
|
|
3
|
+
import * as Core from "../core";
|
|
4
|
+
import { APIResource } from "../resource";
|
|
5
|
+
import { isRequestOptions } from "../core";
|
|
6
|
+
import * as ProgramsAPI from "./programs";
|
|
7
|
+
import { Page, type PageParams } from "../pagination";
|
|
8
8
|
|
|
9
9
|
export class Programs extends APIResource {
|
|
10
10
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from "../
|
|
4
|
-
import { APIResource } from "../
|
|
5
|
-
import * as RealTimeDecisionsAPI from "
|
|
3
|
+
import * as Core from "../core";
|
|
4
|
+
import { APIResource } from "../resource";
|
|
5
|
+
import * as RealTimeDecisionsAPI from "./real-time-decisions";
|
|
6
6
|
|
|
7
7
|
export class RealTimeDecisions extends APIResource {
|
|
8
8
|
/**
|
|
@@ -189,6 +189,11 @@ export namespace RealTimeDecision {
|
|
|
189
189
|
* transaction will be settled in.
|
|
190
190
|
*/
|
|
191
191
|
settlement_currency: string;
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Fields related to verification of cardholder-provided values.
|
|
195
|
+
*/
|
|
196
|
+
verification: CardAuthorization.Verification;
|
|
192
197
|
}
|
|
193
198
|
|
|
194
199
|
export namespace CardAuthorization {
|
|
@@ -335,6 +340,89 @@ export namespace RealTimeDecision {
|
|
|
335
340
|
original_card_authorization_id: string;
|
|
336
341
|
}
|
|
337
342
|
}
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* Fields related to verification of cardholder-provided values.
|
|
346
|
+
*/
|
|
347
|
+
export interface Verification {
|
|
348
|
+
/**
|
|
349
|
+
* Fields related to verification of the Card Verification Code, a 3-digit code on
|
|
350
|
+
* the back of the card.
|
|
351
|
+
*/
|
|
352
|
+
card_verification_code: Verification.CardVerificationCode;
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Cardholder address provided in the authorization request and the address on file
|
|
356
|
+
* we verified it against.
|
|
357
|
+
*/
|
|
358
|
+
cardholder_address: Verification.CardholderAddress;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
export namespace Verification {
|
|
362
|
+
/**
|
|
363
|
+
* Fields related to verification of the Card Verification Code, a 3-digit code on
|
|
364
|
+
* the back of the card.
|
|
365
|
+
*/
|
|
366
|
+
export interface CardVerificationCode {
|
|
367
|
+
/**
|
|
368
|
+
* The result of verifying the Card Verification Code.
|
|
369
|
+
*
|
|
370
|
+
* - `not_checked` - No card verification code was provided in the authorization
|
|
371
|
+
* request.
|
|
372
|
+
* - `match` - The card verification code matched the one on file.
|
|
373
|
+
* - `no_match` - The card verification code did not match the one on file.
|
|
374
|
+
*/
|
|
375
|
+
result: 'not_checked' | 'match' | 'no_match';
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* Cardholder address provided in the authorization request and the address on file
|
|
380
|
+
* we verified it against.
|
|
381
|
+
*/
|
|
382
|
+
export interface CardholderAddress {
|
|
383
|
+
/**
|
|
384
|
+
* Line 1 of the address on file for the cardholder.
|
|
385
|
+
*/
|
|
386
|
+
actual_line1: string | null;
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* The postal code of the address on file for the cardholder.
|
|
390
|
+
*/
|
|
391
|
+
actual_postal_code: string | null;
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* The cardholder address line 1 provided for verification in the authorization
|
|
395
|
+
* request.
|
|
396
|
+
*/
|
|
397
|
+
provided_line1: string | null;
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* The postal code provided for verification in the authorization request.
|
|
401
|
+
*/
|
|
402
|
+
provided_postal_code: string | null;
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* The address verification result returned to the card network.
|
|
406
|
+
*
|
|
407
|
+
* - `not_checked` - No adress was provided in the authorization request.
|
|
408
|
+
* - `postal_code_match_address_not_checked` - Postal code matches, but the street
|
|
409
|
+
* address was not verified.
|
|
410
|
+
* - `postal_code_match_address_no_match` - Postal code matches, but the street
|
|
411
|
+
* address does not match.
|
|
412
|
+
* - `postal_code_no_match_address_match` - Postal code does not match, but the
|
|
413
|
+
* street address matches.
|
|
414
|
+
* - `match` - Postal code and street address match.
|
|
415
|
+
* - `no_match` - Postal code and street address do not match.
|
|
416
|
+
*/
|
|
417
|
+
result:
|
|
418
|
+
| 'not_checked'
|
|
419
|
+
| 'postal_code_match_address_not_checked'
|
|
420
|
+
| 'postal_code_match_address_no_match'
|
|
421
|
+
| 'postal_code_no_match_address_match'
|
|
422
|
+
| 'match'
|
|
423
|
+
| 'no_match';
|
|
424
|
+
}
|
|
425
|
+
}
|
|
338
426
|
}
|
|
339
427
|
|
|
340
428
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from "../
|
|
4
|
-
import { APIResource } from "../
|
|
5
|
-
import { isRequestOptions } from "../
|
|
6
|
-
import * as RealTimePaymentsTransfersAPI from "
|
|
7
|
-
import { Page, type PageParams } from "../
|
|
3
|
+
import * as Core from "../core";
|
|
4
|
+
import { APIResource } from "../resource";
|
|
5
|
+
import { isRequestOptions } from "../core";
|
|
6
|
+
import * as RealTimePaymentsTransfersAPI from "./real-time-payments-transfers";
|
|
7
|
+
import { Page, type PageParams } from "../pagination";
|
|
8
8
|
|
|
9
9
|
export class RealTimePaymentsTransfers extends APIResource {
|
|
10
10
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from "../
|
|
4
|
-
import { APIResource } from "../
|
|
5
|
-
import * as RoutingNumbersAPI from "
|
|
6
|
-
import { Page, type PageParams } from "../
|
|
3
|
+
import * as Core from "../core";
|
|
4
|
+
import { APIResource } from "../resource";
|
|
5
|
+
import * as RoutingNumbersAPI from "./routing-numbers";
|
|
6
|
+
import { Page, type PageParams } from "../pagination";
|
|
7
7
|
|
|
8
8
|
export class RoutingNumbers extends APIResource {
|
|
9
9
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from "../../
|
|
4
|
-
import { APIResource } from "../../
|
|
5
|
-
import * as SimulationsAccountStatementsAPI from "
|
|
6
|
-
import * as AccountStatementsAPI from "
|
|
3
|
+
import * as Core from "../../core";
|
|
4
|
+
import { APIResource } from "../../resource";
|
|
5
|
+
import * as SimulationsAccountStatementsAPI from "./account-statements";
|
|
6
|
+
import * as AccountStatementsAPI from "../account-statements";
|
|
7
7
|
|
|
8
8
|
export class AccountStatements extends APIResource {
|
|
9
9
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from "../../
|
|
4
|
-
import { APIResource } from "../../
|
|
5
|
-
import * as AccountTransfersAPI from "
|
|
3
|
+
import * as Core from "../../core";
|
|
4
|
+
import { APIResource } from "../../resource";
|
|
5
|
+
import * as AccountTransfersAPI from "../account-transfers";
|
|
6
6
|
|
|
7
7
|
export class AccountTransfers extends APIResource {
|
|
8
8
|
/**
|