@ember-home/unbound-ts-client 0.0.38 → 0.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +290 -192
- package/dist/index.d.ts +290 -192
- package/dist/index.js +527 -286
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +390 -149
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -117,7 +117,8 @@ var ReservationChannelTypes = {
|
|
|
117
117
|
Marriott: "MARRIOTT",
|
|
118
118
|
Partner: "PARTNER",
|
|
119
119
|
Gds: "GDS",
|
|
120
|
-
Google: "GOOGLE"
|
|
120
|
+
Google: "GOOGLE",
|
|
121
|
+
UnboundDirect: "UNBOUND_DIRECT"
|
|
121
122
|
};
|
|
122
123
|
var ReservationStatus = {
|
|
123
124
|
Cancelled: "CANCELLED",
|
|
@@ -305,6 +306,32 @@ var ContactsApiAxiosParamCreator = function(configuration) {
|
|
|
305
306
|
options: localVarRequestOptions
|
|
306
307
|
};
|
|
307
308
|
},
|
|
309
|
+
/**
|
|
310
|
+
* Addresses Get
|
|
311
|
+
* @summary Addresses Get
|
|
312
|
+
* @param {string} addressId
|
|
313
|
+
* @param {*} [options] Override http request option.
|
|
314
|
+
* @throws {RequiredError}
|
|
315
|
+
*/
|
|
316
|
+
addressesGet: async (addressId, options = {}) => {
|
|
317
|
+
assertParamExists("addressesGet", "addressId", addressId);
|
|
318
|
+
const localVarPath = `/addresses/{addressId}`.replace(`{${"addressId"}}`, encodeURIComponent(String(addressId)));
|
|
319
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
320
|
+
let baseOptions;
|
|
321
|
+
if (configuration) {
|
|
322
|
+
baseOptions = configuration.baseOptions;
|
|
323
|
+
}
|
|
324
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
325
|
+
const localVarHeaderParameter = {};
|
|
326
|
+
const localVarQueryParameter = {};
|
|
327
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
328
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
329
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
330
|
+
return {
|
|
331
|
+
url: toPathString(localVarUrlObj),
|
|
332
|
+
options: localVarRequestOptions
|
|
333
|
+
};
|
|
334
|
+
},
|
|
308
335
|
/**
|
|
309
336
|
* Addresses Update
|
|
310
337
|
* @summary Addresses Update
|
|
@@ -702,17 +729,17 @@ var ContactsApiAxiosParamCreator = function(configuration) {
|
|
|
702
729
|
};
|
|
703
730
|
},
|
|
704
731
|
/**
|
|
705
|
-
*
|
|
706
|
-
* @summary
|
|
732
|
+
* Phones Create
|
|
733
|
+
* @summary Phones Create
|
|
707
734
|
* @param {string} contactId
|
|
708
|
-
* @param {
|
|
735
|
+
* @param {APIPhoneCreate} aPIPhoneCreate
|
|
709
736
|
* @param {*} [options] Override http request option.
|
|
710
737
|
* @throws {RequiredError}
|
|
711
738
|
*/
|
|
712
|
-
|
|
713
|
-
assertParamExists("
|
|
714
|
-
assertParamExists("
|
|
715
|
-
const localVarPath = `/contacts/{contactId}/
|
|
739
|
+
phonesCreate: async (contactId, aPIPhoneCreate, options = {}) => {
|
|
740
|
+
assertParamExists("phonesCreate", "contactId", contactId);
|
|
741
|
+
assertParamExists("phonesCreate", "aPIPhoneCreate", aPIPhoneCreate);
|
|
742
|
+
const localVarPath = `/contacts/{contactId}/phones`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
716
743
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
717
744
|
let baseOptions;
|
|
718
745
|
if (configuration) {
|
|
@@ -725,22 +752,22 @@ var ContactsApiAxiosParamCreator = function(configuration) {
|
|
|
725
752
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
726
753
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
727
754
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
728
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
755
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIPhoneCreate, localVarRequestOptions, configuration);
|
|
729
756
|
return {
|
|
730
757
|
url: toPathString(localVarUrlObj),
|
|
731
758
|
options: localVarRequestOptions
|
|
732
759
|
};
|
|
733
760
|
},
|
|
734
761
|
/**
|
|
735
|
-
*
|
|
736
|
-
* @summary
|
|
737
|
-
* @param {string}
|
|
762
|
+
* Phones Delete
|
|
763
|
+
* @summary Phones Delete
|
|
764
|
+
* @param {string} phoneId
|
|
738
765
|
* @param {*} [options] Override http request option.
|
|
739
766
|
* @throws {RequiredError}
|
|
740
767
|
*/
|
|
741
|
-
|
|
742
|
-
assertParamExists("
|
|
743
|
-
const localVarPath = `/
|
|
768
|
+
phonesDelete: async (phoneId, options = {}) => {
|
|
769
|
+
assertParamExists("phonesDelete", "phoneId", phoneId);
|
|
770
|
+
const localVarPath = `/phones/{phoneId}`.replace(`{${"phoneId"}}`, encodeURIComponent(String(phoneId)));
|
|
744
771
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
745
772
|
let baseOptions;
|
|
746
773
|
if (configuration) {
|
|
@@ -758,17 +785,43 @@ var ContactsApiAxiosParamCreator = function(configuration) {
|
|
|
758
785
|
};
|
|
759
786
|
},
|
|
760
787
|
/**
|
|
761
|
-
*
|
|
762
|
-
* @summary
|
|
763
|
-
* @param {string}
|
|
764
|
-
* @param {APIPhoneNumberUpdate} aPIPhoneNumberUpdate
|
|
788
|
+
* Phones Get
|
|
789
|
+
* @summary Phones Get
|
|
790
|
+
* @param {string} phoneId
|
|
765
791
|
* @param {*} [options] Override http request option.
|
|
766
792
|
* @throws {RequiredError}
|
|
767
793
|
*/
|
|
768
|
-
|
|
769
|
-
assertParamExists("
|
|
770
|
-
|
|
771
|
-
const
|
|
794
|
+
phonesGet: async (phoneId, options = {}) => {
|
|
795
|
+
assertParamExists("phonesGet", "phoneId", phoneId);
|
|
796
|
+
const localVarPath = `/phones/{phoneId}`.replace(`{${"phoneId"}}`, encodeURIComponent(String(phoneId)));
|
|
797
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
798
|
+
let baseOptions;
|
|
799
|
+
if (configuration) {
|
|
800
|
+
baseOptions = configuration.baseOptions;
|
|
801
|
+
}
|
|
802
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
803
|
+
const localVarHeaderParameter = {};
|
|
804
|
+
const localVarQueryParameter = {};
|
|
805
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
806
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
807
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
808
|
+
return {
|
|
809
|
+
url: toPathString(localVarUrlObj),
|
|
810
|
+
options: localVarRequestOptions
|
|
811
|
+
};
|
|
812
|
+
},
|
|
813
|
+
/**
|
|
814
|
+
* Phones Update
|
|
815
|
+
* @summary Phones Update
|
|
816
|
+
* @param {string} phoneId
|
|
817
|
+
* @param {APIPhoneUpdate} aPIPhoneUpdate
|
|
818
|
+
* @param {*} [options] Override http request option.
|
|
819
|
+
* @throws {RequiredError}
|
|
820
|
+
*/
|
|
821
|
+
phonesUpdate: async (phoneId, aPIPhoneUpdate, options = {}) => {
|
|
822
|
+
assertParamExists("phonesUpdate", "phoneId", phoneId);
|
|
823
|
+
assertParamExists("phonesUpdate", "aPIPhoneUpdate", aPIPhoneUpdate);
|
|
824
|
+
const localVarPath = `/phones/{phoneId}`.replace(`{${"phoneId"}}`, encodeURIComponent(String(phoneId)));
|
|
772
825
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
773
826
|
let baseOptions;
|
|
774
827
|
if (configuration) {
|
|
@@ -781,7 +834,7 @@ var ContactsApiAxiosParamCreator = function(configuration) {
|
|
|
781
834
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
782
835
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
783
836
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
784
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
837
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIPhoneUpdate, localVarRequestOptions, configuration);
|
|
785
838
|
return {
|
|
786
839
|
url: toPathString(localVarUrlObj),
|
|
787
840
|
options: localVarRequestOptions
|
|
@@ -819,6 +872,19 @@ var ContactsApiFp = function(configuration) {
|
|
|
819
872
|
const localVarOperationServerBasePath = operationServerMap["ContactsApi.addressesDelete"]?.[localVarOperationServerIndex]?.url;
|
|
820
873
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
821
874
|
},
|
|
875
|
+
/**
|
|
876
|
+
* Addresses Get
|
|
877
|
+
* @summary Addresses Get
|
|
878
|
+
* @param {string} addressId
|
|
879
|
+
* @param {*} [options] Override http request option.
|
|
880
|
+
* @throws {RequiredError}
|
|
881
|
+
*/
|
|
882
|
+
async addressesGet(addressId, options) {
|
|
883
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesGet(addressId, options);
|
|
884
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
885
|
+
const localVarOperationServerBasePath = operationServerMap["ContactsApi.addressesGet"]?.[localVarOperationServerIndex]?.url;
|
|
886
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
887
|
+
},
|
|
822
888
|
/**
|
|
823
889
|
* Addresses Update
|
|
824
890
|
* @summary Addresses Update
|
|
@@ -1004,44 +1070,57 @@ var ContactsApiFp = function(configuration) {
|
|
|
1004
1070
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1005
1071
|
},
|
|
1006
1072
|
/**
|
|
1007
|
-
*
|
|
1008
|
-
* @summary
|
|
1073
|
+
* Phones Create
|
|
1074
|
+
* @summary Phones Create
|
|
1009
1075
|
* @param {string} contactId
|
|
1010
|
-
* @param {
|
|
1076
|
+
* @param {APIPhoneCreate} aPIPhoneCreate
|
|
1077
|
+
* @param {*} [options] Override http request option.
|
|
1078
|
+
* @throws {RequiredError}
|
|
1079
|
+
*/
|
|
1080
|
+
async phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
1081
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, aPIPhoneCreate, options);
|
|
1082
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1083
|
+
const localVarOperationServerBasePath = operationServerMap["ContactsApi.phonesCreate"]?.[localVarOperationServerIndex]?.url;
|
|
1084
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1085
|
+
},
|
|
1086
|
+
/**
|
|
1087
|
+
* Phones Delete
|
|
1088
|
+
* @summary Phones Delete
|
|
1089
|
+
* @param {string} phoneId
|
|
1011
1090
|
* @param {*} [options] Override http request option.
|
|
1012
1091
|
* @throws {RequiredError}
|
|
1013
1092
|
*/
|
|
1014
|
-
async
|
|
1015
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1093
|
+
async phonesDelete(phoneId, options) {
|
|
1094
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
1016
1095
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1017
|
-
const localVarOperationServerBasePath = operationServerMap["ContactsApi.
|
|
1096
|
+
const localVarOperationServerBasePath = operationServerMap["ContactsApi.phonesDelete"]?.[localVarOperationServerIndex]?.url;
|
|
1018
1097
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1019
1098
|
},
|
|
1020
1099
|
/**
|
|
1021
|
-
*
|
|
1022
|
-
* @summary
|
|
1023
|
-
* @param {string}
|
|
1100
|
+
* Phones Get
|
|
1101
|
+
* @summary Phones Get
|
|
1102
|
+
* @param {string} phoneId
|
|
1024
1103
|
* @param {*} [options] Override http request option.
|
|
1025
1104
|
* @throws {RequiredError}
|
|
1026
1105
|
*/
|
|
1027
|
-
async
|
|
1028
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1106
|
+
async phonesGet(phoneId, options) {
|
|
1107
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesGet(phoneId, options);
|
|
1029
1108
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1030
|
-
const localVarOperationServerBasePath = operationServerMap["ContactsApi.
|
|
1109
|
+
const localVarOperationServerBasePath = operationServerMap["ContactsApi.phonesGet"]?.[localVarOperationServerIndex]?.url;
|
|
1031
1110
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1032
1111
|
},
|
|
1033
1112
|
/**
|
|
1034
|
-
*
|
|
1035
|
-
* @summary
|
|
1036
|
-
* @param {string}
|
|
1037
|
-
* @param {
|
|
1113
|
+
* Phones Update
|
|
1114
|
+
* @summary Phones Update
|
|
1115
|
+
* @param {string} phoneId
|
|
1116
|
+
* @param {APIPhoneUpdate} aPIPhoneUpdate
|
|
1038
1117
|
* @param {*} [options] Override http request option.
|
|
1039
1118
|
* @throws {RequiredError}
|
|
1040
1119
|
*/
|
|
1041
|
-
async
|
|
1042
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1120
|
+
async phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
1121
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesUpdate(phoneId, aPIPhoneUpdate, options);
|
|
1043
1122
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1044
|
-
const localVarOperationServerBasePath = operationServerMap["ContactsApi.
|
|
1123
|
+
const localVarOperationServerBasePath = operationServerMap["ContactsApi.phonesUpdate"]?.[localVarOperationServerIndex]?.url;
|
|
1045
1124
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1046
1125
|
}
|
|
1047
1126
|
};
|
|
@@ -1070,6 +1149,16 @@ var ContactsApiFactory = function(configuration, basePath, axios) {
|
|
|
1070
1149
|
addressesDelete(addressId, options) {
|
|
1071
1150
|
return localVarFp.addressesDelete(addressId, options).then((request) => request(axios, basePath));
|
|
1072
1151
|
},
|
|
1152
|
+
/**
|
|
1153
|
+
* Addresses Get
|
|
1154
|
+
* @summary Addresses Get
|
|
1155
|
+
* @param {string} addressId
|
|
1156
|
+
* @param {*} [options] Override http request option.
|
|
1157
|
+
* @throws {RequiredError}
|
|
1158
|
+
*/
|
|
1159
|
+
addressesGet(addressId, options) {
|
|
1160
|
+
return localVarFp.addressesGet(addressId, options).then((request) => request(axios, basePath));
|
|
1161
|
+
},
|
|
1073
1162
|
/**
|
|
1074
1163
|
* Addresses Update
|
|
1075
1164
|
* @summary Addresses Update
|
|
@@ -1216,36 +1305,46 @@ var ContactsApiFactory = function(configuration, basePath, axios) {
|
|
|
1216
1305
|
return localVarFp.emailsUpdate(emailId, aPIEmailUpdate, options).then((request) => request(axios, basePath));
|
|
1217
1306
|
},
|
|
1218
1307
|
/**
|
|
1219
|
-
*
|
|
1220
|
-
* @summary
|
|
1308
|
+
* Phones Create
|
|
1309
|
+
* @summary Phones Create
|
|
1221
1310
|
* @param {string} contactId
|
|
1222
|
-
* @param {
|
|
1311
|
+
* @param {APIPhoneCreate} aPIPhoneCreate
|
|
1312
|
+
* @param {*} [options] Override http request option.
|
|
1313
|
+
* @throws {RequiredError}
|
|
1314
|
+
*/
|
|
1315
|
+
phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
1316
|
+
return localVarFp.phonesCreate(contactId, aPIPhoneCreate, options).then((request) => request(axios, basePath));
|
|
1317
|
+
},
|
|
1318
|
+
/**
|
|
1319
|
+
* Phones Delete
|
|
1320
|
+
* @summary Phones Delete
|
|
1321
|
+
* @param {string} phoneId
|
|
1223
1322
|
* @param {*} [options] Override http request option.
|
|
1224
1323
|
* @throws {RequiredError}
|
|
1225
1324
|
*/
|
|
1226
|
-
|
|
1227
|
-
return localVarFp.
|
|
1325
|
+
phonesDelete(phoneId, options) {
|
|
1326
|
+
return localVarFp.phonesDelete(phoneId, options).then((request) => request(axios, basePath));
|
|
1228
1327
|
},
|
|
1229
1328
|
/**
|
|
1230
|
-
*
|
|
1231
|
-
* @summary
|
|
1232
|
-
* @param {string}
|
|
1329
|
+
* Phones Get
|
|
1330
|
+
* @summary Phones Get
|
|
1331
|
+
* @param {string} phoneId
|
|
1233
1332
|
* @param {*} [options] Override http request option.
|
|
1234
1333
|
* @throws {RequiredError}
|
|
1235
1334
|
*/
|
|
1236
|
-
|
|
1237
|
-
return localVarFp.
|
|
1335
|
+
phonesGet(phoneId, options) {
|
|
1336
|
+
return localVarFp.phonesGet(phoneId, options).then((request) => request(axios, basePath));
|
|
1238
1337
|
},
|
|
1239
1338
|
/**
|
|
1240
|
-
*
|
|
1241
|
-
* @summary
|
|
1242
|
-
* @param {string}
|
|
1243
|
-
* @param {
|
|
1339
|
+
* Phones Update
|
|
1340
|
+
* @summary Phones Update
|
|
1341
|
+
* @param {string} phoneId
|
|
1342
|
+
* @param {APIPhoneUpdate} aPIPhoneUpdate
|
|
1244
1343
|
* @param {*} [options] Override http request option.
|
|
1245
1344
|
* @throws {RequiredError}
|
|
1246
1345
|
*/
|
|
1247
|
-
|
|
1248
|
-
return localVarFp.
|
|
1346
|
+
phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
1347
|
+
return localVarFp.phonesUpdate(phoneId, aPIPhoneUpdate, options).then((request) => request(axios, basePath));
|
|
1249
1348
|
}
|
|
1250
1349
|
};
|
|
1251
1350
|
};
|
|
@@ -1273,6 +1372,17 @@ var ContactsApi = class extends BaseAPI {
|
|
|
1273
1372
|
addressesDelete(addressId, options) {
|
|
1274
1373
|
return ContactsApiFp(this.configuration).addressesDelete(addressId, options).then((request) => request(this.axios, this.basePath));
|
|
1275
1374
|
}
|
|
1375
|
+
/**
|
|
1376
|
+
* Addresses Get
|
|
1377
|
+
* @summary Addresses Get
|
|
1378
|
+
* @param {string} addressId
|
|
1379
|
+
* @param {*} [options] Override http request option.
|
|
1380
|
+
* @throws {RequiredError}
|
|
1381
|
+
* @memberof ContactsApi
|
|
1382
|
+
*/
|
|
1383
|
+
addressesGet(addressId, options) {
|
|
1384
|
+
return ContactsApiFp(this.configuration).addressesGet(addressId, options).then((request) => request(this.axios, this.basePath));
|
|
1385
|
+
}
|
|
1276
1386
|
/**
|
|
1277
1387
|
* Addresses Update
|
|
1278
1388
|
* @summary Addresses Update
|
|
@@ -1432,39 +1542,50 @@ var ContactsApi = class extends BaseAPI {
|
|
|
1432
1542
|
return ContactsApiFp(this.configuration).emailsUpdate(emailId, aPIEmailUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
1433
1543
|
}
|
|
1434
1544
|
/**
|
|
1435
|
-
*
|
|
1436
|
-
* @summary
|
|
1545
|
+
* Phones Create
|
|
1546
|
+
* @summary Phones Create
|
|
1437
1547
|
* @param {string} contactId
|
|
1438
|
-
* @param {
|
|
1548
|
+
* @param {APIPhoneCreate} aPIPhoneCreate
|
|
1549
|
+
* @param {*} [options] Override http request option.
|
|
1550
|
+
* @throws {RequiredError}
|
|
1551
|
+
* @memberof ContactsApi
|
|
1552
|
+
*/
|
|
1553
|
+
phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
1554
|
+
return ContactsApiFp(this.configuration).phonesCreate(contactId, aPIPhoneCreate, options).then((request) => request(this.axios, this.basePath));
|
|
1555
|
+
}
|
|
1556
|
+
/**
|
|
1557
|
+
* Phones Delete
|
|
1558
|
+
* @summary Phones Delete
|
|
1559
|
+
* @param {string} phoneId
|
|
1439
1560
|
* @param {*} [options] Override http request option.
|
|
1440
1561
|
* @throws {RequiredError}
|
|
1441
1562
|
* @memberof ContactsApi
|
|
1442
1563
|
*/
|
|
1443
|
-
|
|
1444
|
-
return ContactsApiFp(this.configuration).
|
|
1564
|
+
phonesDelete(phoneId, options) {
|
|
1565
|
+
return ContactsApiFp(this.configuration).phonesDelete(phoneId, options).then((request) => request(this.axios, this.basePath));
|
|
1445
1566
|
}
|
|
1446
1567
|
/**
|
|
1447
|
-
*
|
|
1448
|
-
* @summary
|
|
1449
|
-
* @param {string}
|
|
1568
|
+
* Phones Get
|
|
1569
|
+
* @summary Phones Get
|
|
1570
|
+
* @param {string} phoneId
|
|
1450
1571
|
* @param {*} [options] Override http request option.
|
|
1451
1572
|
* @throws {RequiredError}
|
|
1452
1573
|
* @memberof ContactsApi
|
|
1453
1574
|
*/
|
|
1454
|
-
|
|
1455
|
-
return ContactsApiFp(this.configuration).
|
|
1575
|
+
phonesGet(phoneId, options) {
|
|
1576
|
+
return ContactsApiFp(this.configuration).phonesGet(phoneId, options).then((request) => request(this.axios, this.basePath));
|
|
1456
1577
|
}
|
|
1457
1578
|
/**
|
|
1458
|
-
*
|
|
1459
|
-
* @summary
|
|
1460
|
-
* @param {string}
|
|
1461
|
-
* @param {
|
|
1579
|
+
* Phones Update
|
|
1580
|
+
* @summary Phones Update
|
|
1581
|
+
* @param {string} phoneId
|
|
1582
|
+
* @param {APIPhoneUpdate} aPIPhoneUpdate
|
|
1462
1583
|
* @param {*} [options] Override http request option.
|
|
1463
1584
|
* @throws {RequiredError}
|
|
1464
1585
|
* @memberof ContactsApi
|
|
1465
1586
|
*/
|
|
1466
|
-
|
|
1467
|
-
return ContactsApiFp(this.configuration).
|
|
1587
|
+
phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
1588
|
+
return ContactsApiFp(this.configuration).phonesUpdate(phoneId, aPIPhoneUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
1468
1589
|
}
|
|
1469
1590
|
};
|
|
1470
1591
|
var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
@@ -2944,6 +3065,32 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
2944
3065
|
options: localVarRequestOptions
|
|
2945
3066
|
};
|
|
2946
3067
|
},
|
|
3068
|
+
/**
|
|
3069
|
+
* Addresses Get
|
|
3070
|
+
* @summary Addresses Get
|
|
3071
|
+
* @param {string} addressId
|
|
3072
|
+
* @param {*} [options] Override http request option.
|
|
3073
|
+
* @throws {RequiredError}
|
|
3074
|
+
*/
|
|
3075
|
+
addressesGet: async (addressId, options = {}) => {
|
|
3076
|
+
assertParamExists("addressesGet", "addressId", addressId);
|
|
3077
|
+
const localVarPath = `/addresses/{addressId}`.replace(`{${"addressId"}}`, encodeURIComponent(String(addressId)));
|
|
3078
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3079
|
+
let baseOptions;
|
|
3080
|
+
if (configuration) {
|
|
3081
|
+
baseOptions = configuration.baseOptions;
|
|
3082
|
+
}
|
|
3083
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3084
|
+
const localVarHeaderParameter = {};
|
|
3085
|
+
const localVarQueryParameter = {};
|
|
3086
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3087
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3088
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3089
|
+
return {
|
|
3090
|
+
url: toPathString(localVarUrlObj),
|
|
3091
|
+
options: localVarRequestOptions
|
|
3092
|
+
};
|
|
3093
|
+
},
|
|
2947
3094
|
/**
|
|
2948
3095
|
* Addresses Update
|
|
2949
3096
|
* @summary Addresses Update
|
|
@@ -3719,17 +3866,17 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3719
3866
|
};
|
|
3720
3867
|
},
|
|
3721
3868
|
/**
|
|
3722
|
-
*
|
|
3723
|
-
* @summary
|
|
3869
|
+
* Phones Create
|
|
3870
|
+
* @summary Phones Create
|
|
3724
3871
|
* @param {string} contactId
|
|
3725
|
-
* @param {
|
|
3872
|
+
* @param {APIPhoneCreate} aPIPhoneCreate
|
|
3726
3873
|
* @param {*} [options] Override http request option.
|
|
3727
3874
|
* @throws {RequiredError}
|
|
3728
3875
|
*/
|
|
3729
|
-
|
|
3730
|
-
assertParamExists("
|
|
3731
|
-
assertParamExists("
|
|
3732
|
-
const localVarPath = `/contacts/{contactId}/
|
|
3876
|
+
phonesCreate: async (contactId, aPIPhoneCreate, options = {}) => {
|
|
3877
|
+
assertParamExists("phonesCreate", "contactId", contactId);
|
|
3878
|
+
assertParamExists("phonesCreate", "aPIPhoneCreate", aPIPhoneCreate);
|
|
3879
|
+
const localVarPath = `/contacts/{contactId}/phones`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
3733
3880
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3734
3881
|
let baseOptions;
|
|
3735
3882
|
if (configuration) {
|
|
@@ -3742,22 +3889,22 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3742
3889
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3743
3890
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3744
3891
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3745
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3892
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIPhoneCreate, localVarRequestOptions, configuration);
|
|
3746
3893
|
return {
|
|
3747
3894
|
url: toPathString(localVarUrlObj),
|
|
3748
3895
|
options: localVarRequestOptions
|
|
3749
3896
|
};
|
|
3750
3897
|
},
|
|
3751
3898
|
/**
|
|
3752
|
-
*
|
|
3753
|
-
* @summary
|
|
3754
|
-
* @param {string}
|
|
3899
|
+
* Phones Delete
|
|
3900
|
+
* @summary Phones Delete
|
|
3901
|
+
* @param {string} phoneId
|
|
3755
3902
|
* @param {*} [options] Override http request option.
|
|
3756
3903
|
* @throws {RequiredError}
|
|
3757
3904
|
*/
|
|
3758
|
-
|
|
3759
|
-
assertParamExists("
|
|
3760
|
-
const localVarPath = `/
|
|
3905
|
+
phonesDelete: async (phoneId, options = {}) => {
|
|
3906
|
+
assertParamExists("phonesDelete", "phoneId", phoneId);
|
|
3907
|
+
const localVarPath = `/phones/{phoneId}`.replace(`{${"phoneId"}}`, encodeURIComponent(String(phoneId)));
|
|
3761
3908
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3762
3909
|
let baseOptions;
|
|
3763
3910
|
if (configuration) {
|
|
@@ -3775,17 +3922,43 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3775
3922
|
};
|
|
3776
3923
|
},
|
|
3777
3924
|
/**
|
|
3778
|
-
*
|
|
3779
|
-
* @summary
|
|
3780
|
-
* @param {string}
|
|
3781
|
-
* @param {APIPhoneNumberUpdate} aPIPhoneNumberUpdate
|
|
3925
|
+
* Phones Get
|
|
3926
|
+
* @summary Phones Get
|
|
3927
|
+
* @param {string} phoneId
|
|
3782
3928
|
* @param {*} [options] Override http request option.
|
|
3783
3929
|
* @throws {RequiredError}
|
|
3784
3930
|
*/
|
|
3785
|
-
|
|
3786
|
-
assertParamExists("
|
|
3787
|
-
|
|
3788
|
-
const
|
|
3931
|
+
phonesGet: async (phoneId, options = {}) => {
|
|
3932
|
+
assertParamExists("phonesGet", "phoneId", phoneId);
|
|
3933
|
+
const localVarPath = `/phones/{phoneId}`.replace(`{${"phoneId"}}`, encodeURIComponent(String(phoneId)));
|
|
3934
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3935
|
+
let baseOptions;
|
|
3936
|
+
if (configuration) {
|
|
3937
|
+
baseOptions = configuration.baseOptions;
|
|
3938
|
+
}
|
|
3939
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3940
|
+
const localVarHeaderParameter = {};
|
|
3941
|
+
const localVarQueryParameter = {};
|
|
3942
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3943
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3944
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3945
|
+
return {
|
|
3946
|
+
url: toPathString(localVarUrlObj),
|
|
3947
|
+
options: localVarRequestOptions
|
|
3948
|
+
};
|
|
3949
|
+
},
|
|
3950
|
+
/**
|
|
3951
|
+
* Phones Update
|
|
3952
|
+
* @summary Phones Update
|
|
3953
|
+
* @param {string} phoneId
|
|
3954
|
+
* @param {APIPhoneUpdate} aPIPhoneUpdate
|
|
3955
|
+
* @param {*} [options] Override http request option.
|
|
3956
|
+
* @throws {RequiredError}
|
|
3957
|
+
*/
|
|
3958
|
+
phonesUpdate: async (phoneId, aPIPhoneUpdate, options = {}) => {
|
|
3959
|
+
assertParamExists("phonesUpdate", "phoneId", phoneId);
|
|
3960
|
+
assertParamExists("phonesUpdate", "aPIPhoneUpdate", aPIPhoneUpdate);
|
|
3961
|
+
const localVarPath = `/phones/{phoneId}`.replace(`{${"phoneId"}}`, encodeURIComponent(String(phoneId)));
|
|
3789
3962
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3790
3963
|
let baseOptions;
|
|
3791
3964
|
if (configuration) {
|
|
@@ -3798,7 +3971,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3798
3971
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3799
3972
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3800
3973
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3801
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3974
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIPhoneUpdate, localVarRequestOptions, configuration);
|
|
3802
3975
|
return {
|
|
3803
3976
|
url: toPathString(localVarUrlObj),
|
|
3804
3977
|
options: localVarRequestOptions
|
|
@@ -4063,6 +4236,19 @@ var UnboundApiFp = function(configuration) {
|
|
|
4063
4236
|
const localVarOperationServerBasePath = operationServerMap["UnboundApi.addressesDelete"]?.[localVarOperationServerIndex]?.url;
|
|
4064
4237
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4065
4238
|
},
|
|
4239
|
+
/**
|
|
4240
|
+
* Addresses Get
|
|
4241
|
+
* @summary Addresses Get
|
|
4242
|
+
* @param {string} addressId
|
|
4243
|
+
* @param {*} [options] Override http request option.
|
|
4244
|
+
* @throws {RequiredError}
|
|
4245
|
+
*/
|
|
4246
|
+
async addressesGet(addressId, options) {
|
|
4247
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesGet(addressId, options);
|
|
4248
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4249
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.addressesGet"]?.[localVarOperationServerIndex]?.url;
|
|
4250
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4251
|
+
},
|
|
4066
4252
|
/**
|
|
4067
4253
|
* Addresses Update
|
|
4068
4254
|
* @summary Addresses Update
|
|
@@ -4411,44 +4597,57 @@ var UnboundApiFp = function(configuration) {
|
|
|
4411
4597
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4412
4598
|
},
|
|
4413
4599
|
/**
|
|
4414
|
-
*
|
|
4415
|
-
* @summary
|
|
4600
|
+
* Phones Create
|
|
4601
|
+
* @summary Phones Create
|
|
4416
4602
|
* @param {string} contactId
|
|
4417
|
-
* @param {
|
|
4603
|
+
* @param {APIPhoneCreate} aPIPhoneCreate
|
|
4604
|
+
* @param {*} [options] Override http request option.
|
|
4605
|
+
* @throws {RequiredError}
|
|
4606
|
+
*/
|
|
4607
|
+
async phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
4608
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, aPIPhoneCreate, options);
|
|
4609
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4610
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.phonesCreate"]?.[localVarOperationServerIndex]?.url;
|
|
4611
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4612
|
+
},
|
|
4613
|
+
/**
|
|
4614
|
+
* Phones Delete
|
|
4615
|
+
* @summary Phones Delete
|
|
4616
|
+
* @param {string} phoneId
|
|
4418
4617
|
* @param {*} [options] Override http request option.
|
|
4419
4618
|
* @throws {RequiredError}
|
|
4420
4619
|
*/
|
|
4421
|
-
async
|
|
4422
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4620
|
+
async phonesDelete(phoneId, options) {
|
|
4621
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
4423
4622
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4424
|
-
const localVarOperationServerBasePath = operationServerMap["UnboundApi.
|
|
4623
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.phonesDelete"]?.[localVarOperationServerIndex]?.url;
|
|
4425
4624
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4426
4625
|
},
|
|
4427
4626
|
/**
|
|
4428
|
-
*
|
|
4429
|
-
* @summary
|
|
4430
|
-
* @param {string}
|
|
4627
|
+
* Phones Get
|
|
4628
|
+
* @summary Phones Get
|
|
4629
|
+
* @param {string} phoneId
|
|
4431
4630
|
* @param {*} [options] Override http request option.
|
|
4432
4631
|
* @throws {RequiredError}
|
|
4433
4632
|
*/
|
|
4434
|
-
async
|
|
4435
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4633
|
+
async phonesGet(phoneId, options) {
|
|
4634
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesGet(phoneId, options);
|
|
4436
4635
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4437
|
-
const localVarOperationServerBasePath = operationServerMap["UnboundApi.
|
|
4636
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.phonesGet"]?.[localVarOperationServerIndex]?.url;
|
|
4438
4637
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4439
4638
|
},
|
|
4440
4639
|
/**
|
|
4441
|
-
*
|
|
4442
|
-
* @summary
|
|
4443
|
-
* @param {string}
|
|
4444
|
-
* @param {
|
|
4640
|
+
* Phones Update
|
|
4641
|
+
* @summary Phones Update
|
|
4642
|
+
* @param {string} phoneId
|
|
4643
|
+
* @param {APIPhoneUpdate} aPIPhoneUpdate
|
|
4445
4644
|
* @param {*} [options] Override http request option.
|
|
4446
4645
|
* @throws {RequiredError}
|
|
4447
4646
|
*/
|
|
4448
|
-
async
|
|
4449
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4647
|
+
async phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
4648
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesUpdate(phoneId, aPIPhoneUpdate, options);
|
|
4450
4649
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4451
|
-
const localVarOperationServerBasePath = operationServerMap["UnboundApi.
|
|
4650
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.phonesUpdate"]?.[localVarOperationServerIndex]?.url;
|
|
4452
4651
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4453
4652
|
},
|
|
4454
4653
|
/**
|
|
@@ -4583,6 +4782,16 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
4583
4782
|
addressesDelete(addressId, options) {
|
|
4584
4783
|
return localVarFp.addressesDelete(addressId, options).then((request) => request(axios, basePath));
|
|
4585
4784
|
},
|
|
4785
|
+
/**
|
|
4786
|
+
* Addresses Get
|
|
4787
|
+
* @summary Addresses Get
|
|
4788
|
+
* @param {string} addressId
|
|
4789
|
+
* @param {*} [options] Override http request option.
|
|
4790
|
+
* @throws {RequiredError}
|
|
4791
|
+
*/
|
|
4792
|
+
addressesGet(addressId, options) {
|
|
4793
|
+
return localVarFp.addressesGet(addressId, options).then((request) => request(axios, basePath));
|
|
4794
|
+
},
|
|
4586
4795
|
/**
|
|
4587
4796
|
* Addresses Update
|
|
4588
4797
|
* @summary Addresses Update
|
|
@@ -4859,36 +5068,46 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
4859
5068
|
return localVarFp.messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
4860
5069
|
},
|
|
4861
5070
|
/**
|
|
4862
|
-
*
|
|
4863
|
-
* @summary
|
|
5071
|
+
* Phones Create
|
|
5072
|
+
* @summary Phones Create
|
|
4864
5073
|
* @param {string} contactId
|
|
4865
|
-
* @param {
|
|
5074
|
+
* @param {APIPhoneCreate} aPIPhoneCreate
|
|
5075
|
+
* @param {*} [options] Override http request option.
|
|
5076
|
+
* @throws {RequiredError}
|
|
5077
|
+
*/
|
|
5078
|
+
phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
5079
|
+
return localVarFp.phonesCreate(contactId, aPIPhoneCreate, options).then((request) => request(axios, basePath));
|
|
5080
|
+
},
|
|
5081
|
+
/**
|
|
5082
|
+
* Phones Delete
|
|
5083
|
+
* @summary Phones Delete
|
|
5084
|
+
* @param {string} phoneId
|
|
4866
5085
|
* @param {*} [options] Override http request option.
|
|
4867
5086
|
* @throws {RequiredError}
|
|
4868
5087
|
*/
|
|
4869
|
-
|
|
4870
|
-
return localVarFp.
|
|
5088
|
+
phonesDelete(phoneId, options) {
|
|
5089
|
+
return localVarFp.phonesDelete(phoneId, options).then((request) => request(axios, basePath));
|
|
4871
5090
|
},
|
|
4872
5091
|
/**
|
|
4873
|
-
*
|
|
4874
|
-
* @summary
|
|
4875
|
-
* @param {string}
|
|
5092
|
+
* Phones Get
|
|
5093
|
+
* @summary Phones Get
|
|
5094
|
+
* @param {string} phoneId
|
|
4876
5095
|
* @param {*} [options] Override http request option.
|
|
4877
5096
|
* @throws {RequiredError}
|
|
4878
5097
|
*/
|
|
4879
|
-
|
|
4880
|
-
return localVarFp.
|
|
5098
|
+
phonesGet(phoneId, options) {
|
|
5099
|
+
return localVarFp.phonesGet(phoneId, options).then((request) => request(axios, basePath));
|
|
4881
5100
|
},
|
|
4882
5101
|
/**
|
|
4883
|
-
*
|
|
4884
|
-
* @summary
|
|
4885
|
-
* @param {string}
|
|
4886
|
-
* @param {
|
|
5102
|
+
* Phones Update
|
|
5103
|
+
* @summary Phones Update
|
|
5104
|
+
* @param {string} phoneId
|
|
5105
|
+
* @param {APIPhoneUpdate} aPIPhoneUpdate
|
|
4887
5106
|
* @param {*} [options] Override http request option.
|
|
4888
5107
|
* @throws {RequiredError}
|
|
4889
5108
|
*/
|
|
4890
|
-
|
|
4891
|
-
return localVarFp.
|
|
5109
|
+
phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
5110
|
+
return localVarFp.phonesUpdate(phoneId, aPIPhoneUpdate, options).then((request) => request(axios, basePath));
|
|
4892
5111
|
},
|
|
4893
5112
|
/**
|
|
4894
5113
|
* Providers Create
|
|
@@ -5002,6 +5221,17 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5002
5221
|
addressesDelete(addressId, options) {
|
|
5003
5222
|
return UnboundApiFp(this.configuration).addressesDelete(addressId, options).then((request) => request(this.axios, this.basePath));
|
|
5004
5223
|
}
|
|
5224
|
+
/**
|
|
5225
|
+
* Addresses Get
|
|
5226
|
+
* @summary Addresses Get
|
|
5227
|
+
* @param {string} addressId
|
|
5228
|
+
* @param {*} [options] Override http request option.
|
|
5229
|
+
* @throws {RequiredError}
|
|
5230
|
+
* @memberof UnboundApi
|
|
5231
|
+
*/
|
|
5232
|
+
addressesGet(addressId, options) {
|
|
5233
|
+
return UnboundApiFp(this.configuration).addressesGet(addressId, options).then((request) => request(this.axios, this.basePath));
|
|
5234
|
+
}
|
|
5005
5235
|
/**
|
|
5006
5236
|
* Addresses Update
|
|
5007
5237
|
* @summary Addresses Update
|
|
@@ -5302,39 +5532,50 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5302
5532
|
return UnboundApiFp(this.configuration).messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
5303
5533
|
}
|
|
5304
5534
|
/**
|
|
5305
|
-
*
|
|
5306
|
-
* @summary
|
|
5535
|
+
* Phones Create
|
|
5536
|
+
* @summary Phones Create
|
|
5307
5537
|
* @param {string} contactId
|
|
5308
|
-
* @param {
|
|
5538
|
+
* @param {APIPhoneCreate} aPIPhoneCreate
|
|
5539
|
+
* @param {*} [options] Override http request option.
|
|
5540
|
+
* @throws {RequiredError}
|
|
5541
|
+
* @memberof UnboundApi
|
|
5542
|
+
*/
|
|
5543
|
+
phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
5544
|
+
return UnboundApiFp(this.configuration).phonesCreate(contactId, aPIPhoneCreate, options).then((request) => request(this.axios, this.basePath));
|
|
5545
|
+
}
|
|
5546
|
+
/**
|
|
5547
|
+
* Phones Delete
|
|
5548
|
+
* @summary Phones Delete
|
|
5549
|
+
* @param {string} phoneId
|
|
5309
5550
|
* @param {*} [options] Override http request option.
|
|
5310
5551
|
* @throws {RequiredError}
|
|
5311
5552
|
* @memberof UnboundApi
|
|
5312
5553
|
*/
|
|
5313
|
-
|
|
5314
|
-
return UnboundApiFp(this.configuration).
|
|
5554
|
+
phonesDelete(phoneId, options) {
|
|
5555
|
+
return UnboundApiFp(this.configuration).phonesDelete(phoneId, options).then((request) => request(this.axios, this.basePath));
|
|
5315
5556
|
}
|
|
5316
5557
|
/**
|
|
5317
|
-
*
|
|
5318
|
-
* @summary
|
|
5319
|
-
* @param {string}
|
|
5558
|
+
* Phones Get
|
|
5559
|
+
* @summary Phones Get
|
|
5560
|
+
* @param {string} phoneId
|
|
5320
5561
|
* @param {*} [options] Override http request option.
|
|
5321
5562
|
* @throws {RequiredError}
|
|
5322
5563
|
* @memberof UnboundApi
|
|
5323
5564
|
*/
|
|
5324
|
-
|
|
5325
|
-
return UnboundApiFp(this.configuration).
|
|
5565
|
+
phonesGet(phoneId, options) {
|
|
5566
|
+
return UnboundApiFp(this.configuration).phonesGet(phoneId, options).then((request) => request(this.axios, this.basePath));
|
|
5326
5567
|
}
|
|
5327
5568
|
/**
|
|
5328
|
-
*
|
|
5329
|
-
* @summary
|
|
5330
|
-
* @param {string}
|
|
5331
|
-
* @param {
|
|
5569
|
+
* Phones Update
|
|
5570
|
+
* @summary Phones Update
|
|
5571
|
+
* @param {string} phoneId
|
|
5572
|
+
* @param {APIPhoneUpdate} aPIPhoneUpdate
|
|
5332
5573
|
* @param {*} [options] Override http request option.
|
|
5333
5574
|
* @throws {RequiredError}
|
|
5334
5575
|
* @memberof UnboundApi
|
|
5335
5576
|
*/
|
|
5336
|
-
|
|
5337
|
-
return UnboundApiFp(this.configuration).
|
|
5577
|
+
phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
5578
|
+
return UnboundApiFp(this.configuration).phonesUpdate(phoneId, aPIPhoneUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
5338
5579
|
}
|
|
5339
5580
|
/**
|
|
5340
5581
|
* Providers Create
|