@amos.com/node 0.1.23 → 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 +71 -5
- package/dist/index.d.ts +71 -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 +71 -5
- package/package.json +1 -1
package/openapi/schema.ts
CHANGED
|
@@ -1315,6 +1315,7 @@ export interface components {
|
|
|
1315
1315
|
merchant_id?: string;
|
|
1316
1316
|
/** Format: uuid */
|
|
1317
1317
|
processor_id?: string;
|
|
1318
|
+
worldpay_mid?: string;
|
|
1318
1319
|
/** Format: date-time */
|
|
1319
1320
|
created_at?: string;
|
|
1320
1321
|
/** Format: date-time */
|
|
@@ -1480,6 +1481,10 @@ export interface components {
|
|
|
1480
1481
|
document_type?: components["schemas"]["LegalEntityDocumentType"];
|
|
1481
1482
|
/** Format: uuid */
|
|
1482
1483
|
file_upload_id?: string;
|
|
1484
|
+
file_name?: string;
|
|
1485
|
+
byte_size?: number;
|
|
1486
|
+
/** Format: date-time */
|
|
1487
|
+
created_at?: string;
|
|
1483
1488
|
};
|
|
1484
1489
|
CreateLegalEntityApplicationPrincipalInput: {
|
|
1485
1490
|
/** Format: uuid */
|
|
@@ -1552,7 +1557,7 @@ export interface components {
|
|
|
1552
1557
|
/** @enum {string} */
|
|
1553
1558
|
PaymentLinkAmountType: "fixed" | "open";
|
|
1554
1559
|
/** @enum {string} */
|
|
1555
|
-
PaymentMethodType: "card" | "bank_account" | "googlepay";
|
|
1560
|
+
PaymentMethodType: "card" | "bank_account" | "googlepay" | "applepay";
|
|
1556
1561
|
/** @description Payment method details used when confirming an embedded intent with a new payment method. */
|
|
1557
1562
|
EmbedConfirmPaymentMethodInput: components["schemas"]["EmbedConfirmCardPaymentMethodInput"] | components["schemas"]["EmbedConfirmBankAccountPaymentMethodInput"] | components["schemas"]["EmbedConfirmGooglePayPaymentMethodInput"] | components["schemas"]["EmbedConfirmApplePayPaymentMethodInput"];
|
|
1558
1563
|
EmbedConfirmCardPaymentMethodInput: {
|
|
@@ -1602,6 +1607,8 @@ export interface components {
|
|
|
1602
1607
|
AllowedBankAccountPaymentMethodOptions: Record<string, never>;
|
|
1603
1608
|
/** @description No configurable options for Google Pay payment methods. */
|
|
1604
1609
|
AllowedGooglePayPaymentMethodOptions: Record<string, never>;
|
|
1610
|
+
/** @description No configurable options for Apple Pay payment methods. */
|
|
1611
|
+
AllowedApplePayPaymentMethodOptions: Record<string, never>;
|
|
1605
1612
|
AllowedCardPaymentMethodInput: {
|
|
1606
1613
|
/**
|
|
1607
1614
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -1626,8 +1633,16 @@ export interface components {
|
|
|
1626
1633
|
type: "googlepay";
|
|
1627
1634
|
options?: components["schemas"]["AllowedGooglePayPaymentMethodOptions"];
|
|
1628
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
|
+
};
|
|
1629
1644
|
/** @description Payment method allowed on a render template, payment link, or merchant application. */
|
|
1630
|
-
AllowedPaymentMethodInput: components["schemas"]["AllowedCardPaymentMethodInput"] | components["schemas"]["AllowedBankAccountPaymentMethodInput"] | components["schemas"]["AllowedGooglePayPaymentMethodInput"];
|
|
1645
|
+
AllowedPaymentMethodInput: components["schemas"]["AllowedCardPaymentMethodInput"] | components["schemas"]["AllowedBankAccountPaymentMethodInput"] | components["schemas"]["AllowedGooglePayPaymentMethodInput"] | components["schemas"]["AllowedApplePayPaymentMethodInput"];
|
|
1631
1646
|
AllowedCardPaymentMethod: {
|
|
1632
1647
|
/**
|
|
1633
1648
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -1652,8 +1667,16 @@ export interface components {
|
|
|
1652
1667
|
type: "googlepay";
|
|
1653
1668
|
options: components["schemas"]["AllowedGooglePayPaymentMethodOptions"];
|
|
1654
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
|
+
};
|
|
1655
1678
|
/** @description Allowed payment method returned in API responses and render token JWT payloads. */
|
|
1656
|
-
AllowedPaymentMethod: components["schemas"]["AllowedCardPaymentMethod"] | components["schemas"]["AllowedBankAccountPaymentMethod"] | components["schemas"]["AllowedGooglePayPaymentMethod"];
|
|
1679
|
+
AllowedPaymentMethod: components["schemas"]["AllowedCardPaymentMethod"] | components["schemas"]["AllowedBankAccountPaymentMethod"] | components["schemas"]["AllowedGooglePayPaymentMethod"] | components["schemas"]["AllowedApplePayPaymentMethod"];
|
|
1657
1680
|
/** @enum {string} */
|
|
1658
1681
|
PayoutDirectionType: "credit" | "debit";
|
|
1659
1682
|
/** @enum {string} */
|
|
@@ -1702,7 +1725,11 @@ export interface components {
|
|
|
1702
1725
|
LegalEntity: {
|
|
1703
1726
|
/** Format: uuid */
|
|
1704
1727
|
id?: string;
|
|
1728
|
+
/** Format: uuid */
|
|
1729
|
+
organization_id?: string;
|
|
1705
1730
|
legal_name?: string;
|
|
1731
|
+
/** Format: uuid */
|
|
1732
|
+
parent_legal_entity_id?: string | null;
|
|
1706
1733
|
entity_type?: components["schemas"]["LegalEntityEntityType"];
|
|
1707
1734
|
ownership_type?: components["schemas"]["LegalEntityOwnershipType"];
|
|
1708
1735
|
contact_email?: string;
|
|
@@ -1714,6 +1741,8 @@ export interface components {
|
|
|
1714
1741
|
business_postal_code?: string;
|
|
1715
1742
|
business_country?: string;
|
|
1716
1743
|
tax_id_last4?: string;
|
|
1744
|
+
/** Format: date-time */
|
|
1745
|
+
created_at?: string;
|
|
1717
1746
|
};
|
|
1718
1747
|
LegalEntityApplication: {
|
|
1719
1748
|
/** Format: uuid */
|
|
@@ -1733,6 +1762,17 @@ export interface components {
|
|
|
1733
1762
|
business_country?: string;
|
|
1734
1763
|
state?: string;
|
|
1735
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;
|
|
1736
1776
|
requirements?: components["schemas"]["LegalEntityApplicationRequirement"][];
|
|
1737
1777
|
};
|
|
1738
1778
|
CreateMerchantApplicationInput: {
|
|
@@ -1799,16 +1839,40 @@ export interface components {
|
|
|
1799
1839
|
Merchant: {
|
|
1800
1840
|
/** Format: uuid */
|
|
1801
1841
|
id?: string;
|
|
1842
|
+
active?: boolean;
|
|
1802
1843
|
/** Format: uuid */
|
|
1803
1844
|
organization_id?: string;
|
|
1804
1845
|
/** Format: uuid */
|
|
1805
1846
|
legal_entity_id?: string;
|
|
1806
1847
|
annual_credit_card_sales_volume?: number;
|
|
1807
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;
|
|
1808
1854
|
has_accepted_credit_cards?: boolean;
|
|
1809
1855
|
dba_name?: string;
|
|
1810
|
-
|
|
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;
|
|
1811
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;
|
|
1812
1876
|
/** Format: date-time */
|
|
1813
1877
|
created_at?: string;
|
|
1814
1878
|
/** Format: date-time */
|
|
@@ -5055,7 +5119,7 @@ export const legalEntityOwnershipTypeValues: ReadonlyArray<FlattenedDeepRequired
|
|
|
5055
5119
|
export const legalEntityDocumentTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["LegalEntityDocumentType"]> = ["irs_cp_575"];
|
|
5056
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"];
|
|
5057
5121
|
export const paymentLinkAmountTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PaymentLinkAmountType"]> = ["fixed", "open"];
|
|
5058
|
-
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"];
|
|
5059
5123
|
export const embedConfirmCardPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmCardPaymentMethodInput"]["type"]> = ["card"];
|
|
5060
5124
|
export const embedConfirmBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmBankAccountPaymentMethodInput"]["type"]> = ["bank_account"];
|
|
5061
5125
|
export const embedConfirmGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmGooglePayPaymentMethodInput"]["type"]> = ["googlepay"];
|
|
@@ -5063,9 +5127,11 @@ export const embedConfirmApplePayPaymentMethodInputTypeValues: ReadonlyArray<Fla
|
|
|
5063
5127
|
export const allowedCardPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedCardPaymentMethodInput"]["type"]> = ["card"];
|
|
5064
5128
|
export const allowedBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedBankAccountPaymentMethodInput"]["type"]> = ["bank_account"];
|
|
5065
5129
|
export const allowedGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedGooglePayPaymentMethodInput"]["type"]> = ["googlepay"];
|
|
5130
|
+
export const allowedApplePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedApplePayPaymentMethodInput"]["type"]> = ["applepay"];
|
|
5066
5131
|
export const allowedCardPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedCardPaymentMethod"]["type"]> = ["card"];
|
|
5067
5132
|
export const allowedBankAccountPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedBankAccountPaymentMethod"]["type"]> = ["bank_account"];
|
|
5068
5133
|
export const allowedGooglePayPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedGooglePayPaymentMethod"]["type"]> = ["googlepay"];
|
|
5134
|
+
export const allowedApplePayPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedApplePayPaymentMethod"]["type"]> = ["applepay"];
|
|
5069
5135
|
export const payoutDirectionTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PayoutDirectionType"]> = ["credit", "debit"];
|
|
5070
5136
|
export const payoutStateTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PayoutStateType"]> = ["pending", "processing", "succeeded", "failed", "errored", "accepted", "rejected"];
|
|
5071
5137
|
export const refundStateTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["RefundStateType"]> = ["pending", "processing", "requires_review", "succeeded", "cancelled", "failed"];
|