@ember-home/unbound-ts-client 0.0.16 → 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.mjs CHANGED
@@ -75,16 +75,8 @@ var createRequestFunction = function(axiosArgs, globalAxios3, BASE_PATH2, config
75
75
  };
76
76
 
77
77
  // src/api.ts
78
- var ContactTypeFilter = {
79
- Guest: "guest",
80
- Owner: "owner",
81
- Lead: "lead",
82
- Basic: "basic"
83
- };
84
- var DataSource = {
85
- Hostaway: "HOSTAWAY",
86
- Guesty: "GUESTY",
87
- Manual: "MANUAL"
78
+ var ContactListingType = {
79
+ Owner: "OWNER"
88
80
  };
89
81
  var AddressesApiAxiosParamCreator = function(configuration) {
90
82
  return {
@@ -384,6 +376,38 @@ var ContactsApiAxiosParamCreator = function(configuration) {
384
376
  options: localVarRequestOptions
385
377
  };
386
378
  },
379
+ /**
380
+ * Associates a contact with a listing with the OWNER type.
381
+ * @summary Create Contact Listing
382
+ * @param {string} contactId
383
+ * @param {string} listingId
384
+ * @param {CreateContactListing} createContactListing
385
+ * @param {*} [options] Override http request option.
386
+ * @throws {RequiredError}
387
+ */
388
+ contactsAddListing: async (contactId, listingId, createContactListing, options = {}) => {
389
+ assertParamExists("contactsAddListing", "contactId", contactId);
390
+ assertParamExists("contactsAddListing", "listingId", listingId);
391
+ assertParamExists("contactsAddListing", "createContactListing", createContactListing);
392
+ const localVarPath = `/contacts/{contact_id}/listings/{listing_id}`.replace(`{${"contact_id"}}`, encodeURIComponent(String(contactId))).replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId)));
393
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
394
+ let baseOptions;
395
+ if (configuration) {
396
+ baseOptions = configuration.baseOptions;
397
+ }
398
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
399
+ const localVarHeaderParameter = {};
400
+ const localVarQueryParameter = {};
401
+ localVarHeaderParameter["Content-Type"] = "application/json";
402
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
403
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
404
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
405
+ localVarRequestOptions.data = serializeDataIfNeeded(createContactListing, localVarRequestOptions, configuration);
406
+ return {
407
+ url: toPathString(localVarUrlObj),
408
+ options: localVarRequestOptions
409
+ };
410
+ },
387
411
  /**
388
412
  *
389
413
  * @summary Contacts Create
@@ -467,12 +491,13 @@ var ContactsApiAxiosParamCreator = function(configuration) {
467
491
  /**
468
492
  *
469
493
  * @summary Contacts List
470
- * @param {Array<ContactTypeFilter>} [contactTypes]
471
494
  * @param {string} [searchString]
495
+ * @param {string | null} [after] Cursor for keyset paging
496
+ * @param {number} [limit]
472
497
  * @param {*} [options] Override http request option.
473
498
  * @throws {RequiredError}
474
499
  */
475
- contactsList: async (contactTypes, searchString, options = {}) => {
500
+ contactsList: async (searchString, after, limit, options = {}) => {
476
501
  const localVarPath = `/contacts`;
477
502
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
478
503
  let baseOptions;
@@ -482,15 +507,50 @@ var ContactsApiAxiosParamCreator = function(configuration) {
482
507
  const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
483
508
  const localVarHeaderParameter = {};
484
509
  const localVarQueryParameter = {};
485
- if (contactTypes) {
486
- localVarQueryParameter["contactTypes"] = contactTypes;
487
- }
488
510
  if (searchString !== void 0) {
489
511
  localVarQueryParameter["searchString"] = searchString;
490
512
  }
513
+ if (after !== void 0) {
514
+ localVarQueryParameter["after"] = after;
515
+ }
516
+ if (limit !== void 0) {
517
+ localVarQueryParameter["limit"] = limit;
518
+ }
519
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
520
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
521
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
522
+ return {
523
+ url: toPathString(localVarUrlObj),
524
+ options: localVarRequestOptions
525
+ };
526
+ },
527
+ /**
528
+ * Removes an association between a contact and a listing.
529
+ * @summary Delete Contact Listing
530
+ * @param {string} contactId
531
+ * @param {string} listingId
532
+ * @param {DeleteContactListing} deleteContactListing
533
+ * @param {*} [options] Override http request option.
534
+ * @throws {RequiredError}
535
+ */
536
+ contactsRemoveListing: async (contactId, listingId, deleteContactListing, options = {}) => {
537
+ assertParamExists("contactsRemoveListing", "contactId", contactId);
538
+ assertParamExists("contactsRemoveListing", "listingId", listingId);
539
+ assertParamExists("contactsRemoveListing", "deleteContactListing", deleteContactListing);
540
+ const localVarPath = `/contacts/{contact_id}/listings/{listing_id}`.replace(`{${"contact_id"}}`, encodeURIComponent(String(contactId))).replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId)));
541
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
542
+ let baseOptions;
543
+ if (configuration) {
544
+ baseOptions = configuration.baseOptions;
545
+ }
546
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
547
+ const localVarHeaderParameter = {};
548
+ const localVarQueryParameter = {};
549
+ localVarHeaderParameter["Content-Type"] = "application/json";
491
550
  setSearchParams(localVarUrlObj, localVarQueryParameter);
492
551
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
493
552
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
553
+ localVarRequestOptions.data = serializeDataIfNeeded(deleteContactListing, localVarRequestOptions, configuration);
494
554
  return {
495
555
  url: toPathString(localVarUrlObj),
496
556
  options: localVarRequestOptions
@@ -526,6 +586,38 @@ var ContactsApiAxiosParamCreator = function(configuration) {
526
586
  options: localVarRequestOptions
527
587
  };
528
588
  },
589
+ /**
590
+ * Updates an association between a contact and a listing.
591
+ * @summary Update Contact Listing
592
+ * @param {string} contactId
593
+ * @param {string} listingId
594
+ * @param {UpdateContactListing} updateContactListing
595
+ * @param {*} [options] Override http request option.
596
+ * @throws {RequiredError}
597
+ */
598
+ contactsUpdateListing: async (contactId, listingId, updateContactListing, options = {}) => {
599
+ assertParamExists("contactsUpdateListing", "contactId", contactId);
600
+ assertParamExists("contactsUpdateListing", "listingId", listingId);
601
+ assertParamExists("contactsUpdateListing", "updateContactListing", updateContactListing);
602
+ const localVarPath = `/contacts/{contact_id}/listings/{listing_id}`.replace(`{${"contact_id"}}`, encodeURIComponent(String(contactId))).replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId)));
603
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
604
+ let baseOptions;
605
+ if (configuration) {
606
+ baseOptions = configuration.baseOptions;
607
+ }
608
+ const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
609
+ const localVarHeaderParameter = {};
610
+ const localVarQueryParameter = {};
611
+ localVarHeaderParameter["Content-Type"] = "application/json";
612
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
613
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
614
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
615
+ localVarRequestOptions.data = serializeDataIfNeeded(updateContactListing, localVarRequestOptions, configuration);
616
+ return {
617
+ url: toPathString(localVarUrlObj),
618
+ options: localVarRequestOptions
619
+ };
620
+ },
529
621
  /**
530
622
  *
531
623
  * @summary Emails Create
@@ -684,6 +776,21 @@ var ContactsApiFp = function(configuration) {
684
776
  const localVarOperationServerBasePath = operationServerMap["ContactsApi.addressesUpdate"]?.[localVarOperationServerIndex]?.url;
685
777
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
686
778
  },
779
+ /**
780
+ * Associates a contact with a listing with the OWNER type.
781
+ * @summary Create Contact Listing
782
+ * @param {string} contactId
783
+ * @param {string} listingId
784
+ * @param {CreateContactListing} createContactListing
785
+ * @param {*} [options] Override http request option.
786
+ * @throws {RequiredError}
787
+ */
788
+ async contactsAddListing(contactId, listingId, createContactListing, options) {
789
+ const localVarAxiosArgs = await localVarAxiosParamCreator.contactsAddListing(contactId, listingId, createContactListing, options);
790
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
791
+ const localVarOperationServerBasePath = operationServerMap["ContactsApi.contactsAddListing"]?.[localVarOperationServerIndex]?.url;
792
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
793
+ },
687
794
  /**
688
795
  *
689
796
  * @summary Contacts Create
@@ -726,17 +833,33 @@ var ContactsApiFp = function(configuration) {
726
833
  /**
727
834
  *
728
835
  * @summary Contacts List
729
- * @param {Array<ContactTypeFilter>} [contactTypes]
730
836
  * @param {string} [searchString]
837
+ * @param {string | null} [after] Cursor for keyset paging
838
+ * @param {number} [limit]
731
839
  * @param {*} [options] Override http request option.
732
840
  * @throws {RequiredError}
733
841
  */
734
- async contactsList(contactTypes, searchString, options) {
735
- const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(contactTypes, searchString, options);
842
+ async contactsList(searchString, after, limit, options) {
843
+ const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(searchString, after, limit, options);
736
844
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
737
845
  const localVarOperationServerBasePath = operationServerMap["ContactsApi.contactsList"]?.[localVarOperationServerIndex]?.url;
738
846
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
739
847
  },
848
+ /**
849
+ * Removes an association between a contact and a listing.
850
+ * @summary Delete Contact Listing
851
+ * @param {string} contactId
852
+ * @param {string} listingId
853
+ * @param {DeleteContactListing} deleteContactListing
854
+ * @param {*} [options] Override http request option.
855
+ * @throws {RequiredError}
856
+ */
857
+ async contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
858
+ const localVarAxiosArgs = await localVarAxiosParamCreator.contactsRemoveListing(contactId, listingId, deleteContactListing, options);
859
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
860
+ const localVarOperationServerBasePath = operationServerMap["ContactsApi.contactsRemoveListing"]?.[localVarOperationServerIndex]?.url;
861
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
862
+ },
740
863
  /**
741
864
  *
742
865
  * @summary Contacts Update
@@ -751,6 +874,21 @@ var ContactsApiFp = function(configuration) {
751
874
  const localVarOperationServerBasePath = operationServerMap["ContactsApi.contactsUpdate"]?.[localVarOperationServerIndex]?.url;
752
875
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
753
876
  },
877
+ /**
878
+ * Updates an association between a contact and a listing.
879
+ * @summary Update Contact Listing
880
+ * @param {string} contactId
881
+ * @param {string} listingId
882
+ * @param {UpdateContactListing} updateContactListing
883
+ * @param {*} [options] Override http request option.
884
+ * @throws {RequiredError}
885
+ */
886
+ async contactsUpdateListing(contactId, listingId, updateContactListing, options) {
887
+ const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdateListing(contactId, listingId, updateContactListing, options);
888
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
889
+ const localVarOperationServerBasePath = operationServerMap["ContactsApi.contactsUpdateListing"]?.[localVarOperationServerIndex]?.url;
890
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
891
+ },
754
892
  /**
755
893
  *
756
894
  * @summary Emails Create
@@ -842,6 +980,18 @@ var ContactsApiFactory = function(configuration, basePath, axios) {
842
980
  addressesUpdate(addressId, addressUpdate, options) {
843
981
  return localVarFp.addressesUpdate(addressId, addressUpdate, options).then((request) => request(axios, basePath));
844
982
  },
983
+ /**
984
+ * Associates a contact with a listing with the OWNER type.
985
+ * @summary Create Contact Listing
986
+ * @param {string} contactId
987
+ * @param {string} listingId
988
+ * @param {CreateContactListing} createContactListing
989
+ * @param {*} [options] Override http request option.
990
+ * @throws {RequiredError}
991
+ */
992
+ contactsAddListing(contactId, listingId, createContactListing, options) {
993
+ return localVarFp.contactsAddListing(contactId, listingId, createContactListing, options).then((request) => request(axios, basePath));
994
+ },
845
995
  /**
846
996
  *
847
997
  * @summary Contacts Create
@@ -875,13 +1025,26 @@ var ContactsApiFactory = function(configuration, basePath, axios) {
875
1025
  /**
876
1026
  *
877
1027
  * @summary Contacts List
878
- * @param {Array<ContactTypeFilter>} [contactTypes]
879
1028
  * @param {string} [searchString]
1029
+ * @param {string | null} [after] Cursor for keyset paging
1030
+ * @param {number} [limit]
1031
+ * @param {*} [options] Override http request option.
1032
+ * @throws {RequiredError}
1033
+ */
1034
+ contactsList(searchString, after, limit, options) {
1035
+ return localVarFp.contactsList(searchString, after, limit, options).then((request) => request(axios, basePath));
1036
+ },
1037
+ /**
1038
+ * Removes an association between a contact and a listing.
1039
+ * @summary Delete Contact Listing
1040
+ * @param {string} contactId
1041
+ * @param {string} listingId
1042
+ * @param {DeleteContactListing} deleteContactListing
880
1043
  * @param {*} [options] Override http request option.
881
1044
  * @throws {RequiredError}
882
1045
  */
883
- contactsList(contactTypes, searchString, options) {
884
- return localVarFp.contactsList(contactTypes, searchString, options).then((request) => request(axios, basePath));
1046
+ contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
1047
+ return localVarFp.contactsRemoveListing(contactId, listingId, deleteContactListing, options).then((request) => request(axios, basePath));
885
1048
  },
886
1049
  /**
887
1050
  *
@@ -894,6 +1057,18 @@ var ContactsApiFactory = function(configuration, basePath, axios) {
894
1057
  contactsUpdate(contactId, contactUpdate, options) {
895
1058
  return localVarFp.contactsUpdate(contactId, contactUpdate, options).then((request) => request(axios, basePath));
896
1059
  },
1060
+ /**
1061
+ * Updates an association between a contact and a listing.
1062
+ * @summary Update Contact Listing
1063
+ * @param {string} contactId
1064
+ * @param {string} listingId
1065
+ * @param {UpdateContactListing} updateContactListing
1066
+ * @param {*} [options] Override http request option.
1067
+ * @throws {RequiredError}
1068
+ */
1069
+ contactsUpdateListing(contactId, listingId, updateContactListing, options) {
1070
+ return localVarFp.contactsUpdateListing(contactId, listingId, updateContactListing, options).then((request) => request(axios, basePath));
1071
+ },
897
1072
  /**
898
1073
  *
899
1074
  * @summary Emails Create
@@ -974,6 +1149,19 @@ var ContactsApi = class extends BaseAPI {
974
1149
  addressesUpdate(addressId, addressUpdate, options) {
975
1150
  return ContactsApiFp(this.configuration).addressesUpdate(addressId, addressUpdate, options).then((request) => request(this.axios, this.basePath));
976
1151
  }
1152
+ /**
1153
+ * Associates a contact with a listing with the OWNER type.
1154
+ * @summary Create Contact Listing
1155
+ * @param {string} contactId
1156
+ * @param {string} listingId
1157
+ * @param {CreateContactListing} createContactListing
1158
+ * @param {*} [options] Override http request option.
1159
+ * @throws {RequiredError}
1160
+ * @memberof ContactsApi
1161
+ */
1162
+ contactsAddListing(contactId, listingId, createContactListing, options) {
1163
+ return ContactsApiFp(this.configuration).contactsAddListing(contactId, listingId, createContactListing, options).then((request) => request(this.axios, this.basePath));
1164
+ }
977
1165
  /**
978
1166
  *
979
1167
  * @summary Contacts Create
@@ -1010,14 +1198,28 @@ var ContactsApi = class extends BaseAPI {
1010
1198
  /**
1011
1199
  *
1012
1200
  * @summary Contacts List
1013
- * @param {Array<ContactTypeFilter>} [contactTypes]
1014
1201
  * @param {string} [searchString]
1202
+ * @param {string | null} [after] Cursor for keyset paging
1203
+ * @param {number} [limit]
1015
1204
  * @param {*} [options] Override http request option.
1016
1205
  * @throws {RequiredError}
1017
1206
  * @memberof ContactsApi
1018
1207
  */
1019
- contactsList(contactTypes, searchString, options) {
1020
- return ContactsApiFp(this.configuration).contactsList(contactTypes, searchString, options).then((request) => request(this.axios, this.basePath));
1208
+ contactsList(searchString, after, limit, options) {
1209
+ return ContactsApiFp(this.configuration).contactsList(searchString, after, limit, options).then((request) => request(this.axios, this.basePath));
1210
+ }
1211
+ /**
1212
+ * Removes an association between a contact and a listing.
1213
+ * @summary Delete Contact Listing
1214
+ * @param {string} contactId
1215
+ * @param {string} listingId
1216
+ * @param {DeleteContactListing} deleteContactListing
1217
+ * @param {*} [options] Override http request option.
1218
+ * @throws {RequiredError}
1219
+ * @memberof ContactsApi
1220
+ */
1221
+ contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
1222
+ return ContactsApiFp(this.configuration).contactsRemoveListing(contactId, listingId, deleteContactListing, options).then((request) => request(this.axios, this.basePath));
1021
1223
  }
1022
1224
  /**
1023
1225
  *
@@ -1031,6 +1233,19 @@ var ContactsApi = class extends BaseAPI {
1031
1233
  contactsUpdate(contactId, contactUpdate, options) {
1032
1234
  return ContactsApiFp(this.configuration).contactsUpdate(contactId, contactUpdate, options).then((request) => request(this.axios, this.basePath));
1033
1235
  }
1236
+ /**
1237
+ * Updates an association between a contact and a listing.
1238
+ * @summary Update Contact Listing
1239
+ * @param {string} contactId
1240
+ * @param {string} listingId
1241
+ * @param {UpdateContactListing} updateContactListing
1242
+ * @param {*} [options] Override http request option.
1243
+ * @throws {RequiredError}
1244
+ * @memberof ContactsApi
1245
+ */
1246
+ contactsUpdateListing(contactId, listingId, updateContactListing, options) {
1247
+ return ContactsApiFp(this.configuration).contactsUpdateListing(contactId, listingId, updateContactListing, options).then((request) => request(this.axios, this.basePath));
1248
+ }
1034
1249
  /**
1035
1250
  *
1036
1251
  * @summary Emails Create
@@ -1300,17 +1515,17 @@ var HostawayApi = class extends BaseAPI {
1300
1515
  return HostawayApiFp(this.configuration).webhook(hostawayWebhook, options).then((request) => request(this.axios, this.basePath));
1301
1516
  }
1302
1517
  };
1303
- var ListingsApiAxiosParamCreator = function(configuration) {
1518
+ var InquiriesApiAxiosParamCreator = function(configuration) {
1304
1519
  return {
1305
1520
  /**
1306
1521
  * List all listings
1307
- * @summary Listings List
1522
+ * @summary Inquiries List
1308
1523
  * @param {string} [contactId]
1309
1524
  * @param {*} [options] Override http request option.
1310
1525
  * @throws {RequiredError}
1311
1526
  */
1312
- listingsList: async (contactId, options = {}) => {
1313
- const localVarPath = `/listings`;
1527
+ inquiriesList: async (contactId, options = {}) => {
1528
+ const localVarPath = `/inquiries`;
1314
1529
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1315
1530
  let baseOptions;
1316
1531
  if (configuration) {
@@ -1332,18 +1547,91 @@ var ListingsApiAxiosParamCreator = function(configuration) {
1332
1547
  }
1333
1548
  };
1334
1549
  };
1550
+ var InquiriesApiFp = function(configuration) {
1551
+ const localVarAxiosParamCreator = InquiriesApiAxiosParamCreator(configuration);
1552
+ return {
1553
+ /**
1554
+ * List all listings
1555
+ * @summary Inquiries List
1556
+ * @param {string} [contactId]
1557
+ * @param {*} [options] Override http request option.
1558
+ * @throws {RequiredError}
1559
+ */
1560
+ async inquiriesList(contactId, options) {
1561
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
1562
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1563
+ const localVarOperationServerBasePath = operationServerMap["InquiriesApi.inquiriesList"]?.[localVarOperationServerIndex]?.url;
1564
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1565
+ }
1566
+ };
1567
+ };
1568
+ var InquiriesApiFactory = function(configuration, basePath, axios) {
1569
+ const localVarFp = InquiriesApiFp(configuration);
1570
+ return {
1571
+ /**
1572
+ * List all listings
1573
+ * @summary Inquiries List
1574
+ * @param {string} [contactId]
1575
+ * @param {*} [options] Override http request option.
1576
+ * @throws {RequiredError}
1577
+ */
1578
+ inquiriesList(contactId, options) {
1579
+ return localVarFp.inquiriesList(contactId, options).then((request) => request(axios, basePath));
1580
+ }
1581
+ };
1582
+ };
1583
+ var InquiriesApi = class extends BaseAPI {
1584
+ /**
1585
+ * List all listings
1586
+ * @summary Inquiries List
1587
+ * @param {string} [contactId]
1588
+ * @param {*} [options] Override http request option.
1589
+ * @throws {RequiredError}
1590
+ * @memberof InquiriesApi
1591
+ */
1592
+ inquiriesList(contactId, options) {
1593
+ return InquiriesApiFp(this.configuration).inquiriesList(contactId, options).then((request) => request(this.axios, this.basePath));
1594
+ }
1595
+ };
1596
+ var ListingsApiAxiosParamCreator = function(configuration) {
1597
+ return {
1598
+ /**
1599
+ * List all listings
1600
+ * @summary Listings List
1601
+ * @param {*} [options] Override http request option.
1602
+ * @throws {RequiredError}
1603
+ */
1604
+ listingsList: async (options = {}) => {
1605
+ const localVarPath = `/listings`;
1606
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1607
+ let baseOptions;
1608
+ if (configuration) {
1609
+ baseOptions = configuration.baseOptions;
1610
+ }
1611
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1612
+ const localVarHeaderParameter = {};
1613
+ const localVarQueryParameter = {};
1614
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1615
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1616
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1617
+ return {
1618
+ url: toPathString(localVarUrlObj),
1619
+ options: localVarRequestOptions
1620
+ };
1621
+ }
1622
+ };
1623
+ };
1335
1624
  var ListingsApiFp = function(configuration) {
1336
1625
  const localVarAxiosParamCreator = ListingsApiAxiosParamCreator(configuration);
1337
1626
  return {
1338
1627
  /**
1339
1628
  * List all listings
1340
1629
  * @summary Listings List
1341
- * @param {string} [contactId]
1342
1630
  * @param {*} [options] Override http request option.
1343
1631
  * @throws {RequiredError}
1344
1632
  */
1345
- async listingsList(contactId, options) {
1346
- const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(contactId, options);
1633
+ async listingsList(options) {
1634
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(options);
1347
1635
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1348
1636
  const localVarOperationServerBasePath = operationServerMap["ListingsApi.listingsList"]?.[localVarOperationServerIndex]?.url;
1349
1637
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1356,12 +1644,11 @@ var ListingsApiFactory = function(configuration, basePath, axios) {
1356
1644
  /**
1357
1645
  * List all listings
1358
1646
  * @summary Listings List
1359
- * @param {string} [contactId]
1360
1647
  * @param {*} [options] Override http request option.
1361
1648
  * @throws {RequiredError}
1362
1649
  */
1363
- listingsList(contactId, options) {
1364
- return localVarFp.listingsList(contactId, options).then((request) => request(axios, basePath));
1650
+ listingsList(options) {
1651
+ return localVarFp.listingsList(options).then((request) => request(axios, basePath));
1365
1652
  }
1366
1653
  };
1367
1654
  };
@@ -1369,13 +1656,12 @@ var ListingsApi = class extends BaseAPI {
1369
1656
  /**
1370
1657
  * List all listings
1371
1658
  * @summary Listings List
1372
- * @param {string} [contactId]
1373
1659
  * @param {*} [options] Override http request option.
1374
1660
  * @throws {RequiredError}
1375
1661
  * @memberof ListingsApi
1376
1662
  */
1377
- listingsList(contactId, options) {
1378
- return ListingsApiFp(this.configuration).listingsList(contactId, options).then((request) => request(this.axios, this.basePath));
1663
+ listingsList(options) {
1664
+ return ListingsApiFp(this.configuration).listingsList(options).then((request) => request(this.axios, this.basePath));
1379
1665
  }
1380
1666
  };
1381
1667
  var PhonesApiAxiosParamCreator = function(configuration) {
@@ -1687,6 +1973,38 @@ var UnboundApiAxiosParamCreator = function(configuration) {
1687
1973
  options: localVarRequestOptions
1688
1974
  };
1689
1975
  },
1976
+ /**
1977
+ * Associates a contact with a listing with the OWNER type.
1978
+ * @summary Create Contact Listing
1979
+ * @param {string} contactId
1980
+ * @param {string} listingId
1981
+ * @param {CreateContactListing} createContactListing
1982
+ * @param {*} [options] Override http request option.
1983
+ * @throws {RequiredError}
1984
+ */
1985
+ contactsAddListing: async (contactId, listingId, createContactListing, options = {}) => {
1986
+ assertParamExists("contactsAddListing", "contactId", contactId);
1987
+ assertParamExists("contactsAddListing", "listingId", listingId);
1988
+ assertParamExists("contactsAddListing", "createContactListing", createContactListing);
1989
+ const localVarPath = `/contacts/{contact_id}/listings/{listing_id}`.replace(`{${"contact_id"}}`, encodeURIComponent(String(contactId))).replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId)));
1990
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1991
+ let baseOptions;
1992
+ if (configuration) {
1993
+ baseOptions = configuration.baseOptions;
1994
+ }
1995
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
1996
+ const localVarHeaderParameter = {};
1997
+ const localVarQueryParameter = {};
1998
+ localVarHeaderParameter["Content-Type"] = "application/json";
1999
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2000
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2001
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2002
+ localVarRequestOptions.data = serializeDataIfNeeded(createContactListing, localVarRequestOptions, configuration);
2003
+ return {
2004
+ url: toPathString(localVarUrlObj),
2005
+ options: localVarRequestOptions
2006
+ };
2007
+ },
1690
2008
  /**
1691
2009
  *
1692
2010
  * @summary Contacts Create
@@ -1770,12 +2088,13 @@ var UnboundApiAxiosParamCreator = function(configuration) {
1770
2088
  /**
1771
2089
  *
1772
2090
  * @summary Contacts List
1773
- * @param {Array<ContactTypeFilter>} [contactTypes]
1774
2091
  * @param {string} [searchString]
2092
+ * @param {string | null} [after] Cursor for keyset paging
2093
+ * @param {number} [limit]
1775
2094
  * @param {*} [options] Override http request option.
1776
2095
  * @throws {RequiredError}
1777
2096
  */
1778
- contactsList: async (contactTypes, searchString, options = {}) => {
2097
+ contactsList: async (searchString, after, limit, options = {}) => {
1779
2098
  const localVarPath = `/contacts`;
1780
2099
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1781
2100
  let baseOptions;
@@ -1785,12 +2104,15 @@ var UnboundApiAxiosParamCreator = function(configuration) {
1785
2104
  const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1786
2105
  const localVarHeaderParameter = {};
1787
2106
  const localVarQueryParameter = {};
1788
- if (contactTypes) {
1789
- localVarQueryParameter["contactTypes"] = contactTypes;
1790
- }
1791
2107
  if (searchString !== void 0) {
1792
2108
  localVarQueryParameter["searchString"] = searchString;
1793
2109
  }
2110
+ if (after !== void 0) {
2111
+ localVarQueryParameter["after"] = after;
2112
+ }
2113
+ if (limit !== void 0) {
2114
+ localVarQueryParameter["limit"] = limit;
2115
+ }
1794
2116
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1795
2117
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1796
2118
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -1799,6 +2121,38 @@ var UnboundApiAxiosParamCreator = function(configuration) {
1799
2121
  options: localVarRequestOptions
1800
2122
  };
1801
2123
  },
2124
+ /**
2125
+ * Removes an association between a contact and a listing.
2126
+ * @summary Delete Contact Listing
2127
+ * @param {string} contactId
2128
+ * @param {string} listingId
2129
+ * @param {DeleteContactListing} deleteContactListing
2130
+ * @param {*} [options] Override http request option.
2131
+ * @throws {RequiredError}
2132
+ */
2133
+ contactsRemoveListing: async (contactId, listingId, deleteContactListing, options = {}) => {
2134
+ assertParamExists("contactsRemoveListing", "contactId", contactId);
2135
+ assertParamExists("contactsRemoveListing", "listingId", listingId);
2136
+ assertParamExists("contactsRemoveListing", "deleteContactListing", deleteContactListing);
2137
+ const localVarPath = `/contacts/{contact_id}/listings/{listing_id}`.replace(`{${"contact_id"}}`, encodeURIComponent(String(contactId))).replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId)));
2138
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2139
+ let baseOptions;
2140
+ if (configuration) {
2141
+ baseOptions = configuration.baseOptions;
2142
+ }
2143
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
2144
+ const localVarHeaderParameter = {};
2145
+ const localVarQueryParameter = {};
2146
+ localVarHeaderParameter["Content-Type"] = "application/json";
2147
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2148
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2149
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2150
+ localVarRequestOptions.data = serializeDataIfNeeded(deleteContactListing, localVarRequestOptions, configuration);
2151
+ return {
2152
+ url: toPathString(localVarUrlObj),
2153
+ options: localVarRequestOptions
2154
+ };
2155
+ },
1802
2156
  /**
1803
2157
  *
1804
2158
  * @summary Contacts Update
@@ -1829,6 +2183,38 @@ var UnboundApiAxiosParamCreator = function(configuration) {
1829
2183
  options: localVarRequestOptions
1830
2184
  };
1831
2185
  },
2186
+ /**
2187
+ * Updates an association between a contact and a listing.
2188
+ * @summary Update Contact Listing
2189
+ * @param {string} contactId
2190
+ * @param {string} listingId
2191
+ * @param {UpdateContactListing} updateContactListing
2192
+ * @param {*} [options] Override http request option.
2193
+ * @throws {RequiredError}
2194
+ */
2195
+ contactsUpdateListing: async (contactId, listingId, updateContactListing, options = {}) => {
2196
+ assertParamExists("contactsUpdateListing", "contactId", contactId);
2197
+ assertParamExists("contactsUpdateListing", "listingId", listingId);
2198
+ assertParamExists("contactsUpdateListing", "updateContactListing", updateContactListing);
2199
+ const localVarPath = `/contacts/{contact_id}/listings/{listing_id}`.replace(`{${"contact_id"}}`, encodeURIComponent(String(contactId))).replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId)));
2200
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2201
+ let baseOptions;
2202
+ if (configuration) {
2203
+ baseOptions = configuration.baseOptions;
2204
+ }
2205
+ const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
2206
+ const localVarHeaderParameter = {};
2207
+ const localVarQueryParameter = {};
2208
+ localVarHeaderParameter["Content-Type"] = "application/json";
2209
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2210
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2211
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2212
+ localVarRequestOptions.data = serializeDataIfNeeded(updateContactListing, localVarRequestOptions, configuration);
2213
+ return {
2214
+ url: toPathString(localVarUrlObj),
2215
+ options: localVarRequestOptions
2216
+ };
2217
+ },
1832
2218
  /**
1833
2219
  *
1834
2220
  * @summary Emails Create
@@ -1887,13 +2273,13 @@ var UnboundApiAxiosParamCreator = function(configuration) {
1887
2273
  },
1888
2274
  /**
1889
2275
  * List all listings
1890
- * @summary Listings List
2276
+ * @summary Inquiries List
1891
2277
  * @param {string} [contactId]
1892
2278
  * @param {*} [options] Override http request option.
1893
2279
  * @throws {RequiredError}
1894
2280
  */
1895
- listingsList: async (contactId, options = {}) => {
1896
- const localVarPath = `/listings`;
2281
+ inquiriesList: async (contactId, options = {}) => {
2282
+ const localVarPath = `/inquiries`;
1897
2283
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1898
2284
  let baseOptions;
1899
2285
  if (configuration) {
@@ -1913,6 +2299,30 @@ var UnboundApiAxiosParamCreator = function(configuration) {
1913
2299
  options: localVarRequestOptions
1914
2300
  };
1915
2301
  },
2302
+ /**
2303
+ * List all listings
2304
+ * @summary Listings List
2305
+ * @param {*} [options] Override http request option.
2306
+ * @throws {RequiredError}
2307
+ */
2308
+ listingsList: async (options = {}) => {
2309
+ const localVarPath = `/listings`;
2310
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2311
+ let baseOptions;
2312
+ if (configuration) {
2313
+ baseOptions = configuration.baseOptions;
2314
+ }
2315
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2316
+ const localVarHeaderParameter = {};
2317
+ const localVarQueryParameter = {};
2318
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2319
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2320
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2321
+ return {
2322
+ url: toPathString(localVarUrlObj),
2323
+ options: localVarRequestOptions
2324
+ };
2325
+ },
1916
2326
  /**
1917
2327
  *
1918
2328
  * @summary Phones Create
@@ -2072,6 +2482,21 @@ var UnboundApiFp = function(configuration) {
2072
2482
  const localVarOperationServerBasePath = operationServerMap["UnboundApi.addressesUpdate"]?.[localVarOperationServerIndex]?.url;
2073
2483
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2074
2484
  },
2485
+ /**
2486
+ * Associates a contact with a listing with the OWNER type.
2487
+ * @summary Create Contact Listing
2488
+ * @param {string} contactId
2489
+ * @param {string} listingId
2490
+ * @param {CreateContactListing} createContactListing
2491
+ * @param {*} [options] Override http request option.
2492
+ * @throws {RequiredError}
2493
+ */
2494
+ async contactsAddListing(contactId, listingId, createContactListing, options) {
2495
+ const localVarAxiosArgs = await localVarAxiosParamCreator.contactsAddListing(contactId, listingId, createContactListing, options);
2496
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2497
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.contactsAddListing"]?.[localVarOperationServerIndex]?.url;
2498
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2499
+ },
2075
2500
  /**
2076
2501
  *
2077
2502
  * @summary Contacts Create
@@ -2114,17 +2539,33 @@ var UnboundApiFp = function(configuration) {
2114
2539
  /**
2115
2540
  *
2116
2541
  * @summary Contacts List
2117
- * @param {Array<ContactTypeFilter>} [contactTypes]
2118
2542
  * @param {string} [searchString]
2543
+ * @param {string | null} [after] Cursor for keyset paging
2544
+ * @param {number} [limit]
2119
2545
  * @param {*} [options] Override http request option.
2120
2546
  * @throws {RequiredError}
2121
2547
  */
2122
- async contactsList(contactTypes, searchString, options) {
2123
- const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(contactTypes, searchString, options);
2548
+ async contactsList(searchString, after, limit, options) {
2549
+ const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(searchString, after, limit, options);
2124
2550
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2125
2551
  const localVarOperationServerBasePath = operationServerMap["UnboundApi.contactsList"]?.[localVarOperationServerIndex]?.url;
2126
2552
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2127
2553
  },
2554
+ /**
2555
+ * Removes an association between a contact and a listing.
2556
+ * @summary Delete Contact Listing
2557
+ * @param {string} contactId
2558
+ * @param {string} listingId
2559
+ * @param {DeleteContactListing} deleteContactListing
2560
+ * @param {*} [options] Override http request option.
2561
+ * @throws {RequiredError}
2562
+ */
2563
+ async contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
2564
+ const localVarAxiosArgs = await localVarAxiosParamCreator.contactsRemoveListing(contactId, listingId, deleteContactListing, options);
2565
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2566
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.contactsRemoveListing"]?.[localVarOperationServerIndex]?.url;
2567
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2568
+ },
2128
2569
  /**
2129
2570
  *
2130
2571
  * @summary Contacts Update
@@ -2139,6 +2580,21 @@ var UnboundApiFp = function(configuration) {
2139
2580
  const localVarOperationServerBasePath = operationServerMap["UnboundApi.contactsUpdate"]?.[localVarOperationServerIndex]?.url;
2140
2581
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2141
2582
  },
2583
+ /**
2584
+ * Updates an association between a contact and a listing.
2585
+ * @summary Update Contact Listing
2586
+ * @param {string} contactId
2587
+ * @param {string} listingId
2588
+ * @param {UpdateContactListing} updateContactListing
2589
+ * @param {*} [options] Override http request option.
2590
+ * @throws {RequiredError}
2591
+ */
2592
+ async contactsUpdateListing(contactId, listingId, updateContactListing, options) {
2593
+ const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdateListing(contactId, listingId, updateContactListing, options);
2594
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2595
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.contactsUpdateListing"]?.[localVarOperationServerIndex]?.url;
2596
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2597
+ },
2142
2598
  /**
2143
2599
  *
2144
2600
  * @summary Emails Create
@@ -2168,13 +2624,25 @@ var UnboundApiFp = function(configuration) {
2168
2624
  },
2169
2625
  /**
2170
2626
  * List all listings
2171
- * @summary Listings List
2627
+ * @summary Inquiries List
2172
2628
  * @param {string} [contactId]
2173
2629
  * @param {*} [options] Override http request option.
2174
2630
  * @throws {RequiredError}
2175
2631
  */
2176
- async listingsList(contactId, options) {
2177
- const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(contactId, options);
2632
+ async inquiriesList(contactId, options) {
2633
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
2634
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2635
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.inquiriesList"]?.[localVarOperationServerIndex]?.url;
2636
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2637
+ },
2638
+ /**
2639
+ * List all listings
2640
+ * @summary Listings List
2641
+ * @param {*} [options] Override http request option.
2642
+ * @throws {RequiredError}
2643
+ */
2644
+ async listingsList(options) {
2645
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(options);
2178
2646
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2179
2647
  const localVarOperationServerBasePath = operationServerMap["UnboundApi.listingsList"]?.[localVarOperationServerIndex]?.url;
2180
2648
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2269,6 +2737,18 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
2269
2737
  addressesUpdate(addressId, addressUpdate, options) {
2270
2738
  return localVarFp.addressesUpdate(addressId, addressUpdate, options).then((request) => request(axios, basePath));
2271
2739
  },
2740
+ /**
2741
+ * Associates a contact with a listing with the OWNER type.
2742
+ * @summary Create Contact Listing
2743
+ * @param {string} contactId
2744
+ * @param {string} listingId
2745
+ * @param {CreateContactListing} createContactListing
2746
+ * @param {*} [options] Override http request option.
2747
+ * @throws {RequiredError}
2748
+ */
2749
+ contactsAddListing(contactId, listingId, createContactListing, options) {
2750
+ return localVarFp.contactsAddListing(contactId, listingId, createContactListing, options).then((request) => request(axios, basePath));
2751
+ },
2272
2752
  /**
2273
2753
  *
2274
2754
  * @summary Contacts Create
@@ -2302,13 +2782,26 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
2302
2782
  /**
2303
2783
  *
2304
2784
  * @summary Contacts List
2305
- * @param {Array<ContactTypeFilter>} [contactTypes]
2306
2785
  * @param {string} [searchString]
2786
+ * @param {string | null} [after] Cursor for keyset paging
2787
+ * @param {number} [limit]
2788
+ * @param {*} [options] Override http request option.
2789
+ * @throws {RequiredError}
2790
+ */
2791
+ contactsList(searchString, after, limit, options) {
2792
+ return localVarFp.contactsList(searchString, after, limit, options).then((request) => request(axios, basePath));
2793
+ },
2794
+ /**
2795
+ * Removes an association between a contact and a listing.
2796
+ * @summary Delete Contact Listing
2797
+ * @param {string} contactId
2798
+ * @param {string} listingId
2799
+ * @param {DeleteContactListing} deleteContactListing
2307
2800
  * @param {*} [options] Override http request option.
2308
2801
  * @throws {RequiredError}
2309
2802
  */
2310
- contactsList(contactTypes, searchString, options) {
2311
- return localVarFp.contactsList(contactTypes, searchString, options).then((request) => request(axios, basePath));
2803
+ contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
2804
+ return localVarFp.contactsRemoveListing(contactId, listingId, deleteContactListing, options).then((request) => request(axios, basePath));
2312
2805
  },
2313
2806
  /**
2314
2807
  *
@@ -2321,6 +2814,18 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
2321
2814
  contactsUpdate(contactId, contactUpdate, options) {
2322
2815
  return localVarFp.contactsUpdate(contactId, contactUpdate, options).then((request) => request(axios, basePath));
2323
2816
  },
2817
+ /**
2818
+ * Updates an association between a contact and a listing.
2819
+ * @summary Update Contact Listing
2820
+ * @param {string} contactId
2821
+ * @param {string} listingId
2822
+ * @param {UpdateContactListing} updateContactListing
2823
+ * @param {*} [options] Override http request option.
2824
+ * @throws {RequiredError}
2825
+ */
2826
+ contactsUpdateListing(contactId, listingId, updateContactListing, options) {
2827
+ return localVarFp.contactsUpdateListing(contactId, listingId, updateContactListing, options).then((request) => request(axios, basePath));
2828
+ },
2324
2829
  /**
2325
2830
  *
2326
2831
  * @summary Emails Create
@@ -2344,13 +2849,22 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
2344
2849
  },
2345
2850
  /**
2346
2851
  * List all listings
2347
- * @summary Listings List
2852
+ * @summary Inquiries List
2348
2853
  * @param {string} [contactId]
2349
2854
  * @param {*} [options] Override http request option.
2350
2855
  * @throws {RequiredError}
2351
2856
  */
2352
- listingsList(contactId, options) {
2353
- return localVarFp.listingsList(contactId, options).then((request) => request(axios, basePath));
2857
+ inquiriesList(contactId, options) {
2858
+ return localVarFp.inquiriesList(contactId, options).then((request) => request(axios, basePath));
2859
+ },
2860
+ /**
2861
+ * List all listings
2862
+ * @summary Listings List
2863
+ * @param {*} [options] Override http request option.
2864
+ * @throws {RequiredError}
2865
+ */
2866
+ listingsList(options) {
2867
+ return localVarFp.listingsList(options).then((request) => request(axios, basePath));
2354
2868
  },
2355
2869
  /**
2356
2870
  *
@@ -2431,6 +2945,19 @@ var UnboundApi = class extends BaseAPI {
2431
2945
  addressesUpdate(addressId, addressUpdate, options) {
2432
2946
  return UnboundApiFp(this.configuration).addressesUpdate(addressId, addressUpdate, options).then((request) => request(this.axios, this.basePath));
2433
2947
  }
2948
+ /**
2949
+ * Associates a contact with a listing with the OWNER type.
2950
+ * @summary Create Contact Listing
2951
+ * @param {string} contactId
2952
+ * @param {string} listingId
2953
+ * @param {CreateContactListing} createContactListing
2954
+ * @param {*} [options] Override http request option.
2955
+ * @throws {RequiredError}
2956
+ * @memberof UnboundApi
2957
+ */
2958
+ contactsAddListing(contactId, listingId, createContactListing, options) {
2959
+ return UnboundApiFp(this.configuration).contactsAddListing(contactId, listingId, createContactListing, options).then((request) => request(this.axios, this.basePath));
2960
+ }
2434
2961
  /**
2435
2962
  *
2436
2963
  * @summary Contacts Create
@@ -2467,14 +2994,28 @@ var UnboundApi = class extends BaseAPI {
2467
2994
  /**
2468
2995
  *
2469
2996
  * @summary Contacts List
2470
- * @param {Array<ContactTypeFilter>} [contactTypes]
2471
2997
  * @param {string} [searchString]
2998
+ * @param {string | null} [after] Cursor for keyset paging
2999
+ * @param {number} [limit]
2472
3000
  * @param {*} [options] Override http request option.
2473
3001
  * @throws {RequiredError}
2474
3002
  * @memberof UnboundApi
2475
3003
  */
2476
- contactsList(contactTypes, searchString, options) {
2477
- return UnboundApiFp(this.configuration).contactsList(contactTypes, searchString, options).then((request) => request(this.axios, this.basePath));
3004
+ contactsList(searchString, after, limit, options) {
3005
+ return UnboundApiFp(this.configuration).contactsList(searchString, after, limit, options).then((request) => request(this.axios, this.basePath));
3006
+ }
3007
+ /**
3008
+ * Removes an association between a contact and a listing.
3009
+ * @summary Delete Contact Listing
3010
+ * @param {string} contactId
3011
+ * @param {string} listingId
3012
+ * @param {DeleteContactListing} deleteContactListing
3013
+ * @param {*} [options] Override http request option.
3014
+ * @throws {RequiredError}
3015
+ * @memberof UnboundApi
3016
+ */
3017
+ contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
3018
+ return UnboundApiFp(this.configuration).contactsRemoveListing(contactId, listingId, deleteContactListing, options).then((request) => request(this.axios, this.basePath));
2478
3019
  }
2479
3020
  /**
2480
3021
  *
@@ -2488,6 +3029,19 @@ var UnboundApi = class extends BaseAPI {
2488
3029
  contactsUpdate(contactId, contactUpdate, options) {
2489
3030
  return UnboundApiFp(this.configuration).contactsUpdate(contactId, contactUpdate, options).then((request) => request(this.axios, this.basePath));
2490
3031
  }
3032
+ /**
3033
+ * Updates an association between a contact and a listing.
3034
+ * @summary Update Contact Listing
3035
+ * @param {string} contactId
3036
+ * @param {string} listingId
3037
+ * @param {UpdateContactListing} updateContactListing
3038
+ * @param {*} [options] Override http request option.
3039
+ * @throws {RequiredError}
3040
+ * @memberof UnboundApi
3041
+ */
3042
+ contactsUpdateListing(contactId, listingId, updateContactListing, options) {
3043
+ return UnboundApiFp(this.configuration).contactsUpdateListing(contactId, listingId, updateContactListing, options).then((request) => request(this.axios, this.basePath));
3044
+ }
2491
3045
  /**
2492
3046
  *
2493
3047
  * @summary Emails Create
@@ -2513,14 +3067,24 @@ var UnboundApi = class extends BaseAPI {
2513
3067
  }
2514
3068
  /**
2515
3069
  * List all listings
2516
- * @summary Listings List
3070
+ * @summary Inquiries List
2517
3071
  * @param {string} [contactId]
2518
3072
  * @param {*} [options] Override http request option.
2519
3073
  * @throws {RequiredError}
2520
3074
  * @memberof UnboundApi
2521
3075
  */
2522
- listingsList(contactId, options) {
2523
- return UnboundApiFp(this.configuration).listingsList(contactId, options).then((request) => request(this.axios, this.basePath));
3076
+ inquiriesList(contactId, options) {
3077
+ return UnboundApiFp(this.configuration).inquiriesList(contactId, options).then((request) => request(this.axios, this.basePath));
3078
+ }
3079
+ /**
3080
+ * List all listings
3081
+ * @summary Listings List
3082
+ * @param {*} [options] Override http request option.
3083
+ * @throws {RequiredError}
3084
+ * @memberof UnboundApi
3085
+ */
3086
+ listingsList(options) {
3087
+ return UnboundApiFp(this.configuration).listingsList(options).then((request) => request(this.axios, this.basePath));
2524
3088
  }
2525
3089
  /**
2526
3090
  *
@@ -2663,12 +3227,11 @@ export {
2663
3227
  AddressesApiFactory,
2664
3228
  AddressesApiFp,
2665
3229
  Configuration,
2666
- ContactTypeFilter,
3230
+ ContactListingType,
2667
3231
  ContactsApi,
2668
3232
  ContactsApiAxiosParamCreator,
2669
3233
  ContactsApiFactory,
2670
3234
  ContactsApiFp,
2671
- DataSource,
2672
3235
  EmailsApi,
2673
3236
  EmailsApiAxiosParamCreator,
2674
3237
  EmailsApiFactory,
@@ -2677,6 +3240,10 @@ export {
2677
3240
  HostawayApiAxiosParamCreator,
2678
3241
  HostawayApiFactory,
2679
3242
  HostawayApiFp,
3243
+ InquiriesApi,
3244
+ InquiriesApiAxiosParamCreator,
3245
+ InquiriesApiFactory,
3246
+ InquiriesApiFp,
2680
3247
  ListingsApi,
2681
3248
  ListingsApiAxiosParamCreator,
2682
3249
  ListingsApiFactory,