@amos.com/node 0.1.43 → 0.1.44

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/openapi/schema.ts CHANGED
@@ -1272,6 +1272,28 @@ export interface components {
1272
1272
  /** Format: date-time */
1273
1273
  updated_at?: string;
1274
1274
  };
1275
+ MailingAddressInput: {
1276
+ address_line1?: string;
1277
+ address_line2?: string | null;
1278
+ city?: string;
1279
+ country?: string;
1280
+ name?: string;
1281
+ postal_code?: string;
1282
+ state?: string;
1283
+ };
1284
+ MailingAddress: {
1285
+ address_line1?: string;
1286
+ address_line2?: string | null;
1287
+ city?: string;
1288
+ country?: string;
1289
+ name?: string;
1290
+ postal_code?: string;
1291
+ state?: string;
1292
+ /** Format: date-time */
1293
+ created_at?: string;
1294
+ /** Format: date-time */
1295
+ updated_at?: string;
1296
+ };
1275
1297
  CardProfileInput: {
1276
1298
  card_holder_name?: string;
1277
1299
  cvc?: string;
@@ -1376,6 +1398,7 @@ export interface components {
1376
1398
  name?: string;
1377
1399
  email?: string;
1378
1400
  phone?: string;
1401
+ mailing_address_attributes?: components["schemas"]["MailingAddressInput"];
1379
1402
  metadata?: components["schemas"]["Metadata"];
1380
1403
  };
1381
1404
  CreateCustomerRequest: {
@@ -1387,6 +1410,7 @@ export interface components {
1387
1410
  /** Format: uuid */
1388
1411
  payment_method_id?: string;
1389
1412
  phone?: string;
1413
+ mailing_address_attributes?: components["schemas"]["MailingAddressInput"];
1390
1414
  metadata?: components["schemas"]["Metadata"];
1391
1415
  };
1392
1416
  UpdateCustomerRequest: {
@@ -1406,6 +1430,7 @@ export interface components {
1406
1430
  payment_method_id?: string;
1407
1431
  phone?: string;
1408
1432
  type?: string;
1433
+ mailing_address?: components["schemas"]["MailingAddress"];
1409
1434
  /** Format: date-time */
1410
1435
  created_at?: string;
1411
1436
  /** Format: date-time */
@@ -1897,6 +1922,8 @@ export interface components {
1897
1922
  Merchant: {
1898
1923
  /** Format: uuid */
1899
1924
  id?: string;
1925
+ /** @description ACH verification threshold in cents. Amounts at or above this require Plaid verification. */
1926
+ ach_threshold?: number;
1900
1927
  active?: boolean;
1901
1928
  /** Format: uuid */
1902
1929
  organization_id?: string;
@@ -1927,6 +1954,7 @@ export interface components {
1927
1954
  primary_contact_phone?: string;
1928
1955
  purchase_currency?: string;
1929
1956
  settlement_currency?: string;
1957
+ state_province?: string;
1930
1958
  street_address1?: string;
1931
1959
  street_address2?: string;
1932
1960
  sub_merchant_id?: string;
@@ -2590,7 +2618,7 @@ export interface components {
2590
2618
  XIdempotencyHeader: string;
2591
2619
  /** @description The ID of the customer to filter by */
2592
2620
  CustomerIdQuery: string;
2593
- /** @description The email to filter by */
2621
+ /** @description Exact email match (case-insensitive). For substring search, use `q`. */
2594
2622
  EmailQuery: string;
2595
2623
  /** @description The external account ID to filter by */
2596
2624
  ExternalAccountIdQuery: string;
@@ -2612,8 +2640,14 @@ export interface components {
2612
2640
  PayoutStateQuery: components["schemas"]["PayoutStateType"];
2613
2641
  /** @description Number of results per page. */
2614
2642
  PerPageQuery: number;
2615
- /** @description The phone to filter by */
2643
+ /** @description Exact phone match (normalized to E.164 when possible). For substring search, use `q`. */
2616
2644
  PhoneQuery: string;
2645
+ /** @description Exact name match (case-insensitive). For substring search, use `q`. */
2646
+ NameQuery: string;
2647
+ /** @description Exact customer type match (e.g. RegisteredCustomer, GuestCustomer). */
2648
+ CustomerTypeQuery: string;
2649
+ /** @description Substring search across name, email, and phone (case-insensitive). */
2650
+ QQuery: string;
2617
2651
  /** @description The ID of the webhook request to filter by */
2618
2652
  WebhookRequestIdQuery: string;
2619
2653
  };
@@ -2785,11 +2819,16 @@ export interface operations {
2785
2819
  page?: components["parameters"]["PageQuery"];
2786
2820
  /** @description Number of results per page. */
2787
2821
  per_page?: components["parameters"]["PerPageQuery"];
2788
- /** @description The email to filter by */
2822
+ /** @description Exact email match (case-insensitive). For substring search, use `q`. */
2789
2823
  email?: components["parameters"]["EmailQuery"];
2790
- /** @description The phone to filter by */
2824
+ /** @description Exact phone match (normalized to E.164 when possible). For substring search, use `q`. */
2791
2825
  phone?: components["parameters"]["PhoneQuery"];
2792
- account_id?: string;
2826
+ /** @description Exact name match (case-insensitive). For substring search, use `q`. */
2827
+ name?: components["parameters"]["NameQuery"];
2828
+ /** @description Exact customer type match (e.g. RegisteredCustomer, GuestCustomer). */
2829
+ type?: components["parameters"]["CustomerTypeQuery"];
2830
+ /** @description Substring search across name, email, and phone (case-insensitive). */
2831
+ q?: components["parameters"]["QQuery"];
2793
2832
  };
2794
2833
  header?: never;
2795
2834
  path?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amos.com/node",
3
- "version": "0.1.43",
3
+ "version": "0.1.44",
4
4
  "description": "Node.js client for the Amos Pay API.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",