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