@amos.com/node 0.1.32 → 0.1.33
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 +37 -3
- package/dist/index.d.ts +37 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/openapi/schema.ts +37 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1264,10 +1264,20 @@ interface components {
|
|
|
1264
1264
|
exp_year?: number;
|
|
1265
1265
|
moto?: boolean;
|
|
1266
1266
|
};
|
|
1267
|
+
/** @description Apple Pay card profile for embed confirm. Clients must send the raw PKPaymentToken as wallet_payload; Vault decrypts it and returns the cryptogram. Encrypted PAN and client-supplied cryptogram are not supported. */
|
|
1268
|
+
ApplePayCardProfileInput: {
|
|
1269
|
+
wallet_brand?: string;
|
|
1270
|
+
/** @description Display last4 from the Apple Pay payment method. */
|
|
1271
|
+
wallet_last4?: string;
|
|
1272
|
+
/** @description The unmodified JSON-encoded PKPaymentToken. */
|
|
1273
|
+
wallet_payload: string;
|
|
1274
|
+
wallet_provider?: components["schemas"]["WalletProviderType"];
|
|
1275
|
+
};
|
|
1267
1276
|
GooglePayCardProfileInput: {
|
|
1268
1277
|
wallet_brand?: string;
|
|
1269
1278
|
wallet_last4?: string;
|
|
1270
|
-
|
|
1279
|
+
/** @description The unmodified Google Pay payment token payload. */
|
|
1280
|
+
wallet_payload: string;
|
|
1271
1281
|
wallet_provider?: components["schemas"]["WalletProviderType"];
|
|
1272
1282
|
};
|
|
1273
1283
|
CardProfile: {
|
|
@@ -1594,7 +1604,7 @@ interface components {
|
|
|
1594
1604
|
type: "applepay";
|
|
1595
1605
|
metadata?: components["schemas"]["Metadata"];
|
|
1596
1606
|
billing_address_attributes?: components["schemas"]["BillingAddressInput"];
|
|
1597
|
-
card_profile_attributes: components["schemas"]["
|
|
1607
|
+
card_profile_attributes: components["schemas"]["ApplePayCardProfileInput"];
|
|
1598
1608
|
};
|
|
1599
1609
|
/** @description One-time Plaid Link credentials used to source and verify a bank account when ACH verification is required. */
|
|
1600
1610
|
PlaidCredentialsInput: {
|
|
@@ -1966,8 +1976,13 @@ interface components {
|
|
|
1966
1976
|
/** @description Short-lived Plaid Link token used to open Link in the embed client. */
|
|
1967
1977
|
link_token: string;
|
|
1968
1978
|
};
|
|
1979
|
+
/** @description How this payment intent relates to a recurring series. Use `initial` for the first charge that establishes the series. Use `network_transaction_id` and/or `transaction_link_id` for subsequent merchant-initiated charges. Do not combine `initial` with network identifiers on the same request. */
|
|
1969
1980
|
RecurringPayment: {
|
|
1981
|
+
/** @description When true, marks the first payment in a recurring series so the processor can treat it as an initial recurring / credential-on-file setup transaction. */
|
|
1982
|
+
initial?: boolean;
|
|
1983
|
+
/** @description Network transaction id from the initial recurring charge, used for subsequent merchant-initiated payments. */
|
|
1970
1984
|
network_transaction_id?: string;
|
|
1985
|
+
/** @description Processor transaction link id for subsequent recurring payments where supported. */
|
|
1971
1986
|
transaction_link_id?: string;
|
|
1972
1987
|
};
|
|
1973
1988
|
CreatePaymentLinkInput: {
|
|
@@ -2472,13 +2487,32 @@ interface components {
|
|
|
2472
2487
|
/** Format: date-time */
|
|
2473
2488
|
updated_at?: string;
|
|
2474
2489
|
};
|
|
2490
|
+
/** @description Body POSTed to a webhook endpoint for an event delivery. */
|
|
2491
|
+
WebhookEventPayload: {
|
|
2492
|
+
/**
|
|
2493
|
+
* Format: uuid
|
|
2494
|
+
* @description Stable event id for this delivery. Identical across retries of the same event; use for idempotent handling.
|
|
2495
|
+
*/
|
|
2496
|
+
id: string;
|
|
2497
|
+
/**
|
|
2498
|
+
* Format: uuid
|
|
2499
|
+
* @description Id of the webhook endpoint that received this delivery.
|
|
2500
|
+
*/
|
|
2501
|
+
webhook_id: string;
|
|
2502
|
+
event: components["schemas"]["WebhookEventType"];
|
|
2503
|
+
/** @description Event-specific payload keyed by resource descriptor. */
|
|
2504
|
+
data: {
|
|
2505
|
+
[key: string]: unknown;
|
|
2506
|
+
};
|
|
2507
|
+
metadata?: components["schemas"]["Metadata"];
|
|
2508
|
+
};
|
|
2475
2509
|
WebhookRequest: {
|
|
2476
2510
|
id?: string;
|
|
2477
2511
|
/** Format: uuid */
|
|
2478
2512
|
webhook_endpoint_id?: string;
|
|
2479
2513
|
/** Format: date-time */
|
|
2480
2514
|
expires_at?: string;
|
|
2481
|
-
request_body?:
|
|
2515
|
+
request_body?: components["schemas"]["WebhookEventPayload"];
|
|
2482
2516
|
/** Format: date-time */
|
|
2483
2517
|
created_at?: string;
|
|
2484
2518
|
/** Format: date-time */
|
package/dist/index.d.ts
CHANGED
|
@@ -1264,10 +1264,20 @@ interface components {
|
|
|
1264
1264
|
exp_year?: number;
|
|
1265
1265
|
moto?: boolean;
|
|
1266
1266
|
};
|
|
1267
|
+
/** @description Apple Pay card profile for embed confirm. Clients must send the raw PKPaymentToken as wallet_payload; Vault decrypts it and returns the cryptogram. Encrypted PAN and client-supplied cryptogram are not supported. */
|
|
1268
|
+
ApplePayCardProfileInput: {
|
|
1269
|
+
wallet_brand?: string;
|
|
1270
|
+
/** @description Display last4 from the Apple Pay payment method. */
|
|
1271
|
+
wallet_last4?: string;
|
|
1272
|
+
/** @description The unmodified JSON-encoded PKPaymentToken. */
|
|
1273
|
+
wallet_payload: string;
|
|
1274
|
+
wallet_provider?: components["schemas"]["WalletProviderType"];
|
|
1275
|
+
};
|
|
1267
1276
|
GooglePayCardProfileInput: {
|
|
1268
1277
|
wallet_brand?: string;
|
|
1269
1278
|
wallet_last4?: string;
|
|
1270
|
-
|
|
1279
|
+
/** @description The unmodified Google Pay payment token payload. */
|
|
1280
|
+
wallet_payload: string;
|
|
1271
1281
|
wallet_provider?: components["schemas"]["WalletProviderType"];
|
|
1272
1282
|
};
|
|
1273
1283
|
CardProfile: {
|
|
@@ -1594,7 +1604,7 @@ interface components {
|
|
|
1594
1604
|
type: "applepay";
|
|
1595
1605
|
metadata?: components["schemas"]["Metadata"];
|
|
1596
1606
|
billing_address_attributes?: components["schemas"]["BillingAddressInput"];
|
|
1597
|
-
card_profile_attributes: components["schemas"]["
|
|
1607
|
+
card_profile_attributes: components["schemas"]["ApplePayCardProfileInput"];
|
|
1598
1608
|
};
|
|
1599
1609
|
/** @description One-time Plaid Link credentials used to source and verify a bank account when ACH verification is required. */
|
|
1600
1610
|
PlaidCredentialsInput: {
|
|
@@ -1966,8 +1976,13 @@ interface components {
|
|
|
1966
1976
|
/** @description Short-lived Plaid Link token used to open Link in the embed client. */
|
|
1967
1977
|
link_token: string;
|
|
1968
1978
|
};
|
|
1979
|
+
/** @description How this payment intent relates to a recurring series. Use `initial` for the first charge that establishes the series. Use `network_transaction_id` and/or `transaction_link_id` for subsequent merchant-initiated charges. Do not combine `initial` with network identifiers on the same request. */
|
|
1969
1980
|
RecurringPayment: {
|
|
1981
|
+
/** @description When true, marks the first payment in a recurring series so the processor can treat it as an initial recurring / credential-on-file setup transaction. */
|
|
1982
|
+
initial?: boolean;
|
|
1983
|
+
/** @description Network transaction id from the initial recurring charge, used for subsequent merchant-initiated payments. */
|
|
1970
1984
|
network_transaction_id?: string;
|
|
1985
|
+
/** @description Processor transaction link id for subsequent recurring payments where supported. */
|
|
1971
1986
|
transaction_link_id?: string;
|
|
1972
1987
|
};
|
|
1973
1988
|
CreatePaymentLinkInput: {
|
|
@@ -2472,13 +2487,32 @@ interface components {
|
|
|
2472
2487
|
/** Format: date-time */
|
|
2473
2488
|
updated_at?: string;
|
|
2474
2489
|
};
|
|
2490
|
+
/** @description Body POSTed to a webhook endpoint for an event delivery. */
|
|
2491
|
+
WebhookEventPayload: {
|
|
2492
|
+
/**
|
|
2493
|
+
* Format: uuid
|
|
2494
|
+
* @description Stable event id for this delivery. Identical across retries of the same event; use for idempotent handling.
|
|
2495
|
+
*/
|
|
2496
|
+
id: string;
|
|
2497
|
+
/**
|
|
2498
|
+
* Format: uuid
|
|
2499
|
+
* @description Id of the webhook endpoint that received this delivery.
|
|
2500
|
+
*/
|
|
2501
|
+
webhook_id: string;
|
|
2502
|
+
event: components["schemas"]["WebhookEventType"];
|
|
2503
|
+
/** @description Event-specific payload keyed by resource descriptor. */
|
|
2504
|
+
data: {
|
|
2505
|
+
[key: string]: unknown;
|
|
2506
|
+
};
|
|
2507
|
+
metadata?: components["schemas"]["Metadata"];
|
|
2508
|
+
};
|
|
2475
2509
|
WebhookRequest: {
|
|
2476
2510
|
id?: string;
|
|
2477
2511
|
/** Format: uuid */
|
|
2478
2512
|
webhook_endpoint_id?: string;
|
|
2479
2513
|
/** Format: date-time */
|
|
2480
2514
|
expires_at?: string;
|
|
2481
|
-
request_body?:
|
|
2515
|
+
request_body?: components["schemas"]["WebhookEventPayload"];
|
|
2482
2516
|
/** Format: date-time */
|
|
2483
2517
|
created_at?: string;
|
|
2484
2518
|
/** Format: date-time */
|