@ember-home/unbound-ts-client 0.0.14 → 0.0.16

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
@@ -474,12 +474,6 @@ interface ContactCreate {
474
474
  * @memberof ContactCreate
475
475
  */
476
476
  'primaryPhone'?: string | null;
477
- /**
478
- *
479
- * @type {ContactTypeDataCreate}
480
- * @memberof ContactCreate
481
- */
482
- 'contactTypeData'?: ContactTypeDataCreate | null;
483
477
  }
484
478
  /**
485
479
  *
@@ -506,56 +500,6 @@ interface ContactTypeData {
506
500
  */
507
501
  'lead'?: LeadData | null;
508
502
  }
509
- /**
510
- *
511
- * @export
512
- * @interface ContactTypeDataCreate
513
- */
514
- interface ContactTypeDataCreate {
515
- /**
516
- *
517
- * @type {GuestDataCreate}
518
- * @memberof ContactTypeDataCreate
519
- */
520
- 'guest'?: GuestDataCreate | null;
521
- /**
522
- *
523
- * @type {object}
524
- * @memberof ContactTypeDataCreate
525
- */
526
- 'owner'?: object;
527
- /**
528
- *
529
- * @type {object}
530
- * @memberof ContactTypeDataCreate
531
- */
532
- 'lead'?: object;
533
- }
534
- /**
535
- *
536
- * @export
537
- * @interface ContactTypeDataUpdate
538
- */
539
- interface ContactTypeDataUpdate {
540
- /**
541
- *
542
- * @type {GuestDataUpdate}
543
- * @memberof ContactTypeDataUpdate
544
- */
545
- 'guest'?: GuestDataUpdate | null;
546
- /**
547
- *
548
- * @type {object}
549
- * @memberof ContactTypeDataUpdate
550
- */
551
- 'owner'?: object;
552
- /**
553
- *
554
- * @type {object}
555
- * @memberof ContactTypeDataUpdate
556
- */
557
- 'lead'?: object;
558
- }
559
503
  /**
560
504
  *
561
505
  * @export
@@ -610,12 +554,6 @@ interface ContactUpdate {
610
554
  * @memberof ContactUpdate
611
555
  */
612
556
  'profilePicUrl'?: string | null;
613
- /**
614
- *
615
- * @type {ContactTypeDataUpdate}
616
- * @memberof ContactUpdate
617
- */
618
- 'contactTypeData'?: ContactTypeDataUpdate | null;
619
557
  }
620
558
  /**
621
559
  *
@@ -640,19 +578,19 @@ interface ContactsCreateResponse {
640
578
  * @type {string}
641
579
  * @memberof ContactsCreateResponse
642
580
  */
643
- 'firstName': string;
581
+ 'firstName': string | null;
644
582
  /**
645
583
  *
646
584
  * @type {string}
647
585
  * @memberof ContactsCreateResponse
648
586
  */
649
- 'lastName': string;
587
+ 'lastName': string | null;
650
588
  /**
651
589
  *
652
590
  * @type {string}
653
591
  * @memberof ContactsCreateResponse
654
592
  */
655
- 'fullName'?: string;
593
+ 'fullName'?: string | null;
656
594
  /**
657
595
  *
658
596
  * @type {string}
@@ -815,19 +753,19 @@ interface ContactsGetResponse {
815
753
  * @type {string}
816
754
  * @memberof ContactsGetResponse
817
755
  */
818
- 'firstName': string;
756
+ 'firstName': string | null;
819
757
  /**
820
758
  *
821
759
  * @type {string}
822
760
  * @memberof ContactsGetResponse
823
761
  */
824
- 'lastName': string;
762
+ 'lastName': string | null;
825
763
  /**
826
764
  *
827
765
  * @type {string}
828
766
  * @memberof ContactsGetResponse
829
767
  */
830
- 'fullName'?: string;
768
+ 'fullName'?: string | null;
831
769
  /**
832
770
  *
833
771
  * @type {string}
@@ -990,19 +928,19 @@ interface ContactsListResponse {
990
928
  * @type {string}
991
929
  * @memberof ContactsListResponse
992
930
  */
993
- 'firstName': string;
931
+ 'firstName': string | null;
994
932
  /**
995
933
  *
996
934
  * @type {string}
997
935
  * @memberof ContactsListResponse
998
936
  */
999
- 'lastName': string;
937
+ 'lastName': string | null;
1000
938
  /**
1001
939
  *
1002
940
  * @type {string}
1003
941
  * @memberof ContactsListResponse
1004
942
  */
1005
- 'fullName'?: string;
943
+ 'fullName'?: string | null;
1006
944
  /**
1007
945
  *
1008
946
  * @type {string}
@@ -1165,19 +1103,19 @@ interface ContactsUpdateResponse {
1165
1103
  * @type {string}
1166
1104
  * @memberof ContactsUpdateResponse
1167
1105
  */
1168
- 'firstName': string;
1106
+ 'firstName': string | null;
1169
1107
  /**
1170
1108
  *
1171
1109
  * @type {string}
1172
1110
  * @memberof ContactsUpdateResponse
1173
1111
  */
1174
- 'lastName': string;
1112
+ 'lastName': string | null;
1175
1113
  /**
1176
1114
  *
1177
1115
  * @type {string}
1178
1116
  * @memberof ContactsUpdateResponse
1179
1117
  */
1180
- 'fullName'?: string;
1118
+ 'fullName'?: string | null;
1181
1119
  /**
1182
1120
  *
1183
1121
  * @type {string}
@@ -1336,34 +1274,34 @@ type DataSource = typeof DataSource[keyof typeof DataSource];
1336
1274
  interface Email {
1337
1275
  /**
1338
1276
  *
1339
- * @type {DataSource}
1277
+ * @type {string}
1340
1278
  * @memberof Email
1341
1279
  */
1342
- 'dataSource': DataSource;
1280
+ 'emailId': string;
1343
1281
  /**
1344
1282
  *
1345
1283
  * @type {string}
1346
1284
  * @memberof Email
1347
1285
  */
1348
- 'deletedAt'?: string | null;
1286
+ 'email': string;
1349
1287
  /**
1350
1288
  *
1351
- * @type {string}
1289
+ * @type {boolean}
1352
1290
  * @memberof Email
1353
1291
  */
1354
- 'email': string;
1292
+ 'isPrimary': boolean;
1355
1293
  /**
1356
1294
  *
1357
- * @type {string}
1295
+ * @type {DataSource}
1358
1296
  * @memberof Email
1359
1297
  */
1360
- 'emailId': string;
1298
+ 'dataSource': DataSource;
1361
1299
  /**
1362
1300
  *
1363
- * @type {boolean}
1301
+ * @type {string}
1364
1302
  * @memberof Email
1365
1303
  */
1366
- 'isPrimary': boolean;
1304
+ 'deletedAt'?: string | null;
1367
1305
  }
1368
1306
  /**
1369
1307
  *
@@ -1392,34 +1330,34 @@ interface EmailCreate {
1392
1330
  interface EmailsCreateResponse {
1393
1331
  /**
1394
1332
  *
1395
- * @type {DataSource}
1333
+ * @type {string}
1396
1334
  * @memberof EmailsCreateResponse
1397
1335
  */
1398
- 'dataSource': DataSource;
1336
+ 'emailId': string;
1399
1337
  /**
1400
1338
  *
1401
1339
  * @type {string}
1402
1340
  * @memberof EmailsCreateResponse
1403
1341
  */
1404
- 'deletedAt'?: string | null;
1342
+ 'email': string;
1405
1343
  /**
1406
1344
  *
1407
- * @type {string}
1345
+ * @type {boolean}
1408
1346
  * @memberof EmailsCreateResponse
1409
1347
  */
1410
- 'email': string;
1348
+ 'isPrimary': boolean;
1411
1349
  /**
1412
1350
  *
1413
- * @type {string}
1351
+ * @type {DataSource}
1414
1352
  * @memberof EmailsCreateResponse
1415
1353
  */
1416
- 'emailId': string;
1354
+ 'dataSource': DataSource;
1417
1355
  /**
1418
1356
  *
1419
- * @type {boolean}
1357
+ * @type {string}
1420
1358
  * @memberof EmailsCreateResponse
1421
1359
  */
1422
- 'isPrimary': boolean;
1360
+ 'deletedAt'?: string | null;
1423
1361
  }
1424
1362
  /**
1425
1363
  *
@@ -1429,22 +1367,22 @@ interface EmailsCreateResponse {
1429
1367
  interface GuestData {
1430
1368
  /**
1431
1369
  *
1432
- * @type {number}
1370
+ * @type {string}
1433
1371
  * @memberof GuestData
1434
1372
  */
1435
- 'averageRating'?: number;
1373
+ 'firstBookedAt': string;
1436
1374
  /**
1437
1375
  *
1438
1376
  * @type {string}
1439
1377
  * @memberof GuestData
1440
1378
  */
1441
- 'createdAt': string;
1379
+ 'firstStayAt': string;
1442
1380
  /**
1443
1381
  *
1444
1382
  * @type {number}
1445
1383
  * @memberof GuestData
1446
1384
  */
1447
- 'numStays'?: number;
1385
+ 'totalNightsStayed'?: number;
1448
1386
  /**
1449
1387
  *
1450
1388
  * @type {number}
@@ -1453,126 +1391,10 @@ interface GuestData {
1453
1391
  'totalAmountSpent'?: number;
1454
1392
  /**
1455
1393
  *
1456
- * @type {string}
1457
- * @memberof GuestData
1458
- */
1459
- 'smsMarketingConsentAt'?: string | null;
1460
- /**
1461
- *
1462
- * @type {string}
1463
- * @memberof GuestData
1464
- */
1465
- 'smsMarketingConsentType'?: string | null;
1466
- /**
1467
- *
1468
- * @type {boolean}
1469
- * @memberof GuestData
1470
- */
1471
- 'smsMarketingIsSubscribed'?: boolean;
1472
- /**
1473
- *
1474
- * @type {string}
1475
- * @memberof GuestData
1476
- */
1477
- 'smsTransactionalConsentAt'?: string | null;
1478
- /**
1479
- *
1480
- * @type {string}
1481
- * @memberof GuestData
1482
- */
1483
- 'smsTransactionalConsentType'?: string | null;
1484
- /**
1485
- *
1486
- * @type {boolean}
1394
+ * @type {Array<string>}
1487
1395
  * @memberof GuestData
1488
1396
  */
1489
- 'smsTransactionalIsSubscribed'?: boolean;
1490
- }
1491
- /**
1492
- *
1493
- * @export
1494
- * @interface GuestDataCreate
1495
- */
1496
- interface GuestDataCreate {
1497
- /**
1498
- *
1499
- * @type {string}
1500
- * @memberof GuestDataCreate
1501
- */
1502
- 'smsMarketingConsentAt'?: string | null;
1503
- /**
1504
- *
1505
- * @type {string}
1506
- * @memberof GuestDataCreate
1507
- */
1508
- 'smsMarketingConsentType'?: string | null;
1509
- /**
1510
- *
1511
- * @type {boolean}
1512
- * @memberof GuestDataCreate
1513
- */
1514
- 'smsMarketingIsSubscribed'?: boolean | null;
1515
- /**
1516
- *
1517
- * @type {string}
1518
- * @memberof GuestDataCreate
1519
- */
1520
- 'smsTransactionalConsentAt'?: string | null;
1521
- /**
1522
- *
1523
- * @type {string}
1524
- * @memberof GuestDataCreate
1525
- */
1526
- 'smsTransactionalConsentType'?: string | null;
1527
- /**
1528
- *
1529
- * @type {boolean}
1530
- * @memberof GuestDataCreate
1531
- */
1532
- 'smsTransactionalIsSubscribed'?: boolean | null;
1533
- }
1534
- /**
1535
- *
1536
- * @export
1537
- * @interface GuestDataUpdate
1538
- */
1539
- interface GuestDataUpdate {
1540
- /**
1541
- *
1542
- * @type {string}
1543
- * @memberof GuestDataUpdate
1544
- */
1545
- 'smsMarketingConsentAt'?: string | null;
1546
- /**
1547
- *
1548
- * @type {string}
1549
- * @memberof GuestDataUpdate
1550
- */
1551
- 'smsMarketingConsentType'?: string | null;
1552
- /**
1553
- *
1554
- * @type {boolean}
1555
- * @memberof GuestDataUpdate
1556
- */
1557
- 'smsMarketingIsSubscribed'?: boolean | null;
1558
- /**
1559
- *
1560
- * @type {string}
1561
- * @memberof GuestDataUpdate
1562
- */
1563
- 'smsTransactionalConsentAt'?: string | null;
1564
- /**
1565
- *
1566
- * @type {string}
1567
- * @memberof GuestDataUpdate
1568
- */
1569
- 'smsTransactionalConsentType'?: string | null;
1570
- /**
1571
- *
1572
- * @type {boolean}
1573
- * @memberof GuestDataUpdate
1574
- */
1575
- 'smsTransactionalIsSubscribed'?: boolean | null;
1397
+ 'listingIds'?: Array<string>;
1576
1398
  }
1577
1399
  /**
1578
1400
  *
@@ -1628,10 +1450,10 @@ interface HostawayWebhook {
1628
1450
  interface LeadData {
1629
1451
  /**
1630
1452
  *
1631
- * @type {string}
1453
+ * @type {Array<string>}
1632
1454
  * @memberof LeadData
1633
1455
  */
1634
- 'createdAt': string;
1456
+ 'listingIds'?: Array<string>;
1635
1457
  }
1636
1458
  /**
1637
1459
  *
@@ -1720,7 +1542,25 @@ interface OwnerData {
1720
1542
  * @type {string}
1721
1543
  * @memberof OwnerData
1722
1544
  */
1723
- 'createdAt': string;
1545
+ 'firstBookedAt'?: string;
1546
+ /**
1547
+ *
1548
+ * @type {string}
1549
+ * @memberof OwnerData
1550
+ */
1551
+ 'firstStayAt'?: string;
1552
+ /**
1553
+ *
1554
+ * @type {number}
1555
+ * @memberof OwnerData
1556
+ */
1557
+ 'totalNightsStayed'?: number;
1558
+ /**
1559
+ *
1560
+ * @type {Array<string>}
1561
+ * @memberof OwnerData
1562
+ */
1563
+ 'listingIds'?: Array<string>;
1724
1564
  }
1725
1565
  /**
1726
1566
  *
@@ -1730,34 +1570,34 @@ interface OwnerData {
1730
1570
  interface Phone {
1731
1571
  /**
1732
1572
  *
1733
- * @type {DataSource}
1573
+ * @type {string}
1734
1574
  * @memberof Phone
1735
1575
  */
1736
- 'dataSource': DataSource;
1576
+ 'phoneId': string;
1737
1577
  /**
1738
1578
  *
1739
1579
  * @type {string}
1740
1580
  * @memberof Phone
1741
1581
  */
1742
- 'deletedAt'?: string | null;
1582
+ 'phone': string | null;
1743
1583
  /**
1744
1584
  *
1745
- * @type {boolean}
1585
+ * @type {DataSource}
1746
1586
  * @memberof Phone
1747
1587
  */
1748
- 'isPrimary': boolean;
1588
+ 'dataSource': DataSource;
1749
1589
  /**
1750
1590
  *
1751
1591
  * @type {string}
1752
1592
  * @memberof Phone
1753
1593
  */
1754
- 'phoneId': string;
1594
+ 'deletedAt'?: string | null;
1755
1595
  /**
1756
1596
  *
1757
- * @type {string}
1597
+ * @type {boolean}
1758
1598
  * @memberof Phone
1759
1599
  */
1760
- 'phone': string | null;
1600
+ 'isPrimary': boolean;
1761
1601
  }
1762
1602
  /**
1763
1603
  *
@@ -1786,34 +1626,34 @@ interface PhoneCreate {
1786
1626
  interface PhonesCreateResponse {
1787
1627
  /**
1788
1628
  *
1789
- * @type {DataSource}
1629
+ * @type {string}
1790
1630
  * @memberof PhonesCreateResponse
1791
1631
  */
1792
- 'dataSource': DataSource;
1632
+ 'phoneId': string;
1793
1633
  /**
1794
1634
  *
1795
1635
  * @type {string}
1796
1636
  * @memberof PhonesCreateResponse
1797
1637
  */
1798
- 'deletedAt'?: string | null;
1638
+ 'phone': string | null;
1799
1639
  /**
1800
1640
  *
1801
- * @type {boolean}
1641
+ * @type {DataSource}
1802
1642
  * @memberof PhonesCreateResponse
1803
1643
  */
1804
- 'isPrimary': boolean;
1644
+ 'dataSource': DataSource;
1805
1645
  /**
1806
1646
  *
1807
1647
  * @type {string}
1808
1648
  * @memberof PhonesCreateResponse
1809
1649
  */
1810
- 'phoneId': string;
1650
+ 'deletedAt'?: string | null;
1811
1651
  /**
1812
1652
  *
1813
- * @type {string}
1653
+ * @type {boolean}
1814
1654
  * @memberof PhonesCreateResponse
1815
1655
  */
1816
- 'phone': string | null;
1656
+ 'isPrimary': boolean;
1817
1657
  }
1818
1658
  /**
1819
1659
  *
@@ -3358,4 +3198,4 @@ declare class UnboundApi extends BaseAPI {
3358
3198
  webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
3359
3199
  }
3360
3200
 
3361
- export { type APIValidationError, type APIValidationErrorLocInner, type Address, type AddressCreate, type AddressItem, type AddressUpdate, AddressesApi, AddressesApiAxiosParamCreator, AddressesApiFactory, AddressesApiFp, type AddressesCreateResponse, type AddressesUpdateResponse, Configuration, type ConfigurationParameters, type ContactCreate, type ContactTypeData, type ContactTypeDataCreate, type ContactTypeDataUpdate, ContactTypeFilter, type ContactUpdate, ContactsApi, ContactsApiAxiosParamCreator, ContactsApiFactory, ContactsApiFp, type ContactsCreateResponse, type ContactsGetResponse, type ContactsListResponse, type ContactsUpdateResponse, DataSource, type Email, type EmailCreate, EmailsApi, EmailsApiAxiosParamCreator, EmailsApiFactory, EmailsApiFp, type EmailsCreateResponse, type GuestData, type GuestDataCreate, type GuestDataUpdate, type HTTPValidationError, HostawayApi, HostawayApiAxiosParamCreator, HostawayApiFactory, HostawayApiFp, type HostawayWebhook, type LeadData, type ListResponseContactsListResponse, type ListResponseListingsListResponse, type ListResponseReservationsListResponse, ListingsApi, ListingsApiAxiosParamCreator, ListingsApiFactory, ListingsApiFp, type ListingsListResponse, type OwnerData, type Phone, type PhoneCreate, PhonesApi, PhonesApiAxiosParamCreator, PhonesApiFactory, PhonesApiFp, type PhonesCreateResponse, ReservationsApi, ReservationsApiAxiosParamCreator, ReservationsApiFactory, ReservationsApiFp, type ReservationsListResponse, UnboundApi, UnboundApiAxiosParamCreator, UnboundApiFactory, UnboundApiFp };
3201
+ export { type APIValidationError, type APIValidationErrorLocInner, type Address, type AddressCreate, type AddressItem, type AddressUpdate, AddressesApi, AddressesApiAxiosParamCreator, AddressesApiFactory, AddressesApiFp, type AddressesCreateResponse, type AddressesUpdateResponse, Configuration, type ConfigurationParameters, type ContactCreate, type ContactTypeData, ContactTypeFilter, type ContactUpdate, ContactsApi, ContactsApiAxiosParamCreator, ContactsApiFactory, ContactsApiFp, type ContactsCreateResponse, type ContactsGetResponse, type ContactsListResponse, type ContactsUpdateResponse, DataSource, type Email, type EmailCreate, EmailsApi, EmailsApiAxiosParamCreator, EmailsApiFactory, EmailsApiFp, type EmailsCreateResponse, type GuestData, type HTTPValidationError, HostawayApi, HostawayApiAxiosParamCreator, HostawayApiFactory, HostawayApiFp, type HostawayWebhook, type LeadData, type ListResponseContactsListResponse, type ListResponseListingsListResponse, type ListResponseReservationsListResponse, ListingsApi, ListingsApiAxiosParamCreator, ListingsApiFactory, ListingsApiFp, type ListingsListResponse, type OwnerData, type Phone, type PhoneCreate, PhonesApi, PhonesApiAxiosParamCreator, PhonesApiFactory, PhonesApiFp, type PhonesCreateResponse, ReservationsApi, ReservationsApiAxiosParamCreator, ReservationsApiFactory, ReservationsApiFp, type ReservationsListResponse, UnboundApi, UnboundApiAxiosParamCreator, UnboundApiFactory, UnboundApiFp };