@amos.com/node 0.1.68 → 0.1.70
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 +67 -11
- package/dist/index.d.ts +67 -11
- 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 +69 -13
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -155,7 +155,7 @@ interface paths {
|
|
|
155
155
|
put?: never;
|
|
156
156
|
/**
|
|
157
157
|
* Create an external account
|
|
158
|
-
* @description Creates an organization-scoped external account. X-Account-Id is ignored if sent.
|
|
158
|
+
* @description Creates an organization-scoped external account. X-Account-Id is ignored if sent.
|
|
159
159
|
*/
|
|
160
160
|
post: operations["CreateExternalAccount"];
|
|
161
161
|
delete?: never;
|
|
@@ -802,7 +802,10 @@ interface paths {
|
|
|
802
802
|
path?: never;
|
|
803
803
|
cookie?: never;
|
|
804
804
|
};
|
|
805
|
-
/**
|
|
805
|
+
/**
|
|
806
|
+
* List all processor transactions
|
|
807
|
+
* @description Lists organization-scoped processor transactions across all accounts in the organization. X-Account-Id is ignored if sent; use the account_id query parameter to filter to a single account.
|
|
808
|
+
*/
|
|
806
809
|
get: operations["ListProcessorTransactions"];
|
|
807
810
|
put?: never;
|
|
808
811
|
post?: never;
|
|
@@ -812,6 +815,26 @@ interface paths {
|
|
|
812
815
|
patch?: never;
|
|
813
816
|
trace?: never;
|
|
814
817
|
};
|
|
818
|
+
"/processor_transactions/{id}": {
|
|
819
|
+
parameters: {
|
|
820
|
+
query?: never;
|
|
821
|
+
header?: never;
|
|
822
|
+
path?: never;
|
|
823
|
+
cookie?: never;
|
|
824
|
+
};
|
|
825
|
+
/**
|
|
826
|
+
* Retrieve a processor transaction by ID
|
|
827
|
+
* @description Retrieves an organization-scoped processor transaction. X-Account-Id is ignored if sent. Returns 404 if the transaction belongs to another organization.
|
|
828
|
+
*/
|
|
829
|
+
get: operations["GetProcessorTransaction"];
|
|
830
|
+
put?: never;
|
|
831
|
+
post?: never;
|
|
832
|
+
delete?: never;
|
|
833
|
+
options?: never;
|
|
834
|
+
head?: never;
|
|
835
|
+
patch?: never;
|
|
836
|
+
trace?: never;
|
|
837
|
+
};
|
|
815
838
|
"/products": {
|
|
816
839
|
parameters: {
|
|
817
840
|
query?: never;
|
|
@@ -1342,10 +1365,8 @@ interface components {
|
|
|
1342
1365
|
account_type?: string;
|
|
1343
1366
|
bank_name?: string;
|
|
1344
1367
|
currency?: string;
|
|
1345
|
-
/** @description
|
|
1368
|
+
/** @description Bank account number. Stored encrypted at rest and not returned in API responses. */
|
|
1346
1369
|
account_number?: string;
|
|
1347
|
-
/** @description Vault-encrypted account number. Required on create when account_number is omitted; ignored for tokenization when account_number is present. */
|
|
1348
|
-
encrypted_account_number?: string;
|
|
1349
1370
|
routing_number?: string;
|
|
1350
1371
|
};
|
|
1351
1372
|
BankAccountProfile: {
|
|
@@ -1808,7 +1829,7 @@ interface components {
|
|
|
1808
1829
|
billing_address_attributes?: components["schemas"]["BillingAddressInput"];
|
|
1809
1830
|
card_profile_attributes: components["schemas"]["CardProfileInput"];
|
|
1810
1831
|
};
|
|
1811
|
-
/** @description Confirm an embedded intent with a bank account. When ACH verification is required for the intent amount, include plaid credentials and omit bank_account_profile_attributes; routing and account numbers are filled server-side from Plaid Auth. Otherwise provide routing_number and
|
|
1832
|
+
/** @description Confirm an embedded intent with a bank account. When ACH verification is required for the intent amount, include plaid credentials and omit bank_account_profile_attributes; routing and account numbers are filled server-side from Plaid Auth. Otherwise provide routing_number and account_number on bank_account_profile_attributes. */
|
|
1812
1833
|
EmbedConfirmBankAccountPaymentMethodInput: {
|
|
1813
1834
|
/**
|
|
1814
1835
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -1930,7 +1951,7 @@ interface components {
|
|
|
1930
1951
|
/** @enum {string} */
|
|
1931
1952
|
PayoutDirectionType: "credit" | "debit";
|
|
1932
1953
|
/** @enum {string} */
|
|
1933
|
-
PayoutStateType: "pending" | "processing" | "succeeded" | "failed" | "errored" | "accepted" | "rejected";
|
|
1954
|
+
PayoutStateType: "pending" | "processing" | "succeeded" | "failed" | "errored" | "accepted" | "rejected" | "returned";
|
|
1934
1955
|
/** @enum {string} */
|
|
1935
1956
|
RefundStateType: "pending" | "processing" | "requires_review" | "succeeded" | "cancelled" | "failed";
|
|
1936
1957
|
/** @enum {string} */
|
|
@@ -1942,7 +1963,7 @@ interface components {
|
|
|
1942
1963
|
/** @enum {string} */
|
|
1943
1964
|
WalletProviderType: "googlepay" | "applepay";
|
|
1944
1965
|
/** @enum {string} */
|
|
1945
|
-
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.active" | "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" | "legal_entity_application.under_review" | "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" | "payout.accepted" | "payout.errored" | "payout.failed" | "payout.pending" | "payout.processing" | "payout.rejected" | "payout.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";
|
|
1966
|
+
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.active" | "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" | "legal_entity_application.under_review" | "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" | "payout.accepted" | "payout.errored" | "payout.failed" | "payout.notification_of_change" | "payout.pending" | "payout.processing" | "payout.rejected" | "payout.returned" | "payout.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";
|
|
1946
1967
|
CreateLegalEntityApplicationInput: {
|
|
1947
1968
|
legal_name?: string;
|
|
1948
1969
|
entity_type?: components["schemas"]["LegalEntityEntityType"];
|
|
@@ -2004,6 +2025,8 @@ interface components {
|
|
|
2004
2025
|
/** Format: uuid */
|
|
2005
2026
|
id?: string;
|
|
2006
2027
|
legal_name?: string;
|
|
2028
|
+
/** Format: uuid */
|
|
2029
|
+
organization_id?: string;
|
|
2007
2030
|
/**
|
|
2008
2031
|
* Format: uuid
|
|
2009
2032
|
* @description Set when the application is approved and the legal entity is created.
|
|
@@ -2365,10 +2388,8 @@ interface components {
|
|
|
2365
2388
|
account_type?: string;
|
|
2366
2389
|
bank_name?: string;
|
|
2367
2390
|
currency?: string;
|
|
2368
|
-
/** @description
|
|
2391
|
+
/** @description Bank account number. Stored encrypted at rest and not returned in API responses. */
|
|
2369
2392
|
account_number?: string;
|
|
2370
|
-
/** @description Vault-encrypted account number. Required on create when account_number is omitted; ignored for tokenization when account_number is present. */
|
|
2371
|
-
encrypted_account_number?: string;
|
|
2372
2393
|
token?: string;
|
|
2373
2394
|
routing_number?: string;
|
|
2374
2395
|
};
|
|
@@ -2506,6 +2527,8 @@ interface components {
|
|
|
2506
2527
|
public_id?: string;
|
|
2507
2528
|
/** Format: uuid */
|
|
2508
2529
|
payout_batch_id?: string | null;
|
|
2530
|
+
/** @description ACH return reason code, such as R13, once the payout is returned. */
|
|
2531
|
+
return_reason_code?: string | null;
|
|
2509
2532
|
state?: components["schemas"]["PayoutStateType"];
|
|
2510
2533
|
/** Format: date-time */
|
|
2511
2534
|
created_at?: string;
|
|
@@ -4946,6 +4969,8 @@ interface operations {
|
|
|
4946
4969
|
page?: components["parameters"]["PageQuery"];
|
|
4947
4970
|
/** @description Number of results per page. */
|
|
4948
4971
|
per_page?: components["parameters"]["PerPageQuery"];
|
|
4972
|
+
/** @description The ID of the account to filter by */
|
|
4973
|
+
account_id?: components["parameters"]["AccountIdQuery"];
|
|
4949
4974
|
/** @description The ID of the payment intent to filter by */
|
|
4950
4975
|
payment_intent_id?: components["parameters"]["PaymentIntentIdQuery"];
|
|
4951
4976
|
/** @description The ID of the payment method to filter by */
|
|
@@ -4974,6 +4999,37 @@ interface operations {
|
|
|
4974
4999
|
};
|
|
4975
5000
|
};
|
|
4976
5001
|
};
|
|
5002
|
+
GetProcessorTransaction: {
|
|
5003
|
+
parameters: {
|
|
5004
|
+
query?: never;
|
|
5005
|
+
header?: never;
|
|
5006
|
+
path: {
|
|
5007
|
+
id: string;
|
|
5008
|
+
};
|
|
5009
|
+
cookie?: never;
|
|
5010
|
+
};
|
|
5011
|
+
requestBody?: never;
|
|
5012
|
+
responses: {
|
|
5013
|
+
/** @description A single processor transaction */
|
|
5014
|
+
200: {
|
|
5015
|
+
headers: {
|
|
5016
|
+
[name: string]: unknown;
|
|
5017
|
+
};
|
|
5018
|
+
content: {
|
|
5019
|
+
"application/json": components["schemas"]["ProcessorTransaction"];
|
|
5020
|
+
};
|
|
5021
|
+
};
|
|
5022
|
+
/** @description Processor transaction not found */
|
|
5023
|
+
404: {
|
|
5024
|
+
headers: {
|
|
5025
|
+
[name: string]: unknown;
|
|
5026
|
+
};
|
|
5027
|
+
content: {
|
|
5028
|
+
"application/json": components["schemas"]["Error"];
|
|
5029
|
+
};
|
|
5030
|
+
};
|
|
5031
|
+
};
|
|
5032
|
+
};
|
|
4977
5033
|
ListProducts: {
|
|
4978
5034
|
parameters: {
|
|
4979
5035
|
query?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -155,7 +155,7 @@ interface paths {
|
|
|
155
155
|
put?: never;
|
|
156
156
|
/**
|
|
157
157
|
* Create an external account
|
|
158
|
-
* @description Creates an organization-scoped external account. X-Account-Id is ignored if sent.
|
|
158
|
+
* @description Creates an organization-scoped external account. X-Account-Id is ignored if sent.
|
|
159
159
|
*/
|
|
160
160
|
post: operations["CreateExternalAccount"];
|
|
161
161
|
delete?: never;
|
|
@@ -802,7 +802,10 @@ interface paths {
|
|
|
802
802
|
path?: never;
|
|
803
803
|
cookie?: never;
|
|
804
804
|
};
|
|
805
|
-
/**
|
|
805
|
+
/**
|
|
806
|
+
* List all processor transactions
|
|
807
|
+
* @description Lists organization-scoped processor transactions across all accounts in the organization. X-Account-Id is ignored if sent; use the account_id query parameter to filter to a single account.
|
|
808
|
+
*/
|
|
806
809
|
get: operations["ListProcessorTransactions"];
|
|
807
810
|
put?: never;
|
|
808
811
|
post?: never;
|
|
@@ -812,6 +815,26 @@ interface paths {
|
|
|
812
815
|
patch?: never;
|
|
813
816
|
trace?: never;
|
|
814
817
|
};
|
|
818
|
+
"/processor_transactions/{id}": {
|
|
819
|
+
parameters: {
|
|
820
|
+
query?: never;
|
|
821
|
+
header?: never;
|
|
822
|
+
path?: never;
|
|
823
|
+
cookie?: never;
|
|
824
|
+
};
|
|
825
|
+
/**
|
|
826
|
+
* Retrieve a processor transaction by ID
|
|
827
|
+
* @description Retrieves an organization-scoped processor transaction. X-Account-Id is ignored if sent. Returns 404 if the transaction belongs to another organization.
|
|
828
|
+
*/
|
|
829
|
+
get: operations["GetProcessorTransaction"];
|
|
830
|
+
put?: never;
|
|
831
|
+
post?: never;
|
|
832
|
+
delete?: never;
|
|
833
|
+
options?: never;
|
|
834
|
+
head?: never;
|
|
835
|
+
patch?: never;
|
|
836
|
+
trace?: never;
|
|
837
|
+
};
|
|
815
838
|
"/products": {
|
|
816
839
|
parameters: {
|
|
817
840
|
query?: never;
|
|
@@ -1342,10 +1365,8 @@ interface components {
|
|
|
1342
1365
|
account_type?: string;
|
|
1343
1366
|
bank_name?: string;
|
|
1344
1367
|
currency?: string;
|
|
1345
|
-
/** @description
|
|
1368
|
+
/** @description Bank account number. Stored encrypted at rest and not returned in API responses. */
|
|
1346
1369
|
account_number?: string;
|
|
1347
|
-
/** @description Vault-encrypted account number. Required on create when account_number is omitted; ignored for tokenization when account_number is present. */
|
|
1348
|
-
encrypted_account_number?: string;
|
|
1349
1370
|
routing_number?: string;
|
|
1350
1371
|
};
|
|
1351
1372
|
BankAccountProfile: {
|
|
@@ -1808,7 +1829,7 @@ interface components {
|
|
|
1808
1829
|
billing_address_attributes?: components["schemas"]["BillingAddressInput"];
|
|
1809
1830
|
card_profile_attributes: components["schemas"]["CardProfileInput"];
|
|
1810
1831
|
};
|
|
1811
|
-
/** @description Confirm an embedded intent with a bank account. When ACH verification is required for the intent amount, include plaid credentials and omit bank_account_profile_attributes; routing and account numbers are filled server-side from Plaid Auth. Otherwise provide routing_number and
|
|
1832
|
+
/** @description Confirm an embedded intent with a bank account. When ACH verification is required for the intent amount, include plaid credentials and omit bank_account_profile_attributes; routing and account numbers are filled server-side from Plaid Auth. Otherwise provide routing_number and account_number on bank_account_profile_attributes. */
|
|
1812
1833
|
EmbedConfirmBankAccountPaymentMethodInput: {
|
|
1813
1834
|
/**
|
|
1814
1835
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -1930,7 +1951,7 @@ interface components {
|
|
|
1930
1951
|
/** @enum {string} */
|
|
1931
1952
|
PayoutDirectionType: "credit" | "debit";
|
|
1932
1953
|
/** @enum {string} */
|
|
1933
|
-
PayoutStateType: "pending" | "processing" | "succeeded" | "failed" | "errored" | "accepted" | "rejected";
|
|
1954
|
+
PayoutStateType: "pending" | "processing" | "succeeded" | "failed" | "errored" | "accepted" | "rejected" | "returned";
|
|
1934
1955
|
/** @enum {string} */
|
|
1935
1956
|
RefundStateType: "pending" | "processing" | "requires_review" | "succeeded" | "cancelled" | "failed";
|
|
1936
1957
|
/** @enum {string} */
|
|
@@ -1942,7 +1963,7 @@ interface components {
|
|
|
1942
1963
|
/** @enum {string} */
|
|
1943
1964
|
WalletProviderType: "googlepay" | "applepay";
|
|
1944
1965
|
/** @enum {string} */
|
|
1945
|
-
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.active" | "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" | "legal_entity_application.under_review" | "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" | "payout.accepted" | "payout.errored" | "payout.failed" | "payout.pending" | "payout.processing" | "payout.rejected" | "payout.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";
|
|
1966
|
+
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.active" | "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" | "legal_entity_application.under_review" | "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" | "payout.accepted" | "payout.errored" | "payout.failed" | "payout.notification_of_change" | "payout.pending" | "payout.processing" | "payout.rejected" | "payout.returned" | "payout.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";
|
|
1946
1967
|
CreateLegalEntityApplicationInput: {
|
|
1947
1968
|
legal_name?: string;
|
|
1948
1969
|
entity_type?: components["schemas"]["LegalEntityEntityType"];
|
|
@@ -2004,6 +2025,8 @@ interface components {
|
|
|
2004
2025
|
/** Format: uuid */
|
|
2005
2026
|
id?: string;
|
|
2006
2027
|
legal_name?: string;
|
|
2028
|
+
/** Format: uuid */
|
|
2029
|
+
organization_id?: string;
|
|
2007
2030
|
/**
|
|
2008
2031
|
* Format: uuid
|
|
2009
2032
|
* @description Set when the application is approved and the legal entity is created.
|
|
@@ -2365,10 +2388,8 @@ interface components {
|
|
|
2365
2388
|
account_type?: string;
|
|
2366
2389
|
bank_name?: string;
|
|
2367
2390
|
currency?: string;
|
|
2368
|
-
/** @description
|
|
2391
|
+
/** @description Bank account number. Stored encrypted at rest and not returned in API responses. */
|
|
2369
2392
|
account_number?: string;
|
|
2370
|
-
/** @description Vault-encrypted account number. Required on create when account_number is omitted; ignored for tokenization when account_number is present. */
|
|
2371
|
-
encrypted_account_number?: string;
|
|
2372
2393
|
token?: string;
|
|
2373
2394
|
routing_number?: string;
|
|
2374
2395
|
};
|
|
@@ -2506,6 +2527,8 @@ interface components {
|
|
|
2506
2527
|
public_id?: string;
|
|
2507
2528
|
/** Format: uuid */
|
|
2508
2529
|
payout_batch_id?: string | null;
|
|
2530
|
+
/** @description ACH return reason code, such as R13, once the payout is returned. */
|
|
2531
|
+
return_reason_code?: string | null;
|
|
2509
2532
|
state?: components["schemas"]["PayoutStateType"];
|
|
2510
2533
|
/** Format: date-time */
|
|
2511
2534
|
created_at?: string;
|
|
@@ -4946,6 +4969,8 @@ interface operations {
|
|
|
4946
4969
|
page?: components["parameters"]["PageQuery"];
|
|
4947
4970
|
/** @description Number of results per page. */
|
|
4948
4971
|
per_page?: components["parameters"]["PerPageQuery"];
|
|
4972
|
+
/** @description The ID of the account to filter by */
|
|
4973
|
+
account_id?: components["parameters"]["AccountIdQuery"];
|
|
4949
4974
|
/** @description The ID of the payment intent to filter by */
|
|
4950
4975
|
payment_intent_id?: components["parameters"]["PaymentIntentIdQuery"];
|
|
4951
4976
|
/** @description The ID of the payment method to filter by */
|
|
@@ -4974,6 +4999,37 @@ interface operations {
|
|
|
4974
4999
|
};
|
|
4975
5000
|
};
|
|
4976
5001
|
};
|
|
5002
|
+
GetProcessorTransaction: {
|
|
5003
|
+
parameters: {
|
|
5004
|
+
query?: never;
|
|
5005
|
+
header?: never;
|
|
5006
|
+
path: {
|
|
5007
|
+
id: string;
|
|
5008
|
+
};
|
|
5009
|
+
cookie?: never;
|
|
5010
|
+
};
|
|
5011
|
+
requestBody?: never;
|
|
5012
|
+
responses: {
|
|
5013
|
+
/** @description A single processor transaction */
|
|
5014
|
+
200: {
|
|
5015
|
+
headers: {
|
|
5016
|
+
[name: string]: unknown;
|
|
5017
|
+
};
|
|
5018
|
+
content: {
|
|
5019
|
+
"application/json": components["schemas"]["ProcessorTransaction"];
|
|
5020
|
+
};
|
|
5021
|
+
};
|
|
5022
|
+
/** @description Processor transaction not found */
|
|
5023
|
+
404: {
|
|
5024
|
+
headers: {
|
|
5025
|
+
[name: string]: unknown;
|
|
5026
|
+
};
|
|
5027
|
+
content: {
|
|
5028
|
+
"application/json": components["schemas"]["Error"];
|
|
5029
|
+
};
|
|
5030
|
+
};
|
|
5031
|
+
};
|
|
5032
|
+
};
|
|
4977
5033
|
ListProducts: {
|
|
4978
5034
|
parameters: {
|
|
4979
5035
|
query?: {
|
package/dist/index.js
CHANGED
|
@@ -112,13 +112,13 @@ var allowedBankAccountPaymentMethodTypeValues = ["bank_account"];
|
|
|
112
112
|
var allowedGooglePayPaymentMethodTypeValues = ["googlepay"];
|
|
113
113
|
var allowedApplePayPaymentMethodTypeValues = ["applepay"];
|
|
114
114
|
var payoutDirectionTypeValues = ["credit", "debit"];
|
|
115
|
-
var payoutStateTypeValues = ["pending", "processing", "succeeded", "failed", "errored", "accepted", "rejected"];
|
|
115
|
+
var payoutStateTypeValues = ["pending", "processing", "succeeded", "failed", "errored", "accepted", "rejected", "returned"];
|
|
116
116
|
var refundStateTypeValues = ["pending", "processing", "requires_review", "succeeded", "cancelled", "failed"];
|
|
117
117
|
var subscriptionIntervalTypeValues = ["day", "week", "month", "year"];
|
|
118
118
|
var subscriptionPlanTypeValues = ["fixed", "variable"];
|
|
119
119
|
var transactionSourceTypeValues = ["api", "dashboard", "iframe", "system", "subscription", "admin"];
|
|
120
120
|
var walletProviderTypeValues = ["googlepay", "applepay"];
|
|
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.active", "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", "legal_entity_application.under_review", "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", "payout.accepted", "payout.errored", "payout.failed", "payout.pending", "payout.processing", "payout.rejected", "payout.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
|
+
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.active", "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", "legal_entity_application.under_review", "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", "payout.accepted", "payout.errored", "payout.failed", "payout.notification_of_change", "payout.pending", "payout.processing", "payout.rejected", "payout.returned", "payout.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"];
|
|
122
122
|
var organizationKindValues = ["direct", "payfac"];
|
|
123
123
|
var originApplepayRegistrationStateTypeValues = ["pending", "skipped", "registered", "failed"];
|
|
124
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"];
|