@amos.com/node 0.1.68 → 0.1.69
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 +63 -9
- package/dist/index.d.ts +63 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/openapi/schema.ts +63 -9
- package/package.json +1 -1
package/openapi/schema.ts
CHANGED
|
@@ -152,7 +152,7 @@ export interface paths {
|
|
|
152
152
|
put?: never;
|
|
153
153
|
/**
|
|
154
154
|
* Create an external account
|
|
155
|
-
* @description Creates an organization-scoped external account. X-Account-Id is ignored if sent.
|
|
155
|
+
* @description Creates an organization-scoped external account. X-Account-Id is ignored if sent.
|
|
156
156
|
*/
|
|
157
157
|
post: operations["CreateExternalAccount"];
|
|
158
158
|
delete?: never;
|
|
@@ -799,7 +799,10 @@ export interface paths {
|
|
|
799
799
|
path?: never;
|
|
800
800
|
cookie?: never;
|
|
801
801
|
};
|
|
802
|
-
/**
|
|
802
|
+
/**
|
|
803
|
+
* List all processor transactions
|
|
804
|
+
* @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.
|
|
805
|
+
*/
|
|
803
806
|
get: operations["ListProcessorTransactions"];
|
|
804
807
|
put?: never;
|
|
805
808
|
post?: never;
|
|
@@ -809,6 +812,26 @@ export interface paths {
|
|
|
809
812
|
patch?: never;
|
|
810
813
|
trace?: never;
|
|
811
814
|
};
|
|
815
|
+
"/processor_transactions/{id}": {
|
|
816
|
+
parameters: {
|
|
817
|
+
query?: never;
|
|
818
|
+
header?: never;
|
|
819
|
+
path?: never;
|
|
820
|
+
cookie?: never;
|
|
821
|
+
};
|
|
822
|
+
/**
|
|
823
|
+
* Retrieve a processor transaction by ID
|
|
824
|
+
* @description Retrieves an organization-scoped processor transaction. X-Account-Id is ignored if sent. Returns 404 if the transaction belongs to another organization.
|
|
825
|
+
*/
|
|
826
|
+
get: operations["GetProcessorTransaction"];
|
|
827
|
+
put?: never;
|
|
828
|
+
post?: never;
|
|
829
|
+
delete?: never;
|
|
830
|
+
options?: never;
|
|
831
|
+
head?: never;
|
|
832
|
+
patch?: never;
|
|
833
|
+
trace?: never;
|
|
834
|
+
};
|
|
812
835
|
"/products": {
|
|
813
836
|
parameters: {
|
|
814
837
|
query?: never;
|
|
@@ -1339,10 +1362,8 @@ export interface components {
|
|
|
1339
1362
|
account_type?: string;
|
|
1340
1363
|
bank_name?: string;
|
|
1341
1364
|
currency?: string;
|
|
1342
|
-
/** @description
|
|
1365
|
+
/** @description Bank account number. Stored encrypted at rest and not returned in API responses. */
|
|
1343
1366
|
account_number?: string;
|
|
1344
|
-
/** @description Vault-encrypted account number. Required on create when account_number is omitted; ignored for tokenization when account_number is present. */
|
|
1345
|
-
encrypted_account_number?: string;
|
|
1346
1367
|
routing_number?: string;
|
|
1347
1368
|
};
|
|
1348
1369
|
BankAccountProfile: {
|
|
@@ -1805,7 +1826,7 @@ export interface components {
|
|
|
1805
1826
|
billing_address_attributes?: components["schemas"]["BillingAddressInput"];
|
|
1806
1827
|
card_profile_attributes: components["schemas"]["CardProfileInput"];
|
|
1807
1828
|
};
|
|
1808
|
-
/** @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
|
|
1829
|
+
/** @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. */
|
|
1809
1830
|
EmbedConfirmBankAccountPaymentMethodInput: {
|
|
1810
1831
|
/**
|
|
1811
1832
|
* @description discriminator enum property added by openapi-typescript
|
|
@@ -2001,6 +2022,8 @@ export interface components {
|
|
|
2001
2022
|
/** Format: uuid */
|
|
2002
2023
|
id?: string;
|
|
2003
2024
|
legal_name?: string;
|
|
2025
|
+
/** Format: uuid */
|
|
2026
|
+
organization_id?: string;
|
|
2004
2027
|
/**
|
|
2005
2028
|
* Format: uuid
|
|
2006
2029
|
* @description Set when the application is approved and the legal entity is created.
|
|
@@ -2362,10 +2385,8 @@ export interface components {
|
|
|
2362
2385
|
account_type?: string;
|
|
2363
2386
|
bank_name?: string;
|
|
2364
2387
|
currency?: string;
|
|
2365
|
-
/** @description
|
|
2388
|
+
/** @description Bank account number. Stored encrypted at rest and not returned in API responses. */
|
|
2366
2389
|
account_number?: string;
|
|
2367
|
-
/** @description Vault-encrypted account number. Required on create when account_number is omitted; ignored for tokenization when account_number is present. */
|
|
2368
|
-
encrypted_account_number?: string;
|
|
2369
2390
|
token?: string;
|
|
2370
2391
|
routing_number?: string;
|
|
2371
2392
|
};
|
|
@@ -4943,6 +4964,8 @@ export interface operations {
|
|
|
4943
4964
|
page?: components["parameters"]["PageQuery"];
|
|
4944
4965
|
/** @description Number of results per page. */
|
|
4945
4966
|
per_page?: components["parameters"]["PerPageQuery"];
|
|
4967
|
+
/** @description The ID of the account to filter by */
|
|
4968
|
+
account_id?: components["parameters"]["AccountIdQuery"];
|
|
4946
4969
|
/** @description The ID of the payment intent to filter by */
|
|
4947
4970
|
payment_intent_id?: components["parameters"]["PaymentIntentIdQuery"];
|
|
4948
4971
|
/** @description The ID of the payment method to filter by */
|
|
@@ -4971,6 +4994,37 @@ export interface operations {
|
|
|
4971
4994
|
};
|
|
4972
4995
|
};
|
|
4973
4996
|
};
|
|
4997
|
+
GetProcessorTransaction: {
|
|
4998
|
+
parameters: {
|
|
4999
|
+
query?: never;
|
|
5000
|
+
header?: never;
|
|
5001
|
+
path: {
|
|
5002
|
+
id: string;
|
|
5003
|
+
};
|
|
5004
|
+
cookie?: never;
|
|
5005
|
+
};
|
|
5006
|
+
requestBody?: never;
|
|
5007
|
+
responses: {
|
|
5008
|
+
/** @description A single processor transaction */
|
|
5009
|
+
200: {
|
|
5010
|
+
headers: {
|
|
5011
|
+
[name: string]: unknown;
|
|
5012
|
+
};
|
|
5013
|
+
content: {
|
|
5014
|
+
"application/json": components["schemas"]["ProcessorTransaction"];
|
|
5015
|
+
};
|
|
5016
|
+
};
|
|
5017
|
+
/** @description Processor transaction not found */
|
|
5018
|
+
404: {
|
|
5019
|
+
headers: {
|
|
5020
|
+
[name: string]: unknown;
|
|
5021
|
+
};
|
|
5022
|
+
content: {
|
|
5023
|
+
"application/json": components["schemas"]["Error"];
|
|
5024
|
+
};
|
|
5025
|
+
};
|
|
5026
|
+
};
|
|
5027
|
+
};
|
|
4974
5028
|
ListProducts: {
|
|
4975
5029
|
parameters: {
|
|
4976
5030
|
query?: {
|