@ember-home/unbound-ts-client 0.0.17 → 0.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +396 -75
- package/dist/index.d.ts +396 -75
- package/dist/index.js +542 -147
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +475 -80
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -75,16 +75,8 @@ var createRequestFunction = function(axiosArgs, globalAxios3, BASE_PATH2, config
|
|
|
75
75
|
};
|
|
76
76
|
|
|
77
77
|
// src/api.ts
|
|
78
|
-
var
|
|
79
|
-
|
|
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 (
|
|
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
|
-
|
|
497
|
-
|
|
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 = _optionalChain([operationServerMap, 'access', _23 => _23["ContactsApi.addressesUpdate"], 'optionalAccess', _24 => _24[localVarOperationServerIndex], 'optionalAccess', _25 => _25.url]);
|
|
693
777
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, 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 = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _26 => _26.serverIndex]), () => ( 0));
|
|
791
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _27 => _27["ContactsApi.contactsAddListing"], 'optionalAccess', _28 => _28[localVarOperationServerIndex], 'optionalAccess', _29 => _29.url]);
|
|
792
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
793
|
+
},
|
|
695
794
|
/**
|
|
696
795
|
*
|
|
697
796
|
* @summary Contacts Create
|
|
@@ -701,8 +800,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
701
800
|
*/
|
|
702
801
|
async contactsCreate(contactCreate, options) {
|
|
703
802
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsCreate(contactCreate, options);
|
|
704
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
705
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
803
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _30 => _30.serverIndex]), () => ( 0));
|
|
804
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _31 => _31["ContactsApi.contactsCreate"], 'optionalAccess', _32 => _32[localVarOperationServerIndex], 'optionalAccess', _33 => _33.url]);
|
|
706
805
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
707
806
|
},
|
|
708
807
|
/**
|
|
@@ -714,8 +813,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
714
813
|
*/
|
|
715
814
|
async contactsDelete(contactId, options) {
|
|
716
815
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsDelete(contactId, options);
|
|
717
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
718
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
816
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _34 => _34.serverIndex]), () => ( 0));
|
|
817
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _35 => _35["ContactsApi.contactsDelete"], 'optionalAccess', _36 => _36[localVarOperationServerIndex], 'optionalAccess', _37 => _37.url]);
|
|
719
818
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
720
819
|
},
|
|
721
820
|
/**
|
|
@@ -727,24 +826,38 @@ var ContactsApiFp = function(configuration) {
|
|
|
727
826
|
*/
|
|
728
827
|
async contactsGet(contactId, options) {
|
|
729
828
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsGet(contactId, options);
|
|
730
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
731
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
829
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _38 => _38.serverIndex]), () => ( 0));
|
|
830
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _39 => _39["ContactsApi.contactsGet"], 'optionalAccess', _40 => _40[localVarOperationServerIndex], 'optionalAccess', _41 => _41.url]);
|
|
732
831
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
733
832
|
},
|
|
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(
|
|
745
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(
|
|
746
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
747
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
842
|
+
async contactsList(searchString, after, limit, options) {
|
|
843
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(searchString, after, limit, options);
|
|
844
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _42 => _42.serverIndex]), () => ( 0));
|
|
845
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _43 => _43["ContactsApi.contactsList"], 'optionalAccess', _44 => _44[localVarOperationServerIndex], 'optionalAccess', _45 => _45.url]);
|
|
846
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
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 = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _46 => _46.serverIndex]), () => ( 0));
|
|
860
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _47 => _47["ContactsApi.contactsRemoveListing"], 'optionalAccess', _48 => _48[localVarOperationServerIndex], 'optionalAccess', _49 => _49.url]);
|
|
748
861
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
749
862
|
},
|
|
750
863
|
/**
|
|
@@ -757,8 +870,23 @@ var ContactsApiFp = function(configuration) {
|
|
|
757
870
|
*/
|
|
758
871
|
async contactsUpdate(contactId, contactUpdate, options) {
|
|
759
872
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdate(contactId, contactUpdate, options);
|
|
760
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
761
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
873
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _50 => _50.serverIndex]), () => ( 0));
|
|
874
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _51 => _51["ContactsApi.contactsUpdate"], 'optionalAccess', _52 => _52[localVarOperationServerIndex], 'optionalAccess', _53 => _53.url]);
|
|
875
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
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 = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _54 => _54.serverIndex]), () => ( 0));
|
|
889
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _55 => _55["ContactsApi.contactsUpdateListing"], 'optionalAccess', _56 => _56[localVarOperationServerIndex], 'optionalAccess', _57 => _57.url]);
|
|
762
890
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
763
891
|
},
|
|
764
892
|
/**
|
|
@@ -771,8 +899,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
771
899
|
*/
|
|
772
900
|
async emailsCreate(contactId, emailCreate, options) {
|
|
773
901
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, emailCreate, options);
|
|
774
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
775
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
902
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _58 => _58.serverIndex]), () => ( 0));
|
|
903
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _59 => _59["ContactsApi.emailsCreate"], 'optionalAccess', _60 => _60[localVarOperationServerIndex], 'optionalAccess', _61 => _61.url]);
|
|
776
904
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
777
905
|
},
|
|
778
906
|
/**
|
|
@@ -784,8 +912,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
784
912
|
*/
|
|
785
913
|
async emailsDelete(emailId, options) {
|
|
786
914
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
787
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
788
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
915
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _62 => _62.serverIndex]), () => ( 0));
|
|
916
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _63 => _63["ContactsApi.emailsDelete"], 'optionalAccess', _64 => _64[localVarOperationServerIndex], 'optionalAccess', _65 => _65.url]);
|
|
789
917
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
790
918
|
},
|
|
791
919
|
/**
|
|
@@ -798,8 +926,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
798
926
|
*/
|
|
799
927
|
async phonesCreate(contactId, phoneCreate, options) {
|
|
800
928
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, phoneCreate, options);
|
|
801
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
802
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
929
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _66 => _66.serverIndex]), () => ( 0));
|
|
930
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _67 => _67["ContactsApi.phonesCreate"], 'optionalAccess', _68 => _68[localVarOperationServerIndex], 'optionalAccess', _69 => _69.url]);
|
|
803
931
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
804
932
|
},
|
|
805
933
|
/**
|
|
@@ -811,8 +939,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
811
939
|
*/
|
|
812
940
|
async phonesDelete(phoneId, options) {
|
|
813
941
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
814
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
815
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
942
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _70 => _70.serverIndex]), () => ( 0));
|
|
943
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _71 => _71["ContactsApi.phonesDelete"], 'optionalAccess', _72 => _72[localVarOperationServerIndex], 'optionalAccess', _73 => _73.url]);
|
|
816
944
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
817
945
|
}
|
|
818
946
|
};
|
|
@@ -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(
|
|
896
|
-
return localVarFp.contactsList(
|
|
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(
|
|
1034
|
-
return ContactsApiFp(this.configuration).contactsList(
|
|
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
|
|
@@ -1165,8 +1366,8 @@ var EmailsApiFp = function(configuration) {
|
|
|
1165
1366
|
*/
|
|
1166
1367
|
async emailsCreate(contactId, emailCreate, options) {
|
|
1167
1368
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, emailCreate, options);
|
|
1168
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1169
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1369
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _74 => _74.serverIndex]), () => ( 0));
|
|
1370
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _75 => _75["EmailsApi.emailsCreate"], 'optionalAccess', _76 => _76[localVarOperationServerIndex], 'optionalAccess', _77 => _77.url]);
|
|
1170
1371
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1171
1372
|
},
|
|
1172
1373
|
/**
|
|
@@ -1178,8 +1379,8 @@ var EmailsApiFp = function(configuration) {
|
|
|
1178
1379
|
*/
|
|
1179
1380
|
async emailsDelete(emailId, options) {
|
|
1180
1381
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
1181
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1182
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1382
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _78 => _78.serverIndex]), () => ( 0));
|
|
1383
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _79 => _79["EmailsApi.emailsDelete"], 'optionalAccess', _80 => _80[localVarOperationServerIndex], 'optionalAccess', _81 => _81.url]);
|
|
1183
1384
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1184
1385
|
}
|
|
1185
1386
|
};
|
|
@@ -1280,8 +1481,8 @@ var HostawayApiFp = function(configuration) {
|
|
|
1280
1481
|
*/
|
|
1281
1482
|
async webhook(hostawayWebhook, options) {
|
|
1282
1483
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(hostawayWebhook, options);
|
|
1283
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1284
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1484
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _82 => _82.serverIndex]), () => ( 0));
|
|
1485
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _83 => _83["HostawayApi.webhook"], 'optionalAccess', _84 => _84[localVarOperationServerIndex], 'optionalAccess', _85 => _85.url]);
|
|
1285
1486
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1286
1487
|
}
|
|
1287
1488
|
};
|
|
@@ -1358,8 +1559,8 @@ var InquiriesApiFp = function(configuration) {
|
|
|
1358
1559
|
*/
|
|
1359
1560
|
async inquiriesList(contactId, options) {
|
|
1360
1561
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
1361
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1362
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1562
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _86 => _86.serverIndex]), () => ( 0));
|
|
1563
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _87 => _87["InquiriesApi.inquiriesList"], 'optionalAccess', _88 => _88[localVarOperationServerIndex], 'optionalAccess', _89 => _89.url]);
|
|
1363
1564
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1364
1565
|
}
|
|
1365
1566
|
};
|
|
@@ -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 (
|
|
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,14 +1627,13 @@ 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(
|
|
1438
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(
|
|
1439
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1440
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1633
|
+
async listingsList(options) {
|
|
1634
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(options);
|
|
1635
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _90 => _90.serverIndex]), () => ( 0));
|
|
1636
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _91 => _91["ListingsApi.listingsList"], 'optionalAccess', _92 => _92[localVarOperationServerIndex], 'optionalAccess', _93 => _93.url]);
|
|
1441
1637
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1442
1638
|
}
|
|
1443
1639
|
};
|
|
@@ -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(
|
|
1456
|
-
return localVarFp.listingsList(
|
|
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(
|
|
1470
|
-
return ListingsApiFp(this.configuration).listingsList(
|
|
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) {
|
|
@@ -1543,8 +1737,8 @@ var PhonesApiFp = function(configuration) {
|
|
|
1543
1737
|
*/
|
|
1544
1738
|
async phonesCreate(contactId, phoneCreate, options) {
|
|
1545
1739
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, phoneCreate, options);
|
|
1546
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1547
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1740
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _94 => _94.serverIndex]), () => ( 0));
|
|
1741
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _95 => _95["PhonesApi.phonesCreate"], 'optionalAccess', _96 => _96[localVarOperationServerIndex], 'optionalAccess', _97 => _97.url]);
|
|
1548
1742
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1549
1743
|
},
|
|
1550
1744
|
/**
|
|
@@ -1556,8 +1750,8 @@ var PhonesApiFp = function(configuration) {
|
|
|
1556
1750
|
*/
|
|
1557
1751
|
async phonesDelete(phoneId, options) {
|
|
1558
1752
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
1559
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1560
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1753
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _98 => _98.serverIndex]), () => ( 0));
|
|
1754
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _99 => _99["PhonesApi.phonesDelete"], 'optionalAccess', _100 => _100[localVarOperationServerIndex], 'optionalAccess', _101 => _101.url]);
|
|
1561
1755
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1562
1756
|
}
|
|
1563
1757
|
};
|
|
@@ -1657,8 +1851,8 @@ var ReservationsApiFp = function(configuration) {
|
|
|
1657
1851
|
*/
|
|
1658
1852
|
async reservationsList(contactId, options) {
|
|
1659
1853
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(contactId, options);
|
|
1660
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1661
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1854
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _102 => _102.serverIndex]), () => ( 0));
|
|
1855
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _103 => _103["ReservationsApi.reservationsList"], 'optionalAccess', _104 => _104[localVarOperationServerIndex], 'optionalAccess', _105 => _105.url]);
|
|
1662
1856
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1663
1857
|
}
|
|
1664
1858
|
};
|
|
@@ -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 (
|
|
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
|
-
|
|
1892
|
-
|
|
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 (
|
|
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 };
|
|
@@ -2169,8 +2451,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
2169
2451
|
*/
|
|
2170
2452
|
async addressesCreate(contactId, addressCreate, options) {
|
|
2171
2453
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, addressCreate, options);
|
|
2172
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2173
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2454
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _106 => _106.serverIndex]), () => ( 0));
|
|
2455
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _107 => _107["UnboundApi.addressesCreate"], 'optionalAccess', _108 => _108[localVarOperationServerIndex], 'optionalAccess', _109 => _109.url]);
|
|
2174
2456
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2175
2457
|
},
|
|
2176
2458
|
/**
|
|
@@ -2182,8 +2464,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
2182
2464
|
*/
|
|
2183
2465
|
async addressesDelete(addressId, options) {
|
|
2184
2466
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesDelete(addressId, options);
|
|
2185
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2186
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2467
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _110 => _110.serverIndex]), () => ( 0));
|
|
2468
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _111 => _111["UnboundApi.addressesDelete"], 'optionalAccess', _112 => _112[localVarOperationServerIndex], 'optionalAccess', _113 => _113.url]);
|
|
2187
2469
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2188
2470
|
},
|
|
2189
2471
|
/**
|
|
@@ -2196,8 +2478,23 @@ var UnboundApiFp = function(configuration) {
|
|
|
2196
2478
|
*/
|
|
2197
2479
|
async addressesUpdate(addressId, addressUpdate, options) {
|
|
2198
2480
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, addressUpdate, options);
|
|
2199
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2200
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2481
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _114 => _114.serverIndex]), () => ( 0));
|
|
2482
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _115 => _115["UnboundApi.addressesUpdate"], 'optionalAccess', _116 => _116[localVarOperationServerIndex], 'optionalAccess', _117 => _117.url]);
|
|
2483
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
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 = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _118 => _118.serverIndex]), () => ( 0));
|
|
2497
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _119 => _119["UnboundApi.contactsAddListing"], 'optionalAccess', _120 => _120[localVarOperationServerIndex], 'optionalAccess', _121 => _121.url]);
|
|
2201
2498
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2202
2499
|
},
|
|
2203
2500
|
/**
|
|
@@ -2209,8 +2506,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
2209
2506
|
*/
|
|
2210
2507
|
async contactsCreate(contactCreate, options) {
|
|
2211
2508
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsCreate(contactCreate, options);
|
|
2212
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2213
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2509
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _122 => _122.serverIndex]), () => ( 0));
|
|
2510
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _123 => _123["UnboundApi.contactsCreate"], 'optionalAccess', _124 => _124[localVarOperationServerIndex], 'optionalAccess', _125 => _125.url]);
|
|
2214
2511
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2215
2512
|
},
|
|
2216
2513
|
/**
|
|
@@ -2222,8 +2519,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
2222
2519
|
*/
|
|
2223
2520
|
async contactsDelete(contactId, options) {
|
|
2224
2521
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsDelete(contactId, options);
|
|
2225
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2226
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2522
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _126 => _126.serverIndex]), () => ( 0));
|
|
2523
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _127 => _127["UnboundApi.contactsDelete"], 'optionalAccess', _128 => _128[localVarOperationServerIndex], 'optionalAccess', _129 => _129.url]);
|
|
2227
2524
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2228
2525
|
},
|
|
2229
2526
|
/**
|
|
@@ -2235,24 +2532,38 @@ var UnboundApiFp = function(configuration) {
|
|
|
2235
2532
|
*/
|
|
2236
2533
|
async contactsGet(contactId, options) {
|
|
2237
2534
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsGet(contactId, options);
|
|
2238
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2239
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2535
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _130 => _130.serverIndex]), () => ( 0));
|
|
2536
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _131 => _131["UnboundApi.contactsGet"], 'optionalAccess', _132 => _132[localVarOperationServerIndex], 'optionalAccess', _133 => _133.url]);
|
|
2240
2537
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2241
2538
|
},
|
|
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(
|
|
2253
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(
|
|
2254
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2255
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2548
|
+
async contactsList(searchString, after, limit, options) {
|
|
2549
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(searchString, after, limit, options);
|
|
2550
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _134 => _134.serverIndex]), () => ( 0));
|
|
2551
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _135 => _135["UnboundApi.contactsList"], 'optionalAccess', _136 => _136[localVarOperationServerIndex], 'optionalAccess', _137 => _137.url]);
|
|
2552
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
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 = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _138 => _138.serverIndex]), () => ( 0));
|
|
2566
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _139 => _139["UnboundApi.contactsRemoveListing"], 'optionalAccess', _140 => _140[localVarOperationServerIndex], 'optionalAccess', _141 => _141.url]);
|
|
2256
2567
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2257
2568
|
},
|
|
2258
2569
|
/**
|
|
@@ -2265,8 +2576,23 @@ var UnboundApiFp = function(configuration) {
|
|
|
2265
2576
|
*/
|
|
2266
2577
|
async contactsUpdate(contactId, contactUpdate, options) {
|
|
2267
2578
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdate(contactId, contactUpdate, options);
|
|
2268
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2269
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2579
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _142 => _142.serverIndex]), () => ( 0));
|
|
2580
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _143 => _143["UnboundApi.contactsUpdate"], 'optionalAccess', _144 => _144[localVarOperationServerIndex], 'optionalAccess', _145 => _145.url]);
|
|
2581
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
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 = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _146 => _146.serverIndex]), () => ( 0));
|
|
2595
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _147 => _147["UnboundApi.contactsUpdateListing"], 'optionalAccess', _148 => _148[localVarOperationServerIndex], 'optionalAccess', _149 => _149.url]);
|
|
2270
2596
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2271
2597
|
},
|
|
2272
2598
|
/**
|
|
@@ -2279,8 +2605,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
2279
2605
|
*/
|
|
2280
2606
|
async emailsCreate(contactId, emailCreate, options) {
|
|
2281
2607
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, emailCreate, options);
|
|
2282
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2283
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2608
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _150 => _150.serverIndex]), () => ( 0));
|
|
2609
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _151 => _151["UnboundApi.emailsCreate"], 'optionalAccess', _152 => _152[localVarOperationServerIndex], 'optionalAccess', _153 => _153.url]);
|
|
2284
2610
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2285
2611
|
},
|
|
2286
2612
|
/**
|
|
@@ -2292,8 +2618,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
2292
2618
|
*/
|
|
2293
2619
|
async emailsDelete(emailId, options) {
|
|
2294
2620
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
2295
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2296
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2621
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _154 => _154.serverIndex]), () => ( 0));
|
|
2622
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _155 => _155["UnboundApi.emailsDelete"], 'optionalAccess', _156 => _156[localVarOperationServerIndex], 'optionalAccess', _157 => _157.url]);
|
|
2297
2623
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2298
2624
|
},
|
|
2299
2625
|
/**
|
|
@@ -2305,21 +2631,20 @@ var UnboundApiFp = function(configuration) {
|
|
|
2305
2631
|
*/
|
|
2306
2632
|
async inquiriesList(contactId, options) {
|
|
2307
2633
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
2308
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2309
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2634
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _158 => _158.serverIndex]), () => ( 0));
|
|
2635
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _159 => _159["UnboundApi.inquiriesList"], 'optionalAccess', _160 => _160[localVarOperationServerIndex], 'optionalAccess', _161 => _161.url]);
|
|
2310
2636
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2311
2637
|
},
|
|
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(
|
|
2320
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(
|
|
2321
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2322
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2644
|
+
async listingsList(options) {
|
|
2645
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(options);
|
|
2646
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _162 => _162.serverIndex]), () => ( 0));
|
|
2647
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _163 => _163["UnboundApi.listingsList"], 'optionalAccess', _164 => _164[localVarOperationServerIndex], 'optionalAccess', _165 => _165.url]);
|
|
2323
2648
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2324
2649
|
},
|
|
2325
2650
|
/**
|
|
@@ -2332,8 +2657,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
2332
2657
|
*/
|
|
2333
2658
|
async phonesCreate(contactId, phoneCreate, options) {
|
|
2334
2659
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, phoneCreate, options);
|
|
2335
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2336
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2660
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _166 => _166.serverIndex]), () => ( 0));
|
|
2661
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _167 => _167["UnboundApi.phonesCreate"], 'optionalAccess', _168 => _168[localVarOperationServerIndex], 'optionalAccess', _169 => _169.url]);
|
|
2337
2662
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2338
2663
|
},
|
|
2339
2664
|
/**
|
|
@@ -2345,8 +2670,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
2345
2670
|
*/
|
|
2346
2671
|
async phonesDelete(phoneId, options) {
|
|
2347
2672
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
2348
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2349
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2673
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _170 => _170.serverIndex]), () => ( 0));
|
|
2674
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _171 => _171["UnboundApi.phonesDelete"], 'optionalAccess', _172 => _172[localVarOperationServerIndex], 'optionalAccess', _173 => _173.url]);
|
|
2350
2675
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2351
2676
|
},
|
|
2352
2677
|
/**
|
|
@@ -2358,8 +2683,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
2358
2683
|
*/
|
|
2359
2684
|
async reservationsList(contactId, options) {
|
|
2360
2685
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(contactId, options);
|
|
2361
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2362
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2686
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _174 => _174.serverIndex]), () => ( 0));
|
|
2687
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _175 => _175["UnboundApi.reservationsList"], 'optionalAccess', _176 => _176[localVarOperationServerIndex], 'optionalAccess', _177 => _177.url]);
|
|
2363
2688
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2364
2689
|
},
|
|
2365
2690
|
/**
|
|
@@ -2371,8 +2696,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
2371
2696
|
*/
|
|
2372
2697
|
async webhook(hostawayWebhook, options) {
|
|
2373
2698
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(hostawayWebhook, options);
|
|
2374
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2375
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2699
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _178 => _178.serverIndex]), () => ( 0));
|
|
2700
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _179 => _179["UnboundApi.webhook"], 'optionalAccess', _180 => _180[localVarOperationServerIndex], 'optionalAccess', _181 => _181.url]);
|
|
2376
2701
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2377
2702
|
}
|
|
2378
2703
|
};
|
|
@@ -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(
|
|
2456
|
-
return localVarFp.contactsList(
|
|
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(
|
|
2508
|
-
return localVarFp.listingsList(
|
|
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(
|
|
2634
|
-
return UnboundApiFp(this.configuration).contactsList(
|
|
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(
|
|
2691
|
-
return UnboundApiFp(this.configuration).listingsList(
|
|
3086
|
+
listingsList(options) {
|
|
3087
|
+
return UnboundApiFp(this.configuration).listingsList(options).then((request) => request(this.axios, this.basePath));
|
|
2692
3088
|
}
|
|
2693
3089
|
/**
|
|
2694
3090
|
*
|
|
@@ -2805,7 +3201,7 @@ var Configuration = class {
|
|
|
2805
3201
|
this.baseOptions = {
|
|
2806
3202
|
...param.baseOptions,
|
|
2807
3203
|
headers: {
|
|
2808
|
-
..._optionalChain([param, 'access',
|
|
3204
|
+
..._optionalChain([param, 'access', _182 => _182.baseOptions, 'optionalAccess', _183 => _183.headers])
|
|
2809
3205
|
}
|
|
2810
3206
|
};
|
|
2811
3207
|
this.formDataCtor = param.formDataCtor;
|
|
@@ -2864,6 +3260,5 @@ var Configuration = class {
|
|
|
2864
3260
|
|
|
2865
3261
|
|
|
2866
3262
|
|
|
2867
|
-
|
|
2868
|
-
exports.AddressesApi = AddressesApi; exports.AddressesApiAxiosParamCreator = AddressesApiAxiosParamCreator; exports.AddressesApiFactory = AddressesApiFactory; exports.AddressesApiFp = AddressesApiFp; exports.Configuration = Configuration; exports.ContactTypeFilter = ContactTypeFilter; exports.ContactsApi = ContactsApi; exports.ContactsApiAxiosParamCreator = ContactsApiAxiosParamCreator; exports.ContactsApiFactory = ContactsApiFactory; exports.ContactsApiFp = ContactsApiFp; exports.DataSource = DataSource; exports.EmailsApi = EmailsApi; exports.EmailsApiAxiosParamCreator = EmailsApiAxiosParamCreator; exports.EmailsApiFactory = EmailsApiFactory; exports.EmailsApiFp = EmailsApiFp; exports.HostawayApi = HostawayApi; exports.HostawayApiAxiosParamCreator = HostawayApiAxiosParamCreator; exports.HostawayApiFactory = HostawayApiFactory; exports.HostawayApiFp = HostawayApiFp; exports.InquiriesApi = InquiriesApi; exports.InquiriesApiAxiosParamCreator = InquiriesApiAxiosParamCreator; exports.InquiriesApiFactory = InquiriesApiFactory; exports.InquiriesApiFp = InquiriesApiFp; exports.ListingsApi = ListingsApi; exports.ListingsApiAxiosParamCreator = ListingsApiAxiosParamCreator; exports.ListingsApiFactory = ListingsApiFactory; exports.ListingsApiFp = ListingsApiFp; exports.PhonesApi = PhonesApi; exports.PhonesApiAxiosParamCreator = PhonesApiAxiosParamCreator; exports.PhonesApiFactory = PhonesApiFactory; exports.PhonesApiFp = PhonesApiFp; exports.ReservationsApi = ReservationsApi; exports.ReservationsApiAxiosParamCreator = ReservationsApiAxiosParamCreator; exports.ReservationsApiFactory = ReservationsApiFactory; exports.ReservationsApiFp = ReservationsApiFp; exports.UnboundApi = UnboundApi; exports.UnboundApiAxiosParamCreator = UnboundApiAxiosParamCreator; exports.UnboundApiFactory = UnboundApiFactory; exports.UnboundApiFp = UnboundApiFp;
|
|
3263
|
+
exports.AddressesApi = AddressesApi; exports.AddressesApiAxiosParamCreator = AddressesApiAxiosParamCreator; exports.AddressesApiFactory = AddressesApiFactory; exports.AddressesApiFp = AddressesApiFp; exports.Configuration = Configuration; exports.ContactListingType = ContactListingType; exports.ContactsApi = ContactsApi; exports.ContactsApiAxiosParamCreator = ContactsApiAxiosParamCreator; exports.ContactsApiFactory = ContactsApiFactory; exports.ContactsApiFp = ContactsApiFp; exports.EmailsApi = EmailsApi; exports.EmailsApiAxiosParamCreator = EmailsApiAxiosParamCreator; exports.EmailsApiFactory = EmailsApiFactory; exports.EmailsApiFp = EmailsApiFp; exports.HostawayApi = HostawayApi; exports.HostawayApiAxiosParamCreator = HostawayApiAxiosParamCreator; exports.HostawayApiFactory = HostawayApiFactory; exports.HostawayApiFp = HostawayApiFp; exports.InquiriesApi = InquiriesApi; exports.InquiriesApiAxiosParamCreator = InquiriesApiAxiosParamCreator; exports.InquiriesApiFactory = InquiriesApiFactory; exports.InquiriesApiFp = InquiriesApiFp; exports.ListingsApi = ListingsApi; exports.ListingsApiAxiosParamCreator = ListingsApiAxiosParamCreator; exports.ListingsApiFactory = ListingsApiFactory; exports.ListingsApiFp = ListingsApiFp; exports.PhonesApi = PhonesApi; exports.PhonesApiAxiosParamCreator = PhonesApiAxiosParamCreator; exports.PhonesApiFactory = PhonesApiFactory; exports.PhonesApiFp = PhonesApiFp; exports.ReservationsApi = ReservationsApi; exports.ReservationsApiAxiosParamCreator = ReservationsApiAxiosParamCreator; exports.ReservationsApiFactory = ReservationsApiFactory; exports.ReservationsApiFp = ReservationsApiFp; exports.UnboundApi = UnboundApi; exports.UnboundApiAxiosParamCreator = UnboundApiAxiosParamCreator; exports.UnboundApiFactory = UnboundApiFactory; exports.UnboundApiFp = UnboundApiFp;
|
|
2869
3264
|
//# sourceMappingURL=index.js.map
|