@ember-home/unbound-ts-client 0.0.5 → 0.0.7

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
@@ -162,6 +162,18 @@ type APIValidationErrorLocInner = number | string;
162
162
  * @interface Address
163
163
  */
164
164
  interface Address {
165
+ /**
166
+ *
167
+ * @type {string}
168
+ * @memberof Address
169
+ */
170
+ 'address1': string;
171
+ /**
172
+ *
173
+ * @type {string}
174
+ * @memberof Address
175
+ */
176
+ 'address2'?: string | null;
165
177
  /**
166
178
  *
167
179
  * @type {string}
@@ -180,6 +192,12 @@ interface Address {
180
192
  * @memberof Address
181
193
  */
182
194
  'region': string;
195
+ /**
196
+ *
197
+ * @type {string}
198
+ * @memberof Address
199
+ */
200
+ 'postalCode': string;
183
201
  }
184
202
  /**
185
203
  *
@@ -192,19 +210,80 @@ interface AddressItem {
192
210
  * @type {string}
193
211
  * @memberof AddressItem
194
212
  */
195
- 'source': AddressItemSourceEnum;
213
+ 'address1': string;
196
214
  /**
197
215
  *
198
- * @type {Address}
216
+ * @type {string}
217
+ * @memberof AddressItem
218
+ */
219
+ 'address2'?: string | null;
220
+ /**
221
+ *
222
+ * @type {string}
223
+ * @memberof AddressItem
224
+ */
225
+ 'locality': string;
226
+ /**
227
+ *
228
+ * @type {string}
229
+ * @memberof AddressItem
230
+ */
231
+ 'country': string;
232
+ /**
233
+ *
234
+ * @type {string}
235
+ * @memberof AddressItem
236
+ */
237
+ 'region': string;
238
+ /**
239
+ *
240
+ * @type {string}
241
+ * @memberof AddressItem
242
+ */
243
+ 'postalCode': string;
244
+ /**
245
+ *
246
+ * @type {string}
247
+ * @memberof AddressItem
248
+ */
249
+ 'addressId': string;
250
+ /**
251
+ *
252
+ * @type {string}
253
+ * @memberof AddressItem
254
+ */
255
+ 'accountId': string;
256
+ /**
257
+ *
258
+ * @type {string}
259
+ * @memberof AddressItem
260
+ */
261
+ 'contactId': string;
262
+ /**
263
+ *
264
+ * @type {boolean}
265
+ * @memberof AddressItem
266
+ */
267
+ 'isPrimary': boolean;
268
+ /**
269
+ *
270
+ * @type {string}
199
271
  * @memberof AddressItem
200
272
  */
201
- 'address': Address;
273
+ 'dataSource': AddressItemDataSourceEnum;
274
+ /**
275
+ *
276
+ * @type {string}
277
+ * @memberof AddressItem
278
+ */
279
+ 'deletedAt'?: string | null;
202
280
  }
203
- declare const AddressItemSourceEnum: {
204
- readonly ThirdParty: "THIRD_PARTY";
281
+ declare const AddressItemDataSourceEnum: {
282
+ readonly Hostaway: "HOSTAWAY";
283
+ readonly Guesty: "GUESTY";
205
284
  readonly Manual: "MANUAL";
206
285
  };
207
- type AddressItemSourceEnum = typeof AddressItemSourceEnum[keyof typeof AddressItemSourceEnum];
286
+ type AddressItemDataSourceEnum = typeof AddressItemDataSourceEnum[keyof typeof AddressItemDataSourceEnum];
208
287
  /**
209
288
  *
210
289
  * @export
@@ -223,19 +302,18 @@ interface ContactCreate {
223
302
  * @memberof ContactCreate
224
303
  */
225
304
  'lastName': string;
226
- }
227
- /**
228
- *
229
- * @export
230
- * @interface ContactTag
231
- */
232
- interface ContactTag {
233
305
  /**
234
306
  *
235
307
  * @type {string}
236
- * @memberof ContactTag
308
+ * @memberof ContactCreate
309
+ */
310
+ 'locale'?: string | null;
311
+ /**
312
+ *
313
+ * @type {Contacttypedata}
314
+ * @memberof ContactCreate
237
315
  */
238
- 'name': string;
316
+ 'contactTypeData': Contacttypedata;
239
317
  }
240
318
  /**
241
319
  *
@@ -248,19 +326,43 @@ interface ContactUpdate {
248
326
  * @type {string}
249
327
  * @memberof ContactUpdate
250
328
  */
251
- 'email'?: string;
329
+ 'company'?: string | null;
330
+ /**
331
+ *
332
+ * @type {string}
333
+ * @memberof ContactUpdate
334
+ */
335
+ 'firstName'?: string | null;
252
336
  /**
253
337
  *
254
338
  * @type {string}
255
339
  * @memberof ContactUpdate
256
340
  */
257
- 'firstName'?: string;
341
+ 'lastName'?: string | null;
258
342
  /**
259
343
  *
260
344
  * @type {string}
261
345
  * @memberof ContactUpdate
262
346
  */
263
- 'lastName'?: string;
347
+ 'title'?: string | null;
348
+ /**
349
+ *
350
+ * @type {string}
351
+ * @memberof ContactUpdate
352
+ */
353
+ 'locale'?: string | null;
354
+ /**
355
+ *
356
+ * @type {string}
357
+ * @memberof ContactUpdate
358
+ */
359
+ 'profilePicUrl'?: string | null;
360
+ /**
361
+ *
362
+ * @type {Contacttypedata1}
363
+ * @memberof ContactUpdate
364
+ */
365
+ 'contactTypeData'?: Contacttypedata1 | null;
264
366
  }
265
367
  /**
266
368
  *
@@ -274,120 +376,114 @@ interface ContactsCreateResponse {
274
376
  * @memberof ContactsCreateResponse
275
377
  */
276
378
  'contactId': string;
277
- /**
278
- *
279
- * @type {Contacttypedata}
280
- * @memberof ContactsCreateResponse
281
- */
282
- 'contactTypeData': Contacttypedata;
283
379
  /**
284
380
  *
285
381
  * @type {string}
286
382
  * @memberof ContactsCreateResponse
287
383
  */
288
- 'email'?: string | null;
384
+ 'company'?: string | null;
289
385
  /**
290
386
  *
291
- * @type {Array<Email>}
387
+ * @type {string}
292
388
  * @memberof ContactsCreateResponse
293
389
  */
294
- 'emails'?: Array<Email> | null;
390
+ 'firstName': string;
295
391
  /**
296
392
  *
297
393
  * @type {string}
298
394
  * @memberof ContactsCreateResponse
299
395
  */
300
- 'phone'?: string | null;
396
+ 'lastName': string;
301
397
  /**
302
398
  *
303
- * @type {Array<Phone>}
399
+ * @type {string}
304
400
  * @memberof ContactsCreateResponse
305
401
  */
306
- 'phones'?: Array<Phone> | null;
402
+ 'title'?: string | null;
307
403
  /**
308
404
  *
309
405
  * @type {string}
310
406
  * @memberof ContactsCreateResponse
311
407
  */
312
- 'firstName': string;
408
+ 'local'?: string;
313
409
  /**
314
410
  *
315
411
  * @type {string}
316
412
  * @memberof ContactsCreateResponse
317
413
  */
318
- 'lastName': string;
414
+ 'updatedAt'?: string;
319
415
  /**
320
416
  *
321
417
  * @type {string}
322
418
  * @memberof ContactsCreateResponse
323
419
  */
324
- 'fullName'?: string | null;
420
+ 'createdAt': string;
325
421
  /**
326
422
  *
327
423
  * @type {string}
328
424
  * @memberof ContactsCreateResponse
329
425
  */
330
- 'title'?: string | null;
426
+ 'deletedAt'?: string | null;
331
427
  /**
332
428
  *
333
429
  * @type {string}
334
430
  * @memberof ContactsCreateResponse
335
431
  */
336
- 'local'?: string;
432
+ 'profilePicUrl'?: string | null;
337
433
  /**
338
434
  *
339
435
  * @type {string}
340
436
  * @memberof ContactsCreateResponse
341
437
  */
342
- 'archivedAt'?: string | null;
438
+ 'fullName'?: string;
343
439
  /**
344
440
  *
345
- * @type {string}
441
+ * @type {Contacttypedata2}
346
442
  * @memberof ContactsCreateResponse
347
443
  */
348
- 'updatedAt'?: string | null;
444
+ 'contactTypeData': Contacttypedata2 | null;
349
445
  /**
350
446
  *
351
447
  * @type {string}
352
448
  * @memberof ContactsCreateResponse
353
449
  */
354
- 'createdAt': string;
450
+ 'primaryEmail'?: string | null;
355
451
  /**
356
452
  *
357
- * @type {string}
453
+ * @type {Array<Email>}
358
454
  * @memberof ContactsCreateResponse
359
455
  */
360
- 'profilePicUrl'?: string | null;
456
+ 'emails'?: Array<Email>;
361
457
  /**
362
458
  *
363
- * @type {Array<ContactTag>}
459
+ * @type {string}
364
460
  * @memberof ContactsCreateResponse
365
461
  */
366
- 'tags'?: Array<ContactTag> | null;
462
+ 'primaryPhone'?: string | null;
367
463
  /**
368
464
  *
369
- * @type {Address}
465
+ * @type {Array<Phone>}
370
466
  * @memberof ContactsCreateResponse
371
467
  */
372
- 'address'?: Address | null;
468
+ 'phones'?: Array<Phone>;
373
469
  /**
374
470
  *
375
- * @type {Array<AddressItem>}
471
+ * @type {Array<string>}
376
472
  * @memberof ContactsCreateResponse
377
473
  */
378
- 'addresses'?: Array<AddressItem> | null;
474
+ 'tags'?: Array<string>;
379
475
  /**
380
476
  *
381
- * @type {object}
477
+ * @type {Address}
382
478
  * @memberof ContactsCreateResponse
383
479
  */
384
- 'smsMarketingSubscription'?: object;
480
+ 'address'?: Address | null;
385
481
  /**
386
482
  *
387
- * @type {object}
483
+ * @type {Array<AddressItem>}
388
484
  * @memberof ContactsCreateResponse
389
485
  */
390
- 'smsTransactionalSubscription'?: object;
486
+ 'addresses'?: Array<AddressItem>;
391
487
  }
392
488
  /**
393
489
  *
@@ -401,120 +497,114 @@ interface ContactsGetResponse {
401
497
  * @memberof ContactsGetResponse
402
498
  */
403
499
  'contactId': string;
404
- /**
405
- *
406
- * @type {Contacttypedata}
407
- * @memberof ContactsGetResponse
408
- */
409
- 'contactTypeData': Contacttypedata;
410
500
  /**
411
501
  *
412
502
  * @type {string}
413
503
  * @memberof ContactsGetResponse
414
504
  */
415
- 'email'?: string | null;
505
+ 'company'?: string | null;
416
506
  /**
417
507
  *
418
- * @type {Array<Email>}
508
+ * @type {string}
419
509
  * @memberof ContactsGetResponse
420
510
  */
421
- 'emails'?: Array<Email> | null;
511
+ 'firstName': string;
422
512
  /**
423
513
  *
424
514
  * @type {string}
425
515
  * @memberof ContactsGetResponse
426
516
  */
427
- 'phone'?: string | null;
517
+ 'lastName': string;
428
518
  /**
429
519
  *
430
- * @type {Array<Phone>}
520
+ * @type {string}
431
521
  * @memberof ContactsGetResponse
432
522
  */
433
- 'phones'?: Array<Phone> | null;
523
+ 'title'?: string | null;
434
524
  /**
435
525
  *
436
526
  * @type {string}
437
527
  * @memberof ContactsGetResponse
438
528
  */
439
- 'firstName': string;
529
+ 'local'?: string;
440
530
  /**
441
531
  *
442
532
  * @type {string}
443
533
  * @memberof ContactsGetResponse
444
534
  */
445
- 'lastName': string;
535
+ 'updatedAt'?: string;
446
536
  /**
447
537
  *
448
538
  * @type {string}
449
539
  * @memberof ContactsGetResponse
450
540
  */
451
- 'fullName'?: string | null;
541
+ 'createdAt': string;
452
542
  /**
453
543
  *
454
544
  * @type {string}
455
545
  * @memberof ContactsGetResponse
456
546
  */
457
- 'title'?: string | null;
547
+ 'deletedAt'?: string | null;
458
548
  /**
459
549
  *
460
550
  * @type {string}
461
551
  * @memberof ContactsGetResponse
462
552
  */
463
- 'local'?: string;
553
+ 'profilePicUrl'?: string | null;
464
554
  /**
465
555
  *
466
556
  * @type {string}
467
557
  * @memberof ContactsGetResponse
468
558
  */
469
- 'archivedAt'?: string | null;
559
+ 'fullName'?: string;
470
560
  /**
471
561
  *
472
- * @type {string}
562
+ * @type {Contacttypedata2}
473
563
  * @memberof ContactsGetResponse
474
564
  */
475
- 'updatedAt'?: string | null;
565
+ 'contactTypeData': Contacttypedata2 | null;
476
566
  /**
477
567
  *
478
568
  * @type {string}
479
569
  * @memberof ContactsGetResponse
480
570
  */
481
- 'createdAt': string;
571
+ 'primaryEmail'?: string | null;
482
572
  /**
483
573
  *
484
- * @type {string}
574
+ * @type {Array<Email>}
485
575
  * @memberof ContactsGetResponse
486
576
  */
487
- 'profilePicUrl'?: string | null;
577
+ 'emails'?: Array<Email>;
488
578
  /**
489
579
  *
490
- * @type {Array<ContactTag>}
580
+ * @type {string}
491
581
  * @memberof ContactsGetResponse
492
582
  */
493
- 'tags'?: Array<ContactTag> | null;
583
+ 'primaryPhone'?: string | null;
494
584
  /**
495
585
  *
496
- * @type {Address}
586
+ * @type {Array<Phone>}
497
587
  * @memberof ContactsGetResponse
498
588
  */
499
- 'address'?: Address | null;
589
+ 'phones'?: Array<Phone>;
500
590
  /**
501
591
  *
502
- * @type {Array<AddressItem>}
592
+ * @type {Array<string>}
503
593
  * @memberof ContactsGetResponse
504
594
  */
505
- 'addresses'?: Array<AddressItem> | null;
595
+ 'tags'?: Array<string>;
506
596
  /**
507
597
  *
508
- * @type {object}
598
+ * @type {Address}
509
599
  * @memberof ContactsGetResponse
510
600
  */
511
- 'smsMarketingSubscription'?: object;
601
+ 'address'?: Address | null;
512
602
  /**
513
603
  *
514
- * @type {object}
604
+ * @type {Array<AddressItem>}
515
605
  * @memberof ContactsGetResponse
516
606
  */
517
- 'smsTransactionalSubscription'?: object;
607
+ 'addresses'?: Array<AddressItem>;
518
608
  }
519
609
  /**
520
610
  *
@@ -528,126 +618,115 @@ interface ContactsListResponse {
528
618
  * @memberof ContactsListResponse
529
619
  */
530
620
  'contactId': string;
531
- /**
532
- *
533
- * @type {Contacttypedata}
534
- * @memberof ContactsListResponse
535
- */
536
- 'contactTypeData': Contacttypedata;
537
621
  /**
538
622
  *
539
623
  * @type {string}
540
624
  * @memberof ContactsListResponse
541
625
  */
542
- 'email'?: string | null;
626
+ 'company'?: string | null;
543
627
  /**
544
628
  *
545
- * @type {Array<Email>}
629
+ * @type {string}
546
630
  * @memberof ContactsListResponse
547
631
  */
548
- 'emails'?: Array<Email> | null;
632
+ 'firstName': string;
549
633
  /**
550
634
  *
551
635
  * @type {string}
552
636
  * @memberof ContactsListResponse
553
637
  */
554
- 'phone'?: string | null;
638
+ 'lastName': string;
555
639
  /**
556
640
  *
557
- * @type {Array<Phone>}
641
+ * @type {string}
558
642
  * @memberof ContactsListResponse
559
643
  */
560
- 'phones'?: Array<Phone> | null;
644
+ 'title'?: string | null;
561
645
  /**
562
646
  *
563
647
  * @type {string}
564
648
  * @memberof ContactsListResponse
565
649
  */
566
- 'firstName': string;
650
+ 'local'?: string;
567
651
  /**
568
652
  *
569
653
  * @type {string}
570
654
  * @memberof ContactsListResponse
571
655
  */
572
- 'lastName': string;
656
+ 'updatedAt'?: string;
573
657
  /**
574
658
  *
575
659
  * @type {string}
576
660
  * @memberof ContactsListResponse
577
661
  */
578
- 'fullName'?: string | null;
662
+ 'createdAt': string;
579
663
  /**
580
664
  *
581
665
  * @type {string}
582
666
  * @memberof ContactsListResponse
583
667
  */
584
- 'title'?: string | null;
668
+ 'deletedAt'?: string | null;
585
669
  /**
586
670
  *
587
671
  * @type {string}
588
672
  * @memberof ContactsListResponse
589
673
  */
590
- 'local'?: string;
674
+ 'profilePicUrl'?: string | null;
591
675
  /**
592
676
  *
593
677
  * @type {string}
594
678
  * @memberof ContactsListResponse
595
679
  */
596
- 'archivedAt'?: string | null;
680
+ 'fullName'?: string;
597
681
  /**
598
682
  *
599
- * @type {string}
683
+ * @type {Contacttypedata2}
600
684
  * @memberof ContactsListResponse
601
685
  */
602
- 'updatedAt'?: string | null;
686
+ 'contactTypeData': Contacttypedata2 | null;
603
687
  /**
604
688
  *
605
689
  * @type {string}
606
690
  * @memberof ContactsListResponse
607
691
  */
608
- 'createdAt': string;
692
+ 'primaryEmail'?: string | null;
609
693
  /**
610
694
  *
611
- * @type {string}
695
+ * @type {Array<Email>}
612
696
  * @memberof ContactsListResponse
613
697
  */
614
- 'profilePicUrl'?: string | null;
698
+ 'emails'?: Array<Email>;
615
699
  /**
616
700
  *
617
- * @type {Array<ContactTag>}
701
+ * @type {string}
618
702
  * @memberof ContactsListResponse
619
703
  */
620
- 'tags'?: Array<ContactTag> | null;
704
+ 'primaryPhone'?: string | null;
621
705
  /**
622
706
  *
623
- * @type {Address}
707
+ * @type {Array<Phone>}
624
708
  * @memberof ContactsListResponse
625
709
  */
626
- 'address'?: Address | null;
710
+ 'phones'?: Array<Phone>;
627
711
  /**
628
712
  *
629
- * @type {Array<AddressItem>}
713
+ * @type {Array<string>}
630
714
  * @memberof ContactsListResponse
631
715
  */
632
- 'addresses'?: Array<AddressItem> | null;
716
+ 'tags'?: Array<string>;
633
717
  /**
634
718
  *
635
- * @type {object}
719
+ * @type {Address}
636
720
  * @memberof ContactsListResponse
637
721
  */
638
- 'smsMarketingSubscription'?: object;
722
+ 'address'?: Address | null;
639
723
  /**
640
724
  *
641
- * @type {ContactsListResponseSmsTransactionalSubscription}
725
+ * @type {Array<AddressItem>}
642
726
  * @memberof ContactsListResponse
643
727
  */
644
- 'smsTransactionalSubscription'?: ContactsListResponseSmsTransactionalSubscription | null;
728
+ 'addresses'?: Array<AddressItem>;
645
729
  }
646
- /**
647
- * @type ContactsListResponseSmsTransactionalSubscription
648
- * @export
649
- */
650
- type ContactsListResponseSmsTransactionalSubscription = object;
651
730
  /**
652
731
  *
653
732
  * @export
@@ -660,132 +739,160 @@ interface ContactsUpdateResponse {
660
739
  * @memberof ContactsUpdateResponse
661
740
  */
662
741
  'contactId': string;
663
- /**
664
- *
665
- * @type {Contacttypedata}
666
- * @memberof ContactsUpdateResponse
667
- */
668
- 'contactTypeData': Contacttypedata;
669
742
  /**
670
743
  *
671
744
  * @type {string}
672
745
  * @memberof ContactsUpdateResponse
673
746
  */
674
- 'email'?: string | null;
747
+ 'company'?: string | null;
675
748
  /**
676
749
  *
677
- * @type {Array<Email>}
750
+ * @type {string}
678
751
  * @memberof ContactsUpdateResponse
679
752
  */
680
- 'emails'?: Array<Email> | null;
753
+ 'firstName': string;
681
754
  /**
682
755
  *
683
756
  * @type {string}
684
757
  * @memberof ContactsUpdateResponse
685
758
  */
686
- 'phone'?: string | null;
759
+ 'lastName': string;
687
760
  /**
688
761
  *
689
- * @type {Array<Phone>}
762
+ * @type {string}
690
763
  * @memberof ContactsUpdateResponse
691
764
  */
692
- 'phones'?: Array<Phone> | null;
765
+ 'title'?: string | null;
693
766
  /**
694
767
  *
695
768
  * @type {string}
696
769
  * @memberof ContactsUpdateResponse
697
770
  */
698
- 'firstName': string;
771
+ 'local'?: string;
699
772
  /**
700
773
  *
701
774
  * @type {string}
702
775
  * @memberof ContactsUpdateResponse
703
776
  */
704
- 'lastName': string;
777
+ 'updatedAt'?: string;
705
778
  /**
706
779
  *
707
780
  * @type {string}
708
781
  * @memberof ContactsUpdateResponse
709
782
  */
710
- 'fullName'?: string | null;
783
+ 'createdAt': string;
711
784
  /**
712
785
  *
713
786
  * @type {string}
714
787
  * @memberof ContactsUpdateResponse
715
788
  */
716
- 'title'?: string | null;
789
+ 'deletedAt'?: string | null;
717
790
  /**
718
791
  *
719
792
  * @type {string}
720
793
  * @memberof ContactsUpdateResponse
721
794
  */
722
- 'local'?: string;
795
+ 'profilePicUrl'?: string | null;
723
796
  /**
724
797
  *
725
798
  * @type {string}
726
799
  * @memberof ContactsUpdateResponse
727
800
  */
728
- 'archivedAt'?: string | null;
801
+ 'fullName'?: string;
729
802
  /**
730
803
  *
731
- * @type {string}
804
+ * @type {Contacttypedata2}
732
805
  * @memberof ContactsUpdateResponse
733
806
  */
734
- 'updatedAt'?: string | null;
807
+ 'contactTypeData': Contacttypedata2 | null;
735
808
  /**
736
809
  *
737
810
  * @type {string}
738
811
  * @memberof ContactsUpdateResponse
739
812
  */
740
- 'createdAt': string;
813
+ 'primaryEmail'?: string | null;
741
814
  /**
742
815
  *
743
- * @type {string}
816
+ * @type {Array<Email>}
744
817
  * @memberof ContactsUpdateResponse
745
818
  */
746
- 'profilePicUrl'?: string | null;
819
+ 'emails'?: Array<Email>;
747
820
  /**
748
821
  *
749
- * @type {Array<ContactTag>}
822
+ * @type {string}
750
823
  * @memberof ContactsUpdateResponse
751
824
  */
752
- 'tags'?: Array<ContactTag> | null;
825
+ 'primaryPhone'?: string | null;
753
826
  /**
754
827
  *
755
- * @type {Address}
828
+ * @type {Array<Phone>}
756
829
  * @memberof ContactsUpdateResponse
757
830
  */
758
- 'address'?: Address | null;
831
+ 'phones'?: Array<Phone>;
759
832
  /**
760
833
  *
761
- * @type {Array<AddressItem>}
834
+ * @type {Array<string>}
762
835
  * @memberof ContactsUpdateResponse
763
836
  */
764
- 'addresses'?: Array<AddressItem> | null;
837
+ 'tags'?: Array<string>;
765
838
  /**
766
839
  *
767
- * @type {object}
840
+ * @type {Address}
768
841
  * @memberof ContactsUpdateResponse
769
842
  */
770
- 'smsMarketingSubscription'?: object;
843
+ 'address'?: Address | null;
771
844
  /**
772
845
  *
773
- * @type {object}
846
+ * @type {Array<AddressItem>}
774
847
  * @memberof ContactsUpdateResponse
775
848
  */
776
- 'smsTransactionalSubscription'?: object;
849
+ 'addresses'?: Array<AddressItem>;
777
850
  }
778
851
  /**
779
852
  * @type Contacttypedata
780
853
  * @export
781
854
  */
782
- type Contacttypedata = object;
855
+ type Contacttypedata = GuestDataCreate | LeadDataCreate | OwnerDataCreate;
856
+ /**
857
+ * @type Contacttypedata1
858
+ * @export
859
+ */
860
+ type Contacttypedata1 = GuestDataUpdate | LeadDataUpdate | OwnerDataUpdate;
861
+ /**
862
+ * @type Contacttypedata2
863
+ * @export
864
+ */
865
+ type Contacttypedata2 = GuestData | LeadData | OwnerData;
783
866
  /**
784
867
  *
785
868
  * @export
786
869
  * @interface Email
787
870
  */
788
871
  interface Email {
872
+ /**
873
+ *
874
+ * @type {string}
875
+ * @memberof Email
876
+ */
877
+ 'accountId': string;
878
+ /**
879
+ *
880
+ * @type {string}
881
+ * @memberof Email
882
+ */
883
+ 'emailId': string;
884
+ /**
885
+ *
886
+ * @type {string}
887
+ * @memberof Email
888
+ */
889
+ 'contactId': string;
890
+ /**
891
+ *
892
+ * @type {boolean}
893
+ * @memberof Email
894
+ */
895
+ 'isPrimary': boolean;
789
896
  /**
790
897
  *
791
898
  * @type {string}
@@ -797,13 +904,197 @@ interface Email {
797
904
  * @type {string}
798
905
  * @memberof Email
799
906
  */
800
- 'source': EmailSourceEnum;
907
+ 'dataSource': EmailDataSourceEnum;
908
+ /**
909
+ *
910
+ * @type {string}
911
+ * @memberof Email
912
+ */
913
+ 'deletedAt'?: string | null;
801
914
  }
802
- declare const EmailSourceEnum: {
803
- readonly ThirdParty: "THIRD_PARTY";
915
+ declare const EmailDataSourceEnum: {
916
+ readonly Hostaway: "HOSTAWAY";
917
+ readonly Guesty: "GUESTY";
804
918
  readonly Manual: "MANUAL";
805
919
  };
806
- type EmailSourceEnum = typeof EmailSourceEnum[keyof typeof EmailSourceEnum];
920
+ type EmailDataSourceEnum = typeof EmailDataSourceEnum[keyof typeof EmailDataSourceEnum];
921
+ /**
922
+ *
923
+ * @export
924
+ * @interface GuestData
925
+ */
926
+ interface GuestData {
927
+ /**
928
+ *
929
+ * @type {string}
930
+ * @memberof GuestData
931
+ */
932
+ 'contactType': GuestDataContactTypeEnum;
933
+ /**
934
+ *
935
+ * @type {number}
936
+ * @memberof GuestData
937
+ */
938
+ 'numStays'?: number;
939
+ /**
940
+ *
941
+ * @type {number}
942
+ * @memberof GuestData
943
+ */
944
+ 'totalAmountSpent'?: number;
945
+ /**
946
+ *
947
+ * @type {number}
948
+ * @memberof GuestData
949
+ */
950
+ 'averageRating'?: number;
951
+ /**
952
+ *
953
+ * @type {boolean}
954
+ * @memberof GuestData
955
+ */
956
+ 'smsMarketingIsSubscribed'?: boolean;
957
+ /**
958
+ *
959
+ * @type {string}
960
+ * @memberof GuestData
961
+ */
962
+ 'smsMarketingConsentType'?: string | null;
963
+ /**
964
+ *
965
+ * @type {string}
966
+ * @memberof GuestData
967
+ */
968
+ 'smsMarketingConsentAt'?: string | null;
969
+ /**
970
+ *
971
+ * @type {boolean}
972
+ * @memberof GuestData
973
+ */
974
+ 'smsTransactionalIsSubscribed'?: boolean;
975
+ /**
976
+ *
977
+ * @type {string}
978
+ * @memberof GuestData
979
+ */
980
+ 'smsTransactionalConsentType'?: string | null;
981
+ /**
982
+ *
983
+ * @type {string}
984
+ * @memberof GuestData
985
+ */
986
+ 'smsTransactionalConsentAt'?: string | null;
987
+ }
988
+ declare const GuestDataContactTypeEnum: {
989
+ readonly Guest: "GUEST";
990
+ };
991
+ type GuestDataContactTypeEnum = typeof GuestDataContactTypeEnum[keyof typeof GuestDataContactTypeEnum];
992
+ /**
993
+ *
994
+ * @export
995
+ * @interface GuestDataCreate
996
+ */
997
+ interface GuestDataCreate {
998
+ /**
999
+ *
1000
+ * @type {string}
1001
+ * @memberof GuestDataCreate
1002
+ */
1003
+ 'contactType': GuestDataCreateContactTypeEnum;
1004
+ /**
1005
+ *
1006
+ * @type {boolean}
1007
+ * @memberof GuestDataCreate
1008
+ */
1009
+ 'smsMarketingIsSubscribed'?: boolean | null;
1010
+ /**
1011
+ *
1012
+ * @type {string}
1013
+ * @memberof GuestDataCreate
1014
+ */
1015
+ 'smsMarketingConsentType'?: string | null;
1016
+ /**
1017
+ *
1018
+ * @type {string}
1019
+ * @memberof GuestDataCreate
1020
+ */
1021
+ 'smsMarketingConsentAt'?: string | null;
1022
+ /**
1023
+ *
1024
+ * @type {boolean}
1025
+ * @memberof GuestDataCreate
1026
+ */
1027
+ 'smsTransactionalIsSubscribed'?: boolean | null;
1028
+ /**
1029
+ *
1030
+ * @type {string}
1031
+ * @memberof GuestDataCreate
1032
+ */
1033
+ 'smsTransactionalConsentType'?: string | null;
1034
+ /**
1035
+ *
1036
+ * @type {string}
1037
+ * @memberof GuestDataCreate
1038
+ */
1039
+ 'smsTransactionalConsentAt'?: string | null;
1040
+ }
1041
+ declare const GuestDataCreateContactTypeEnum: {
1042
+ readonly Guest: "GUEST";
1043
+ };
1044
+ type GuestDataCreateContactTypeEnum = typeof GuestDataCreateContactTypeEnum[keyof typeof GuestDataCreateContactTypeEnum];
1045
+ /**
1046
+ *
1047
+ * @export
1048
+ * @interface GuestDataUpdate
1049
+ */
1050
+ interface GuestDataUpdate {
1051
+ /**
1052
+ *
1053
+ * @type {string}
1054
+ * @memberof GuestDataUpdate
1055
+ */
1056
+ 'contactType': GuestDataUpdateContactTypeEnum;
1057
+ /**
1058
+ *
1059
+ * @type {boolean}
1060
+ * @memberof GuestDataUpdate
1061
+ */
1062
+ 'smsMarketingIsSubscribed'?: boolean | null;
1063
+ /**
1064
+ *
1065
+ * @type {string}
1066
+ * @memberof GuestDataUpdate
1067
+ */
1068
+ 'smsMarketingConsentType'?: string | null;
1069
+ /**
1070
+ *
1071
+ * @type {string}
1072
+ * @memberof GuestDataUpdate
1073
+ */
1074
+ 'smsMarketingConsentAt'?: string | null;
1075
+ /**
1076
+ *
1077
+ * @type {boolean}
1078
+ * @memberof GuestDataUpdate
1079
+ */
1080
+ 'smsTransactionalIsSubscribed'?: boolean | null;
1081
+ /**
1082
+ *
1083
+ * @type {string}
1084
+ * @memberof GuestDataUpdate
1085
+ */
1086
+ 'smsTransactionalConsentType'?: string | null;
1087
+ /**
1088
+ *
1089
+ * @type {string}
1090
+ * @memberof GuestDataUpdate
1091
+ */
1092
+ 'smsTransactionalConsentAt'?: string | null;
1093
+ }
1094
+ declare const GuestDataUpdateContactTypeEnum: {
1095
+ readonly Guest: "GUEST";
1096
+ };
1097
+ type GuestDataUpdateContactTypeEnum = typeof GuestDataUpdateContactTypeEnum[keyof typeof GuestDataUpdateContactTypeEnum];
807
1098
  /**
808
1099
  *
809
1100
  * @export
@@ -817,6 +1108,57 @@ interface HTTPValidationError {
817
1108
  */
818
1109
  'detail'?: Array<APIValidationError>;
819
1110
  }
1111
+ /**
1112
+ *
1113
+ * @export
1114
+ * @interface LeadData
1115
+ */
1116
+ interface LeadData {
1117
+ /**
1118
+ *
1119
+ * @type {string}
1120
+ * @memberof LeadData
1121
+ */
1122
+ 'contactType': LeadDataContactTypeEnum;
1123
+ }
1124
+ declare const LeadDataContactTypeEnum: {
1125
+ readonly Lead: "LEAD";
1126
+ };
1127
+ type LeadDataContactTypeEnum = typeof LeadDataContactTypeEnum[keyof typeof LeadDataContactTypeEnum];
1128
+ /**
1129
+ *
1130
+ * @export
1131
+ * @interface LeadDataCreate
1132
+ */
1133
+ interface LeadDataCreate {
1134
+ /**
1135
+ *
1136
+ * @type {string}
1137
+ * @memberof LeadDataCreate
1138
+ */
1139
+ 'contactType': LeadDataCreateContactTypeEnum;
1140
+ }
1141
+ declare const LeadDataCreateContactTypeEnum: {
1142
+ readonly Lead: "LEAD";
1143
+ };
1144
+ type LeadDataCreateContactTypeEnum = typeof LeadDataCreateContactTypeEnum[keyof typeof LeadDataCreateContactTypeEnum];
1145
+ /**
1146
+ *
1147
+ * @export
1148
+ * @interface LeadDataUpdate
1149
+ */
1150
+ interface LeadDataUpdate {
1151
+ /**
1152
+ *
1153
+ * @type {string}
1154
+ * @memberof LeadDataUpdate
1155
+ */
1156
+ 'contactType': LeadDataUpdateContactTypeEnum;
1157
+ }
1158
+ declare const LeadDataUpdateContactTypeEnum: {
1159
+ readonly Lead: "LEAD";
1160
+ };
1161
+ type LeadDataUpdateContactTypeEnum = typeof LeadDataUpdateContactTypeEnum[keyof typeof LeadDataUpdateContactTypeEnum];
820
1162
  /**
821
1163
  *
822
1164
  * @export
@@ -843,12 +1185,87 @@ interface ListResponseReservationsListResponse {
843
1185
  */
844
1186
  'data': Array<ReservationsListResponse>;
845
1187
  }
1188
+ /**
1189
+ *
1190
+ * @export
1191
+ * @interface OwnerData
1192
+ */
1193
+ interface OwnerData {
1194
+ /**
1195
+ *
1196
+ * @type {string}
1197
+ * @memberof OwnerData
1198
+ */
1199
+ 'contactType': OwnerDataContactTypeEnum;
1200
+ }
1201
+ declare const OwnerDataContactTypeEnum: {
1202
+ readonly Owner: "OWNER";
1203
+ };
1204
+ type OwnerDataContactTypeEnum = typeof OwnerDataContactTypeEnum[keyof typeof OwnerDataContactTypeEnum];
1205
+ /**
1206
+ *
1207
+ * @export
1208
+ * @interface OwnerDataCreate
1209
+ */
1210
+ interface OwnerDataCreate {
1211
+ /**
1212
+ *
1213
+ * @type {string}
1214
+ * @memberof OwnerDataCreate
1215
+ */
1216
+ 'contactType': OwnerDataCreateContactTypeEnum;
1217
+ }
1218
+ declare const OwnerDataCreateContactTypeEnum: {
1219
+ readonly Owner: "OWNER";
1220
+ };
1221
+ type OwnerDataCreateContactTypeEnum = typeof OwnerDataCreateContactTypeEnum[keyof typeof OwnerDataCreateContactTypeEnum];
1222
+ /**
1223
+ *
1224
+ * @export
1225
+ * @interface OwnerDataUpdate
1226
+ */
1227
+ interface OwnerDataUpdate {
1228
+ /**
1229
+ *
1230
+ * @type {string}
1231
+ * @memberof OwnerDataUpdate
1232
+ */
1233
+ 'contactType': OwnerDataUpdateContactTypeEnum;
1234
+ }
1235
+ declare const OwnerDataUpdateContactTypeEnum: {
1236
+ readonly Owner: "OWNER";
1237
+ };
1238
+ type OwnerDataUpdateContactTypeEnum = typeof OwnerDataUpdateContactTypeEnum[keyof typeof OwnerDataUpdateContactTypeEnum];
846
1239
  /**
847
1240
  *
848
1241
  * @export
849
1242
  * @interface Phone
850
1243
  */
851
1244
  interface Phone {
1245
+ /**
1246
+ *
1247
+ * @type {string}
1248
+ * @memberof Phone
1249
+ */
1250
+ 'accountId': string;
1251
+ /**
1252
+ *
1253
+ * @type {string}
1254
+ * @memberof Phone
1255
+ */
1256
+ 'phoneId': string;
1257
+ /**
1258
+ *
1259
+ * @type {string}
1260
+ * @memberof Phone
1261
+ */
1262
+ 'contactId': string;
1263
+ /**
1264
+ *
1265
+ * @type {boolean}
1266
+ * @memberof Phone
1267
+ */
1268
+ 'isPrimary': boolean;
852
1269
  /**
853
1270
  *
854
1271
  * @type {string}
@@ -860,13 +1277,20 @@ interface Phone {
860
1277
  * @type {string}
861
1278
  * @memberof Phone
862
1279
  */
863
- 'source': PhoneSourceEnum;
1280
+ 'dataSource': PhoneDataSourceEnum;
1281
+ /**
1282
+ *
1283
+ * @type {string}
1284
+ * @memberof Phone
1285
+ */
1286
+ 'deletedAt'?: string | null;
864
1287
  }
865
- declare const PhoneSourceEnum: {
866
- readonly ThirdParty: "THIRD_PARTY";
1288
+ declare const PhoneDataSourceEnum: {
1289
+ readonly Hostaway: "HOSTAWAY";
1290
+ readonly Guesty: "GUESTY";
867
1291
  readonly Manual: "MANUAL";
868
1292
  };
869
- type PhoneSourceEnum = typeof PhoneSourceEnum[keyof typeof PhoneSourceEnum];
1293
+ type PhoneDataSourceEnum = typeof PhoneDataSourceEnum[keyof typeof PhoneDataSourceEnum];
870
1294
  /**
871
1295
  *
872
1296
  * @export
@@ -878,13 +1302,13 @@ interface ReservationsListResponse {
878
1302
  * @type {string}
879
1303
  * @memberof ReservationsListResponse
880
1304
  */
881
- 'reservationId'?: string | null;
1305
+ 'providerReservationId': string;
882
1306
  /**
883
1307
  *
884
1308
  * @type {string}
885
1309
  * @memberof ReservationsListResponse
886
1310
  */
887
- 'providerReservationId': string;
1311
+ 'providerListingId': string;
888
1312
  /**
889
1313
  *
890
1314
  * @type {string}
@@ -1499,4 +1923,4 @@ declare class UnboundApi extends BaseAPI {
1499
1923
  webhook(body: object, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
1500
1924
  }
1501
1925
 
1502
- export { type APIValidationError, type APIValidationErrorLocInner, type Address, type AddressItem, AddressItemSourceEnum, Configuration, type ConfigurationParameters, type ContactCreate, type ContactTag, type ContactUpdate, ContactsApi, ContactsApiAxiosParamCreator, ContactsApiFactory, ContactsApiFp, type ContactsCreateResponse, type ContactsGetResponse, type ContactsListResponse, type ContactsListResponseSmsTransactionalSubscription, type ContactsUpdateResponse, type Contacttypedata, type Email, EmailSourceEnum, type HTTPValidationError, HostawayApi, HostawayApiAxiosParamCreator, HostawayApiFactory, HostawayApiFp, type ListResponseContactsListResponse, type ListResponseReservationsListResponse, type Phone, PhoneSourceEnum, ReservationsApi, ReservationsApiAxiosParamCreator, ReservationsApiFactory, ReservationsApiFp, type ReservationsListResponse, UnboundApi, UnboundApiAxiosParamCreator, UnboundApiFactory, UnboundApiFp };
1926
+ export { type APIValidationError, type APIValidationErrorLocInner, type Address, type AddressItem, AddressItemDataSourceEnum, Configuration, type ConfigurationParameters, type ContactCreate, type ContactUpdate, ContactsApi, ContactsApiAxiosParamCreator, ContactsApiFactory, ContactsApiFp, type ContactsCreateResponse, type ContactsGetResponse, type ContactsListResponse, type ContactsUpdateResponse, type Contacttypedata, type Contacttypedata1, type Contacttypedata2, type Email, EmailDataSourceEnum, type GuestData, GuestDataContactTypeEnum, type GuestDataCreate, GuestDataCreateContactTypeEnum, type GuestDataUpdate, GuestDataUpdateContactTypeEnum, type HTTPValidationError, HostawayApi, HostawayApiAxiosParamCreator, HostawayApiFactory, HostawayApiFp, type LeadData, LeadDataContactTypeEnum, type LeadDataCreate, LeadDataCreateContactTypeEnum, type LeadDataUpdate, LeadDataUpdateContactTypeEnum, type ListResponseContactsListResponse, type ListResponseReservationsListResponse, type OwnerData, OwnerDataContactTypeEnum, type OwnerDataCreate, OwnerDataCreateContactTypeEnum, type OwnerDataUpdate, OwnerDataUpdateContactTypeEnum, type Phone, PhoneDataSourceEnum, ReservationsApi, ReservationsApiAxiosParamCreator, ReservationsApiFactory, ReservationsApiFp, type ReservationsListResponse, UnboundApi, UnboundApiAxiosParamCreator, UnboundApiFactory, UnboundApiFp };