@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/dist/index.d.mts CHANGED
@@ -1275,6 +1275,28 @@ interface components {
1275
1275
  /** Format: date-time */
1276
1276
  updated_at?: string;
1277
1277
  };
1278
+ MailingAddressInput: {
1279
+ address_line1?: string;
1280
+ address_line2?: string | null;
1281
+ city?: string;
1282
+ country?: string;
1283
+ name?: string;
1284
+ postal_code?: string;
1285
+ state?: string;
1286
+ };
1287
+ MailingAddress: {
1288
+ address_line1?: string;
1289
+ address_line2?: string | null;
1290
+ city?: string;
1291
+ country?: string;
1292
+ name?: string;
1293
+ postal_code?: string;
1294
+ state?: string;
1295
+ /** Format: date-time */
1296
+ created_at?: string;
1297
+ /** Format: date-time */
1298
+ updated_at?: string;
1299
+ };
1278
1300
  CardProfileInput: {
1279
1301
  card_holder_name?: string;
1280
1302
  cvc?: string;
@@ -1379,6 +1401,7 @@ interface components {
1379
1401
  name?: string;
1380
1402
  email?: string;
1381
1403
  phone?: string;
1404
+ mailing_address_attributes?: components["schemas"]["MailingAddressInput"];
1382
1405
  metadata?: components["schemas"]["Metadata"];
1383
1406
  };
1384
1407
  CreateCustomerRequest: {
@@ -1390,6 +1413,7 @@ interface components {
1390
1413
  /** Format: uuid */
1391
1414
  payment_method_id?: string;
1392
1415
  phone?: string;
1416
+ mailing_address_attributes?: components["schemas"]["MailingAddressInput"];
1393
1417
  metadata?: components["schemas"]["Metadata"];
1394
1418
  };
1395
1419
  UpdateCustomerRequest: {
@@ -1409,6 +1433,7 @@ interface components {
1409
1433
  payment_method_id?: string;
1410
1434
  phone?: string;
1411
1435
  type?: string;
1436
+ mailing_address?: components["schemas"]["MailingAddress"];
1412
1437
  /** Format: date-time */
1413
1438
  created_at?: string;
1414
1439
  /** Format: date-time */
@@ -1900,6 +1925,8 @@ interface components {
1900
1925
  Merchant: {
1901
1926
  /** Format: uuid */
1902
1927
  id?: string;
1928
+ /** @description ACH verification threshold in cents. Amounts at or above this require Plaid verification. */
1929
+ ach_threshold?: number;
1903
1930
  active?: boolean;
1904
1931
  /** Format: uuid */
1905
1932
  organization_id?: string;
@@ -1930,6 +1957,7 @@ interface components {
1930
1957
  primary_contact_phone?: string;
1931
1958
  purchase_currency?: string;
1932
1959
  settlement_currency?: string;
1960
+ state_province?: string;
1933
1961
  street_address1?: string;
1934
1962
  street_address2?: string;
1935
1963
  sub_merchant_id?: string;
@@ -2593,7 +2621,7 @@ interface components {
2593
2621
  XIdempotencyHeader: string;
2594
2622
  /** @description The ID of the customer to filter by */
2595
2623
  CustomerIdQuery: string;
2596
- /** @description The email to filter by */
2624
+ /** @description Exact email match (case-insensitive). For substring search, use `q`. */
2597
2625
  EmailQuery: string;
2598
2626
  /** @description The external account ID to filter by */
2599
2627
  ExternalAccountIdQuery: string;
@@ -2615,8 +2643,14 @@ interface components {
2615
2643
  PayoutStateQuery: components["schemas"]["PayoutStateType"];
2616
2644
  /** @description Number of results per page. */
2617
2645
  PerPageQuery: number;
2618
- /** @description The phone to filter by */
2646
+ /** @description Exact phone match (normalized to E.164 when possible). For substring search, use `q`. */
2619
2647
  PhoneQuery: string;
2648
+ /** @description Exact name match (case-insensitive). For substring search, use `q`. */
2649
+ NameQuery: string;
2650
+ /** @description Exact customer type match (e.g. RegisteredCustomer, GuestCustomer). */
2651
+ CustomerTypeQuery: string;
2652
+ /** @description Substring search across name, email, and phone (case-insensitive). */
2653
+ QQuery: string;
2620
2654
  /** @description The ID of the webhook request to filter by */
2621
2655
  WebhookRequestIdQuery: string;
2622
2656
  };
@@ -2788,11 +2822,16 @@ interface operations {
2788
2822
  page?: components["parameters"]["PageQuery"];
2789
2823
  /** @description Number of results per page. */
2790
2824
  per_page?: components["parameters"]["PerPageQuery"];
2791
- /** @description The email to filter by */
2825
+ /** @description Exact email match (case-insensitive). For substring search, use `q`. */
2792
2826
  email?: components["parameters"]["EmailQuery"];
2793
- /** @description The phone to filter by */
2827
+ /** @description Exact phone match (normalized to E.164 when possible). For substring search, use `q`. */
2794
2828
  phone?: components["parameters"]["PhoneQuery"];
2795
- account_id?: string;
2829
+ /** @description Exact name match (case-insensitive). For substring search, use `q`. */
2830
+ name?: components["parameters"]["NameQuery"];
2831
+ /** @description Exact customer type match (e.g. RegisteredCustomer, GuestCustomer). */
2832
+ type?: components["parameters"]["CustomerTypeQuery"];
2833
+ /** @description Substring search across name, email, and phone (case-insensitive). */
2834
+ q?: components["parameters"]["QQuery"];
2796
2835
  };
2797
2836
  header?: never;
2798
2837
  path?: never;
package/dist/index.d.ts CHANGED
@@ -1275,6 +1275,28 @@ interface components {
1275
1275
  /** Format: date-time */
1276
1276
  updated_at?: string;
1277
1277
  };
1278
+ MailingAddressInput: {
1279
+ address_line1?: string;
1280
+ address_line2?: string | null;
1281
+ city?: string;
1282
+ country?: string;
1283
+ name?: string;
1284
+ postal_code?: string;
1285
+ state?: string;
1286
+ };
1287
+ MailingAddress: {
1288
+ address_line1?: string;
1289
+ address_line2?: string | null;
1290
+ city?: string;
1291
+ country?: string;
1292
+ name?: string;
1293
+ postal_code?: string;
1294
+ state?: string;
1295
+ /** Format: date-time */
1296
+ created_at?: string;
1297
+ /** Format: date-time */
1298
+ updated_at?: string;
1299
+ };
1278
1300
  CardProfileInput: {
1279
1301
  card_holder_name?: string;
1280
1302
  cvc?: string;
@@ -1379,6 +1401,7 @@ interface components {
1379
1401
  name?: string;
1380
1402
  email?: string;
1381
1403
  phone?: string;
1404
+ mailing_address_attributes?: components["schemas"]["MailingAddressInput"];
1382
1405
  metadata?: components["schemas"]["Metadata"];
1383
1406
  };
1384
1407
  CreateCustomerRequest: {
@@ -1390,6 +1413,7 @@ interface components {
1390
1413
  /** Format: uuid */
1391
1414
  payment_method_id?: string;
1392
1415
  phone?: string;
1416
+ mailing_address_attributes?: components["schemas"]["MailingAddressInput"];
1393
1417
  metadata?: components["schemas"]["Metadata"];
1394
1418
  };
1395
1419
  UpdateCustomerRequest: {
@@ -1409,6 +1433,7 @@ interface components {
1409
1433
  payment_method_id?: string;
1410
1434
  phone?: string;
1411
1435
  type?: string;
1436
+ mailing_address?: components["schemas"]["MailingAddress"];
1412
1437
  /** Format: date-time */
1413
1438
  created_at?: string;
1414
1439
  /** Format: date-time */
@@ -1900,6 +1925,8 @@ interface components {
1900
1925
  Merchant: {
1901
1926
  /** Format: uuid */
1902
1927
  id?: string;
1928
+ /** @description ACH verification threshold in cents. Amounts at or above this require Plaid verification. */
1929
+ ach_threshold?: number;
1903
1930
  active?: boolean;
1904
1931
  /** Format: uuid */
1905
1932
  organization_id?: string;
@@ -1930,6 +1957,7 @@ interface components {
1930
1957
  primary_contact_phone?: string;
1931
1958
  purchase_currency?: string;
1932
1959
  settlement_currency?: string;
1960
+ state_province?: string;
1933
1961
  street_address1?: string;
1934
1962
  street_address2?: string;
1935
1963
  sub_merchant_id?: string;
@@ -2593,7 +2621,7 @@ interface components {
2593
2621
  XIdempotencyHeader: string;
2594
2622
  /** @description The ID of the customer to filter by */
2595
2623
  CustomerIdQuery: string;
2596
- /** @description The email to filter by */
2624
+ /** @description Exact email match (case-insensitive). For substring search, use `q`. */
2597
2625
  EmailQuery: string;
2598
2626
  /** @description The external account ID to filter by */
2599
2627
  ExternalAccountIdQuery: string;
@@ -2615,8 +2643,14 @@ interface components {
2615
2643
  PayoutStateQuery: components["schemas"]["PayoutStateType"];
2616
2644
  /** @description Number of results per page. */
2617
2645
  PerPageQuery: number;
2618
- /** @description The phone to filter by */
2646
+ /** @description Exact phone match (normalized to E.164 when possible). For substring search, use `q`. */
2619
2647
  PhoneQuery: string;
2648
+ /** @description Exact name match (case-insensitive). For substring search, use `q`. */
2649
+ NameQuery: string;
2650
+ /** @description Exact customer type match (e.g. RegisteredCustomer, GuestCustomer). */
2651
+ CustomerTypeQuery: string;
2652
+ /** @description Substring search across name, email, and phone (case-insensitive). */
2653
+ QQuery: string;
2620
2654
  /** @description The ID of the webhook request to filter by */
2621
2655
  WebhookRequestIdQuery: string;
2622
2656
  };
@@ -2788,11 +2822,16 @@ interface operations {
2788
2822
  page?: components["parameters"]["PageQuery"];
2789
2823
  /** @description Number of results per page. */
2790
2824
  per_page?: components["parameters"]["PerPageQuery"];
2791
- /** @description The email to filter by */
2825
+ /** @description Exact email match (case-insensitive). For substring search, use `q`. */
2792
2826
  email?: components["parameters"]["EmailQuery"];
2793
- /** @description The phone to filter by */
2827
+ /** @description Exact phone match (normalized to E.164 when possible). For substring search, use `q`. */
2794
2828
  phone?: components["parameters"]["PhoneQuery"];
2795
- account_id?: string;
2829
+ /** @description Exact name match (case-insensitive). For substring search, use `q`. */
2830
+ name?: components["parameters"]["NameQuery"];
2831
+ /** @description Exact customer type match (e.g. RegisteredCustomer, GuestCustomer). */
2832
+ type?: components["parameters"]["CustomerTypeQuery"];
2833
+ /** @description Substring search across name, email, and phone (case-insensitive). */
2834
+ q?: components["parameters"]["QQuery"];
2796
2835
  };
2797
2836
  header?: never;
2798
2837
  path?: never;