@amos.com/node 0.1.11 → 0.1.13

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/openapi/schema.ts CHANGED
@@ -1164,7 +1164,7 @@ export interface components {
1164
1164
  };
1165
1165
  /** @description Decoded JWT payload for render token responses. */
1166
1166
  RenderTokenJwt: {
1167
- allowed_payment_method_types?: ("bank_account" | "card" | "applepay" | "googlepay")[];
1167
+ allowed_payment_methods?: components["schemas"]["AllowedPaymentMethod"][];
1168
1168
  env?: string;
1169
1169
  origins?: string[];
1170
1170
  /** Format: uuid */
@@ -1238,8 +1238,7 @@ export interface components {
1238
1238
  wallet_brand?: string;
1239
1239
  wallet_last4?: string;
1240
1240
  wallet_payload?: string;
1241
- /** @enum {string|null} */
1242
- wallet_provider?: "googlepay" | "applepay" | null;
1241
+ wallet_provider?: components["schemas"]["WalletProviderType"];
1243
1242
  };
1244
1243
  CardProfile: {
1245
1244
  avs_check?: string;
@@ -1256,8 +1255,7 @@ export interface components {
1256
1255
  state?: string;
1257
1256
  three_d_secure_supported?: boolean | null;
1258
1257
  token?: string;
1259
- /** @enum {string|null} */
1260
- wallet_provider?: "googlepay" | "applepay" | null;
1258
+ wallet_provider?: components["schemas"]["WalletProviderType"];
1261
1259
  /** Format: date-time */
1262
1260
  created_at?: string;
1263
1261
  /** Format: date-time */
@@ -1307,8 +1305,7 @@ export interface components {
1307
1305
  /** Format: uuid */
1308
1306
  payment_method_id?: string;
1309
1307
  platform_fee?: number;
1310
- /** @enum {string} */
1311
- source?: "api" | "dashboard" | "iframe" | "system" | "subscription";
1308
+ source?: components["schemas"]["TransactionSourceType"];
1312
1309
  /** @enum {string} */
1313
1310
  state?: "cancelled" | "errored" | "failed" | "processing" | "requires_capture" | "requires_confirmation" | "requires_review" | "succeeded";
1314
1311
  statement_descriptor?: string;
@@ -1429,8 +1426,7 @@ export interface components {
1429
1426
  CreateLegalEntityApplicationDocumentInput: {
1430
1427
  /** Format: uuid */
1431
1428
  legal_entity_application_id?: string;
1432
- /** @enum {string} */
1433
- document_type?: "irs_cp_575";
1429
+ document_type?: components["schemas"]["LegalEntityDocumentType"];
1434
1430
  /** Format: uuid */
1435
1431
  file_upload_id?: string;
1436
1432
  };
@@ -1442,8 +1438,7 @@ export interface components {
1442
1438
  id?: string;
1443
1439
  /** Format: uuid */
1444
1440
  legal_entity_application_id?: string;
1445
- /** @enum {string} */
1446
- document_type?: "irs_cp_575";
1441
+ document_type?: components["schemas"]["LegalEntityDocumentType"];
1447
1442
  /** Format: uuid */
1448
1443
  file_upload_id?: string;
1449
1444
  };
@@ -1507,10 +1502,51 @@ export interface components {
1507
1502
  contact_phone?: string;
1508
1503
  tax_id_last4?: string;
1509
1504
  };
1505
+ /** @enum {string} */
1506
+ LegalEntityEntityType: "individual_sole_proprietorship" | "corporation" | "limited_liability_company" | "partnership" | "limited_partnership" | "general_partnership" | "tax_exempt_organization" | "government_agency";
1507
+ /** @enum {string} */
1508
+ LegalEntityOwnershipType: "public" | "private";
1509
+ /** @enum {string} */
1510
+ LegalEntityDocumentType: "irs_cp_575";
1511
+ /** @enum {string} */
1512
+ 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";
1513
+ /** @enum {string} */
1514
+ PaymentLinkAmountType: "fixed" | "open";
1515
+ /** @enum {string} */
1516
+ PaymentMethodType: "card" | "bank_account";
1517
+ AllowedPaymentMethodOptions: {
1518
+ moto?: boolean;
1519
+ } & {
1520
+ [key: string]: unknown;
1521
+ };
1522
+ AllowedPaymentMethodInput: {
1523
+ type: components["schemas"]["PaymentMethodType"];
1524
+ options?: components["schemas"]["AllowedPaymentMethodOptions"];
1525
+ };
1526
+ AllowedPaymentMethod: {
1527
+ type: components["schemas"]["PaymentMethodType"];
1528
+ options: components["schemas"]["AllowedPaymentMethodOptions"];
1529
+ };
1530
+ /** @enum {string} */
1531
+ PayoutDirectionType: "credit" | "debit";
1532
+ /** @enum {string} */
1533
+ PayoutStateType: "pending" | "succeeded" | "failed" | "accepted" | "rejected";
1534
+ /** @enum {string} */
1535
+ RefundStateType: "pending" | "processing" | "requires_review" | "succeeded" | "cancelled" | "failed";
1536
+ /** @enum {string} */
1537
+ SubscriptionIntervalType: "day" | "week" | "month" | "year";
1538
+ /** @enum {string} */
1539
+ SubscriptionPlanType: "fixed" | "variable";
1540
+ /** @enum {string} */
1541
+ TransactionSourceType: "api" | "dashboard" | "iframe" | "system" | "subscription";
1542
+ /** @enum {string} */
1543
+ WalletProviderType: "googlepay" | "applepay";
1544
+ /** @enum {string} */
1545
+ WebhookEventType: "charge.cancelled" | "charge.created" | "charge.errored" | "charge.failed" | "charge.processing" | "charge.requires_capture" | "charge.requires_confirmation" | "charge.requires_review" | "charge.succeeded" | "customer.created" | "customer.updated" | "legal_entity.created" | "legal_entity.updated" | "legal_entity_principal.created" | "legal_entity_principal.updated" | "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" | "void.created" | "void.failed" | "void.pending" | "void.processing" | "void.requires_review" | "void.succeeded";
1510
1546
  CreateLegalEntityApplicationInput: {
1511
1547
  legal_name?: string;
1512
- entity_type?: string;
1513
- ownership_type?: string;
1548
+ entity_type?: components["schemas"]["LegalEntityEntityType"];
1549
+ ownership_type?: components["schemas"]["LegalEntityOwnershipType"];
1514
1550
  tax_id?: string;
1515
1551
  contact_email?: string;
1516
1552
  contact_phone?: string;
@@ -1540,8 +1576,8 @@ export interface components {
1540
1576
  /** Format: uuid */
1541
1577
  id?: string;
1542
1578
  legal_name?: string;
1543
- entity_type?: string;
1544
- ownership_type?: string;
1579
+ entity_type?: components["schemas"]["LegalEntityEntityType"];
1580
+ ownership_type?: components["schemas"]["LegalEntityOwnershipType"];
1545
1581
  contact_email?: string;
1546
1582
  contact_phone?: string;
1547
1583
  business_address_line1?: string;
@@ -1558,8 +1594,8 @@ export interface components {
1558
1594
  legal_name?: string;
1559
1595
  /** Format: uuid */
1560
1596
  legal_entity_id?: string;
1561
- entity_type?: string;
1562
- ownership_type?: string;
1597
+ entity_type?: components["schemas"]["LegalEntityEntityType"];
1598
+ ownership_type?: components["schemas"]["LegalEntityOwnershipType"];
1563
1599
  contact_email?: string;
1564
1600
  contact_phone?: string;
1565
1601
  business_address_line1?: string;
@@ -1574,10 +1610,10 @@ export interface components {
1574
1610
  };
1575
1611
  CreateMerchantApplicationInput: {
1576
1612
  annual_credit_card_sales_volume?: number;
1613
+ allowed_payment_methods?: components["schemas"]["AllowedPaymentMethodInput"][];
1577
1614
  bank_account_number?: string;
1578
1615
  bank_routing_number?: string;
1579
- /** @enum {string} */
1580
- business_category?: "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";
1616
+ business_category?: components["schemas"]["MerchantBusinessCategoryType"];
1581
1617
  business_description?: string;
1582
1618
  city?: string;
1583
1619
  country_code?: string;
@@ -1603,8 +1639,8 @@ export interface components {
1603
1639
  /** Format: uuid */
1604
1640
  id?: string;
1605
1641
  annual_credit_card_sales_volume?: number;
1606
- /** @enum {string} */
1607
- business_category?: "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";
1642
+ allowed_payment_methods?: components["schemas"]["AllowedPaymentMethod"][];
1643
+ business_category?: components["schemas"]["MerchantBusinessCategoryType"];
1608
1644
  business_description?: string;
1609
1645
  city?: string;
1610
1646
  country_code?: string;
@@ -1641,6 +1677,7 @@ export interface components {
1641
1677
  /** Format: uuid */
1642
1678
  legal_entity_id?: string;
1643
1679
  annual_credit_card_sales_volume?: number;
1680
+ allowed_payment_methods?: components["schemas"]["AllowedPaymentMethod"][];
1644
1681
  has_accepted_credit_cards?: boolean;
1645
1682
  dba_name?: string;
1646
1683
  metadata?: components["schemas"]["Metadata"];
@@ -1673,6 +1710,7 @@ export interface components {
1673
1710
  description?: string | null;
1674
1711
  statement_descriptor?: string;
1675
1712
  metadata?: components["schemas"]["Metadata"];
1713
+ recurring_payment?: components["schemas"]["RecurringPayment"];
1676
1714
  };
1677
1715
  CreatePaymentIntentRequest: {
1678
1716
  payment_intent: components["schemas"]["CreatePaymentIntentInput"];
@@ -1696,6 +1734,7 @@ export interface components {
1696
1734
  payment_method_id?: string;
1697
1735
  amount?: number;
1698
1736
  metadata?: components["schemas"]["Metadata"];
1737
+ recurring_payment?: components["schemas"]["RecurringPayment"];
1699
1738
  };
1700
1739
  UpdatePaymentIntentRequest: {
1701
1740
  payment_intent: components["schemas"]["UpdatePaymentIntentInput"];
@@ -1714,10 +1753,10 @@ export interface components {
1714
1753
  customer_id?: string;
1715
1754
  description?: string;
1716
1755
  metadata?: components["schemas"]["Metadata"];
1756
+ recurring_payment?: components["schemas"]["RecurringPayment"];
1717
1757
  /** Format: uuid */
1718
1758
  payment_method_id?: string;
1719
- /** @enum {string} */
1720
- source?: "api" | "dashboard" | "iframe" | "system" | "subscription";
1759
+ source?: components["schemas"]["TransactionSourceType"];
1721
1760
  /** @enum {string} */
1722
1761
  state?: "requires_payment_method" | "requires_confirmation" | "requires_capture" | "processing_authorization" | "processing_capture" | "processing_sale" | "requires_review" | "succeeded" | "cancelled" | "errored_authorization" | "errored_capture" | "errored_sale";
1723
1762
  statement_descriptor?: string;
@@ -1726,11 +1765,13 @@ export interface components {
1726
1765
  /** Format: date-time */
1727
1766
  updated_at?: string;
1728
1767
  };
1768
+ RecurringPayment: {
1769
+ network_transaction_id?: string;
1770
+ };
1729
1771
  CreatePaymentLinkInput: {
1730
1772
  slug?: string;
1731
1773
  active?: boolean;
1732
- /** @enum {string} */
1733
- amount_type?: "fixed" | "open";
1774
+ amount_type?: components["schemas"]["PaymentLinkAmountType"];
1734
1775
  amount?: number;
1735
1776
  /** Format: uri */
1736
1777
  image_url?: string;
@@ -1745,7 +1786,7 @@ export interface components {
1745
1786
  title?: string;
1746
1787
  /** Format: uri */
1747
1788
  cancel_url?: string;
1748
- allowed_payment_method_types?: string[];
1789
+ allowed_payment_methods?: components["schemas"]["AllowedPaymentMethodInput"][];
1749
1790
  metadata?: components["schemas"]["Metadata"];
1750
1791
  };
1751
1792
  CreatePaymentLinkRequest: {
@@ -1760,8 +1801,7 @@ export interface components {
1760
1801
  account_id?: string;
1761
1802
  slug?: string;
1762
1803
  active?: boolean;
1763
- /** @enum {string} */
1764
- amount_type?: "fixed" | "open";
1804
+ amount_type?: components["schemas"]["PaymentLinkAmountType"];
1765
1805
  amount?: number;
1766
1806
  /** Format: uri */
1767
1807
  image_url?: string;
@@ -1776,7 +1816,7 @@ export interface components {
1776
1816
  title?: string;
1777
1817
  /** Format: uri */
1778
1818
  cancel_url?: string;
1779
- allowed_payment_method_types?: string[];
1819
+ allowed_payment_methods?: components["schemas"]["AllowedPaymentMethod"][];
1780
1820
  metadata?: components["schemas"]["Metadata"];
1781
1821
  };
1782
1822
  PaymentMethod: {
@@ -1785,8 +1825,7 @@ export interface components {
1785
1825
  /** Format: uuid */
1786
1826
  customer_id?: string;
1787
1827
  metadata?: components["schemas"]["Metadata"];
1788
- /** @enum {string} */
1789
- type?: "card" | "bank_account";
1828
+ type?: components["schemas"]["PaymentMethodType"];
1790
1829
  bank_account_profile?: components["schemas"]["BankAccountProfile"];
1791
1830
  billing_address?: components["schemas"]["BillingAddress"];
1792
1831
  card_profile?: components["schemas"]["CardProfile"];
@@ -1800,8 +1839,7 @@ export interface components {
1800
1839
  external_account_id: string;
1801
1840
  amount: number;
1802
1841
  currency?: string;
1803
- /** @enum {string} */
1804
- direction: "credit" | "debit";
1842
+ direction: components["schemas"]["PayoutDirectionType"];
1805
1843
  metadata?: components["schemas"]["Metadata"];
1806
1844
  };
1807
1845
  CreatePayoutRequest: {
@@ -1814,8 +1852,7 @@ export interface components {
1814
1852
  external_account_id: string;
1815
1853
  amount: number;
1816
1854
  currency?: string;
1817
- /** @enum {string} */
1818
- direction: "credit" | "debit";
1855
+ direction: components["schemas"]["PayoutDirectionType"];
1819
1856
  metadata?: components["schemas"]["Metadata"];
1820
1857
  };
1821
1858
  CreateBulkPayoutsRequest: {
@@ -1830,11 +1867,9 @@ export interface components {
1830
1867
  external_account_id?: string;
1831
1868
  amount?: number;
1832
1869
  currency?: string;
1833
- /** @enum {string} */
1834
- direction?: "credit" | "debit";
1870
+ direction?: components["schemas"]["PayoutDirectionType"];
1835
1871
  metadata?: components["schemas"]["Metadata"];
1836
- /** @enum {string} */
1837
- state?: "pending" | "succeeded" | "failed" | "accepted" | "rejected";
1872
+ state?: components["schemas"]["PayoutStateType"];
1838
1873
  /** Format: date-time */
1839
1874
  created_at?: string;
1840
1875
  /** Format: date-time */
@@ -1861,6 +1896,7 @@ export interface components {
1861
1896
  /** Format: uuid */
1862
1897
  processor_transaction_id?: string;
1863
1898
  processor_reference?: string;
1899
+ network_transaction_id?: string;
1864
1900
  /** @enum {string} */
1865
1901
  transaction_type?: "authorization" | "authorization_reversal" | "capture" | "credit" | "echeck_credit" | "echeck_sale" | "echeck_void" | "sale" | "void";
1866
1902
  /** Format: date-time */
@@ -1941,10 +1977,8 @@ export interface components {
1941
1977
  /** Format: uuid */
1942
1978
  payment_method_id?: string;
1943
1979
  platform_fee?: number;
1944
- /** @enum {string} */
1945
- source?: "api" | "dashboard" | "iframe" | "system" | "subscription";
1946
- /** @enum {string} */
1947
- state?: "pending" | "processing" | "requires_review" | "succeeded" | "cancelled" | "failed";
1980
+ source?: components["schemas"]["TransactionSourceType"];
1981
+ state?: components["schemas"]["RefundStateType"];
1948
1982
  statement_descriptor?: string;
1949
1983
  /** Format: date-time */
1950
1984
  succeeded_at?: string;
@@ -1956,8 +1990,9 @@ export interface components {
1956
1990
  allowed_reverse_action?: "void" | null;
1957
1991
  };
1958
1992
  CreateRenderTemplateInput: {
1959
- allowed_payment_method_types?: ("card" | "bank_account")[];
1993
+ allowed_payment_methods?: components["schemas"]["AllowedPaymentMethodInput"][];
1960
1994
  currency?: string;
1995
+ moto?: boolean;
1961
1996
  origin_ids?: string[];
1962
1997
  };
1963
1998
  CreateRenderTemplateRequest: {
@@ -1968,8 +2003,9 @@ export interface components {
1968
2003
  id?: string;
1969
2004
  /** Format: uuid */
1970
2005
  organization_id?: string;
1971
- allowed_payment_method_types?: ("card" | "bank_account")[];
2006
+ allowed_payment_methods?: components["schemas"]["AllowedPaymentMethod"][];
1972
2007
  currency?: string;
2008
+ moto?: boolean;
1973
2009
  };
1974
2010
  CreateSetupIntentInput: {
1975
2011
  /** Format: uuid */
@@ -2001,8 +2037,7 @@ export interface components {
2001
2037
  metadata?: components["schemas"]["Metadata"];
2002
2038
  /** Format: uuid */
2003
2039
  payment_method_id?: string;
2004
- /** @enum {string} */
2005
- source?: "api" | "dashboard" | "iframe" | "system" | "subscription";
2040
+ source?: components["schemas"]["TransactionSourceType"];
2006
2041
  /** @enum {string} */
2007
2042
  state?: "requires_payment_method" | "requires_confirmation" | "verifying" | "requires_review" | "succeeded" | "failed" | "cancelled" | "errored";
2008
2043
  /** Format: date-time */
@@ -2016,8 +2051,7 @@ export interface components {
2016
2051
  /** Format: uuid */
2017
2052
  customer_id?: string;
2018
2053
  cycles?: number;
2019
- /** @enum {string} */
2020
- interval?: "day" | "week" | "month" | "year";
2054
+ interval?: components["schemas"]["SubscriptionIntervalType"];
2021
2055
  interval_count?: number;
2022
2056
  /** Format: uuid */
2023
2057
  subscription_plan_id?: string;
@@ -2053,8 +2087,7 @@ export interface components {
2053
2087
  customer_id?: string;
2054
2088
  /** Format: uuid */
2055
2089
  payment_method_id?: string;
2056
- /** @enum {string} */
2057
- interval?: "day" | "week" | "month" | "year";
2090
+ interval?: components["schemas"]["SubscriptionIntervalType"];
2058
2091
  interval_count?: number;
2059
2092
  /** @enum {string} */
2060
2093
  state?: "active" | "paused" | "past_due" | "cancelled";
@@ -2080,13 +2113,11 @@ export interface components {
2080
2113
  /** Format: uuid */
2081
2114
  product_id?: string;
2082
2115
  description?: string;
2083
- /** @enum {string} */
2084
- interval?: "day" | "week" | "month" | "year";
2116
+ interval?: components["schemas"]["SubscriptionIntervalType"];
2085
2117
  interval_count?: number;
2086
2118
  metadata?: components["schemas"]["Metadata"];
2087
2119
  name?: string;
2088
- /** @enum {string} */
2089
- plan_type?: "fixed" | "variable";
2120
+ plan_type?: components["schemas"]["SubscriptionPlanType"];
2090
2121
  trial_period_days?: number;
2091
2122
  };
2092
2123
  CreateSubscriptionPlanRequest: {
@@ -2111,13 +2142,11 @@ export interface components {
2111
2142
  currency?: string;
2112
2143
  cycles?: number;
2113
2144
  description?: string;
2114
- /** @enum {string} */
2115
- interval?: "day" | "week" | "month" | "year";
2145
+ interval?: components["schemas"]["SubscriptionIntervalType"];
2116
2146
  interval_count?: number;
2117
2147
  metadata?: components["schemas"]["Metadata"];
2118
2148
  name?: string;
2119
- /** @enum {string} */
2120
- plan_type?: "fixed" | "variable";
2149
+ plan_type?: components["schemas"]["SubscriptionPlanType"];
2121
2150
  trial_period_days?: number;
2122
2151
  /** Format: date-time */
2123
2152
  created_at?: string;
@@ -2164,10 +2193,8 @@ export interface components {
2164
2193
  /** Format: uuid */
2165
2194
  payment_method_id?: string;
2166
2195
  platform_fee?: number;
2167
- /** @enum {string} */
2168
- source?: "api" | "dashboard" | "iframe" | "system" | "subscription";
2169
- /** @enum {string} */
2170
- state?: "pending" | "processing" | "requires_review" | "succeeded" | "cancelled" | "failed";
2196
+ source?: components["schemas"]["TransactionSourceType"];
2197
+ state?: components["schemas"]["RefundStateType"];
2171
2198
  statement_descriptor?: string;
2172
2199
  /** Format: date-time */
2173
2200
  succeeded_at?: string;
@@ -2191,7 +2218,7 @@ export interface components {
2191
2218
  updated_at?: string;
2192
2219
  };
2193
2220
  CreateWebhookEndpointInput: {
2194
- events?: ("charge.cancelled" | "charge.created" | "charge.errored" | "charge.failed" | "charge.processing" | "charge.requires_capture" | "charge.requires_confirmation" | "charge.requires_review" | "charge.succeeded" | "customer.created" | "customer.updated" | "legal_entity.created" | "legal_entity.updated" | "legal_entity_principal.created" | "legal_entity_principal.updated" | "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" | "void.created" | "void.failed" | "void.pending" | "void.processing" | "void.requires_review" | "void.succeeded")[];
2221
+ events?: components["schemas"]["WebhookEventType"][];
2195
2222
  metadata?: components["schemas"]["Metadata"];
2196
2223
  active?: boolean;
2197
2224
  url?: string;
@@ -2202,7 +2229,7 @@ export interface components {
2202
2229
  WebhookEndpoint: {
2203
2230
  /** Format: uuid */
2204
2231
  id?: string;
2205
- events?: ("charge.cancelled" | "charge.created" | "charge.errored" | "charge.failed" | "charge.processing" | "charge.requires_capture" | "charge.requires_confirmation" | "charge.requires_review" | "charge.succeeded" | "customer.created" | "customer.updated" | "legal_entity.created" | "legal_entity.updated" | "legal_entity_principal.created" | "legal_entity_principal.updated" | "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" | "void.created" | "void.failed" | "void.pending" | "void.processing" | "void.requires_review" | "void.succeeded")[];
2232
+ events?: components["schemas"]["WebhookEventType"][];
2206
2233
  metadata?: components["schemas"]["Metadata"];
2207
2234
  secret?: string;
2208
2235
  url?: string;
@@ -2245,7 +2272,7 @@ export interface components {
2245
2272
  /** @description The ID of the payment transaction to filter by */
2246
2273
  PaymentTransactionIdQuery: string;
2247
2274
  /** @description The payout state to filter by */
2248
- PayoutStateQuery: "pending" | "succeeded" | "failed" | "accepted" | "rejected";
2275
+ PayoutStateQuery: components["schemas"]["PayoutStateType"];
2249
2276
  /** @description Number of results per page. */
2250
2277
  PerPageQuery: number;
2251
2278
  /** @description The phone to filter by */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amos.com/node",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "description": "Node.js client for the Amos Pay API.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -47,11 +47,11 @@
47
47
  "openapi-fetch": "0.17.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@biomejs/biome": "2.4.14",
50
+ "@biomejs/biome": "2.5.1",
51
51
  "@changesets/cli": "2.31.0",
52
- "@types/node": "25.6.2",
52
+ "@types/node": "26.0.0",
53
53
  "openapi-typescript": "7.13.0",
54
- "tsup": "^8.5.1",
54
+ "tsup": "8.5.1",
55
55
  "typescript": "5.9.3"
56
56
  },
57
57
  "engines": {