@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/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
|
|
@@ -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
|
};
|
|
@@ -4946,6 +4967,8 @@ interface operations {
|
|
|
4946
4967
|
page?: components["parameters"]["PageQuery"];
|
|
4947
4968
|
/** @description Number of results per page. */
|
|
4948
4969
|
per_page?: components["parameters"]["PerPageQuery"];
|
|
4970
|
+
/** @description The ID of the account to filter by */
|
|
4971
|
+
account_id?: components["parameters"]["AccountIdQuery"];
|
|
4949
4972
|
/** @description The ID of the payment intent to filter by */
|
|
4950
4973
|
payment_intent_id?: components["parameters"]["PaymentIntentIdQuery"];
|
|
4951
4974
|
/** @description The ID of the payment method to filter by */
|
|
@@ -4974,6 +4997,37 @@ interface operations {
|
|
|
4974
4997
|
};
|
|
4975
4998
|
};
|
|
4976
4999
|
};
|
|
5000
|
+
GetProcessorTransaction: {
|
|
5001
|
+
parameters: {
|
|
5002
|
+
query?: never;
|
|
5003
|
+
header?: never;
|
|
5004
|
+
path: {
|
|
5005
|
+
id: string;
|
|
5006
|
+
};
|
|
5007
|
+
cookie?: never;
|
|
5008
|
+
};
|
|
5009
|
+
requestBody?: never;
|
|
5010
|
+
responses: {
|
|
5011
|
+
/** @description A single processor transaction */
|
|
5012
|
+
200: {
|
|
5013
|
+
headers: {
|
|
5014
|
+
[name: string]: unknown;
|
|
5015
|
+
};
|
|
5016
|
+
content: {
|
|
5017
|
+
"application/json": components["schemas"]["ProcessorTransaction"];
|
|
5018
|
+
};
|
|
5019
|
+
};
|
|
5020
|
+
/** @description Processor transaction not found */
|
|
5021
|
+
404: {
|
|
5022
|
+
headers: {
|
|
5023
|
+
[name: string]: unknown;
|
|
5024
|
+
};
|
|
5025
|
+
content: {
|
|
5026
|
+
"application/json": components["schemas"]["Error"];
|
|
5027
|
+
};
|
|
5028
|
+
};
|
|
5029
|
+
};
|
|
5030
|
+
};
|
|
4977
5031
|
ListProducts: {
|
|
4978
5032
|
parameters: {
|
|
4979
5033
|
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
|
|
@@ -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
|
};
|
|
@@ -4946,6 +4967,8 @@ interface operations {
|
|
|
4946
4967
|
page?: components["parameters"]["PageQuery"];
|
|
4947
4968
|
/** @description Number of results per page. */
|
|
4948
4969
|
per_page?: components["parameters"]["PerPageQuery"];
|
|
4970
|
+
/** @description The ID of the account to filter by */
|
|
4971
|
+
account_id?: components["parameters"]["AccountIdQuery"];
|
|
4949
4972
|
/** @description The ID of the payment intent to filter by */
|
|
4950
4973
|
payment_intent_id?: components["parameters"]["PaymentIntentIdQuery"];
|
|
4951
4974
|
/** @description The ID of the payment method to filter by */
|
|
@@ -4974,6 +4997,37 @@ interface operations {
|
|
|
4974
4997
|
};
|
|
4975
4998
|
};
|
|
4976
4999
|
};
|
|
5000
|
+
GetProcessorTransaction: {
|
|
5001
|
+
parameters: {
|
|
5002
|
+
query?: never;
|
|
5003
|
+
header?: never;
|
|
5004
|
+
path: {
|
|
5005
|
+
id: string;
|
|
5006
|
+
};
|
|
5007
|
+
cookie?: never;
|
|
5008
|
+
};
|
|
5009
|
+
requestBody?: never;
|
|
5010
|
+
responses: {
|
|
5011
|
+
/** @description A single processor transaction */
|
|
5012
|
+
200: {
|
|
5013
|
+
headers: {
|
|
5014
|
+
[name: string]: unknown;
|
|
5015
|
+
};
|
|
5016
|
+
content: {
|
|
5017
|
+
"application/json": components["schemas"]["ProcessorTransaction"];
|
|
5018
|
+
};
|
|
5019
|
+
};
|
|
5020
|
+
/** @description Processor transaction not found */
|
|
5021
|
+
404: {
|
|
5022
|
+
headers: {
|
|
5023
|
+
[name: string]: unknown;
|
|
5024
|
+
};
|
|
5025
|
+
content: {
|
|
5026
|
+
"application/json": components["schemas"]["Error"];
|
|
5027
|
+
};
|
|
5028
|
+
};
|
|
5029
|
+
};
|
|
5030
|
+
};
|
|
4977
5031
|
ListProducts: {
|
|
4978
5032
|
parameters: {
|
|
4979
5033
|
query?: {
|