@ember-home/unbound-ts-client 0.0.38 → 0.0.40
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 +290 -192
- package/dist/index.d.ts +290 -192
- package/dist/index.js +527 -286
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +390 -149
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -117,7 +117,8 @@ var ReservationChannelTypes = {
|
|
|
117
117
|
Marriott: "MARRIOTT",
|
|
118
118
|
Partner: "PARTNER",
|
|
119
119
|
Gds: "GDS",
|
|
120
|
-
Google: "GOOGLE"
|
|
120
|
+
Google: "GOOGLE",
|
|
121
|
+
UnboundDirect: "UNBOUND_DIRECT"
|
|
121
122
|
};
|
|
122
123
|
var ReservationStatus = {
|
|
123
124
|
Cancelled: "CANCELLED",
|
|
@@ -305,6 +306,32 @@ var ContactsApiAxiosParamCreator = function(configuration) {
|
|
|
305
306
|
options: localVarRequestOptions
|
|
306
307
|
};
|
|
307
308
|
},
|
|
309
|
+
/**
|
|
310
|
+
* Addresses Get
|
|
311
|
+
* @summary Addresses Get
|
|
312
|
+
* @param {string} addressId
|
|
313
|
+
* @param {*} [options] Override http request option.
|
|
314
|
+
* @throws {RequiredError}
|
|
315
|
+
*/
|
|
316
|
+
addressesGet: async (addressId, options = {}) => {
|
|
317
|
+
assertParamExists("addressesGet", "addressId", addressId);
|
|
318
|
+
const localVarPath = `/addresses/{addressId}`.replace(`{${"addressId"}}`, encodeURIComponent(String(addressId)));
|
|
319
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
320
|
+
let baseOptions;
|
|
321
|
+
if (configuration) {
|
|
322
|
+
baseOptions = configuration.baseOptions;
|
|
323
|
+
}
|
|
324
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
325
|
+
const localVarHeaderParameter = {};
|
|
326
|
+
const localVarQueryParameter = {};
|
|
327
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
328
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
329
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
330
|
+
return {
|
|
331
|
+
url: toPathString(localVarUrlObj),
|
|
332
|
+
options: localVarRequestOptions
|
|
333
|
+
};
|
|
334
|
+
},
|
|
308
335
|
/**
|
|
309
336
|
* Addresses Update
|
|
310
337
|
* @summary Addresses Update
|
|
@@ -702,17 +729,17 @@ var ContactsApiAxiosParamCreator = function(configuration) {
|
|
|
702
729
|
};
|
|
703
730
|
},
|
|
704
731
|
/**
|
|
705
|
-
*
|
|
706
|
-
* @summary
|
|
732
|
+
* Phones Create
|
|
733
|
+
* @summary Phones Create
|
|
707
734
|
* @param {string} contactId
|
|
708
|
-
* @param {
|
|
735
|
+
* @param {APIPhoneCreate} aPIPhoneCreate
|
|
709
736
|
* @param {*} [options] Override http request option.
|
|
710
737
|
* @throws {RequiredError}
|
|
711
738
|
*/
|
|
712
|
-
|
|
713
|
-
assertParamExists("
|
|
714
|
-
assertParamExists("
|
|
715
|
-
const localVarPath = `/contacts/{contactId}/
|
|
739
|
+
phonesCreate: async (contactId, aPIPhoneCreate, options = {}) => {
|
|
740
|
+
assertParamExists("phonesCreate", "contactId", contactId);
|
|
741
|
+
assertParamExists("phonesCreate", "aPIPhoneCreate", aPIPhoneCreate);
|
|
742
|
+
const localVarPath = `/contacts/{contactId}/phones`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
716
743
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
717
744
|
let baseOptions;
|
|
718
745
|
if (configuration) {
|
|
@@ -725,22 +752,22 @@ var ContactsApiAxiosParamCreator = function(configuration) {
|
|
|
725
752
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
726
753
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
727
754
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
728
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
755
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIPhoneCreate, localVarRequestOptions, configuration);
|
|
729
756
|
return {
|
|
730
757
|
url: toPathString(localVarUrlObj),
|
|
731
758
|
options: localVarRequestOptions
|
|
732
759
|
};
|
|
733
760
|
},
|
|
734
761
|
/**
|
|
735
|
-
*
|
|
736
|
-
* @summary
|
|
737
|
-
* @param {string}
|
|
762
|
+
* Phones Delete
|
|
763
|
+
* @summary Phones Delete
|
|
764
|
+
* @param {string} phoneId
|
|
738
765
|
* @param {*} [options] Override http request option.
|
|
739
766
|
* @throws {RequiredError}
|
|
740
767
|
*/
|
|
741
|
-
|
|
742
|
-
assertParamExists("
|
|
743
|
-
const localVarPath = `/
|
|
768
|
+
phonesDelete: async (phoneId, options = {}) => {
|
|
769
|
+
assertParamExists("phonesDelete", "phoneId", phoneId);
|
|
770
|
+
const localVarPath = `/phones/{phoneId}`.replace(`{${"phoneId"}}`, encodeURIComponent(String(phoneId)));
|
|
744
771
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
745
772
|
let baseOptions;
|
|
746
773
|
if (configuration) {
|
|
@@ -758,17 +785,43 @@ var ContactsApiAxiosParamCreator = function(configuration) {
|
|
|
758
785
|
};
|
|
759
786
|
},
|
|
760
787
|
/**
|
|
761
|
-
*
|
|
762
|
-
* @summary
|
|
763
|
-
* @param {string}
|
|
764
|
-
* @param {APIPhoneNumberUpdate} aPIPhoneNumberUpdate
|
|
788
|
+
* Phones Get
|
|
789
|
+
* @summary Phones Get
|
|
790
|
+
* @param {string} phoneId
|
|
765
791
|
* @param {*} [options] Override http request option.
|
|
766
792
|
* @throws {RequiredError}
|
|
767
793
|
*/
|
|
768
|
-
|
|
769
|
-
assertParamExists("
|
|
770
|
-
|
|
771
|
-
const
|
|
794
|
+
phonesGet: async (phoneId, options = {}) => {
|
|
795
|
+
assertParamExists("phonesGet", "phoneId", phoneId);
|
|
796
|
+
const localVarPath = `/phones/{phoneId}`.replace(`{${"phoneId"}}`, encodeURIComponent(String(phoneId)));
|
|
797
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
798
|
+
let baseOptions;
|
|
799
|
+
if (configuration) {
|
|
800
|
+
baseOptions = configuration.baseOptions;
|
|
801
|
+
}
|
|
802
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
803
|
+
const localVarHeaderParameter = {};
|
|
804
|
+
const localVarQueryParameter = {};
|
|
805
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
806
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
807
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
808
|
+
return {
|
|
809
|
+
url: toPathString(localVarUrlObj),
|
|
810
|
+
options: localVarRequestOptions
|
|
811
|
+
};
|
|
812
|
+
},
|
|
813
|
+
/**
|
|
814
|
+
* Phones Update
|
|
815
|
+
* @summary Phones Update
|
|
816
|
+
* @param {string} phoneId
|
|
817
|
+
* @param {APIPhoneUpdate} aPIPhoneUpdate
|
|
818
|
+
* @param {*} [options] Override http request option.
|
|
819
|
+
* @throws {RequiredError}
|
|
820
|
+
*/
|
|
821
|
+
phonesUpdate: async (phoneId, aPIPhoneUpdate, options = {}) => {
|
|
822
|
+
assertParamExists("phonesUpdate", "phoneId", phoneId);
|
|
823
|
+
assertParamExists("phonesUpdate", "aPIPhoneUpdate", aPIPhoneUpdate);
|
|
824
|
+
const localVarPath = `/phones/{phoneId}`.replace(`{${"phoneId"}}`, encodeURIComponent(String(phoneId)));
|
|
772
825
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
773
826
|
let baseOptions;
|
|
774
827
|
if (configuration) {
|
|
@@ -781,7 +834,7 @@ var ContactsApiAxiosParamCreator = function(configuration) {
|
|
|
781
834
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
782
835
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
783
836
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
784
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
837
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIPhoneUpdate, localVarRequestOptions, configuration);
|
|
785
838
|
return {
|
|
786
839
|
url: toPathString(localVarUrlObj),
|
|
787
840
|
options: localVarRequestOptions
|
|
@@ -819,6 +872,19 @@ var ContactsApiFp = function(configuration) {
|
|
|
819
872
|
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _11 => _11["ContactsApi.addressesDelete"], 'optionalAccess', _12 => _12[localVarOperationServerIndex], 'optionalAccess', _13 => _13.url]);
|
|
820
873
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
821
874
|
},
|
|
875
|
+
/**
|
|
876
|
+
* Addresses Get
|
|
877
|
+
* @summary Addresses Get
|
|
878
|
+
* @param {string} addressId
|
|
879
|
+
* @param {*} [options] Override http request option.
|
|
880
|
+
* @throws {RequiredError}
|
|
881
|
+
*/
|
|
882
|
+
async addressesGet(addressId, options) {
|
|
883
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesGet(addressId, options);
|
|
884
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _14 => _14.serverIndex]), () => ( 0));
|
|
885
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _15 => _15["ContactsApi.addressesGet"], 'optionalAccess', _16 => _16[localVarOperationServerIndex], 'optionalAccess', _17 => _17.url]);
|
|
886
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
887
|
+
},
|
|
822
888
|
/**
|
|
823
889
|
* Addresses Update
|
|
824
890
|
* @summary Addresses Update
|
|
@@ -829,8 +895,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
829
895
|
*/
|
|
830
896
|
async addressesUpdate(addressId, aPIAddressUpdate, options) {
|
|
831
897
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, aPIAddressUpdate, options);
|
|
832
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
833
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
898
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _18 => _18.serverIndex]), () => ( 0));
|
|
899
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _19 => _19["ContactsApi.addressesUpdate"], 'optionalAccess', _20 => _20[localVarOperationServerIndex], 'optionalAccess', _21 => _21.url]);
|
|
834
900
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
835
901
|
},
|
|
836
902
|
/**
|
|
@@ -844,8 +910,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
844
910
|
*/
|
|
845
911
|
async contactsAddListing(contactId, listingId, createContactListing, options) {
|
|
846
912
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsAddListing(contactId, listingId, createContactListing, options);
|
|
847
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
848
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
913
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _22 => _22.serverIndex]), () => ( 0));
|
|
914
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _23 => _23["ContactsApi.contactsAddListing"], 'optionalAccess', _24 => _24[localVarOperationServerIndex], 'optionalAccess', _25 => _25.url]);
|
|
849
915
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
850
916
|
},
|
|
851
917
|
/**
|
|
@@ -857,8 +923,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
857
923
|
*/
|
|
858
924
|
async contactsCreate(contactcreate, options) {
|
|
859
925
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsCreate(contactcreate, options);
|
|
860
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
861
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
926
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _26 => _26.serverIndex]), () => ( 0));
|
|
927
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _27 => _27["ContactsApi.contactsCreate"], 'optionalAccess', _28 => _28[localVarOperationServerIndex], 'optionalAccess', _29 => _29.url]);
|
|
862
928
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
863
929
|
},
|
|
864
930
|
/**
|
|
@@ -870,8 +936,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
870
936
|
*/
|
|
871
937
|
async contactsDelete(contactId, options) {
|
|
872
938
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsDelete(contactId, options);
|
|
873
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
874
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
939
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _30 => _30.serverIndex]), () => ( 0));
|
|
940
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _31 => _31["ContactsApi.contactsDelete"], 'optionalAccess', _32 => _32[localVarOperationServerIndex], 'optionalAccess', _33 => _33.url]);
|
|
875
941
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
876
942
|
},
|
|
877
943
|
/**
|
|
@@ -883,8 +949,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
883
949
|
*/
|
|
884
950
|
async contactsGet(contactId, options) {
|
|
885
951
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsGet(contactId, options);
|
|
886
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
887
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
952
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _34 => _34.serverIndex]), () => ( 0));
|
|
953
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _35 => _35["ContactsApi.contactsGet"], 'optionalAccess', _36 => _36[localVarOperationServerIndex], 'optionalAccess', _37 => _37.url]);
|
|
888
954
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
889
955
|
},
|
|
890
956
|
/**
|
|
@@ -901,8 +967,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
901
967
|
*/
|
|
902
968
|
async contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
903
969
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
904
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
905
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
970
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _38 => _38.serverIndex]), () => ( 0));
|
|
971
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _39 => _39["ContactsApi.contactsList"], 'optionalAccess', _40 => _40[localVarOperationServerIndex], 'optionalAccess', _41 => _41.url]);
|
|
906
972
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
907
973
|
},
|
|
908
974
|
/**
|
|
@@ -916,8 +982,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
916
982
|
*/
|
|
917
983
|
async contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
|
|
918
984
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsRemoveListing(contactId, listingId, deleteContactListing, options);
|
|
919
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
920
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
985
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _42 => _42.serverIndex]), () => ( 0));
|
|
986
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _43 => _43["ContactsApi.contactsRemoveListing"], 'optionalAccess', _44 => _44[localVarOperationServerIndex], 'optionalAccess', _45 => _45.url]);
|
|
921
987
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
922
988
|
},
|
|
923
989
|
/**
|
|
@@ -930,8 +996,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
930
996
|
*/
|
|
931
997
|
async contactsUpdate(contactId, aPIContactUpdate, options) {
|
|
932
998
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdate(contactId, aPIContactUpdate, options);
|
|
933
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
934
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
999
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _46 => _46.serverIndex]), () => ( 0));
|
|
1000
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _47 => _47["ContactsApi.contactsUpdate"], 'optionalAccess', _48 => _48[localVarOperationServerIndex], 'optionalAccess', _49 => _49.url]);
|
|
935
1001
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
936
1002
|
},
|
|
937
1003
|
/**
|
|
@@ -945,8 +1011,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
945
1011
|
*/
|
|
946
1012
|
async contactsUpdateListing(contactId, listingId, updateContactListing, options) {
|
|
947
1013
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdateListing(contactId, listingId, updateContactListing, options);
|
|
948
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
949
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1014
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _50 => _50.serverIndex]), () => ( 0));
|
|
1015
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _51 => _51["ContactsApi.contactsUpdateListing"], 'optionalAccess', _52 => _52[localVarOperationServerIndex], 'optionalAccess', _53 => _53.url]);
|
|
950
1016
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
951
1017
|
},
|
|
952
1018
|
/**
|
|
@@ -959,8 +1025,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
959
1025
|
*/
|
|
960
1026
|
async emailsCreate(contactId, aPIEmailCreate, options) {
|
|
961
1027
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, aPIEmailCreate, options);
|
|
962
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
963
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1028
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _54 => _54.serverIndex]), () => ( 0));
|
|
1029
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _55 => _55["ContactsApi.emailsCreate"], 'optionalAccess', _56 => _56[localVarOperationServerIndex], 'optionalAccess', _57 => _57.url]);
|
|
964
1030
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
965
1031
|
},
|
|
966
1032
|
/**
|
|
@@ -972,8 +1038,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
972
1038
|
*/
|
|
973
1039
|
async emailsDelete(emailId, options) {
|
|
974
1040
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
975
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
976
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1041
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _58 => _58.serverIndex]), () => ( 0));
|
|
1042
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _59 => _59["ContactsApi.emailsDelete"], 'optionalAccess', _60 => _60[localVarOperationServerIndex], 'optionalAccess', _61 => _61.url]);
|
|
977
1043
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
978
1044
|
},
|
|
979
1045
|
/**
|
|
@@ -985,8 +1051,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
985
1051
|
*/
|
|
986
1052
|
async emailsGet(emailId, options) {
|
|
987
1053
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsGet(emailId, options);
|
|
988
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
989
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1054
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _62 => _62.serverIndex]), () => ( 0));
|
|
1055
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _63 => _63["ContactsApi.emailsGet"], 'optionalAccess', _64 => _64[localVarOperationServerIndex], 'optionalAccess', _65 => _65.url]);
|
|
990
1056
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
991
1057
|
},
|
|
992
1058
|
/**
|
|
@@ -999,49 +1065,62 @@ var ContactsApiFp = function(configuration) {
|
|
|
999
1065
|
*/
|
|
1000
1066
|
async emailsUpdate(emailId, aPIEmailUpdate, options) {
|
|
1001
1067
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsUpdate(emailId, aPIEmailUpdate, options);
|
|
1002
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1003
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1068
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _66 => _66.serverIndex]), () => ( 0));
|
|
1069
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _67 => _67["ContactsApi.emailsUpdate"], 'optionalAccess', _68 => _68[localVarOperationServerIndex], 'optionalAccess', _69 => _69.url]);
|
|
1004
1070
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1005
1071
|
},
|
|
1006
1072
|
/**
|
|
1007
|
-
*
|
|
1008
|
-
* @summary
|
|
1073
|
+
* Phones Create
|
|
1074
|
+
* @summary Phones Create
|
|
1009
1075
|
* @param {string} contactId
|
|
1010
|
-
* @param {
|
|
1076
|
+
* @param {APIPhoneCreate} aPIPhoneCreate
|
|
1011
1077
|
* @param {*} [options] Override http request option.
|
|
1012
1078
|
* @throws {RequiredError}
|
|
1013
1079
|
*/
|
|
1014
|
-
async
|
|
1015
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1016
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1017
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1080
|
+
async phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
1081
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, aPIPhoneCreate, options);
|
|
1082
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _70 => _70.serverIndex]), () => ( 0));
|
|
1083
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _71 => _71["ContactsApi.phonesCreate"], 'optionalAccess', _72 => _72[localVarOperationServerIndex], 'optionalAccess', _73 => _73.url]);
|
|
1018
1084
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1019
1085
|
},
|
|
1020
1086
|
/**
|
|
1021
|
-
*
|
|
1022
|
-
* @summary
|
|
1023
|
-
* @param {string}
|
|
1087
|
+
* Phones Delete
|
|
1088
|
+
* @summary Phones Delete
|
|
1089
|
+
* @param {string} phoneId
|
|
1024
1090
|
* @param {*} [options] Override http request option.
|
|
1025
1091
|
* @throws {RequiredError}
|
|
1026
1092
|
*/
|
|
1027
|
-
async
|
|
1028
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1029
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1030
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1093
|
+
async phonesDelete(phoneId, options) {
|
|
1094
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
1095
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _74 => _74.serverIndex]), () => ( 0));
|
|
1096
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _75 => _75["ContactsApi.phonesDelete"], 'optionalAccess', _76 => _76[localVarOperationServerIndex], 'optionalAccess', _77 => _77.url]);
|
|
1031
1097
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1032
1098
|
},
|
|
1033
1099
|
/**
|
|
1034
|
-
*
|
|
1035
|
-
* @summary
|
|
1036
|
-
* @param {string}
|
|
1037
|
-
* @param {APIPhoneNumberUpdate} aPIPhoneNumberUpdate
|
|
1100
|
+
* Phones Get
|
|
1101
|
+
* @summary Phones Get
|
|
1102
|
+
* @param {string} phoneId
|
|
1038
1103
|
* @param {*} [options] Override http request option.
|
|
1039
1104
|
* @throws {RequiredError}
|
|
1040
1105
|
*/
|
|
1041
|
-
async
|
|
1042
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1043
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1044
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1106
|
+
async phonesGet(phoneId, options) {
|
|
1107
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesGet(phoneId, options);
|
|
1108
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _78 => _78.serverIndex]), () => ( 0));
|
|
1109
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _79 => _79["ContactsApi.phonesGet"], 'optionalAccess', _80 => _80[localVarOperationServerIndex], 'optionalAccess', _81 => _81.url]);
|
|
1110
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1111
|
+
},
|
|
1112
|
+
/**
|
|
1113
|
+
* Phones Update
|
|
1114
|
+
* @summary Phones Update
|
|
1115
|
+
* @param {string} phoneId
|
|
1116
|
+
* @param {APIPhoneUpdate} aPIPhoneUpdate
|
|
1117
|
+
* @param {*} [options] Override http request option.
|
|
1118
|
+
* @throws {RequiredError}
|
|
1119
|
+
*/
|
|
1120
|
+
async phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
1121
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesUpdate(phoneId, aPIPhoneUpdate, options);
|
|
1122
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _82 => _82.serverIndex]), () => ( 0));
|
|
1123
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _83 => _83["ContactsApi.phonesUpdate"], 'optionalAccess', _84 => _84[localVarOperationServerIndex], 'optionalAccess', _85 => _85.url]);
|
|
1045
1124
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1046
1125
|
}
|
|
1047
1126
|
};
|
|
@@ -1070,6 +1149,16 @@ var ContactsApiFactory = function(configuration, basePath, axios) {
|
|
|
1070
1149
|
addressesDelete(addressId, options) {
|
|
1071
1150
|
return localVarFp.addressesDelete(addressId, options).then((request) => request(axios, basePath));
|
|
1072
1151
|
},
|
|
1152
|
+
/**
|
|
1153
|
+
* Addresses Get
|
|
1154
|
+
* @summary Addresses Get
|
|
1155
|
+
* @param {string} addressId
|
|
1156
|
+
* @param {*} [options] Override http request option.
|
|
1157
|
+
* @throws {RequiredError}
|
|
1158
|
+
*/
|
|
1159
|
+
addressesGet(addressId, options) {
|
|
1160
|
+
return localVarFp.addressesGet(addressId, options).then((request) => request(axios, basePath));
|
|
1161
|
+
},
|
|
1073
1162
|
/**
|
|
1074
1163
|
* Addresses Update
|
|
1075
1164
|
* @summary Addresses Update
|
|
@@ -1216,36 +1305,46 @@ var ContactsApiFactory = function(configuration, basePath, axios) {
|
|
|
1216
1305
|
return localVarFp.emailsUpdate(emailId, aPIEmailUpdate, options).then((request) => request(axios, basePath));
|
|
1217
1306
|
},
|
|
1218
1307
|
/**
|
|
1219
|
-
*
|
|
1220
|
-
* @summary
|
|
1308
|
+
* Phones Create
|
|
1309
|
+
* @summary Phones Create
|
|
1221
1310
|
* @param {string} contactId
|
|
1222
|
-
* @param {
|
|
1311
|
+
* @param {APIPhoneCreate} aPIPhoneCreate
|
|
1312
|
+
* @param {*} [options] Override http request option.
|
|
1313
|
+
* @throws {RequiredError}
|
|
1314
|
+
*/
|
|
1315
|
+
phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
1316
|
+
return localVarFp.phonesCreate(contactId, aPIPhoneCreate, options).then((request) => request(axios, basePath));
|
|
1317
|
+
},
|
|
1318
|
+
/**
|
|
1319
|
+
* Phones Delete
|
|
1320
|
+
* @summary Phones Delete
|
|
1321
|
+
* @param {string} phoneId
|
|
1223
1322
|
* @param {*} [options] Override http request option.
|
|
1224
1323
|
* @throws {RequiredError}
|
|
1225
1324
|
*/
|
|
1226
|
-
|
|
1227
|
-
return localVarFp.
|
|
1325
|
+
phonesDelete(phoneId, options) {
|
|
1326
|
+
return localVarFp.phonesDelete(phoneId, options).then((request) => request(axios, basePath));
|
|
1228
1327
|
},
|
|
1229
1328
|
/**
|
|
1230
|
-
*
|
|
1231
|
-
* @summary
|
|
1232
|
-
* @param {string}
|
|
1329
|
+
* Phones Get
|
|
1330
|
+
* @summary Phones Get
|
|
1331
|
+
* @param {string} phoneId
|
|
1233
1332
|
* @param {*} [options] Override http request option.
|
|
1234
1333
|
* @throws {RequiredError}
|
|
1235
1334
|
*/
|
|
1236
|
-
|
|
1237
|
-
return localVarFp.
|
|
1335
|
+
phonesGet(phoneId, options) {
|
|
1336
|
+
return localVarFp.phonesGet(phoneId, options).then((request) => request(axios, basePath));
|
|
1238
1337
|
},
|
|
1239
1338
|
/**
|
|
1240
|
-
*
|
|
1241
|
-
* @summary
|
|
1242
|
-
* @param {string}
|
|
1243
|
-
* @param {
|
|
1339
|
+
* Phones Update
|
|
1340
|
+
* @summary Phones Update
|
|
1341
|
+
* @param {string} phoneId
|
|
1342
|
+
* @param {APIPhoneUpdate} aPIPhoneUpdate
|
|
1244
1343
|
* @param {*} [options] Override http request option.
|
|
1245
1344
|
* @throws {RequiredError}
|
|
1246
1345
|
*/
|
|
1247
|
-
|
|
1248
|
-
return localVarFp.
|
|
1346
|
+
phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
1347
|
+
return localVarFp.phonesUpdate(phoneId, aPIPhoneUpdate, options).then((request) => request(axios, basePath));
|
|
1249
1348
|
}
|
|
1250
1349
|
};
|
|
1251
1350
|
};
|
|
@@ -1273,6 +1372,17 @@ var ContactsApi = class extends BaseAPI {
|
|
|
1273
1372
|
addressesDelete(addressId, options) {
|
|
1274
1373
|
return ContactsApiFp(this.configuration).addressesDelete(addressId, options).then((request) => request(this.axios, this.basePath));
|
|
1275
1374
|
}
|
|
1375
|
+
/**
|
|
1376
|
+
* Addresses Get
|
|
1377
|
+
* @summary Addresses Get
|
|
1378
|
+
* @param {string} addressId
|
|
1379
|
+
* @param {*} [options] Override http request option.
|
|
1380
|
+
* @throws {RequiredError}
|
|
1381
|
+
* @memberof ContactsApi
|
|
1382
|
+
*/
|
|
1383
|
+
addressesGet(addressId, options) {
|
|
1384
|
+
return ContactsApiFp(this.configuration).addressesGet(addressId, options).then((request) => request(this.axios, this.basePath));
|
|
1385
|
+
}
|
|
1276
1386
|
/**
|
|
1277
1387
|
* Addresses Update
|
|
1278
1388
|
* @summary Addresses Update
|
|
@@ -1432,39 +1542,50 @@ var ContactsApi = class extends BaseAPI {
|
|
|
1432
1542
|
return ContactsApiFp(this.configuration).emailsUpdate(emailId, aPIEmailUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
1433
1543
|
}
|
|
1434
1544
|
/**
|
|
1435
|
-
*
|
|
1436
|
-
* @summary
|
|
1545
|
+
* Phones Create
|
|
1546
|
+
* @summary Phones Create
|
|
1437
1547
|
* @param {string} contactId
|
|
1438
|
-
* @param {
|
|
1548
|
+
* @param {APIPhoneCreate} aPIPhoneCreate
|
|
1549
|
+
* @param {*} [options] Override http request option.
|
|
1550
|
+
* @throws {RequiredError}
|
|
1551
|
+
* @memberof ContactsApi
|
|
1552
|
+
*/
|
|
1553
|
+
phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
1554
|
+
return ContactsApiFp(this.configuration).phonesCreate(contactId, aPIPhoneCreate, options).then((request) => request(this.axios, this.basePath));
|
|
1555
|
+
}
|
|
1556
|
+
/**
|
|
1557
|
+
* Phones Delete
|
|
1558
|
+
* @summary Phones Delete
|
|
1559
|
+
* @param {string} phoneId
|
|
1439
1560
|
* @param {*} [options] Override http request option.
|
|
1440
1561
|
* @throws {RequiredError}
|
|
1441
1562
|
* @memberof ContactsApi
|
|
1442
1563
|
*/
|
|
1443
|
-
|
|
1444
|
-
return ContactsApiFp(this.configuration).
|
|
1564
|
+
phonesDelete(phoneId, options) {
|
|
1565
|
+
return ContactsApiFp(this.configuration).phonesDelete(phoneId, options).then((request) => request(this.axios, this.basePath));
|
|
1445
1566
|
}
|
|
1446
1567
|
/**
|
|
1447
|
-
*
|
|
1448
|
-
* @summary
|
|
1449
|
-
* @param {string}
|
|
1568
|
+
* Phones Get
|
|
1569
|
+
* @summary Phones Get
|
|
1570
|
+
* @param {string} phoneId
|
|
1450
1571
|
* @param {*} [options] Override http request option.
|
|
1451
1572
|
* @throws {RequiredError}
|
|
1452
1573
|
* @memberof ContactsApi
|
|
1453
1574
|
*/
|
|
1454
|
-
|
|
1455
|
-
return ContactsApiFp(this.configuration).
|
|
1575
|
+
phonesGet(phoneId, options) {
|
|
1576
|
+
return ContactsApiFp(this.configuration).phonesGet(phoneId, options).then((request) => request(this.axios, this.basePath));
|
|
1456
1577
|
}
|
|
1457
1578
|
/**
|
|
1458
|
-
*
|
|
1459
|
-
* @summary
|
|
1460
|
-
* @param {string}
|
|
1461
|
-
* @param {
|
|
1579
|
+
* Phones Update
|
|
1580
|
+
* @summary Phones Update
|
|
1581
|
+
* @param {string} phoneId
|
|
1582
|
+
* @param {APIPhoneUpdate} aPIPhoneUpdate
|
|
1462
1583
|
* @param {*} [options] Override http request option.
|
|
1463
1584
|
* @throws {RequiredError}
|
|
1464
1585
|
* @memberof ContactsApi
|
|
1465
1586
|
*/
|
|
1466
|
-
|
|
1467
|
-
return ContactsApiFp(this.configuration).
|
|
1587
|
+
phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
1588
|
+
return ContactsApiFp(this.configuration).phonesUpdate(phoneId, aPIPhoneUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
1468
1589
|
}
|
|
1469
1590
|
};
|
|
1470
1591
|
var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
@@ -1731,8 +1852,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1731
1852
|
*/
|
|
1732
1853
|
async conversationsCreate(aPIConversationCreate, options) {
|
|
1733
1854
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsCreate(aPIConversationCreate, options);
|
|
1734
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1735
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1855
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _86 => _86.serverIndex]), () => ( 0));
|
|
1856
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _87 => _87["ConversationsApi.conversationsCreate"], 'optionalAccess', _88 => _88[localVarOperationServerIndex], 'optionalAccess', _89 => _89.url]);
|
|
1736
1857
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1737
1858
|
},
|
|
1738
1859
|
/**
|
|
@@ -1744,8 +1865,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1744
1865
|
*/
|
|
1745
1866
|
async conversationsGet(conversationId, options) {
|
|
1746
1867
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsGet(conversationId, options);
|
|
1747
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1748
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1868
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _90 => _90.serverIndex]), () => ( 0));
|
|
1869
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _91 => _91["ConversationsApi.conversationsGet"], 'optionalAccess', _92 => _92[localVarOperationServerIndex], 'optionalAccess', _93 => _93.url]);
|
|
1749
1870
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1750
1871
|
},
|
|
1751
1872
|
/**
|
|
@@ -1763,8 +1884,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1763
1884
|
*/
|
|
1764
1885
|
async conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1765
1886
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
1766
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1767
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1887
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _94 => _94.serverIndex]), () => ( 0));
|
|
1888
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _95 => _95["ConversationsApi.conversationsList"], 'optionalAccess', _96 => _96[localVarOperationServerIndex], 'optionalAccess', _97 => _97.url]);
|
|
1768
1889
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1769
1890
|
},
|
|
1770
1891
|
/**
|
|
@@ -1777,8 +1898,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1777
1898
|
*/
|
|
1778
1899
|
async conversationsUpdate(conversationId, aPIConversationUpdate, options) {
|
|
1779
1900
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsUpdate(conversationId, aPIConversationUpdate, options);
|
|
1780
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1781
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1901
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _98 => _98.serverIndex]), () => ( 0));
|
|
1902
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _99 => _99["ConversationsApi.conversationsUpdate"], 'optionalAccess', _100 => _100[localVarOperationServerIndex], 'optionalAccess', _101 => _101.url]);
|
|
1782
1903
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1783
1904
|
},
|
|
1784
1905
|
/**
|
|
@@ -1791,8 +1912,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1791
1912
|
*/
|
|
1792
1913
|
async messagesCreate(conversationId, aPIMessageCreate, options) {
|
|
1793
1914
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, aPIMessageCreate, options);
|
|
1794
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1795
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1915
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _102 => _102.serverIndex]), () => ( 0));
|
|
1916
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _103 => _103["ConversationsApi.messagesCreate"], 'optionalAccess', _104 => _104[localVarOperationServerIndex], 'optionalAccess', _105 => _105.url]);
|
|
1796
1917
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1797
1918
|
},
|
|
1798
1919
|
/**
|
|
@@ -1804,8 +1925,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1804
1925
|
*/
|
|
1805
1926
|
async messagesGet(messageId, options) {
|
|
1806
1927
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
1807
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1808
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1928
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _106 => _106.serverIndex]), () => ( 0));
|
|
1929
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _107 => _107["ConversationsApi.messagesGet"], 'optionalAccess', _108 => _108[localVarOperationServerIndex], 'optionalAccess', _109 => _109.url]);
|
|
1809
1930
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1810
1931
|
},
|
|
1811
1932
|
/**
|
|
@@ -1824,8 +1945,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1824
1945
|
*/
|
|
1825
1946
|
async messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1826
1947
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
1827
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1828
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1948
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _110 => _110.serverIndex]), () => ( 0));
|
|
1949
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _111 => _111["ConversationsApi.messagesList"], 'optionalAccess', _112 => _112[localVarOperationServerIndex], 'optionalAccess', _113 => _113.url]);
|
|
1829
1950
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1830
1951
|
}
|
|
1831
1952
|
};
|
|
@@ -2059,8 +2180,8 @@ var HostawayApiFp = function(configuration) {
|
|
|
2059
2180
|
*/
|
|
2060
2181
|
async webhook(hostawayWebhook, options) {
|
|
2061
2182
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(hostawayWebhook, options);
|
|
2062
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2063
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2183
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _114 => _114.serverIndex]), () => ( 0));
|
|
2184
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _115 => _115["HostawayApi.webhook"], 'optionalAccess', _116 => _116[localVarOperationServerIndex], 'optionalAccess', _117 => _117.url]);
|
|
2064
2185
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2065
2186
|
}
|
|
2066
2187
|
};
|
|
@@ -2137,8 +2258,8 @@ var InquiriesApiFp = function(configuration) {
|
|
|
2137
2258
|
*/
|
|
2138
2259
|
async inquiriesList(contactId, options) {
|
|
2139
2260
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
2140
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2141
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2261
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _118 => _118.serverIndex]), () => ( 0));
|
|
2262
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _119 => _119["InquiriesApi.inquiriesList"], 'optionalAccess', _120 => _120[localVarOperationServerIndex], 'optionalAccess', _121 => _121.url]);
|
|
2142
2263
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2143
2264
|
}
|
|
2144
2265
|
};
|
|
@@ -2265,8 +2386,8 @@ var ListingsApiFp = function(configuration) {
|
|
|
2265
2386
|
*/
|
|
2266
2387
|
async listingsGet(listingId, options) {
|
|
2267
2388
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
2268
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2269
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2389
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _122 => _122.serverIndex]), () => ( 0));
|
|
2390
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _123 => _123["ListingsApi.listingsGet"], 'optionalAccess', _124 => _124[localVarOperationServerIndex], 'optionalAccess', _125 => _125.url]);
|
|
2270
2391
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2271
2392
|
},
|
|
2272
2393
|
/**
|
|
@@ -2284,8 +2405,8 @@ var ListingsApiFp = function(configuration) {
|
|
|
2284
2405
|
*/
|
|
2285
2406
|
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2286
2407
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
2287
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2288
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2408
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _126 => _126.serverIndex]), () => ( 0));
|
|
2409
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _127 => _127["ListingsApi.listingsList"], 'optionalAccess', _128 => _128[localVarOperationServerIndex], 'optionalAccess', _129 => _129.url]);
|
|
2289
2410
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2290
2411
|
}
|
|
2291
2412
|
};
|
|
@@ -2390,8 +2511,8 @@ var ManagedPhoneNumbersApiFp = function(configuration) {
|
|
|
2390
2511
|
*/
|
|
2391
2512
|
async managedPhoneNumbersList(options) {
|
|
2392
2513
|
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
2393
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2394
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2514
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _130 => _130.serverIndex]), () => ( 0));
|
|
2515
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _131 => _131["ManagedPhoneNumbersApi.managedPhoneNumbersList"], 'optionalAccess', _132 => _132[localVarOperationServerIndex], 'optionalAccess', _133 => _133.url]);
|
|
2395
2516
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2396
2517
|
}
|
|
2397
2518
|
};
|
|
@@ -2546,8 +2667,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2546
2667
|
*/
|
|
2547
2668
|
async providersCreate(aPIProviderCreate, options) {
|
|
2548
2669
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(aPIProviderCreate, options);
|
|
2549
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2550
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2670
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _134 => _134.serverIndex]), () => ( 0));
|
|
2671
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _135 => _135["ProvidersApi.providersCreate"], 'optionalAccess', _136 => _136[localVarOperationServerIndex], 'optionalAccess', _137 => _137.url]);
|
|
2551
2672
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2552
2673
|
},
|
|
2553
2674
|
/**
|
|
@@ -2559,8 +2680,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2559
2680
|
*/
|
|
2560
2681
|
async providersGet(providerId, options) {
|
|
2561
2682
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
2562
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2563
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2683
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _138 => _138.serverIndex]), () => ( 0));
|
|
2684
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _139 => _139["ProvidersApi.providersGet"], 'optionalAccess', _140 => _140[localVarOperationServerIndex], 'optionalAccess', _141 => _141.url]);
|
|
2564
2685
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2565
2686
|
},
|
|
2566
2687
|
/**
|
|
@@ -2571,8 +2692,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2571
2692
|
*/
|
|
2572
2693
|
async providersList(options) {
|
|
2573
2694
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
2574
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2575
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2695
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _142 => _142.serverIndex]), () => ( 0));
|
|
2696
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _143 => _143["ProvidersApi.providersList"], 'optionalAccess', _144 => _144[localVarOperationServerIndex], 'optionalAccess', _145 => _145.url]);
|
|
2576
2697
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2577
2698
|
},
|
|
2578
2699
|
/**
|
|
@@ -2585,8 +2706,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2585
2706
|
*/
|
|
2586
2707
|
async providersUpdate(providerId, aPIProviderUpdate, options) {
|
|
2587
2708
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, aPIProviderUpdate, options);
|
|
2588
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2589
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2709
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _146 => _146.serverIndex]), () => ( 0));
|
|
2710
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _147 => _147["ProvidersApi.providersUpdate"], 'optionalAccess', _148 => _148[localVarOperationServerIndex], 'optionalAccess', _149 => _149.url]);
|
|
2590
2711
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2591
2712
|
}
|
|
2592
2713
|
};
|
|
@@ -2776,8 +2897,8 @@ var ReservationsApiFp = function(configuration) {
|
|
|
2776
2897
|
*/
|
|
2777
2898
|
async reservationsGet(reservationId, options) {
|
|
2778
2899
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
2779
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2780
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2900
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _150 => _150.serverIndex]), () => ( 0));
|
|
2901
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _151 => _151["ReservationsApi.reservationsGet"], 'optionalAccess', _152 => _152[localVarOperationServerIndex], 'optionalAccess', _153 => _153.url]);
|
|
2781
2902
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2782
2903
|
},
|
|
2783
2904
|
/**
|
|
@@ -2795,8 +2916,8 @@ var ReservationsApiFp = function(configuration) {
|
|
|
2795
2916
|
*/
|
|
2796
2917
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2797
2918
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
2798
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2799
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2919
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _154 => _154.serverIndex]), () => ( 0));
|
|
2920
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _155 => _155["ReservationsApi.reservationsList"], 'optionalAccess', _156 => _156[localVarOperationServerIndex], 'optionalAccess', _157 => _157.url]);
|
|
2800
2921
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2801
2922
|
}
|
|
2802
2923
|
};
|
|
@@ -2944,6 +3065,32 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
2944
3065
|
options: localVarRequestOptions
|
|
2945
3066
|
};
|
|
2946
3067
|
},
|
|
3068
|
+
/**
|
|
3069
|
+
* Addresses Get
|
|
3070
|
+
* @summary Addresses Get
|
|
3071
|
+
* @param {string} addressId
|
|
3072
|
+
* @param {*} [options] Override http request option.
|
|
3073
|
+
* @throws {RequiredError}
|
|
3074
|
+
*/
|
|
3075
|
+
addressesGet: async (addressId, options = {}) => {
|
|
3076
|
+
assertParamExists("addressesGet", "addressId", addressId);
|
|
3077
|
+
const localVarPath = `/addresses/{addressId}`.replace(`{${"addressId"}}`, encodeURIComponent(String(addressId)));
|
|
3078
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3079
|
+
let baseOptions;
|
|
3080
|
+
if (configuration) {
|
|
3081
|
+
baseOptions = configuration.baseOptions;
|
|
3082
|
+
}
|
|
3083
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3084
|
+
const localVarHeaderParameter = {};
|
|
3085
|
+
const localVarQueryParameter = {};
|
|
3086
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3087
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3088
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3089
|
+
return {
|
|
3090
|
+
url: toPathString(localVarUrlObj),
|
|
3091
|
+
options: localVarRequestOptions
|
|
3092
|
+
};
|
|
3093
|
+
},
|
|
2947
3094
|
/**
|
|
2948
3095
|
* Addresses Update
|
|
2949
3096
|
* @summary Addresses Update
|
|
@@ -3719,17 +3866,17 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3719
3866
|
};
|
|
3720
3867
|
},
|
|
3721
3868
|
/**
|
|
3722
|
-
*
|
|
3723
|
-
* @summary
|
|
3869
|
+
* Phones Create
|
|
3870
|
+
* @summary Phones Create
|
|
3724
3871
|
* @param {string} contactId
|
|
3725
|
-
* @param {
|
|
3872
|
+
* @param {APIPhoneCreate} aPIPhoneCreate
|
|
3726
3873
|
* @param {*} [options] Override http request option.
|
|
3727
3874
|
* @throws {RequiredError}
|
|
3728
3875
|
*/
|
|
3729
|
-
|
|
3730
|
-
assertParamExists("
|
|
3731
|
-
assertParamExists("
|
|
3732
|
-
const localVarPath = `/contacts/{contactId}/
|
|
3876
|
+
phonesCreate: async (contactId, aPIPhoneCreate, options = {}) => {
|
|
3877
|
+
assertParamExists("phonesCreate", "contactId", contactId);
|
|
3878
|
+
assertParamExists("phonesCreate", "aPIPhoneCreate", aPIPhoneCreate);
|
|
3879
|
+
const localVarPath = `/contacts/{contactId}/phones`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
3733
3880
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3734
3881
|
let baseOptions;
|
|
3735
3882
|
if (configuration) {
|
|
@@ -3742,22 +3889,22 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3742
3889
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3743
3890
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3744
3891
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3745
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3892
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIPhoneCreate, localVarRequestOptions, configuration);
|
|
3746
3893
|
return {
|
|
3747
3894
|
url: toPathString(localVarUrlObj),
|
|
3748
3895
|
options: localVarRequestOptions
|
|
3749
3896
|
};
|
|
3750
3897
|
},
|
|
3751
3898
|
/**
|
|
3752
|
-
*
|
|
3753
|
-
* @summary
|
|
3754
|
-
* @param {string}
|
|
3899
|
+
* Phones Delete
|
|
3900
|
+
* @summary Phones Delete
|
|
3901
|
+
* @param {string} phoneId
|
|
3755
3902
|
* @param {*} [options] Override http request option.
|
|
3756
3903
|
* @throws {RequiredError}
|
|
3757
3904
|
*/
|
|
3758
|
-
|
|
3759
|
-
assertParamExists("
|
|
3760
|
-
const localVarPath = `/
|
|
3905
|
+
phonesDelete: async (phoneId, options = {}) => {
|
|
3906
|
+
assertParamExists("phonesDelete", "phoneId", phoneId);
|
|
3907
|
+
const localVarPath = `/phones/{phoneId}`.replace(`{${"phoneId"}}`, encodeURIComponent(String(phoneId)));
|
|
3761
3908
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3762
3909
|
let baseOptions;
|
|
3763
3910
|
if (configuration) {
|
|
@@ -3775,17 +3922,43 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3775
3922
|
};
|
|
3776
3923
|
},
|
|
3777
3924
|
/**
|
|
3778
|
-
*
|
|
3779
|
-
* @summary
|
|
3780
|
-
* @param {string}
|
|
3781
|
-
* @param {APIPhoneNumberUpdate} aPIPhoneNumberUpdate
|
|
3925
|
+
* Phones Get
|
|
3926
|
+
* @summary Phones Get
|
|
3927
|
+
* @param {string} phoneId
|
|
3782
3928
|
* @param {*} [options] Override http request option.
|
|
3783
3929
|
* @throws {RequiredError}
|
|
3784
3930
|
*/
|
|
3785
|
-
|
|
3786
|
-
assertParamExists("
|
|
3787
|
-
|
|
3788
|
-
const
|
|
3931
|
+
phonesGet: async (phoneId, options = {}) => {
|
|
3932
|
+
assertParamExists("phonesGet", "phoneId", phoneId);
|
|
3933
|
+
const localVarPath = `/phones/{phoneId}`.replace(`{${"phoneId"}}`, encodeURIComponent(String(phoneId)));
|
|
3934
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3935
|
+
let baseOptions;
|
|
3936
|
+
if (configuration) {
|
|
3937
|
+
baseOptions = configuration.baseOptions;
|
|
3938
|
+
}
|
|
3939
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3940
|
+
const localVarHeaderParameter = {};
|
|
3941
|
+
const localVarQueryParameter = {};
|
|
3942
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3943
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3944
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3945
|
+
return {
|
|
3946
|
+
url: toPathString(localVarUrlObj),
|
|
3947
|
+
options: localVarRequestOptions
|
|
3948
|
+
};
|
|
3949
|
+
},
|
|
3950
|
+
/**
|
|
3951
|
+
* Phones Update
|
|
3952
|
+
* @summary Phones Update
|
|
3953
|
+
* @param {string} phoneId
|
|
3954
|
+
* @param {APIPhoneUpdate} aPIPhoneUpdate
|
|
3955
|
+
* @param {*} [options] Override http request option.
|
|
3956
|
+
* @throws {RequiredError}
|
|
3957
|
+
*/
|
|
3958
|
+
phonesUpdate: async (phoneId, aPIPhoneUpdate, options = {}) => {
|
|
3959
|
+
assertParamExists("phonesUpdate", "phoneId", phoneId);
|
|
3960
|
+
assertParamExists("phonesUpdate", "aPIPhoneUpdate", aPIPhoneUpdate);
|
|
3961
|
+
const localVarPath = `/phones/{phoneId}`.replace(`{${"phoneId"}}`, encodeURIComponent(String(phoneId)));
|
|
3789
3962
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3790
3963
|
let baseOptions;
|
|
3791
3964
|
if (configuration) {
|
|
@@ -3798,7 +3971,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3798
3971
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3799
3972
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3800
3973
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3801
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3974
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIPhoneUpdate, localVarRequestOptions, configuration);
|
|
3802
3975
|
return {
|
|
3803
3976
|
url: toPathString(localVarUrlObj),
|
|
3804
3977
|
options: localVarRequestOptions
|
|
@@ -4032,8 +4205,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4032
4205
|
*/
|
|
4033
4206
|
async accountsList(options) {
|
|
4034
4207
|
const localVarAxiosArgs = await localVarAxiosParamCreator.accountsList(options);
|
|
4035
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4036
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4208
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _158 => _158.serverIndex]), () => ( 0));
|
|
4209
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _159 => _159["UnboundApi.accountsList"], 'optionalAccess', _160 => _160[localVarOperationServerIndex], 'optionalAccess', _161 => _161.url]);
|
|
4037
4210
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4038
4211
|
},
|
|
4039
4212
|
/**
|
|
@@ -4046,8 +4219,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4046
4219
|
*/
|
|
4047
4220
|
async addressesCreate(contactId, aPIAddressCreate, options) {
|
|
4048
4221
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, aPIAddressCreate, options);
|
|
4049
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4050
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4222
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _162 => _162.serverIndex]), () => ( 0));
|
|
4223
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _163 => _163["UnboundApi.addressesCreate"], 'optionalAccess', _164 => _164[localVarOperationServerIndex], 'optionalAccess', _165 => _165.url]);
|
|
4051
4224
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4052
4225
|
},
|
|
4053
4226
|
/**
|
|
@@ -4059,8 +4232,21 @@ var UnboundApiFp = function(configuration) {
|
|
|
4059
4232
|
*/
|
|
4060
4233
|
async addressesDelete(addressId, options) {
|
|
4061
4234
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesDelete(addressId, options);
|
|
4062
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4063
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4235
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _166 => _166.serverIndex]), () => ( 0));
|
|
4236
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _167 => _167["UnboundApi.addressesDelete"], 'optionalAccess', _168 => _168[localVarOperationServerIndex], 'optionalAccess', _169 => _169.url]);
|
|
4237
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4238
|
+
},
|
|
4239
|
+
/**
|
|
4240
|
+
* Addresses Get
|
|
4241
|
+
* @summary Addresses Get
|
|
4242
|
+
* @param {string} addressId
|
|
4243
|
+
* @param {*} [options] Override http request option.
|
|
4244
|
+
* @throws {RequiredError}
|
|
4245
|
+
*/
|
|
4246
|
+
async addressesGet(addressId, options) {
|
|
4247
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesGet(addressId, options);
|
|
4248
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _170 => _170.serverIndex]), () => ( 0));
|
|
4249
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _171 => _171["UnboundApi.addressesGet"], 'optionalAccess', _172 => _172[localVarOperationServerIndex], 'optionalAccess', _173 => _173.url]);
|
|
4064
4250
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4065
4251
|
},
|
|
4066
4252
|
/**
|
|
@@ -4073,8 +4259,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4073
4259
|
*/
|
|
4074
4260
|
async addressesUpdate(addressId, aPIAddressUpdate, options) {
|
|
4075
4261
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, aPIAddressUpdate, options);
|
|
4076
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4077
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4262
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _174 => _174.serverIndex]), () => ( 0));
|
|
4263
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _175 => _175["UnboundApi.addressesUpdate"], 'optionalAccess', _176 => _176[localVarOperationServerIndex], 'optionalAccess', _177 => _177.url]);
|
|
4078
4264
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4079
4265
|
},
|
|
4080
4266
|
/**
|
|
@@ -4088,8 +4274,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4088
4274
|
*/
|
|
4089
4275
|
async contactsAddListing(contactId, listingId, createContactListing, options) {
|
|
4090
4276
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsAddListing(contactId, listingId, createContactListing, options);
|
|
4091
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4092
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4277
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _178 => _178.serverIndex]), () => ( 0));
|
|
4278
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _179 => _179["UnboundApi.contactsAddListing"], 'optionalAccess', _180 => _180[localVarOperationServerIndex], 'optionalAccess', _181 => _181.url]);
|
|
4093
4279
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4094
4280
|
},
|
|
4095
4281
|
/**
|
|
@@ -4101,8 +4287,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4101
4287
|
*/
|
|
4102
4288
|
async contactsCreate(contactcreate, options) {
|
|
4103
4289
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsCreate(contactcreate, options);
|
|
4104
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4105
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4290
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _182 => _182.serverIndex]), () => ( 0));
|
|
4291
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _183 => _183["UnboundApi.contactsCreate"], 'optionalAccess', _184 => _184[localVarOperationServerIndex], 'optionalAccess', _185 => _185.url]);
|
|
4106
4292
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4107
4293
|
},
|
|
4108
4294
|
/**
|
|
@@ -4114,8 +4300,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4114
4300
|
*/
|
|
4115
4301
|
async contactsDelete(contactId, options) {
|
|
4116
4302
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsDelete(contactId, options);
|
|
4117
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4118
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4303
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _186 => _186.serverIndex]), () => ( 0));
|
|
4304
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _187 => _187["UnboundApi.contactsDelete"], 'optionalAccess', _188 => _188[localVarOperationServerIndex], 'optionalAccess', _189 => _189.url]);
|
|
4119
4305
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4120
4306
|
},
|
|
4121
4307
|
/**
|
|
@@ -4127,8 +4313,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4127
4313
|
*/
|
|
4128
4314
|
async contactsGet(contactId, options) {
|
|
4129
4315
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsGet(contactId, options);
|
|
4130
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4131
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4316
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _190 => _190.serverIndex]), () => ( 0));
|
|
4317
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _191 => _191["UnboundApi.contactsGet"], 'optionalAccess', _192 => _192[localVarOperationServerIndex], 'optionalAccess', _193 => _193.url]);
|
|
4132
4318
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4133
4319
|
},
|
|
4134
4320
|
/**
|
|
@@ -4145,8 +4331,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4145
4331
|
*/
|
|
4146
4332
|
async contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4147
4333
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4148
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4149
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4334
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _194 => _194.serverIndex]), () => ( 0));
|
|
4335
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _195 => _195["UnboundApi.contactsList"], 'optionalAccess', _196 => _196[localVarOperationServerIndex], 'optionalAccess', _197 => _197.url]);
|
|
4150
4336
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4151
4337
|
},
|
|
4152
4338
|
/**
|
|
@@ -4160,8 +4346,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4160
4346
|
*/
|
|
4161
4347
|
async contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
|
|
4162
4348
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsRemoveListing(contactId, listingId, deleteContactListing, options);
|
|
4163
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4164
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4349
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _198 => _198.serverIndex]), () => ( 0));
|
|
4350
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _199 => _199["UnboundApi.contactsRemoveListing"], 'optionalAccess', _200 => _200[localVarOperationServerIndex], 'optionalAccess', _201 => _201.url]);
|
|
4165
4351
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4166
4352
|
},
|
|
4167
4353
|
/**
|
|
@@ -4174,8 +4360,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4174
4360
|
*/
|
|
4175
4361
|
async contactsUpdate(contactId, aPIContactUpdate, options) {
|
|
4176
4362
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdate(contactId, aPIContactUpdate, options);
|
|
4177
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4178
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4363
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _202 => _202.serverIndex]), () => ( 0));
|
|
4364
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _203 => _203["UnboundApi.contactsUpdate"], 'optionalAccess', _204 => _204[localVarOperationServerIndex], 'optionalAccess', _205 => _205.url]);
|
|
4179
4365
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4180
4366
|
},
|
|
4181
4367
|
/**
|
|
@@ -4189,8 +4375,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4189
4375
|
*/
|
|
4190
4376
|
async contactsUpdateListing(contactId, listingId, updateContactListing, options) {
|
|
4191
4377
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdateListing(contactId, listingId, updateContactListing, options);
|
|
4192
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4193
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4378
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _206 => _206.serverIndex]), () => ( 0));
|
|
4379
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _207 => _207["UnboundApi.contactsUpdateListing"], 'optionalAccess', _208 => _208[localVarOperationServerIndex], 'optionalAccess', _209 => _209.url]);
|
|
4194
4380
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4195
4381
|
},
|
|
4196
4382
|
/**
|
|
@@ -4202,8 +4388,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4202
4388
|
*/
|
|
4203
4389
|
async conversationsCreate(aPIConversationCreate, options) {
|
|
4204
4390
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsCreate(aPIConversationCreate, options);
|
|
4205
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4206
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4391
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _210 => _210.serverIndex]), () => ( 0));
|
|
4392
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _211 => _211["UnboundApi.conversationsCreate"], 'optionalAccess', _212 => _212[localVarOperationServerIndex], 'optionalAccess', _213 => _213.url]);
|
|
4207
4393
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4208
4394
|
},
|
|
4209
4395
|
/**
|
|
@@ -4215,8 +4401,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4215
4401
|
*/
|
|
4216
4402
|
async conversationsGet(conversationId, options) {
|
|
4217
4403
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsGet(conversationId, options);
|
|
4218
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4219
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4404
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _214 => _214.serverIndex]), () => ( 0));
|
|
4405
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _215 => _215["UnboundApi.conversationsGet"], 'optionalAccess', _216 => _216[localVarOperationServerIndex], 'optionalAccess', _217 => _217.url]);
|
|
4220
4406
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4221
4407
|
},
|
|
4222
4408
|
/**
|
|
@@ -4234,8 +4420,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4234
4420
|
*/
|
|
4235
4421
|
async conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4236
4422
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4237
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4238
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4423
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _218 => _218.serverIndex]), () => ( 0));
|
|
4424
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _219 => _219["UnboundApi.conversationsList"], 'optionalAccess', _220 => _220[localVarOperationServerIndex], 'optionalAccess', _221 => _221.url]);
|
|
4239
4425
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4240
4426
|
},
|
|
4241
4427
|
/**
|
|
@@ -4248,8 +4434,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4248
4434
|
*/
|
|
4249
4435
|
async conversationsUpdate(conversationId, aPIConversationUpdate, options) {
|
|
4250
4436
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsUpdate(conversationId, aPIConversationUpdate, options);
|
|
4251
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4252
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4437
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _222 => _222.serverIndex]), () => ( 0));
|
|
4438
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _223 => _223["UnboundApi.conversationsUpdate"], 'optionalAccess', _224 => _224[localVarOperationServerIndex], 'optionalAccess', _225 => _225.url]);
|
|
4253
4439
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4254
4440
|
},
|
|
4255
4441
|
/**
|
|
@@ -4262,8 +4448,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4262
4448
|
*/
|
|
4263
4449
|
async emailsCreate(contactId, aPIEmailCreate, options) {
|
|
4264
4450
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, aPIEmailCreate, options);
|
|
4265
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4266
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4451
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _226 => _226.serverIndex]), () => ( 0));
|
|
4452
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _227 => _227["UnboundApi.emailsCreate"], 'optionalAccess', _228 => _228[localVarOperationServerIndex], 'optionalAccess', _229 => _229.url]);
|
|
4267
4453
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4268
4454
|
},
|
|
4269
4455
|
/**
|
|
@@ -4275,8 +4461,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4275
4461
|
*/
|
|
4276
4462
|
async emailsDelete(emailId, options) {
|
|
4277
4463
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
4278
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4279
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4464
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _230 => _230.serverIndex]), () => ( 0));
|
|
4465
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _231 => _231["UnboundApi.emailsDelete"], 'optionalAccess', _232 => _232[localVarOperationServerIndex], 'optionalAccess', _233 => _233.url]);
|
|
4280
4466
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4281
4467
|
},
|
|
4282
4468
|
/**
|
|
@@ -4288,8 +4474,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4288
4474
|
*/
|
|
4289
4475
|
async emailsGet(emailId, options) {
|
|
4290
4476
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsGet(emailId, options);
|
|
4291
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4292
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4477
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _234 => _234.serverIndex]), () => ( 0));
|
|
4478
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _235 => _235["UnboundApi.emailsGet"], 'optionalAccess', _236 => _236[localVarOperationServerIndex], 'optionalAccess', _237 => _237.url]);
|
|
4293
4479
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4294
4480
|
},
|
|
4295
4481
|
/**
|
|
@@ -4302,8 +4488,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4302
4488
|
*/
|
|
4303
4489
|
async emailsUpdate(emailId, aPIEmailUpdate, options) {
|
|
4304
4490
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsUpdate(emailId, aPIEmailUpdate, options);
|
|
4305
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4306
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4491
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _238 => _238.serverIndex]), () => ( 0));
|
|
4492
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _239 => _239["UnboundApi.emailsUpdate"], 'optionalAccess', _240 => _240[localVarOperationServerIndex], 'optionalAccess', _241 => _241.url]);
|
|
4307
4493
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4308
4494
|
},
|
|
4309
4495
|
/**
|
|
@@ -4315,8 +4501,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4315
4501
|
*/
|
|
4316
4502
|
async inquiriesList(contactId, options) {
|
|
4317
4503
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
4318
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4319
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4504
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _242 => _242.serverIndex]), () => ( 0));
|
|
4505
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _243 => _243["UnboundApi.inquiriesList"], 'optionalAccess', _244 => _244[localVarOperationServerIndex], 'optionalAccess', _245 => _245.url]);
|
|
4320
4506
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4321
4507
|
},
|
|
4322
4508
|
/**
|
|
@@ -4328,8 +4514,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4328
4514
|
*/
|
|
4329
4515
|
async listingsGet(listingId, options) {
|
|
4330
4516
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
4331
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4332
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4517
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _246 => _246.serverIndex]), () => ( 0));
|
|
4518
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _247 => _247["UnboundApi.listingsGet"], 'optionalAccess', _248 => _248[localVarOperationServerIndex], 'optionalAccess', _249 => _249.url]);
|
|
4333
4519
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4334
4520
|
},
|
|
4335
4521
|
/**
|
|
@@ -4347,8 +4533,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4347
4533
|
*/
|
|
4348
4534
|
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4349
4535
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4350
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4351
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4536
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _250 => _250.serverIndex]), () => ( 0));
|
|
4537
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _251 => _251["UnboundApi.listingsList"], 'optionalAccess', _252 => _252[localVarOperationServerIndex], 'optionalAccess', _253 => _253.url]);
|
|
4352
4538
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4353
4539
|
},
|
|
4354
4540
|
/**
|
|
@@ -4359,8 +4545,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4359
4545
|
*/
|
|
4360
4546
|
async managedPhoneNumbersList(options) {
|
|
4361
4547
|
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
4362
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4363
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4548
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _254 => _254.serverIndex]), () => ( 0));
|
|
4549
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _255 => _255["UnboundApi.managedPhoneNumbersList"], 'optionalAccess', _256 => _256[localVarOperationServerIndex], 'optionalAccess', _257 => _257.url]);
|
|
4364
4550
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4365
4551
|
},
|
|
4366
4552
|
/**
|
|
@@ -4373,8 +4559,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4373
4559
|
*/
|
|
4374
4560
|
async messagesCreate(conversationId, aPIMessageCreate, options) {
|
|
4375
4561
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, aPIMessageCreate, options);
|
|
4376
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4377
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4562
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _258 => _258.serverIndex]), () => ( 0));
|
|
4563
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _259 => _259["UnboundApi.messagesCreate"], 'optionalAccess', _260 => _260[localVarOperationServerIndex], 'optionalAccess', _261 => _261.url]);
|
|
4378
4564
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4379
4565
|
},
|
|
4380
4566
|
/**
|
|
@@ -4386,8 +4572,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4386
4572
|
*/
|
|
4387
4573
|
async messagesGet(messageId, options) {
|
|
4388
4574
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
4389
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4390
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4575
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _262 => _262.serverIndex]), () => ( 0));
|
|
4576
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _263 => _263["UnboundApi.messagesGet"], 'optionalAccess', _264 => _264[localVarOperationServerIndex], 'optionalAccess', _265 => _265.url]);
|
|
4391
4577
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4392
4578
|
},
|
|
4393
4579
|
/**
|
|
@@ -4406,49 +4592,62 @@ var UnboundApiFp = function(configuration) {
|
|
|
4406
4592
|
*/
|
|
4407
4593
|
async messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4408
4594
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4409
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4410
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4595
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _266 => _266.serverIndex]), () => ( 0));
|
|
4596
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _267 => _267["UnboundApi.messagesList"], 'optionalAccess', _268 => _268[localVarOperationServerIndex], 'optionalAccess', _269 => _269.url]);
|
|
4411
4597
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4412
4598
|
},
|
|
4413
4599
|
/**
|
|
4414
|
-
*
|
|
4415
|
-
* @summary
|
|
4600
|
+
* Phones Create
|
|
4601
|
+
* @summary Phones Create
|
|
4416
4602
|
* @param {string} contactId
|
|
4417
|
-
* @param {
|
|
4603
|
+
* @param {APIPhoneCreate} aPIPhoneCreate
|
|
4418
4604
|
* @param {*} [options] Override http request option.
|
|
4419
4605
|
* @throws {RequiredError}
|
|
4420
4606
|
*/
|
|
4421
|
-
async
|
|
4422
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4423
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4424
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4607
|
+
async phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
4608
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, aPIPhoneCreate, options);
|
|
4609
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _270 => _270.serverIndex]), () => ( 0));
|
|
4610
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _271 => _271["UnboundApi.phonesCreate"], 'optionalAccess', _272 => _272[localVarOperationServerIndex], 'optionalAccess', _273 => _273.url]);
|
|
4425
4611
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4426
4612
|
},
|
|
4427
4613
|
/**
|
|
4428
|
-
*
|
|
4429
|
-
* @summary
|
|
4430
|
-
* @param {string}
|
|
4614
|
+
* Phones Delete
|
|
4615
|
+
* @summary Phones Delete
|
|
4616
|
+
* @param {string} phoneId
|
|
4431
4617
|
* @param {*} [options] Override http request option.
|
|
4432
4618
|
* @throws {RequiredError}
|
|
4433
4619
|
*/
|
|
4434
|
-
async
|
|
4435
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4436
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4437
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4620
|
+
async phonesDelete(phoneId, options) {
|
|
4621
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
4622
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _274 => _274.serverIndex]), () => ( 0));
|
|
4623
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _275 => _275["UnboundApi.phonesDelete"], 'optionalAccess', _276 => _276[localVarOperationServerIndex], 'optionalAccess', _277 => _277.url]);
|
|
4438
4624
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4439
4625
|
},
|
|
4440
4626
|
/**
|
|
4441
|
-
*
|
|
4442
|
-
* @summary
|
|
4443
|
-
* @param {string}
|
|
4444
|
-
* @param {APIPhoneNumberUpdate} aPIPhoneNumberUpdate
|
|
4627
|
+
* Phones Get
|
|
4628
|
+
* @summary Phones Get
|
|
4629
|
+
* @param {string} phoneId
|
|
4445
4630
|
* @param {*} [options] Override http request option.
|
|
4446
4631
|
* @throws {RequiredError}
|
|
4447
4632
|
*/
|
|
4448
|
-
async
|
|
4449
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4450
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4451
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4633
|
+
async phonesGet(phoneId, options) {
|
|
4634
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesGet(phoneId, options);
|
|
4635
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _278 => _278.serverIndex]), () => ( 0));
|
|
4636
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _279 => _279["UnboundApi.phonesGet"], 'optionalAccess', _280 => _280[localVarOperationServerIndex], 'optionalAccess', _281 => _281.url]);
|
|
4637
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4638
|
+
},
|
|
4639
|
+
/**
|
|
4640
|
+
* Phones Update
|
|
4641
|
+
* @summary Phones Update
|
|
4642
|
+
* @param {string} phoneId
|
|
4643
|
+
* @param {APIPhoneUpdate} aPIPhoneUpdate
|
|
4644
|
+
* @param {*} [options] Override http request option.
|
|
4645
|
+
* @throws {RequiredError}
|
|
4646
|
+
*/
|
|
4647
|
+
async phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
4648
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesUpdate(phoneId, aPIPhoneUpdate, options);
|
|
4649
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _282 => _282.serverIndex]), () => ( 0));
|
|
4650
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _283 => _283["UnboundApi.phonesUpdate"], 'optionalAccess', _284 => _284[localVarOperationServerIndex], 'optionalAccess', _285 => _285.url]);
|
|
4452
4651
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4453
4652
|
},
|
|
4454
4653
|
/**
|
|
@@ -4460,8 +4659,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4460
4659
|
*/
|
|
4461
4660
|
async providersCreate(aPIProviderCreate, options) {
|
|
4462
4661
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(aPIProviderCreate, options);
|
|
4463
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4464
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4662
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _286 => _286.serverIndex]), () => ( 0));
|
|
4663
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _287 => _287["UnboundApi.providersCreate"], 'optionalAccess', _288 => _288[localVarOperationServerIndex], 'optionalAccess', _289 => _289.url]);
|
|
4465
4664
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4466
4665
|
},
|
|
4467
4666
|
/**
|
|
@@ -4473,8 +4672,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4473
4672
|
*/
|
|
4474
4673
|
async providersGet(providerId, options) {
|
|
4475
4674
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
4476
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4477
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4675
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _290 => _290.serverIndex]), () => ( 0));
|
|
4676
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _291 => _291["UnboundApi.providersGet"], 'optionalAccess', _292 => _292[localVarOperationServerIndex], 'optionalAccess', _293 => _293.url]);
|
|
4478
4677
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4479
4678
|
},
|
|
4480
4679
|
/**
|
|
@@ -4485,8 +4684,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4485
4684
|
*/
|
|
4486
4685
|
async providersList(options) {
|
|
4487
4686
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
4488
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4489
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4687
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _294 => _294.serverIndex]), () => ( 0));
|
|
4688
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _295 => _295["UnboundApi.providersList"], 'optionalAccess', _296 => _296[localVarOperationServerIndex], 'optionalAccess', _297 => _297.url]);
|
|
4490
4689
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4491
4690
|
},
|
|
4492
4691
|
/**
|
|
@@ -4499,8 +4698,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4499
4698
|
*/
|
|
4500
4699
|
async providersUpdate(providerId, aPIProviderUpdate, options) {
|
|
4501
4700
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, aPIProviderUpdate, options);
|
|
4502
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4503
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4701
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _298 => _298.serverIndex]), () => ( 0));
|
|
4702
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _299 => _299["UnboundApi.providersUpdate"], 'optionalAccess', _300 => _300[localVarOperationServerIndex], 'optionalAccess', _301 => _301.url]);
|
|
4504
4703
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4505
4704
|
},
|
|
4506
4705
|
/**
|
|
@@ -4512,8 +4711,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4512
4711
|
*/
|
|
4513
4712
|
async reservationsGet(reservationId, options) {
|
|
4514
4713
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
4515
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4516
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4714
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _302 => _302.serverIndex]), () => ( 0));
|
|
4715
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _303 => _303["UnboundApi.reservationsGet"], 'optionalAccess', _304 => _304[localVarOperationServerIndex], 'optionalAccess', _305 => _305.url]);
|
|
4517
4716
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4518
4717
|
},
|
|
4519
4718
|
/**
|
|
@@ -4531,8 +4730,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4531
4730
|
*/
|
|
4532
4731
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4533
4732
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4534
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4535
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4733
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _306 => _306.serverIndex]), () => ( 0));
|
|
4734
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _307 => _307["UnboundApi.reservationsList"], 'optionalAccess', _308 => _308[localVarOperationServerIndex], 'optionalAccess', _309 => _309.url]);
|
|
4536
4735
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4537
4736
|
},
|
|
4538
4737
|
/**
|
|
@@ -4544,8 +4743,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4544
4743
|
*/
|
|
4545
4744
|
async webhook(hostawayWebhook, options) {
|
|
4546
4745
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(hostawayWebhook, options);
|
|
4547
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4548
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4746
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _310 => _310.serverIndex]), () => ( 0));
|
|
4747
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _311 => _311["UnboundApi.webhook"], 'optionalAccess', _312 => _312[localVarOperationServerIndex], 'optionalAccess', _313 => _313.url]);
|
|
4549
4748
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4550
4749
|
}
|
|
4551
4750
|
};
|
|
@@ -4583,6 +4782,16 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
4583
4782
|
addressesDelete(addressId, options) {
|
|
4584
4783
|
return localVarFp.addressesDelete(addressId, options).then((request) => request(axios, basePath));
|
|
4585
4784
|
},
|
|
4785
|
+
/**
|
|
4786
|
+
* Addresses Get
|
|
4787
|
+
* @summary Addresses Get
|
|
4788
|
+
* @param {string} addressId
|
|
4789
|
+
* @param {*} [options] Override http request option.
|
|
4790
|
+
* @throws {RequiredError}
|
|
4791
|
+
*/
|
|
4792
|
+
addressesGet(addressId, options) {
|
|
4793
|
+
return localVarFp.addressesGet(addressId, options).then((request) => request(axios, basePath));
|
|
4794
|
+
},
|
|
4586
4795
|
/**
|
|
4587
4796
|
* Addresses Update
|
|
4588
4797
|
* @summary Addresses Update
|
|
@@ -4859,36 +5068,46 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
4859
5068
|
return localVarFp.messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
4860
5069
|
},
|
|
4861
5070
|
/**
|
|
4862
|
-
*
|
|
4863
|
-
* @summary
|
|
5071
|
+
* Phones Create
|
|
5072
|
+
* @summary Phones Create
|
|
4864
5073
|
* @param {string} contactId
|
|
4865
|
-
* @param {
|
|
5074
|
+
* @param {APIPhoneCreate} aPIPhoneCreate
|
|
4866
5075
|
* @param {*} [options] Override http request option.
|
|
4867
5076
|
* @throws {RequiredError}
|
|
4868
5077
|
*/
|
|
4869
|
-
|
|
4870
|
-
return localVarFp.
|
|
5078
|
+
phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
5079
|
+
return localVarFp.phonesCreate(contactId, aPIPhoneCreate, options).then((request) => request(axios, basePath));
|
|
4871
5080
|
},
|
|
4872
5081
|
/**
|
|
4873
|
-
*
|
|
4874
|
-
* @summary
|
|
4875
|
-
* @param {string}
|
|
5082
|
+
* Phones Delete
|
|
5083
|
+
* @summary Phones Delete
|
|
5084
|
+
* @param {string} phoneId
|
|
4876
5085
|
* @param {*} [options] Override http request option.
|
|
4877
5086
|
* @throws {RequiredError}
|
|
4878
5087
|
*/
|
|
4879
|
-
|
|
4880
|
-
return localVarFp.
|
|
5088
|
+
phonesDelete(phoneId, options) {
|
|
5089
|
+
return localVarFp.phonesDelete(phoneId, options).then((request) => request(axios, basePath));
|
|
4881
5090
|
},
|
|
4882
5091
|
/**
|
|
4883
|
-
*
|
|
4884
|
-
* @summary
|
|
4885
|
-
* @param {string}
|
|
4886
|
-
* @param {APIPhoneNumberUpdate} aPIPhoneNumberUpdate
|
|
5092
|
+
* Phones Get
|
|
5093
|
+
* @summary Phones Get
|
|
5094
|
+
* @param {string} phoneId
|
|
4887
5095
|
* @param {*} [options] Override http request option.
|
|
4888
5096
|
* @throws {RequiredError}
|
|
4889
5097
|
*/
|
|
4890
|
-
|
|
4891
|
-
return localVarFp.
|
|
5098
|
+
phonesGet(phoneId, options) {
|
|
5099
|
+
return localVarFp.phonesGet(phoneId, options).then((request) => request(axios, basePath));
|
|
5100
|
+
},
|
|
5101
|
+
/**
|
|
5102
|
+
* Phones Update
|
|
5103
|
+
* @summary Phones Update
|
|
5104
|
+
* @param {string} phoneId
|
|
5105
|
+
* @param {APIPhoneUpdate} aPIPhoneUpdate
|
|
5106
|
+
* @param {*} [options] Override http request option.
|
|
5107
|
+
* @throws {RequiredError}
|
|
5108
|
+
*/
|
|
5109
|
+
phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
5110
|
+
return localVarFp.phonesUpdate(phoneId, aPIPhoneUpdate, options).then((request) => request(axios, basePath));
|
|
4892
5111
|
},
|
|
4893
5112
|
/**
|
|
4894
5113
|
* Providers Create
|
|
@@ -5002,6 +5221,17 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5002
5221
|
addressesDelete(addressId, options) {
|
|
5003
5222
|
return UnboundApiFp(this.configuration).addressesDelete(addressId, options).then((request) => request(this.axios, this.basePath));
|
|
5004
5223
|
}
|
|
5224
|
+
/**
|
|
5225
|
+
* Addresses Get
|
|
5226
|
+
* @summary Addresses Get
|
|
5227
|
+
* @param {string} addressId
|
|
5228
|
+
* @param {*} [options] Override http request option.
|
|
5229
|
+
* @throws {RequiredError}
|
|
5230
|
+
* @memberof UnboundApi
|
|
5231
|
+
*/
|
|
5232
|
+
addressesGet(addressId, options) {
|
|
5233
|
+
return UnboundApiFp(this.configuration).addressesGet(addressId, options).then((request) => request(this.axios, this.basePath));
|
|
5234
|
+
}
|
|
5005
5235
|
/**
|
|
5006
5236
|
* Addresses Update
|
|
5007
5237
|
* @summary Addresses Update
|
|
@@ -5302,39 +5532,50 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5302
5532
|
return UnboundApiFp(this.configuration).messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
5303
5533
|
}
|
|
5304
5534
|
/**
|
|
5305
|
-
*
|
|
5306
|
-
* @summary
|
|
5535
|
+
* Phones Create
|
|
5536
|
+
* @summary Phones Create
|
|
5307
5537
|
* @param {string} contactId
|
|
5308
|
-
* @param {
|
|
5538
|
+
* @param {APIPhoneCreate} aPIPhoneCreate
|
|
5539
|
+
* @param {*} [options] Override http request option.
|
|
5540
|
+
* @throws {RequiredError}
|
|
5541
|
+
* @memberof UnboundApi
|
|
5542
|
+
*/
|
|
5543
|
+
phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
5544
|
+
return UnboundApiFp(this.configuration).phonesCreate(contactId, aPIPhoneCreate, options).then((request) => request(this.axios, this.basePath));
|
|
5545
|
+
}
|
|
5546
|
+
/**
|
|
5547
|
+
* Phones Delete
|
|
5548
|
+
* @summary Phones Delete
|
|
5549
|
+
* @param {string} phoneId
|
|
5309
5550
|
* @param {*} [options] Override http request option.
|
|
5310
5551
|
* @throws {RequiredError}
|
|
5311
5552
|
* @memberof UnboundApi
|
|
5312
5553
|
*/
|
|
5313
|
-
|
|
5314
|
-
return UnboundApiFp(this.configuration).
|
|
5554
|
+
phonesDelete(phoneId, options) {
|
|
5555
|
+
return UnboundApiFp(this.configuration).phonesDelete(phoneId, options).then((request) => request(this.axios, this.basePath));
|
|
5315
5556
|
}
|
|
5316
5557
|
/**
|
|
5317
|
-
*
|
|
5318
|
-
* @summary
|
|
5319
|
-
* @param {string}
|
|
5558
|
+
* Phones Get
|
|
5559
|
+
* @summary Phones Get
|
|
5560
|
+
* @param {string} phoneId
|
|
5320
5561
|
* @param {*} [options] Override http request option.
|
|
5321
5562
|
* @throws {RequiredError}
|
|
5322
5563
|
* @memberof UnboundApi
|
|
5323
5564
|
*/
|
|
5324
|
-
|
|
5325
|
-
return UnboundApiFp(this.configuration).
|
|
5565
|
+
phonesGet(phoneId, options) {
|
|
5566
|
+
return UnboundApiFp(this.configuration).phonesGet(phoneId, options).then((request) => request(this.axios, this.basePath));
|
|
5326
5567
|
}
|
|
5327
5568
|
/**
|
|
5328
|
-
*
|
|
5329
|
-
* @summary
|
|
5330
|
-
* @param {string}
|
|
5331
|
-
* @param {
|
|
5569
|
+
* Phones Update
|
|
5570
|
+
* @summary Phones Update
|
|
5571
|
+
* @param {string} phoneId
|
|
5572
|
+
* @param {APIPhoneUpdate} aPIPhoneUpdate
|
|
5332
5573
|
* @param {*} [options] Override http request option.
|
|
5333
5574
|
* @throws {RequiredError}
|
|
5334
5575
|
* @memberof UnboundApi
|
|
5335
5576
|
*/
|
|
5336
|
-
|
|
5337
|
-
return UnboundApiFp(this.configuration).
|
|
5577
|
+
phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
5578
|
+
return UnboundApiFp(this.configuration).phonesUpdate(phoneId, aPIPhoneUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
5338
5579
|
}
|
|
5339
5580
|
/**
|
|
5340
5581
|
* Providers Create
|
|
@@ -5489,7 +5730,7 @@ var Configuration = class {
|
|
|
5489
5730
|
this.baseOptions = {
|
|
5490
5731
|
...param.baseOptions,
|
|
5491
5732
|
headers: {
|
|
5492
|
-
..._optionalChain([param, 'access',
|
|
5733
|
+
..._optionalChain([param, 'access', _314 => _314.baseOptions, 'optionalAccess', _315 => _315.headers])
|
|
5493
5734
|
}
|
|
5494
5735
|
};
|
|
5495
5736
|
this.formDataCtor = param.formDataCtor;
|