@amos.com/node 0.1.9 → 0.1.11

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
@@ -1241,7 +1241,8 @@ interface components {
1241
1241
  wallet_brand?: string;
1242
1242
  wallet_last4?: string;
1243
1243
  wallet_payload?: string;
1244
- wallet_provider?: string;
1244
+ /** @enum {string|null} */
1245
+ wallet_provider?: "googlepay" | "applepay" | null;
1245
1246
  };
1246
1247
  CardProfile: {
1247
1248
  avs_check?: string;
@@ -1258,7 +1259,8 @@ interface components {
1258
1259
  state?: string;
1259
1260
  three_d_secure_supported?: boolean | null;
1260
1261
  token?: string;
1261
- wallet_provider?: string;
1262
+ /** @enum {string|null} */
1263
+ wallet_provider?: "googlepay" | "applepay" | null;
1262
1264
  /** Format: date-time */
1263
1265
  created_at?: string;
1264
1266
  /** Format: date-time */
@@ -1474,11 +1476,9 @@ interface components {
1474
1476
  id?: string;
1475
1477
  /** Format: uuid */
1476
1478
  legal_entity_application_id?: string;
1477
- title?: string;
1478
1479
  first_name?: string;
1479
1480
  last_name?: string;
1480
1481
  email?: string;
1481
- tax_id?: string;
1482
1482
  date_of_birth?: string;
1483
1483
  address_line1?: string;
1484
1484
  address_line2?: string;
@@ -1488,6 +1488,8 @@ interface components {
1488
1488
  postal_code?: string;
1489
1489
  stake_percent?: number;
1490
1490
  contact_phone?: string;
1491
+ tax_id_last4?: string;
1492
+ title?: string;
1491
1493
  };
1492
1494
  LegalEntityPrincipal: {
1493
1495
  /** Format: uuid */
@@ -1498,7 +1500,6 @@ interface components {
1498
1500
  first_name?: string;
1499
1501
  last_name?: string;
1500
1502
  email?: string;
1501
- tax_id?: string;
1502
1503
  date_of_birth?: string;
1503
1504
  address_line1?: string;
1504
1505
  address_line2?: string;
@@ -1507,6 +1508,7 @@ interface components {
1507
1508
  country?: string;
1508
1509
  postal_code?: string;
1509
1510
  contact_phone?: string;
1511
+ tax_id_last4?: string;
1510
1512
  };
1511
1513
  CreateLegalEntityApplicationInput: {
1512
1514
  legal_name?: string;
@@ -1543,8 +1545,6 @@ interface components {
1543
1545
  legal_name?: string;
1544
1546
  entity_type?: string;
1545
1547
  ownership_type?: string;
1546
- tax_id?: string;
1547
- tax_id_last4?: string;
1548
1548
  contact_email?: string;
1549
1549
  contact_phone?: string;
1550
1550
  business_address_line1?: string;
@@ -1553,6 +1553,7 @@ interface components {
1553
1553
  business_state?: string;
1554
1554
  business_postal_code?: string;
1555
1555
  business_country?: string;
1556
+ tax_id_last4?: string;
1556
1557
  };
1557
1558
  LegalEntityApplication: {
1558
1559
  /** Format: uuid */
@@ -1562,7 +1563,6 @@ interface components {
1562
1563
  legal_entity_id?: string;
1563
1564
  entity_type?: string;
1564
1565
  ownership_type?: string;
1565
- tax_id?: string;
1566
1566
  contact_email?: string;
1567
1567
  contact_phone?: string;
1568
1568
  business_address_line1?: string;
@@ -1572,6 +1572,7 @@ interface components {
1572
1572
  business_postal_code?: string;
1573
1573
  business_country?: string;
1574
1574
  state?: string;
1575
+ tax_id_last4?: string;
1575
1576
  requirements?: components["schemas"]["LegalEntityApplicationRequirement"][];
1576
1577
  };
1577
1578
  CreateMerchantApplicationInput: {
@@ -2184,7 +2185,6 @@ interface components {
2184
2185
  /** Format: uuid */
2185
2186
  webhook_request_id?: string;
2186
2187
  error_message?: string;
2187
- request_body?: Record<string, never>;
2188
2188
  response_body?: Record<string, never>;
2189
2189
  status_code?: number;
2190
2190
  success?: boolean;
@@ -2219,6 +2219,8 @@ interface components {
2219
2219
  id?: string;
2220
2220
  /** Format: uuid */
2221
2221
  webhook_endpoint_id?: string;
2222
+ /** Format: date-time */
2223
+ expires_at?: string;
2222
2224
  request_body?: Record<string, never>;
2223
2225
  /** Format: date-time */
2224
2226
  created_at?: string;
package/dist/index.d.ts CHANGED
@@ -1241,7 +1241,8 @@ interface components {
1241
1241
  wallet_brand?: string;
1242
1242
  wallet_last4?: string;
1243
1243
  wallet_payload?: string;
1244
- wallet_provider?: string;
1244
+ /** @enum {string|null} */
1245
+ wallet_provider?: "googlepay" | "applepay" | null;
1245
1246
  };
1246
1247
  CardProfile: {
1247
1248
  avs_check?: string;
@@ -1258,7 +1259,8 @@ interface components {
1258
1259
  state?: string;
1259
1260
  three_d_secure_supported?: boolean | null;
1260
1261
  token?: string;
1261
- wallet_provider?: string;
1262
+ /** @enum {string|null} */
1263
+ wallet_provider?: "googlepay" | "applepay" | null;
1262
1264
  /** Format: date-time */
1263
1265
  created_at?: string;
1264
1266
  /** Format: date-time */
@@ -1474,11 +1476,9 @@ interface components {
1474
1476
  id?: string;
1475
1477
  /** Format: uuid */
1476
1478
  legal_entity_application_id?: string;
1477
- title?: string;
1478
1479
  first_name?: string;
1479
1480
  last_name?: string;
1480
1481
  email?: string;
1481
- tax_id?: string;
1482
1482
  date_of_birth?: string;
1483
1483
  address_line1?: string;
1484
1484
  address_line2?: string;
@@ -1488,6 +1488,8 @@ interface components {
1488
1488
  postal_code?: string;
1489
1489
  stake_percent?: number;
1490
1490
  contact_phone?: string;
1491
+ tax_id_last4?: string;
1492
+ title?: string;
1491
1493
  };
1492
1494
  LegalEntityPrincipal: {
1493
1495
  /** Format: uuid */
@@ -1498,7 +1500,6 @@ interface components {
1498
1500
  first_name?: string;
1499
1501
  last_name?: string;
1500
1502
  email?: string;
1501
- tax_id?: string;
1502
1503
  date_of_birth?: string;
1503
1504
  address_line1?: string;
1504
1505
  address_line2?: string;
@@ -1507,6 +1508,7 @@ interface components {
1507
1508
  country?: string;
1508
1509
  postal_code?: string;
1509
1510
  contact_phone?: string;
1511
+ tax_id_last4?: string;
1510
1512
  };
1511
1513
  CreateLegalEntityApplicationInput: {
1512
1514
  legal_name?: string;
@@ -1543,8 +1545,6 @@ interface components {
1543
1545
  legal_name?: string;
1544
1546
  entity_type?: string;
1545
1547
  ownership_type?: string;
1546
- tax_id?: string;
1547
- tax_id_last4?: string;
1548
1548
  contact_email?: string;
1549
1549
  contact_phone?: string;
1550
1550
  business_address_line1?: string;
@@ -1553,6 +1553,7 @@ interface components {
1553
1553
  business_state?: string;
1554
1554
  business_postal_code?: string;
1555
1555
  business_country?: string;
1556
+ tax_id_last4?: string;
1556
1557
  };
1557
1558
  LegalEntityApplication: {
1558
1559
  /** Format: uuid */
@@ -1562,7 +1563,6 @@ interface components {
1562
1563
  legal_entity_id?: string;
1563
1564
  entity_type?: string;
1564
1565
  ownership_type?: string;
1565
- tax_id?: string;
1566
1566
  contact_email?: string;
1567
1567
  contact_phone?: string;
1568
1568
  business_address_line1?: string;
@@ -1572,6 +1572,7 @@ interface components {
1572
1572
  business_postal_code?: string;
1573
1573
  business_country?: string;
1574
1574
  state?: string;
1575
+ tax_id_last4?: string;
1575
1576
  requirements?: components["schemas"]["LegalEntityApplicationRequirement"][];
1576
1577
  };
1577
1578
  CreateMerchantApplicationInput: {
@@ -2184,7 +2185,6 @@ interface components {
2184
2185
  /** Format: uuid */
2185
2186
  webhook_request_id?: string;
2186
2187
  error_message?: string;
2187
- request_body?: Record<string, never>;
2188
2188
  response_body?: Record<string, never>;
2189
2189
  status_code?: number;
2190
2190
  success?: boolean;
@@ -2219,6 +2219,8 @@ interface components {
2219
2219
  id?: string;
2220
2220
  /** Format: uuid */
2221
2221
  webhook_endpoint_id?: string;
2222
+ /** Format: date-time */
2223
+ expires_at?: string;
2222
2224
  request_body?: Record<string, never>;
2223
2225
  /** Format: date-time */
2224
2226
  created_at?: string;
package/openapi/schema.ts CHANGED
@@ -1238,7 +1238,8 @@ export interface components {
1238
1238
  wallet_brand?: string;
1239
1239
  wallet_last4?: string;
1240
1240
  wallet_payload?: string;
1241
- wallet_provider?: string;
1241
+ /** @enum {string|null} */
1242
+ wallet_provider?: "googlepay" | "applepay" | null;
1242
1243
  };
1243
1244
  CardProfile: {
1244
1245
  avs_check?: string;
@@ -1255,7 +1256,8 @@ export interface components {
1255
1256
  state?: string;
1256
1257
  three_d_secure_supported?: boolean | null;
1257
1258
  token?: string;
1258
- wallet_provider?: string;
1259
+ /** @enum {string|null} */
1260
+ wallet_provider?: "googlepay" | "applepay" | null;
1259
1261
  /** Format: date-time */
1260
1262
  created_at?: string;
1261
1263
  /** Format: date-time */
@@ -1471,11 +1473,9 @@ export interface components {
1471
1473
  id?: string;
1472
1474
  /** Format: uuid */
1473
1475
  legal_entity_application_id?: string;
1474
- title?: string;
1475
1476
  first_name?: string;
1476
1477
  last_name?: string;
1477
1478
  email?: string;
1478
- tax_id?: string;
1479
1479
  date_of_birth?: string;
1480
1480
  address_line1?: string;
1481
1481
  address_line2?: string;
@@ -1485,6 +1485,8 @@ export interface components {
1485
1485
  postal_code?: string;
1486
1486
  stake_percent?: number;
1487
1487
  contact_phone?: string;
1488
+ tax_id_last4?: string;
1489
+ title?: string;
1488
1490
  };
1489
1491
  LegalEntityPrincipal: {
1490
1492
  /** Format: uuid */
@@ -1495,7 +1497,6 @@ export interface components {
1495
1497
  first_name?: string;
1496
1498
  last_name?: string;
1497
1499
  email?: string;
1498
- tax_id?: string;
1499
1500
  date_of_birth?: string;
1500
1501
  address_line1?: string;
1501
1502
  address_line2?: string;
@@ -1504,6 +1505,7 @@ export interface components {
1504
1505
  country?: string;
1505
1506
  postal_code?: string;
1506
1507
  contact_phone?: string;
1508
+ tax_id_last4?: string;
1507
1509
  };
1508
1510
  CreateLegalEntityApplicationInput: {
1509
1511
  legal_name?: string;
@@ -1540,8 +1542,6 @@ export interface components {
1540
1542
  legal_name?: string;
1541
1543
  entity_type?: string;
1542
1544
  ownership_type?: string;
1543
- tax_id?: string;
1544
- tax_id_last4?: string;
1545
1545
  contact_email?: string;
1546
1546
  contact_phone?: string;
1547
1547
  business_address_line1?: string;
@@ -1550,6 +1550,7 @@ export interface components {
1550
1550
  business_state?: string;
1551
1551
  business_postal_code?: string;
1552
1552
  business_country?: string;
1553
+ tax_id_last4?: string;
1553
1554
  };
1554
1555
  LegalEntityApplication: {
1555
1556
  /** Format: uuid */
@@ -1559,7 +1560,6 @@ export interface components {
1559
1560
  legal_entity_id?: string;
1560
1561
  entity_type?: string;
1561
1562
  ownership_type?: string;
1562
- tax_id?: string;
1563
1563
  contact_email?: string;
1564
1564
  contact_phone?: string;
1565
1565
  business_address_line1?: string;
@@ -1569,6 +1569,7 @@ export interface components {
1569
1569
  business_postal_code?: string;
1570
1570
  business_country?: string;
1571
1571
  state?: string;
1572
+ tax_id_last4?: string;
1572
1573
  requirements?: components["schemas"]["LegalEntityApplicationRequirement"][];
1573
1574
  };
1574
1575
  CreateMerchantApplicationInput: {
@@ -2181,7 +2182,6 @@ export interface components {
2181
2182
  /** Format: uuid */
2182
2183
  webhook_request_id?: string;
2183
2184
  error_message?: string;
2184
- request_body?: Record<string, never>;
2185
2185
  response_body?: Record<string, never>;
2186
2186
  status_code?: number;
2187
2187
  success?: boolean;
@@ -2216,6 +2216,8 @@ export interface components {
2216
2216
  id?: string;
2217
2217
  /** Format: uuid */
2218
2218
  webhook_endpoint_id?: string;
2219
+ /** Format: date-time */
2220
+ expires_at?: string;
2219
2221
  request_body?: Record<string, never>;
2220
2222
  /** Format: date-time */
2221
2223
  created_at?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amos.com/node",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "description": "Node.js client for the Amos Pay API.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",