@amos.com/node 0.1.21 → 0.1.22

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
@@ -5040,6 +5040,47 @@ interface operations {
5040
5040
  };
5041
5041
  };
5042
5042
  }
5043
+ type FlattenedDeepRequired<T> = {
5044
+ [K in keyof T]-?: FlattenedDeepRequired<T[K] extends unknown[] | undefined | null ? Extract<T[K], unknown[]>[number] : T[K]>;
5045
+ };
5046
+ type ReadonlyArray<T> = [
5047
+ Exclude<T, undefined>
5048
+ ] extends [
5049
+ unknown[]
5050
+ ] ? Readonly<Exclude<T, undefined>> : Readonly<Exclude<T, undefined>[]>;
5051
+ declare const chargeAllowed_reverse_actionValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Charge"]["allowed_reverse_action"]>;
5052
+ declare const chargeStateValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Charge"]["state"]>;
5053
+ declare const externalAccountTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["ExternalAccount"]["type"]>;
5054
+ declare const legalEntityEntityTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["LegalEntityEntityType"]>;
5055
+ declare const legalEntityOwnershipTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["LegalEntityOwnershipType"]>;
5056
+ declare const legalEntityDocumentTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["LegalEntityDocumentType"]>;
5057
+ declare const merchantBusinessCategoryTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["MerchantBusinessCategoryType"]>;
5058
+ declare const paymentLinkAmountTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PaymentLinkAmountType"]>;
5059
+ declare const paymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PaymentMethodType"]>;
5060
+ declare const embedConfirmCardPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmCardPaymentMethodInput"]["type"]>;
5061
+ declare const embedConfirmBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmBankAccountPaymentMethodInput"]["type"]>;
5062
+ declare const embedConfirmGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmGooglePayPaymentMethodInput"]["type"]>;
5063
+ declare const embedConfirmApplePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmApplePayPaymentMethodInput"]["type"]>;
5064
+ declare const allowedCardPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedCardPaymentMethodInput"]["type"]>;
5065
+ declare const allowedBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedBankAccountPaymentMethodInput"]["type"]>;
5066
+ declare const allowedGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedGooglePayPaymentMethodInput"]["type"]>;
5067
+ declare const allowedCardPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedCardPaymentMethod"]["type"]>;
5068
+ declare const allowedBankAccountPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedBankAccountPaymentMethod"]["type"]>;
5069
+ declare const allowedGooglePayPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedGooglePayPaymentMethod"]["type"]>;
5070
+ declare const payoutDirectionTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PayoutDirectionType"]>;
5071
+ declare const payoutStateTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PayoutStateType"]>;
5072
+ declare const refundStateTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["RefundStateType"]>;
5073
+ declare const subscriptionIntervalTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["SubscriptionIntervalType"]>;
5074
+ declare const subscriptionPlanTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["SubscriptionPlanType"]>;
5075
+ declare const transactionSourceTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["TransactionSourceType"]>;
5076
+ declare const walletProviderTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["WalletProviderType"]>;
5077
+ declare const webhookEventTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["WebhookEventType"]>;
5078
+ declare const paymentIntentStateValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PaymentIntent"]["state"]>;
5079
+ declare const processorTransactionPayment_transaction_typeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["ProcessorTransaction"]["payment_transaction_type"]>;
5080
+ declare const processorTransactionTransaction_typeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["ProcessorTransaction"]["transaction_type"]>;
5081
+ declare const refundAllowed_reverse_actionValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Refund"]["allowed_reverse_action"]>;
5082
+ declare const setupIntentStateValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["SetupIntent"]["state"]>;
5083
+ declare const subscriptionStateValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Subscription"]["state"]>;
5043
5084
 
5044
5085
  declare const PAY_API_BASE_URL_PRODUCTION = "https://pay.amos.com";
5045
5086
  declare const PAY_API_BASE_URL_SANDBOX = "https://pay-sandbox.amos.com";
@@ -5082,4 +5123,4 @@ declare function createPayApiClient(options: ClientOptions): openapi_fetch.Clien
5082
5123
  /** A configured Amos Pay API client returned by {@link createPayApiClient}. */
5083
5124
  type PayApiClient = ReturnType<typeof createPayApiClient>;
5084
5125
 
5085
- export { type $defs, PAY_API_BASE_URL_PRODUCTION, PAY_API_BASE_URL_SANDBOX, PAY_API_VERSION, type PayApiClient, type components, createPayApiClient, type operations, type paths, type webhooks };
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 };
package/dist/index.d.ts CHANGED
@@ -5040,6 +5040,47 @@ interface operations {
5040
5040
  };
5041
5041
  };
5042
5042
  }
5043
+ type FlattenedDeepRequired<T> = {
5044
+ [K in keyof T]-?: FlattenedDeepRequired<T[K] extends unknown[] | undefined | null ? Extract<T[K], unknown[]>[number] : T[K]>;
5045
+ };
5046
+ type ReadonlyArray<T> = [
5047
+ Exclude<T, undefined>
5048
+ ] extends [
5049
+ unknown[]
5050
+ ] ? Readonly<Exclude<T, undefined>> : Readonly<Exclude<T, undefined>[]>;
5051
+ declare const chargeAllowed_reverse_actionValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Charge"]["allowed_reverse_action"]>;
5052
+ declare const chargeStateValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Charge"]["state"]>;
5053
+ declare const externalAccountTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["ExternalAccount"]["type"]>;
5054
+ declare const legalEntityEntityTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["LegalEntityEntityType"]>;
5055
+ declare const legalEntityOwnershipTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["LegalEntityOwnershipType"]>;
5056
+ declare const legalEntityDocumentTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["LegalEntityDocumentType"]>;
5057
+ declare const merchantBusinessCategoryTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["MerchantBusinessCategoryType"]>;
5058
+ declare const paymentLinkAmountTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PaymentLinkAmountType"]>;
5059
+ declare const paymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PaymentMethodType"]>;
5060
+ declare const embedConfirmCardPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmCardPaymentMethodInput"]["type"]>;
5061
+ declare const embedConfirmBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmBankAccountPaymentMethodInput"]["type"]>;
5062
+ declare const embedConfirmGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmGooglePayPaymentMethodInput"]["type"]>;
5063
+ declare const embedConfirmApplePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["EmbedConfirmApplePayPaymentMethodInput"]["type"]>;
5064
+ declare const allowedCardPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedCardPaymentMethodInput"]["type"]>;
5065
+ declare const allowedBankAccountPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedBankAccountPaymentMethodInput"]["type"]>;
5066
+ declare const allowedGooglePayPaymentMethodInputTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedGooglePayPaymentMethodInput"]["type"]>;
5067
+ declare const allowedCardPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedCardPaymentMethod"]["type"]>;
5068
+ declare const allowedBankAccountPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedBankAccountPaymentMethod"]["type"]>;
5069
+ declare const allowedGooglePayPaymentMethodTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["AllowedGooglePayPaymentMethod"]["type"]>;
5070
+ declare const payoutDirectionTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PayoutDirectionType"]>;
5071
+ declare const payoutStateTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PayoutStateType"]>;
5072
+ declare const refundStateTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["RefundStateType"]>;
5073
+ declare const subscriptionIntervalTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["SubscriptionIntervalType"]>;
5074
+ declare const subscriptionPlanTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["SubscriptionPlanType"]>;
5075
+ declare const transactionSourceTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["TransactionSourceType"]>;
5076
+ declare const walletProviderTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["WalletProviderType"]>;
5077
+ declare const webhookEventTypeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["WebhookEventType"]>;
5078
+ declare const paymentIntentStateValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["PaymentIntent"]["state"]>;
5079
+ declare const processorTransactionPayment_transaction_typeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["ProcessorTransaction"]["payment_transaction_type"]>;
5080
+ declare const processorTransactionTransaction_typeValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["ProcessorTransaction"]["transaction_type"]>;
5081
+ declare const refundAllowed_reverse_actionValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Refund"]["allowed_reverse_action"]>;
5082
+ declare const setupIntentStateValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["SetupIntent"]["state"]>;
5083
+ declare const subscriptionStateValues: ReadonlyArray<FlattenedDeepRequired<components>["schemas"]["Subscription"]["state"]>;
5043
5084
 
5044
5085
  declare const PAY_API_BASE_URL_PRODUCTION = "https://pay.amos.com";
5045
5086
  declare const PAY_API_BASE_URL_SANDBOX = "https://pay-sandbox.amos.com";
@@ -5082,4 +5123,4 @@ declare function createPayApiClient(options: ClientOptions): openapi_fetch.Clien
5082
5123
  /** A configured Amos Pay API client returned by {@link createPayApiClient}. */
5083
5124
  type PayApiClient = ReturnType<typeof createPayApiClient>;
5084
5125
 
5085
- export { type $defs, PAY_API_BASE_URL_PRODUCTION, PAY_API_BASE_URL_SANDBOX, PAY_API_VERSION, type PayApiClient, type components, createPayApiClient, type operations, type paths, type webhooks };
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 };
package/dist/index.js CHANGED
@@ -33,10 +33,80 @@ __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
- createPayApiClient: () => createPayApiClient
36
+ allowedBankAccountPaymentMethodInputTypeValues: () => allowedBankAccountPaymentMethodInputTypeValues,
37
+ allowedBankAccountPaymentMethodTypeValues: () => allowedBankAccountPaymentMethodTypeValues,
38
+ allowedCardPaymentMethodInputTypeValues: () => allowedCardPaymentMethodInputTypeValues,
39
+ allowedCardPaymentMethodTypeValues: () => allowedCardPaymentMethodTypeValues,
40
+ allowedGooglePayPaymentMethodInputTypeValues: () => allowedGooglePayPaymentMethodInputTypeValues,
41
+ allowedGooglePayPaymentMethodTypeValues: () => allowedGooglePayPaymentMethodTypeValues,
42
+ chargeAllowed_reverse_actionValues: () => chargeAllowed_reverse_actionValues,
43
+ chargeStateValues: () => chargeStateValues,
44
+ createPayApiClient: () => createPayApiClient,
45
+ embedConfirmApplePayPaymentMethodInputTypeValues: () => embedConfirmApplePayPaymentMethodInputTypeValues,
46
+ embedConfirmBankAccountPaymentMethodInputTypeValues: () => embedConfirmBankAccountPaymentMethodInputTypeValues,
47
+ embedConfirmCardPaymentMethodInputTypeValues: () => embedConfirmCardPaymentMethodInputTypeValues,
48
+ embedConfirmGooglePayPaymentMethodInputTypeValues: () => embedConfirmGooglePayPaymentMethodInputTypeValues,
49
+ externalAccountTypeValues: () => externalAccountTypeValues,
50
+ legalEntityDocumentTypeValues: () => legalEntityDocumentTypeValues,
51
+ legalEntityEntityTypeValues: () => legalEntityEntityTypeValues,
52
+ legalEntityOwnershipTypeValues: () => legalEntityOwnershipTypeValues,
53
+ merchantBusinessCategoryTypeValues: () => merchantBusinessCategoryTypeValues,
54
+ paymentIntentStateValues: () => paymentIntentStateValues,
55
+ paymentLinkAmountTypeValues: () => paymentLinkAmountTypeValues,
56
+ paymentMethodTypeValues: () => paymentMethodTypeValues,
57
+ payoutDirectionTypeValues: () => payoutDirectionTypeValues,
58
+ payoutStateTypeValues: () => payoutStateTypeValues,
59
+ processorTransactionPayment_transaction_typeValues: () => processorTransactionPayment_transaction_typeValues,
60
+ processorTransactionTransaction_typeValues: () => processorTransactionTransaction_typeValues,
61
+ refundAllowed_reverse_actionValues: () => refundAllowed_reverse_actionValues,
62
+ refundStateTypeValues: () => refundStateTypeValues,
63
+ setupIntentStateValues: () => setupIntentStateValues,
64
+ subscriptionIntervalTypeValues: () => subscriptionIntervalTypeValues,
65
+ subscriptionPlanTypeValues: () => subscriptionPlanTypeValues,
66
+ subscriptionStateValues: () => subscriptionStateValues,
67
+ transactionSourceTypeValues: () => transactionSourceTypeValues,
68
+ walletProviderTypeValues: () => walletProviderTypeValues,
69
+ webhookEventTypeValues: () => webhookEventTypeValues
37
70
  });
38
71
  module.exports = __toCommonJS(index_exports);
39
72
  var import_openapi_fetch = __toESM(require("openapi-fetch"));
73
+
74
+ // openapi/schema.ts
75
+ var chargeAllowed_reverse_actionValues = ["void", "refund"];
76
+ var chargeStateValues = ["cancelled", "errored", "failed", "processing", "requires_capture", "requires_confirmation", "requires_review", "succeeded"];
77
+ var externalAccountTypeValues = ["external_card", "external_bank_account"];
78
+ var legalEntityEntityTypeValues = ["individual_sole_proprietorship", "corporation", "limited_liability_company", "partnership", "limited_partnership", "general_partnership", "tax_exempt_organization", "government_agency"];
79
+ var legalEntityOwnershipTypeValues = ["public", "private"];
80
+ var legalEntityDocumentTypeValues = ["irs_cp_575"];
81
+ 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
+ var paymentLinkAmountTypeValues = ["fixed", "open"];
83
+ var paymentMethodTypeValues = ["card", "bank_account", "googlepay"];
84
+ var embedConfirmCardPaymentMethodInputTypeValues = ["card"];
85
+ var embedConfirmBankAccountPaymentMethodInputTypeValues = ["bank_account"];
86
+ var embedConfirmGooglePayPaymentMethodInputTypeValues = ["googlepay"];
87
+ var embedConfirmApplePayPaymentMethodInputTypeValues = ["applepay"];
88
+ var allowedCardPaymentMethodInputTypeValues = ["card"];
89
+ var allowedBankAccountPaymentMethodInputTypeValues = ["bank_account"];
90
+ var allowedGooglePayPaymentMethodInputTypeValues = ["googlepay"];
91
+ var allowedCardPaymentMethodTypeValues = ["card"];
92
+ var allowedBankAccountPaymentMethodTypeValues = ["bank_account"];
93
+ var allowedGooglePayPaymentMethodTypeValues = ["googlepay"];
94
+ var payoutDirectionTypeValues = ["credit", "debit"];
95
+ var payoutStateTypeValues = ["pending", "processing", "succeeded", "failed", "errored", "accepted", "rejected"];
96
+ var refundStateTypeValues = ["pending", "processing", "requires_review", "succeeded", "cancelled", "failed"];
97
+ var subscriptionIntervalTypeValues = ["day", "week", "month", "year"];
98
+ var subscriptionPlanTypeValues = ["fixed", "variable"];
99
+ var transactionSourceTypeValues = ["api", "dashboard", "iframe", "system", "subscription"];
100
+ var walletProviderTypeValues = ["googlepay", "applepay"];
101
+ var webhookEventTypeValues = ["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"];
102
+ var paymentIntentStateValues = ["requires_payment_method", "requires_confirmation", "requires_capture", "processing_authorization", "processing_capture", "processing_sale", "requires_review", "succeeded", "cancelled", "errored_authorization", "errored_capture", "errored_sale"];
103
+ var processorTransactionPayment_transaction_typeValues = ["charge", "refund", "void"];
104
+ var processorTransactionTransaction_typeValues = ["authorization", "authorization_reversal", "capture", "credit", "echeck_credit", "echeck_sale", "echeck_void", "sale", "void"];
105
+ var refundAllowed_reverse_actionValues = ["void"];
106
+ var setupIntentStateValues = ["requires_payment_method", "requires_confirmation", "verifying", "requires_review", "succeeded", "failed", "cancelled", "errored"];
107
+ var subscriptionStateValues = ["active", "paused", "past_due", "cancelled"];
108
+
109
+ // src/index.ts
40
110
  var PAY_API_BASE_URL_PRODUCTION = "https://pay.amos.com";
41
111
  var PAY_API_BASE_URL_SANDBOX = "https://pay-sandbox.amos.com";
42
112
  var PAY_API_VERSION = "1";
@@ -48,6 +118,39 @@ function createPayApiClient(options) {
48
118
  PAY_API_BASE_URL_PRODUCTION,
49
119
  PAY_API_BASE_URL_SANDBOX,
50
120
  PAY_API_VERSION,
51
- createPayApiClient
121
+ allowedBankAccountPaymentMethodInputTypeValues,
122
+ allowedBankAccountPaymentMethodTypeValues,
123
+ allowedCardPaymentMethodInputTypeValues,
124
+ allowedCardPaymentMethodTypeValues,
125
+ allowedGooglePayPaymentMethodInputTypeValues,
126
+ allowedGooglePayPaymentMethodTypeValues,
127
+ chargeAllowed_reverse_actionValues,
128
+ chargeStateValues,
129
+ createPayApiClient,
130
+ embedConfirmApplePayPaymentMethodInputTypeValues,
131
+ embedConfirmBankAccountPaymentMethodInputTypeValues,
132
+ embedConfirmCardPaymentMethodInputTypeValues,
133
+ embedConfirmGooglePayPaymentMethodInputTypeValues,
134
+ externalAccountTypeValues,
135
+ legalEntityDocumentTypeValues,
136
+ legalEntityEntityTypeValues,
137
+ legalEntityOwnershipTypeValues,
138
+ merchantBusinessCategoryTypeValues,
139
+ paymentIntentStateValues,
140
+ paymentLinkAmountTypeValues,
141
+ paymentMethodTypeValues,
142
+ payoutDirectionTypeValues,
143
+ payoutStateTypeValues,
144
+ processorTransactionPayment_transaction_typeValues,
145
+ processorTransactionTransaction_typeValues,
146
+ refundAllowed_reverse_actionValues,
147
+ refundStateTypeValues,
148
+ setupIntentStateValues,
149
+ subscriptionIntervalTypeValues,
150
+ subscriptionPlanTypeValues,
151
+ subscriptionStateValues,
152
+ transactionSourceTypeValues,
153
+ walletProviderTypeValues,
154
+ webhookEventTypeValues
52
155
  });
53
156
  //# sourceMappingURL=index.js.map