@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.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,14 +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
472
496
  * @param {number} [limit]
473
- * @param {number} [offset]
474
497
  * @param {*} [options] Override http request option.
475
498
  * @throws {RequiredError}
476
499
  */
477
- contactsList: async (contactTypes, searchString, limit, offset, options = {}) => {
500
+ contactsList: async (searchString, after, limit, options = {}) => {
478
501
  const localVarPath = `/contacts`;
479
502
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
480
503
  let baseOptions;
@@ -484,21 +507,50 @@ var ContactsApiAxiosParamCreator = function(configuration) {
484
507
  const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
485
508
  const localVarHeaderParameter = {};
486
509
  const localVarQueryParameter = {};
487
- if (contactTypes) {
488
- localVarQueryParameter["contactTypes"] = contactTypes;
489
- }
490
510
  if (searchString !== void 0) {
491
511
  localVarQueryParameter["searchString"] = searchString;
492
512
  }
513
+ if (after !== void 0) {
514
+ localVarQueryParameter["after"] = after;
515
+ }
493
516
  if (limit !== void 0) {
494
517
  localVarQueryParameter["limit"] = limit;
495
518
  }
496
- if (offset !== void 0) {
497
- localVarQueryParameter["offset"] = offset;
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;
498
545
  }
546
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
547
+ const localVarHeaderParameter = {};
548
+ const localVarQueryParameter = {};
549
+ localVarHeaderParameter["Content-Type"] = "application/json";
499
550
  setSearchParams(localVarUrlObj, localVarQueryParameter);
500
551
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
501
552
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
553
+ localVarRequestOptions.data = serializeDataIfNeeded(deleteContactListing, localVarRequestOptions, configuration);
502
554
  return {
503
555
  url: toPathString(localVarUrlObj),
504
556
  options: localVarRequestOptions
@@ -534,6 +586,38 @@ var ContactsApiAxiosParamCreator = function(configuration) {
534
586
  options: localVarRequestOptions
535
587
  };
536
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
+ },
537
621
  /**
538
622
  *
539
623
  * @summary Emails Create
@@ -692,6 +776,21 @@ var ContactsApiFp = function(configuration) {
692
776
  const localVarOperationServerBasePath = operationServerMap["ContactsApi.addressesUpdate"]?.[localVarOperationServerIndex]?.url;
693
777
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
694
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
+ },
695
794
  /**
696
795
  *
697
796
  * @summary Contacts Create
@@ -734,19 +833,33 @@ var ContactsApiFp = function(configuration) {
734
833
  /**
735
834
  *
736
835
  * @summary Contacts List
737
- * @param {Array<ContactTypeFilter>} [contactTypes]
738
836
  * @param {string} [searchString]
837
+ * @param {string | null} [after] Cursor for keyset paging
739
838
  * @param {number} [limit]
740
- * @param {number} [offset]
741
839
  * @param {*} [options] Override http request option.
742
840
  * @throws {RequiredError}
743
841
  */
744
- async contactsList(contactTypes, searchString, limit, offset, options) {
745
- const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(contactTypes, searchString, limit, offset, options);
842
+ async contactsList(searchString, after, limit, options) {
843
+ const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(searchString, after, limit, options);
746
844
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
747
845
  const localVarOperationServerBasePath = operationServerMap["ContactsApi.contactsList"]?.[localVarOperationServerIndex]?.url;
748
846
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
749
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
+ },
750
863
  /**
751
864
  *
752
865
  * @summary Contacts Update
@@ -761,6 +874,21 @@ var ContactsApiFp = function(configuration) {
761
874
  const localVarOperationServerBasePath = operationServerMap["ContactsApi.contactsUpdate"]?.[localVarOperationServerIndex]?.url;
762
875
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
763
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
+ },
764
892
  /**
765
893
  *
766
894
  * @summary Emails Create
@@ -852,6 +980,18 @@ var ContactsApiFactory = function(configuration, basePath, axios) {
852
980
  addressesUpdate(addressId, addressUpdate, options) {
853
981
  return localVarFp.addressesUpdate(addressId, addressUpdate, options).then((request) => request(axios, basePath));
854
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
+ },
855
995
  /**
856
996
  *
857
997
  * @summary Contacts Create
@@ -885,15 +1025,26 @@ var ContactsApiFactory = function(configuration, basePath, axios) {
885
1025
  /**
886
1026
  *
887
1027
  * @summary Contacts List
888
- * @param {Array<ContactTypeFilter>} [contactTypes]
889
1028
  * @param {string} [searchString]
1029
+ * @param {string | null} [after] Cursor for keyset paging
890
1030
  * @param {number} [limit]
891
- * @param {number} [offset]
892
1031
  * @param {*} [options] Override http request option.
893
1032
  * @throws {RequiredError}
894
1033
  */
895
- contactsList(contactTypes, searchString, limit, offset, options) {
896
- return localVarFp.contactsList(contactTypes, searchString, limit, offset, options).then((request) => request(axios, basePath));
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
1043
+ * @param {*} [options] Override http request option.
1044
+ * @throws {RequiredError}
1045
+ */
1046
+ contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
1047
+ return localVarFp.contactsRemoveListing(contactId, listingId, deleteContactListing, options).then((request) => request(axios, basePath));
897
1048
  },
898
1049
  /**
899
1050
  *
@@ -906,6 +1057,18 @@ var ContactsApiFactory = function(configuration, basePath, axios) {
906
1057
  contactsUpdate(contactId, contactUpdate, options) {
907
1058
  return localVarFp.contactsUpdate(contactId, contactUpdate, options).then((request) => request(axios, basePath));
908
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
+ },
909
1072
  /**
910
1073
  *
911
1074
  * @summary Emails Create
@@ -986,6 +1149,19 @@ var ContactsApi = class extends BaseAPI {
986
1149
  addressesUpdate(addressId, addressUpdate, options) {
987
1150
  return ContactsApiFp(this.configuration).addressesUpdate(addressId, addressUpdate, options).then((request) => request(this.axios, this.basePath));
988
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
+ }
989
1165
  /**
990
1166
  *
991
1167
  * @summary Contacts Create
@@ -1022,16 +1198,28 @@ var ContactsApi = class extends BaseAPI {
1022
1198
  /**
1023
1199
  *
1024
1200
  * @summary Contacts List
1025
- * @param {Array<ContactTypeFilter>} [contactTypes]
1026
1201
  * @param {string} [searchString]
1202
+ * @param {string | null} [after] Cursor for keyset paging
1027
1203
  * @param {number} [limit]
1028
- * @param {number} [offset]
1029
1204
  * @param {*} [options] Override http request option.
1030
1205
  * @throws {RequiredError}
1031
1206
  * @memberof ContactsApi
1032
1207
  */
1033
- contactsList(contactTypes, searchString, limit, offset, options) {
1034
- return ContactsApiFp(this.configuration).contactsList(contactTypes, searchString, limit, offset, 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));
1035
1223
  }
1036
1224
  /**
1037
1225
  *
@@ -1045,6 +1233,19 @@ var ContactsApi = class extends BaseAPI {
1045
1233
  contactsUpdate(contactId, contactUpdate, options) {
1046
1234
  return ContactsApiFp(this.configuration).contactsUpdate(contactId, contactUpdate, options).then((request) => request(this.axios, this.basePath));
1047
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
+ }
1048
1249
  /**
1049
1250
  *
1050
1251
  * @summary Emails Create
@@ -1397,11 +1598,10 @@ var ListingsApiAxiosParamCreator = function(configuration) {
1397
1598
  /**
1398
1599
  * List all listings
1399
1600
  * @summary Listings List
1400
- * @param {string} [contactId]
1401
1601
  * @param {*} [options] Override http request option.
1402
1602
  * @throws {RequiredError}
1403
1603
  */
1404
- listingsList: async (contactId, options = {}) => {
1604
+ listingsList: async (options = {}) => {
1405
1605
  const localVarPath = `/listings`;
1406
1606
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1407
1607
  let baseOptions;
@@ -1411,9 +1611,6 @@ var ListingsApiAxiosParamCreator = function(configuration) {
1411
1611
  const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1412
1612
  const localVarHeaderParameter = {};
1413
1613
  const localVarQueryParameter = {};
1414
- if (contactId !== void 0) {
1415
- localVarQueryParameter["contactId"] = contactId;
1416
- }
1417
1614
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1418
1615
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1419
1616
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -1430,12 +1627,11 @@ var ListingsApiFp = function(configuration) {
1430
1627
  /**
1431
1628
  * List all listings
1432
1629
  * @summary Listings List
1433
- * @param {string} [contactId]
1434
1630
  * @param {*} [options] Override http request option.
1435
1631
  * @throws {RequiredError}
1436
1632
  */
1437
- async listingsList(contactId, options) {
1438
- const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(contactId, options);
1633
+ async listingsList(options) {
1634
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(options);
1439
1635
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1440
1636
  const localVarOperationServerBasePath = operationServerMap["ListingsApi.listingsList"]?.[localVarOperationServerIndex]?.url;
1441
1637
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -1448,12 +1644,11 @@ var ListingsApiFactory = function(configuration, basePath, axios) {
1448
1644
  /**
1449
1645
  * List all listings
1450
1646
  * @summary Listings List
1451
- * @param {string} [contactId]
1452
1647
  * @param {*} [options] Override http request option.
1453
1648
  * @throws {RequiredError}
1454
1649
  */
1455
- listingsList(contactId, options) {
1456
- return localVarFp.listingsList(contactId, options).then((request) => request(axios, basePath));
1650
+ listingsList(options) {
1651
+ return localVarFp.listingsList(options).then((request) => request(axios, basePath));
1457
1652
  }
1458
1653
  };
1459
1654
  };
@@ -1461,13 +1656,12 @@ var ListingsApi = class extends BaseAPI {
1461
1656
  /**
1462
1657
  * List all listings
1463
1658
  * @summary Listings List
1464
- * @param {string} [contactId]
1465
1659
  * @param {*} [options] Override http request option.
1466
1660
  * @throws {RequiredError}
1467
1661
  * @memberof ListingsApi
1468
1662
  */
1469
- listingsList(contactId, options) {
1470
- 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));
1471
1665
  }
1472
1666
  };
1473
1667
  var PhonesApiAxiosParamCreator = function(configuration) {
@@ -1779,6 +1973,38 @@ var UnboundApiAxiosParamCreator = function(configuration) {
1779
1973
  options: localVarRequestOptions
1780
1974
  };
1781
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
+ },
1782
2008
  /**
1783
2009
  *
1784
2010
  * @summary Contacts Create
@@ -1862,14 +2088,13 @@ var UnboundApiAxiosParamCreator = function(configuration) {
1862
2088
  /**
1863
2089
  *
1864
2090
  * @summary Contacts List
1865
- * @param {Array<ContactTypeFilter>} [contactTypes]
1866
2091
  * @param {string} [searchString]
2092
+ * @param {string | null} [after] Cursor for keyset paging
1867
2093
  * @param {number} [limit]
1868
- * @param {number} [offset]
1869
2094
  * @param {*} [options] Override http request option.
1870
2095
  * @throws {RequiredError}
1871
2096
  */
1872
- contactsList: async (contactTypes, searchString, limit, offset, options = {}) => {
2097
+ contactsList: async (searchString, after, limit, options = {}) => {
1873
2098
  const localVarPath = `/contacts`;
1874
2099
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1875
2100
  let baseOptions;
@@ -1879,21 +2104,50 @@ var UnboundApiAxiosParamCreator = function(configuration) {
1879
2104
  const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1880
2105
  const localVarHeaderParameter = {};
1881
2106
  const localVarQueryParameter = {};
1882
- if (contactTypes) {
1883
- localVarQueryParameter["contactTypes"] = contactTypes;
1884
- }
1885
2107
  if (searchString !== void 0) {
1886
2108
  localVarQueryParameter["searchString"] = searchString;
1887
2109
  }
2110
+ if (after !== void 0) {
2111
+ localVarQueryParameter["after"] = after;
2112
+ }
1888
2113
  if (limit !== void 0) {
1889
2114
  localVarQueryParameter["limit"] = limit;
1890
2115
  }
1891
- if (offset !== void 0) {
1892
- localVarQueryParameter["offset"] = offset;
2116
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2117
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2118
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2119
+ return {
2120
+ url: toPathString(localVarUrlObj),
2121
+ options: localVarRequestOptions
2122
+ };
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;
1893
2142
  }
2143
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
2144
+ const localVarHeaderParameter = {};
2145
+ const localVarQueryParameter = {};
2146
+ localVarHeaderParameter["Content-Type"] = "application/json";
1894
2147
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1895
2148
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1896
2149
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2150
+ localVarRequestOptions.data = serializeDataIfNeeded(deleteContactListing, localVarRequestOptions, configuration);
1897
2151
  return {
1898
2152
  url: toPathString(localVarUrlObj),
1899
2153
  options: localVarRequestOptions
@@ -1929,6 +2183,38 @@ var UnboundApiAxiosParamCreator = function(configuration) {
1929
2183
  options: localVarRequestOptions
1930
2184
  };
1931
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
+ },
1932
2218
  /**
1933
2219
  *
1934
2220
  * @summary Emails Create
@@ -2016,11 +2302,10 @@ var UnboundApiAxiosParamCreator = function(configuration) {
2016
2302
  /**
2017
2303
  * List all listings
2018
2304
  * @summary Listings List
2019
- * @param {string} [contactId]
2020
2305
  * @param {*} [options] Override http request option.
2021
2306
  * @throws {RequiredError}
2022
2307
  */
2023
- listingsList: async (contactId, options = {}) => {
2308
+ listingsList: async (options = {}) => {
2024
2309
  const localVarPath = `/listings`;
2025
2310
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2026
2311
  let baseOptions;
@@ -2030,9 +2315,6 @@ var UnboundApiAxiosParamCreator = function(configuration) {
2030
2315
  const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2031
2316
  const localVarHeaderParameter = {};
2032
2317
  const localVarQueryParameter = {};
2033
- if (contactId !== void 0) {
2034
- localVarQueryParameter["contactId"] = contactId;
2035
- }
2036
2318
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2037
2319
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2038
2320
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -2200,6 +2482,21 @@ var UnboundApiFp = function(configuration) {
2200
2482
  const localVarOperationServerBasePath = operationServerMap["UnboundApi.addressesUpdate"]?.[localVarOperationServerIndex]?.url;
2201
2483
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2202
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
+ },
2203
2500
  /**
2204
2501
  *
2205
2502
  * @summary Contacts Create
@@ -2242,19 +2539,33 @@ var UnboundApiFp = function(configuration) {
2242
2539
  /**
2243
2540
  *
2244
2541
  * @summary Contacts List
2245
- * @param {Array<ContactTypeFilter>} [contactTypes]
2246
2542
  * @param {string} [searchString]
2543
+ * @param {string | null} [after] Cursor for keyset paging
2247
2544
  * @param {number} [limit]
2248
- * @param {number} [offset]
2249
2545
  * @param {*} [options] Override http request option.
2250
2546
  * @throws {RequiredError}
2251
2547
  */
2252
- async contactsList(contactTypes, searchString, limit, offset, options) {
2253
- const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(contactTypes, searchString, limit, offset, options);
2548
+ async contactsList(searchString, after, limit, options) {
2549
+ const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(searchString, after, limit, options);
2254
2550
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2255
2551
  const localVarOperationServerBasePath = operationServerMap["UnboundApi.contactsList"]?.[localVarOperationServerIndex]?.url;
2256
2552
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2257
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
+ },
2258
2569
  /**
2259
2570
  *
2260
2571
  * @summary Contacts Update
@@ -2269,6 +2580,21 @@ var UnboundApiFp = function(configuration) {
2269
2580
  const localVarOperationServerBasePath = operationServerMap["UnboundApi.contactsUpdate"]?.[localVarOperationServerIndex]?.url;
2270
2581
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2271
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
+ },
2272
2598
  /**
2273
2599
  *
2274
2600
  * @summary Emails Create
@@ -2312,12 +2638,11 @@ var UnboundApiFp = function(configuration) {
2312
2638
  /**
2313
2639
  * List all listings
2314
2640
  * @summary Listings List
2315
- * @param {string} [contactId]
2316
2641
  * @param {*} [options] Override http request option.
2317
2642
  * @throws {RequiredError}
2318
2643
  */
2319
- async listingsList(contactId, options) {
2320
- const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(contactId, options);
2644
+ async listingsList(options) {
2645
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(options);
2321
2646
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2322
2647
  const localVarOperationServerBasePath = operationServerMap["UnboundApi.listingsList"]?.[localVarOperationServerIndex]?.url;
2323
2648
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2412,6 +2737,18 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
2412
2737
  addressesUpdate(addressId, addressUpdate, options) {
2413
2738
  return localVarFp.addressesUpdate(addressId, addressUpdate, options).then((request) => request(axios, basePath));
2414
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
+ },
2415
2752
  /**
2416
2753
  *
2417
2754
  * @summary Contacts Create
@@ -2445,15 +2782,26 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
2445
2782
  /**
2446
2783
  *
2447
2784
  * @summary Contacts List
2448
- * @param {Array<ContactTypeFilter>} [contactTypes]
2449
2785
  * @param {string} [searchString]
2786
+ * @param {string | null} [after] Cursor for keyset paging
2450
2787
  * @param {number} [limit]
2451
- * @param {number} [offset]
2452
2788
  * @param {*} [options] Override http request option.
2453
2789
  * @throws {RequiredError}
2454
2790
  */
2455
- contactsList(contactTypes, searchString, limit, offset, options) {
2456
- return localVarFp.contactsList(contactTypes, searchString, limit, offset, options).then((request) => request(axios, basePath));
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
2800
+ * @param {*} [options] Override http request option.
2801
+ * @throws {RequiredError}
2802
+ */
2803
+ contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
2804
+ return localVarFp.contactsRemoveListing(contactId, listingId, deleteContactListing, options).then((request) => request(axios, basePath));
2457
2805
  },
2458
2806
  /**
2459
2807
  *
@@ -2466,6 +2814,18 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
2466
2814
  contactsUpdate(contactId, contactUpdate, options) {
2467
2815
  return localVarFp.contactsUpdate(contactId, contactUpdate, options).then((request) => request(axios, basePath));
2468
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
+ },
2469
2829
  /**
2470
2830
  *
2471
2831
  * @summary Emails Create
@@ -2500,12 +2860,11 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
2500
2860
  /**
2501
2861
  * List all listings
2502
2862
  * @summary Listings List
2503
- * @param {string} [contactId]
2504
2863
  * @param {*} [options] Override http request option.
2505
2864
  * @throws {RequiredError}
2506
2865
  */
2507
- listingsList(contactId, options) {
2508
- return localVarFp.listingsList(contactId, options).then((request) => request(axios, basePath));
2866
+ listingsList(options) {
2867
+ return localVarFp.listingsList(options).then((request) => request(axios, basePath));
2509
2868
  },
2510
2869
  /**
2511
2870
  *
@@ -2586,6 +2945,19 @@ var UnboundApi = class extends BaseAPI {
2586
2945
  addressesUpdate(addressId, addressUpdate, options) {
2587
2946
  return UnboundApiFp(this.configuration).addressesUpdate(addressId, addressUpdate, options).then((request) => request(this.axios, this.basePath));
2588
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
+ }
2589
2961
  /**
2590
2962
  *
2591
2963
  * @summary Contacts Create
@@ -2622,16 +2994,28 @@ var UnboundApi = class extends BaseAPI {
2622
2994
  /**
2623
2995
  *
2624
2996
  * @summary Contacts List
2625
- * @param {Array<ContactTypeFilter>} [contactTypes]
2626
2997
  * @param {string} [searchString]
2998
+ * @param {string | null} [after] Cursor for keyset paging
2627
2999
  * @param {number} [limit]
2628
- * @param {number} [offset]
2629
3000
  * @param {*} [options] Override http request option.
2630
3001
  * @throws {RequiredError}
2631
3002
  * @memberof UnboundApi
2632
3003
  */
2633
- contactsList(contactTypes, searchString, limit, offset, options) {
2634
- return UnboundApiFp(this.configuration).contactsList(contactTypes, searchString, limit, offset, 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));
2635
3019
  }
2636
3020
  /**
2637
3021
  *
@@ -2645,6 +3029,19 @@ var UnboundApi = class extends BaseAPI {
2645
3029
  contactsUpdate(contactId, contactUpdate, options) {
2646
3030
  return UnboundApiFp(this.configuration).contactsUpdate(contactId, contactUpdate, options).then((request) => request(this.axios, this.basePath));
2647
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
+ }
2648
3045
  /**
2649
3046
  *
2650
3047
  * @summary Emails Create
@@ -2682,13 +3079,12 @@ var UnboundApi = class extends BaseAPI {
2682
3079
  /**
2683
3080
  * List all listings
2684
3081
  * @summary Listings List
2685
- * @param {string} [contactId]
2686
3082
  * @param {*} [options] Override http request option.
2687
3083
  * @throws {RequiredError}
2688
3084
  * @memberof UnboundApi
2689
3085
  */
2690
- listingsList(contactId, options) {
2691
- return UnboundApiFp(this.configuration).listingsList(contactId, options).then((request) => request(this.axios, this.basePath));
3086
+ listingsList(options) {
3087
+ return UnboundApiFp(this.configuration).listingsList(options).then((request) => request(this.axios, this.basePath));
2692
3088
  }
2693
3089
  /**
2694
3090
  *
@@ -2831,12 +3227,11 @@ export {
2831
3227
  AddressesApiFactory,
2832
3228
  AddressesApiFp,
2833
3229
  Configuration,
2834
- ContactTypeFilter,
3230
+ ContactListingType,
2835
3231
  ContactsApi,
2836
3232
  ContactsApiAxiosParamCreator,
2837
3233
  ContactsApiFactory,
2838
3234
  ContactsApiFp,
2839
- DataSource,
2840
3235
  EmailsApi,
2841
3236
  EmailsApiAxiosParamCreator,
2842
3237
  EmailsApiFactory,