@amos.com/node 0.1.33 → 0.1.35
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 +43 -3
- package/dist/index.d.ts +43 -3
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -0
- package/dist/index.mjs.map +1 -1
- package/openapi/schema.ts +42 -2
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1189,6 +1189,7 @@ interface components {
|
|
|
1189
1189
|
/** @description Decoded JWT payload for render token responses. */
|
|
1190
1190
|
RenderTokenJwt: {
|
|
1191
1191
|
allowed_payment_methods?: components["schemas"]["AllowedPaymentMethod"][];
|
|
1192
|
+
billing_address_options?: components["schemas"]["BillingAddressOptions"];
|
|
1192
1193
|
env?: string;
|
|
1193
1194
|
origins?: string[];
|
|
1194
1195
|
/** Format: uuid */
|
|
@@ -1558,10 +1559,43 @@ interface components {
|
|
|
1558
1559
|
LegalEntityDocumentType: "irs_cp_575";
|
|
1559
1560
|
/** @enum {string} */
|
|
1560
1561
|
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";
|
|
1562
|
+
/**
|
|
1563
|
+
* @description How funds are captured after payment confirmation.
|
|
1564
|
+
* `automatic` performs a sale (authorize and capture together).
|
|
1565
|
+
* `automatic_async` authorizes then captures asynchronously.
|
|
1566
|
+
* `manual` authorizes only; capture must be requested separately.
|
|
1567
|
+
* @enum {string}
|
|
1568
|
+
*/
|
|
1569
|
+
PaymentIntentCaptureMethodType: "automatic" | "automatic_async" | "manual";
|
|
1561
1570
|
/** @enum {string} */
|
|
1562
1571
|
PaymentLinkAmountType: "fixed" | "open";
|
|
1563
1572
|
/** @enum {string} */
|
|
1564
1573
|
PaymentMethodType: "card" | "bank_account" | "googlepay" | "applepay";
|
|
1574
|
+
/**
|
|
1575
|
+
* @description US state code (50 states; excludes DC and territories).
|
|
1576
|
+
* @enum {string}
|
|
1577
|
+
*/
|
|
1578
|
+
UsStateType: "AK" | "AL" | "AR" | "AZ" | "CA" | "CO" | "CT" | "DE" | "FL" | "GA" | "HI" | "IA" | "ID" | "IL" | "IN" | "KS" | "KY" | "LA" | "MA" | "MD" | "ME" | "MI" | "MN" | "MO" | "MS" | "MT" | "NC" | "ND" | "NE" | "NH" | "NJ" | "NM" | "NV" | "NY" | "OH" | "OK" | "OR" | "PA" | "RI" | "SC" | "SD" | "TN" | "TX" | "UT" | "VA" | "VT" | "WA" | "WI" | "WV" | "WY";
|
|
1579
|
+
/** @description Restrict billing addresses to selected US states. */
|
|
1580
|
+
UsOnlyBillingAddressOptions: {
|
|
1581
|
+
/**
|
|
1582
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1583
|
+
* @enum {string}
|
|
1584
|
+
*/
|
|
1585
|
+
mode: "us_only";
|
|
1586
|
+
allowed_states: components["schemas"]["UsStateType"][];
|
|
1587
|
+
};
|
|
1588
|
+
/** @description Restrict billing addresses to selected countries. */
|
|
1589
|
+
InternationalBillingAddressOptions: {
|
|
1590
|
+
/**
|
|
1591
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1592
|
+
* @enum {string}
|
|
1593
|
+
*/
|
|
1594
|
+
mode: "international";
|
|
1595
|
+
allowed_countries: string[];
|
|
1596
|
+
};
|
|
1597
|
+
/** @description Billing address collection restrictions for a render template. */
|
|
1598
|
+
BillingAddressOptions: components["schemas"]["UsOnlyBillingAddressOptions"] | components["schemas"]["InternationalBillingAddressOptions"];
|
|
1565
1599
|
/** @description Payment method details used when confirming an embedded intent with a new payment method. */
|
|
1566
1600
|
EmbedConfirmPaymentMethodInput: components["schemas"]["EmbedConfirmCardPaymentMethodInput"] | components["schemas"]["EmbedConfirmBankAccountPaymentMethodInput"] | components["schemas"]["EmbedConfirmGooglePayPaymentMethodInput"] | components["schemas"]["EmbedConfirmApplePayPaymentMethodInput"];
|
|
1567
1601
|
EmbedConfirmCardPaymentMethodInput: {
|
|
@@ -1908,7 +1942,7 @@ interface components {
|
|
|
1908
1942
|
};
|
|
1909
1943
|
CreatePaymentIntentInput: {
|
|
1910
1944
|
amount: number;
|
|
1911
|
-
capture_method?:
|
|
1945
|
+
capture_method?: components["schemas"]["PaymentIntentCaptureMethodType"];
|
|
1912
1946
|
/** Format: uuid */
|
|
1913
1947
|
customer_id?: string;
|
|
1914
1948
|
description?: string | null;
|
|
@@ -1946,7 +1980,7 @@ interface components {
|
|
|
1946
1980
|
/** Format: uuid */
|
|
1947
1981
|
account_id?: string;
|
|
1948
1982
|
amount?: number;
|
|
1949
|
-
capture_method?:
|
|
1983
|
+
capture_method?: components["schemas"]["PaymentIntentCaptureMethodType"];
|
|
1950
1984
|
/** Format: uuid */
|
|
1951
1985
|
charge_id?: string;
|
|
1952
1986
|
currency?: string;
|
|
@@ -2242,6 +2276,7 @@ interface components {
|
|
|
2242
2276
|
};
|
|
2243
2277
|
CreateRenderTemplateInput: {
|
|
2244
2278
|
allowed_payment_methods?: components["schemas"]["AllowedPaymentMethodInput"][];
|
|
2279
|
+
billing_address_options: components["schemas"]["BillingAddressOptions"];
|
|
2245
2280
|
currency?: string;
|
|
2246
2281
|
origin_ids?: string[];
|
|
2247
2282
|
};
|
|
@@ -2254,6 +2289,7 @@ interface components {
|
|
|
2254
2289
|
/** Format: uuid */
|
|
2255
2290
|
organization_id?: string;
|
|
2256
2291
|
allowed_payment_methods?: components["schemas"]["AllowedPaymentMethod"][];
|
|
2292
|
+
billing_address_options: components["schemas"]["BillingAddressOptions"];
|
|
2257
2293
|
currency?: string;
|
|
2258
2294
|
};
|
|
2259
2295
|
CreateSetupIntentInput: {
|
|
@@ -5192,8 +5228,12 @@ declare const legalEntityEntityTypeValues: ReadonlyArray<FlattenedDeepRequired<c
|
|
|
5192
5228
|
declare const legalEntityOwnershipTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["LegalEntityOwnershipType"]>;
|
|
5193
5229
|
declare const legalEntityDocumentTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["LegalEntityDocumentType"]>;
|
|
5194
5230
|
declare const merchantBusinessCategoryTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["MerchantBusinessCategoryType"]>;
|
|
5231
|
+
declare const paymentIntentCaptureMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PaymentIntentCaptureMethodType"]>;
|
|
5195
5232
|
declare const paymentLinkAmountTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PaymentLinkAmountType"]>;
|
|
5196
5233
|
declare const paymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PaymentMethodType"]>;
|
|
5234
|
+
declare const usStateTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["UsStateType"]>;
|
|
5235
|
+
declare const usOnlyBillingAddressOptionsModeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["UsOnlyBillingAddressOptions"]["mode"]>;
|
|
5236
|
+
declare const internationalBillingAddressOptionsModeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["InternationalBillingAddressOptions"]["mode"]>;
|
|
5197
5237
|
declare const embedConfirmCardPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmCardPaymentMethodInput"]["type"]>;
|
|
5198
5238
|
declare const embedConfirmBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmBankAccountPaymentMethodInput"]["type"]>;
|
|
5199
5239
|
declare const embedConfirmGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmGooglePayPaymentMethodInput"]["type"]>;
|
|
@@ -5263,4 +5303,4 @@ declare function createPayApiClient(options: ClientOptions): openapi_fetch.Clien
|
|
|
5263
5303
|
/** A configured Amos Pay API client returned by {@link createPayApiClient}. */
|
|
5264
5304
|
type PayApiClient = ReturnType<typeof createPayApiClient>;
|
|
5265
5305
|
|
|
5266
|
-
export { type $defs, PAY_API_BASE_URL_PRODUCTION, PAY_API_BASE_URL_SANDBOX, PAY_API_VERSION, type PayApiClient, achVerificationTypeValues, allowedApplePayPaymentMethodInputTypeValues, allowedApplePayPaymentMethodTypeValues, allowedBankAccountPaymentMethodInputTypeValues, allowedBankAccountPaymentMethodTypeValues, allowedCardPaymentMethodInputTypeValues, allowedCardPaymentMethodTypeValues, allowedGooglePayPaymentMethodInputTypeValues, allowedGooglePayPaymentMethodTypeValues, bankAccountProfileFailure_reasonValues, cardProfileFailure_reasonValues, chargeAllowed_reverse_actionValues, chargeStateValues, type components, createPayApiClient, embedConfirmApplePayPaymentMethodInputTypeValues, embedConfirmBankAccountPaymentMethodInputTypeValues, embedConfirmCardPaymentMethodInputTypeValues, embedConfirmGooglePayPaymentMethodInputTypeValues, externalAccountTypeValues, legalEntityDocumentTypeValues, legalEntityEntityTypeValues, legalEntityOwnershipTypeValues, merchantBusinessCategoryTypeValues, type operations, type paths, pathsEmbedPayment_intentsIdGetParametersQueryPayment_method_typeValues, paymentIntentStateValues, paymentLinkAmountTypeValues, paymentMethodTypeValues, payoutDirectionTypeValues, payoutStateTypeValues, processorTransactionPayment_transaction_typeValues, processorTransactionTransaction_typeValues, refundAllowed_reverse_actionValues, refundStateTypeValues, setupIntentStateValues, subscriptionIntervalTypeValues, subscriptionPlanTypeValues, subscriptionStateValues, transactionSourceTypeValues, walletProviderTypeValues, webhookEventTypeValues, type webhooks };
|
|
5306
|
+
export { type $defs, PAY_API_BASE_URL_PRODUCTION, PAY_API_BASE_URL_SANDBOX, PAY_API_VERSION, type PayApiClient, achVerificationTypeValues, allowedApplePayPaymentMethodInputTypeValues, allowedApplePayPaymentMethodTypeValues, allowedBankAccountPaymentMethodInputTypeValues, allowedBankAccountPaymentMethodTypeValues, allowedCardPaymentMethodInputTypeValues, allowedCardPaymentMethodTypeValues, allowedGooglePayPaymentMethodInputTypeValues, allowedGooglePayPaymentMethodTypeValues, bankAccountProfileFailure_reasonValues, cardProfileFailure_reasonValues, chargeAllowed_reverse_actionValues, chargeStateValues, type components, createPayApiClient, embedConfirmApplePayPaymentMethodInputTypeValues, embedConfirmBankAccountPaymentMethodInputTypeValues, embedConfirmCardPaymentMethodInputTypeValues, embedConfirmGooglePayPaymentMethodInputTypeValues, externalAccountTypeValues, internationalBillingAddressOptionsModeValues, legalEntityDocumentTypeValues, legalEntityEntityTypeValues, legalEntityOwnershipTypeValues, merchantBusinessCategoryTypeValues, type operations, type paths, pathsEmbedPayment_intentsIdGetParametersQueryPayment_method_typeValues, paymentIntentCaptureMethodTypeValues, paymentIntentStateValues, paymentLinkAmountTypeValues, paymentMethodTypeValues, payoutDirectionTypeValues, payoutStateTypeValues, processorTransactionPayment_transaction_typeValues, processorTransactionTransaction_typeValues, refundAllowed_reverse_actionValues, refundStateTypeValues, setupIntentStateValues, subscriptionIntervalTypeValues, subscriptionPlanTypeValues, subscriptionStateValues, transactionSourceTypeValues, usOnlyBillingAddressOptionsModeValues, usStateTypeValues, walletProviderTypeValues, webhookEventTypeValues, type webhooks };
|
package/dist/index.d.ts
CHANGED
|
@@ -1189,6 +1189,7 @@ interface components {
|
|
|
1189
1189
|
/** @description Decoded JWT payload for render token responses. */
|
|
1190
1190
|
RenderTokenJwt: {
|
|
1191
1191
|
allowed_payment_methods?: components["schemas"]["AllowedPaymentMethod"][];
|
|
1192
|
+
billing_address_options?: components["schemas"]["BillingAddressOptions"];
|
|
1192
1193
|
env?: string;
|
|
1193
1194
|
origins?: string[];
|
|
1194
1195
|
/** Format: uuid */
|
|
@@ -1558,10 +1559,43 @@ interface components {
|
|
|
1558
1559
|
LegalEntityDocumentType: "irs_cp_575";
|
|
1559
1560
|
/** @enum {string} */
|
|
1560
1561
|
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";
|
|
1562
|
+
/**
|
|
1563
|
+
* @description How funds are captured after payment confirmation.
|
|
1564
|
+
* `automatic` performs a sale (authorize and capture together).
|
|
1565
|
+
* `automatic_async` authorizes then captures asynchronously.
|
|
1566
|
+
* `manual` authorizes only; capture must be requested separately.
|
|
1567
|
+
* @enum {string}
|
|
1568
|
+
*/
|
|
1569
|
+
PaymentIntentCaptureMethodType: "automatic" | "automatic_async" | "manual";
|
|
1561
1570
|
/** @enum {string} */
|
|
1562
1571
|
PaymentLinkAmountType: "fixed" | "open";
|
|
1563
1572
|
/** @enum {string} */
|
|
1564
1573
|
PaymentMethodType: "card" | "bank_account" | "googlepay" | "applepay";
|
|
1574
|
+
/**
|
|
1575
|
+
* @description US state code (50 states; excludes DC and territories).
|
|
1576
|
+
* @enum {string}
|
|
1577
|
+
*/
|
|
1578
|
+
UsStateType: "AK" | "AL" | "AR" | "AZ" | "CA" | "CO" | "CT" | "DE" | "FL" | "GA" | "HI" | "IA" | "ID" | "IL" | "IN" | "KS" | "KY" | "LA" | "MA" | "MD" | "ME" | "MI" | "MN" | "MO" | "MS" | "MT" | "NC" | "ND" | "NE" | "NH" | "NJ" | "NM" | "NV" | "NY" | "OH" | "OK" | "OR" | "PA" | "RI" | "SC" | "SD" | "TN" | "TX" | "UT" | "VA" | "VT" | "WA" | "WI" | "WV" | "WY";
|
|
1579
|
+
/** @description Restrict billing addresses to selected US states. */
|
|
1580
|
+
UsOnlyBillingAddressOptions: {
|
|
1581
|
+
/**
|
|
1582
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1583
|
+
* @enum {string}
|
|
1584
|
+
*/
|
|
1585
|
+
mode: "us_only";
|
|
1586
|
+
allowed_states: components["schemas"]["UsStateType"][];
|
|
1587
|
+
};
|
|
1588
|
+
/** @description Restrict billing addresses to selected countries. */
|
|
1589
|
+
InternationalBillingAddressOptions: {
|
|
1590
|
+
/**
|
|
1591
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1592
|
+
* @enum {string}
|
|
1593
|
+
*/
|
|
1594
|
+
mode: "international";
|
|
1595
|
+
allowed_countries: string[];
|
|
1596
|
+
};
|
|
1597
|
+
/** @description Billing address collection restrictions for a render template. */
|
|
1598
|
+
BillingAddressOptions: components["schemas"]["UsOnlyBillingAddressOptions"] | components["schemas"]["InternationalBillingAddressOptions"];
|
|
1565
1599
|
/** @description Payment method details used when confirming an embedded intent with a new payment method. */
|
|
1566
1600
|
EmbedConfirmPaymentMethodInput: components["schemas"]["EmbedConfirmCardPaymentMethodInput"] | components["schemas"]["EmbedConfirmBankAccountPaymentMethodInput"] | components["schemas"]["EmbedConfirmGooglePayPaymentMethodInput"] | components["schemas"]["EmbedConfirmApplePayPaymentMethodInput"];
|
|
1567
1601
|
EmbedConfirmCardPaymentMethodInput: {
|
|
@@ -1908,7 +1942,7 @@ interface components {
|
|
|
1908
1942
|
};
|
|
1909
1943
|
CreatePaymentIntentInput: {
|
|
1910
1944
|
amount: number;
|
|
1911
|
-
capture_method?:
|
|
1945
|
+
capture_method?: components["schemas"]["PaymentIntentCaptureMethodType"];
|
|
1912
1946
|
/** Format: uuid */
|
|
1913
1947
|
customer_id?: string;
|
|
1914
1948
|
description?: string | null;
|
|
@@ -1946,7 +1980,7 @@ interface components {
|
|
|
1946
1980
|
/** Format: uuid */
|
|
1947
1981
|
account_id?: string;
|
|
1948
1982
|
amount?: number;
|
|
1949
|
-
capture_method?:
|
|
1983
|
+
capture_method?: components["schemas"]["PaymentIntentCaptureMethodType"];
|
|
1950
1984
|
/** Format: uuid */
|
|
1951
1985
|
charge_id?: string;
|
|
1952
1986
|
currency?: string;
|
|
@@ -2242,6 +2276,7 @@ interface components {
|
|
|
2242
2276
|
};
|
|
2243
2277
|
CreateRenderTemplateInput: {
|
|
2244
2278
|
allowed_payment_methods?: components["schemas"]["AllowedPaymentMethodInput"][];
|
|
2279
|
+
billing_address_options: components["schemas"]["BillingAddressOptions"];
|
|
2245
2280
|
currency?: string;
|
|
2246
2281
|
origin_ids?: string[];
|
|
2247
2282
|
};
|
|
@@ -2254,6 +2289,7 @@ interface components {
|
|
|
2254
2289
|
/** Format: uuid */
|
|
2255
2290
|
organization_id?: string;
|
|
2256
2291
|
allowed_payment_methods?: components["schemas"]["AllowedPaymentMethod"][];
|
|
2292
|
+
billing_address_options: components["schemas"]["BillingAddressOptions"];
|
|
2257
2293
|
currency?: string;
|
|
2258
2294
|
};
|
|
2259
2295
|
CreateSetupIntentInput: {
|
|
@@ -5192,8 +5228,12 @@ declare const legalEntityEntityTypeValues: ReadonlyArray<FlattenedDeepRequired<c
|
|
|
5192
5228
|
declare const legalEntityOwnershipTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["LegalEntityOwnershipType"]>;
|
|
5193
5229
|
declare const legalEntityDocumentTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["LegalEntityDocumentType"]>;
|
|
5194
5230
|
declare const merchantBusinessCategoryTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["MerchantBusinessCategoryType"]>;
|
|
5231
|
+
declare const paymentIntentCaptureMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PaymentIntentCaptureMethodType"]>;
|
|
5195
5232
|
declare const paymentLinkAmountTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PaymentLinkAmountType"]>;
|
|
5196
5233
|
declare const paymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PaymentMethodType"]>;
|
|
5234
|
+
declare const usStateTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["UsStateType"]>;
|
|
5235
|
+
declare const usOnlyBillingAddressOptionsModeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["UsOnlyBillingAddressOptions"]["mode"]>;
|
|
5236
|
+
declare const internationalBillingAddressOptionsModeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["InternationalBillingAddressOptions"]["mode"]>;
|
|
5197
5237
|
declare const embedConfirmCardPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmCardPaymentMethodInput"]["type"]>;
|
|
5198
5238
|
declare const embedConfirmBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmBankAccountPaymentMethodInput"]["type"]>;
|
|
5199
5239
|
declare const embedConfirmGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmGooglePayPaymentMethodInput"]["type"]>;
|
|
@@ -5263,4 +5303,4 @@ declare function createPayApiClient(options: ClientOptions): openapi_fetch.Clien
|
|
|
5263
5303
|
/** A configured Amos Pay API client returned by {@link createPayApiClient}. */
|
|
5264
5304
|
type PayApiClient = ReturnType<typeof createPayApiClient>;
|
|
5265
5305
|
|
|
5266
|
-
export { type $defs, PAY_API_BASE_URL_PRODUCTION, PAY_API_BASE_URL_SANDBOX, PAY_API_VERSION, type PayApiClient, achVerificationTypeValues, allowedApplePayPaymentMethodInputTypeValues, allowedApplePayPaymentMethodTypeValues, allowedBankAccountPaymentMethodInputTypeValues, allowedBankAccountPaymentMethodTypeValues, allowedCardPaymentMethodInputTypeValues, allowedCardPaymentMethodTypeValues, allowedGooglePayPaymentMethodInputTypeValues, allowedGooglePayPaymentMethodTypeValues, bankAccountProfileFailure_reasonValues, cardProfileFailure_reasonValues, chargeAllowed_reverse_actionValues, chargeStateValues, type components, createPayApiClient, embedConfirmApplePayPaymentMethodInputTypeValues, embedConfirmBankAccountPaymentMethodInputTypeValues, embedConfirmCardPaymentMethodInputTypeValues, embedConfirmGooglePayPaymentMethodInputTypeValues, externalAccountTypeValues, legalEntityDocumentTypeValues, legalEntityEntityTypeValues, legalEntityOwnershipTypeValues, merchantBusinessCategoryTypeValues, type operations, type paths, pathsEmbedPayment_intentsIdGetParametersQueryPayment_method_typeValues, paymentIntentStateValues, paymentLinkAmountTypeValues, paymentMethodTypeValues, payoutDirectionTypeValues, payoutStateTypeValues, processorTransactionPayment_transaction_typeValues, processorTransactionTransaction_typeValues, refundAllowed_reverse_actionValues, refundStateTypeValues, setupIntentStateValues, subscriptionIntervalTypeValues, subscriptionPlanTypeValues, subscriptionStateValues, transactionSourceTypeValues, walletProviderTypeValues, webhookEventTypeValues, type webhooks };
|
|
5306
|
+
export { type $defs, PAY_API_BASE_URL_PRODUCTION, PAY_API_BASE_URL_SANDBOX, PAY_API_VERSION, type PayApiClient, achVerificationTypeValues, allowedApplePayPaymentMethodInputTypeValues, allowedApplePayPaymentMethodTypeValues, allowedBankAccountPaymentMethodInputTypeValues, allowedBankAccountPaymentMethodTypeValues, allowedCardPaymentMethodInputTypeValues, allowedCardPaymentMethodTypeValues, allowedGooglePayPaymentMethodInputTypeValues, allowedGooglePayPaymentMethodTypeValues, bankAccountProfileFailure_reasonValues, cardProfileFailure_reasonValues, chargeAllowed_reverse_actionValues, chargeStateValues, type components, createPayApiClient, embedConfirmApplePayPaymentMethodInputTypeValues, embedConfirmBankAccountPaymentMethodInputTypeValues, embedConfirmCardPaymentMethodInputTypeValues, embedConfirmGooglePayPaymentMethodInputTypeValues, externalAccountTypeValues, internationalBillingAddressOptionsModeValues, legalEntityDocumentTypeValues, legalEntityEntityTypeValues, legalEntityOwnershipTypeValues, merchantBusinessCategoryTypeValues, type operations, type paths, pathsEmbedPayment_intentsIdGetParametersQueryPayment_method_typeValues, paymentIntentCaptureMethodTypeValues, paymentIntentStateValues, paymentLinkAmountTypeValues, paymentMethodTypeValues, payoutDirectionTypeValues, payoutStateTypeValues, processorTransactionPayment_transaction_typeValues, processorTransactionTransaction_typeValues, refundAllowed_reverse_actionValues, refundStateTypeValues, setupIntentStateValues, subscriptionIntervalTypeValues, subscriptionPlanTypeValues, subscriptionStateValues, transactionSourceTypeValues, usOnlyBillingAddressOptionsModeValues, usStateTypeValues, walletProviderTypeValues, webhookEventTypeValues, type webhooks };
|
package/dist/index.js
CHANGED
|
@@ -52,11 +52,13 @@ __export(index_exports, {
|
|
|
52
52
|
embedConfirmCardPaymentMethodInputTypeValues: () => embedConfirmCardPaymentMethodInputTypeValues,
|
|
53
53
|
embedConfirmGooglePayPaymentMethodInputTypeValues: () => embedConfirmGooglePayPaymentMethodInputTypeValues,
|
|
54
54
|
externalAccountTypeValues: () => externalAccountTypeValues,
|
|
55
|
+
internationalBillingAddressOptionsModeValues: () => internationalBillingAddressOptionsModeValues,
|
|
55
56
|
legalEntityDocumentTypeValues: () => legalEntityDocumentTypeValues,
|
|
56
57
|
legalEntityEntityTypeValues: () => legalEntityEntityTypeValues,
|
|
57
58
|
legalEntityOwnershipTypeValues: () => legalEntityOwnershipTypeValues,
|
|
58
59
|
merchantBusinessCategoryTypeValues: () => merchantBusinessCategoryTypeValues,
|
|
59
60
|
pathsEmbedPayment_intentsIdGetParametersQueryPayment_method_typeValues: () => pathsEmbedPayment_intentsIdGetParametersQueryPayment_method_typeValues,
|
|
61
|
+
paymentIntentCaptureMethodTypeValues: () => paymentIntentCaptureMethodTypeValues,
|
|
60
62
|
paymentIntentStateValues: () => paymentIntentStateValues,
|
|
61
63
|
paymentLinkAmountTypeValues: () => paymentLinkAmountTypeValues,
|
|
62
64
|
paymentMethodTypeValues: () => paymentMethodTypeValues,
|
|
@@ -71,6 +73,8 @@ __export(index_exports, {
|
|
|
71
73
|
subscriptionPlanTypeValues: () => subscriptionPlanTypeValues,
|
|
72
74
|
subscriptionStateValues: () => subscriptionStateValues,
|
|
73
75
|
transactionSourceTypeValues: () => transactionSourceTypeValues,
|
|
76
|
+
usOnlyBillingAddressOptionsModeValues: () => usOnlyBillingAddressOptionsModeValues,
|
|
77
|
+
usStateTypeValues: () => usStateTypeValues,
|
|
74
78
|
walletProviderTypeValues: () => walletProviderTypeValues,
|
|
75
79
|
webhookEventTypeValues: () => webhookEventTypeValues
|
|
76
80
|
});
|
|
@@ -88,8 +92,12 @@ var legalEntityEntityTypeValues = ["individual_sole_proprietorship", "corporatio
|
|
|
88
92
|
var legalEntityOwnershipTypeValues = ["public", "private"];
|
|
89
93
|
var legalEntityDocumentTypeValues = ["irs_cp_575"];
|
|
90
94
|
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"];
|
|
95
|
+
var paymentIntentCaptureMethodTypeValues = ["automatic", "automatic_async", "manual"];
|
|
91
96
|
var paymentLinkAmountTypeValues = ["fixed", "open"];
|
|
92
97
|
var paymentMethodTypeValues = ["card", "bank_account", "googlepay", "applepay"];
|
|
98
|
+
var usStateTypeValues = ["AK", "AL", "AR", "AZ", "CA", "CO", "CT", "DE", "FL", "GA", "HI", "IA", "ID", "IL", "IN", "KS", "KY", "LA", "MA", "MD", "ME", "MI", "MN", "MO", "MS", "MT", "NC", "ND", "NE", "NH", "NJ", "NM", "NV", "NY", "OH", "OK", "OR", "PA", "RI", "SC", "SD", "TN", "TX", "UT", "VA", "VT", "WA", "WI", "WV", "WY"];
|
|
99
|
+
var usOnlyBillingAddressOptionsModeValues = ["us_only"];
|
|
100
|
+
var internationalBillingAddressOptionsModeValues = ["international"];
|
|
93
101
|
var embedConfirmCardPaymentMethodInputTypeValues = ["card"];
|
|
94
102
|
var embedConfirmBankAccountPaymentMethodInputTypeValues = ["bank_account"];
|
|
95
103
|
var embedConfirmGooglePayPaymentMethodInputTypeValues = ["googlepay"];
|
|
@@ -149,11 +157,13 @@ function createPayApiClient(options) {
|
|
|
149
157
|
embedConfirmCardPaymentMethodInputTypeValues,
|
|
150
158
|
embedConfirmGooglePayPaymentMethodInputTypeValues,
|
|
151
159
|
externalAccountTypeValues,
|
|
160
|
+
internationalBillingAddressOptionsModeValues,
|
|
152
161
|
legalEntityDocumentTypeValues,
|
|
153
162
|
legalEntityEntityTypeValues,
|
|
154
163
|
legalEntityOwnershipTypeValues,
|
|
155
164
|
merchantBusinessCategoryTypeValues,
|
|
156
165
|
pathsEmbedPayment_intentsIdGetParametersQueryPayment_method_typeValues,
|
|
166
|
+
paymentIntentCaptureMethodTypeValues,
|
|
157
167
|
paymentIntentStateValues,
|
|
158
168
|
paymentLinkAmountTypeValues,
|
|
159
169
|
paymentMethodTypeValues,
|
|
@@ -168,6 +178,8 @@ function createPayApiClient(options) {
|
|
|
168
178
|
subscriptionPlanTypeValues,
|
|
169
179
|
subscriptionStateValues,
|
|
170
180
|
transactionSourceTypeValues,
|
|
181
|
+
usOnlyBillingAddressOptionsModeValues,
|
|
182
|
+
usStateTypeValues,
|
|
171
183
|
walletProviderTypeValues,
|
|
172
184
|
webhookEventTypeValues
|
|
173
185
|
});
|