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