@ember-home/unbound-ts-client 0.0.17 → 0.0.19
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 +447 -63
- package/dist/index.d.ts +447 -63
- package/dist/index.js +584 -117
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +518 -51
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -292,10 +292,10 @@ interface AddressItemApi {
|
|
|
292
292
|
'addressId': string;
|
|
293
293
|
/**
|
|
294
294
|
*
|
|
295
|
-
* @type {
|
|
295
|
+
* @type {string}
|
|
296
296
|
* @memberof AddressItemApi
|
|
297
297
|
*/
|
|
298
|
-
'
|
|
298
|
+
'providerId': string;
|
|
299
299
|
/**
|
|
300
300
|
*
|
|
301
301
|
* @type {string}
|
|
@@ -449,13 +449,19 @@ interface ContactCreate {
|
|
|
449
449
|
* @type {string}
|
|
450
450
|
* @memberof ContactCreate
|
|
451
451
|
*/
|
|
452
|
-
'firstName'
|
|
452
|
+
'firstName'?: string | null;
|
|
453
453
|
/**
|
|
454
454
|
*
|
|
455
455
|
* @type {string}
|
|
456
456
|
* @memberof ContactCreate
|
|
457
457
|
*/
|
|
458
|
-
'lastName'
|
|
458
|
+
'lastName'?: string | null;
|
|
459
|
+
/**
|
|
460
|
+
*
|
|
461
|
+
* @type {string}
|
|
462
|
+
* @memberof ContactCreate
|
|
463
|
+
*/
|
|
464
|
+
'company'?: string | null;
|
|
459
465
|
/**
|
|
460
466
|
*
|
|
461
467
|
* @type {string}
|
|
@@ -475,6 +481,26 @@ interface ContactCreate {
|
|
|
475
481
|
*/
|
|
476
482
|
'primaryPhone'?: string | null;
|
|
477
483
|
}
|
|
484
|
+
/**
|
|
485
|
+
*
|
|
486
|
+
* @export
|
|
487
|
+
* @enum {string}
|
|
488
|
+
*/
|
|
489
|
+
declare const ContactListingType: {
|
|
490
|
+
readonly Owner: "OWNER";
|
|
491
|
+
};
|
|
492
|
+
type ContactListingType = typeof ContactListingType[keyof typeof ContactListingType];
|
|
493
|
+
/**
|
|
494
|
+
*
|
|
495
|
+
* @export
|
|
496
|
+
* @enum {string}
|
|
497
|
+
*/
|
|
498
|
+
declare const ContactSortBy: {
|
|
499
|
+
readonly LastFirstCompany: "last_first_company";
|
|
500
|
+
readonly FirstLastCompany: "first_last_company";
|
|
501
|
+
readonly CompanyLastFirst: "company_last_first";
|
|
502
|
+
};
|
|
503
|
+
type ContactSortBy = typeof ContactSortBy[keyof typeof ContactSortBy];
|
|
478
504
|
/**
|
|
479
505
|
*
|
|
480
506
|
* @export
|
|
@@ -500,18 +526,6 @@ interface ContactTypeDataApi {
|
|
|
500
526
|
*/
|
|
501
527
|
'lead'?: LeadDataApi | null;
|
|
502
528
|
}
|
|
503
|
-
/**
|
|
504
|
-
*
|
|
505
|
-
* @export
|
|
506
|
-
* @enum {string}
|
|
507
|
-
*/
|
|
508
|
-
declare const ContactTypeFilter: {
|
|
509
|
-
readonly Guest: "guest";
|
|
510
|
-
readonly Owner: "owner";
|
|
511
|
-
readonly Lead: "lead";
|
|
512
|
-
readonly Basic: "basic";
|
|
513
|
-
};
|
|
514
|
-
type ContactTypeFilter = typeof ContactTypeFilter[keyof typeof ContactTypeFilter];
|
|
515
529
|
/**
|
|
516
530
|
*
|
|
517
531
|
* @export
|
|
@@ -553,7 +567,31 @@ interface ContactUpdate {
|
|
|
553
567
|
* @type {string}
|
|
554
568
|
* @memberof ContactUpdate
|
|
555
569
|
*/
|
|
556
|
-
'
|
|
570
|
+
'profilePicUrlRegular'?: string | null;
|
|
571
|
+
/**
|
|
572
|
+
*
|
|
573
|
+
* @type {boolean}
|
|
574
|
+
* @memberof ContactUpdate
|
|
575
|
+
*/
|
|
576
|
+
'smsMarketingIsSubscribed'?: boolean | null;
|
|
577
|
+
/**
|
|
578
|
+
*
|
|
579
|
+
* @type {string}
|
|
580
|
+
* @memberof ContactUpdate
|
|
581
|
+
*/
|
|
582
|
+
'smsMarketingConsentType'?: string | null;
|
|
583
|
+
/**
|
|
584
|
+
*
|
|
585
|
+
* @type {boolean}
|
|
586
|
+
* @memberof ContactUpdate
|
|
587
|
+
*/
|
|
588
|
+
'smsTransactionalIsSubscribed'?: boolean | null;
|
|
589
|
+
/**
|
|
590
|
+
*
|
|
591
|
+
* @type {string}
|
|
592
|
+
* @memberof ContactUpdate
|
|
593
|
+
*/
|
|
594
|
+
'smsTransactionalConsentType'?: string | null;
|
|
557
595
|
}
|
|
558
596
|
/**
|
|
559
597
|
*
|
|
@@ -602,7 +640,7 @@ interface Contacts {
|
|
|
602
640
|
* @type {string}
|
|
603
641
|
* @memberof Contacts
|
|
604
642
|
*/
|
|
605
|
-
'
|
|
643
|
+
'locale'?: string;
|
|
606
644
|
/**
|
|
607
645
|
*
|
|
608
646
|
* @type {string}
|
|
@@ -777,7 +815,7 @@ interface ContactsCreate {
|
|
|
777
815
|
* @type {string}
|
|
778
816
|
* @memberof ContactsCreate
|
|
779
817
|
*/
|
|
780
|
-
'
|
|
818
|
+
'locale'?: string;
|
|
781
819
|
/**
|
|
782
820
|
*
|
|
783
821
|
* @type {string}
|
|
@@ -952,7 +990,7 @@ interface ContactsGet {
|
|
|
952
990
|
* @type {string}
|
|
953
991
|
* @memberof ContactsGet
|
|
954
992
|
*/
|
|
955
|
-
'
|
|
993
|
+
'locale'?: string;
|
|
956
994
|
/**
|
|
957
995
|
*
|
|
958
996
|
* @type {string}
|
|
@@ -1127,7 +1165,7 @@ interface ContactsUpdate {
|
|
|
1127
1165
|
* @type {string}
|
|
1128
1166
|
* @memberof ContactsUpdate
|
|
1129
1167
|
*/
|
|
1130
|
-
'
|
|
1168
|
+
'locale'?: string;
|
|
1131
1169
|
/**
|
|
1132
1170
|
*
|
|
1133
1171
|
* @type {string}
|
|
@@ -1258,14 +1296,41 @@ interface ContactsUpdate {
|
|
|
1258
1296
|
/**
|
|
1259
1297
|
*
|
|
1260
1298
|
* @export
|
|
1261
|
-
* @
|
|
1299
|
+
* @interface CreateContactListing
|
|
1262
1300
|
*/
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1301
|
+
interface CreateContactListing {
|
|
1302
|
+
/**
|
|
1303
|
+
*
|
|
1304
|
+
* @type {ContactListingType}
|
|
1305
|
+
* @memberof CreateContactListing
|
|
1306
|
+
*/
|
|
1307
|
+
'type': ContactListingType;
|
|
1308
|
+
/**
|
|
1309
|
+
*
|
|
1310
|
+
* @type {string}
|
|
1311
|
+
* @memberof CreateContactListing
|
|
1312
|
+
*/
|
|
1313
|
+
'startDate': string;
|
|
1314
|
+
/**
|
|
1315
|
+
*
|
|
1316
|
+
* @type {string}
|
|
1317
|
+
* @memberof CreateContactListing
|
|
1318
|
+
*/
|
|
1319
|
+
'endDate'?: string | null;
|
|
1320
|
+
}
|
|
1321
|
+
/**
|
|
1322
|
+
*
|
|
1323
|
+
* @export
|
|
1324
|
+
* @interface DeleteContactListing
|
|
1325
|
+
*/
|
|
1326
|
+
interface DeleteContactListing {
|
|
1327
|
+
/**
|
|
1328
|
+
*
|
|
1329
|
+
* @type {ContactListingType}
|
|
1330
|
+
* @memberof DeleteContactListing
|
|
1331
|
+
*/
|
|
1332
|
+
'type': ContactListingType;
|
|
1333
|
+
}
|
|
1269
1334
|
/**
|
|
1270
1335
|
*
|
|
1271
1336
|
* @export
|
|
@@ -1292,10 +1357,10 @@ interface EmailApi {
|
|
|
1292
1357
|
'isPrimary': boolean;
|
|
1293
1358
|
/**
|
|
1294
1359
|
*
|
|
1295
|
-
* @type {
|
|
1360
|
+
* @type {string}
|
|
1296
1361
|
* @memberof EmailApi
|
|
1297
1362
|
*/
|
|
1298
|
-
'
|
|
1363
|
+
'providerId': string;
|
|
1299
1364
|
/**
|
|
1300
1365
|
*
|
|
1301
1366
|
* @type {string}
|
|
@@ -1348,10 +1413,10 @@ interface EmailsCreate {
|
|
|
1348
1413
|
'isPrimary': boolean;
|
|
1349
1414
|
/**
|
|
1350
1415
|
*
|
|
1351
|
-
* @type {
|
|
1416
|
+
* @type {string}
|
|
1352
1417
|
* @memberof EmailsCreate
|
|
1353
1418
|
*/
|
|
1354
|
-
'
|
|
1419
|
+
'providerId': string;
|
|
1355
1420
|
/**
|
|
1356
1421
|
*
|
|
1357
1422
|
* @type {string}
|
|
@@ -1511,7 +1576,7 @@ interface ListingsList {
|
|
|
1511
1576
|
* @type {string}
|
|
1512
1577
|
* @memberof ListingsList
|
|
1513
1578
|
*/
|
|
1514
|
-
'
|
|
1579
|
+
'providerId': string;
|
|
1515
1580
|
/**
|
|
1516
1581
|
*
|
|
1517
1582
|
* @type {string}
|
|
@@ -1574,13 +1639,35 @@ interface PaginatedResponseContacts {
|
|
|
1574
1639
|
* @memberof PaginatedResponseContacts
|
|
1575
1640
|
*/
|
|
1576
1641
|
'data': Array<Contacts>;
|
|
1642
|
+
/**
|
|
1643
|
+
*
|
|
1644
|
+
* @type {string}
|
|
1645
|
+
* @memberof PaginatedResponseContacts
|
|
1646
|
+
*/
|
|
1647
|
+
'prev_page_cursor'?: string | null;
|
|
1648
|
+
/**
|
|
1649
|
+
*
|
|
1650
|
+
* @type {string}
|
|
1651
|
+
* @memberof PaginatedResponseContacts
|
|
1652
|
+
*/
|
|
1653
|
+
'next_page_cursor'?: string | null;
|
|
1577
1654
|
/**
|
|
1578
1655
|
*
|
|
1579
1656
|
* @type {number}
|
|
1580
1657
|
* @memberof PaginatedResponseContacts
|
|
1581
1658
|
*/
|
|
1582
|
-
'total'
|
|
1659
|
+
'total'?: number;
|
|
1583
1660
|
}
|
|
1661
|
+
/**
|
|
1662
|
+
*
|
|
1663
|
+
* @export
|
|
1664
|
+
* @enum {string}
|
|
1665
|
+
*/
|
|
1666
|
+
declare const PaginationDirection: {
|
|
1667
|
+
readonly Forward: "forward";
|
|
1668
|
+
readonly Backward: "backward";
|
|
1669
|
+
};
|
|
1670
|
+
type PaginationDirection = typeof PaginationDirection[keyof typeof PaginationDirection];
|
|
1584
1671
|
/**
|
|
1585
1672
|
*
|
|
1586
1673
|
* @export
|
|
@@ -1601,10 +1688,10 @@ interface PhoneApi {
|
|
|
1601
1688
|
'phone': string;
|
|
1602
1689
|
/**
|
|
1603
1690
|
*
|
|
1604
|
-
* @type {
|
|
1691
|
+
* @type {string}
|
|
1605
1692
|
* @memberof PhoneApi
|
|
1606
1693
|
*/
|
|
1607
|
-
'
|
|
1694
|
+
'providerId': string;
|
|
1608
1695
|
/**
|
|
1609
1696
|
*
|
|
1610
1697
|
* @type {string}
|
|
@@ -1657,10 +1744,10 @@ interface PhonesCreate {
|
|
|
1657
1744
|
'phone': string;
|
|
1658
1745
|
/**
|
|
1659
1746
|
*
|
|
1660
|
-
* @type {
|
|
1747
|
+
* @type {string}
|
|
1661
1748
|
* @memberof PhonesCreate
|
|
1662
1749
|
*/
|
|
1663
|
-
'
|
|
1750
|
+
'providerId': string;
|
|
1664
1751
|
/**
|
|
1665
1752
|
*
|
|
1666
1753
|
* @type {string}
|
|
@@ -1723,6 +1810,41 @@ interface ReservationsList {
|
|
|
1723
1810
|
*/
|
|
1724
1811
|
'totalPrice': number;
|
|
1725
1812
|
}
|
|
1813
|
+
/**
|
|
1814
|
+
*
|
|
1815
|
+
* @export
|
|
1816
|
+
* @enum {string}
|
|
1817
|
+
*/
|
|
1818
|
+
declare const SortOrder: {
|
|
1819
|
+
readonly Asc: "asc";
|
|
1820
|
+
readonly Desc: "desc";
|
|
1821
|
+
};
|
|
1822
|
+
type SortOrder = typeof SortOrder[keyof typeof SortOrder];
|
|
1823
|
+
/**
|
|
1824
|
+
*
|
|
1825
|
+
* @export
|
|
1826
|
+
* @interface UpdateContactListing
|
|
1827
|
+
*/
|
|
1828
|
+
interface UpdateContactListing {
|
|
1829
|
+
/**
|
|
1830
|
+
*
|
|
1831
|
+
* @type {ContactListingType}
|
|
1832
|
+
* @memberof UpdateContactListing
|
|
1833
|
+
*/
|
|
1834
|
+
'type': ContactListingType;
|
|
1835
|
+
/**
|
|
1836
|
+
*
|
|
1837
|
+
* @type {string}
|
|
1838
|
+
* @memberof UpdateContactListing
|
|
1839
|
+
*/
|
|
1840
|
+
'startDate'?: string | null;
|
|
1841
|
+
/**
|
|
1842
|
+
*
|
|
1843
|
+
* @type {string}
|
|
1844
|
+
* @memberof UpdateContactListing
|
|
1845
|
+
*/
|
|
1846
|
+
'endDate'?: string | null;
|
|
1847
|
+
}
|
|
1726
1848
|
/**
|
|
1727
1849
|
* AddressesApi - axios parameter creator
|
|
1728
1850
|
* @export
|
|
@@ -1887,6 +2009,16 @@ declare const ContactsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
1887
2009
|
* @throws {RequiredError}
|
|
1888
2010
|
*/
|
|
1889
2011
|
addressesUpdate: (addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2012
|
+
/**
|
|
2013
|
+
* Associates a contact with a listing with the OWNER type.
|
|
2014
|
+
* @summary Create Contact Listing
|
|
2015
|
+
* @param {string} contactId
|
|
2016
|
+
* @param {string} listingId
|
|
2017
|
+
* @param {CreateContactListing} createContactListing
|
|
2018
|
+
* @param {*} [options] Override http request option.
|
|
2019
|
+
* @throws {RequiredError}
|
|
2020
|
+
*/
|
|
2021
|
+
contactsAddListing: (contactId: string, listingId: string, createContactListing: CreateContactListing, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1890
2022
|
/**
|
|
1891
2023
|
*
|
|
1892
2024
|
* @summary Contacts Create
|
|
@@ -1914,14 +2046,26 @@ declare const ContactsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
1914
2046
|
/**
|
|
1915
2047
|
*
|
|
1916
2048
|
* @summary Contacts List
|
|
1917
|
-
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
1918
2049
|
* @param {string} [searchString]
|
|
2050
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
1919
2051
|
* @param {number} [limit]
|
|
1920
|
-
* @param {
|
|
2052
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2053
|
+
* @param {ContactSortBy} [sortBy] Sort key
|
|
2054
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2055
|
+
* @param {*} [options] Override http request option.
|
|
2056
|
+
* @throws {RequiredError}
|
|
2057
|
+
*/
|
|
2058
|
+
contactsList: (searchString?: string, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: ContactSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2059
|
+
/**
|
|
2060
|
+
* Removes an association between a contact and a listing.
|
|
2061
|
+
* @summary Delete Contact Listing
|
|
2062
|
+
* @param {string} contactId
|
|
2063
|
+
* @param {string} listingId
|
|
2064
|
+
* @param {DeleteContactListing} deleteContactListing
|
|
1921
2065
|
* @param {*} [options] Override http request option.
|
|
1922
2066
|
* @throws {RequiredError}
|
|
1923
2067
|
*/
|
|
1924
|
-
|
|
2068
|
+
contactsRemoveListing: (contactId: string, listingId: string, deleteContactListing: DeleteContactListing, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1925
2069
|
/**
|
|
1926
2070
|
*
|
|
1927
2071
|
* @summary Contacts Update
|
|
@@ -1931,6 +2075,16 @@ declare const ContactsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
1931
2075
|
* @throws {RequiredError}
|
|
1932
2076
|
*/
|
|
1933
2077
|
contactsUpdate: (contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2078
|
+
/**
|
|
2079
|
+
* Updates an association between a contact and a listing.
|
|
2080
|
+
* @summary Update Contact Listing
|
|
2081
|
+
* @param {string} contactId
|
|
2082
|
+
* @param {string} listingId
|
|
2083
|
+
* @param {UpdateContactListing} updateContactListing
|
|
2084
|
+
* @param {*} [options] Override http request option.
|
|
2085
|
+
* @throws {RequiredError}
|
|
2086
|
+
*/
|
|
2087
|
+
contactsUpdateListing: (contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1934
2088
|
/**
|
|
1935
2089
|
*
|
|
1936
2090
|
* @summary Emails Create
|
|
@@ -1997,6 +2151,16 @@ declare const ContactsApiFp: (configuration?: Configuration) => {
|
|
|
1997
2151
|
* @throws {RequiredError}
|
|
1998
2152
|
*/
|
|
1999
2153
|
addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressesUpdate>>;
|
|
2154
|
+
/**
|
|
2155
|
+
* Associates a contact with a listing with the OWNER type.
|
|
2156
|
+
* @summary Create Contact Listing
|
|
2157
|
+
* @param {string} contactId
|
|
2158
|
+
* @param {string} listingId
|
|
2159
|
+
* @param {CreateContactListing} createContactListing
|
|
2160
|
+
* @param {*} [options] Override http request option.
|
|
2161
|
+
* @throws {RequiredError}
|
|
2162
|
+
*/
|
|
2163
|
+
contactsAddListing(contactId: string, listingId: string, createContactListing: CreateContactListing, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2000
2164
|
/**
|
|
2001
2165
|
*
|
|
2002
2166
|
* @summary Contacts Create
|
|
@@ -2024,14 +2188,26 @@ declare const ContactsApiFp: (configuration?: Configuration) => {
|
|
|
2024
2188
|
/**
|
|
2025
2189
|
*
|
|
2026
2190
|
* @summary Contacts List
|
|
2027
|
-
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2028
2191
|
* @param {string} [searchString]
|
|
2192
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2029
2193
|
* @param {number} [limit]
|
|
2030
|
-
* @param {
|
|
2194
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2195
|
+
* @param {ContactSortBy} [sortBy] Sort key
|
|
2196
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2197
|
+
* @param {*} [options] Override http request option.
|
|
2198
|
+
* @throws {RequiredError}
|
|
2199
|
+
*/
|
|
2200
|
+
contactsList(searchString?: string, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: ContactSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResponseContacts>>;
|
|
2201
|
+
/**
|
|
2202
|
+
* Removes an association between a contact and a listing.
|
|
2203
|
+
* @summary Delete Contact Listing
|
|
2204
|
+
* @param {string} contactId
|
|
2205
|
+
* @param {string} listingId
|
|
2206
|
+
* @param {DeleteContactListing} deleteContactListing
|
|
2031
2207
|
* @param {*} [options] Override http request option.
|
|
2032
2208
|
* @throws {RequiredError}
|
|
2033
2209
|
*/
|
|
2034
|
-
|
|
2210
|
+
contactsRemoveListing(contactId: string, listingId: string, deleteContactListing: DeleteContactListing, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2035
2211
|
/**
|
|
2036
2212
|
*
|
|
2037
2213
|
* @summary Contacts Update
|
|
@@ -2041,6 +2217,16 @@ declare const ContactsApiFp: (configuration?: Configuration) => {
|
|
|
2041
2217
|
* @throws {RequiredError}
|
|
2042
2218
|
*/
|
|
2043
2219
|
contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsUpdate>>;
|
|
2220
|
+
/**
|
|
2221
|
+
* Updates an association between a contact and a listing.
|
|
2222
|
+
* @summary Update Contact Listing
|
|
2223
|
+
* @param {string} contactId
|
|
2224
|
+
* @param {string} listingId
|
|
2225
|
+
* @param {UpdateContactListing} updateContactListing
|
|
2226
|
+
* @param {*} [options] Override http request option.
|
|
2227
|
+
* @throws {RequiredError}
|
|
2228
|
+
*/
|
|
2229
|
+
contactsUpdateListing(contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2044
2230
|
/**
|
|
2045
2231
|
*
|
|
2046
2232
|
* @summary Emails Create
|
|
@@ -2107,6 +2293,16 @@ declare const ContactsApiFactory: (configuration?: Configuration, basePath?: str
|
|
|
2107
2293
|
* @throws {RequiredError}
|
|
2108
2294
|
*/
|
|
2109
2295
|
addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AddressesUpdate>;
|
|
2296
|
+
/**
|
|
2297
|
+
* Associates a contact with a listing with the OWNER type.
|
|
2298
|
+
* @summary Create Contact Listing
|
|
2299
|
+
* @param {string} contactId
|
|
2300
|
+
* @param {string} listingId
|
|
2301
|
+
* @param {CreateContactListing} createContactListing
|
|
2302
|
+
* @param {*} [options] Override http request option.
|
|
2303
|
+
* @throws {RequiredError}
|
|
2304
|
+
*/
|
|
2305
|
+
contactsAddListing(contactId: string, listingId: string, createContactListing: CreateContactListing, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2110
2306
|
/**
|
|
2111
2307
|
*
|
|
2112
2308
|
* @summary Contacts Create
|
|
@@ -2134,14 +2330,26 @@ declare const ContactsApiFactory: (configuration?: Configuration, basePath?: str
|
|
|
2134
2330
|
/**
|
|
2135
2331
|
*
|
|
2136
2332
|
* @summary Contacts List
|
|
2137
|
-
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2138
2333
|
* @param {string} [searchString]
|
|
2334
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2139
2335
|
* @param {number} [limit]
|
|
2140
|
-
* @param {
|
|
2336
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2337
|
+
* @param {ContactSortBy} [sortBy] Sort key
|
|
2338
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2339
|
+
* @param {*} [options] Override http request option.
|
|
2340
|
+
* @throws {RequiredError}
|
|
2341
|
+
*/
|
|
2342
|
+
contactsList(searchString?: string, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: ContactSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedResponseContacts>;
|
|
2343
|
+
/**
|
|
2344
|
+
* Removes an association between a contact and a listing.
|
|
2345
|
+
* @summary Delete Contact Listing
|
|
2346
|
+
* @param {string} contactId
|
|
2347
|
+
* @param {string} listingId
|
|
2348
|
+
* @param {DeleteContactListing} deleteContactListing
|
|
2141
2349
|
* @param {*} [options] Override http request option.
|
|
2142
2350
|
* @throws {RequiredError}
|
|
2143
2351
|
*/
|
|
2144
|
-
|
|
2352
|
+
contactsRemoveListing(contactId: string, listingId: string, deleteContactListing: DeleteContactListing, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2145
2353
|
/**
|
|
2146
2354
|
*
|
|
2147
2355
|
* @summary Contacts Update
|
|
@@ -2151,6 +2359,16 @@ declare const ContactsApiFactory: (configuration?: Configuration, basePath?: str
|
|
|
2151
2359
|
* @throws {RequiredError}
|
|
2152
2360
|
*/
|
|
2153
2361
|
contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): AxiosPromise<ContactsUpdate>;
|
|
2362
|
+
/**
|
|
2363
|
+
* Updates an association between a contact and a listing.
|
|
2364
|
+
* @summary Update Contact Listing
|
|
2365
|
+
* @param {string} contactId
|
|
2366
|
+
* @param {string} listingId
|
|
2367
|
+
* @param {UpdateContactListing} updateContactListing
|
|
2368
|
+
* @param {*} [options] Override http request option.
|
|
2369
|
+
* @throws {RequiredError}
|
|
2370
|
+
*/
|
|
2371
|
+
contactsUpdateListing(contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2154
2372
|
/**
|
|
2155
2373
|
*
|
|
2156
2374
|
* @summary Emails Create
|
|
@@ -2222,6 +2440,17 @@ declare class ContactsApi extends BaseAPI {
|
|
|
2222
2440
|
* @memberof ContactsApi
|
|
2223
2441
|
*/
|
|
2224
2442
|
addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<AddressesUpdate, any>>;
|
|
2443
|
+
/**
|
|
2444
|
+
* Associates a contact with a listing with the OWNER type.
|
|
2445
|
+
* @summary Create Contact Listing
|
|
2446
|
+
* @param {string} contactId
|
|
2447
|
+
* @param {string} listingId
|
|
2448
|
+
* @param {CreateContactListing} createContactListing
|
|
2449
|
+
* @param {*} [options] Override http request option.
|
|
2450
|
+
* @throws {RequiredError}
|
|
2451
|
+
* @memberof ContactsApi
|
|
2452
|
+
*/
|
|
2453
|
+
contactsAddListing(contactId: string, listingId: string, createContactListing: CreateContactListing, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
2225
2454
|
/**
|
|
2226
2455
|
*
|
|
2227
2456
|
* @summary Contacts Create
|
|
@@ -2252,15 +2481,28 @@ declare class ContactsApi extends BaseAPI {
|
|
|
2252
2481
|
/**
|
|
2253
2482
|
*
|
|
2254
2483
|
* @summary Contacts List
|
|
2255
|
-
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2256
2484
|
* @param {string} [searchString]
|
|
2485
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2257
2486
|
* @param {number} [limit]
|
|
2258
|
-
* @param {
|
|
2487
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2488
|
+
* @param {ContactSortBy} [sortBy] Sort key
|
|
2489
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2259
2490
|
* @param {*} [options] Override http request option.
|
|
2260
2491
|
* @throws {RequiredError}
|
|
2261
2492
|
* @memberof ContactsApi
|
|
2262
2493
|
*/
|
|
2263
|
-
contactsList(
|
|
2494
|
+
contactsList(searchString?: string, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: ContactSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PaginatedResponseContacts, any>>;
|
|
2495
|
+
/**
|
|
2496
|
+
* Removes an association between a contact and a listing.
|
|
2497
|
+
* @summary Delete Contact Listing
|
|
2498
|
+
* @param {string} contactId
|
|
2499
|
+
* @param {string} listingId
|
|
2500
|
+
* @param {DeleteContactListing} deleteContactListing
|
|
2501
|
+
* @param {*} [options] Override http request option.
|
|
2502
|
+
* @throws {RequiredError}
|
|
2503
|
+
* @memberof ContactsApi
|
|
2504
|
+
*/
|
|
2505
|
+
contactsRemoveListing(contactId: string, listingId: string, deleteContactListing: DeleteContactListing, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
2264
2506
|
/**
|
|
2265
2507
|
*
|
|
2266
2508
|
* @summary Contacts Update
|
|
@@ -2271,6 +2513,17 @@ declare class ContactsApi extends BaseAPI {
|
|
|
2271
2513
|
* @memberof ContactsApi
|
|
2272
2514
|
*/
|
|
2273
2515
|
contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsUpdate, any>>;
|
|
2516
|
+
/**
|
|
2517
|
+
* Updates an association between a contact and a listing.
|
|
2518
|
+
* @summary Update Contact Listing
|
|
2519
|
+
* @param {string} contactId
|
|
2520
|
+
* @param {string} listingId
|
|
2521
|
+
* @param {UpdateContactListing} updateContactListing
|
|
2522
|
+
* @param {*} [options] Override http request option.
|
|
2523
|
+
* @throws {RequiredError}
|
|
2524
|
+
* @memberof ContactsApi
|
|
2525
|
+
*/
|
|
2526
|
+
contactsUpdateListing(contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
2274
2527
|
/**
|
|
2275
2528
|
*
|
|
2276
2529
|
* @summary Emails Create
|
|
@@ -2769,6 +3022,16 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
2769
3022
|
* @throws {RequiredError}
|
|
2770
3023
|
*/
|
|
2771
3024
|
addressesUpdate: (addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3025
|
+
/**
|
|
3026
|
+
* Associates a contact with a listing with the OWNER type.
|
|
3027
|
+
* @summary Create Contact Listing
|
|
3028
|
+
* @param {string} contactId
|
|
3029
|
+
* @param {string} listingId
|
|
3030
|
+
* @param {CreateContactListing} createContactListing
|
|
3031
|
+
* @param {*} [options] Override http request option.
|
|
3032
|
+
* @throws {RequiredError}
|
|
3033
|
+
*/
|
|
3034
|
+
contactsAddListing: (contactId: string, listingId: string, createContactListing: CreateContactListing, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2772
3035
|
/**
|
|
2773
3036
|
*
|
|
2774
3037
|
* @summary Contacts Create
|
|
@@ -2796,14 +3059,26 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
2796
3059
|
/**
|
|
2797
3060
|
*
|
|
2798
3061
|
* @summary Contacts List
|
|
2799
|
-
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2800
3062
|
* @param {string} [searchString]
|
|
3063
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2801
3064
|
* @param {number} [limit]
|
|
2802
|
-
* @param {
|
|
3065
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
3066
|
+
* @param {ContactSortBy} [sortBy] Sort key
|
|
3067
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3068
|
+
* @param {*} [options] Override http request option.
|
|
3069
|
+
* @throws {RequiredError}
|
|
3070
|
+
*/
|
|
3071
|
+
contactsList: (searchString?: string, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: ContactSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3072
|
+
/**
|
|
3073
|
+
* Removes an association between a contact and a listing.
|
|
3074
|
+
* @summary Delete Contact Listing
|
|
3075
|
+
* @param {string} contactId
|
|
3076
|
+
* @param {string} listingId
|
|
3077
|
+
* @param {DeleteContactListing} deleteContactListing
|
|
2803
3078
|
* @param {*} [options] Override http request option.
|
|
2804
3079
|
* @throws {RequiredError}
|
|
2805
3080
|
*/
|
|
2806
|
-
|
|
3081
|
+
contactsRemoveListing: (contactId: string, listingId: string, deleteContactListing: DeleteContactListing, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2807
3082
|
/**
|
|
2808
3083
|
*
|
|
2809
3084
|
* @summary Contacts Update
|
|
@@ -2813,6 +3088,16 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
|
2813
3088
|
* @throws {RequiredError}
|
|
2814
3089
|
*/
|
|
2815
3090
|
contactsUpdate: (contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3091
|
+
/**
|
|
3092
|
+
* Updates an association between a contact and a listing.
|
|
3093
|
+
* @summary Update Contact Listing
|
|
3094
|
+
* @param {string} contactId
|
|
3095
|
+
* @param {string} listingId
|
|
3096
|
+
* @param {UpdateContactListing} updateContactListing
|
|
3097
|
+
* @param {*} [options] Override http request option.
|
|
3098
|
+
* @throws {RequiredError}
|
|
3099
|
+
*/
|
|
3100
|
+
contactsUpdateListing: (contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2816
3101
|
/**
|
|
2817
3102
|
*
|
|
2818
3103
|
* @summary Emails Create
|
|
@@ -2911,6 +3196,16 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
|
2911
3196
|
* @throws {RequiredError}
|
|
2912
3197
|
*/
|
|
2913
3198
|
addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressesUpdate>>;
|
|
3199
|
+
/**
|
|
3200
|
+
* Associates a contact with a listing with the OWNER type.
|
|
3201
|
+
* @summary Create Contact Listing
|
|
3202
|
+
* @param {string} contactId
|
|
3203
|
+
* @param {string} listingId
|
|
3204
|
+
* @param {CreateContactListing} createContactListing
|
|
3205
|
+
* @param {*} [options] Override http request option.
|
|
3206
|
+
* @throws {RequiredError}
|
|
3207
|
+
*/
|
|
3208
|
+
contactsAddListing(contactId: string, listingId: string, createContactListing: CreateContactListing, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2914
3209
|
/**
|
|
2915
3210
|
*
|
|
2916
3211
|
* @summary Contacts Create
|
|
@@ -2938,14 +3233,26 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
|
2938
3233
|
/**
|
|
2939
3234
|
*
|
|
2940
3235
|
* @summary Contacts List
|
|
2941
|
-
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
2942
3236
|
* @param {string} [searchString]
|
|
3237
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2943
3238
|
* @param {number} [limit]
|
|
2944
|
-
* @param {
|
|
3239
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
3240
|
+
* @param {ContactSortBy} [sortBy] Sort key
|
|
3241
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3242
|
+
* @param {*} [options] Override http request option.
|
|
3243
|
+
* @throws {RequiredError}
|
|
3244
|
+
*/
|
|
3245
|
+
contactsList(searchString?: string, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: ContactSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResponseContacts>>;
|
|
3246
|
+
/**
|
|
3247
|
+
* Removes an association between a contact and a listing.
|
|
3248
|
+
* @summary Delete Contact Listing
|
|
3249
|
+
* @param {string} contactId
|
|
3250
|
+
* @param {string} listingId
|
|
3251
|
+
* @param {DeleteContactListing} deleteContactListing
|
|
2945
3252
|
* @param {*} [options] Override http request option.
|
|
2946
3253
|
* @throws {RequiredError}
|
|
2947
3254
|
*/
|
|
2948
|
-
|
|
3255
|
+
contactsRemoveListing(contactId: string, listingId: string, deleteContactListing: DeleteContactListing, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2949
3256
|
/**
|
|
2950
3257
|
*
|
|
2951
3258
|
* @summary Contacts Update
|
|
@@ -2955,6 +3262,16 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
|
|
|
2955
3262
|
* @throws {RequiredError}
|
|
2956
3263
|
*/
|
|
2957
3264
|
contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsUpdate>>;
|
|
3265
|
+
/**
|
|
3266
|
+
* Updates an association between a contact and a listing.
|
|
3267
|
+
* @summary Update Contact Listing
|
|
3268
|
+
* @param {string} contactId
|
|
3269
|
+
* @param {string} listingId
|
|
3270
|
+
* @param {UpdateContactListing} updateContactListing
|
|
3271
|
+
* @param {*} [options] Override http request option.
|
|
3272
|
+
* @throws {RequiredError}
|
|
3273
|
+
*/
|
|
3274
|
+
contactsUpdateListing(contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2958
3275
|
/**
|
|
2959
3276
|
*
|
|
2960
3277
|
* @summary Emails Create
|
|
@@ -3053,6 +3370,16 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
3053
3370
|
* @throws {RequiredError}
|
|
3054
3371
|
*/
|
|
3055
3372
|
addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AddressesUpdate>;
|
|
3373
|
+
/**
|
|
3374
|
+
* Associates a contact with a listing with the OWNER type.
|
|
3375
|
+
* @summary Create Contact Listing
|
|
3376
|
+
* @param {string} contactId
|
|
3377
|
+
* @param {string} listingId
|
|
3378
|
+
* @param {CreateContactListing} createContactListing
|
|
3379
|
+
* @param {*} [options] Override http request option.
|
|
3380
|
+
* @throws {RequiredError}
|
|
3381
|
+
*/
|
|
3382
|
+
contactsAddListing(contactId: string, listingId: string, createContactListing: CreateContactListing, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3056
3383
|
/**
|
|
3057
3384
|
*
|
|
3058
3385
|
* @summary Contacts Create
|
|
@@ -3080,14 +3407,26 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
3080
3407
|
/**
|
|
3081
3408
|
*
|
|
3082
3409
|
* @summary Contacts List
|
|
3083
|
-
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
3084
3410
|
* @param {string} [searchString]
|
|
3411
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
3085
3412
|
* @param {number} [limit]
|
|
3086
|
-
* @param {
|
|
3413
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
3414
|
+
* @param {ContactSortBy} [sortBy] Sort key
|
|
3415
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3416
|
+
* @param {*} [options] Override http request option.
|
|
3417
|
+
* @throws {RequiredError}
|
|
3418
|
+
*/
|
|
3419
|
+
contactsList(searchString?: string, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: ContactSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedResponseContacts>;
|
|
3420
|
+
/**
|
|
3421
|
+
* Removes an association between a contact and a listing.
|
|
3422
|
+
* @summary Delete Contact Listing
|
|
3423
|
+
* @param {string} contactId
|
|
3424
|
+
* @param {string} listingId
|
|
3425
|
+
* @param {DeleteContactListing} deleteContactListing
|
|
3087
3426
|
* @param {*} [options] Override http request option.
|
|
3088
3427
|
* @throws {RequiredError}
|
|
3089
3428
|
*/
|
|
3090
|
-
|
|
3429
|
+
contactsRemoveListing(contactId: string, listingId: string, deleteContactListing: DeleteContactListing, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3091
3430
|
/**
|
|
3092
3431
|
*
|
|
3093
3432
|
* @summary Contacts Update
|
|
@@ -3097,6 +3436,16 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
|
|
|
3097
3436
|
* @throws {RequiredError}
|
|
3098
3437
|
*/
|
|
3099
3438
|
contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): AxiosPromise<ContactsUpdate>;
|
|
3439
|
+
/**
|
|
3440
|
+
* Updates an association between a contact and a listing.
|
|
3441
|
+
* @summary Update Contact Listing
|
|
3442
|
+
* @param {string} contactId
|
|
3443
|
+
* @param {string} listingId
|
|
3444
|
+
* @param {UpdateContactListing} updateContactListing
|
|
3445
|
+
* @param {*} [options] Override http request option.
|
|
3446
|
+
* @throws {RequiredError}
|
|
3447
|
+
*/
|
|
3448
|
+
contactsUpdateListing(contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3100
3449
|
/**
|
|
3101
3450
|
*
|
|
3102
3451
|
* @summary Emails Create
|
|
@@ -3200,6 +3549,17 @@ declare class UnboundApi extends BaseAPI {
|
|
|
3200
3549
|
* @memberof UnboundApi
|
|
3201
3550
|
*/
|
|
3202
3551
|
addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<AddressesUpdate, any>>;
|
|
3552
|
+
/**
|
|
3553
|
+
* Associates a contact with a listing with the OWNER type.
|
|
3554
|
+
* @summary Create Contact Listing
|
|
3555
|
+
* @param {string} contactId
|
|
3556
|
+
* @param {string} listingId
|
|
3557
|
+
* @param {CreateContactListing} createContactListing
|
|
3558
|
+
* @param {*} [options] Override http request option.
|
|
3559
|
+
* @throws {RequiredError}
|
|
3560
|
+
* @memberof UnboundApi
|
|
3561
|
+
*/
|
|
3562
|
+
contactsAddListing(contactId: string, listingId: string, createContactListing: CreateContactListing, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
3203
3563
|
/**
|
|
3204
3564
|
*
|
|
3205
3565
|
* @summary Contacts Create
|
|
@@ -3230,15 +3590,28 @@ declare class UnboundApi extends BaseAPI {
|
|
|
3230
3590
|
/**
|
|
3231
3591
|
*
|
|
3232
3592
|
* @summary Contacts List
|
|
3233
|
-
* @param {Array<ContactTypeFilter>} [contactTypes]
|
|
3234
3593
|
* @param {string} [searchString]
|
|
3594
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
3235
3595
|
* @param {number} [limit]
|
|
3236
|
-
* @param {
|
|
3596
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
3597
|
+
* @param {ContactSortBy} [sortBy] Sort key
|
|
3598
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3237
3599
|
* @param {*} [options] Override http request option.
|
|
3238
3600
|
* @throws {RequiredError}
|
|
3239
3601
|
* @memberof UnboundApi
|
|
3240
3602
|
*/
|
|
3241
|
-
contactsList(
|
|
3603
|
+
contactsList(searchString?: string, cursor?: string | null, limit?: number, pageDir?: PaginationDirection, sortBy?: ContactSortBy, sortOrder?: SortOrder, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PaginatedResponseContacts, any>>;
|
|
3604
|
+
/**
|
|
3605
|
+
* Removes an association between a contact and a listing.
|
|
3606
|
+
* @summary Delete Contact Listing
|
|
3607
|
+
* @param {string} contactId
|
|
3608
|
+
* @param {string} listingId
|
|
3609
|
+
* @param {DeleteContactListing} deleteContactListing
|
|
3610
|
+
* @param {*} [options] Override http request option.
|
|
3611
|
+
* @throws {RequiredError}
|
|
3612
|
+
* @memberof UnboundApi
|
|
3613
|
+
*/
|
|
3614
|
+
contactsRemoveListing(contactId: string, listingId: string, deleteContactListing: DeleteContactListing, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
3242
3615
|
/**
|
|
3243
3616
|
*
|
|
3244
3617
|
* @summary Contacts Update
|
|
@@ -3249,6 +3622,17 @@ declare class UnboundApi extends BaseAPI {
|
|
|
3249
3622
|
* @memberof UnboundApi
|
|
3250
3623
|
*/
|
|
3251
3624
|
contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsUpdate, any>>;
|
|
3625
|
+
/**
|
|
3626
|
+
* Updates an association between a contact and a listing.
|
|
3627
|
+
* @summary Update Contact Listing
|
|
3628
|
+
* @param {string} contactId
|
|
3629
|
+
* @param {string} listingId
|
|
3630
|
+
* @param {UpdateContactListing} updateContactListing
|
|
3631
|
+
* @param {*} [options] Override http request option.
|
|
3632
|
+
* @throws {RequiredError}
|
|
3633
|
+
* @memberof UnboundApi
|
|
3634
|
+
*/
|
|
3635
|
+
contactsUpdateListing(contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
3252
3636
|
/**
|
|
3253
3637
|
*
|
|
3254
3638
|
* @summary Emails Create
|
|
@@ -3325,4 +3709,4 @@ declare class UnboundApi extends BaseAPI {
|
|
|
3325
3709
|
webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
|
|
3326
3710
|
}
|
|
3327
3711
|
|
|
3328
|
-
export { type APIValidationError, type APIValidationErrorLocInner, type AddressApi, type AddressCreate, type AddressItemApi, type AddressUpdate, AddressesApi, AddressesApiAxiosParamCreator, AddressesApiFactory, AddressesApiFp, type AddressesCreate, type AddressesUpdate, Configuration, type ConfigurationParameters, type ContactCreate, type ContactTypeDataApi,
|
|
3712
|
+
export { type APIValidationError, type APIValidationErrorLocInner, type AddressApi, type AddressCreate, type AddressItemApi, type AddressUpdate, AddressesApi, AddressesApiAxiosParamCreator, AddressesApiFactory, AddressesApiFp, type AddressesCreate, type AddressesUpdate, Configuration, type ConfigurationParameters, type ContactCreate, ContactListingType, ContactSortBy, type ContactTypeDataApi, type ContactUpdate, type Contacts, ContactsApi, ContactsApiAxiosParamCreator, ContactsApiFactory, ContactsApiFp, type ContactsCreate, type ContactsGet, type ContactsUpdate, type CreateContactListing, type DeleteContactListing, type EmailApi, type EmailCreate, EmailsApi, EmailsApiAxiosParamCreator, EmailsApiFactory, EmailsApiFp, type EmailsCreate, type GuestDataApi, type HTTPValidationError, HostawayApi, HostawayApiAxiosParamCreator, HostawayApiFactory, HostawayApiFp, type HostawayWebhook, InquiriesApi, InquiriesApiAxiosParamCreator, InquiriesApiFactory, InquiriesApiFp, type LeadDataApi, type ListResponseInquiriesList, type ListResponseListingsList, type ListResponseReservationsList, ListingsApi, ListingsApiAxiosParamCreator, ListingsApiFactory, ListingsApiFp, type ListingsList, type OwnerDataApi, type PaginatedResponseContacts, PaginationDirection, type PhoneApi, type PhoneCreate, PhonesApi, PhonesApiAxiosParamCreator, PhonesApiFactory, PhonesApiFp, type PhonesCreate, ReservationsApi, ReservationsApiAxiosParamCreator, ReservationsApiFactory, ReservationsApiFp, type ReservationsList, SortOrder, UnboundApi, UnboundApiAxiosParamCreator, UnboundApiFactory, UnboundApiFp, type UpdateContactListing };
|