@amos.com/node 0.1.72 → 0.1.73
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/dist/index.d.mts +14 -6
- package/dist/index.d.ts +14 -6
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/openapi/schema.ts +16 -8
- package/package.json +1 -1
package/openapi/schema.ts
CHANGED
|
@@ -1380,7 +1380,6 @@ export interface components {
|
|
|
1380
1380
|
/** @description ABA routing number. A nine-digit value must pass the ABA checksum. */
|
|
1381
1381
|
routing_number?: string;
|
|
1382
1382
|
state?: string;
|
|
1383
|
-
token?: string;
|
|
1384
1383
|
/** @description True when the bank account was verified via Plaid Auth. */
|
|
1385
1384
|
verified?: boolean;
|
|
1386
1385
|
/** Format: date-time */
|
|
@@ -1396,6 +1395,7 @@ export interface components {
|
|
|
1396
1395
|
email?: string;
|
|
1397
1396
|
name?: string;
|
|
1398
1397
|
phone?: string;
|
|
1398
|
+
/** @description Required when country is CA, PR, GB, or US. Optional for every other country. */
|
|
1399
1399
|
postal_code?: string;
|
|
1400
1400
|
state?: string;
|
|
1401
1401
|
};
|
|
@@ -1437,7 +1437,7 @@ export interface components {
|
|
|
1437
1437
|
updated_at?: string;
|
|
1438
1438
|
};
|
|
1439
1439
|
CardProfileInput: {
|
|
1440
|
-
/** @description Cardholder name. Letters, spaces,
|
|
1440
|
+
/** @description Cardholder name as stored on the card. 2-26 characters. Letters, numbers, spaces, periods, commas, apostrophes, hyphens, slashes, and ampersands. */
|
|
1441
1441
|
card_holder_name?: string;
|
|
1442
1442
|
cvc?: string;
|
|
1443
1443
|
encrypted_card_number?: string;
|
|
@@ -1459,7 +1459,7 @@ export interface components {
|
|
|
1459
1459
|
avs_check?: string;
|
|
1460
1460
|
avs_check_message?: string | null;
|
|
1461
1461
|
brand?: string;
|
|
1462
|
-
/** @description Cardholder name. Letters, spaces,
|
|
1462
|
+
/** @description Cardholder name as stored on the card. 2-26 characters. Letters, numbers, spaces, periods, commas, apostrophes, hyphens, slashes, and ampersands. */
|
|
1463
1463
|
card_holder_name?: string;
|
|
1464
1464
|
cvc_check?: string;
|
|
1465
1465
|
cvc_check_message?: string | null;
|
|
@@ -1476,6 +1476,8 @@ export interface components {
|
|
|
1476
1476
|
token?: string;
|
|
1477
1477
|
wallet_provider?: components["schemas"]["WalletProviderType"];
|
|
1478
1478
|
/** Format: date-time */
|
|
1479
|
+
card_updated_at?: string;
|
|
1480
|
+
/** Format: date-time */
|
|
1479
1481
|
created_at?: string;
|
|
1480
1482
|
/** Format: date-time */
|
|
1481
1483
|
updated_at?: string;
|
|
@@ -1950,7 +1952,7 @@ export interface components {
|
|
|
1950
1952
|
/** @enum {string} */
|
|
1951
1953
|
PayoutDirectionType: "credit" | "debit";
|
|
1952
1954
|
/** @enum {string} */
|
|
1953
|
-
PayoutStateType: "pending" | "processing" | "succeeded" | "failed" | "
|
|
1955
|
+
PayoutStateType: "pending" | "processing" | "succeeded" | "failed" | "returned";
|
|
1954
1956
|
/** @enum {string} */
|
|
1955
1957
|
RefundStateType: "pending" | "processing" | "requires_review" | "succeeded" | "cancelled" | "failed";
|
|
1956
1958
|
/** @enum {string} */
|
|
@@ -1962,7 +1964,7 @@ export interface components {
|
|
|
1962
1964
|
/** @enum {string} */
|
|
1963
1965
|
WalletProviderType: "googlepay" | "applepay";
|
|
1964
1966
|
/** @enum {string} */
|
|
1965
|
-
WebhookEventType: "charge.cancelled" | "charge.created" | "charge.errored" | "charge.failed" | "charge.processing" | "charge.requires_capture" | "charge.requires_confirmation" | "charge.requires_review" | "charge.settlement_failed" | "charge.succeeded" | "customer.created" | "customer.updated" | "legal_entity.active" | "legal_entity.created" | "legal_entity.updated" | "legal_entity_principal.created" | "legal_entity_principal.updated" | "legal_entity_application.approved" | "legal_entity_application.denied" | "legal_entity_application.needs_information" | "legal_entity_application.pending" | "legal_entity_application.submitted" | "legal_entity_application.under_review" | "merchant.created" | "merchant.updated" | "payment_intent.cancelled" | "payment_intent.created" | "payment_intent.errored_authorization" | "payment_intent.errored_capture" | "payment_intent.errored_sale" | "payment_intent.processing_authorization" | "payment_intent.processing_capture" | "payment_intent.processing_sale" | "payment_intent.requires_capture" | "payment_intent.requires_confirmation" | "payment_intent.requires_payment_method" | "payment_intent.requires_review" | "payment_intent.succeeded" | "payment_method.updated" | "payout.
|
|
1967
|
+
WebhookEventType: "charge.cancelled" | "charge.created" | "charge.errored" | "charge.failed" | "charge.processing" | "charge.requires_capture" | "charge.requires_confirmation" | "charge.requires_review" | "charge.settlement_failed" | "charge.succeeded" | "customer.created" | "customer.updated" | "legal_entity.active" | "legal_entity.created" | "legal_entity.updated" | "legal_entity_principal.created" | "legal_entity_principal.updated" | "legal_entity_application.approved" | "legal_entity_application.denied" | "legal_entity_application.needs_information" | "legal_entity_application.pending" | "legal_entity_application.submitted" | "legal_entity_application.under_review" | "merchant.created" | "merchant.updated" | "payment_intent.cancelled" | "payment_intent.created" | "payment_intent.errored_authorization" | "payment_intent.errored_capture" | "payment_intent.errored_sale" | "payment_intent.processing_authorization" | "payment_intent.processing_capture" | "payment_intent.processing_sale" | "payment_intent.requires_capture" | "payment_intent.requires_confirmation" | "payment_intent.requires_payment_method" | "payment_intent.requires_review" | "payment_intent.succeeded" | "payment_method.updated" | "payout.failed" | "payout.notification_of_change" | "payout.pending" | "payout.processing" | "payout.returned" | "payout.same_day_missed" | "payout.succeeded" | "processor_transaction.completed" | "reconciliation.created" | "refund.cancelled" | "refund.created" | "refund.failed" | "refund.pending" | "refund.processing" | "refund.requires_review" | "refund.succeeded" | "setup_intent.cancelled" | "setup_intent.created" | "setup_intent.errored" | "setup_intent.failed" | "setup_intent.requires_confirmation" | "setup_intent.requires_payment_method" | "setup_intent.requires_review" | "setup_intent.succeeded" | "setup_intent.verifying" | "void.created" | "void.failed" | "void.pending" | "void.processing" | "void.requires_review" | "void.succeeded";
|
|
1966
1968
|
CreateLegalEntityApplicationInput: {
|
|
1967
1969
|
legal_name?: string;
|
|
1968
1970
|
entity_type?: components["schemas"]["LegalEntityEntityType"];
|
|
@@ -2368,7 +2370,7 @@ export interface components {
|
|
|
2368
2370
|
billing_address_attributes?: components["schemas"]["BillingAddressInput"];
|
|
2369
2371
|
card_profile_attributes?: {
|
|
2370
2372
|
brand?: string;
|
|
2371
|
-
/** @description Cardholder name. Letters, spaces,
|
|
2373
|
+
/** @description Cardholder name as stored on the card. 2-26 characters. Letters, numbers, spaces, periods, commas, apostrophes, hyphens, slashes, and ampersands. */
|
|
2372
2374
|
card_holder_name?: string;
|
|
2373
2375
|
cvc?: string;
|
|
2374
2376
|
encrypted_card_number?: string;
|
|
@@ -2491,6 +2493,8 @@ export interface components {
|
|
|
2491
2493
|
direction: components["schemas"]["PayoutDirectionType"];
|
|
2492
2494
|
prefix?: string;
|
|
2493
2495
|
addenda?: string | null;
|
|
2496
|
+
/** @description Request same-day ACH settlement. Allowed before 2:00 PM Central on a Federal Reserve banking day. Defaults to false. */
|
|
2497
|
+
same_day?: boolean;
|
|
2494
2498
|
metadata?: components["schemas"]["Metadata"];
|
|
2495
2499
|
};
|
|
2496
2500
|
CreatePayoutRequest: {
|
|
@@ -2506,6 +2510,8 @@ export interface components {
|
|
|
2506
2510
|
direction: components["schemas"]["PayoutDirectionType"];
|
|
2507
2511
|
prefix?: string;
|
|
2508
2512
|
addenda?: string | null;
|
|
2513
|
+
/** @description Request same-day ACH settlement. Allowed before 2:00 PM Central on a Federal Reserve banking day. Defaults to false. */
|
|
2514
|
+
same_day?: boolean;
|
|
2509
2515
|
metadata?: components["schemas"]["Metadata"];
|
|
2510
2516
|
};
|
|
2511
2517
|
CreateBulkPayoutsRequest: {
|
|
@@ -2531,6 +2537,8 @@ export interface components {
|
|
|
2531
2537
|
payout_batch_id?: string | null;
|
|
2532
2538
|
/** @description ACH return reason code, such as R13, once the payout is returned. */
|
|
2533
2539
|
return_reason_code?: string | null;
|
|
2540
|
+
/** @description True when the payout is still requested for same-day settlement. Set to false when a missed same-day payout is included in a next-day batch. */
|
|
2541
|
+
same_day?: boolean;
|
|
2534
2542
|
state?: components["schemas"]["PayoutStateType"];
|
|
2535
2543
|
/** Format: date-time */
|
|
2536
2544
|
created_at?: string;
|
|
@@ -6198,13 +6206,13 @@ export const allowedBankAccountPaymentMethodTypeValues: ReadonlyArray<FlattenedD
|
|
|
6198
6206
|
export const allowedGooglePayPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedGooglePayPaymentMethod"]["type"]> = ["googlepay"];
|
|
6199
6207
|
export const allowedApplePayPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedApplePayPaymentMethod"]["type"]> = ["applepay"];
|
|
6200
6208
|
export const payoutDirectionTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PayoutDirectionType"]> = ["credit", "debit"];
|
|
6201
|
-
export const payoutStateTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PayoutStateType"]> = ["pending", "processing", "succeeded", "failed", "
|
|
6209
|
+
export const payoutStateTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PayoutStateType"]> = ["pending", "processing", "succeeded", "failed", "returned"];
|
|
6202
6210
|
export const refundStateTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["RefundStateType"]> = ["pending", "processing", "requires_review", "succeeded", "cancelled", "failed"];
|
|
6203
6211
|
export const subscriptionIntervalTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["SubscriptionIntervalType"]> = ["day", "week", "month", "year"];
|
|
6204
6212
|
export const subscriptionPlanTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["SubscriptionPlanType"]> = ["fixed", "variable"];
|
|
6205
6213
|
export const transactionSourceTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["TransactionSourceType"]> = ["api", "dashboard", "iframe", "system", "subscription", "admin"];
|
|
6206
6214
|
export const walletProviderTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["WalletProviderType"]> = ["googlepay", "applepay"];
|
|
6207
|
-
export const webhookEventTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["WebhookEventType"]> = ["charge.cancelled", "charge.created", "charge.errored", "charge.failed", "charge.processing", "charge.requires_capture", "charge.requires_confirmation", "charge.requires_review", "charge.settlement_failed", "charge.succeeded", "customer.created", "customer.updated", "legal_entity.active", "legal_entity.created", "legal_entity.updated", "legal_entity_principal.created", "legal_entity_principal.updated", "legal_entity_application.approved", "legal_entity_application.denied", "legal_entity_application.needs_information", "legal_entity_application.pending", "legal_entity_application.submitted", "legal_entity_application.under_review", "merchant.created", "merchant.updated", "payment_intent.cancelled", "payment_intent.created", "payment_intent.errored_authorization", "payment_intent.errored_capture", "payment_intent.errored_sale", "payment_intent.processing_authorization", "payment_intent.processing_capture", "payment_intent.processing_sale", "payment_intent.requires_capture", "payment_intent.requires_confirmation", "payment_intent.requires_payment_method", "payment_intent.requires_review", "payment_intent.succeeded", "payment_method.updated", "payout.
|
|
6215
|
+
export const webhookEventTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["WebhookEventType"]> = ["charge.cancelled", "charge.created", "charge.errored", "charge.failed", "charge.processing", "charge.requires_capture", "charge.requires_confirmation", "charge.requires_review", "charge.settlement_failed", "charge.succeeded", "customer.created", "customer.updated", "legal_entity.active", "legal_entity.created", "legal_entity.updated", "legal_entity_principal.created", "legal_entity_principal.updated", "legal_entity_application.approved", "legal_entity_application.denied", "legal_entity_application.needs_information", "legal_entity_application.pending", "legal_entity_application.submitted", "legal_entity_application.under_review", "merchant.created", "merchant.updated", "payment_intent.cancelled", "payment_intent.created", "payment_intent.errored_authorization", "payment_intent.errored_capture", "payment_intent.errored_sale", "payment_intent.processing_authorization", "payment_intent.processing_capture", "payment_intent.processing_sale", "payment_intent.requires_capture", "payment_intent.requires_confirmation", "payment_intent.requires_payment_method", "payment_intent.requires_review", "payment_intent.succeeded", "payment_method.updated", "payout.failed", "payout.notification_of_change", "payout.pending", "payout.processing", "payout.returned", "payout.same_day_missed", "payout.succeeded", "processor_transaction.completed", "reconciliation.created", "refund.cancelled", "refund.created", "refund.failed", "refund.pending", "refund.processing", "refund.requires_review", "refund.succeeded", "setup_intent.cancelled", "setup_intent.created", "setup_intent.errored", "setup_intent.failed", "setup_intent.requires_confirmation", "setup_intent.requires_payment_method", "setup_intent.requires_review", "setup_intent.succeeded", "setup_intent.verifying", "void.created", "void.failed", "void.pending", "void.processing", "void.requires_review", "void.succeeded"];
|
|
6208
6216
|
export const organizationKindValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Organization"]["kind"]> = ["direct", "payfac"];
|
|
6209
6217
|
export const originApplepayRegistrationStateTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["OriginApplepayRegistrationStateType"]> = ["pending", "skipped", "registered", "failed"];
|
|
6210
6218
|
export const paymentIntentStateValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PaymentIntent"]["state"]> = ["requires_payment_method", "requires_confirmation", "requires_capture", "processing_authorization", "processing_capture", "processing_sale", "requires_review", "succeeded", "cancelled", "errored_authorization", "errored_capture", "errored_sale"];
|