@amos.com/node 0.1.44 → 0.1.45
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 +2 -17
- package/dist/index.d.ts +2 -17
- package/dist/index.js +0 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -4
- package/dist/index.mjs.map +1 -1
- package/openapi/schema.ts +1 -16
- package/package.json +1 -1
package/openapi/schema.ts
CHANGED
|
@@ -2053,21 +2053,11 @@ export interface components {
|
|
|
2053
2053
|
/** @enum {string} */
|
|
2054
2054
|
state?: "requires_payment_method" | "requires_confirmation" | "requires_capture" | "processing_authorization" | "processing_capture" | "processing_sale" | "requires_review" | "succeeded" | "cancelled" | "errored_authorization" | "errored_capture" | "errored_sale";
|
|
2055
2055
|
statement_descriptor?: string;
|
|
2056
|
-
/** @description True when the intent amount meets or exceeds the configured ACH verification threshold. */
|
|
2057
|
-
requires_ach_verification?: boolean;
|
|
2058
|
-
ach_verification?: components["schemas"]["AchVerification"];
|
|
2059
2056
|
/** Format: date-time */
|
|
2060
2057
|
created_at?: string;
|
|
2061
2058
|
/** Format: date-time */
|
|
2062
2059
|
updated_at?: string;
|
|
2063
2060
|
};
|
|
2064
|
-
/** @description Instructions for the embed client to complete ACH verification via Plaid Link. */
|
|
2065
|
-
AchVerification: {
|
|
2066
|
-
/** @enum {string} */
|
|
2067
|
-
type: "plaid_auth";
|
|
2068
|
-
/** @description Short-lived Plaid Link token used to open Link in the embed client. */
|
|
2069
|
-
link_token: string;
|
|
2070
|
-
};
|
|
2071
2061
|
/** @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. */
|
|
2072
2062
|
RecurringPayment: {
|
|
2073
2063
|
/** @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. */
|
|
@@ -3680,10 +3670,7 @@ export interface operations {
|
|
|
3680
3670
|
};
|
|
3681
3671
|
GetEmbedPaymentIntent: {
|
|
3682
3672
|
parameters: {
|
|
3683
|
-
query?:
|
|
3684
|
-
/** @description When set to bank_account and ACH verification is required for the intent amount, the response includes ach_verification.link_token for Plaid Link. */
|
|
3685
|
-
payment_method_type?: "bank_account";
|
|
3686
|
-
};
|
|
3673
|
+
query?: never;
|
|
3687
3674
|
header?: never;
|
|
3688
3675
|
path: {
|
|
3689
3676
|
/** @description The ID of the payment intent to retrieve */
|
|
@@ -5340,7 +5327,6 @@ type ReadonlyArray<T> = [
|
|
|
5340
5327
|
] extends [
|
|
5341
5328
|
unknown[]
|
|
5342
5329
|
] ? Readonly<Exclude<T, undefined>> : Readonly<Exclude<T, undefined>[]>;
|
|
5343
|
-
export const pathsEmbedPayment_intentsIdGetParametersQueryPayment_method_typeValues: ReadonlyArray<FlattenedDeepRequired<paths>["/embed/payment_intents/{id}"]["get"]["parameters"]["query"]["payment_method_type"]> = ["bank_account"];
|
|
5344
5330
|
export const bankAccountProfileFailure_reasonValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["BankAccountProfile"]["failure_reason"]> = ["activation_failed", "processing_error", "vault_failed", "insufficient_funds", "verification_failed"];
|
|
5345
5331
|
export const cardProfileFailure_reasonValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["CardProfile"]["failure_reason"]> = ["authorization_failed", "avs_blocked", "brand_not_allowed", "brand_not_found", "cvc_blocked", "processing_error", "vault_failed"];
|
|
5346
5332
|
export const chargeAllowed_reverse_actionValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Charge"]["allowed_reverse_action"]> = ["void", "refund"];
|
|
@@ -5378,7 +5364,6 @@ export const walletProviderTypeValues: ReadonlyArray<FlattenedDeepRequired<compo
|
|
|
5378
5364
|
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.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", "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", "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"];
|
|
5379
5365
|
export const organizationKindValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Organization"]["kind"]> = ["direct", "payfac"];
|
|
5380
5366
|
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"];
|
|
5381
|
-
export const achVerificationTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AchVerification"]["type"]> = ["plaid_auth"];
|
|
5382
5367
|
export const processorTransactionPayment_transaction_typeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["ProcessorTransaction"]["payment_transaction_type"]> = ["charge", "refund", "void"];
|
|
5383
5368
|
export const processorTransactionTransaction_typeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["ProcessorTransaction"]["transaction_type"]> = ["authorization", "authorization_reversal", "capture", "credit", "echeck_credit", "echeck_sale", "echeck_void", "sale", "void"];
|
|
5384
5369
|
export const refundAllowed_reverse_actionValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Refund"]["allowed_reverse_action"]> = ["void"];
|