@ember-home/unbound-ts-client 0.0.17 → 0.0.18

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
@@ -292,10 +292,10 @@ interface AddressItemApi {
292
292
  'addressId': string;
293
293
  /**
294
294
  *
295
- * @type {DataSource}
295
+ * @type {string}
296
296
  * @memberof AddressItemApi
297
297
  */
298
- 'dataSource': DataSource;
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': string;
452
+ 'firstName'?: string | null;
453
453
  /**
454
454
  *
455
455
  * @type {string}
456
456
  * @memberof ContactCreate
457
457
  */
458
- 'lastName': string;
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,15 @@ 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];
478
493
  /**
479
494
  *
480
495
  * @export
@@ -500,18 +515,6 @@ interface ContactTypeDataApi {
500
515
  */
501
516
  'lead'?: LeadDataApi | null;
502
517
  }
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
518
  /**
516
519
  *
517
520
  * @export
@@ -553,7 +556,31 @@ interface ContactUpdate {
553
556
  * @type {string}
554
557
  * @memberof ContactUpdate
555
558
  */
556
- 'profilePicUrl'?: string | null;
559
+ 'profilePicUrlRegular'?: string | null;
560
+ /**
561
+ *
562
+ * @type {boolean}
563
+ * @memberof ContactUpdate
564
+ */
565
+ 'smsMarketingIsSubscribed'?: boolean | null;
566
+ /**
567
+ *
568
+ * @type {string}
569
+ * @memberof ContactUpdate
570
+ */
571
+ 'smsMarketingConsentType'?: string | null;
572
+ /**
573
+ *
574
+ * @type {boolean}
575
+ * @memberof ContactUpdate
576
+ */
577
+ 'smsTransactionalIsSubscribed'?: boolean | null;
578
+ /**
579
+ *
580
+ * @type {string}
581
+ * @memberof ContactUpdate
582
+ */
583
+ 'smsTransactionalConsentType'?: string | null;
557
584
  }
558
585
  /**
559
586
  *
@@ -1258,14 +1285,41 @@ interface ContactsUpdate {
1258
1285
  /**
1259
1286
  *
1260
1287
  * @export
1261
- * @enum {string}
1288
+ * @interface CreateContactListing
1262
1289
  */
1263
- declare const DataSource: {
1264
- readonly Hostaway: "HOSTAWAY";
1265
- readonly Guesty: "GUESTY";
1266
- readonly Manual: "MANUAL";
1267
- };
1268
- type DataSource = typeof DataSource[keyof typeof DataSource];
1290
+ interface CreateContactListing {
1291
+ /**
1292
+ *
1293
+ * @type {ContactListingType}
1294
+ * @memberof CreateContactListing
1295
+ */
1296
+ 'type': ContactListingType;
1297
+ /**
1298
+ *
1299
+ * @type {string}
1300
+ * @memberof CreateContactListing
1301
+ */
1302
+ 'startDate': string;
1303
+ /**
1304
+ *
1305
+ * @type {string}
1306
+ * @memberof CreateContactListing
1307
+ */
1308
+ 'endDate'?: string | null;
1309
+ }
1310
+ /**
1311
+ *
1312
+ * @export
1313
+ * @interface DeleteContactListing
1314
+ */
1315
+ interface DeleteContactListing {
1316
+ /**
1317
+ *
1318
+ * @type {ContactListingType}
1319
+ * @memberof DeleteContactListing
1320
+ */
1321
+ 'type': ContactListingType;
1322
+ }
1269
1323
  /**
1270
1324
  *
1271
1325
  * @export
@@ -1292,10 +1346,10 @@ interface EmailApi {
1292
1346
  'isPrimary': boolean;
1293
1347
  /**
1294
1348
  *
1295
- * @type {DataSource}
1349
+ * @type {string}
1296
1350
  * @memberof EmailApi
1297
1351
  */
1298
- 'dataSource': DataSource;
1352
+ 'providerId': string;
1299
1353
  /**
1300
1354
  *
1301
1355
  * @type {string}
@@ -1348,10 +1402,10 @@ interface EmailsCreate {
1348
1402
  'isPrimary': boolean;
1349
1403
  /**
1350
1404
  *
1351
- * @type {DataSource}
1405
+ * @type {string}
1352
1406
  * @memberof EmailsCreate
1353
1407
  */
1354
- 'dataSource': DataSource;
1408
+ 'providerId': string;
1355
1409
  /**
1356
1410
  *
1357
1411
  * @type {string}
@@ -1511,7 +1565,7 @@ interface ListingsList {
1511
1565
  * @type {string}
1512
1566
  * @memberof ListingsList
1513
1567
  */
1514
- 'dataSource': string;
1568
+ 'providerId': string;
1515
1569
  /**
1516
1570
  *
1517
1571
  * @type {string}
@@ -1574,12 +1628,24 @@ interface PaginatedResponseContacts {
1574
1628
  * @memberof PaginatedResponseContacts
1575
1629
  */
1576
1630
  'data': Array<Contacts>;
1631
+ /**
1632
+ *
1633
+ * @type {string}
1634
+ * @memberof PaginatedResponseContacts
1635
+ */
1636
+ 'prev_page_cursor'?: string | null;
1637
+ /**
1638
+ *
1639
+ * @type {string}
1640
+ * @memberof PaginatedResponseContacts
1641
+ */
1642
+ 'next_page_cursor'?: string | null;
1577
1643
  /**
1578
1644
  *
1579
1645
  * @type {number}
1580
1646
  * @memberof PaginatedResponseContacts
1581
1647
  */
1582
- 'total': number;
1648
+ 'total'?: number;
1583
1649
  }
1584
1650
  /**
1585
1651
  *
@@ -1601,10 +1667,10 @@ interface PhoneApi {
1601
1667
  'phone': string;
1602
1668
  /**
1603
1669
  *
1604
- * @type {DataSource}
1670
+ * @type {string}
1605
1671
  * @memberof PhoneApi
1606
1672
  */
1607
- 'dataSource': DataSource;
1673
+ 'providerId': string;
1608
1674
  /**
1609
1675
  *
1610
1676
  * @type {string}
@@ -1657,10 +1723,10 @@ interface PhonesCreate {
1657
1723
  'phone': string;
1658
1724
  /**
1659
1725
  *
1660
- * @type {DataSource}
1726
+ * @type {string}
1661
1727
  * @memberof PhonesCreate
1662
1728
  */
1663
- 'dataSource': DataSource;
1729
+ 'providerId': string;
1664
1730
  /**
1665
1731
  *
1666
1732
  * @type {string}
@@ -1723,6 +1789,31 @@ interface ReservationsList {
1723
1789
  */
1724
1790
  'totalPrice': number;
1725
1791
  }
1792
+ /**
1793
+ *
1794
+ * @export
1795
+ * @interface UpdateContactListing
1796
+ */
1797
+ interface UpdateContactListing {
1798
+ /**
1799
+ *
1800
+ * @type {ContactListingType}
1801
+ * @memberof UpdateContactListing
1802
+ */
1803
+ 'type': ContactListingType;
1804
+ /**
1805
+ *
1806
+ * @type {string}
1807
+ * @memberof UpdateContactListing
1808
+ */
1809
+ 'startDate'?: string | null;
1810
+ /**
1811
+ *
1812
+ * @type {string}
1813
+ * @memberof UpdateContactListing
1814
+ */
1815
+ 'endDate'?: string | null;
1816
+ }
1726
1817
  /**
1727
1818
  * AddressesApi - axios parameter creator
1728
1819
  * @export
@@ -1887,6 +1978,16 @@ declare const ContactsApiAxiosParamCreator: (configuration?: Configuration) => {
1887
1978
  * @throws {RequiredError}
1888
1979
  */
1889
1980
  addressesUpdate: (addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1981
+ /**
1982
+ * Associates a contact with a listing with the OWNER type.
1983
+ * @summary Create Contact Listing
1984
+ * @param {string} contactId
1985
+ * @param {string} listingId
1986
+ * @param {CreateContactListing} createContactListing
1987
+ * @param {*} [options] Override http request option.
1988
+ * @throws {RequiredError}
1989
+ */
1990
+ contactsAddListing: (contactId: string, listingId: string, createContactListing: CreateContactListing, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1890
1991
  /**
1891
1992
  *
1892
1993
  * @summary Contacts Create
@@ -1914,14 +2015,23 @@ declare const ContactsApiAxiosParamCreator: (configuration?: Configuration) => {
1914
2015
  /**
1915
2016
  *
1916
2017
  * @summary Contacts List
1917
- * @param {Array<ContactTypeFilter>} [contactTypes]
1918
2018
  * @param {string} [searchString]
2019
+ * @param {string | null} [after] Cursor for keyset paging
1919
2020
  * @param {number} [limit]
1920
- * @param {number} [offset]
1921
2021
  * @param {*} [options] Override http request option.
1922
2022
  * @throws {RequiredError}
1923
2023
  */
1924
- contactsList: (contactTypes?: Array<ContactTypeFilter>, searchString?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2024
+ contactsList: (searchString?: string, after?: string | null, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2025
+ /**
2026
+ * Removes an association between a contact and a listing.
2027
+ * @summary Delete Contact Listing
2028
+ * @param {string} contactId
2029
+ * @param {string} listingId
2030
+ * @param {DeleteContactListing} deleteContactListing
2031
+ * @param {*} [options] Override http request option.
2032
+ * @throws {RequiredError}
2033
+ */
2034
+ contactsRemoveListing: (contactId: string, listingId: string, deleteContactListing: DeleteContactListing, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1925
2035
  /**
1926
2036
  *
1927
2037
  * @summary Contacts Update
@@ -1931,6 +2041,16 @@ declare const ContactsApiAxiosParamCreator: (configuration?: Configuration) => {
1931
2041
  * @throws {RequiredError}
1932
2042
  */
1933
2043
  contactsUpdate: (contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2044
+ /**
2045
+ * Updates an association between a contact and a listing.
2046
+ * @summary Update Contact Listing
2047
+ * @param {string} contactId
2048
+ * @param {string} listingId
2049
+ * @param {UpdateContactListing} updateContactListing
2050
+ * @param {*} [options] Override http request option.
2051
+ * @throws {RequiredError}
2052
+ */
2053
+ contactsUpdateListing: (contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1934
2054
  /**
1935
2055
  *
1936
2056
  * @summary Emails Create
@@ -1997,6 +2117,16 @@ declare const ContactsApiFp: (configuration?: Configuration) => {
1997
2117
  * @throws {RequiredError}
1998
2118
  */
1999
2119
  addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressesUpdate>>;
2120
+ /**
2121
+ * Associates a contact with a listing with the OWNER type.
2122
+ * @summary Create Contact Listing
2123
+ * @param {string} contactId
2124
+ * @param {string} listingId
2125
+ * @param {CreateContactListing} createContactListing
2126
+ * @param {*} [options] Override http request option.
2127
+ * @throws {RequiredError}
2128
+ */
2129
+ contactsAddListing(contactId: string, listingId: string, createContactListing: CreateContactListing, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2000
2130
  /**
2001
2131
  *
2002
2132
  * @summary Contacts Create
@@ -2024,14 +2154,23 @@ declare const ContactsApiFp: (configuration?: Configuration) => {
2024
2154
  /**
2025
2155
  *
2026
2156
  * @summary Contacts List
2027
- * @param {Array<ContactTypeFilter>} [contactTypes]
2028
2157
  * @param {string} [searchString]
2158
+ * @param {string | null} [after] Cursor for keyset paging
2029
2159
  * @param {number} [limit]
2030
- * @param {number} [offset]
2031
2160
  * @param {*} [options] Override http request option.
2032
2161
  * @throws {RequiredError}
2033
2162
  */
2034
- contactsList(contactTypes?: Array<ContactTypeFilter>, searchString?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResponseContacts>>;
2163
+ contactsList(searchString?: string, after?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResponseContacts>>;
2164
+ /**
2165
+ * Removes an association between a contact and a listing.
2166
+ * @summary Delete Contact Listing
2167
+ * @param {string} contactId
2168
+ * @param {string} listingId
2169
+ * @param {DeleteContactListing} deleteContactListing
2170
+ * @param {*} [options] Override http request option.
2171
+ * @throws {RequiredError}
2172
+ */
2173
+ contactsRemoveListing(contactId: string, listingId: string, deleteContactListing: DeleteContactListing, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2035
2174
  /**
2036
2175
  *
2037
2176
  * @summary Contacts Update
@@ -2041,6 +2180,16 @@ declare const ContactsApiFp: (configuration?: Configuration) => {
2041
2180
  * @throws {RequiredError}
2042
2181
  */
2043
2182
  contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsUpdate>>;
2183
+ /**
2184
+ * Updates an association between a contact and a listing.
2185
+ * @summary Update Contact Listing
2186
+ * @param {string} contactId
2187
+ * @param {string} listingId
2188
+ * @param {UpdateContactListing} updateContactListing
2189
+ * @param {*} [options] Override http request option.
2190
+ * @throws {RequiredError}
2191
+ */
2192
+ contactsUpdateListing(contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2044
2193
  /**
2045
2194
  *
2046
2195
  * @summary Emails Create
@@ -2107,6 +2256,16 @@ declare const ContactsApiFactory: (configuration?: Configuration, basePath?: str
2107
2256
  * @throws {RequiredError}
2108
2257
  */
2109
2258
  addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AddressesUpdate>;
2259
+ /**
2260
+ * Associates a contact with a listing with the OWNER type.
2261
+ * @summary Create Contact Listing
2262
+ * @param {string} contactId
2263
+ * @param {string} listingId
2264
+ * @param {CreateContactListing} createContactListing
2265
+ * @param {*} [options] Override http request option.
2266
+ * @throws {RequiredError}
2267
+ */
2268
+ contactsAddListing(contactId: string, listingId: string, createContactListing: CreateContactListing, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2110
2269
  /**
2111
2270
  *
2112
2271
  * @summary Contacts Create
@@ -2134,14 +2293,23 @@ declare const ContactsApiFactory: (configuration?: Configuration, basePath?: str
2134
2293
  /**
2135
2294
  *
2136
2295
  * @summary Contacts List
2137
- * @param {Array<ContactTypeFilter>} [contactTypes]
2138
2296
  * @param {string} [searchString]
2297
+ * @param {string | null} [after] Cursor for keyset paging
2139
2298
  * @param {number} [limit]
2140
- * @param {number} [offset]
2141
2299
  * @param {*} [options] Override http request option.
2142
2300
  * @throws {RequiredError}
2143
2301
  */
2144
- contactsList(contactTypes?: Array<ContactTypeFilter>, searchString?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedResponseContacts>;
2302
+ contactsList(searchString?: string, after?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedResponseContacts>;
2303
+ /**
2304
+ * Removes an association between a contact and a listing.
2305
+ * @summary Delete Contact Listing
2306
+ * @param {string} contactId
2307
+ * @param {string} listingId
2308
+ * @param {DeleteContactListing} deleteContactListing
2309
+ * @param {*} [options] Override http request option.
2310
+ * @throws {RequiredError}
2311
+ */
2312
+ contactsRemoveListing(contactId: string, listingId: string, deleteContactListing: DeleteContactListing, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2145
2313
  /**
2146
2314
  *
2147
2315
  * @summary Contacts Update
@@ -2151,6 +2319,16 @@ declare const ContactsApiFactory: (configuration?: Configuration, basePath?: str
2151
2319
  * @throws {RequiredError}
2152
2320
  */
2153
2321
  contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): AxiosPromise<ContactsUpdate>;
2322
+ /**
2323
+ * Updates an association between a contact and a listing.
2324
+ * @summary Update Contact Listing
2325
+ * @param {string} contactId
2326
+ * @param {string} listingId
2327
+ * @param {UpdateContactListing} updateContactListing
2328
+ * @param {*} [options] Override http request option.
2329
+ * @throws {RequiredError}
2330
+ */
2331
+ contactsUpdateListing(contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2154
2332
  /**
2155
2333
  *
2156
2334
  * @summary Emails Create
@@ -2222,6 +2400,17 @@ declare class ContactsApi extends BaseAPI {
2222
2400
  * @memberof ContactsApi
2223
2401
  */
2224
2402
  addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<AddressesUpdate, any>>;
2403
+ /**
2404
+ * Associates a contact with a listing with the OWNER type.
2405
+ * @summary Create Contact Listing
2406
+ * @param {string} contactId
2407
+ * @param {string} listingId
2408
+ * @param {CreateContactListing} createContactListing
2409
+ * @param {*} [options] Override http request option.
2410
+ * @throws {RequiredError}
2411
+ * @memberof ContactsApi
2412
+ */
2413
+ contactsAddListing(contactId: string, listingId: string, createContactListing: CreateContactListing, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
2225
2414
  /**
2226
2415
  *
2227
2416
  * @summary Contacts Create
@@ -2252,15 +2441,25 @@ declare class ContactsApi extends BaseAPI {
2252
2441
  /**
2253
2442
  *
2254
2443
  * @summary Contacts List
2255
- * @param {Array<ContactTypeFilter>} [contactTypes]
2256
2444
  * @param {string} [searchString]
2445
+ * @param {string | null} [after] Cursor for keyset paging
2257
2446
  * @param {number} [limit]
2258
- * @param {number} [offset]
2259
2447
  * @param {*} [options] Override http request option.
2260
2448
  * @throws {RequiredError}
2261
2449
  * @memberof ContactsApi
2262
2450
  */
2263
- contactsList(contactTypes?: Array<ContactTypeFilter>, searchString?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PaginatedResponseContacts, any>>;
2451
+ contactsList(searchString?: string, after?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PaginatedResponseContacts, any>>;
2452
+ /**
2453
+ * Removes an association between a contact and a listing.
2454
+ * @summary Delete Contact Listing
2455
+ * @param {string} contactId
2456
+ * @param {string} listingId
2457
+ * @param {DeleteContactListing} deleteContactListing
2458
+ * @param {*} [options] Override http request option.
2459
+ * @throws {RequiredError}
2460
+ * @memberof ContactsApi
2461
+ */
2462
+ contactsRemoveListing(contactId: string, listingId: string, deleteContactListing: DeleteContactListing, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
2264
2463
  /**
2265
2464
  *
2266
2465
  * @summary Contacts Update
@@ -2271,6 +2470,17 @@ declare class ContactsApi extends BaseAPI {
2271
2470
  * @memberof ContactsApi
2272
2471
  */
2273
2472
  contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsUpdate, any>>;
2473
+ /**
2474
+ * Updates an association between a contact and a listing.
2475
+ * @summary Update Contact Listing
2476
+ * @param {string} contactId
2477
+ * @param {string} listingId
2478
+ * @param {UpdateContactListing} updateContactListing
2479
+ * @param {*} [options] Override http request option.
2480
+ * @throws {RequiredError}
2481
+ * @memberof ContactsApi
2482
+ */
2483
+ contactsUpdateListing(contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
2274
2484
  /**
2275
2485
  *
2276
2486
  * @summary Emails Create
@@ -2532,11 +2742,10 @@ declare const ListingsApiAxiosParamCreator: (configuration?: Configuration) => {
2532
2742
  /**
2533
2743
  * List all listings
2534
2744
  * @summary Listings List
2535
- * @param {string} [contactId]
2536
2745
  * @param {*} [options] Override http request option.
2537
2746
  * @throws {RequiredError}
2538
2747
  */
2539
- listingsList: (contactId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2748
+ listingsList: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2540
2749
  };
2541
2750
  /**
2542
2751
  * ListingsApi - functional programming interface
@@ -2546,11 +2755,10 @@ declare const ListingsApiFp: (configuration?: Configuration) => {
2546
2755
  /**
2547
2756
  * List all listings
2548
2757
  * @summary Listings List
2549
- * @param {string} [contactId]
2550
2758
  * @param {*} [options] Override http request option.
2551
2759
  * @throws {RequiredError}
2552
2760
  */
2553
- listingsList(contactId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseListingsList>>;
2761
+ listingsList(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseListingsList>>;
2554
2762
  };
2555
2763
  /**
2556
2764
  * ListingsApi - factory interface
@@ -2560,11 +2768,10 @@ declare const ListingsApiFactory: (configuration?: Configuration, basePath?: str
2560
2768
  /**
2561
2769
  * List all listings
2562
2770
  * @summary Listings List
2563
- * @param {string} [contactId]
2564
2771
  * @param {*} [options] Override http request option.
2565
2772
  * @throws {RequiredError}
2566
2773
  */
2567
- listingsList(contactId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseListingsList>;
2774
+ listingsList(options?: RawAxiosRequestConfig): AxiosPromise<ListResponseListingsList>;
2568
2775
  };
2569
2776
  /**
2570
2777
  * ListingsApi - object-oriented interface
@@ -2576,12 +2783,11 @@ declare class ListingsApi extends BaseAPI {
2576
2783
  /**
2577
2784
  * List all listings
2578
2785
  * @summary Listings List
2579
- * @param {string} [contactId]
2580
2786
  * @param {*} [options] Override http request option.
2581
2787
  * @throws {RequiredError}
2582
2788
  * @memberof ListingsApi
2583
2789
  */
2584
- listingsList(contactId?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListResponseListingsList, any>>;
2790
+ listingsList(options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListResponseListingsList, any>>;
2585
2791
  }
2586
2792
  /**
2587
2793
  * PhonesApi - axios parameter creator
@@ -2769,6 +2975,16 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
2769
2975
  * @throws {RequiredError}
2770
2976
  */
2771
2977
  addressesUpdate: (addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2978
+ /**
2979
+ * Associates a contact with a listing with the OWNER type.
2980
+ * @summary Create Contact Listing
2981
+ * @param {string} contactId
2982
+ * @param {string} listingId
2983
+ * @param {CreateContactListing} createContactListing
2984
+ * @param {*} [options] Override http request option.
2985
+ * @throws {RequiredError}
2986
+ */
2987
+ contactsAddListing: (contactId: string, listingId: string, createContactListing: CreateContactListing, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2772
2988
  /**
2773
2989
  *
2774
2990
  * @summary Contacts Create
@@ -2796,14 +3012,23 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
2796
3012
  /**
2797
3013
  *
2798
3014
  * @summary Contacts List
2799
- * @param {Array<ContactTypeFilter>} [contactTypes]
2800
3015
  * @param {string} [searchString]
3016
+ * @param {string | null} [after] Cursor for keyset paging
2801
3017
  * @param {number} [limit]
2802
- * @param {number} [offset]
2803
3018
  * @param {*} [options] Override http request option.
2804
3019
  * @throws {RequiredError}
2805
3020
  */
2806
- contactsList: (contactTypes?: Array<ContactTypeFilter>, searchString?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3021
+ contactsList: (searchString?: string, after?: string | null, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3022
+ /**
3023
+ * Removes an association between a contact and a listing.
3024
+ * @summary Delete Contact Listing
3025
+ * @param {string} contactId
3026
+ * @param {string} listingId
3027
+ * @param {DeleteContactListing} deleteContactListing
3028
+ * @param {*} [options] Override http request option.
3029
+ * @throws {RequiredError}
3030
+ */
3031
+ contactsRemoveListing: (contactId: string, listingId: string, deleteContactListing: DeleteContactListing, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2807
3032
  /**
2808
3033
  *
2809
3034
  * @summary Contacts Update
@@ -2813,6 +3038,16 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
2813
3038
  * @throws {RequiredError}
2814
3039
  */
2815
3040
  contactsUpdate: (contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3041
+ /**
3042
+ * Updates an association between a contact and a listing.
3043
+ * @summary Update Contact Listing
3044
+ * @param {string} contactId
3045
+ * @param {string} listingId
3046
+ * @param {UpdateContactListing} updateContactListing
3047
+ * @param {*} [options] Override http request option.
3048
+ * @throws {RequiredError}
3049
+ */
3050
+ contactsUpdateListing: (contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2816
3051
  /**
2817
3052
  *
2818
3053
  * @summary Emails Create
@@ -2841,11 +3076,10 @@ declare const UnboundApiAxiosParamCreator: (configuration?: Configuration) => {
2841
3076
  /**
2842
3077
  * List all listings
2843
3078
  * @summary Listings List
2844
- * @param {string} [contactId]
2845
3079
  * @param {*} [options] Override http request option.
2846
3080
  * @throws {RequiredError}
2847
3081
  */
2848
- listingsList: (contactId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3082
+ listingsList: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2849
3083
  /**
2850
3084
  *
2851
3085
  * @summary Phones Create
@@ -2911,6 +3145,16 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
2911
3145
  * @throws {RequiredError}
2912
3146
  */
2913
3147
  addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddressesUpdate>>;
3148
+ /**
3149
+ * Associates a contact with a listing with the OWNER type.
3150
+ * @summary Create Contact Listing
3151
+ * @param {string} contactId
3152
+ * @param {string} listingId
3153
+ * @param {CreateContactListing} createContactListing
3154
+ * @param {*} [options] Override http request option.
3155
+ * @throws {RequiredError}
3156
+ */
3157
+ contactsAddListing(contactId: string, listingId: string, createContactListing: CreateContactListing, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2914
3158
  /**
2915
3159
  *
2916
3160
  * @summary Contacts Create
@@ -2938,14 +3182,23 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
2938
3182
  /**
2939
3183
  *
2940
3184
  * @summary Contacts List
2941
- * @param {Array<ContactTypeFilter>} [contactTypes]
2942
3185
  * @param {string} [searchString]
3186
+ * @param {string | null} [after] Cursor for keyset paging
2943
3187
  * @param {number} [limit]
2944
- * @param {number} [offset]
2945
3188
  * @param {*} [options] Override http request option.
2946
3189
  * @throws {RequiredError}
2947
3190
  */
2948
- contactsList(contactTypes?: Array<ContactTypeFilter>, searchString?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResponseContacts>>;
3191
+ contactsList(searchString?: string, after?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedResponseContacts>>;
3192
+ /**
3193
+ * Removes an association between a contact and a listing.
3194
+ * @summary Delete Contact Listing
3195
+ * @param {string} contactId
3196
+ * @param {string} listingId
3197
+ * @param {DeleteContactListing} deleteContactListing
3198
+ * @param {*} [options] Override http request option.
3199
+ * @throws {RequiredError}
3200
+ */
3201
+ contactsRemoveListing(contactId: string, listingId: string, deleteContactListing: DeleteContactListing, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2949
3202
  /**
2950
3203
  *
2951
3204
  * @summary Contacts Update
@@ -2955,6 +3208,16 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
2955
3208
  * @throws {RequiredError}
2956
3209
  */
2957
3210
  contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContactsUpdate>>;
3211
+ /**
3212
+ * Updates an association between a contact and a listing.
3213
+ * @summary Update Contact Listing
3214
+ * @param {string} contactId
3215
+ * @param {string} listingId
3216
+ * @param {UpdateContactListing} updateContactListing
3217
+ * @param {*} [options] Override http request option.
3218
+ * @throws {RequiredError}
3219
+ */
3220
+ contactsUpdateListing(contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
2958
3221
  /**
2959
3222
  *
2960
3223
  * @summary Emails Create
@@ -2983,11 +3246,10 @@ declare const UnboundApiFp: (configuration?: Configuration) => {
2983
3246
  /**
2984
3247
  * List all listings
2985
3248
  * @summary Listings List
2986
- * @param {string} [contactId]
2987
3249
  * @param {*} [options] Override http request option.
2988
3250
  * @throws {RequiredError}
2989
3251
  */
2990
- listingsList(contactId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseListingsList>>;
3252
+ listingsList(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListResponseListingsList>>;
2991
3253
  /**
2992
3254
  *
2993
3255
  * @summary Phones Create
@@ -3053,6 +3315,16 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
3053
3315
  * @throws {RequiredError}
3054
3316
  */
3055
3317
  addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AddressesUpdate>;
3318
+ /**
3319
+ * Associates a contact with a listing with the OWNER type.
3320
+ * @summary Create Contact Listing
3321
+ * @param {string} contactId
3322
+ * @param {string} listingId
3323
+ * @param {CreateContactListing} createContactListing
3324
+ * @param {*} [options] Override http request option.
3325
+ * @throws {RequiredError}
3326
+ */
3327
+ contactsAddListing(contactId: string, listingId: string, createContactListing: CreateContactListing, options?: RawAxiosRequestConfig): AxiosPromise<void>;
3056
3328
  /**
3057
3329
  *
3058
3330
  * @summary Contacts Create
@@ -3080,14 +3352,23 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
3080
3352
  /**
3081
3353
  *
3082
3354
  * @summary Contacts List
3083
- * @param {Array<ContactTypeFilter>} [contactTypes]
3084
3355
  * @param {string} [searchString]
3356
+ * @param {string | null} [after] Cursor for keyset paging
3085
3357
  * @param {number} [limit]
3086
- * @param {number} [offset]
3087
3358
  * @param {*} [options] Override http request option.
3088
3359
  * @throws {RequiredError}
3089
3360
  */
3090
- contactsList(contactTypes?: Array<ContactTypeFilter>, searchString?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedResponseContacts>;
3361
+ contactsList(searchString?: string, after?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<PaginatedResponseContacts>;
3362
+ /**
3363
+ * Removes an association between a contact and a listing.
3364
+ * @summary Delete Contact Listing
3365
+ * @param {string} contactId
3366
+ * @param {string} listingId
3367
+ * @param {DeleteContactListing} deleteContactListing
3368
+ * @param {*} [options] Override http request option.
3369
+ * @throws {RequiredError}
3370
+ */
3371
+ contactsRemoveListing(contactId: string, listingId: string, deleteContactListing: DeleteContactListing, options?: RawAxiosRequestConfig): AxiosPromise<void>;
3091
3372
  /**
3092
3373
  *
3093
3374
  * @summary Contacts Update
@@ -3097,6 +3378,16 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
3097
3378
  * @throws {RequiredError}
3098
3379
  */
3099
3380
  contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): AxiosPromise<ContactsUpdate>;
3381
+ /**
3382
+ * Updates an association between a contact and a listing.
3383
+ * @summary Update Contact Listing
3384
+ * @param {string} contactId
3385
+ * @param {string} listingId
3386
+ * @param {UpdateContactListing} updateContactListing
3387
+ * @param {*} [options] Override http request option.
3388
+ * @throws {RequiredError}
3389
+ */
3390
+ contactsUpdateListing(contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig): AxiosPromise<void>;
3100
3391
  /**
3101
3392
  *
3102
3393
  * @summary Emails Create
@@ -3125,11 +3416,10 @@ declare const UnboundApiFactory: (configuration?: Configuration, basePath?: stri
3125
3416
  /**
3126
3417
  * List all listings
3127
3418
  * @summary Listings List
3128
- * @param {string} [contactId]
3129
3419
  * @param {*} [options] Override http request option.
3130
3420
  * @throws {RequiredError}
3131
3421
  */
3132
- listingsList(contactId?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListResponseListingsList>;
3422
+ listingsList(options?: RawAxiosRequestConfig): AxiosPromise<ListResponseListingsList>;
3133
3423
  /**
3134
3424
  *
3135
3425
  * @summary Phones Create
@@ -3200,6 +3490,17 @@ declare class UnboundApi extends BaseAPI {
3200
3490
  * @memberof UnboundApi
3201
3491
  */
3202
3492
  addressesUpdate(addressId: string, addressUpdate: AddressUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<AddressesUpdate, any>>;
3493
+ /**
3494
+ * Associates a contact with a listing with the OWNER type.
3495
+ * @summary Create Contact Listing
3496
+ * @param {string} contactId
3497
+ * @param {string} listingId
3498
+ * @param {CreateContactListing} createContactListing
3499
+ * @param {*} [options] Override http request option.
3500
+ * @throws {RequiredError}
3501
+ * @memberof UnboundApi
3502
+ */
3503
+ contactsAddListing(contactId: string, listingId: string, createContactListing: CreateContactListing, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
3203
3504
  /**
3204
3505
  *
3205
3506
  * @summary Contacts Create
@@ -3230,15 +3531,25 @@ declare class UnboundApi extends BaseAPI {
3230
3531
  /**
3231
3532
  *
3232
3533
  * @summary Contacts List
3233
- * @param {Array<ContactTypeFilter>} [contactTypes]
3234
3534
  * @param {string} [searchString]
3535
+ * @param {string | null} [after] Cursor for keyset paging
3235
3536
  * @param {number} [limit]
3236
- * @param {number} [offset]
3237
3537
  * @param {*} [options] Override http request option.
3238
3538
  * @throws {RequiredError}
3239
3539
  * @memberof UnboundApi
3240
3540
  */
3241
- contactsList(contactTypes?: Array<ContactTypeFilter>, searchString?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PaginatedResponseContacts, any>>;
3541
+ contactsList(searchString?: string, after?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<PaginatedResponseContacts, any>>;
3542
+ /**
3543
+ * Removes an association between a contact and a listing.
3544
+ * @summary Delete Contact Listing
3545
+ * @param {string} contactId
3546
+ * @param {string} listingId
3547
+ * @param {DeleteContactListing} deleteContactListing
3548
+ * @param {*} [options] Override http request option.
3549
+ * @throws {RequiredError}
3550
+ * @memberof UnboundApi
3551
+ */
3552
+ contactsRemoveListing(contactId: string, listingId: string, deleteContactListing: DeleteContactListing, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
3242
3553
  /**
3243
3554
  *
3244
3555
  * @summary Contacts Update
@@ -3249,6 +3560,17 @@ declare class UnboundApi extends BaseAPI {
3249
3560
  * @memberof UnboundApi
3250
3561
  */
3251
3562
  contactsUpdate(contactId: string, contactUpdate: ContactUpdate, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ContactsUpdate, any>>;
3563
+ /**
3564
+ * Updates an association between a contact and a listing.
3565
+ * @summary Update Contact Listing
3566
+ * @param {string} contactId
3567
+ * @param {string} listingId
3568
+ * @param {UpdateContactListing} updateContactListing
3569
+ * @param {*} [options] Override http request option.
3570
+ * @throws {RequiredError}
3571
+ * @memberof UnboundApi
3572
+ */
3573
+ contactsUpdateListing(contactId: string, listingId: string, updateContactListing: UpdateContactListing, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
3252
3574
  /**
3253
3575
  *
3254
3576
  * @summary Emails Create
@@ -3280,12 +3602,11 @@ declare class UnboundApi extends BaseAPI {
3280
3602
  /**
3281
3603
  * List all listings
3282
3604
  * @summary Listings List
3283
- * @param {string} [contactId]
3284
3605
  * @param {*} [options] Override http request option.
3285
3606
  * @throws {RequiredError}
3286
3607
  * @memberof UnboundApi
3287
3608
  */
3288
- listingsList(contactId?: string, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListResponseListingsList, any>>;
3609
+ listingsList(options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ListResponseListingsList, any>>;
3289
3610
  /**
3290
3611
  *
3291
3612
  * @summary Phones Create
@@ -3325,4 +3646,4 @@ declare class UnboundApi extends BaseAPI {
3325
3646
  webhook(hostawayWebhook: HostawayWebhook, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<any, any>>;
3326
3647
  }
3327
3648
 
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, ContactTypeFilter, type ContactUpdate, type Contacts, ContactsApi, ContactsApiAxiosParamCreator, ContactsApiFactory, ContactsApiFp, type ContactsCreate, type ContactsGet, type ContactsUpdate, DataSource, 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, type PhoneApi, type PhoneCreate, PhonesApi, PhonesApiAxiosParamCreator, PhonesApiFactory, PhonesApiFp, type PhonesCreate, ReservationsApi, ReservationsApiAxiosParamCreator, ReservationsApiFactory, ReservationsApiFp, type ReservationsList, UnboundApi, UnboundApiAxiosParamCreator, UnboundApiFactory, UnboundApiFp };
3649
+ 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, 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, type PhoneApi, type PhoneCreate, PhonesApi, PhonesApiAxiosParamCreator, PhonesApiFactory, PhonesApiFp, type PhonesCreate, ReservationsApi, ReservationsApiAxiosParamCreator, ReservationsApiFactory, ReservationsApiFp, type ReservationsList, UnboundApi, UnboundApiAxiosParamCreator, UnboundApiFactory, UnboundApiFp, type UpdateContactListing };