@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 CHANGED
@@ -1231,6 +1231,7 @@ interface components {
1231
1231
  account_holder_type?: string;
1232
1232
  account_type?: string;
1233
1233
  bank_name?: string;
1234
+ fingerprint?: string | null;
1234
1235
  last4?: string;
1235
1236
  routing_number?: string;
1236
1237
  state?: string;
@@ -1291,6 +1292,7 @@ interface components {
1291
1292
  exp_year?: number;
1292
1293
  first6?: string;
1293
1294
  funding?: string | null;
1295
+ fingerprint?: string | null;
1294
1296
  last4?: string;
1295
1297
  state?: string;
1296
1298
  three_d_secure_supported?: boolean | null;
@@ -1316,6 +1318,7 @@ interface components {
1316
1318
  merchant_id?: string;
1317
1319
  /** Format: uuid */
1318
1320
  processor_id?: string;
1321
+ worldpay_mid?: string;
1319
1322
  /** Format: date-time */
1320
1323
  created_at?: string;
1321
1324
  /** Format: date-time */
@@ -1481,6 +1484,10 @@ interface components {
1481
1484
  document_type?: components["schemas"]["LegalEntityDocumentType"];
1482
1485
  /** Format: uuid */
1483
1486
  file_upload_id?: string;
1487
+ file_name?: string;
1488
+ byte_size?: number;
1489
+ /** Format: date-time */
1490
+ created_at?: string;
1484
1491
  };
1485
1492
  CreateLegalEntityApplicationPrincipalInput: {
1486
1493
  /** Format: uuid */
@@ -1553,7 +1560,7 @@ interface components {
1553
1560
  /** @enum {string} */
1554
1561
  PaymentLinkAmountType: "fixed" | "open";
1555
1562
  /** @enum {string} */
1556
- PaymentMethodType: "card" | "bank_account" | "googlepay";
1563
+ PaymentMethodType: "card" | "bank_account" | "googlepay" | "applepay";
1557
1564
  /** @description Payment method details used when confirming an embedded intent with a new payment method. */
1558
1565
  EmbedConfirmPaymentMethodInput: components["schemas"]["EmbedConfirmCardPaymentMethodInput"] | components["schemas"]["EmbedConfirmBankAccountPaymentMethodInput"] | components["schemas"]["EmbedConfirmGooglePayPaymentMethodInput"] | components["schemas"]["EmbedConfirmApplePayPaymentMethodInput"];
1559
1566
  EmbedConfirmCardPaymentMethodInput: {
@@ -1603,6 +1610,8 @@ interface components {
1603
1610
  AllowedBankAccountPaymentMethodOptions: Record<string, never>;
1604
1611
  /** @description No configurable options for Google Pay payment methods. */
1605
1612
  AllowedGooglePayPaymentMethodOptions: Record<string, never>;
1613
+ /** @description No configurable options for Apple Pay payment methods. */
1614
+ AllowedApplePayPaymentMethodOptions: Record<string, never>;
1606
1615
  AllowedCardPaymentMethodInput: {
1607
1616
  /**
1608
1617
  * @description discriminator enum property added by openapi-typescript
@@ -1627,8 +1636,16 @@ interface components {
1627
1636
  type: "googlepay";
1628
1637
  options?: components["schemas"]["AllowedGooglePayPaymentMethodOptions"];
1629
1638
  };
1639
+ AllowedApplePayPaymentMethodInput: {
1640
+ /**
1641
+ * @description discriminator enum property added by openapi-typescript
1642
+ * @enum {string}
1643
+ */
1644
+ type: "applepay";
1645
+ options?: components["schemas"]["AllowedApplePayPaymentMethodOptions"];
1646
+ };
1630
1647
  /** @description Payment method allowed on a render template, payment link, or merchant application. */
1631
- AllowedPaymentMethodInput: components["schemas"]["AllowedCardPaymentMethodInput"] | components["schemas"]["AllowedBankAccountPaymentMethodInput"] | components["schemas"]["AllowedGooglePayPaymentMethodInput"];
1648
+ AllowedPaymentMethodInput: components["schemas"]["AllowedCardPaymentMethodInput"] | components["schemas"]["AllowedBankAccountPaymentMethodInput"] | components["schemas"]["AllowedGooglePayPaymentMethodInput"] | components["schemas"]["AllowedApplePayPaymentMethodInput"];
1632
1649
  AllowedCardPaymentMethod: {
1633
1650
  /**
1634
1651
  * @description discriminator enum property added by openapi-typescript
@@ -1653,8 +1670,16 @@ interface components {
1653
1670
  type: "googlepay";
1654
1671
  options: components["schemas"]["AllowedGooglePayPaymentMethodOptions"];
1655
1672
  };
1673
+ AllowedApplePayPaymentMethod: {
1674
+ /**
1675
+ * @description discriminator enum property added by openapi-typescript
1676
+ * @enum {string}
1677
+ */
1678
+ type: "applepay";
1679
+ options: components["schemas"]["AllowedApplePayPaymentMethodOptions"];
1680
+ };
1656
1681
  /** @description Allowed payment method returned in API responses and render token JWT payloads. */
1657
- AllowedPaymentMethod: components["schemas"]["AllowedCardPaymentMethod"] | components["schemas"]["AllowedBankAccountPaymentMethod"] | components["schemas"]["AllowedGooglePayPaymentMethod"];
1682
+ AllowedPaymentMethod: components["schemas"]["AllowedCardPaymentMethod"] | components["schemas"]["AllowedBankAccountPaymentMethod"] | components["schemas"]["AllowedGooglePayPaymentMethod"] | components["schemas"]["AllowedApplePayPaymentMethod"];
1658
1683
  /** @enum {string} */
1659
1684
  PayoutDirectionType: "credit" | "debit";
1660
1685
  /** @enum {string} */
@@ -1703,7 +1728,11 @@ interface components {
1703
1728
  LegalEntity: {
1704
1729
  /** Format: uuid */
1705
1730
  id?: string;
1731
+ /** Format: uuid */
1732
+ organization_id?: string;
1706
1733
  legal_name?: string;
1734
+ /** Format: uuid */
1735
+ parent_legal_entity_id?: string | null;
1707
1736
  entity_type?: components["schemas"]["LegalEntityEntityType"];
1708
1737
  ownership_type?: components["schemas"]["LegalEntityOwnershipType"];
1709
1738
  contact_email?: string;
@@ -1715,6 +1744,8 @@ interface components {
1715
1744
  business_postal_code?: string;
1716
1745
  business_country?: string;
1717
1746
  tax_id_last4?: string;
1747
+ /** Format: date-time */
1748
+ created_at?: string;
1718
1749
  };
1719
1750
  LegalEntityApplication: {
1720
1751
  /** Format: uuid */
@@ -1734,6 +1765,17 @@ interface components {
1734
1765
  business_country?: string;
1735
1766
  state?: string;
1736
1767
  tax_id_last4?: string;
1768
+ /** Format: date-time */
1769
+ approved_at?: string | null;
1770
+ /** Format: date-time */
1771
+ denied_at?: string | null;
1772
+ /** Format: date-time */
1773
+ needs_information_at?: string | null;
1774
+ decision_reason?: string | null;
1775
+ /** Format: date-time */
1776
+ created_at?: string;
1777
+ /** Format: date-time */
1778
+ updated_at?: string;
1737
1779
  requirements?: components["schemas"]["LegalEntityApplicationRequirement"][];
1738
1780
  };
1739
1781
  CreateMerchantApplicationInput: {
@@ -1800,16 +1842,40 @@ interface components {
1800
1842
  Merchant: {
1801
1843
  /** Format: uuid */
1802
1844
  id?: string;
1845
+ active?: boolean;
1803
1846
  /** Format: uuid */
1804
1847
  organization_id?: string;
1805
1848
  /** Format: uuid */
1806
1849
  legal_entity_id?: string;
1807
1850
  annual_credit_card_sales_volume?: number;
1808
1851
  allowed_payment_methods?: components["schemas"]["AllowedPaymentMethod"][];
1852
+ business_category?: components["schemas"]["MerchantBusinessCategoryType"];
1853
+ business_description?: string;
1854
+ city?: string;
1855
+ country_code?: string;
1856
+ customer_service_number?: string;
1809
1857
  has_accepted_credit_cards?: boolean;
1810
1858
  dba_name?: string;
1811
- metadata?: components["schemas"]["Metadata"];
1859
+ echeck_billing_descriptor?: string;
1860
+ echeck_company_name?: string;
1861
+ echeck_enabled?: boolean;
1862
+ hard_coded_billing_descriptor?: string;
1863
+ max_transaction_amount?: number;
1864
+ /** Format: uuid */
1865
+ merchant_application_id?: string;
1812
1866
  mcc?: string;
1867
+ naics_code?: string;
1868
+ postal_code?: string;
1869
+ primary_contact_email_address?: string;
1870
+ primary_contact_first_name?: string;
1871
+ primary_contact_last_name?: string;
1872
+ primary_contact_phone?: string;
1873
+ purchase_currency?: string;
1874
+ settlement_currency?: string;
1875
+ street_address1?: string;
1876
+ street_address2?: string;
1877
+ sub_merchant_id?: string;
1878
+ website_url?: string;
1813
1879
  /** Format: date-time */
1814
1880
  created_at?: string;
1815
1881
  /** Format: date-time */
@@ -5064,9 +5130,11 @@ declare const embedConfirmApplePayPaymentMethodInputTypeValues: ReadonlyArray<Fl
5064
5130
  declare const allowedCardPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedCardPaymentMethodInput"]["type"]>;
5065
5131
  declare const allowedBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedBankAccountPaymentMethodInput"]["type"]>;
5066
5132
  declare const allowedGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedGooglePayPaymentMethodInput"]["type"]>;
5133
+ declare const allowedApplePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedApplePayPaymentMethodInput"]["type"]>;
5067
5134
  declare const allowedCardPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedCardPaymentMethod"]["type"]>;
5068
5135
  declare const allowedBankAccountPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedBankAccountPaymentMethod"]["type"]>;
5069
5136
  declare const allowedGooglePayPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedGooglePayPaymentMethod"]["type"]>;
5137
+ declare const allowedApplePayPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedApplePayPaymentMethod"]["type"]>;
5070
5138
  declare const payoutDirectionTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PayoutDirectionType"]>;
5071
5139
  declare const payoutStateTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PayoutStateType"]>;
5072
5140
  declare const refundStateTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["RefundStateType"]>;
@@ -5123,4 +5191,4 @@ declare function createPayApiClient(options: ClientOptions): openapi_fetch.Clien
5123
5191
  /** A configured Amos Pay API client returned by {@link createPayApiClient}. */
5124
5192
  type PayApiClient = ReturnType<typeof createPayApiClient>;
5125
5193
 
5126
- export { type $defs, PAY_API_BASE_URL_PRODUCTION, PAY_API_BASE_URL_SANDBOX, PAY_API_VERSION, type PayApiClient, allowedBankAccountPaymentMethodInputTypeValues, allowedBankAccountPaymentMethodTypeValues, allowedCardPaymentMethodInputTypeValues, allowedCardPaymentMethodTypeValues, allowedGooglePayPaymentMethodInputTypeValues, allowedGooglePayPaymentMethodTypeValues, chargeAllowed_reverse_actionValues, chargeStateValues, type components, createPayApiClient, embedConfirmApplePayPaymentMethodInputTypeValues, embedConfirmBankAccountPaymentMethodInputTypeValues, embedConfirmCardPaymentMethodInputTypeValues, embedConfirmGooglePayPaymentMethodInputTypeValues, externalAccountTypeValues, legalEntityDocumentTypeValues, legalEntityEntityTypeValues, legalEntityOwnershipTypeValues, merchantBusinessCategoryTypeValues, type operations, type paths, paymentIntentStateValues, paymentLinkAmountTypeValues, paymentMethodTypeValues, payoutDirectionTypeValues, payoutStateTypeValues, processorTransactionPayment_transaction_typeValues, processorTransactionTransaction_typeValues, refundAllowed_reverse_actionValues, refundStateTypeValues, setupIntentStateValues, subscriptionIntervalTypeValues, subscriptionPlanTypeValues, subscriptionStateValues, transactionSourceTypeValues, walletProviderTypeValues, webhookEventTypeValues, type webhooks };
5194
+ export { type $defs, PAY_API_BASE_URL_PRODUCTION, PAY_API_BASE_URL_SANDBOX, PAY_API_VERSION, type PayApiClient, allowedApplePayPaymentMethodInputTypeValues, allowedApplePayPaymentMethodTypeValues, allowedBankAccountPaymentMethodInputTypeValues, allowedBankAccountPaymentMethodTypeValues, allowedCardPaymentMethodInputTypeValues, allowedCardPaymentMethodTypeValues, allowedGooglePayPaymentMethodInputTypeValues, allowedGooglePayPaymentMethodTypeValues, chargeAllowed_reverse_actionValues, chargeStateValues, type components, createPayApiClient, embedConfirmApplePayPaymentMethodInputTypeValues, embedConfirmBankAccountPaymentMethodInputTypeValues, embedConfirmCardPaymentMethodInputTypeValues, embedConfirmGooglePayPaymentMethodInputTypeValues, externalAccountTypeValues, legalEntityDocumentTypeValues, legalEntityEntityTypeValues, legalEntityOwnershipTypeValues, merchantBusinessCategoryTypeValues, type operations, type paths, paymentIntentStateValues, paymentLinkAmountTypeValues, paymentMethodTypeValues, payoutDirectionTypeValues, payoutStateTypeValues, processorTransactionPayment_transaction_typeValues, processorTransactionTransaction_typeValues, refundAllowed_reverse_actionValues, refundStateTypeValues, setupIntentStateValues, subscriptionIntervalTypeValues, subscriptionPlanTypeValues, subscriptionStateValues, transactionSourceTypeValues, walletProviderTypeValues, webhookEventTypeValues, type webhooks };
package/dist/index.d.ts CHANGED
@@ -1231,6 +1231,7 @@ interface components {
1231
1231
  account_holder_type?: string;
1232
1232
  account_type?: string;
1233
1233
  bank_name?: string;
1234
+ fingerprint?: string | null;
1234
1235
  last4?: string;
1235
1236
  routing_number?: string;
1236
1237
  state?: string;
@@ -1291,6 +1292,7 @@ interface components {
1291
1292
  exp_year?: number;
1292
1293
  first6?: string;
1293
1294
  funding?: string | null;
1295
+ fingerprint?: string | null;
1294
1296
  last4?: string;
1295
1297
  state?: string;
1296
1298
  three_d_secure_supported?: boolean | null;
@@ -1316,6 +1318,7 @@ interface components {
1316
1318
  merchant_id?: string;
1317
1319
  /** Format: uuid */
1318
1320
  processor_id?: string;
1321
+ worldpay_mid?: string;
1319
1322
  /** Format: date-time */
1320
1323
  created_at?: string;
1321
1324
  /** Format: date-time */
@@ -1481,6 +1484,10 @@ interface components {
1481
1484
  document_type?: components["schemas"]["LegalEntityDocumentType"];
1482
1485
  /** Format: uuid */
1483
1486
  file_upload_id?: string;
1487
+ file_name?: string;
1488
+ byte_size?: number;
1489
+ /** Format: date-time */
1490
+ created_at?: string;
1484
1491
  };
1485
1492
  CreateLegalEntityApplicationPrincipalInput: {
1486
1493
  /** Format: uuid */
@@ -1553,7 +1560,7 @@ interface components {
1553
1560
  /** @enum {string} */
1554
1561
  PaymentLinkAmountType: "fixed" | "open";
1555
1562
  /** @enum {string} */
1556
- PaymentMethodType: "card" | "bank_account" | "googlepay";
1563
+ PaymentMethodType: "card" | "bank_account" | "googlepay" | "applepay";
1557
1564
  /** @description Payment method details used when confirming an embedded intent with a new payment method. */
1558
1565
  EmbedConfirmPaymentMethodInput: components["schemas"]["EmbedConfirmCardPaymentMethodInput"] | components["schemas"]["EmbedConfirmBankAccountPaymentMethodInput"] | components["schemas"]["EmbedConfirmGooglePayPaymentMethodInput"] | components["schemas"]["EmbedConfirmApplePayPaymentMethodInput"];
1559
1566
  EmbedConfirmCardPaymentMethodInput: {
@@ -1603,6 +1610,8 @@ interface components {
1603
1610
  AllowedBankAccountPaymentMethodOptions: Record<string, never>;
1604
1611
  /** @description No configurable options for Google Pay payment methods. */
1605
1612
  AllowedGooglePayPaymentMethodOptions: Record<string, never>;
1613
+ /** @description No configurable options for Apple Pay payment methods. */
1614
+ AllowedApplePayPaymentMethodOptions: Record<string, never>;
1606
1615
  AllowedCardPaymentMethodInput: {
1607
1616
  /**
1608
1617
  * @description discriminator enum property added by openapi-typescript
@@ -1627,8 +1636,16 @@ interface components {
1627
1636
  type: "googlepay";
1628
1637
  options?: components["schemas"]["AllowedGooglePayPaymentMethodOptions"];
1629
1638
  };
1639
+ AllowedApplePayPaymentMethodInput: {
1640
+ /**
1641
+ * @description discriminator enum property added by openapi-typescript
1642
+ * @enum {string}
1643
+ */
1644
+ type: "applepay";
1645
+ options?: components["schemas"]["AllowedApplePayPaymentMethodOptions"];
1646
+ };
1630
1647
  /** @description Payment method allowed on a render template, payment link, or merchant application. */
1631
- AllowedPaymentMethodInput: components["schemas"]["AllowedCardPaymentMethodInput"] | components["schemas"]["AllowedBankAccountPaymentMethodInput"] | components["schemas"]["AllowedGooglePayPaymentMethodInput"];
1648
+ AllowedPaymentMethodInput: components["schemas"]["AllowedCardPaymentMethodInput"] | components["schemas"]["AllowedBankAccountPaymentMethodInput"] | components["schemas"]["AllowedGooglePayPaymentMethodInput"] | components["schemas"]["AllowedApplePayPaymentMethodInput"];
1632
1649
  AllowedCardPaymentMethod: {
1633
1650
  /**
1634
1651
  * @description discriminator enum property added by openapi-typescript
@@ -1653,8 +1670,16 @@ interface components {
1653
1670
  type: "googlepay";
1654
1671
  options: components["schemas"]["AllowedGooglePayPaymentMethodOptions"];
1655
1672
  };
1673
+ AllowedApplePayPaymentMethod: {
1674
+ /**
1675
+ * @description discriminator enum property added by openapi-typescript
1676
+ * @enum {string}
1677
+ */
1678
+ type: "applepay";
1679
+ options: components["schemas"]["AllowedApplePayPaymentMethodOptions"];
1680
+ };
1656
1681
  /** @description Allowed payment method returned in API responses and render token JWT payloads. */
1657
- AllowedPaymentMethod: components["schemas"]["AllowedCardPaymentMethod"] | components["schemas"]["AllowedBankAccountPaymentMethod"] | components["schemas"]["AllowedGooglePayPaymentMethod"];
1682
+ AllowedPaymentMethod: components["schemas"]["AllowedCardPaymentMethod"] | components["schemas"]["AllowedBankAccountPaymentMethod"] | components["schemas"]["AllowedGooglePayPaymentMethod"] | components["schemas"]["AllowedApplePayPaymentMethod"];
1658
1683
  /** @enum {string} */
1659
1684
  PayoutDirectionType: "credit" | "debit";
1660
1685
  /** @enum {string} */
@@ -1703,7 +1728,11 @@ interface components {
1703
1728
  LegalEntity: {
1704
1729
  /** Format: uuid */
1705
1730
  id?: string;
1731
+ /** Format: uuid */
1732
+ organization_id?: string;
1706
1733
  legal_name?: string;
1734
+ /** Format: uuid */
1735
+ parent_legal_entity_id?: string | null;
1707
1736
  entity_type?: components["schemas"]["LegalEntityEntityType"];
1708
1737
  ownership_type?: components["schemas"]["LegalEntityOwnershipType"];
1709
1738
  contact_email?: string;
@@ -1715,6 +1744,8 @@ interface components {
1715
1744
  business_postal_code?: string;
1716
1745
  business_country?: string;
1717
1746
  tax_id_last4?: string;
1747
+ /** Format: date-time */
1748
+ created_at?: string;
1718
1749
  };
1719
1750
  LegalEntityApplication: {
1720
1751
  /** Format: uuid */
@@ -1734,6 +1765,17 @@ interface components {
1734
1765
  business_country?: string;
1735
1766
  state?: string;
1736
1767
  tax_id_last4?: string;
1768
+ /** Format: date-time */
1769
+ approved_at?: string | null;
1770
+ /** Format: date-time */
1771
+ denied_at?: string | null;
1772
+ /** Format: date-time */
1773
+ needs_information_at?: string | null;
1774
+ decision_reason?: string | null;
1775
+ /** Format: date-time */
1776
+ created_at?: string;
1777
+ /** Format: date-time */
1778
+ updated_at?: string;
1737
1779
  requirements?: components["schemas"]["LegalEntityApplicationRequirement"][];
1738
1780
  };
1739
1781
  CreateMerchantApplicationInput: {
@@ -1800,16 +1842,40 @@ interface components {
1800
1842
  Merchant: {
1801
1843
  /** Format: uuid */
1802
1844
  id?: string;
1845
+ active?: boolean;
1803
1846
  /** Format: uuid */
1804
1847
  organization_id?: string;
1805
1848
  /** Format: uuid */
1806
1849
  legal_entity_id?: string;
1807
1850
  annual_credit_card_sales_volume?: number;
1808
1851
  allowed_payment_methods?: components["schemas"]["AllowedPaymentMethod"][];
1852
+ business_category?: components["schemas"]["MerchantBusinessCategoryType"];
1853
+ business_description?: string;
1854
+ city?: string;
1855
+ country_code?: string;
1856
+ customer_service_number?: string;
1809
1857
  has_accepted_credit_cards?: boolean;
1810
1858
  dba_name?: string;
1811
- metadata?: components["schemas"]["Metadata"];
1859
+ echeck_billing_descriptor?: string;
1860
+ echeck_company_name?: string;
1861
+ echeck_enabled?: boolean;
1862
+ hard_coded_billing_descriptor?: string;
1863
+ max_transaction_amount?: number;
1864
+ /** Format: uuid */
1865
+ merchant_application_id?: string;
1812
1866
  mcc?: string;
1867
+ naics_code?: string;
1868
+ postal_code?: string;
1869
+ primary_contact_email_address?: string;
1870
+ primary_contact_first_name?: string;
1871
+ primary_contact_last_name?: string;
1872
+ primary_contact_phone?: string;
1873
+ purchase_currency?: string;
1874
+ settlement_currency?: string;
1875
+ street_address1?: string;
1876
+ street_address2?: string;
1877
+ sub_merchant_id?: string;
1878
+ website_url?: string;
1813
1879
  /** Format: date-time */
1814
1880
  created_at?: string;
1815
1881
  /** Format: date-time */
@@ -5064,9 +5130,11 @@ declare const embedConfirmApplePayPaymentMethodInputTypeValues: ReadonlyArray<Fl
5064
5130
  declare const allowedCardPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedCardPaymentMethodInput"]["type"]>;
5065
5131
  declare const allowedBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedBankAccountPaymentMethodInput"]["type"]>;
5066
5132
  declare const allowedGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedGooglePayPaymentMethodInput"]["type"]>;
5133
+ declare const allowedApplePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedApplePayPaymentMethodInput"]["type"]>;
5067
5134
  declare const allowedCardPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedCardPaymentMethod"]["type"]>;
5068
5135
  declare const allowedBankAccountPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedBankAccountPaymentMethod"]["type"]>;
5069
5136
  declare const allowedGooglePayPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedGooglePayPaymentMethod"]["type"]>;
5137
+ declare const allowedApplePayPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedApplePayPaymentMethod"]["type"]>;
5070
5138
  declare const payoutDirectionTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PayoutDirectionType"]>;
5071
5139
  declare const payoutStateTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PayoutStateType"]>;
5072
5140
  declare const refundStateTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["RefundStateType"]>;
@@ -5123,4 +5191,4 @@ declare function createPayApiClient(options: ClientOptions): openapi_fetch.Clien
5123
5191
  /** A configured Amos Pay API client returned by {@link createPayApiClient}. */
5124
5192
  type PayApiClient = ReturnType<typeof createPayApiClient>;
5125
5193
 
5126
- export { type $defs, PAY_API_BASE_URL_PRODUCTION, PAY_API_BASE_URL_SANDBOX, PAY_API_VERSION, type PayApiClient, allowedBankAccountPaymentMethodInputTypeValues, allowedBankAccountPaymentMethodTypeValues, allowedCardPaymentMethodInputTypeValues, allowedCardPaymentMethodTypeValues, allowedGooglePayPaymentMethodInputTypeValues, allowedGooglePayPaymentMethodTypeValues, chargeAllowed_reverse_actionValues, chargeStateValues, type components, createPayApiClient, embedConfirmApplePayPaymentMethodInputTypeValues, embedConfirmBankAccountPaymentMethodInputTypeValues, embedConfirmCardPaymentMethodInputTypeValues, embedConfirmGooglePayPaymentMethodInputTypeValues, externalAccountTypeValues, legalEntityDocumentTypeValues, legalEntityEntityTypeValues, legalEntityOwnershipTypeValues, merchantBusinessCategoryTypeValues, type operations, type paths, paymentIntentStateValues, paymentLinkAmountTypeValues, paymentMethodTypeValues, payoutDirectionTypeValues, payoutStateTypeValues, processorTransactionPayment_transaction_typeValues, processorTransactionTransaction_typeValues, refundAllowed_reverse_actionValues, refundStateTypeValues, setupIntentStateValues, subscriptionIntervalTypeValues, subscriptionPlanTypeValues, subscriptionStateValues, transactionSourceTypeValues, walletProviderTypeValues, webhookEventTypeValues, type webhooks };
5194
+ export { type $defs, PAY_API_BASE_URL_PRODUCTION, PAY_API_BASE_URL_SANDBOX, PAY_API_VERSION, type PayApiClient, allowedApplePayPaymentMethodInputTypeValues, allowedApplePayPaymentMethodTypeValues, allowedBankAccountPaymentMethodInputTypeValues, allowedBankAccountPaymentMethodTypeValues, allowedCardPaymentMethodInputTypeValues, allowedCardPaymentMethodTypeValues, allowedGooglePayPaymentMethodInputTypeValues, allowedGooglePayPaymentMethodTypeValues, chargeAllowed_reverse_actionValues, chargeStateValues, type components, createPayApiClient, embedConfirmApplePayPaymentMethodInputTypeValues, embedConfirmBankAccountPaymentMethodInputTypeValues, embedConfirmCardPaymentMethodInputTypeValues, embedConfirmGooglePayPaymentMethodInputTypeValues, externalAccountTypeValues, legalEntityDocumentTypeValues, legalEntityEntityTypeValues, legalEntityOwnershipTypeValues, merchantBusinessCategoryTypeValues, type operations, type paths, paymentIntentStateValues, paymentLinkAmountTypeValues, paymentMethodTypeValues, payoutDirectionTypeValues, payoutStateTypeValues, processorTransactionPayment_transaction_typeValues, processorTransactionTransaction_typeValues, refundAllowed_reverse_actionValues, refundStateTypeValues, setupIntentStateValues, subscriptionIntervalTypeValues, subscriptionPlanTypeValues, subscriptionStateValues, transactionSourceTypeValues, walletProviderTypeValues, webhookEventTypeValues, type webhooks };
package/dist/index.js CHANGED
@@ -33,6 +33,8 @@ __export(index_exports, {
33
33
  PAY_API_BASE_URL_PRODUCTION: () => PAY_API_BASE_URL_PRODUCTION,
34
34
  PAY_API_BASE_URL_SANDBOX: () => PAY_API_BASE_URL_SANDBOX,
35
35
  PAY_API_VERSION: () => PAY_API_VERSION,
36
+ allowedApplePayPaymentMethodInputTypeValues: () => allowedApplePayPaymentMethodInputTypeValues,
37
+ allowedApplePayPaymentMethodTypeValues: () => allowedApplePayPaymentMethodTypeValues,
36
38
  allowedBankAccountPaymentMethodInputTypeValues: () => allowedBankAccountPaymentMethodInputTypeValues,
37
39
  allowedBankAccountPaymentMethodTypeValues: () => allowedBankAccountPaymentMethodTypeValues,
38
40
  allowedCardPaymentMethodInputTypeValues: () => allowedCardPaymentMethodInputTypeValues,
@@ -80,7 +82,7 @@ var legalEntityOwnershipTypeValues = ["public", "private"];
80
82
  var legalEntityDocumentTypeValues = ["irs_cp_575"];
81
83
  var merchantBusinessCategoryTypeValues = ["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"];
82
84
  var paymentLinkAmountTypeValues = ["fixed", "open"];
83
- var paymentMethodTypeValues = ["card", "bank_account", "googlepay"];
85
+ var paymentMethodTypeValues = ["card", "bank_account", "googlepay", "applepay"];
84
86
  var embedConfirmCardPaymentMethodInputTypeValues = ["card"];
85
87
  var embedConfirmBankAccountPaymentMethodInputTypeValues = ["bank_account"];
86
88
  var embedConfirmGooglePayPaymentMethodInputTypeValues = ["googlepay"];
@@ -88,9 +90,11 @@ var embedConfirmApplePayPaymentMethodInputTypeValues = ["applepay"];
88
90
  var allowedCardPaymentMethodInputTypeValues = ["card"];
89
91
  var allowedBankAccountPaymentMethodInputTypeValues = ["bank_account"];
90
92
  var allowedGooglePayPaymentMethodInputTypeValues = ["googlepay"];
93
+ var allowedApplePayPaymentMethodInputTypeValues = ["applepay"];
91
94
  var allowedCardPaymentMethodTypeValues = ["card"];
92
95
  var allowedBankAccountPaymentMethodTypeValues = ["bank_account"];
93
96
  var allowedGooglePayPaymentMethodTypeValues = ["googlepay"];
97
+ var allowedApplePayPaymentMethodTypeValues = ["applepay"];
94
98
  var payoutDirectionTypeValues = ["credit", "debit"];
95
99
  var payoutStateTypeValues = ["pending", "processing", "succeeded", "failed", "errored", "accepted", "rejected"];
96
100
  var refundStateTypeValues = ["pending", "processing", "requires_review", "succeeded", "cancelled", "failed"];
@@ -118,6 +122,8 @@ function createPayApiClient(options) {
118
122
  PAY_API_BASE_URL_PRODUCTION,
119
123
  PAY_API_BASE_URL_SANDBOX,
120
124
  PAY_API_VERSION,
125
+ allowedApplePayPaymentMethodInputTypeValues,
126
+ allowedApplePayPaymentMethodTypeValues,
121
127
  allowedBankAccountPaymentMethodInputTypeValues,
122
128
  allowedBankAccountPaymentMethodTypeValues,
123
129
  allowedCardPaymentMethodInputTypeValues,