@amos.com/node 0.1.22 → 0.1.24
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 +73 -5
- package/dist/index.d.ts +73 -5
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/openapi/schema.ts +73 -5
- package/package.json +1 -1
package/openapi/schema.ts
CHANGED
|
@@ -1228,6 +1228,7 @@ export interface components {
|
|
|
1228
1228
|
account_holder_type?: string;
|
|
1229
1229
|
account_type?: string;
|
|
1230
1230
|
bank_name?: string;
|
|
1231
|
+
fingerprint?: string | null;
|
|
1231
1232
|
last4?: string;
|
|
1232
1233
|
routing_number?: string;
|
|
1233
1234
|
state?: string;
|
|
@@ -1288,6 +1289,7 @@ export interface components {
|
|
|
1288
1289
|
exp_year?: number;
|
|
1289
1290
|
first6?: string;
|
|
1290
1291
|
funding?: string | null;
|
|
1292
|
+
fingerprint?: string | null;
|
|
1291
1293
|
last4?: string;
|
|
1292
1294
|
state?: string;
|
|
1293
1295
|
three_d_secure_supported?: boolean | null;
|
|
@@ -1313,6 +1315,7 @@ export interface components {
|
|
|
1313
1315
|
merchant_id?: string;
|
|
1314
1316
|
/** Format: uuid */
|
|
1315
1317
|
processor_id?: string;
|
|
1318
|
+
worldpay_mid?: string;
|
|
1316
1319
|
/** Format: date-time */
|
|
1317
1320
|
created_at?: string;
|
|
1318
1321
|
/** Format: date-time */
|
|
@@ -1478,6 +1481,10 @@ export interface components {
|
|
|
1478
1481
|
document_type?: components["schemas"]["LegalEntityDocumentType"];
|
|
1479
1482
|
/** Format: uuid */
|
|
1480
1483
|
file_upload_id?: string;
|
|
1484
|
+
file_name?: string;
|
|
1485
|
+
byte_size?: number;
|
|
1486
|
+
/** Format: date-time */
|
|
1487
|
+
created_at?: string;
|
|
1481
1488
|
};
|
|
1482
1489
|
CreateLegalEntityApplicationPrincipalInput: {
|
|
1483
1490
|
/** Format: uuid */
|
|
@@ -1550,7 +1557,7 @@ export interface components {
|
|
|
1550
1557
|
/** @enum {string} */
|
|
1551
1558
|
PaymentLinkAmountType: "fixed" | "open";
|
|
1552
1559
|
/** @enum {string} */
|
|
1553
|
-
PaymentMethodType: "card" | "bank_account" | "googlepay";
|
|
1560
|
+
PaymentMethodType: "card" | "bank_account" | "googlepay" | "applepay";
|
|
1554
1561
|
/** @description Payment method details used when confirming an embedded intent with a new payment method. */
|
|
1555
1562
|
EmbedConfirmPaymentMethodInput: components["schemas"]["EmbedConfirmCardPaymentMethodInput"] | components["schemas"]["EmbedConfirmBankAccountPaymentMethodInput"] | components["schemas"]["EmbedConfirmGooglePayPaymentMethodInput"] | components["schemas"]["EmbedConfirmApplePayPaymentMethodInput"];
|
|
1556
1563
|
EmbedConfirmCardPaymentMethodInput: {
|
|
@@ -1600,6 +1607,8 @@ export interface components {
|
|
|
1600
1607
|
AllowedBankAccountPaymentMethodOptions: Record<string, never>;
|
|
1601
1608
|
/** @description No configurable options for Google Pay payment methods. */
|
|
1602
1609
|
AllowedGooglePayPaymentMethodOptions: Record<string, never>;
|
|
1610
|
+
/** @description No configurable options for Apple Pay payment methods. */
|
|
1611
|
+
AllowedApplePayPaymentMethodOptions: Record<string, never>;
|
|
1603
1612
|
AllowedCardPaymentMethodInput: {
|
|
1604
1613
|
/**
|
|
1605
1614
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -1624,8 +1633,16 @@ export interface components {
|
|
|
1624
1633
|
type: "googlepay";
|
|
1625
1634
|
options?: components["schemas"]["AllowedGooglePayPaymentMethodOptions"];
|
|
1626
1635
|
};
|
|
1636
|
+
AllowedApplePayPaymentMethodInput: {
|
|
1637
|
+
/**
|
|
1638
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1639
|
+
* @enum {string}
|
|
1640
|
+
*/
|
|
1641
|
+
type: "applepay";
|
|
1642
|
+
options?: components["schemas"]["AllowedApplePayPaymentMethodOptions"];
|
|
1643
|
+
};
|
|
1627
1644
|
/** @description Payment method allowed on a render template, payment link, or merchant application. */
|
|
1628
|
-
AllowedPaymentMethodInput: components["schemas"]["AllowedCardPaymentMethodInput"] | components["schemas"]["AllowedBankAccountPaymentMethodInput"] | components["schemas"]["AllowedGooglePayPaymentMethodInput"];
|
|
1645
|
+
AllowedPaymentMethodInput: components["schemas"]["AllowedCardPaymentMethodInput"] | components["schemas"]["AllowedBankAccountPaymentMethodInput"] | components["schemas"]["AllowedGooglePayPaymentMethodInput"] | components["schemas"]["AllowedApplePayPaymentMethodInput"];
|
|
1629
1646
|
AllowedCardPaymentMethod: {
|
|
1630
1647
|
/**
|
|
1631
1648
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -1650,8 +1667,16 @@ export interface components {
|
|
|
1650
1667
|
type: "googlepay";
|
|
1651
1668
|
options: components["schemas"]["AllowedGooglePayPaymentMethodOptions"];
|
|
1652
1669
|
};
|
|
1670
|
+
AllowedApplePayPaymentMethod: {
|
|
1671
|
+
/**
|
|
1672
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1673
|
+
* @enum {string}
|
|
1674
|
+
*/
|
|
1675
|
+
type: "applepay";
|
|
1676
|
+
options: components["schemas"]["AllowedApplePayPaymentMethodOptions"];
|
|
1677
|
+
};
|
|
1653
1678
|
/** @description Allowed payment method returned in API responses and render token JWT payloads. */
|
|
1654
|
-
AllowedPaymentMethod: components["schemas"]["AllowedCardPaymentMethod"] | components["schemas"]["AllowedBankAccountPaymentMethod"] | components["schemas"]["AllowedGooglePayPaymentMethod"];
|
|
1679
|
+
AllowedPaymentMethod: components["schemas"]["AllowedCardPaymentMethod"] | components["schemas"]["AllowedBankAccountPaymentMethod"] | components["schemas"]["AllowedGooglePayPaymentMethod"] | components["schemas"]["AllowedApplePayPaymentMethod"];
|
|
1655
1680
|
/** @enum {string} */
|
|
1656
1681
|
PayoutDirectionType: "credit" | "debit";
|
|
1657
1682
|
/** @enum {string} */
|
|
@@ -1700,7 +1725,11 @@ export interface components {
|
|
|
1700
1725
|
LegalEntity: {
|
|
1701
1726
|
/** Format: uuid */
|
|
1702
1727
|
id?: string;
|
|
1728
|
+
/** Format: uuid */
|
|
1729
|
+
organization_id?: string;
|
|
1703
1730
|
legal_name?: string;
|
|
1731
|
+
/** Format: uuid */
|
|
1732
|
+
parent_legal_entity_id?: string | null;
|
|
1704
1733
|
entity_type?: components["schemas"]["LegalEntityEntityType"];
|
|
1705
1734
|
ownership_type?: components["schemas"]["LegalEntityOwnershipType"];
|
|
1706
1735
|
contact_email?: string;
|
|
@@ -1712,6 +1741,8 @@ export interface components {
|
|
|
1712
1741
|
business_postal_code?: string;
|
|
1713
1742
|
business_country?: string;
|
|
1714
1743
|
tax_id_last4?: string;
|
|
1744
|
+
/** Format: date-time */
|
|
1745
|
+
created_at?: string;
|
|
1715
1746
|
};
|
|
1716
1747
|
LegalEntityApplication: {
|
|
1717
1748
|
/** Format: uuid */
|
|
@@ -1731,6 +1762,17 @@ export interface components {
|
|
|
1731
1762
|
business_country?: string;
|
|
1732
1763
|
state?: string;
|
|
1733
1764
|
tax_id_last4?: string;
|
|
1765
|
+
/** Format: date-time */
|
|
1766
|
+
approved_at?: string | null;
|
|
1767
|
+
/** Format: date-time */
|
|
1768
|
+
denied_at?: string | null;
|
|
1769
|
+
/** Format: date-time */
|
|
1770
|
+
needs_information_at?: string | null;
|
|
1771
|
+
decision_reason?: string | null;
|
|
1772
|
+
/** Format: date-time */
|
|
1773
|
+
created_at?: string;
|
|
1774
|
+
/** Format: date-time */
|
|
1775
|
+
updated_at?: string;
|
|
1734
1776
|
requirements?: components["schemas"]["LegalEntityApplicationRequirement"][];
|
|
1735
1777
|
};
|
|
1736
1778
|
CreateMerchantApplicationInput: {
|
|
@@ -1797,16 +1839,40 @@ export interface components {
|
|
|
1797
1839
|
Merchant: {
|
|
1798
1840
|
/** Format: uuid */
|
|
1799
1841
|
id?: string;
|
|
1842
|
+
active?: boolean;
|
|
1800
1843
|
/** Format: uuid */
|
|
1801
1844
|
organization_id?: string;
|
|
1802
1845
|
/** Format: uuid */
|
|
1803
1846
|
legal_entity_id?: string;
|
|
1804
1847
|
annual_credit_card_sales_volume?: number;
|
|
1805
1848
|
allowed_payment_methods?: components["schemas"]["AllowedPaymentMethod"][];
|
|
1849
|
+
business_category?: components["schemas"]["MerchantBusinessCategoryType"];
|
|
1850
|
+
business_description?: string;
|
|
1851
|
+
city?: string;
|
|
1852
|
+
country_code?: string;
|
|
1853
|
+
customer_service_number?: string;
|
|
1806
1854
|
has_accepted_credit_cards?: boolean;
|
|
1807
1855
|
dba_name?: string;
|
|
1808
|
-
|
|
1856
|
+
echeck_billing_descriptor?: string;
|
|
1857
|
+
echeck_company_name?: string;
|
|
1858
|
+
echeck_enabled?: boolean;
|
|
1859
|
+
hard_coded_billing_descriptor?: string;
|
|
1860
|
+
max_transaction_amount?: number;
|
|
1861
|
+
/** Format: uuid */
|
|
1862
|
+
merchant_application_id?: string;
|
|
1809
1863
|
mcc?: string;
|
|
1864
|
+
naics_code?: string;
|
|
1865
|
+
postal_code?: string;
|
|
1866
|
+
primary_contact_email_address?: string;
|
|
1867
|
+
primary_contact_first_name?: string;
|
|
1868
|
+
primary_contact_last_name?: string;
|
|
1869
|
+
primary_contact_phone?: string;
|
|
1870
|
+
purchase_currency?: string;
|
|
1871
|
+
settlement_currency?: string;
|
|
1872
|
+
street_address1?: string;
|
|
1873
|
+
street_address2?: string;
|
|
1874
|
+
sub_merchant_id?: string;
|
|
1875
|
+
website_url?: string;
|
|
1810
1876
|
/** Format: date-time */
|
|
1811
1877
|
created_at?: string;
|
|
1812
1878
|
/** Format: date-time */
|
|
@@ -5053,7 +5119,7 @@ export const legalEntityOwnershipTypeValues: ReadonlyArray<FlattenedDeepRequired
|
|
|
5053
5119
|
export const legalEntityDocumentTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["LegalEntityDocumentType"]> = ["irs_cp_575"];
|
|
5054
5120
|
export const merchantBusinessCategoryTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["MerchantBusinessCategoryType"]> = ["business_association", "charity", "church", "county", "federal", "fraternal_org", "government", "higher_education", "k12", "labor_union", "local", "ministry", "pac", "parachurch", "party", "preschool", "social_club", "social_welfare", "state", "tribal", "vendor", "veterans_org"];
|
|
5055
5121
|
export const paymentLinkAmountTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PaymentLinkAmountType"]> = ["fixed", "open"];
|
|
5056
|
-
export const paymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PaymentMethodType"]> = ["card", "bank_account", "googlepay"];
|
|
5122
|
+
export const paymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PaymentMethodType"]> = ["card", "bank_account", "googlepay", "applepay"];
|
|
5057
5123
|
export const embedConfirmCardPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmCardPaymentMethodInput"]["type"]> = ["card"];
|
|
5058
5124
|
export const embedConfirmBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmBankAccountPaymentMethodInput"]["type"]> = ["bank_account"];
|
|
5059
5125
|
export const embedConfirmGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmGooglePayPaymentMethodInput"]["type"]> = ["googlepay"];
|
|
@@ -5061,9 +5127,11 @@ export const embedConfirmApplePayPaymentMethodInputTypeValues: ReadonlyArray<Fla
|
|
|
5061
5127
|
export const allowedCardPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedCardPaymentMethodInput"]["type"]> = ["card"];
|
|
5062
5128
|
export const allowedBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedBankAccountPaymentMethodInput"]["type"]> = ["bank_account"];
|
|
5063
5129
|
export const allowedGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedGooglePayPaymentMethodInput"]["type"]> = ["googlepay"];
|
|
5130
|
+
export const allowedApplePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedApplePayPaymentMethodInput"]["type"]> = ["applepay"];
|
|
5064
5131
|
export const allowedCardPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedCardPaymentMethod"]["type"]> = ["card"];
|
|
5065
5132
|
export const allowedBankAccountPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedBankAccountPaymentMethod"]["type"]> = ["bank_account"];
|
|
5066
5133
|
export const allowedGooglePayPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedGooglePayPaymentMethod"]["type"]> = ["googlepay"];
|
|
5134
|
+
export const allowedApplePayPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedApplePayPaymentMethod"]["type"]> = ["applepay"];
|
|
5067
5135
|
export const payoutDirectionTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PayoutDirectionType"]> = ["credit", "debit"];
|
|
5068
5136
|
export const payoutStateTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PayoutStateType"]> = ["pending", "processing", "succeeded", "failed", "errored", "accepted", "rejected"];
|
|
5069
5137
|
export const refundStateTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["RefundStateType"]> = ["pending", "processing", "requires_review", "succeeded", "cancelled", "failed"];
|