@ember-home/unbound-ts-client 0.0.6 → 0.0.8

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
@@ -179,794 +179,1371 @@ interface Address {
179
179
  * @type {string}
180
180
  * @memberof Address
181
181
  */
182
- 'locality': string;
182
+ 'country': string;
183
183
  /**
184
184
  *
185
185
  * @type {string}
186
186
  * @memberof Address
187
187
  */
188
- 'country': string;
188
+ 'locality': string;
189
189
  /**
190
190
  *
191
191
  * @type {string}
192
192
  * @memberof Address
193
193
  */
194
- 'region': string;
194
+ 'postalCode': string;
195
195
  /**
196
196
  *
197
197
  * @type {string}
198
198
  * @memberof Address
199
199
  */
200
- 'postalCode': string;
200
+ 'region': string;
201
201
  }
202
202
  /**
203
203
  *
204
204
  * @export
205
- * @interface AddressItem
205
+ * @interface AddressCreate
206
206
  */
207
- interface AddressItem {
207
+ interface AddressCreate {
208
208
  /**
209
209
  *
210
210
  * @type {string}
211
- * @memberof AddressItem
211
+ * @memberof AddressCreate
212
212
  */
213
- 'addressId': string;
213
+ 'address1': string;
214
214
  /**
215
215
  *
216
216
  * @type {string}
217
- * @memberof AddressItem
217
+ * @memberof AddressCreate
218
218
  */
219
- 'source': AddressItemSourceEnum;
219
+ 'address2'?: string | null;
220
220
  /**
221
221
  *
222
- * @type {Address}
223
- * @memberof AddressItem
222
+ * @type {string}
223
+ * @memberof AddressCreate
224
224
  */
225
- 'address': Address;
226
- }
227
- declare const AddressItemSourceEnum: {
228
- readonly ThirdParty: "THIRD_PARTY";
229
- readonly Manual: "MANUAL";
230
- };
231
- type AddressItemSourceEnum = typeof AddressItemSourceEnum[keyof typeof AddressItemSourceEnum];
232
- /**
233
- *
234
- * @export
235
- * @interface ContactCreate
236
- */
237
- interface ContactCreate {
225
+ 'country': string;
238
226
  /**
239
227
  *
240
228
  * @type {string}
241
- * @memberof ContactCreate
229
+ * @memberof AddressCreate
242
230
  */
243
- 'firstName': string;
231
+ 'locality': string;
244
232
  /**
245
233
  *
246
234
  * @type {string}
247
- * @memberof ContactCreate
235
+ * @memberof AddressCreate
248
236
  */
249
- 'lastName': string;
237
+ 'postalCode': string;
238
+ /**
239
+ *
240
+ * @type {string}
241
+ * @memberof AddressCreate
242
+ */
243
+ 'region': string;
250
244
  }
251
245
  /**
252
246
  *
253
247
  * @export
254
- * @interface ContactTag
248
+ * @interface AddressItem
255
249
  */
256
- interface ContactTag {
250
+ interface AddressItem {
257
251
  /**
258
252
  *
259
253
  * @type {string}
260
- * @memberof ContactTag
254
+ * @memberof AddressItem
261
255
  */
262
- 'tagId': string;
256
+ 'address1': string;
263
257
  /**
264
258
  *
265
259
  * @type {string}
266
- * @memberof ContactTag
260
+ * @memberof AddressItem
267
261
  */
268
- 'groupId'?: string | null;
262
+ 'address2'?: string | null;
269
263
  /**
270
264
  *
271
265
  * @type {string}
272
- * @memberof ContactTag
266
+ * @memberof AddressItem
273
267
  */
274
- 'groupName'?: string | null;
275
- }
276
- /**
277
- *
278
- * @export
279
- * @interface ContactUpdate
280
- */
281
- interface ContactUpdate {
268
+ 'country': string;
282
269
  /**
283
270
  *
284
271
  * @type {string}
285
- * @memberof ContactUpdate
272
+ * @memberof AddressItem
286
273
  */
287
- 'email'?: string;
274
+ 'locality': string;
288
275
  /**
289
276
  *
290
277
  * @type {string}
291
- * @memberof ContactUpdate
278
+ * @memberof AddressItem
292
279
  */
293
- 'firstName'?: string;
280
+ 'postalCode': string;
294
281
  /**
295
282
  *
296
283
  * @type {string}
297
- * @memberof ContactUpdate
284
+ * @memberof AddressItem
298
285
  */
299
- 'lastName'?: string;
300
- }
301
- /**
302
- *
303
- * @export
304
- * @interface ContactsCreateResponse
305
- */
306
- interface ContactsCreateResponse {
286
+ 'region': string;
307
287
  /**
308
288
  *
309
289
  * @type {string}
310
- * @memberof ContactsCreateResponse
290
+ * @memberof AddressItem
311
291
  */
312
- 'contactId': string;
292
+ 'addressId': string;
313
293
  /**
314
294
  *
315
- * @type {Contacttypedata}
316
- * @memberof ContactsCreateResponse
295
+ * @type {DataSource}
296
+ * @memberof AddressItem
317
297
  */
318
- 'contactTypeData': Contacttypedata;
298
+ 'dataSource': DataSource;
319
299
  /**
320
300
  *
321
301
  * @type {string}
322
- * @memberof ContactsCreateResponse
302
+ * @memberof AddressItem
323
303
  */
324
- 'primaryEmail'?: string | null;
304
+ 'deletedAt'?: string | null;
325
305
  /**
326
306
  *
327
- * @type {Array<Email>}
328
- * @memberof ContactsCreateResponse
307
+ * @type {boolean}
308
+ * @memberof AddressItem
329
309
  */
330
- 'emails'?: Array<Email> | null;
310
+ 'isPrimary': boolean;
311
+ }
312
+ /**
313
+ *
314
+ * @export
315
+ * @interface AddressUpdate
316
+ */
317
+ interface AddressUpdate {
331
318
  /**
332
319
  *
333
320
  * @type {string}
334
- * @memberof ContactsCreateResponse
335
- */
336
- 'primaryPhone'?: string | null;
337
- /**
338
- *
339
- * @type {Array<Phone>}
340
- * @memberof ContactsCreateResponse
321
+ * @memberof AddressUpdate
341
322
  */
342
- 'phones'?: Array<Phone> | null;
323
+ 'address1'?: string | null;
343
324
  /**
344
325
  *
345
326
  * @type {string}
346
- * @memberof ContactsCreateResponse
327
+ * @memberof AddressUpdate
347
328
  */
348
- 'firstName': string;
329
+ 'address2'?: string | null;
349
330
  /**
350
331
  *
351
332
  * @type {string}
352
- * @memberof ContactsCreateResponse
333
+ * @memberof AddressUpdate
353
334
  */
354
- 'lastName': string;
335
+ 'country'?: string | null;
355
336
  /**
356
337
  *
357
338
  * @type {string}
358
- * @memberof ContactsCreateResponse
339
+ * @memberof AddressUpdate
359
340
  */
360
- 'fullName'?: string | null;
341
+ 'locality'?: string | null;
361
342
  /**
362
343
  *
363
344
  * @type {string}
364
- * @memberof ContactsCreateResponse
345
+ * @memberof AddressUpdate
365
346
  */
366
- 'title'?: string | null;
347
+ 'postalCode'?: string | null;
367
348
  /**
368
349
  *
369
350
  * @type {string}
370
- * @memberof ContactsCreateResponse
351
+ * @memberof AddressUpdate
371
352
  */
372
- 'local'?: string;
353
+ 'region'?: string | null;
354
+ }
355
+ /**
356
+ *
357
+ * @export
358
+ * @interface AddressesCreateResponse
359
+ */
360
+ interface AddressesCreateResponse {
373
361
  /**
374
362
  *
375
363
  * @type {string}
376
- * @memberof ContactsCreateResponse
364
+ * @memberof AddressesCreateResponse
377
365
  */
378
- 'archivedAt'?: string | null;
366
+ 'address1': string;
379
367
  /**
380
368
  *
381
369
  * @type {string}
382
- * @memberof ContactsCreateResponse
370
+ * @memberof AddressesCreateResponse
383
371
  */
384
- 'updatedAt'?: string | null;
372
+ 'address2'?: string | null;
385
373
  /**
386
374
  *
387
375
  * @type {string}
388
- * @memberof ContactsCreateResponse
376
+ * @memberof AddressesCreateResponse
389
377
  */
390
- 'createdAt': string;
378
+ 'country': string;
391
379
  /**
392
380
  *
393
381
  * @type {string}
394
- * @memberof ContactsCreateResponse
382
+ * @memberof AddressesCreateResponse
395
383
  */
396
- 'profilePicUrl'?: string | null;
397
- /**
398
- *
399
- * @type {Array<ContactTag>}
400
- * @memberof ContactsCreateResponse
401
- */
402
- 'tags'?: Array<ContactTag> | null;
384
+ 'locality': string;
403
385
  /**
404
386
  *
405
- * @type {Address}
406
- * @memberof ContactsCreateResponse
387
+ * @type {string}
388
+ * @memberof AddressesCreateResponse
407
389
  */
408
- 'address'?: Address | null;
390
+ 'postalCode': string;
409
391
  /**
410
392
  *
411
- * @type {Array<AddressItem>}
412
- * @memberof ContactsCreateResponse
393
+ * @type {string}
394
+ * @memberof AddressesCreateResponse
413
395
  */
414
- 'addresses'?: Array<AddressItem> | null;
396
+ 'region': string;
415
397
  }
416
398
  /**
417
399
  *
418
400
  * @export
419
- * @interface ContactsGetResponse
401
+ * @interface AddressesUpdateResponse
420
402
  */
421
- interface ContactsGetResponse {
403
+ interface AddressesUpdateResponse {
422
404
  /**
423
405
  *
424
406
  * @type {string}
425
- * @memberof ContactsGetResponse
407
+ * @memberof AddressesUpdateResponse
426
408
  */
427
- 'contactId': string;
409
+ 'address1': string;
428
410
  /**
429
411
  *
430
- * @type {Contacttypedata}
431
- * @memberof ContactsGetResponse
412
+ * @type {string}
413
+ * @memberof AddressesUpdateResponse
432
414
  */
433
- 'contactTypeData': Contacttypedata;
415
+ 'address2'?: string | null;
434
416
  /**
435
417
  *
436
418
  * @type {string}
437
- * @memberof ContactsGetResponse
419
+ * @memberof AddressesUpdateResponse
438
420
  */
439
- 'primaryEmail'?: string | null;
421
+ 'country': string;
440
422
  /**
441
423
  *
442
- * @type {Array<Email>}
443
- * @memberof ContactsGetResponse
424
+ * @type {string}
425
+ * @memberof AddressesUpdateResponse
444
426
  */
445
- 'emails'?: Array<Email> | null;
427
+ 'locality': string;
446
428
  /**
447
429
  *
448
430
  * @type {string}
449
- * @memberof ContactsGetResponse
431
+ * @memberof AddressesUpdateResponse
450
432
  */
451
- 'primaryPhone'?: string | null;
433
+ 'postalCode': string;
452
434
  /**
453
435
  *
454
- * @type {Array<Phone>}
455
- * @memberof ContactsGetResponse
436
+ * @type {string}
437
+ * @memberof AddressesUpdateResponse
456
438
  */
457
- 'phones'?: Array<Phone> | null;
439
+ 'region': string;
440
+ }
441
+ /**
442
+ *
443
+ * @export
444
+ * @interface ContactCreate
445
+ */
446
+ interface ContactCreate {
458
447
  /**
459
448
  *
460
449
  * @type {string}
461
- * @memberof ContactsGetResponse
450
+ * @memberof ContactCreate
462
451
  */
463
452
  'firstName': string;
464
453
  /**
465
454
  *
466
455
  * @type {string}
467
- * @memberof ContactsGetResponse
456
+ * @memberof ContactCreate
468
457
  */
469
458
  'lastName': string;
470
459
  /**
471
460
  *
472
461
  * @type {string}
473
- * @memberof ContactsGetResponse
462
+ * @memberof ContactCreate
474
463
  */
475
- 'fullName'?: string | null;
464
+ 'locale'?: string | null;
476
465
  /**
477
466
  *
478
- * @type {string}
479
- * @memberof ContactsGetResponse
467
+ * @type {Contacttypedata}
468
+ * @memberof ContactCreate
480
469
  */
481
- 'title'?: string | null;
470
+ 'contactTypeData': Contacttypedata;
471
+ }
472
+ /**
473
+ *
474
+ * @export
475
+ * @enum {string}
476
+ */
477
+ declare const ContactType: {
478
+ readonly Guest: "GUEST";
479
+ readonly Owner: "OWNER";
480
+ readonly Lead: "LEAD";
481
+ readonly Basic: "BASIC";
482
+ };
483
+ type ContactType = typeof ContactType[keyof typeof ContactType];
484
+ /**
485
+ *
486
+ * @export
487
+ * @interface ContactUpdate
488
+ */
489
+ interface ContactUpdate {
482
490
  /**
483
491
  *
484
492
  * @type {string}
485
- * @memberof ContactsGetResponse
493
+ * @memberof ContactUpdate
486
494
  */
487
- 'local'?: string;
495
+ 'company'?: string | null;
488
496
  /**
489
497
  *
490
498
  * @type {string}
491
- * @memberof ContactsGetResponse
499
+ * @memberof ContactUpdate
492
500
  */
493
- 'archivedAt'?: string | null;
501
+ 'firstName'?: string | null;
494
502
  /**
495
503
  *
496
504
  * @type {string}
497
- * @memberof ContactsGetResponse
505
+ * @memberof ContactUpdate
498
506
  */
499
- 'updatedAt'?: string | null;
507
+ 'lastName'?: string | null;
500
508
  /**
501
509
  *
502
510
  * @type {string}
503
- * @memberof ContactsGetResponse
511
+ * @memberof ContactUpdate
504
512
  */
505
- 'createdAt': string;
513
+ 'title'?: string | null;
506
514
  /**
507
515
  *
508
516
  * @type {string}
509
- * @memberof ContactsGetResponse
510
- */
511
- 'profilePicUrl'?: string | null;
512
- /**
513
- *
514
- * @type {Array<ContactTag>}
515
- * @memberof ContactsGetResponse
517
+ * @memberof ContactUpdate
516
518
  */
517
- 'tags'?: Array<ContactTag> | null;
519
+ 'locale'?: string | null;
518
520
  /**
519
521
  *
520
- * @type {Address}
521
- * @memberof ContactsGetResponse
522
+ * @type {string}
523
+ * @memberof ContactUpdate
522
524
  */
523
- 'address'?: Address | null;
525
+ 'profilePicUrl'?: string | null;
524
526
  /**
525
527
  *
526
- * @type {Array<AddressItem>}
527
- * @memberof ContactsGetResponse
528
+ * @type {Contacttypedata1}
529
+ * @memberof ContactUpdate
528
530
  */
529
- 'addresses'?: Array<AddressItem> | null;
531
+ 'contactTypeData'?: Contacttypedata1 | null;
530
532
  }
531
533
  /**
532
534
  *
533
535
  * @export
534
- * @interface ContactsListResponse
536
+ * @interface ContactsCreateResponse
535
537
  */
536
- interface ContactsListResponse {
538
+ interface ContactsCreateResponse {
537
539
  /**
538
540
  *
539
541
  * @type {string}
540
- * @memberof ContactsListResponse
542
+ * @memberof ContactsCreateResponse
541
543
  */
542
544
  'contactId': string;
543
545
  /**
544
546
  *
545
- * @type {Contacttypedata}
546
- * @memberof ContactsListResponse
547
+ * @type {string}
548
+ * @memberof ContactsCreateResponse
547
549
  */
548
- 'contactTypeData': Contacttypedata;
550
+ 'company'?: string | null;
549
551
  /**
550
552
  *
551
553
  * @type {string}
552
- * @memberof ContactsListResponse
554
+ * @memberof ContactsCreateResponse
553
555
  */
554
- 'primaryEmail'?: string | null;
556
+ 'firstName': string;
555
557
  /**
556
558
  *
557
- * @type {Array<Email>}
558
- * @memberof ContactsListResponse
559
+ * @type {string}
560
+ * @memberof ContactsCreateResponse
559
561
  */
560
- 'emails'?: Array<Email> | null;
562
+ 'lastName': string;
561
563
  /**
562
564
  *
563
565
  * @type {string}
564
- * @memberof ContactsListResponse
566
+ * @memberof ContactsCreateResponse
565
567
  */
566
- 'primaryPhone'?: string | null;
568
+ 'title'?: string | null;
567
569
  /**
568
570
  *
569
- * @type {Array<Phone>}
570
- * @memberof ContactsListResponse
571
+ * @type {string}
572
+ * @memberof ContactsCreateResponse
571
573
  */
572
- 'phones'?: Array<Phone> | null;
574
+ 'local'?: string;
573
575
  /**
574
576
  *
575
577
  * @type {string}
576
- * @memberof ContactsListResponse
578
+ * @memberof ContactsCreateResponse
577
579
  */
578
- 'firstName': string;
580
+ 'updatedAt'?: string;
579
581
  /**
580
582
  *
581
583
  * @type {string}
582
- * @memberof ContactsListResponse
584
+ * @memberof ContactsCreateResponse
583
585
  */
584
- 'lastName': string;
586
+ 'createdAt': string;
585
587
  /**
586
588
  *
587
589
  * @type {string}
588
- * @memberof ContactsListResponse
590
+ * @memberof ContactsCreateResponse
589
591
  */
590
- 'fullName'?: string | null;
592
+ 'deletedAt'?: string | null;
591
593
  /**
592
594
  *
593
595
  * @type {string}
594
- * @memberof ContactsListResponse
596
+ * @memberof ContactsCreateResponse
595
597
  */
596
- 'title'?: string | null;
598
+ 'profilePicUrl'?: string | null;
597
599
  /**
598
600
  *
599
601
  * @type {string}
600
- * @memberof ContactsListResponse
602
+ * @memberof ContactsCreateResponse
601
603
  */
602
- 'local'?: string;
604
+ 'fullName'?: string;
603
605
  /**
604
606
  *
605
- * @type {string}
606
- * @memberof ContactsListResponse
607
+ * @type {Contacttypedata2}
608
+ * @memberof ContactsCreateResponse
607
609
  */
608
- 'archivedAt'?: string | null;
610
+ 'contactTypeData': Contacttypedata2 | null;
609
611
  /**
610
612
  *
611
613
  * @type {string}
612
- * @memberof ContactsListResponse
614
+ * @memberof ContactsCreateResponse
613
615
  */
614
- 'updatedAt'?: string | null;
616
+ 'primaryEmail'?: string | null;
615
617
  /**
616
618
  *
617
- * @type {string}
618
- * @memberof ContactsListResponse
619
+ * @type {Array<Email>}
620
+ * @memberof ContactsCreateResponse
619
621
  */
620
- 'createdAt': string;
622
+ 'emails'?: Array<Email>;
621
623
  /**
622
624
  *
623
625
  * @type {string}
624
- * @memberof ContactsListResponse
626
+ * @memberof ContactsCreateResponse
625
627
  */
626
- 'profilePicUrl'?: string | null;
628
+ 'primaryPhone'?: string | null;
627
629
  /**
628
630
  *
629
- * @type {Array<ContactTag>}
630
- * @memberof ContactsListResponse
631
+ * @type {Array<Phone>}
632
+ * @memberof ContactsCreateResponse
633
+ */
634
+ 'phones'?: Array<Phone>;
635
+ /**
636
+ *
637
+ * @type {Array<string>}
638
+ * @memberof ContactsCreateResponse
631
639
  */
632
- 'tags'?: Array<ContactTag> | null;
640
+ 'tags'?: Array<string>;
633
641
  /**
634
642
  *
635
643
  * @type {Address}
636
- * @memberof ContactsListResponse
644
+ * @memberof ContactsCreateResponse
637
645
  */
638
646
  'address'?: Address | null;
639
647
  /**
640
648
  *
641
649
  * @type {Array<AddressItem>}
642
- * @memberof ContactsListResponse
650
+ * @memberof ContactsCreateResponse
643
651
  */
644
- 'addresses'?: Array<AddressItem> | null;
652
+ 'addresses'?: Array<AddressItem>;
645
653
  }
646
654
  /**
647
655
  *
648
656
  * @export
649
- * @interface ContactsUpdateResponse
657
+ * @interface ContactsGetResponse
650
658
  */
651
- interface ContactsUpdateResponse {
659
+ interface ContactsGetResponse {
652
660
  /**
653
661
  *
654
662
  * @type {string}
655
- * @memberof ContactsUpdateResponse
663
+ * @memberof ContactsGetResponse
656
664
  */
657
665
  'contactId': string;
658
666
  /**
659
667
  *
660
- * @type {Contacttypedata}
661
- * @memberof ContactsUpdateResponse
668
+ * @type {string}
669
+ * @memberof ContactsGetResponse
662
670
  */
663
- 'contactTypeData': Contacttypedata;
671
+ 'company'?: string | null;
664
672
  /**
665
673
  *
666
674
  * @type {string}
667
- * @memberof ContactsUpdateResponse
675
+ * @memberof ContactsGetResponse
668
676
  */
669
- 'primaryEmail'?: string | null;
677
+ 'firstName': string;
670
678
  /**
671
679
  *
672
- * @type {Array<Email>}
673
- * @memberof ContactsUpdateResponse
680
+ * @type {string}
681
+ * @memberof ContactsGetResponse
674
682
  */
675
- 'emails'?: Array<Email> | null;
683
+ 'lastName': string;
676
684
  /**
677
685
  *
678
686
  * @type {string}
679
- * @memberof ContactsUpdateResponse
687
+ * @memberof ContactsGetResponse
680
688
  */
681
- 'primaryPhone'?: string | null;
689
+ 'title'?: string | null;
682
690
  /**
683
691
  *
684
- * @type {Array<Phone>}
685
- * @memberof ContactsUpdateResponse
692
+ * @type {string}
693
+ * @memberof ContactsGetResponse
686
694
  */
687
- 'phones'?: Array<Phone> | null;
695
+ 'local'?: string;
688
696
  /**
689
697
  *
690
698
  * @type {string}
691
- * @memberof ContactsUpdateResponse
699
+ * @memberof ContactsGetResponse
692
700
  */
693
- 'firstName': string;
701
+ 'updatedAt'?: string;
694
702
  /**
695
703
  *
696
704
  * @type {string}
697
- * @memberof ContactsUpdateResponse
705
+ * @memberof ContactsGetResponse
698
706
  */
699
- 'lastName': string;
707
+ 'createdAt': string;
700
708
  /**
701
709
  *
702
710
  * @type {string}
703
- * @memberof ContactsUpdateResponse
711
+ * @memberof ContactsGetResponse
704
712
  */
705
- 'fullName'?: string | null;
713
+ 'deletedAt'?: string | null;
706
714
  /**
707
715
  *
708
716
  * @type {string}
709
- * @memberof ContactsUpdateResponse
717
+ * @memberof ContactsGetResponse
710
718
  */
711
- 'title'?: string | null;
719
+ 'profilePicUrl'?: string | null;
712
720
  /**
713
721
  *
714
722
  * @type {string}
715
- * @memberof ContactsUpdateResponse
723
+ * @memberof ContactsGetResponse
716
724
  */
717
- 'local'?: string;
725
+ 'fullName'?: string;
718
726
  /**
719
727
  *
720
- * @type {string}
721
- * @memberof ContactsUpdateResponse
728
+ * @type {Contacttypedata2}
729
+ * @memberof ContactsGetResponse
722
730
  */
723
- 'archivedAt'?: string | null;
731
+ 'contactTypeData': Contacttypedata2 | null;
724
732
  /**
725
733
  *
726
734
  * @type {string}
727
- * @memberof ContactsUpdateResponse
735
+ * @memberof ContactsGetResponse
728
736
  */
729
- 'updatedAt'?: string | null;
737
+ 'primaryEmail'?: string | null;
730
738
  /**
731
739
  *
732
- * @type {string}
733
- * @memberof ContactsUpdateResponse
740
+ * @type {Array<Email>}
741
+ * @memberof ContactsGetResponse
734
742
  */
735
- 'createdAt': string;
743
+ 'emails'?: Array<Email>;
736
744
  /**
737
745
  *
738
746
  * @type {string}
739
- * @memberof ContactsUpdateResponse
747
+ * @memberof ContactsGetResponse
740
748
  */
741
- 'profilePicUrl'?: string | null;
749
+ 'primaryPhone'?: string | null;
742
750
  /**
743
751
  *
744
- * @type {Array<ContactTag>}
745
- * @memberof ContactsUpdateResponse
752
+ * @type {Array<Phone>}
753
+ * @memberof ContactsGetResponse
754
+ */
755
+ 'phones'?: Array<Phone>;
756
+ /**
757
+ *
758
+ * @type {Array<string>}
759
+ * @memberof ContactsGetResponse
746
760
  */
747
- 'tags'?: Array<ContactTag> | null;
761
+ 'tags'?: Array<string>;
748
762
  /**
749
763
  *
750
764
  * @type {Address}
751
- * @memberof ContactsUpdateResponse
765
+ * @memberof ContactsGetResponse
752
766
  */
753
767
  'address'?: Address | null;
754
768
  /**
755
769
  *
756
770
  * @type {Array<AddressItem>}
757
- * @memberof ContactsUpdateResponse
771
+ * @memberof ContactsGetResponse
758
772
  */
759
- 'addresses'?: Array<AddressItem> | null;
773
+ 'addresses'?: Array<AddressItem>;
760
774
  }
761
- /**
762
- * @type Contacttypedata
763
- * @export
764
- */
765
- type Contacttypedata = GuestData | OtherData | OwnerData;
766
775
  /**
767
776
  *
768
777
  * @export
769
- * @interface Email
778
+ * @interface ContactsListResponse
770
779
  */
771
- interface Email {
780
+ interface ContactsListResponse {
772
781
  /**
773
782
  *
774
783
  * @type {string}
775
- * @memberof Email
784
+ * @memberof ContactsListResponse
776
785
  */
777
- 'emailId': string;
786
+ 'contactId': string;
778
787
  /**
779
788
  *
780
789
  * @type {string}
781
- * @memberof Email
790
+ * @memberof ContactsListResponse
782
791
  */
783
- 'email': string;
792
+ 'company'?: string | null;
784
793
  /**
785
794
  *
786
795
  * @type {string}
787
- * @memberof Email
796
+ * @memberof ContactsListResponse
788
797
  */
789
- 'source': EmailSourceEnum;
790
- }
791
- declare const EmailSourceEnum: {
792
- readonly ThirdParty: "THIRD_PARTY";
793
- readonly Manual: "MANUAL";
794
- };
795
- type EmailSourceEnum = typeof EmailSourceEnum[keyof typeof EmailSourceEnum];
796
- /**
797
- *
798
- * @export
799
- * @interface GuestData
800
- */
801
- interface GuestData {
798
+ 'firstName': string;
802
799
  /**
803
800
  *
804
801
  * @type {string}
805
- * @memberof GuestData
802
+ * @memberof ContactsListResponse
806
803
  */
807
- 'contactType'?: GuestDataContactTypeEnum;
804
+ 'lastName': string;
808
805
  /**
809
806
  *
810
- * @type {number}
811
- * @memberof GuestData
807
+ * @type {string}
808
+ * @memberof ContactsListResponse
812
809
  */
813
- 'numStays'?: number;
810
+ 'title'?: string | null;
814
811
  /**
815
812
  *
816
- * @type {number}
817
- * @memberof GuestData
813
+ * @type {string}
814
+ * @memberof ContactsListResponse
818
815
  */
819
- 'totalAmountSpent'?: number;
816
+ 'local'?: string;
820
817
  /**
821
818
  *
822
- * @type {number}
823
- * @memberof GuestData
819
+ * @type {string}
820
+ * @memberof ContactsListResponse
824
821
  */
825
- 'averageRating'?: number;
822
+ 'updatedAt'?: string;
826
823
  /**
827
824
  *
828
- * @type {boolean}
829
- * @memberof GuestData
825
+ * @type {string}
826
+ * @memberof ContactsListResponse
830
827
  */
831
- 'smsMarketingIsSubscribed'?: boolean;
828
+ 'createdAt': string;
832
829
  /**
833
830
  *
834
831
  * @type {string}
835
- * @memberof GuestData
832
+ * @memberof ContactsListResponse
836
833
  */
837
- 'smsMarketingConsentType'?: string | null;
834
+ 'deletedAt'?: string | null;
838
835
  /**
839
836
  *
840
837
  * @type {string}
841
- * @memberof GuestData
838
+ * @memberof ContactsListResponse
842
839
  */
843
- 'smsMarketingConsentAt'?: string | null;
840
+ 'profilePicUrl'?: string | null;
844
841
  /**
845
842
  *
846
- * @type {boolean}
847
- * @memberof GuestData
843
+ * @type {string}
844
+ * @memberof ContactsListResponse
848
845
  */
849
- 'smsTransactionalIsSubscribed'?: boolean;
846
+ 'fullName'?: string;
850
847
  /**
851
848
  *
852
- * @type {string}
853
- * @memberof GuestData
849
+ * @type {Contacttypedata2}
850
+ * @memberof ContactsListResponse
854
851
  */
855
- 'smsTransactionalConsentType'?: string | null;
852
+ 'contactTypeData': Contacttypedata2 | null;
856
853
  /**
857
854
  *
858
855
  * @type {string}
859
- * @memberof GuestData
856
+ * @memberof ContactsListResponse
860
857
  */
861
- 'smsTransactionalConsentAt'?: string | null;
862
- }
863
- declare const GuestDataContactTypeEnum: {
864
- readonly Guest: "GUEST";
865
- };
866
- type GuestDataContactTypeEnum = typeof GuestDataContactTypeEnum[keyof typeof GuestDataContactTypeEnum];
867
- /**
868
- *
869
- * @export
870
- * @interface HTTPValidationError
871
- */
872
- interface HTTPValidationError {
858
+ 'primaryEmail'?: string | null;
873
859
  /**
874
860
  *
875
- * @type {Array<APIValidationError>}
876
- * @memberof HTTPValidationError
861
+ * @type {Array<Email>}
862
+ * @memberof ContactsListResponse
877
863
  */
878
- 'detail'?: Array<APIValidationError>;
879
- }
880
- /**
881
- *
882
- * @export
883
- * @interface ListResponseContactsListResponse
884
- */
885
- interface ListResponseContactsListResponse {
864
+ 'emails'?: Array<Email>;
886
865
  /**
887
866
  *
888
- * @type {Array<ContactsListResponse>}
889
- * @memberof ListResponseContactsListResponse
867
+ * @type {string}
868
+ * @memberof ContactsListResponse
890
869
  */
891
- 'data': Array<ContactsListResponse>;
892
- }
893
- /**
894
- *
895
- * @export
896
- * @interface ListResponseReservationsListResponse
897
- */
898
- interface ListResponseReservationsListResponse {
870
+ 'primaryPhone'?: string | null;
899
871
  /**
900
872
  *
901
- * @type {Array<ReservationsListResponse>}
902
- * @memberof ListResponseReservationsListResponse
873
+ * @type {Array<Phone>}
874
+ * @memberof ContactsListResponse
903
875
  */
904
- 'data': Array<ReservationsListResponse>;
905
- }
906
- /**
907
- *
908
- * @export
909
- * @interface OtherData
910
- */
911
- interface OtherData {
876
+ 'phones'?: Array<Phone>;
912
877
  /**
913
878
  *
914
- * @type {string}
915
- * @memberof OtherData
879
+ * @type {Array<string>}
880
+ * @memberof ContactsListResponse
916
881
  */
917
- 'contactType'?: OtherDataContactTypeEnum;
918
- }
919
- declare const OtherDataContactTypeEnum: {
920
- readonly Other: "OTHER";
921
- };
922
- type OtherDataContactTypeEnum = typeof OtherDataContactTypeEnum[keyof typeof OtherDataContactTypeEnum];
923
- /**
924
- *
925
- * @export
926
- * @interface OwnerData
927
- */
928
- interface OwnerData {
882
+ 'tags'?: Array<string>;
929
883
  /**
930
884
  *
931
- * @type {string}
932
- * @memberof OwnerData
885
+ * @type {Address}
886
+ * @memberof ContactsListResponse
887
+ */
888
+ 'address'?: Address | null;
889
+ /**
890
+ *
891
+ * @type {Array<AddressItem>}
892
+ * @memberof ContactsListResponse
933
893
  */
934
- 'contactType'?: OwnerDataContactTypeEnum;
894
+ 'addresses'?: Array<AddressItem>;
935
895
  }
936
- declare const OwnerDataContactTypeEnum: {
937
- readonly Owner: "OWNER";
938
- };
939
- type OwnerDataContactTypeEnum = typeof OwnerDataContactTypeEnum[keyof typeof OwnerDataContactTypeEnum];
940
896
  /**
941
897
  *
942
898
  * @export
943
- * @interface Phone
899
+ * @interface ContactsUpdateResponse
944
900
  */
945
- interface Phone {
901
+ interface ContactsUpdateResponse {
946
902
  /**
947
903
  *
948
904
  * @type {string}
949
- * @memberof Phone
905
+ * @memberof ContactsUpdateResponse
950
906
  */
951
- 'phoneId': string;
907
+ 'contactId': string;
952
908
  /**
953
909
  *
954
910
  * @type {string}
911
+ * @memberof ContactsUpdateResponse
912
+ */
913
+ 'company'?: string | null;
914
+ /**
915
+ *
916
+ * @type {string}
917
+ * @memberof ContactsUpdateResponse
918
+ */
919
+ 'firstName': string;
920
+ /**
921
+ *
922
+ * @type {string}
923
+ * @memberof ContactsUpdateResponse
924
+ */
925
+ 'lastName': string;
926
+ /**
927
+ *
928
+ * @type {string}
929
+ * @memberof ContactsUpdateResponse
930
+ */
931
+ 'title'?: string | null;
932
+ /**
933
+ *
934
+ * @type {string}
935
+ * @memberof ContactsUpdateResponse
936
+ */
937
+ 'local'?: string;
938
+ /**
939
+ *
940
+ * @type {string}
941
+ * @memberof ContactsUpdateResponse
942
+ */
943
+ 'updatedAt'?: string;
944
+ /**
945
+ *
946
+ * @type {string}
947
+ * @memberof ContactsUpdateResponse
948
+ */
949
+ 'createdAt': string;
950
+ /**
951
+ *
952
+ * @type {string}
953
+ * @memberof ContactsUpdateResponse
954
+ */
955
+ 'deletedAt'?: string | null;
956
+ /**
957
+ *
958
+ * @type {string}
959
+ * @memberof ContactsUpdateResponse
960
+ */
961
+ 'profilePicUrl'?: string | null;
962
+ /**
963
+ *
964
+ * @type {string}
965
+ * @memberof ContactsUpdateResponse
966
+ */
967
+ 'fullName'?: string;
968
+ /**
969
+ *
970
+ * @type {Contacttypedata2}
971
+ * @memberof ContactsUpdateResponse
972
+ */
973
+ 'contactTypeData': Contacttypedata2 | null;
974
+ /**
975
+ *
976
+ * @type {string}
977
+ * @memberof ContactsUpdateResponse
978
+ */
979
+ 'primaryEmail'?: string | null;
980
+ /**
981
+ *
982
+ * @type {Array<Email>}
983
+ * @memberof ContactsUpdateResponse
984
+ */
985
+ 'emails'?: Array<Email>;
986
+ /**
987
+ *
988
+ * @type {string}
989
+ * @memberof ContactsUpdateResponse
990
+ */
991
+ 'primaryPhone'?: string | null;
992
+ /**
993
+ *
994
+ * @type {Array<Phone>}
995
+ * @memberof ContactsUpdateResponse
996
+ */
997
+ 'phones'?: Array<Phone>;
998
+ /**
999
+ *
1000
+ * @type {Array<string>}
1001
+ * @memberof ContactsUpdateResponse
1002
+ */
1003
+ 'tags'?: Array<string>;
1004
+ /**
1005
+ *
1006
+ * @type {Address}
1007
+ * @memberof ContactsUpdateResponse
1008
+ */
1009
+ 'address'?: Address | null;
1010
+ /**
1011
+ *
1012
+ * @type {Array<AddressItem>}
1013
+ * @memberof ContactsUpdateResponse
1014
+ */
1015
+ 'addresses'?: Array<AddressItem>;
1016
+ }
1017
+ /**
1018
+ * @type Contacttypedata
1019
+ * @export
1020
+ */
1021
+ type Contacttypedata = GuestDataCreate | LeadDataCreate | OwnerDataCreate;
1022
+ /**
1023
+ * @type Contacttypedata1
1024
+ * @export
1025
+ */
1026
+ type Contacttypedata1 = GuestDataUpdate | LeadDataUpdate | OwnerDataUpdate;
1027
+ /**
1028
+ * @type Contacttypedata2
1029
+ * @export
1030
+ */
1031
+ type Contacttypedata2 = GuestData | LeadData | OwnerData;
1032
+ /**
1033
+ *
1034
+ * @export
1035
+ * @enum {string}
1036
+ */
1037
+ declare const DataSource: {
1038
+ readonly Hostaway: "HOSTAWAY";
1039
+ readonly Guesty: "GUESTY";
1040
+ readonly Manual: "MANUAL";
1041
+ };
1042
+ type DataSource = typeof DataSource[keyof typeof DataSource];
1043
+ /**
1044
+ *
1045
+ * @export
1046
+ * @interface Email
1047
+ */
1048
+ interface Email {
1049
+ /**
1050
+ *
1051
+ * @type {DataSource}
1052
+ * @memberof Email
1053
+ */
1054
+ 'dataSource': DataSource;
1055
+ /**
1056
+ *
1057
+ * @type {string}
1058
+ * @memberof Email
1059
+ */
1060
+ 'deletedAt'?: string | null;
1061
+ /**
1062
+ *
1063
+ * @type {string}
1064
+ * @memberof Email
1065
+ */
1066
+ 'email': string;
1067
+ /**
1068
+ *
1069
+ * @type {string}
1070
+ * @memberof Email
1071
+ */
1072
+ 'emailId': string;
1073
+ /**
1074
+ *
1075
+ * @type {boolean}
1076
+ * @memberof Email
1077
+ */
1078
+ 'isPrimary': boolean;
1079
+ }
1080
+ /**
1081
+ *
1082
+ * @export
1083
+ * @interface EmailCreate
1084
+ */
1085
+ interface EmailCreate {
1086
+ /**
1087
+ *
1088
+ * @type {string}
1089
+ * @memberof EmailCreate
1090
+ */
1091
+ 'email': string;
1092
+ /**
1093
+ *
1094
+ * @type {boolean}
1095
+ * @memberof EmailCreate
1096
+ */
1097
+ 'isPrimary'?: boolean | null;
1098
+ }
1099
+ /**
1100
+ *
1101
+ * @export
1102
+ * @interface EmailsCreateResponse
1103
+ */
1104
+ interface EmailsCreateResponse {
1105
+ /**
1106
+ *
1107
+ * @type {DataSource}
1108
+ * @memberof EmailsCreateResponse
1109
+ */
1110
+ 'dataSource': DataSource;
1111
+ /**
1112
+ *
1113
+ * @type {string}
1114
+ * @memberof EmailsCreateResponse
1115
+ */
1116
+ 'deletedAt'?: string | null;
1117
+ /**
1118
+ *
1119
+ * @type {string}
1120
+ * @memberof EmailsCreateResponse
1121
+ */
1122
+ 'email': string;
1123
+ /**
1124
+ *
1125
+ * @type {string}
1126
+ * @memberof EmailsCreateResponse
1127
+ */
1128
+ 'emailId': string;
1129
+ /**
1130
+ *
1131
+ * @type {boolean}
1132
+ * @memberof EmailsCreateResponse
1133
+ */
1134
+ 'isPrimary': boolean;
1135
+ }
1136
+ /**
1137
+ *
1138
+ * @export
1139
+ * @interface GuestData
1140
+ */
1141
+ interface GuestData {
1142
+ /**
1143
+ *
1144
+ * @type {number}
1145
+ * @memberof GuestData
1146
+ */
1147
+ 'averageRating'?: number;
1148
+ /**
1149
+ *
1150
+ * @type {string}
1151
+ * @memberof GuestData
1152
+ */
1153
+ 'contactType': GuestDataContactTypeEnum;
1154
+ /**
1155
+ *
1156
+ * @type {number}
1157
+ * @memberof GuestData
1158
+ */
1159
+ 'numStays'?: number;
1160
+ /**
1161
+ *
1162
+ * @type {number}
1163
+ * @memberof GuestData
1164
+ */
1165
+ 'totalAmountSpent'?: number;
1166
+ /**
1167
+ *
1168
+ * @type {string}
1169
+ * @memberof GuestData
1170
+ */
1171
+ 'smsMarketingConsentAt'?: string | null;
1172
+ /**
1173
+ *
1174
+ * @type {string}
1175
+ * @memberof GuestData
1176
+ */
1177
+ 'smsMarketingConsentType'?: string | null;
1178
+ /**
1179
+ *
1180
+ * @type {boolean}
1181
+ * @memberof GuestData
1182
+ */
1183
+ 'smsMarketingIsSubscribed'?: boolean;
1184
+ /**
1185
+ *
1186
+ * @type {string}
1187
+ * @memberof GuestData
1188
+ */
1189
+ 'smsTransactionalConsentAt'?: string | null;
1190
+ /**
1191
+ *
1192
+ * @type {string}
1193
+ * @memberof GuestData
1194
+ */
1195
+ 'smsTransactionalConsentType'?: string | null;
1196
+ /**
1197
+ *
1198
+ * @type {boolean}
1199
+ * @memberof GuestData
1200
+ */
1201
+ 'smsTransactionalIsSubscribed'?: boolean;
1202
+ }
1203
+ declare const GuestDataContactTypeEnum: {
1204
+ readonly Guest: "GUEST";
1205
+ };
1206
+ type GuestDataContactTypeEnum = typeof GuestDataContactTypeEnum[keyof typeof GuestDataContactTypeEnum];
1207
+ /**
1208
+ *
1209
+ * @export
1210
+ * @interface GuestDataCreate
1211
+ */
1212
+ interface GuestDataCreate {
1213
+ /**
1214
+ *
1215
+ * @type {string}
1216
+ * @memberof GuestDataCreate
1217
+ */
1218
+ 'contactType': GuestDataCreateContactTypeEnum;
1219
+ /**
1220
+ *
1221
+ * @type {string}
1222
+ * @memberof GuestDataCreate
1223
+ */
1224
+ 'smsMarketingConsentAt'?: string | null;
1225
+ /**
1226
+ *
1227
+ * @type {string}
1228
+ * @memberof GuestDataCreate
1229
+ */
1230
+ 'smsMarketingConsentType'?: string | null;
1231
+ /**
1232
+ *
1233
+ * @type {boolean}
1234
+ * @memberof GuestDataCreate
1235
+ */
1236
+ 'smsMarketingIsSubscribed'?: boolean | null;
1237
+ /**
1238
+ *
1239
+ * @type {string}
1240
+ * @memberof GuestDataCreate
1241
+ */
1242
+ 'smsTransactionalConsentAt'?: string | null;
1243
+ /**
1244
+ *
1245
+ * @type {string}
1246
+ * @memberof GuestDataCreate
1247
+ */
1248
+ 'smsTransactionalConsentType'?: string | null;
1249
+ /**
1250
+ *
1251
+ * @type {boolean}
1252
+ * @memberof GuestDataCreate
1253
+ */
1254
+ 'smsTransactionalIsSubscribed'?: boolean | null;
1255
+ }
1256
+ declare const GuestDataCreateContactTypeEnum: {
1257
+ readonly Guest: "GUEST";
1258
+ };
1259
+ type GuestDataCreateContactTypeEnum = typeof GuestDataCreateContactTypeEnum[keyof typeof GuestDataCreateContactTypeEnum];
1260
+ /**
1261
+ *
1262
+ * @export
1263
+ * @interface GuestDataUpdate
1264
+ */
1265
+ interface GuestDataUpdate {
1266
+ /**
1267
+ *
1268
+ * @type {string}
1269
+ * @memberof GuestDataUpdate
1270
+ */
1271
+ 'contactType': GuestDataUpdateContactTypeEnum;
1272
+ /**
1273
+ *
1274
+ * @type {string}
1275
+ * @memberof GuestDataUpdate
1276
+ */
1277
+ 'smsMarketingConsentAt'?: string | null;
1278
+ /**
1279
+ *
1280
+ * @type {string}
1281
+ * @memberof GuestDataUpdate
1282
+ */
1283
+ 'smsMarketingConsentType'?: string | null;
1284
+ /**
1285
+ *
1286
+ * @type {boolean}
1287
+ * @memberof GuestDataUpdate
1288
+ */
1289
+ 'smsMarketingIsSubscribed'?: boolean | null;
1290
+ /**
1291
+ *
1292
+ * @type {string}
1293
+ * @memberof GuestDataUpdate
1294
+ */
1295
+ 'smsTransactionalConsentAt'?: string | null;
1296
+ /**
1297
+ *
1298
+ * @type {string}
1299
+ * @memberof GuestDataUpdate
1300
+ */
1301
+ 'smsTransactionalConsentType'?: string | null;
1302
+ /**
1303
+ *
1304
+ * @type {boolean}
1305
+ * @memberof GuestDataUpdate
1306
+ */
1307
+ 'smsTransactionalIsSubscribed'?: boolean | null;
1308
+ }
1309
+ declare const GuestDataUpdateContactTypeEnum: {
1310
+ readonly Guest: "GUEST";
1311
+ };
1312
+ type GuestDataUpdateContactTypeEnum = typeof GuestDataUpdateContactTypeEnum[keyof typeof GuestDataUpdateContactTypeEnum];
1313
+ /**
1314
+ *
1315
+ * @export
1316
+ * @interface HTTPValidationError
1317
+ */
1318
+ interface HTTPValidationError {
1319
+ /**
1320
+ *
1321
+ * @type {Array<APIValidationError>}
1322
+ * @memberof HTTPValidationError
1323
+ */
1324
+ 'detail'?: Array<APIValidationError>;
1325
+ }
1326
+ /**
1327
+ *
1328
+ * @export
1329
+ * @interface LeadData
1330
+ */
1331
+ interface LeadData {
1332
+ /**
1333
+ *
1334
+ * @type {string}
1335
+ * @memberof LeadData
1336
+ */
1337
+ 'contactType': LeadDataContactTypeEnum;
1338
+ }
1339
+ declare const LeadDataContactTypeEnum: {
1340
+ readonly Lead: "LEAD";
1341
+ };
1342
+ type LeadDataContactTypeEnum = typeof LeadDataContactTypeEnum[keyof typeof LeadDataContactTypeEnum];
1343
+ /**
1344
+ *
1345
+ * @export
1346
+ * @interface LeadDataCreate
1347
+ */
1348
+ interface LeadDataCreate {
1349
+ /**
1350
+ *
1351
+ * @type {string}
1352
+ * @memberof LeadDataCreate
1353
+ */
1354
+ 'contactType': LeadDataCreateContactTypeEnum;
1355
+ }
1356
+ declare const LeadDataCreateContactTypeEnum: {
1357
+ readonly Lead: "LEAD";
1358
+ };
1359
+ type LeadDataCreateContactTypeEnum = typeof LeadDataCreateContactTypeEnum[keyof typeof LeadDataCreateContactTypeEnum];
1360
+ /**
1361
+ *
1362
+ * @export
1363
+ * @interface LeadDataUpdate
1364
+ */
1365
+ interface LeadDataUpdate {
1366
+ /**
1367
+ *
1368
+ * @type {string}
1369
+ * @memberof LeadDataUpdate
1370
+ */
1371
+ 'contactType': LeadDataUpdateContactTypeEnum;
1372
+ }
1373
+ declare const LeadDataUpdateContactTypeEnum: {
1374
+ readonly Lead: "LEAD";
1375
+ };
1376
+ type LeadDataUpdateContactTypeEnum = typeof LeadDataUpdateContactTypeEnum[keyof typeof LeadDataUpdateContactTypeEnum];
1377
+ /**
1378
+ *
1379
+ * @export
1380
+ * @interface ListResponseContactsListResponse
1381
+ */
1382
+ interface ListResponseContactsListResponse {
1383
+ /**
1384
+ *
1385
+ * @type {Array<ContactsListResponse>}
1386
+ * @memberof ListResponseContactsListResponse
1387
+ */
1388
+ 'data': Array<ContactsListResponse>;
1389
+ }
1390
+ /**
1391
+ *
1392
+ * @export
1393
+ * @interface ListResponseReservationsListResponse
1394
+ */
1395
+ interface ListResponseReservationsListResponse {
1396
+ /**
1397
+ *
1398
+ * @type {Array<ReservationsListResponse>}
1399
+ * @memberof ListResponseReservationsListResponse
1400
+ */
1401
+ 'data': Array<ReservationsListResponse>;
1402
+ }
1403
+ /**
1404
+ *
1405
+ * @export
1406
+ * @interface OwnerData
1407
+ */
1408
+ interface OwnerData {
1409
+ /**
1410
+ *
1411
+ * @type {string}
1412
+ * @memberof OwnerData
1413
+ */
1414
+ 'contactType': OwnerDataContactTypeEnum;
1415
+ }
1416
+ declare const OwnerDataContactTypeEnum: {
1417
+ readonly Owner: "OWNER";
1418
+ };
1419
+ type OwnerDataContactTypeEnum = typeof OwnerDataContactTypeEnum[keyof typeof OwnerDataContactTypeEnum];
1420
+ /**
1421
+ *
1422
+ * @export
1423
+ * @interface OwnerDataCreate
1424
+ */
1425
+ interface OwnerDataCreate {
1426
+ /**
1427
+ *
1428
+ * @type {string}
1429
+ * @memberof OwnerDataCreate
1430
+ */
1431
+ 'contactType': OwnerDataCreateContactTypeEnum;
1432
+ }
1433
+ declare const OwnerDataCreateContactTypeEnum: {
1434
+ readonly Owner: "OWNER";
1435
+ };
1436
+ type OwnerDataCreateContactTypeEnum = typeof OwnerDataCreateContactTypeEnum[keyof typeof OwnerDataCreateContactTypeEnum];
1437
+ /**
1438
+ *
1439
+ * @export
1440
+ * @interface OwnerDataUpdate
1441
+ */
1442
+ interface OwnerDataUpdate {
1443
+ /**
1444
+ *
1445
+ * @type {string}
1446
+ * @memberof OwnerDataUpdate
1447
+ */
1448
+ 'contactType': OwnerDataUpdateContactTypeEnum;
1449
+ }
1450
+ declare const OwnerDataUpdateContactTypeEnum: {
1451
+ readonly Owner: "OWNER";
1452
+ };
1453
+ type OwnerDataUpdateContactTypeEnum = typeof OwnerDataUpdateContactTypeEnum[keyof typeof OwnerDataUpdateContactTypeEnum];
1454
+ /**
1455
+ *
1456
+ * @export
1457
+ * @interface Phone
1458
+ */
1459
+ interface Phone {
1460
+ /**
1461
+ *
1462
+ * @type {DataSource}
955
1463
  * @memberof Phone
956
1464
  */
957
- 'phone': string | null;
1465
+ 'dataSource': DataSource;
1466
+ /**
1467
+ *
1468
+ * @type {string}
1469
+ * @memberof Phone
1470
+ */
1471
+ 'deletedAt'?: string | null;
1472
+ /**
1473
+ *
1474
+ * @type {boolean}
1475
+ * @memberof Phone
1476
+ */
1477
+ 'isPrimary': boolean;
1478
+ /**
1479
+ *
1480
+ * @type {string}
1481
+ * @memberof Phone
1482
+ */
1483
+ 'phoneId': string;
958
1484
  /**
959
1485
  *
960
1486
  * @type {string}
961
1487
  * @memberof Phone
962
1488
  */
963
- 'source': PhoneSourceEnum;
1489
+ 'phone': string | null;
1490
+ }
1491
+ /**
1492
+ *
1493
+ * @export
1494
+ * @interface PhoneCreate
1495
+ */
1496
+ interface PhoneCreate {
1497
+ /**
1498
+ *
1499
+ * @type {string}
1500
+ * @memberof PhoneCreate
1501
+ */
1502
+ 'phone': string | null;
1503
+ /**
1504
+ *
1505
+ * @type {boolean}
1506
+ * @memberof PhoneCreate
1507
+ */
1508
+ 'isPrimary'?: boolean | null;
1509
+ }
1510
+ /**
1511
+ *
1512
+ * @export
1513
+ * @interface PhonesCreateResponse
1514
+ */
1515
+ interface PhonesCreateResponse {
1516
+ /**
1517
+ *
1518
+ * @type {DataSource}
1519
+ * @memberof PhonesCreateResponse
1520
+ */
1521
+ 'dataSource': DataSource;
1522
+ /**
1523
+ *
1524
+ * @type {string}
1525
+ * @memberof PhonesCreateResponse
1526
+ */
1527
+ 'deletedAt'?: string | null;
1528
+ /**
1529
+ *
1530
+ * @type {boolean}
1531
+ * @memberof PhonesCreateResponse
1532
+ */
1533
+ 'isPrimary': boolean;
1534
+ /**
1535
+ *
1536
+ * @type {string}
1537
+ * @memberof PhonesCreateResponse
1538
+ */
1539
+ 'phoneId': string;
1540
+ /**
1541
+ *
1542
+ * @type {string}
1543
+ * @memberof PhonesCreateResponse
1544
+ */
1545
+ 'phone': string | null;
964
1546
  }
965
- declare const PhoneSourceEnum: {
966
- readonly ThirdParty: "THIRD_PARTY";
967
- readonly Manual: "MANUAL";
968
- };
969
- type PhoneSourceEnum = typeof PhoneSourceEnum[keyof typeof PhoneSourceEnum];
970
1547
  /**
971
1548
  *
972
1549
  * @export
@@ -990,37 +1567,196 @@ interface ReservationsListResponse {
990
1567
  * @type {string}
991
1568
  * @memberof ReservationsListResponse
992
1569
  */
993
- 'reservationStatus': string;
1570
+ 'reservationStatus': string;
1571
+ /**
1572
+ *
1573
+ * @type {string}
1574
+ * @memberof ReservationsListResponse
1575
+ */
1576
+ 'arrivalAtPropertyTz': string;
1577
+ /**
1578
+ *
1579
+ * @type {string}
1580
+ * @memberof ReservationsListResponse
1581
+ */
1582
+ 'departureAtPropertyTz': string;
1583
+ /**
1584
+ *
1585
+ * @type {number}
1586
+ * @memberof ReservationsListResponse
1587
+ */
1588
+ 'nights': number;
1589
+ /**
1590
+ *
1591
+ * @type {number}
1592
+ * @memberof ReservationsListResponse
1593
+ */
1594
+ 'totalPrice': number;
1595
+ }
1596
+ /**
1597
+ * AddressesApi - axios parameter creator
1598
+ * @export
1599
+ */
1600
+ declare const AddressesApiAxiosParamCreator: (configuration?: Configuration) => {
1601
+ /**
1602
+ *
1603
+ * @summary Addresses Create
1604
+ * @param {string} contactId
1605
+ * @param {AddressCreate} addressCreate
1606
+ * @param {*} [options] Override http request option.
1607
+ * @throws {RequiredError}
1608
+ */
1609
+ addressesCreate: (contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1610
+ /**
1611
+ *
1612
+ * @summary Addresses Delete
1613
+ * @param {string} addressId
1614
+ * @param {*} [options] Override http request option.
1615
+ * @throws {RequiredError}
1616
+ */
1617
+ addressesDelete: (addressId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1618
+ /**
1619
+ *
1620
+ * @summary Addresses Update
1621
+ * @param {string} addressId
1622
+ * @param {AddressUpdate} addressUpdate
1623
+ * @param {*} [options] Override http request option.
1624
+ * @throws {RequiredError}
1625
+ */
1626
+ addressesUpdate: (addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1627
+ };
1628
+ /**
1629
+ * AddressesApi - functional programming interface
1630
+ * @export
1631
+ */
1632
+ declare const AddressesApiFp: (configuration?: Configuration) => {
1633
+ /**
1634
+ *
1635
+ * @summary Addresses Create
1636
+ * @param {string} contactId
1637
+ * @param {AddressCreate} addressCreate
1638
+ * @param {*} [options] Override http request option.
1639
+ * @throws {RequiredError}
1640
+ */
1641
+ addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressesCreateResponse>>;
1642
+ /**
1643
+ *
1644
+ * @summary Addresses Delete
1645
+ * @param {string} addressId
1646
+ * @param {*} [options] Override http request option.
1647
+ * @throws {RequiredError}
1648
+ */
1649
+ addressesDelete(addressId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1650
+ /**
1651
+ *
1652
+ * @summary Addresses Update
1653
+ * @param {string} addressId
1654
+ * @param {AddressUpdate} addressUpdate
1655
+ * @param {*} [options] Override http request option.
1656
+ * @throws {RequiredError}
1657
+ */
1658
+ addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressesUpdateResponse>>;
1659
+ };
1660
+ /**
1661
+ * AddressesApi - factory interface
1662
+ * @export
1663
+ */
1664
+ declare const AddressesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1665
+ /**
1666
+ *
1667
+ * @summary Addresses Create
1668
+ * @param {string} contactId
1669
+ * @param {AddressCreate} addressCreate
1670
+ * @param {*} [options] Override http request option.
1671
+ * @throws {RequiredError}
1672
+ */
1673
+ addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): AxiosPromise<AddressesCreateResponse>;
1674
+ /**
1675
+ *
1676
+ * @summary Addresses Delete
1677
+ * @param {string} addressId
1678
+ * @param {*} [options] Override http request option.
1679
+ * @throws {RequiredError}
1680
+ */
1681
+ addressesDelete(addressId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
994
1682
  /**
995
1683
  *
996
- * @type {string}
997
- * @memberof ReservationsListResponse
1684
+ * @summary Addresses Update
1685
+ * @param {string} addressId
1686
+ * @param {AddressUpdate} addressUpdate
1687
+ * @param {*} [options] Override http request option.
1688
+ * @throws {RequiredError}
998
1689
  */
999
- 'arrivalAtPropertyTz': string;
1690
+ addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AddressesUpdateResponse>;
1691
+ };
1692
+ /**
1693
+ * AddressesApi - object-oriented interface
1694
+ * @export
1695
+ * @class AddressesApi
1696
+ * @extends {BaseAPI}
1697
+ */
1698
+ declare class AddressesApi extends BaseAPI {
1000
1699
  /**
1001
1700
  *
1002
- * @type {string}
1003
- * @memberof ReservationsListResponse
1701
+ * @summary Addresses Create
1702
+ * @param {string} contactId
1703
+ * @param {AddressCreate} addressCreate
1704
+ * @param {*} [options] Override http request option.
1705
+ * @throws {RequiredError}
1706
+ * @memberof AddressesApi
1004
1707
  */
1005
- 'departureAtPropertyTz': string;
1708
+ addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<AddressesCreateResponse, any>>;
1006
1709
  /**
1007
1710
  *
1008
- * @type {number}
1009
- * @memberof ReservationsListResponse
1711
+ * @summary Addresses Delete
1712
+ * @param {string} addressId
1713
+ * @param {*} [options] Override http request option.
1714
+ * @throws {RequiredError}
1715
+ * @memberof AddressesApi
1010
1716
  */
1011
- 'nights': number;
1717
+ addressesDelete(addressId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
1012
1718
  /**
1013
1719
  *
1014
- * @type {number}
1015
- * @memberof ReservationsListResponse
1720
+ * @summary Addresses Update
1721
+ * @param {string} addressId
1722
+ * @param {AddressUpdate} addressUpdate
1723
+ * @param {*} [options] Override http request option.
1724
+ * @throws {RequiredError}
1725
+ * @memberof AddressesApi
1016
1726
  */
1017
- 'totalPrice': number;
1727
+ addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<AddressesUpdateResponse, any>>;
1018
1728
  }
1019
1729
  /**
1020
1730
  * ContactsApi - axios parameter creator
1021
1731
  * @export
1022
1732
  */
1023
1733
  declare const ContactsApiAxiosParamCreator: (configuration?: Configuration) => {
1734
+ /**
1735
+ *
1736
+ * @summary Addresses Create
1737
+ * @param {string} contactId
1738
+ * @param {AddressCreate} addressCreate
1739
+ * @param {*} [options] Override http request option.
1740
+ * @throws {RequiredError}
1741
+ */
1742
+ addressesCreate: (contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1743
+ /**
1744
+ *
1745
+ * @summary Addresses Delete
1746
+ * @param {string} addressId
1747
+ * @param {*} [options] Override http request option.
1748
+ * @throws {RequiredError}
1749
+ */
1750
+ addressesDelete: (addressId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1751
+ /**
1752
+ *
1753
+ * @summary Addresses Update
1754
+ * @param {string} addressId
1755
+ * @param {AddressUpdate} addressUpdate
1756
+ * @param {*} [options] Override http request option.
1757
+ * @throws {RequiredError}
1758
+ */
1759
+ addressesUpdate: (addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1024
1760
  /**
1025
1761
  *
1026
1762
  * @summary Contacts Create
@@ -1049,11 +1785,12 @@ declare const ContactsApiAxiosParamCreator: (configuration?: Configuration) => {
1049
1785
  /**
1050
1786
  *
1051
1787
  * @summary Contacts List
1052
- * @param {string} [statusFilter]
1788
+ * @param {ContactType} [contactType]
1789
+ * @param {string} [searchString]
1053
1790
  * @param {*} [options] Override http request option.
1054
1791
  * @throws {RequiredError}
1055
1792
  */
1056
- contactsList: (statusFilter?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1793
+ contactsList: (contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1057
1794
  /**
1058
1795
  *
1059
1796
  * @summary Contacts Update
@@ -1063,12 +1800,72 @@ declare const ContactsApiAxiosParamCreator: (configuration?: Configuration) => {
1063
1800
  * @throws {RequiredError}
1064
1801
  */
1065
1802
  contactsUpdate: (contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1803
+ /**
1804
+ *
1805
+ * @summary Emails Create
1806
+ * @param {string} contactId
1807
+ * @param {EmailCreate} emailCreate
1808
+ * @param {*} [options] Override http request option.
1809
+ * @throws {RequiredError}
1810
+ */
1811
+ emailsCreate: (contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1812
+ /**
1813
+ *
1814
+ * @summary Emails Delete
1815
+ * @param {string} emailId
1816
+ * @param {*} [options] Override http request option.
1817
+ * @throws {RequiredError}
1818
+ */
1819
+ emailsDelete: (emailId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1820
+ /**
1821
+ *
1822
+ * @summary Phones Create
1823
+ * @param {string} contactId
1824
+ * @param {PhoneCreate} phoneCreate
1825
+ * @param {*} [options] Override http request option.
1826
+ * @throws {RequiredError}
1827
+ */
1828
+ phonesCreate: (contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1829
+ /**
1830
+ *
1831
+ * @summary Phones Delete
1832
+ * @param {string} phoneId
1833
+ * @param {*} [options] Override http request option.
1834
+ * @throws {RequiredError}
1835
+ */
1836
+ phonesDelete: (phoneId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1066
1837
  };
1067
1838
  /**
1068
1839
  * ContactsApi - functional programming interface
1069
1840
  * @export
1070
1841
  */
1071
1842
  declare const ContactsApiFp: (configuration?: Configuration) => {
1843
+ /**
1844
+ *
1845
+ * @summary Addresses Create
1846
+ * @param {string} contactId
1847
+ * @param {AddressCreate} addressCreate
1848
+ * @param {*} [options] Override http request option.
1849
+ * @throws {RequiredError}
1850
+ */
1851
+ addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressesCreateResponse>>;
1852
+ /**
1853
+ *
1854
+ * @summary Addresses Delete
1855
+ * @param {string} addressId
1856
+ * @param {*} [options] Override http request option.
1857
+ * @throws {RequiredError}
1858
+ */
1859
+ addressesDelete(addressId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1860
+ /**
1861
+ *
1862
+ * @summary Addresses Update
1863
+ * @param {string} addressId
1864
+ * @param {AddressUpdate} addressUpdate
1865
+ * @param {*} [options] Override http request option.
1866
+ * @throws {RequiredError}
1867
+ */
1868
+ addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressesUpdateResponse>>;
1072
1869
  /**
1073
1870
  *
1074
1871
  * @summary Contacts Create
@@ -1097,11 +1894,12 @@ declare const ContactsApiFp: (configuration?: Configuration) => {
1097
1894
  /**
1098
1895
  *
1099
1896
  * @summary Contacts List
1100
- * @param {string} [statusFilter]
1897
+ * @param {ContactType} [contactType]
1898
+ * @param {string} [searchString]
1101
1899
  * @param {*} [options] Override http request option.
1102
1900
  * @throws {RequiredError}
1103
1901
  */
1104
- contactsList(statusFilter?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseContactsListResponse>>;
1902
+ contactsList(contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseContactsListResponse>>;
1105
1903
  /**
1106
1904
  *
1107
1905
  * @summary Contacts Update
@@ -1111,12 +1909,72 @@ declare const ContactsApiFp: (configuration?: Configuration) => {
1111
1909
  * @throws {RequiredError}
1112
1910
  */
1113
1911
  contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsUpdateResponse>>;
1912
+ /**
1913
+ *
1914
+ * @summary Emails Create
1915
+ * @param {string} contactId
1916
+ * @param {EmailCreate} emailCreate
1917
+ * @param {*} [options] Override http request option.
1918
+ * @throws {RequiredError}
1919
+ */
1920
+ emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmailsCreateResponse>>;
1921
+ /**
1922
+ *
1923
+ * @summary Emails Delete
1924
+ * @param {string} emailId
1925
+ * @param {*} [options] Override http request option.
1926
+ * @throws {RequiredError}
1927
+ */
1928
+ emailsDelete(emailId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1929
+ /**
1930
+ *
1931
+ * @summary Phones Create
1932
+ * @param {string} contactId
1933
+ * @param {PhoneCreate} phoneCreate
1934
+ * @param {*} [options] Override http request option.
1935
+ * @throws {RequiredError}
1936
+ */
1937
+ phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PhonesCreateResponse>>;
1938
+ /**
1939
+ *
1940
+ * @summary Phones Delete
1941
+ * @param {string} phoneId
1942
+ * @param {*} [options] Override http request option.
1943
+ * @throws {RequiredError}
1944
+ */
1945
+ phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1114
1946
  };
1115
1947
  /**
1116
1948
  * ContactsApi - factory interface
1117
1949
  * @export
1118
1950
  */
1119
1951
  declare const ContactsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1952
+ /**
1953
+ *
1954
+ * @summary Addresses Create
1955
+ * @param {string} contactId
1956
+ * @param {AddressCreate} addressCreate
1957
+ * @param {*} [options] Override http request option.
1958
+ * @throws {RequiredError}
1959
+ */
1960
+ addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): AxiosPromise<AddressesCreateResponse>;
1961
+ /**
1962
+ *
1963
+ * @summary Addresses Delete
1964
+ * @param {string} addressId
1965
+ * @param {*} [options] Override http request option.
1966
+ * @throws {RequiredError}
1967
+ */
1968
+ addressesDelete(addressId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1969
+ /**
1970
+ *
1971
+ * @summary Addresses Update
1972
+ * @param {string} addressId
1973
+ * @param {AddressUpdate} addressUpdate
1974
+ * @param {*} [options] Override http request option.
1975
+ * @throws {RequiredError}
1976
+ */
1977
+ addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AddressesUpdateResponse>;
1120
1978
  /**
1121
1979
  *
1122
1980
  * @summary Contacts Create
@@ -1145,11 +2003,12 @@ declare const ContactsApiFactory: (configuration?: Configuration, basePath?: str
1145
2003
  /**
1146
2004
  *
1147
2005
  * @summary Contacts List
1148
- * @param {string} [statusFilter]
2006
+ * @param {ContactType} [contactType]
2007
+ * @param {string} [searchString]
1149
2008
  * @param {*} [options] Override http request option.
1150
2009
  * @throws {RequiredError}
1151
2010
  */
1152
- contactsList(statusFilter?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseContactsListResponse>;
2011
+ contactsList(contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseContactsListResponse>;
1153
2012
  /**
1154
2013
  *
1155
2014
  * @summary Contacts Update
@@ -1159,61 +2018,259 @@ declare const ContactsApiFactory: (configuration?: Configuration, basePath?: str
1159
2018
  * @throws {RequiredError}
1160
2019
  */
1161
2020
  contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): AxiosPromise<ContactsUpdateResponse>;
2021
+ /**
2022
+ *
2023
+ * @summary Emails Create
2024
+ * @param {string} contactId
2025
+ * @param {EmailCreate} emailCreate
2026
+ * @param {*} [options] Override http request option.
2027
+ * @throws {RequiredError}
2028
+ */
2029
+ emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): AxiosPromise<EmailsCreateResponse>;
2030
+ /**
2031
+ *
2032
+ * @summary Emails Delete
2033
+ * @param {string} emailId
2034
+ * @param {*} [options] Override http request option.
2035
+ * @throws {RequiredError}
2036
+ */
2037
+ emailsDelete(emailId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2038
+ /**
2039
+ *
2040
+ * @summary Phones Create
2041
+ * @param {string} contactId
2042
+ * @param {PhoneCreate} phoneCreate
2043
+ * @param {*} [options] Override http request option.
2044
+ * @throws {RequiredError}
2045
+ */
2046
+ phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): AxiosPromise<PhonesCreateResponse>;
2047
+ /**
2048
+ *
2049
+ * @summary Phones Delete
2050
+ * @param {string} phoneId
2051
+ * @param {*} [options] Override http request option.
2052
+ * @throws {RequiredError}
2053
+ */
2054
+ phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1162
2055
  };
1163
2056
  /**
1164
2057
  * ContactsApi - object-oriented interface
1165
2058
  * @export
1166
- * @class ContactsApi
1167
- * @extends {BaseAPI}
2059
+ * @class ContactsApi
2060
+ * @extends {BaseAPI}
2061
+ */
2062
+ declare class ContactsApi extends BaseAPI {
2063
+ /**
2064
+ *
2065
+ * @summary Addresses Create
2066
+ * @param {string} contactId
2067
+ * @param {AddressCreate} addressCreate
2068
+ * @param {*} [options] Override http request option.
2069
+ * @throws {RequiredError}
2070
+ * @memberof ContactsApi
2071
+ */
2072
+ addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<AddressesCreateResponse, any>>;
2073
+ /**
2074
+ *
2075
+ * @summary Addresses Delete
2076
+ * @param {string} addressId
2077
+ * @param {*} [options] Override http request option.
2078
+ * @throws {RequiredError}
2079
+ * @memberof ContactsApi
2080
+ */
2081
+ addressesDelete(addressId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
2082
+ /**
2083
+ *
2084
+ * @summary Addresses Update
2085
+ * @param {string} addressId
2086
+ * @param {AddressUpdate} addressUpdate
2087
+ * @param {*} [options] Override http request option.
2088
+ * @throws {RequiredError}
2089
+ * @memberof ContactsApi
2090
+ */
2091
+ addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<AddressesUpdateResponse, any>>;
2092
+ /**
2093
+ *
2094
+ * @summary Contacts Create
2095
+ * @param {string} customerId
2096
+ * @param {ContactCreate} contactCreate
2097
+ * @param {*} [options] Override http request option.
2098
+ * @throws {RequiredError}
2099
+ * @memberof ContactsApi
2100
+ */
2101
+ contactsCreate(customerId: string, contactCreate: ContactCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsCreateResponse, any>>;
2102
+ /**
2103
+ *
2104
+ * @summary Contacts Delete
2105
+ * @param {string} contactId
2106
+ * @param {*} [options] Override http request option.
2107
+ * @throws {RequiredError}
2108
+ * @memberof ContactsApi
2109
+ */
2110
+ contactsDelete(contactId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
2111
+ /**
2112
+ *
2113
+ * @summary Contacts Get
2114
+ * @param {string} contactId
2115
+ * @param {*} [options] Override http request option.
2116
+ * @throws {RequiredError}
2117
+ * @memberof ContactsApi
2118
+ */
2119
+ contactsGet(contactId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsGetResponse, any>>;
2120
+ /**
2121
+ *
2122
+ * @summary Contacts List
2123
+ * @param {ContactType} [contactType]
2124
+ * @param {string} [searchString]
2125
+ * @param {*} [options] Override http request option.
2126
+ * @throws {RequiredError}
2127
+ * @memberof ContactsApi
2128
+ */
2129
+ contactsList(contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListResponseContactsListResponse, any>>;
2130
+ /**
2131
+ *
2132
+ * @summary Contacts Update
2133
+ * @param {string} contactId
2134
+ * @param {ContactUpdate} contactUpdate
2135
+ * @param {*} [options] Override http request option.
2136
+ * @throws {RequiredError}
2137
+ * @memberof ContactsApi
2138
+ */
2139
+ contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsUpdateResponse, any>>;
2140
+ /**
2141
+ *
2142
+ * @summary Emails Create
2143
+ * @param {string} contactId
2144
+ * @param {EmailCreate} emailCreate
2145
+ * @param {*} [options] Override http request option.
2146
+ * @throws {RequiredError}
2147
+ * @memberof ContactsApi
2148
+ */
2149
+ emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<EmailsCreateResponse, any>>;
2150
+ /**
2151
+ *
2152
+ * @summary Emails Delete
2153
+ * @param {string} emailId
2154
+ * @param {*} [options] Override http request option.
2155
+ * @throws {RequiredError}
2156
+ * @memberof ContactsApi
2157
+ */
2158
+ emailsDelete(emailId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
2159
+ /**
2160
+ *
2161
+ * @summary Phones Create
2162
+ * @param {string} contactId
2163
+ * @param {PhoneCreate} phoneCreate
2164
+ * @param {*} [options] Override http request option.
2165
+ * @throws {RequiredError}
2166
+ * @memberof ContactsApi
2167
+ */
2168
+ phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PhonesCreateResponse, any>>;
2169
+ /**
2170
+ *
2171
+ * @summary Phones Delete
2172
+ * @param {string} phoneId
2173
+ * @param {*} [options] Override http request option.
2174
+ * @throws {RequiredError}
2175
+ * @memberof ContactsApi
2176
+ */
2177
+ phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
2178
+ }
2179
+ /**
2180
+ * EmailsApi - axios parameter creator
2181
+ * @export
2182
+ */
2183
+ declare const EmailsApiAxiosParamCreator: (configuration?: Configuration) => {
2184
+ /**
2185
+ *
2186
+ * @summary Emails Create
2187
+ * @param {string} contactId
2188
+ * @param {EmailCreate} emailCreate
2189
+ * @param {*} [options] Override http request option.
2190
+ * @throws {RequiredError}
2191
+ */
2192
+ emailsCreate: (contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2193
+ /**
2194
+ *
2195
+ * @summary Emails Delete
2196
+ * @param {string} emailId
2197
+ * @param {*} [options] Override http request option.
2198
+ * @throws {RequiredError}
2199
+ */
2200
+ emailsDelete: (emailId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2201
+ };
2202
+ /**
2203
+ * EmailsApi - functional programming interface
2204
+ * @export
1168
2205
  */
1169
- declare class ContactsApi extends BaseAPI {
2206
+ declare const EmailsApiFp: (configuration?: Configuration) => {
1170
2207
  /**
1171
2208
  *
1172
- * @summary Contacts Create
1173
- * @param {string} customerId
1174
- * @param {ContactCreate} contactCreate
2209
+ * @summary Emails Create
2210
+ * @param {string} contactId
2211
+ * @param {EmailCreate} emailCreate
1175
2212
  * @param {*} [options] Override http request option.
1176
2213
  * @throws {RequiredError}
1177
- * @memberof ContactsApi
1178
2214
  */
1179
- contactsCreate(customerId: string, contactCreate: ContactCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsCreateResponse, any>>;
2215
+ emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmailsCreateResponse>>;
1180
2216
  /**
1181
2217
  *
1182
- * @summary Contacts Delete
1183
- * @param {string} contactId
2218
+ * @summary Emails Delete
2219
+ * @param {string} emailId
1184
2220
  * @param {*} [options] Override http request option.
1185
2221
  * @throws {RequiredError}
1186
- * @memberof ContactsApi
1187
2222
  */
1188
- contactsDelete(contactId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
2223
+ emailsDelete(emailId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2224
+ };
2225
+ /**
2226
+ * EmailsApi - factory interface
2227
+ * @export
2228
+ */
2229
+ declare const EmailsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1189
2230
  /**
1190
2231
  *
1191
- * @summary Contacts Get
2232
+ * @summary Emails Create
1192
2233
  * @param {string} contactId
2234
+ * @param {EmailCreate} emailCreate
1193
2235
  * @param {*} [options] Override http request option.
1194
2236
  * @throws {RequiredError}
1195
- * @memberof ContactsApi
1196
2237
  */
1197
- contactsGet(contactId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsGetResponse, any>>;
2238
+ emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): AxiosPromise<EmailsCreateResponse>;
1198
2239
  /**
1199
2240
  *
1200
- * @summary Contacts List
1201
- * @param {string} [statusFilter]
2241
+ * @summary Emails Delete
2242
+ * @param {string} emailId
1202
2243
  * @param {*} [options] Override http request option.
1203
2244
  * @throws {RequiredError}
1204
- * @memberof ContactsApi
1205
2245
  */
1206
- contactsList(statusFilter?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListResponseContactsListResponse, any>>;
2246
+ emailsDelete(emailId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2247
+ };
2248
+ /**
2249
+ * EmailsApi - object-oriented interface
2250
+ * @export
2251
+ * @class EmailsApi
2252
+ * @extends {BaseAPI}
2253
+ */
2254
+ declare class EmailsApi extends BaseAPI {
1207
2255
  /**
1208
2256
  *
1209
- * @summary Contacts Update
2257
+ * @summary Emails Create
1210
2258
  * @param {string} contactId
1211
- * @param {ContactUpdate} contactUpdate
2259
+ * @param {EmailCreate} emailCreate
1212
2260
  * @param {*} [options] Override http request option.
1213
2261
  * @throws {RequiredError}
1214
- * @memberof ContactsApi
2262
+ * @memberof EmailsApi
1215
2263
  */
1216
- contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsUpdateResponse, any>>;
2264
+ emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<EmailsCreateResponse, any>>;
2265
+ /**
2266
+ *
2267
+ * @summary Emails Delete
2268
+ * @param {string} emailId
2269
+ * @param {*} [options] Override http request option.
2270
+ * @throws {RequiredError}
2271
+ * @memberof EmailsApi
2272
+ */
2273
+ emailsDelete(emailId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
1217
2274
  }
1218
2275
  /**
1219
2276
  * HostawayApi - axios parameter creator
@@ -1274,6 +2331,102 @@ declare class HostawayApi extends BaseAPI {
1274
2331
  */
1275
2332
  webhook(body: object, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
1276
2333
  }
2334
+ /**
2335
+ * PhonesApi - axios parameter creator
2336
+ * @export
2337
+ */
2338
+ declare const PhonesApiAxiosParamCreator: (configuration?: Configuration) => {
2339
+ /**
2340
+ *
2341
+ * @summary Phones Create
2342
+ * @param {string} contactId
2343
+ * @param {PhoneCreate} phoneCreate
2344
+ * @param {*} [options] Override http request option.
2345
+ * @throws {RequiredError}
2346
+ */
2347
+ phonesCreate: (contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2348
+ /**
2349
+ *
2350
+ * @summary Phones Delete
2351
+ * @param {string} phoneId
2352
+ * @param {*} [options] Override http request option.
2353
+ * @throws {RequiredError}
2354
+ */
2355
+ phonesDelete: (phoneId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2356
+ };
2357
+ /**
2358
+ * PhonesApi - functional programming interface
2359
+ * @export
2360
+ */
2361
+ declare const PhonesApiFp: (configuration?: Configuration) => {
2362
+ /**
2363
+ *
2364
+ * @summary Phones Create
2365
+ * @param {string} contactId
2366
+ * @param {PhoneCreate} phoneCreate
2367
+ * @param {*} [options] Override http request option.
2368
+ * @throws {RequiredError}
2369
+ */
2370
+ phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PhonesCreateResponse>>;
2371
+ /**
2372
+ *
2373
+ * @summary Phones Delete
2374
+ * @param {string} phoneId
2375
+ * @param {*} [options] Override http request option.
2376
+ * @throws {RequiredError}
2377
+ */
2378
+ phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2379
+ };
2380
+ /**
2381
+ * PhonesApi - factory interface
2382
+ * @export
2383
+ */
2384
+ declare const PhonesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2385
+ /**
2386
+ *
2387
+ * @summary Phones Create
2388
+ * @param {string} contactId
2389
+ * @param {PhoneCreate} phoneCreate
2390
+ * @param {*} [options] Override http request option.
2391
+ * @throws {RequiredError}
2392
+ */
2393
+ phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): AxiosPromise<PhonesCreateResponse>;
2394
+ /**
2395
+ *
2396
+ * @summary Phones Delete
2397
+ * @param {string} phoneId
2398
+ * @param {*} [options] Override http request option.
2399
+ * @throws {RequiredError}
2400
+ */
2401
+ phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2402
+ };
2403
+ /**
2404
+ * PhonesApi - object-oriented interface
2405
+ * @export
2406
+ * @class PhonesApi
2407
+ * @extends {BaseAPI}
2408
+ */
2409
+ declare class PhonesApi extends BaseAPI {
2410
+ /**
2411
+ *
2412
+ * @summary Phones Create
2413
+ * @param {string} contactId
2414
+ * @param {PhoneCreate} phoneCreate
2415
+ * @param {*} [options] Override http request option.
2416
+ * @throws {RequiredError}
2417
+ * @memberof PhonesApi
2418
+ */
2419
+ phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PhonesCreateResponse, any>>;
2420
+ /**
2421
+ *
2422
+ * @summary Phones Delete
2423
+ * @param {string} phoneId
2424
+ * @param {*} [options] Override http request option.
2425
+ * @throws {RequiredError}
2426
+ * @memberof PhonesApi
2427
+ */
2428
+ phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
2429
+ }
1277
2430
  /**
1278
2431
  * ReservationsApi - axios parameter creator
1279
2432
  * @export
@@ -1338,6 +2491,32 @@ declare class ReservationsApi extends BaseAPI {
1338
2491
  * @export
1339
2492
  */
1340
2493
  declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
2494
+ /**
2495
+ *
2496
+ * @summary Addresses Create
2497
+ * @param {string} contactId
2498
+ * @param {AddressCreate} addressCreate
2499
+ * @param {*} [options] Override http request option.
2500
+ * @throws {RequiredError}
2501
+ */
2502
+ addressesCreate: (contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2503
+ /**
2504
+ *
2505
+ * @summary Addresses Delete
2506
+ * @param {string} addressId
2507
+ * @param {*} [options] Override http request option.
2508
+ * @throws {RequiredError}
2509
+ */
2510
+ addressesDelete: (addressId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2511
+ /**
2512
+ *
2513
+ * @summary Addresses Update
2514
+ * @param {string} addressId
2515
+ * @param {AddressUpdate} addressUpdate
2516
+ * @param {*} [options] Override http request option.
2517
+ * @throws {RequiredError}
2518
+ */
2519
+ addressesUpdate: (addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1341
2520
  /**
1342
2521
  *
1343
2522
  * @summary Contacts Create
@@ -1366,11 +2545,12 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
1366
2545
  /**
1367
2546
  *
1368
2547
  * @summary Contacts List
1369
- * @param {string} [statusFilter]
2548
+ * @param {ContactType} [contactType]
2549
+ * @param {string} [searchString]
1370
2550
  * @param {*} [options] Override http request option.
1371
2551
  * @throws {RequiredError}
1372
2552
  */
1373
- contactsList: (statusFilter?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2553
+ contactsList: (contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1374
2554
  /**
1375
2555
  *
1376
2556
  * @summary Contacts Update
@@ -1380,6 +2560,40 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
1380
2560
  * @throws {RequiredError}
1381
2561
  */
1382
2562
  contactsUpdate: (contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2563
+ /**
2564
+ *
2565
+ * @summary Emails Create
2566
+ * @param {string} contactId
2567
+ * @param {EmailCreate} emailCreate
2568
+ * @param {*} [options] Override http request option.
2569
+ * @throws {RequiredError}
2570
+ */
2571
+ emailsCreate: (contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2572
+ /**
2573
+ *
2574
+ * @summary Emails Delete
2575
+ * @param {string} emailId
2576
+ * @param {*} [options] Override http request option.
2577
+ * @throws {RequiredError}
2578
+ */
2579
+ emailsDelete: (emailId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2580
+ /**
2581
+ *
2582
+ * @summary Phones Create
2583
+ * @param {string} contactId
2584
+ * @param {PhoneCreate} phoneCreate
2585
+ * @param {*} [options] Override http request option.
2586
+ * @throws {RequiredError}
2587
+ */
2588
+ phonesCreate: (contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2589
+ /**
2590
+ *
2591
+ * @summary Phones Delete
2592
+ * @param {string} phoneId
2593
+ * @param {*} [options] Override http request option.
2594
+ * @throws {RequiredError}
2595
+ */
2596
+ phonesDelete: (phoneId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1383
2597
  /**
1384
2598
  * List all contacts
1385
2599
  * @summary Reservations List
@@ -1402,6 +2616,32 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
1402
2616
  * @export
1403
2617
  */
1404
2618
  declare const UnboundApiFp: (configuration?: Configuration) => {
2619
+ /**
2620
+ *
2621
+ * @summary Addresses Create
2622
+ * @param {string} contactId
2623
+ * @param {AddressCreate} addressCreate
2624
+ * @param {*} [options] Override http request option.
2625
+ * @throws {RequiredError}
2626
+ */
2627
+ addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressesCreateResponse>>;
2628
+ /**
2629
+ *
2630
+ * @summary Addresses Delete
2631
+ * @param {string} addressId
2632
+ * @param {*} [options] Override http request option.
2633
+ * @throws {RequiredError}
2634
+ */
2635
+ addressesDelete(addressId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2636
+ /**
2637
+ *
2638
+ * @summary Addresses Update
2639
+ * @param {string} addressId
2640
+ * @param {AddressUpdate} addressUpdate
2641
+ * @param {*} [options] Override http request option.
2642
+ * @throws {RequiredError}
2643
+ */
2644
+ addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressesUpdateResponse>>;
1405
2645
  /**
1406
2646
  *
1407
2647
  * @summary Contacts Create
@@ -1430,11 +2670,12 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
1430
2670
  /**
1431
2671
  *
1432
2672
  * @summary Contacts List
1433
- * @param {string} [statusFilter]
2673
+ * @param {ContactType} [contactType]
2674
+ * @param {string} [searchString]
1434
2675
  * @param {*} [options] Override http request option.
1435
2676
  * @throws {RequiredError}
1436
2677
  */
1437
- contactsList(statusFilter?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseContactsListResponse>>;
2678
+ contactsList(contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseContactsListResponse>>;
1438
2679
  /**
1439
2680
  *
1440
2681
  * @summary Contacts Update
@@ -1444,6 +2685,40 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
1444
2685
  * @throws {RequiredError}
1445
2686
  */
1446
2687
  contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsUpdateResponse>>;
2688
+ /**
2689
+ *
2690
+ * @summary Emails Create
2691
+ * @param {string} contactId
2692
+ * @param {EmailCreate} emailCreate
2693
+ * @param {*} [options] Override http request option.
2694
+ * @throws {RequiredError}
2695
+ */
2696
+ emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmailsCreateResponse>>;
2697
+ /**
2698
+ *
2699
+ * @summary Emails Delete
2700
+ * @param {string} emailId
2701
+ * @param {*} [options] Override http request option.
2702
+ * @throws {RequiredError}
2703
+ */
2704
+ emailsDelete(emailId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2705
+ /**
2706
+ *
2707
+ * @summary Phones Create
2708
+ * @param {string} contactId
2709
+ * @param {PhoneCreate} phoneCreate
2710
+ * @param {*} [options] Override http request option.
2711
+ * @throws {RequiredError}
2712
+ */
2713
+ phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PhonesCreateResponse>>;
2714
+ /**
2715
+ *
2716
+ * @summary Phones Delete
2717
+ * @param {string} phoneId
2718
+ * @param {*} [options] Override http request option.
2719
+ * @throws {RequiredError}
2720
+ */
2721
+ phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1447
2722
  /**
1448
2723
  * List all contacts
1449
2724
  * @summary Reservations List
@@ -1466,6 +2741,32 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
1466
2741
  * @export
1467
2742
  */
1468
2743
  declare const UnboundApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2744
+ /**
2745
+ *
2746
+ * @summary Addresses Create
2747
+ * @param {string} contactId
2748
+ * @param {AddressCreate} addressCreate
2749
+ * @param {*} [options] Override http request option.
2750
+ * @throws {RequiredError}
2751
+ */
2752
+ addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): AxiosPromise<AddressesCreateResponse>;
2753
+ /**
2754
+ *
2755
+ * @summary Addresses Delete
2756
+ * @param {string} addressId
2757
+ * @param {*} [options] Override http request option.
2758
+ * @throws {RequiredError}
2759
+ */
2760
+ addressesDelete(addressId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2761
+ /**
2762
+ *
2763
+ * @summary Addresses Update
2764
+ * @param {string} addressId
2765
+ * @param {AddressUpdate} addressUpdate
2766
+ * @param {*} [options] Override http request option.
2767
+ * @throws {RequiredError}
2768
+ */
2769
+ addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AddressesUpdateResponse>;
1469
2770
  /**
1470
2771
  *
1471
2772
  * @summary Contacts Create
@@ -1494,11 +2795,12 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
1494
2795
  /**
1495
2796
  *
1496
2797
  * @summary Contacts List
1497
- * @param {string} [statusFilter]
2798
+ * @param {ContactType} [contactType]
2799
+ * @param {string} [searchString]
1498
2800
  * @param {*} [options] Override http request option.
1499
2801
  * @throws {RequiredError}
1500
2802
  */
1501
- contactsList(statusFilter?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseContactsListResponse>;
2803
+ contactsList(contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseContactsListResponse>;
1502
2804
  /**
1503
2805
  *
1504
2806
  * @summary Contacts Update
@@ -1508,6 +2810,40 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
1508
2810
  * @throws {RequiredError}
1509
2811
  */
1510
2812
  contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): AxiosPromise<ContactsUpdateResponse>;
2813
+ /**
2814
+ *
2815
+ * @summary Emails Create
2816
+ * @param {string} contactId
2817
+ * @param {EmailCreate} emailCreate
2818
+ * @param {*} [options] Override http request option.
2819
+ * @throws {RequiredError}
2820
+ */
2821
+ emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): AxiosPromise<EmailsCreateResponse>;
2822
+ /**
2823
+ *
2824
+ * @summary Emails Delete
2825
+ * @param {string} emailId
2826
+ * @param {*} [options] Override http request option.
2827
+ * @throws {RequiredError}
2828
+ */
2829
+ emailsDelete(emailId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2830
+ /**
2831
+ *
2832
+ * @summary Phones Create
2833
+ * @param {string} contactId
2834
+ * @param {PhoneCreate} phoneCreate
2835
+ * @param {*} [options] Override http request option.
2836
+ * @throws {RequiredError}
2837
+ */
2838
+ phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): AxiosPromise<PhonesCreateResponse>;
2839
+ /**
2840
+ *
2841
+ * @summary Phones Delete
2842
+ * @param {string} phoneId
2843
+ * @param {*} [options] Override http request option.
2844
+ * @throws {RequiredError}
2845
+ */
2846
+ phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1511
2847
  /**
1512
2848
  * List all contacts
1513
2849
  * @summary Reservations List
@@ -1532,6 +2868,35 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
1532
2868
  * @extends {BaseAPI}
1533
2869
  */
1534
2870
  declare class UnboundApi extends BaseAPI {
2871
+ /**
2872
+ *
2873
+ * @summary Addresses Create
2874
+ * @param {string} contactId
2875
+ * @param {AddressCreate} addressCreate
2876
+ * @param {*} [options] Override http request option.
2877
+ * @throws {RequiredError}
2878
+ * @memberof UnboundApi
2879
+ */
2880
+ addressesCreate(contactId: string, addressCreate: AddressCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<AddressesCreateResponse, any>>;
2881
+ /**
2882
+ *
2883
+ * @summary Addresses Delete
2884
+ * @param {string} addressId
2885
+ * @param {*} [options] Override http request option.
2886
+ * @throws {RequiredError}
2887
+ * @memberof UnboundApi
2888
+ */
2889
+ addressesDelete(addressId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
2890
+ /**
2891
+ *
2892
+ * @summary Addresses Update
2893
+ * @param {string} addressId
2894
+ * @param {AddressUpdate} addressUpdate
2895
+ * @param {*} [options] Override http request option.
2896
+ * @throws {RequiredError}
2897
+ * @memberof UnboundApi
2898
+ */
2899
+ addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<AddressesUpdateResponse, any>>;
1535
2900
  /**
1536
2901
  *
1537
2902
  * @summary Contacts Create
@@ -1563,12 +2928,13 @@ declare class UnboundApi extends BaseAPI {
1563
2928
  /**
1564
2929
  *
1565
2930
  * @summary Contacts List
1566
- * @param {string} [statusFilter]
2931
+ * @param {ContactType} [contactType]
2932
+ * @param {string} [searchString]
1567
2933
  * @param {*} [options] Override http request option.
1568
2934
  * @throws {RequiredError}
1569
2935
  * @memberof UnboundApi
1570
2936
  */
1571
- contactsList(statusFilter?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListResponseContactsListResponse, any>>;
2937
+ contactsList(contactType?: ContactType, searchString?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListResponseContactsListResponse, any>>;
1572
2938
  /**
1573
2939
  *
1574
2940
  * @summary Contacts Update
@@ -1579,6 +2945,44 @@ declare class UnboundApi extends BaseAPI {
1579
2945
  * @memberof UnboundApi
1580
2946
  */
1581
2947
  contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsUpdateResponse, any>>;
2948
+ /**
2949
+ *
2950
+ * @summary Emails Create
2951
+ * @param {string} contactId
2952
+ * @param {EmailCreate} emailCreate
2953
+ * @param {*} [options] Override http request option.
2954
+ * @throws {RequiredError}
2955
+ * @memberof UnboundApi
2956
+ */
2957
+ emailsCreate(contactId: string, emailCreate: EmailCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<EmailsCreateResponse, any>>;
2958
+ /**
2959
+ *
2960
+ * @summary Emails Delete
2961
+ * @param {string} emailId
2962
+ * @param {*} [options] Override http request option.
2963
+ * @throws {RequiredError}
2964
+ * @memberof UnboundApi
2965
+ */
2966
+ emailsDelete(emailId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
2967
+ /**
2968
+ *
2969
+ * @summary Phones Create
2970
+ * @param {string} contactId
2971
+ * @param {PhoneCreate} phoneCreate
2972
+ * @param {*} [options] Override http request option.
2973
+ * @throws {RequiredError}
2974
+ * @memberof UnboundApi
2975
+ */
2976
+ phonesCreate(contactId: string, phoneCreate: PhoneCreate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PhonesCreateResponse, any>>;
2977
+ /**
2978
+ *
2979
+ * @summary Phones Delete
2980
+ * @param {string} phoneId
2981
+ * @param {*} [options] Override http request option.
2982
+ * @throws {RequiredError}
2983
+ * @memberof UnboundApi
2984
+ */
2985
+ phonesDelete(phoneId: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
1582
2986
  /**
1583
2987
  * List all contacts
1584
2988
  * @summary Reservations List
@@ -1599,4 +3003,4 @@ declare class UnboundApi extends BaseAPI {
1599
3003
  webhook(body: object, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
1600
3004
  }
1601
3005
 
1602
- 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 ContactsUpdateResponse, type Contacttypedata, type Email, EmailSourceEnum, type GuestData, GuestDataContactTypeEnum, type HTTPValidationError, HostawayApi, HostawayApiAxiosParamCreator, HostawayApiFactory, HostawayApiFp, type ListResponseContactsListResponse, type ListResponseReservationsListResponse, type OtherData, OtherDataContactTypeEnum, type OwnerData, OwnerDataContactTypeEnum, type Phone, PhoneSourceEnum, ReservationsApi, ReservationsApiAxiosParamCreator, ReservationsApiFactory, ReservationsApiFp, type ReservationsListResponse, UnboundApi, UnboundApiAxiosParamCreator, UnboundApiFactory, UnboundApiFp };
3006
+ 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, ContactType, type ContactUpdate, ContactsApi, ContactsApiAxiosParamCreator, ContactsApiFactory, ContactsApiFp, type ContactsCreateResponse, type ContactsGetResponse, type ContactsListResponse, type ContactsUpdateResponse, type Contacttypedata, type Contacttypedata1, type Contacttypedata2, DataSource, type Email, type EmailCreate, EmailsApi, EmailsApiAxiosParamCreator, EmailsApiFactory, EmailsApiFp, type EmailsCreateResponse, 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, type PhoneCreate, PhonesApi, PhonesApiAxiosParamCreator, PhonesApiFactory, PhonesApiFp, type PhonesCreateResponse, ReservationsApi, ReservationsApiAxiosParamCreator, ReservationsApiFactory, ReservationsApiFp, type ReservationsListResponse, UnboundApi, UnboundApiAxiosParamCreator, UnboundApiFactory, UnboundApiFp };