@amos.com/node 0.1.24 → 0.1.26
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 +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/openapi/schema.ts +4 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1350,7 +1350,7 @@ interface components {
|
|
|
1350
1350
|
platform_fee?: number;
|
|
1351
1351
|
source?: components["schemas"]["TransactionSourceType"];
|
|
1352
1352
|
/** @enum {string} */
|
|
1353
|
-
state?: "cancelled" | "errored" | "failed" | "processing" | "requires_capture" | "requires_confirmation" | "requires_review" | "succeeded";
|
|
1353
|
+
state?: "cancelled" | "errored" | "failed" | "processing" | "requires_capture" | "requires_confirmation" | "requires_review" | "settlement_failed" | "succeeded";
|
|
1354
1354
|
statement_descriptor?: string;
|
|
1355
1355
|
/** Format: date-time */
|
|
1356
1356
|
succeeded_at?: string;
|
|
@@ -1695,7 +1695,7 @@ interface components {
|
|
|
1695
1695
|
/** @enum {string} */
|
|
1696
1696
|
WalletProviderType: "googlepay" | "applepay";
|
|
1697
1697
|
/** @enum {string} */
|
|
1698
|
-
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";
|
|
1698
|
+
WebhookEventType: "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" | "void.created" | "void.failed" | "void.pending" | "void.processing" | "void.requires_review" | "void.succeeded";
|
|
1699
1699
|
CreateLegalEntityApplicationInput: {
|
|
1700
1700
|
legal_name?: string;
|
|
1701
1701
|
entity_type?: components["schemas"]["LegalEntityEntityType"];
|
package/dist/index.d.ts
CHANGED
|
@@ -1350,7 +1350,7 @@ interface components {
|
|
|
1350
1350
|
platform_fee?: number;
|
|
1351
1351
|
source?: components["schemas"]["TransactionSourceType"];
|
|
1352
1352
|
/** @enum {string} */
|
|
1353
|
-
state?: "cancelled" | "errored" | "failed" | "processing" | "requires_capture" | "requires_confirmation" | "requires_review" | "succeeded";
|
|
1353
|
+
state?: "cancelled" | "errored" | "failed" | "processing" | "requires_capture" | "requires_confirmation" | "requires_review" | "settlement_failed" | "succeeded";
|
|
1354
1354
|
statement_descriptor?: string;
|
|
1355
1355
|
/** Format: date-time */
|
|
1356
1356
|
succeeded_at?: string;
|
|
@@ -1695,7 +1695,7 @@ interface components {
|
|
|
1695
1695
|
/** @enum {string} */
|
|
1696
1696
|
WalletProviderType: "googlepay" | "applepay";
|
|
1697
1697
|
/** @enum {string} */
|
|
1698
|
-
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";
|
|
1698
|
+
WebhookEventType: "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" | "void.created" | "void.failed" | "void.pending" | "void.processing" | "void.requires_review" | "void.succeeded";
|
|
1699
1699
|
CreateLegalEntityApplicationInput: {
|
|
1700
1700
|
legal_name?: string;
|
|
1701
1701
|
entity_type?: components["schemas"]["LegalEntityEntityType"];
|
package/dist/index.js
CHANGED
|
@@ -75,7 +75,7 @@ var import_openapi_fetch = __toESM(require("openapi-fetch"));
|
|
|
75
75
|
|
|
76
76
|
// openapi/schema.ts
|
|
77
77
|
var chargeAllowed_reverse_actionValues = ["void", "refund"];
|
|
78
|
-
var chargeStateValues = ["cancelled", "errored", "failed", "processing", "requires_capture", "requires_confirmation", "requires_review", "succeeded"];
|
|
78
|
+
var chargeStateValues = ["cancelled", "errored", "failed", "processing", "requires_capture", "requires_confirmation", "requires_review", "settlement_failed", "succeeded"];
|
|
79
79
|
var externalAccountTypeValues = ["external_card", "external_bank_account"];
|
|
80
80
|
var legalEntityEntityTypeValues = ["individual_sole_proprietorship", "corporation", "limited_liability_company", "partnership", "limited_partnership", "general_partnership", "tax_exempt_organization", "government_agency"];
|
|
81
81
|
var legalEntityOwnershipTypeValues = ["public", "private"];
|
|
@@ -102,7 +102,7 @@ var subscriptionIntervalTypeValues = ["day", "week", "month", "year"];
|
|
|
102
102
|
var subscriptionPlanTypeValues = ["fixed", "variable"];
|
|
103
103
|
var transactionSourceTypeValues = ["api", "dashboard", "iframe", "system", "subscription"];
|
|
104
104
|
var walletProviderTypeValues = ["googlepay", "applepay"];
|
|
105
|
-
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"];
|
|
105
|
+
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", "void.created", "void.failed", "void.pending", "void.processing", "void.requires_review", "void.succeeded"];
|
|
106
106
|
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"];
|
|
107
107
|
var processorTransactionPayment_transaction_typeValues = ["charge", "refund", "void"];
|
|
108
108
|
var processorTransactionTransaction_typeValues = ["authorization", "authorization_reversal", "capture", "credit", "echeck_credit", "echeck_sale", "echeck_void", "sale", "void"];
|