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

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
  *
@@ -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
  *
@@ -1632,6 +1454,12 @@ interface LeadData {
1632
1454
  * @memberof LeadData
1633
1455
  */
1634
1456
  'createdAt': string;
1457
+ /**
1458
+ *
1459
+ * @type {Array<string>}
1460
+ * @memberof LeadData
1461
+ */
1462
+ 'listingIds'?: Array<string>;
1635
1463
  }
1636
1464
  /**
1637
1465
  *
@@ -1720,7 +1548,25 @@ interface OwnerData {
1720
1548
  * @type {string}
1721
1549
  * @memberof OwnerData
1722
1550
  */
1723
- 'createdAt': string;
1551
+ 'firstBookedAt'?: string;
1552
+ /**
1553
+ *
1554
+ * @type {string}
1555
+ * @memberof OwnerData
1556
+ */
1557
+ 'firstStayAt'?: string;
1558
+ /**
1559
+ *
1560
+ * @type {number}
1561
+ * @memberof OwnerData
1562
+ */
1563
+ 'totalNightsStayed'?: number;
1564
+ /**
1565
+ *
1566
+ * @type {Array<string>}
1567
+ * @memberof OwnerData
1568
+ */
1569
+ 'listingIds'?: Array<string>;
1724
1570
  }
1725
1571
  /**
1726
1572
  *
@@ -3358,4 +3204,4 @@ declare class UnboundApi extends BaseAPI {
3358
3204
  webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
3359
3205
  }
3360
3206
 
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 };
3207
+ 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 };
package/dist/index.d.ts 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
  *
@@ -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
  *
@@ -1632,6 +1454,12 @@ interface LeadData {
1632
1454
  * @memberof LeadData
1633
1455
  */
1634
1456
  'createdAt': string;
1457
+ /**
1458
+ *
1459
+ * @type {Array<string>}
1460
+ * @memberof LeadData
1461
+ */
1462
+ 'listingIds'?: Array<string>;
1635
1463
  }
1636
1464
  /**
1637
1465
  *
@@ -1720,7 +1548,25 @@ interface OwnerData {
1720
1548
  * @type {string}
1721
1549
  * @memberof OwnerData
1722
1550
  */
1723
- 'createdAt': string;
1551
+ 'firstBookedAt'?: string;
1552
+ /**
1553
+ *
1554
+ * @type {string}
1555
+ * @memberof OwnerData
1556
+ */
1557
+ 'firstStayAt'?: string;
1558
+ /**
1559
+ *
1560
+ * @type {number}
1561
+ * @memberof OwnerData
1562
+ */
1563
+ 'totalNightsStayed'?: number;
1564
+ /**
1565
+ *
1566
+ * @type {Array<string>}
1567
+ * @memberof OwnerData
1568
+ */
1569
+ 'listingIds'?: Array<string>;
1724
1570
  }
1725
1571
  /**
1726
1572
  *
@@ -3358,4 +3204,4 @@ declare class UnboundApi extends BaseAPI {
3358
3204
  webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
3359
3205
  }
3360
3206
 
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 };
3207
+ 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 };