@amos.com/node 0.1.56 → 0.1.58

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.js CHANGED
@@ -46,19 +46,19 @@ __export(index_exports, {
46
46
  chargeAllowed_reverse_actionValues: () => chargeAllowed_reverse_actionValues,
47
47
  chargeStateValues: () => chargeStateValues,
48
48
  createPayApiClient: () => createPayApiClient,
49
+ dunningConfigurationExhaustedActionTypeValues: () => dunningConfigurationExhaustedActionTypeValues,
49
50
  embedConfirmApplePayPaymentMethodInputTypeValues: () => embedConfirmApplePayPaymentMethodInputTypeValues,
50
51
  embedConfirmBankAccountPaymentMethodInputTypeValues: () => embedConfirmBankAccountPaymentMethodInputTypeValues,
51
52
  embedConfirmCardPaymentMethodInputTypeValues: () => embedConfirmCardPaymentMethodInputTypeValues,
52
53
  embedConfirmGooglePayPaymentMethodInputTypeValues: () => embedConfirmGooglePayPaymentMethodInputTypeValues,
53
54
  externalAccountTypeValues: () => externalAccountTypeValues,
54
55
  internationalBillingAddressOptionsModeValues: () => internationalBillingAddressOptionsModeValues,
55
- lastPaymentErrorCodeValues: () => lastPaymentErrorCodeValues,
56
- lastPaymentErrorTypeValues: () => lastPaymentErrorTypeValues,
57
56
  legalEntityDocumentTypeValues: () => legalEntityDocumentTypeValues,
58
57
  legalEntityEntityTypeValues: () => legalEntityEntityTypeValues,
59
58
  legalEntityOwnershipTypeValues: () => legalEntityOwnershipTypeValues,
60
59
  merchantBusinessCategoryTypeValues: () => merchantBusinessCategoryTypeValues,
61
60
  organizationKindValues: () => organizationKindValues,
61
+ originApplepayRegistrationStateTypeValues: () => originApplepayRegistrationStateTypeValues,
62
62
  paymentIntentCaptureMethodTypeValues: () => paymentIntentCaptureMethodTypeValues,
63
63
  paymentIntentStateValues: () => paymentIntentStateValues,
64
64
  paymentLinkAmountTypeValues: () => paymentLinkAmountTypeValues,
@@ -87,6 +87,7 @@ var bankAccountProfileFailure_reasonValues = ["activation_failed", "processing_e
87
87
  var cardProfileFailure_reasonValues = ["authorization_failed", "avs_blocked", "brand_not_allowed", "brand_not_found", "cvc_blocked", "processing_error", "vault_failed"];
88
88
  var chargeAllowed_reverse_actionValues = ["void", "refund"];
89
89
  var chargeStateValues = ["cancelled", "errored", "failed", "processing", "requires_capture", "requires_confirmation", "requires_review", "settlement_failed", "succeeded"];
90
+ var dunningConfigurationExhaustedActionTypeValues = ["cancel", "pause", "none"];
90
91
  var externalAccountTypeValues = ["external_card", "external_bank_account"];
91
92
  var legalEntityEntityTypeValues = ["individual_sole_proprietorship", "corporation", "limited_liability_company", "partnership", "limited_partnership", "general_partnership", "tax_exempt_organization", "government_agency"];
92
93
  var legalEntityOwnershipTypeValues = ["public", "private"];
@@ -119,9 +120,8 @@ var transactionSourceTypeValues = ["api", "dashboard", "iframe", "system", "subs
119
120
  var walletProviderTypeValues = ["googlepay", "applepay"];
120
121
  var webhookEventTypeValues = ["charge.cancelled", "charge.created", "charge.errored", "charge.failed", "charge.processing", "charge.requires_capture", "charge.requires_confirmation", "charge.requires_review", "charge.settlement_failed", "charge.succeeded", "customer.created", "customer.updated", "legal_entity.created", "legal_entity.updated", "legal_entity_principal.created", "legal_entity_principal.updated", "legal_entity_application.approved", "legal_entity_application.denied", "legal_entity_application.needs_information", "legal_entity_application.pending", "legal_entity_application.submitted", "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", "setup_intent.cancelled", "setup_intent.created", "setup_intent.errored", "setup_intent.failed", "setup_intent.requires_confirmation", "setup_intent.requires_payment_method", "setup_intent.requires_review", "setup_intent.succeeded", "setup_intent.verifying", "void.created", "void.failed", "void.pending", "void.processing", "void.requires_review", "void.succeeded"];
121
122
  var organizationKindValues = ["direct", "payfac"];
123
+ var originApplepayRegistrationStateTypeValues = ["pending", "skipped", "registered", "failed"];
122
124
  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"];
123
- var lastPaymentErrorTypeValues = ["card_error", "processing_error"];
124
- var lastPaymentErrorCodeValues = ["incorrect_number", "incorrect_cvc", "incorrect_postal_code", "incorrect_pin", "expired_card", "insufficient_funds", "card_declined", "authentication_failure", "processing_error", "vault_token_not_found"];
125
125
  var processorTransactionPayment_transaction_typeValues = ["charge", "refund", "void"];
126
126
  var processorTransactionTransaction_typeValues = ["authorization", "authorization_reversal", "capture", "credit", "echeck_credit", "echeck_sale", "echeck_void", "sale", "void"];
127
127
  var refundAllowed_reverse_actionValues = ["void"];
@@ -153,19 +153,19 @@ function createPayApiClient(options) {
153
153
  chargeAllowed_reverse_actionValues,
154
154
  chargeStateValues,
155
155
  createPayApiClient,
156
+ dunningConfigurationExhaustedActionTypeValues,
156
157
  embedConfirmApplePayPaymentMethodInputTypeValues,
157
158
  embedConfirmBankAccountPaymentMethodInputTypeValues,
158
159
  embedConfirmCardPaymentMethodInputTypeValues,
159
160
  embedConfirmGooglePayPaymentMethodInputTypeValues,
160
161
  externalAccountTypeValues,
161
162
  internationalBillingAddressOptionsModeValues,
162
- lastPaymentErrorCodeValues,
163
- lastPaymentErrorTypeValues,
164
163
  legalEntityDocumentTypeValues,
165
164
  legalEntityEntityTypeValues,
166
165
  legalEntityOwnershipTypeValues,
167
166
  merchantBusinessCategoryTypeValues,
168
167
  organizationKindValues,
168
+ originApplepayRegistrationStateTypeValues,
169
169
  paymentIntentCaptureMethodTypeValues,
170
170
  paymentIntentStateValues,
171
171
  paymentLinkAmountTypeValues,