increase 0.8.0 → 0.8.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 +40 -0
- package/README.md +8 -4
- package/_shims/ReadableStream.d.ts +38 -0
- package/_shims/ReadableStream.js +5 -0
- package/_shims/ReadableStream.mjs +7 -0
- package/_shims/ReadableStream.node.d.ts +6 -0
- package/_shims/ReadableStream.node.d.ts.map +1 -0
- package/_shims/ReadableStream.node.js +14 -0
- package/_shims/ReadableStream.node.js.map +1 -0
- package/_shims/ReadableStream.node.mjs +3 -0
- package/_shims/ReadableStream.node.mjs.map +1 -0
- package/core.d.ts +10 -0
- package/core.d.ts.map +1 -1
- package/core.js +96 -2
- package/core.js.map +1 -1
- package/core.mjs +86 -2
- package/core.mjs.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.js +12 -3
- package/error.js.map +1 -1
- package/error.mjs +12 -3
- package/error.mjs.map +1 -1
- package/index.d.mts +6 -1
- package/index.d.ts +6 -1
- package/index.d.ts.map +1 -1
- package/index.js +11 -8
- package/index.js.map +1 -1
- package/index.mjs +11 -8
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/account-numbers.d.ts.map +1 -1
- package/resources/account-statements.d.ts.map +1 -1
- package/resources/account-transfers.d.ts.map +1 -1
- package/resources/accounts.d.ts.map +1 -1
- package/resources/ach-prenotifications.d.ts.map +1 -1
- package/resources/ach-transfers.d.ts.map +1 -1
- package/resources/balance-lookups.d.ts.map +1 -1
- package/resources/bookkeeping-accounts.d.ts.map +1 -1
- package/resources/bookkeeping-entries.d.ts.map +1 -1
- package/resources/bookkeeping-entry-sets.d.ts.map +1 -1
- package/resources/card-disputes.d.ts.map +1 -1
- package/resources/card-profiles.d.ts +17 -4
- package/resources/card-profiles.d.ts.map +1 -1
- package/resources/card-profiles.js.map +1 -1
- package/resources/card-profiles.mjs.map +1 -1
- package/resources/card-purchase-supplements.d.ts +270 -0
- package/resources/card-purchase-supplements.d.ts.map +1 -0
- package/resources/card-purchase-supplements.js +28 -0
- package/resources/card-purchase-supplements.js.map +1 -0
- package/resources/card-purchase-supplements.mjs +21 -0
- package/resources/card-purchase-supplements.mjs.map +1 -0
- package/resources/cards.d.ts.map +1 -1
- package/resources/check-deposits.d.ts.map +1 -1
- package/resources/check-transfers.d.ts +3 -1
- package/resources/check-transfers.d.ts.map +1 -1
- package/resources/check-transfers.js.map +1 -1
- package/resources/check-transfers.mjs.map +1 -1
- package/resources/declined-transactions.d.ts.map +1 -1
- package/resources/digital-wallet-tokens.d.ts.map +1 -1
- package/resources/documents.d.ts.map +1 -1
- package/resources/entities/beneficial-owners.d.ts +219 -0
- package/resources/entities/beneficial-owners.d.ts.map +1 -0
- package/resources/entities/beneficial-owners.js +18 -0
- package/resources/entities/beneficial-owners.js.map +1 -0
- package/resources/entities/beneficial-owners.mjs +12 -0
- package/resources/entities/beneficial-owners.mjs.map +1 -0
- package/resources/entities/entities.d.ts +4 -0
- package/resources/entities/entities.d.ts.map +1 -1
- package/resources/entities/entities.js +3 -0
- package/resources/entities/entities.js.map +1 -1
- package/resources/entities/entities.mjs +3 -0
- package/resources/entities/entities.mjs.map +1 -1
- package/resources/entities/index.d.ts +1 -0
- package/resources/entities/index.d.ts.map +1 -1
- package/resources/entities/index.js +8 -0
- package/resources/entities/index.js.map +1 -1
- package/resources/entities/index.mjs +1 -0
- package/resources/entities/index.mjs.map +1 -1
- package/resources/entities/supplemental-documents.d.ts.map +1 -1
- package/resources/event-subscriptions.d.ts.map +1 -1
- package/resources/events.d.ts.map +1 -1
- package/resources/exports.d.ts.map +1 -1
- package/resources/external-accounts.d.ts.map +1 -1
- package/resources/files.d.ts.map +1 -1
- package/resources/groups.d.ts.map +1 -1
- package/resources/inbound-ach-transfer-returns.d.ts.map +1 -1
- package/resources/inbound-wire-drawdown-requests.d.ts.map +1 -1
- package/resources/index.d.ts +6 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +18 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/limits.d.ts.map +1 -1
- package/resources/oauth-connections.d.ts.map +1 -1
- package/resources/pending-transactions.d.ts +4 -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/programs.d.ts.map +1 -1
- package/resources/real-time-decisions.d.ts.map +1 -1
- package/resources/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/routing-numbers.d.ts.map +1 -1
- package/resources/simulations/account-statements.d.ts.map +1 -1
- package/resources/simulations/ach-transfers.d.ts +939 -19
- 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/card-disputes.d.ts.map +1 -1
- package/resources/simulations/card-refunds.d.ts.map +1 -1
- package/resources/simulations/cards.d.ts +4 -0
- 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/digital-wallet-token-requests.d.ts.map +1 -1
- package/resources/simulations/documents.d.ts.map +1 -1
- package/resources/simulations/inbound-funds-holds.d.ts +4 -0
- package/resources/simulations/inbound-funds-holds.d.ts.map +1 -1
- package/resources/simulations/inbound-funds-holds.js.map +1 -1
- package/resources/simulations/inbound-funds-holds.mjs.map +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -1
- package/resources/simulations/interest-payments.d.ts +947 -19
- package/resources/simulations/interest-payments.d.ts.map +1 -1
- package/resources/simulations/interest-payments.js.map +1 -1
- package/resources/simulations/interest-payments.mjs.map +1 -1
- package/resources/simulations/programs.d.ts.map +1 -1
- package/resources/simulations/real-time-payments-transfers.d.ts +939 -19
- 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/resources/simulations/simulations.d.ts.map +1 -1
- package/resources/simulations/simulations.js.map +1 -1
- package/resources/simulations/wire-transfers.d.ts +939 -19
- package/resources/simulations/wire-transfers.d.ts.map +1 -1
- package/resources/simulations/wire-transfers.js.map +1 -1
- package/resources/simulations/wire-transfers.mjs.map +1 -1
- package/resources/transactions.d.ts +939 -20
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.js.map +1 -1
- package/resources/transactions.mjs.map +1 -1
- package/resources/wire-drawdown-requests.d.ts.map +1 -1
- package/resources/wire-transfers.d.ts.map +1 -1
- package/src/_shims/ReadableStream.d.ts +38 -0
- package/src/_shims/ReadableStream.js +5 -0
- package/src/_shims/ReadableStream.mjs +7 -0
- package/src/_shims/ReadableStream.node.ts +6 -0
- package/src/_shims/fetch.deno.ts +23 -0
- package/src/_shims/formdata.deno.ts +16 -0
- package/src/core.ts +103 -4
- package/src/error.ts +11 -1
- package/src/index.ts +16 -9
- package/src/resources/account-numbers.ts +1 -1
- package/src/resources/account-statements.ts +1 -1
- package/src/resources/account-transfers.ts +1 -1
- package/src/resources/accounts.ts +1 -1
- package/src/resources/ach-prenotifications.ts +1 -1
- package/src/resources/ach-transfers.ts +1 -1
- package/src/resources/balance-lookups.ts +1 -1
- package/src/resources/bookkeeping-accounts.ts +1 -1
- package/src/resources/bookkeeping-entries.ts +1 -1
- package/src/resources/bookkeeping-entry-sets.ts +1 -1
- package/src/resources/card-disputes.ts +1 -1
- package/src/resources/card-profiles.ts +19 -5
- package/src/resources/card-purchase-supplements.ts +331 -0
- package/src/resources/cards.ts +1 -1
- package/src/resources/check-deposits.ts +1 -1
- package/src/resources/check-transfers.ts +4 -2
- package/src/resources/declined-transactions.ts +1 -1
- package/src/resources/digital-wallet-tokens.ts +1 -1
- package/src/resources/documents.ts +1 -1
- package/src/resources/entities/beneficial-owners.ts +255 -0
- package/src/resources/entities/entities.ts +6 -1
- package/src/resources/entities/index.ts +1 -0
- package/src/resources/entities/supplemental-documents.ts +1 -1
- package/src/resources/event-subscriptions.ts +1 -1
- package/src/resources/events.ts +1 -1
- package/src/resources/exports.ts +1 -1
- package/src/resources/external-accounts.ts +1 -1
- package/src/resources/files.ts +1 -1
- package/src/resources/groups.ts +1 -1
- package/src/resources/inbound-ach-transfer-returns.ts +1 -1
- package/src/resources/inbound-wire-drawdown-requests.ts +1 -1
- package/src/resources/index.ts +6 -0
- package/src/resources/limits.ts +1 -1
- package/src/resources/oauth-connections.ts +1 -1
- package/src/resources/pending-transactions.ts +6 -1
- package/src/resources/programs.ts +1 -1
- package/src/resources/real-time-decisions.ts +1 -1
- package/src/resources/real-time-payments-transfers.ts +1 -1
- package/src/resources/routing-numbers.ts +1 -1
- package/src/resources/simulations/account-statements.ts +1 -1
- package/src/resources/simulations/ach-transfers.ts +1076 -22
- package/src/resources/simulations/card-disputes.ts +1 -1
- package/src/resources/simulations/card-refunds.ts +1 -1
- package/src/resources/simulations/cards.ts +6 -1
- package/src/resources/simulations/digital-wallet-token-requests.ts +1 -1
- package/src/resources/simulations/documents.ts +1 -1
- package/src/resources/simulations/inbound-funds-holds.ts +6 -1
- package/src/resources/simulations/inbound-wire-drawdown-requests.ts +1 -1
- package/src/resources/simulations/interest-payments.ts +1086 -22
- package/src/resources/simulations/programs.ts +1 -1
- package/src/resources/simulations/real-time-payments-transfers.ts +1076 -22
- package/src/resources/simulations/simulations.ts +1 -1
- package/src/resources/simulations/wire-transfers.ts +1076 -22
- package/src/resources/transactions.ts +1076 -23
- package/src/resources/wire-drawdown-requests.ts +1 -1
- package/src/resources/wire-transfers.ts +1 -1
- package/src/uploads.ts +7 -6
- package/src/version.ts +1 -1
- package/uploads.d.ts +5 -4
- package/uploads.d.ts.map +1 -1
- package/uploads.js +2 -2
- package/uploads.js.map +1 -1
- package/uploads.mjs +2 -2
- package/uploads.mjs.map +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -769,8 +769,6 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
769
769
|
* Deposit object. Details will be under the `check_transfer_deposit` object.
|
|
770
770
|
* - `check_transfer_intention` - The Transaction was created by a Check Transfer
|
|
771
771
|
* Intention object. Details will be under the `check_transfer_intention` object.
|
|
772
|
-
* - `check_transfer_rejection` - The Transaction was created by a Check Transfer
|
|
773
|
-
* Rejection object. Details will be under the `check_transfer_rejection` object.
|
|
774
772
|
* - `check_transfer_stop_payment_request` - The Transaction was created by a Check
|
|
775
773
|
* Transfer Stop Payment Request object. Details will be under the
|
|
776
774
|
* `check_transfer_stop_payment_request` object.
|
|
@@ -827,7 +825,6 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
827
825
|
| 'check_deposit_return'
|
|
828
826
|
| 'check_transfer_deposit'
|
|
829
827
|
| 'check_transfer_intention'
|
|
830
|
-
| 'check_transfer_rejection'
|
|
831
828
|
| 'check_transfer_stop_payment_request'
|
|
832
829
|
| 'fee_payment'
|
|
833
830
|
| 'inbound_ach_transfer'
|
|
@@ -866,11 +863,6 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
866
863
|
* response if and only if `category` is equal to `check_transfer_intention`.
|
|
867
864
|
*/
|
|
868
865
|
check_transfer_intention: Source.CheckTransferIntention | null;
|
|
869
|
-
/**
|
|
870
|
-
* A Check Transfer Rejection object. This field will be present in the JSON
|
|
871
|
-
* response if and only if `category` is equal to `check_transfer_rejection`.
|
|
872
|
-
*/
|
|
873
|
-
check_transfer_rejection: Source.CheckTransferRejection | null;
|
|
874
866
|
/**
|
|
875
867
|
* A Check Transfer Stop Payment Request object. This field will be present in the
|
|
876
868
|
* JSON response if and only if `category` is equal to
|
|
@@ -1338,6 +1330,11 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
1338
1330
|
* The state the merchant resides in.
|
|
1339
1331
|
*/
|
|
1340
1332
|
merchant_state: string | null;
|
|
1333
|
+
/**
|
|
1334
|
+
* Additional details about the card purchase, such as tax and industry-specific
|
|
1335
|
+
* fields.
|
|
1336
|
+
*/
|
|
1337
|
+
purchase_details: CardRefund.PurchaseDetails | null;
|
|
1341
1338
|
/**
|
|
1342
1339
|
* The identifier of the Transaction associated with this Transaction.
|
|
1343
1340
|
*/
|
|
@@ -1348,6 +1345,468 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
1348
1345
|
*/
|
|
1349
1346
|
type: 'card_refund';
|
|
1350
1347
|
}
|
|
1348
|
+
namespace CardRefund {
|
|
1349
|
+
/**
|
|
1350
|
+
* Additional details about the card purchase, such as tax and industry-specific
|
|
1351
|
+
* fields.
|
|
1352
|
+
*/
|
|
1353
|
+
interface PurchaseDetails {
|
|
1354
|
+
/**
|
|
1355
|
+
* Fields specific to car rentals.
|
|
1356
|
+
*/
|
|
1357
|
+
car_rental: PurchaseDetails.CarRental | null;
|
|
1358
|
+
/**
|
|
1359
|
+
* An identifier from the merchant for the customer or consumer.
|
|
1360
|
+
*/
|
|
1361
|
+
customer_reference_identifier: string | null;
|
|
1362
|
+
/**
|
|
1363
|
+
* The state or provincial tax amount in minor units.
|
|
1364
|
+
*/
|
|
1365
|
+
local_tax_amount: number | null;
|
|
1366
|
+
/**
|
|
1367
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the local tax
|
|
1368
|
+
* assessed.
|
|
1369
|
+
*/
|
|
1370
|
+
local_tax_currency: string | null;
|
|
1371
|
+
/**
|
|
1372
|
+
* Fields specific to lodging.
|
|
1373
|
+
*/
|
|
1374
|
+
lodging: PurchaseDetails.Lodging | null;
|
|
1375
|
+
/**
|
|
1376
|
+
* The national tax amount in minor units.
|
|
1377
|
+
*/
|
|
1378
|
+
national_tax_amount: number | null;
|
|
1379
|
+
/**
|
|
1380
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the local tax
|
|
1381
|
+
* assessed.
|
|
1382
|
+
*/
|
|
1383
|
+
national_tax_currency: string | null;
|
|
1384
|
+
/**
|
|
1385
|
+
* An identifier from the merchant for the purchase to the issuer and cardholder.
|
|
1386
|
+
*/
|
|
1387
|
+
purchase_identifier: string | null;
|
|
1388
|
+
/**
|
|
1389
|
+
* The format of the purchase identifier.
|
|
1390
|
+
*
|
|
1391
|
+
* - `free_text` - Free text
|
|
1392
|
+
* - `order_number` - Order number
|
|
1393
|
+
* - `rental_agreement_number` - Rental agreement number
|
|
1394
|
+
* - `hotel_folio_number` - Hotel folio number
|
|
1395
|
+
* - `invoice_number` - Invoice number
|
|
1396
|
+
*/
|
|
1397
|
+
purchase_identifier_format:
|
|
1398
|
+
| 'free_text'
|
|
1399
|
+
| 'order_number'
|
|
1400
|
+
| 'rental_agreement_number'
|
|
1401
|
+
| 'hotel_folio_number'
|
|
1402
|
+
| 'invoice_number'
|
|
1403
|
+
| null;
|
|
1404
|
+
/**
|
|
1405
|
+
* Fields specific to travel.
|
|
1406
|
+
*/
|
|
1407
|
+
travel: PurchaseDetails.Travel | null;
|
|
1408
|
+
}
|
|
1409
|
+
namespace PurchaseDetails {
|
|
1410
|
+
/**
|
|
1411
|
+
* Fields specific to car rentals.
|
|
1412
|
+
*/
|
|
1413
|
+
interface CarRental {
|
|
1414
|
+
/**
|
|
1415
|
+
* Code indicating the vehicle's class.
|
|
1416
|
+
*/
|
|
1417
|
+
car_class_code: string | null;
|
|
1418
|
+
/**
|
|
1419
|
+
* Date the customer picked up the car or, in the case of a no-show or pre-pay
|
|
1420
|
+
* transaction, the scheduled pick up date.
|
|
1421
|
+
*/
|
|
1422
|
+
checkout_date: string | null;
|
|
1423
|
+
/**
|
|
1424
|
+
* Daily rate being charged for the vehicle.
|
|
1425
|
+
*/
|
|
1426
|
+
daily_rental_rate_amount: number | null;
|
|
1427
|
+
/**
|
|
1428
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the daily rental
|
|
1429
|
+
* rate.
|
|
1430
|
+
*/
|
|
1431
|
+
daily_rental_rate_currency: string | null;
|
|
1432
|
+
/**
|
|
1433
|
+
* Number of days the vehicle was rented.
|
|
1434
|
+
*/
|
|
1435
|
+
days_rented: number | null;
|
|
1436
|
+
/**
|
|
1437
|
+
* Additional charges (gas, late fee, etc.) being billed.
|
|
1438
|
+
*
|
|
1439
|
+
* - `no_extra_charge` - No extra charge
|
|
1440
|
+
* - `gas` - Gas
|
|
1441
|
+
* - `extra_mileage` - Extra mileage
|
|
1442
|
+
* - `late_return` - Late return
|
|
1443
|
+
* - `one_way_service_fee` - One way service fee
|
|
1444
|
+
* - `parking_violation` - Parking violation
|
|
1445
|
+
*/
|
|
1446
|
+
extra_charges:
|
|
1447
|
+
| 'no_extra_charge'
|
|
1448
|
+
| 'gas'
|
|
1449
|
+
| 'extra_mileage'
|
|
1450
|
+
| 'late_return'
|
|
1451
|
+
| 'one_way_service_fee'
|
|
1452
|
+
| 'parking_violation'
|
|
1453
|
+
| null;
|
|
1454
|
+
/**
|
|
1455
|
+
* Fuel charges for the vehicle.
|
|
1456
|
+
*/
|
|
1457
|
+
fuel_charges_amount: number | null;
|
|
1458
|
+
/**
|
|
1459
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fuel charges
|
|
1460
|
+
* assessed.
|
|
1461
|
+
*/
|
|
1462
|
+
fuel_charges_currency: string | null;
|
|
1463
|
+
/**
|
|
1464
|
+
* Any insurance being charged for the vehicle.
|
|
1465
|
+
*/
|
|
1466
|
+
insurance_charges_amount: number | null;
|
|
1467
|
+
/**
|
|
1468
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the insurance
|
|
1469
|
+
* charges assessed.
|
|
1470
|
+
*/
|
|
1471
|
+
insurance_charges_currency: string | null;
|
|
1472
|
+
/**
|
|
1473
|
+
* An indicator that the cardholder is being billed for a reserved vehicle that was
|
|
1474
|
+
* not actually rented (that is, a "no-show" charge).
|
|
1475
|
+
*
|
|
1476
|
+
* - `not_applicable` - Not applicable
|
|
1477
|
+
* - `no_show_for_specialized_vehicle` - No show for specialized vehicle
|
|
1478
|
+
*/
|
|
1479
|
+
no_show_indicator: 'not_applicable' | 'no_show_for_specialized_vehicle' | null;
|
|
1480
|
+
/**
|
|
1481
|
+
* Charges for returning the vehicle at a different location than where it was
|
|
1482
|
+
* picked up.
|
|
1483
|
+
*/
|
|
1484
|
+
one_way_drop_off_charges_amount: number | null;
|
|
1485
|
+
/**
|
|
1486
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the one-way
|
|
1487
|
+
* drop-off charges assessed.
|
|
1488
|
+
*/
|
|
1489
|
+
one_way_drop_off_charges_currency: string | null;
|
|
1490
|
+
/**
|
|
1491
|
+
* Name of the person renting the vehicle.
|
|
1492
|
+
*/
|
|
1493
|
+
renter_name: string | null;
|
|
1494
|
+
/**
|
|
1495
|
+
* Weekly rate being charged for the vehicle.
|
|
1496
|
+
*/
|
|
1497
|
+
weekly_rental_rate_amount: number | null;
|
|
1498
|
+
/**
|
|
1499
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the weekly
|
|
1500
|
+
* rental rate.
|
|
1501
|
+
*/
|
|
1502
|
+
weekly_rental_rate_currency: string | null;
|
|
1503
|
+
}
|
|
1504
|
+
/**
|
|
1505
|
+
* Fields specific to lodging.
|
|
1506
|
+
*/
|
|
1507
|
+
interface Lodging {
|
|
1508
|
+
/**
|
|
1509
|
+
* Date the customer checked in.
|
|
1510
|
+
*/
|
|
1511
|
+
check_in_date: string | null;
|
|
1512
|
+
/**
|
|
1513
|
+
* Daily rate being charged for the room.
|
|
1514
|
+
*/
|
|
1515
|
+
daily_room_rate_amount: number | null;
|
|
1516
|
+
/**
|
|
1517
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the daily room
|
|
1518
|
+
* rate.
|
|
1519
|
+
*/
|
|
1520
|
+
daily_room_rate_currency: string | null;
|
|
1521
|
+
/**
|
|
1522
|
+
* Additional charges (phone, late check-out, etc.) being billed.
|
|
1523
|
+
*
|
|
1524
|
+
* - `no_extra_charge` - No extra charge
|
|
1525
|
+
* - `restaurant` - Restaurant
|
|
1526
|
+
* - `gift_shop` - Gift shop
|
|
1527
|
+
* - `mini_bar` - Mini bar
|
|
1528
|
+
* - `telephone` - Telephone
|
|
1529
|
+
* - `other` - Other
|
|
1530
|
+
* - `laundry` - Laundry
|
|
1531
|
+
*/
|
|
1532
|
+
extra_charges:
|
|
1533
|
+
| 'no_extra_charge'
|
|
1534
|
+
| 'restaurant'
|
|
1535
|
+
| 'gift_shop'
|
|
1536
|
+
| 'mini_bar'
|
|
1537
|
+
| 'telephone'
|
|
1538
|
+
| 'other'
|
|
1539
|
+
| 'laundry'
|
|
1540
|
+
| null;
|
|
1541
|
+
/**
|
|
1542
|
+
* Folio cash advances for the room.
|
|
1543
|
+
*/
|
|
1544
|
+
folio_cash_advances_amount: number | null;
|
|
1545
|
+
/**
|
|
1546
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the folio cash
|
|
1547
|
+
* advances.
|
|
1548
|
+
*/
|
|
1549
|
+
folio_cash_advances_currency: string | null;
|
|
1550
|
+
/**
|
|
1551
|
+
* Food and beverage charges for the room.
|
|
1552
|
+
*/
|
|
1553
|
+
food_beverage_charges_amount: number | null;
|
|
1554
|
+
/**
|
|
1555
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the foor and
|
|
1556
|
+
* beverage charges.
|
|
1557
|
+
*/
|
|
1558
|
+
food_beverage_charges_currency: string | null;
|
|
1559
|
+
/**
|
|
1560
|
+
* Indicator that the cardholder is being billed for a reserved room that was not
|
|
1561
|
+
* actually used.
|
|
1562
|
+
*
|
|
1563
|
+
* - `not_applicable` - Not applicable
|
|
1564
|
+
* - `no_show` - No show
|
|
1565
|
+
*/
|
|
1566
|
+
no_show_indicator: 'not_applicable' | 'no_show' | null;
|
|
1567
|
+
/**
|
|
1568
|
+
* Prepaid expenses being charged for the room.
|
|
1569
|
+
*/
|
|
1570
|
+
prepaid_expenses_amount: number | null;
|
|
1571
|
+
/**
|
|
1572
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the prepaid
|
|
1573
|
+
* expenses.
|
|
1574
|
+
*/
|
|
1575
|
+
prepaid_expenses_currency: string | null;
|
|
1576
|
+
/**
|
|
1577
|
+
* Number of nights the room was rented.
|
|
1578
|
+
*/
|
|
1579
|
+
room_nights: number | null;
|
|
1580
|
+
/**
|
|
1581
|
+
* Total room tax being charged.
|
|
1582
|
+
*/
|
|
1583
|
+
total_room_tax_amount: number | null;
|
|
1584
|
+
/**
|
|
1585
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the total room
|
|
1586
|
+
* tax.
|
|
1587
|
+
*/
|
|
1588
|
+
total_room_tax_currency: string | null;
|
|
1589
|
+
/**
|
|
1590
|
+
* Total tax being charged for the room.
|
|
1591
|
+
*/
|
|
1592
|
+
total_tax_amount: number | null;
|
|
1593
|
+
/**
|
|
1594
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the total tax
|
|
1595
|
+
* assessed.
|
|
1596
|
+
*/
|
|
1597
|
+
total_tax_currency: string | null;
|
|
1598
|
+
}
|
|
1599
|
+
/**
|
|
1600
|
+
* Fields specific to travel.
|
|
1601
|
+
*/
|
|
1602
|
+
interface Travel {
|
|
1603
|
+
/**
|
|
1604
|
+
* Ancillary purchases in addition to the airfare.
|
|
1605
|
+
*/
|
|
1606
|
+
ancillary: Travel.Ancillary | null;
|
|
1607
|
+
/**
|
|
1608
|
+
* Indicates the computerized reservation system used to book the ticket.
|
|
1609
|
+
*/
|
|
1610
|
+
computerized_reservation_system: string | null;
|
|
1611
|
+
/**
|
|
1612
|
+
* Indicates the reason for a credit to the cardholder.
|
|
1613
|
+
*
|
|
1614
|
+
* - `no_credit` - No credit
|
|
1615
|
+
* - `passenger_transport_ancillary_purchase_cancellation` - Passenger transport
|
|
1616
|
+
* ancillary purchase cancellation
|
|
1617
|
+
* - `airline_ticket_and_passenger_transport_ancillary_purchase_cancellation` -
|
|
1618
|
+
* Airline ticket and passenger transport ancillary purchase cancellation
|
|
1619
|
+
* - `airline_ticket_cancellation` - Airline ticket cancellation
|
|
1620
|
+
* - `other` - Other
|
|
1621
|
+
* - `partial_refund_of_airline_ticket` - Partial refund of airline ticket
|
|
1622
|
+
*/
|
|
1623
|
+
credit_reason_indicator:
|
|
1624
|
+
| 'no_credit'
|
|
1625
|
+
| 'passenger_transport_ancillary_purchase_cancellation'
|
|
1626
|
+
| 'airline_ticket_and_passenger_transport_ancillary_purchase_cancellation'
|
|
1627
|
+
| 'airline_ticket_cancellation'
|
|
1628
|
+
| 'other'
|
|
1629
|
+
| 'partial_refund_of_airline_ticket'
|
|
1630
|
+
| null;
|
|
1631
|
+
/**
|
|
1632
|
+
* Date of departure.
|
|
1633
|
+
*/
|
|
1634
|
+
departure_date: string | null;
|
|
1635
|
+
/**
|
|
1636
|
+
* Code for the originating city or airport.
|
|
1637
|
+
*/
|
|
1638
|
+
origination_city_airport_code: string | null;
|
|
1639
|
+
/**
|
|
1640
|
+
* Name of the passenger.
|
|
1641
|
+
*/
|
|
1642
|
+
passenger_name: string | null;
|
|
1643
|
+
/**
|
|
1644
|
+
* Indicates whether this ticket is non-refundable.
|
|
1645
|
+
*
|
|
1646
|
+
* - `no_restrictions` - No restrictions
|
|
1647
|
+
* - `restricted_non_refundable_ticket` - Restricted non-refundable ticket
|
|
1648
|
+
*/
|
|
1649
|
+
restricted_ticket_indicator: 'no_restrictions' | 'restricted_non_refundable_ticket' | null;
|
|
1650
|
+
/**
|
|
1651
|
+
* Indicates why a ticket was changed.
|
|
1652
|
+
*
|
|
1653
|
+
* - `none` - None
|
|
1654
|
+
* - `change_to_existing_ticket` - Change to existing ticket
|
|
1655
|
+
* - `new_ticket` - New ticket
|
|
1656
|
+
*/
|
|
1657
|
+
ticket_change_indicator: 'none' | 'change_to_existing_ticket' | 'new_ticket' | null;
|
|
1658
|
+
/**
|
|
1659
|
+
* Ticket number.
|
|
1660
|
+
*/
|
|
1661
|
+
ticket_number: string | null;
|
|
1662
|
+
/**
|
|
1663
|
+
* Code for the travel agency if the ticket was issued by a travel agency.
|
|
1664
|
+
*/
|
|
1665
|
+
travel_agency_code: string | null;
|
|
1666
|
+
/**
|
|
1667
|
+
* Name of the travel agency if the ticket was issued by a travel agency.
|
|
1668
|
+
*/
|
|
1669
|
+
travel_agency_name: string | null;
|
|
1670
|
+
/**
|
|
1671
|
+
* Fields specific to each leg of the journey.
|
|
1672
|
+
*/
|
|
1673
|
+
trip_legs: Array<Travel.TripLeg> | null;
|
|
1674
|
+
}
|
|
1675
|
+
namespace Travel {
|
|
1676
|
+
/**
|
|
1677
|
+
* Ancillary purchases in addition to the airfare.
|
|
1678
|
+
*/
|
|
1679
|
+
interface Ancillary {
|
|
1680
|
+
/**
|
|
1681
|
+
* If this purchase has a connection or relationship to another purchase, such as a
|
|
1682
|
+
* baggage fee for a passenger transport ticket, this field should contain the
|
|
1683
|
+
* ticket document number for the other purchase.
|
|
1684
|
+
*/
|
|
1685
|
+
connected_ticket_document_number: string | null;
|
|
1686
|
+
/**
|
|
1687
|
+
* Indicates the reason for a credit to the cardholder.
|
|
1688
|
+
*
|
|
1689
|
+
* - `no_credit` - No credit
|
|
1690
|
+
* - `passenger_transport_ancillary_purchase_cancellation` - Passenger transport
|
|
1691
|
+
* ancillary purchase cancellation
|
|
1692
|
+
* - `airline_ticket_and_passenger_transport_ancillary_purchase_cancellation` -
|
|
1693
|
+
* Airline ticket and passenger transport ancillary purchase cancellation
|
|
1694
|
+
* - `other` - Other
|
|
1695
|
+
*/
|
|
1696
|
+
credit_reason_indicator:
|
|
1697
|
+
| 'no_credit'
|
|
1698
|
+
| 'passenger_transport_ancillary_purchase_cancellation'
|
|
1699
|
+
| 'airline_ticket_and_passenger_transport_ancillary_purchase_cancellation'
|
|
1700
|
+
| 'other'
|
|
1701
|
+
| null;
|
|
1702
|
+
/**
|
|
1703
|
+
* Name of the passenger or description of the ancillary purchase.
|
|
1704
|
+
*/
|
|
1705
|
+
passenger_name_or_description: string | null;
|
|
1706
|
+
/**
|
|
1707
|
+
* Additional travel charges, such as baggage fees.
|
|
1708
|
+
*/
|
|
1709
|
+
services: Array<Ancillary.Service>;
|
|
1710
|
+
/**
|
|
1711
|
+
* Ticket document number.
|
|
1712
|
+
*/
|
|
1713
|
+
ticket_document_number: string | null;
|
|
1714
|
+
}
|
|
1715
|
+
namespace Ancillary {
|
|
1716
|
+
interface Service {
|
|
1717
|
+
/**
|
|
1718
|
+
* Category of the ancillary service.
|
|
1719
|
+
*
|
|
1720
|
+
* - `none` - None
|
|
1721
|
+
* - `bundled_service` - Bundled service
|
|
1722
|
+
* - `baggage_fee` - Baggage fee
|
|
1723
|
+
* - `change_fee` - Change fee
|
|
1724
|
+
* - `cargo` - Cargo
|
|
1725
|
+
* - `carbon_offset` - Carbon offset
|
|
1726
|
+
* - `frequent_flyer` - Frequent flyer
|
|
1727
|
+
* - `gift_card` - Gift card
|
|
1728
|
+
* - `ground_transport` - Ground transport
|
|
1729
|
+
* - `in_flight_entertainment` - In-flight entertainment
|
|
1730
|
+
* - `lounge` - Lounge
|
|
1731
|
+
* - `medical` - Medical
|
|
1732
|
+
* - `meal_beverage` - Meal beverage
|
|
1733
|
+
* - `other` - Other
|
|
1734
|
+
* - `passenger_assist_fee` - Passenger assist fee
|
|
1735
|
+
* - `pets` - Pets
|
|
1736
|
+
* - `seat_fees` - Seat fees
|
|
1737
|
+
* - `standby` - Standby
|
|
1738
|
+
* - `service_fee` - Service fee
|
|
1739
|
+
* - `store` - Store
|
|
1740
|
+
* - `travel_service` - Travel service
|
|
1741
|
+
* - `unaccompanied_travel` - Unaccompanied travel
|
|
1742
|
+
* - `upgrades` - Upgrades
|
|
1743
|
+
* - `wifi` - Wi-fi
|
|
1744
|
+
*/
|
|
1745
|
+
category:
|
|
1746
|
+
| 'none'
|
|
1747
|
+
| 'bundled_service'
|
|
1748
|
+
| 'baggage_fee'
|
|
1749
|
+
| 'change_fee'
|
|
1750
|
+
| 'cargo'
|
|
1751
|
+
| 'carbon_offset'
|
|
1752
|
+
| 'frequent_flyer'
|
|
1753
|
+
| 'gift_card'
|
|
1754
|
+
| 'ground_transport'
|
|
1755
|
+
| 'in_flight_entertainment'
|
|
1756
|
+
| 'lounge'
|
|
1757
|
+
| 'medical'
|
|
1758
|
+
| 'meal_beverage'
|
|
1759
|
+
| 'other'
|
|
1760
|
+
| 'passenger_assist_fee'
|
|
1761
|
+
| 'pets'
|
|
1762
|
+
| 'seat_fees'
|
|
1763
|
+
| 'standby'
|
|
1764
|
+
| 'service_fee'
|
|
1765
|
+
| 'store'
|
|
1766
|
+
| 'travel_service'
|
|
1767
|
+
| 'unaccompanied_travel'
|
|
1768
|
+
| 'upgrades'
|
|
1769
|
+
| 'wifi'
|
|
1770
|
+
| null;
|
|
1771
|
+
/**
|
|
1772
|
+
* Sub-category of the ancillary service, free-form.
|
|
1773
|
+
*/
|
|
1774
|
+
sub_category: string | null;
|
|
1775
|
+
}
|
|
1776
|
+
}
|
|
1777
|
+
interface TripLeg {
|
|
1778
|
+
/**
|
|
1779
|
+
* Carrier code (e.g., United Airlines, Jet Blue, etc.).
|
|
1780
|
+
*/
|
|
1781
|
+
carrier_code: string | null;
|
|
1782
|
+
/**
|
|
1783
|
+
* Code for the destination city or airport.
|
|
1784
|
+
*/
|
|
1785
|
+
destination_city_airport_code: string | null;
|
|
1786
|
+
/**
|
|
1787
|
+
* Fare basis code.
|
|
1788
|
+
*/
|
|
1789
|
+
fare_basis_code: string | null;
|
|
1790
|
+
/**
|
|
1791
|
+
* Flight number.
|
|
1792
|
+
*/
|
|
1793
|
+
flight_number: string | null;
|
|
1794
|
+
/**
|
|
1795
|
+
* Service class (e.g., first class, business class, etc.).
|
|
1796
|
+
*/
|
|
1797
|
+
service_class: string | null;
|
|
1798
|
+
/**
|
|
1799
|
+
* Indicates whether a stopover is allowed on this ticket.
|
|
1800
|
+
*
|
|
1801
|
+
* - `none` - None
|
|
1802
|
+
* - `stop_over_allowed` - Stop over allowed
|
|
1803
|
+
* - `stop_over_not_allowed` - Stop over not allowed
|
|
1804
|
+
*/
|
|
1805
|
+
stop_over_code: 'none' | 'stop_over_allowed' | 'stop_over_not_allowed' | null;
|
|
1806
|
+
}
|
|
1807
|
+
}
|
|
1808
|
+
}
|
|
1809
|
+
}
|
|
1351
1810
|
/**
|
|
1352
1811
|
* A Card Revenue Payment object. This field will be present in the JSON response
|
|
1353
1812
|
* if and only if `category` is equal to `card_revenue_payment`.
|
|
@@ -1452,6 +1911,11 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
1452
1911
|
* transaction's presentment currency.
|
|
1453
1912
|
*/
|
|
1454
1913
|
presentment_currency: string;
|
|
1914
|
+
/**
|
|
1915
|
+
* Additional details about the card purchase, such as tax and industry-specific
|
|
1916
|
+
* fields.
|
|
1917
|
+
*/
|
|
1918
|
+
purchase_details: CardSettlement.PurchaseDetails | null;
|
|
1455
1919
|
/**
|
|
1456
1920
|
* The identifier of the Transaction associated with this Transaction.
|
|
1457
1921
|
*/
|
|
@@ -1462,6 +1926,468 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
1462
1926
|
*/
|
|
1463
1927
|
type: 'card_settlement';
|
|
1464
1928
|
}
|
|
1929
|
+
namespace CardSettlement {
|
|
1930
|
+
/**
|
|
1931
|
+
* Additional details about the card purchase, such as tax and industry-specific
|
|
1932
|
+
* fields.
|
|
1933
|
+
*/
|
|
1934
|
+
interface PurchaseDetails {
|
|
1935
|
+
/**
|
|
1936
|
+
* Fields specific to car rentals.
|
|
1937
|
+
*/
|
|
1938
|
+
car_rental: PurchaseDetails.CarRental | null;
|
|
1939
|
+
/**
|
|
1940
|
+
* An identifier from the merchant for the customer or consumer.
|
|
1941
|
+
*/
|
|
1942
|
+
customer_reference_identifier: string | null;
|
|
1943
|
+
/**
|
|
1944
|
+
* The state or provincial tax amount in minor units.
|
|
1945
|
+
*/
|
|
1946
|
+
local_tax_amount: number | null;
|
|
1947
|
+
/**
|
|
1948
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the local tax
|
|
1949
|
+
* assessed.
|
|
1950
|
+
*/
|
|
1951
|
+
local_tax_currency: string | null;
|
|
1952
|
+
/**
|
|
1953
|
+
* Fields specific to lodging.
|
|
1954
|
+
*/
|
|
1955
|
+
lodging: PurchaseDetails.Lodging | null;
|
|
1956
|
+
/**
|
|
1957
|
+
* The national tax amount in minor units.
|
|
1958
|
+
*/
|
|
1959
|
+
national_tax_amount: number | null;
|
|
1960
|
+
/**
|
|
1961
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the local tax
|
|
1962
|
+
* assessed.
|
|
1963
|
+
*/
|
|
1964
|
+
national_tax_currency: string | null;
|
|
1965
|
+
/**
|
|
1966
|
+
* An identifier from the merchant for the purchase to the issuer and cardholder.
|
|
1967
|
+
*/
|
|
1968
|
+
purchase_identifier: string | null;
|
|
1969
|
+
/**
|
|
1970
|
+
* The format of the purchase identifier.
|
|
1971
|
+
*
|
|
1972
|
+
* - `free_text` - Free text
|
|
1973
|
+
* - `order_number` - Order number
|
|
1974
|
+
* - `rental_agreement_number` - Rental agreement number
|
|
1975
|
+
* - `hotel_folio_number` - Hotel folio number
|
|
1976
|
+
* - `invoice_number` - Invoice number
|
|
1977
|
+
*/
|
|
1978
|
+
purchase_identifier_format:
|
|
1979
|
+
| 'free_text'
|
|
1980
|
+
| 'order_number'
|
|
1981
|
+
| 'rental_agreement_number'
|
|
1982
|
+
| 'hotel_folio_number'
|
|
1983
|
+
| 'invoice_number'
|
|
1984
|
+
| null;
|
|
1985
|
+
/**
|
|
1986
|
+
* Fields specific to travel.
|
|
1987
|
+
*/
|
|
1988
|
+
travel: PurchaseDetails.Travel | null;
|
|
1989
|
+
}
|
|
1990
|
+
namespace PurchaseDetails {
|
|
1991
|
+
/**
|
|
1992
|
+
* Fields specific to car rentals.
|
|
1993
|
+
*/
|
|
1994
|
+
interface CarRental {
|
|
1995
|
+
/**
|
|
1996
|
+
* Code indicating the vehicle's class.
|
|
1997
|
+
*/
|
|
1998
|
+
car_class_code: string | null;
|
|
1999
|
+
/**
|
|
2000
|
+
* Date the customer picked up the car or, in the case of a no-show or pre-pay
|
|
2001
|
+
* transaction, the scheduled pick up date.
|
|
2002
|
+
*/
|
|
2003
|
+
checkout_date: string | null;
|
|
2004
|
+
/**
|
|
2005
|
+
* Daily rate being charged for the vehicle.
|
|
2006
|
+
*/
|
|
2007
|
+
daily_rental_rate_amount: number | null;
|
|
2008
|
+
/**
|
|
2009
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the daily rental
|
|
2010
|
+
* rate.
|
|
2011
|
+
*/
|
|
2012
|
+
daily_rental_rate_currency: string | null;
|
|
2013
|
+
/**
|
|
2014
|
+
* Number of days the vehicle was rented.
|
|
2015
|
+
*/
|
|
2016
|
+
days_rented: number | null;
|
|
2017
|
+
/**
|
|
2018
|
+
* Additional charges (gas, late fee, etc.) being billed.
|
|
2019
|
+
*
|
|
2020
|
+
* - `no_extra_charge` - No extra charge
|
|
2021
|
+
* - `gas` - Gas
|
|
2022
|
+
* - `extra_mileage` - Extra mileage
|
|
2023
|
+
* - `late_return` - Late return
|
|
2024
|
+
* - `one_way_service_fee` - One way service fee
|
|
2025
|
+
* - `parking_violation` - Parking violation
|
|
2026
|
+
*/
|
|
2027
|
+
extra_charges:
|
|
2028
|
+
| 'no_extra_charge'
|
|
2029
|
+
| 'gas'
|
|
2030
|
+
| 'extra_mileage'
|
|
2031
|
+
| 'late_return'
|
|
2032
|
+
| 'one_way_service_fee'
|
|
2033
|
+
| 'parking_violation'
|
|
2034
|
+
| null;
|
|
2035
|
+
/**
|
|
2036
|
+
* Fuel charges for the vehicle.
|
|
2037
|
+
*/
|
|
2038
|
+
fuel_charges_amount: number | null;
|
|
2039
|
+
/**
|
|
2040
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fuel charges
|
|
2041
|
+
* assessed.
|
|
2042
|
+
*/
|
|
2043
|
+
fuel_charges_currency: string | null;
|
|
2044
|
+
/**
|
|
2045
|
+
* Any insurance being charged for the vehicle.
|
|
2046
|
+
*/
|
|
2047
|
+
insurance_charges_amount: number | null;
|
|
2048
|
+
/**
|
|
2049
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the insurance
|
|
2050
|
+
* charges assessed.
|
|
2051
|
+
*/
|
|
2052
|
+
insurance_charges_currency: string | null;
|
|
2053
|
+
/**
|
|
2054
|
+
* An indicator that the cardholder is being billed for a reserved vehicle that was
|
|
2055
|
+
* not actually rented (that is, a "no-show" charge).
|
|
2056
|
+
*
|
|
2057
|
+
* - `not_applicable` - Not applicable
|
|
2058
|
+
* - `no_show_for_specialized_vehicle` - No show for specialized vehicle
|
|
2059
|
+
*/
|
|
2060
|
+
no_show_indicator: 'not_applicable' | 'no_show_for_specialized_vehicle' | null;
|
|
2061
|
+
/**
|
|
2062
|
+
* Charges for returning the vehicle at a different location than where it was
|
|
2063
|
+
* picked up.
|
|
2064
|
+
*/
|
|
2065
|
+
one_way_drop_off_charges_amount: number | null;
|
|
2066
|
+
/**
|
|
2067
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the one-way
|
|
2068
|
+
* drop-off charges assessed.
|
|
2069
|
+
*/
|
|
2070
|
+
one_way_drop_off_charges_currency: string | null;
|
|
2071
|
+
/**
|
|
2072
|
+
* Name of the person renting the vehicle.
|
|
2073
|
+
*/
|
|
2074
|
+
renter_name: string | null;
|
|
2075
|
+
/**
|
|
2076
|
+
* Weekly rate being charged for the vehicle.
|
|
2077
|
+
*/
|
|
2078
|
+
weekly_rental_rate_amount: number | null;
|
|
2079
|
+
/**
|
|
2080
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the weekly
|
|
2081
|
+
* rental rate.
|
|
2082
|
+
*/
|
|
2083
|
+
weekly_rental_rate_currency: string | null;
|
|
2084
|
+
}
|
|
2085
|
+
/**
|
|
2086
|
+
* Fields specific to lodging.
|
|
2087
|
+
*/
|
|
2088
|
+
interface Lodging {
|
|
2089
|
+
/**
|
|
2090
|
+
* Date the customer checked in.
|
|
2091
|
+
*/
|
|
2092
|
+
check_in_date: string | null;
|
|
2093
|
+
/**
|
|
2094
|
+
* Daily rate being charged for the room.
|
|
2095
|
+
*/
|
|
2096
|
+
daily_room_rate_amount: number | null;
|
|
2097
|
+
/**
|
|
2098
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the daily room
|
|
2099
|
+
* rate.
|
|
2100
|
+
*/
|
|
2101
|
+
daily_room_rate_currency: string | null;
|
|
2102
|
+
/**
|
|
2103
|
+
* Additional charges (phone, late check-out, etc.) being billed.
|
|
2104
|
+
*
|
|
2105
|
+
* - `no_extra_charge` - No extra charge
|
|
2106
|
+
* - `restaurant` - Restaurant
|
|
2107
|
+
* - `gift_shop` - Gift shop
|
|
2108
|
+
* - `mini_bar` - Mini bar
|
|
2109
|
+
* - `telephone` - Telephone
|
|
2110
|
+
* - `other` - Other
|
|
2111
|
+
* - `laundry` - Laundry
|
|
2112
|
+
*/
|
|
2113
|
+
extra_charges:
|
|
2114
|
+
| 'no_extra_charge'
|
|
2115
|
+
| 'restaurant'
|
|
2116
|
+
| 'gift_shop'
|
|
2117
|
+
| 'mini_bar'
|
|
2118
|
+
| 'telephone'
|
|
2119
|
+
| 'other'
|
|
2120
|
+
| 'laundry'
|
|
2121
|
+
| null;
|
|
2122
|
+
/**
|
|
2123
|
+
* Folio cash advances for the room.
|
|
2124
|
+
*/
|
|
2125
|
+
folio_cash_advances_amount: number | null;
|
|
2126
|
+
/**
|
|
2127
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the folio cash
|
|
2128
|
+
* advances.
|
|
2129
|
+
*/
|
|
2130
|
+
folio_cash_advances_currency: string | null;
|
|
2131
|
+
/**
|
|
2132
|
+
* Food and beverage charges for the room.
|
|
2133
|
+
*/
|
|
2134
|
+
food_beverage_charges_amount: number | null;
|
|
2135
|
+
/**
|
|
2136
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the foor and
|
|
2137
|
+
* beverage charges.
|
|
2138
|
+
*/
|
|
2139
|
+
food_beverage_charges_currency: string | null;
|
|
2140
|
+
/**
|
|
2141
|
+
* Indicator that the cardholder is being billed for a reserved room that was not
|
|
2142
|
+
* actually used.
|
|
2143
|
+
*
|
|
2144
|
+
* - `not_applicable` - Not applicable
|
|
2145
|
+
* - `no_show` - No show
|
|
2146
|
+
*/
|
|
2147
|
+
no_show_indicator: 'not_applicable' | 'no_show' | null;
|
|
2148
|
+
/**
|
|
2149
|
+
* Prepaid expenses being charged for the room.
|
|
2150
|
+
*/
|
|
2151
|
+
prepaid_expenses_amount: number | null;
|
|
2152
|
+
/**
|
|
2153
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the prepaid
|
|
2154
|
+
* expenses.
|
|
2155
|
+
*/
|
|
2156
|
+
prepaid_expenses_currency: string | null;
|
|
2157
|
+
/**
|
|
2158
|
+
* Number of nights the room was rented.
|
|
2159
|
+
*/
|
|
2160
|
+
room_nights: number | null;
|
|
2161
|
+
/**
|
|
2162
|
+
* Total room tax being charged.
|
|
2163
|
+
*/
|
|
2164
|
+
total_room_tax_amount: number | null;
|
|
2165
|
+
/**
|
|
2166
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the total room
|
|
2167
|
+
* tax.
|
|
2168
|
+
*/
|
|
2169
|
+
total_room_tax_currency: string | null;
|
|
2170
|
+
/**
|
|
2171
|
+
* Total tax being charged for the room.
|
|
2172
|
+
*/
|
|
2173
|
+
total_tax_amount: number | null;
|
|
2174
|
+
/**
|
|
2175
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the total tax
|
|
2176
|
+
* assessed.
|
|
2177
|
+
*/
|
|
2178
|
+
total_tax_currency: string | null;
|
|
2179
|
+
}
|
|
2180
|
+
/**
|
|
2181
|
+
* Fields specific to travel.
|
|
2182
|
+
*/
|
|
2183
|
+
interface Travel {
|
|
2184
|
+
/**
|
|
2185
|
+
* Ancillary purchases in addition to the airfare.
|
|
2186
|
+
*/
|
|
2187
|
+
ancillary: Travel.Ancillary | null;
|
|
2188
|
+
/**
|
|
2189
|
+
* Indicates the computerized reservation system used to book the ticket.
|
|
2190
|
+
*/
|
|
2191
|
+
computerized_reservation_system: string | null;
|
|
2192
|
+
/**
|
|
2193
|
+
* Indicates the reason for a credit to the cardholder.
|
|
2194
|
+
*
|
|
2195
|
+
* - `no_credit` - No credit
|
|
2196
|
+
* - `passenger_transport_ancillary_purchase_cancellation` - Passenger transport
|
|
2197
|
+
* ancillary purchase cancellation
|
|
2198
|
+
* - `airline_ticket_and_passenger_transport_ancillary_purchase_cancellation` -
|
|
2199
|
+
* Airline ticket and passenger transport ancillary purchase cancellation
|
|
2200
|
+
* - `airline_ticket_cancellation` - Airline ticket cancellation
|
|
2201
|
+
* - `other` - Other
|
|
2202
|
+
* - `partial_refund_of_airline_ticket` - Partial refund of airline ticket
|
|
2203
|
+
*/
|
|
2204
|
+
credit_reason_indicator:
|
|
2205
|
+
| 'no_credit'
|
|
2206
|
+
| 'passenger_transport_ancillary_purchase_cancellation'
|
|
2207
|
+
| 'airline_ticket_and_passenger_transport_ancillary_purchase_cancellation'
|
|
2208
|
+
| 'airline_ticket_cancellation'
|
|
2209
|
+
| 'other'
|
|
2210
|
+
| 'partial_refund_of_airline_ticket'
|
|
2211
|
+
| null;
|
|
2212
|
+
/**
|
|
2213
|
+
* Date of departure.
|
|
2214
|
+
*/
|
|
2215
|
+
departure_date: string | null;
|
|
2216
|
+
/**
|
|
2217
|
+
* Code for the originating city or airport.
|
|
2218
|
+
*/
|
|
2219
|
+
origination_city_airport_code: string | null;
|
|
2220
|
+
/**
|
|
2221
|
+
* Name of the passenger.
|
|
2222
|
+
*/
|
|
2223
|
+
passenger_name: string | null;
|
|
2224
|
+
/**
|
|
2225
|
+
* Indicates whether this ticket is non-refundable.
|
|
2226
|
+
*
|
|
2227
|
+
* - `no_restrictions` - No restrictions
|
|
2228
|
+
* - `restricted_non_refundable_ticket` - Restricted non-refundable ticket
|
|
2229
|
+
*/
|
|
2230
|
+
restricted_ticket_indicator: 'no_restrictions' | 'restricted_non_refundable_ticket' | null;
|
|
2231
|
+
/**
|
|
2232
|
+
* Indicates why a ticket was changed.
|
|
2233
|
+
*
|
|
2234
|
+
* - `none` - None
|
|
2235
|
+
* - `change_to_existing_ticket` - Change to existing ticket
|
|
2236
|
+
* - `new_ticket` - New ticket
|
|
2237
|
+
*/
|
|
2238
|
+
ticket_change_indicator: 'none' | 'change_to_existing_ticket' | 'new_ticket' | null;
|
|
2239
|
+
/**
|
|
2240
|
+
* Ticket number.
|
|
2241
|
+
*/
|
|
2242
|
+
ticket_number: string | null;
|
|
2243
|
+
/**
|
|
2244
|
+
* Code for the travel agency if the ticket was issued by a travel agency.
|
|
2245
|
+
*/
|
|
2246
|
+
travel_agency_code: string | null;
|
|
2247
|
+
/**
|
|
2248
|
+
* Name of the travel agency if the ticket was issued by a travel agency.
|
|
2249
|
+
*/
|
|
2250
|
+
travel_agency_name: string | null;
|
|
2251
|
+
/**
|
|
2252
|
+
* Fields specific to each leg of the journey.
|
|
2253
|
+
*/
|
|
2254
|
+
trip_legs: Array<Travel.TripLeg> | null;
|
|
2255
|
+
}
|
|
2256
|
+
namespace Travel {
|
|
2257
|
+
/**
|
|
2258
|
+
* Ancillary purchases in addition to the airfare.
|
|
2259
|
+
*/
|
|
2260
|
+
interface Ancillary {
|
|
2261
|
+
/**
|
|
2262
|
+
* If this purchase has a connection or relationship to another purchase, such as a
|
|
2263
|
+
* baggage fee for a passenger transport ticket, this field should contain the
|
|
2264
|
+
* ticket document number for the other purchase.
|
|
2265
|
+
*/
|
|
2266
|
+
connected_ticket_document_number: string | null;
|
|
2267
|
+
/**
|
|
2268
|
+
* Indicates the reason for a credit to the cardholder.
|
|
2269
|
+
*
|
|
2270
|
+
* - `no_credit` - No credit
|
|
2271
|
+
* - `passenger_transport_ancillary_purchase_cancellation` - Passenger transport
|
|
2272
|
+
* ancillary purchase cancellation
|
|
2273
|
+
* - `airline_ticket_and_passenger_transport_ancillary_purchase_cancellation` -
|
|
2274
|
+
* Airline ticket and passenger transport ancillary purchase cancellation
|
|
2275
|
+
* - `other` - Other
|
|
2276
|
+
*/
|
|
2277
|
+
credit_reason_indicator:
|
|
2278
|
+
| 'no_credit'
|
|
2279
|
+
| 'passenger_transport_ancillary_purchase_cancellation'
|
|
2280
|
+
| 'airline_ticket_and_passenger_transport_ancillary_purchase_cancellation'
|
|
2281
|
+
| 'other'
|
|
2282
|
+
| null;
|
|
2283
|
+
/**
|
|
2284
|
+
* Name of the passenger or description of the ancillary purchase.
|
|
2285
|
+
*/
|
|
2286
|
+
passenger_name_or_description: string | null;
|
|
2287
|
+
/**
|
|
2288
|
+
* Additional travel charges, such as baggage fees.
|
|
2289
|
+
*/
|
|
2290
|
+
services: Array<Ancillary.Service>;
|
|
2291
|
+
/**
|
|
2292
|
+
* Ticket document number.
|
|
2293
|
+
*/
|
|
2294
|
+
ticket_document_number: string | null;
|
|
2295
|
+
}
|
|
2296
|
+
namespace Ancillary {
|
|
2297
|
+
interface Service {
|
|
2298
|
+
/**
|
|
2299
|
+
* Category of the ancillary service.
|
|
2300
|
+
*
|
|
2301
|
+
* - `none` - None
|
|
2302
|
+
* - `bundled_service` - Bundled service
|
|
2303
|
+
* - `baggage_fee` - Baggage fee
|
|
2304
|
+
* - `change_fee` - Change fee
|
|
2305
|
+
* - `cargo` - Cargo
|
|
2306
|
+
* - `carbon_offset` - Carbon offset
|
|
2307
|
+
* - `frequent_flyer` - Frequent flyer
|
|
2308
|
+
* - `gift_card` - Gift card
|
|
2309
|
+
* - `ground_transport` - Ground transport
|
|
2310
|
+
* - `in_flight_entertainment` - In-flight entertainment
|
|
2311
|
+
* - `lounge` - Lounge
|
|
2312
|
+
* - `medical` - Medical
|
|
2313
|
+
* - `meal_beverage` - Meal beverage
|
|
2314
|
+
* - `other` - Other
|
|
2315
|
+
* - `passenger_assist_fee` - Passenger assist fee
|
|
2316
|
+
* - `pets` - Pets
|
|
2317
|
+
* - `seat_fees` - Seat fees
|
|
2318
|
+
* - `standby` - Standby
|
|
2319
|
+
* - `service_fee` - Service fee
|
|
2320
|
+
* - `store` - Store
|
|
2321
|
+
* - `travel_service` - Travel service
|
|
2322
|
+
* - `unaccompanied_travel` - Unaccompanied travel
|
|
2323
|
+
* - `upgrades` - Upgrades
|
|
2324
|
+
* - `wifi` - Wi-fi
|
|
2325
|
+
*/
|
|
2326
|
+
category:
|
|
2327
|
+
| 'none'
|
|
2328
|
+
| 'bundled_service'
|
|
2329
|
+
| 'baggage_fee'
|
|
2330
|
+
| 'change_fee'
|
|
2331
|
+
| 'cargo'
|
|
2332
|
+
| 'carbon_offset'
|
|
2333
|
+
| 'frequent_flyer'
|
|
2334
|
+
| 'gift_card'
|
|
2335
|
+
| 'ground_transport'
|
|
2336
|
+
| 'in_flight_entertainment'
|
|
2337
|
+
| 'lounge'
|
|
2338
|
+
| 'medical'
|
|
2339
|
+
| 'meal_beverage'
|
|
2340
|
+
| 'other'
|
|
2341
|
+
| 'passenger_assist_fee'
|
|
2342
|
+
| 'pets'
|
|
2343
|
+
| 'seat_fees'
|
|
2344
|
+
| 'standby'
|
|
2345
|
+
| 'service_fee'
|
|
2346
|
+
| 'store'
|
|
2347
|
+
| 'travel_service'
|
|
2348
|
+
| 'unaccompanied_travel'
|
|
2349
|
+
| 'upgrades'
|
|
2350
|
+
| 'wifi'
|
|
2351
|
+
| null;
|
|
2352
|
+
/**
|
|
2353
|
+
* Sub-category of the ancillary service, free-form.
|
|
2354
|
+
*/
|
|
2355
|
+
sub_category: string | null;
|
|
2356
|
+
}
|
|
2357
|
+
}
|
|
2358
|
+
interface TripLeg {
|
|
2359
|
+
/**
|
|
2360
|
+
* Carrier code (e.g., United Airlines, Jet Blue, etc.).
|
|
2361
|
+
*/
|
|
2362
|
+
carrier_code: string | null;
|
|
2363
|
+
/**
|
|
2364
|
+
* Code for the destination city or airport.
|
|
2365
|
+
*/
|
|
2366
|
+
destination_city_airport_code: string | null;
|
|
2367
|
+
/**
|
|
2368
|
+
* Fare basis code.
|
|
2369
|
+
*/
|
|
2370
|
+
fare_basis_code: string | null;
|
|
2371
|
+
/**
|
|
2372
|
+
* Flight number.
|
|
2373
|
+
*/
|
|
2374
|
+
flight_number: string | null;
|
|
2375
|
+
/**
|
|
2376
|
+
* Service class (e.g., first class, business class, etc.).
|
|
2377
|
+
*/
|
|
2378
|
+
service_class: string | null;
|
|
2379
|
+
/**
|
|
2380
|
+
* Indicates whether a stopover is allowed on this ticket.
|
|
2381
|
+
*
|
|
2382
|
+
* - `none` - None
|
|
2383
|
+
* - `stop_over_allowed` - Stop over allowed
|
|
2384
|
+
* - `stop_over_not_allowed` - Stop over not allowed
|
|
2385
|
+
*/
|
|
2386
|
+
stop_over_code: 'none' | 'stop_over_allowed' | 'stop_over_not_allowed' | null;
|
|
2387
|
+
}
|
|
2388
|
+
}
|
|
2389
|
+
}
|
|
2390
|
+
}
|
|
1465
2391
|
/**
|
|
1466
2392
|
* A Check Deposit Acceptance object. This field will be present in the JSON
|
|
1467
2393
|
* response if and only if `category` is equal to `check_deposit_acceptance`.
|
|
@@ -1650,16 +2576,6 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
1650
2576
|
*/
|
|
1651
2577
|
transfer_id: string;
|
|
1652
2578
|
}
|
|
1653
|
-
/**
|
|
1654
|
-
* A Check Transfer Rejection object. This field will be present in the JSON
|
|
1655
|
-
* response if and only if `category` is equal to `check_transfer_rejection`.
|
|
1656
|
-
*/
|
|
1657
|
-
interface CheckTransferRejection {
|
|
1658
|
-
/**
|
|
1659
|
-
* The identifier of the Check Transfer that led to this Transaction.
|
|
1660
|
-
*/
|
|
1661
|
-
transfer_id: string;
|
|
1662
|
-
}
|
|
1663
2579
|
/**
|
|
1664
2580
|
* A Check Transfer Stop Payment Request object. This field will be present in the
|
|
1665
2581
|
* JSON response if and only if `category` is equal to
|
|
@@ -1670,9 +2586,11 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
1670
2586
|
* The reason why this transfer was stopped.
|
|
1671
2587
|
*
|
|
1672
2588
|
* - `mail_delivery_failed` - The check could not be delivered.
|
|
2589
|
+
* - `rejected_by_increase` - The check was cancelled by an Increase operator who
|
|
2590
|
+
* will provide details out-of-band.
|
|
1673
2591
|
* - `unknown` - The check was stopped for another reason.
|
|
1674
2592
|
*/
|
|
1675
|
-
reason: 'mail_delivery_failed' | 'unknown';
|
|
2593
|
+
reason: 'mail_delivery_failed' | 'rejected_by_increase' | 'unknown';
|
|
1676
2594
|
/**
|
|
1677
2595
|
* The time the stop-payment was requested.
|
|
1678
2596
|
*/
|
|
@@ -2080,6 +2998,7 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
2080
2998
|
* - `account_closure` - Account closure
|
|
2081
2999
|
* - `bank_migration` - Bank migration
|
|
2082
3000
|
* - `cashback` - Cashback
|
|
3001
|
+
* - `check_adjustment` - Check adjustment
|
|
2083
3002
|
* - `collection_receivable` - Collection receivable
|
|
2084
3003
|
* - `empyreal_adjustment` - Empyreal adjustment
|
|
2085
3004
|
* - `error` - Error
|
|
@@ -2094,6 +3013,7 @@ export declare namespace InboundRealTimePaymentsTransferSimulationResult {
|
|
|
2094
3013
|
| 'account_closure'
|
|
2095
3014
|
| 'bank_migration'
|
|
2096
3015
|
| 'cashback'
|
|
3016
|
+
| 'check_adjustment'
|
|
2097
3017
|
| 'collection_receivable'
|
|
2098
3018
|
| 'empyreal_adjustment'
|
|
2099
3019
|
| 'error'
|