@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.mjs 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
- * PhoneNumbers Create
706
- * @summary PhoneNumbers Create
731
+ * Phones Create
732
+ * @summary Phones Create
707
733
  * @param {string} contactId
708
- * @param {APIPhoneNumberCreate} aPIPhoneNumberCreate
734
+ * @param {APIPhoneCreate} aPIPhoneCreate
709
735
  * @param {*} [options] Override http request option.
710
736
  * @throws {RequiredError}
711
737
  */
712
- phoneNumbersCreate: async (contactId, aPIPhoneNumberCreate, options = {}) => {
713
- assertParamExists("phoneNumbersCreate", "contactId", contactId);
714
- assertParamExists("phoneNumbersCreate", "aPIPhoneNumberCreate", aPIPhoneNumberCreate);
715
- const localVarPath = `/contacts/{contactId}/phoneNumbers`.replace(`{${"contactId"}}`, encodeURIComponent(String(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(aPIPhoneNumberCreate, localVarRequestOptions, configuration);
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
- * PhoneNumbers Delete
736
- * @summary PhoneNumbers Delete
737
- * @param {string} phoneNumberId
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
- phoneNumbersDelete: async (phoneNumberId, options = {}) => {
742
- assertParamExists("phoneNumbersDelete", "phoneNumberId", phoneNumberId);
743
- const localVarPath = `/phoneNumbers/{phoneNumberId}`.replace(`{${"phoneNumberId"}}`, encodeURIComponent(String(phoneNumberId)));
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
- * PhoneNumbers Update
762
- * @summary PhoneNumbers Update
763
- * @param {string} phoneNumberId
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
- phoneNumbersUpdate: async (phoneNumberId, aPIPhoneNumberUpdate, options = {}) => {
769
- assertParamExists("phoneNumbersUpdate", "phoneNumberId", phoneNumberId);
770
- assertParamExists("phoneNumbersUpdate", "aPIPhoneNumberUpdate", aPIPhoneNumberUpdate);
771
- const localVarPath = `/phoneNumbers/{phoneNumberId}`.replace(`{${"phoneNumberId"}}`, encodeURIComponent(String(phoneNumberId)));
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(aPIPhoneNumberUpdate, localVarRequestOptions, configuration);
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 = operationServerMap["ContactsApi.addressesDelete"]?.[localVarOperationServerIndex]?.url;
820
872
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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 = configuration?.serverIndex ?? 0;
884
+ const localVarOperationServerBasePath = operationServerMap["ContactsApi.addressesGet"]?.[localVarOperationServerIndex]?.url;
885
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
886
+ },
822
887
  /**
823
888
  * Addresses Update
824
889
  * @summary Addresses Update
@@ -1004,44 +1069,57 @@ var ContactsApiFp = function(configuration) {
1004
1069
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1005
1070
  },
1006
1071
  /**
1007
- * PhoneNumbers Create
1008
- * @summary PhoneNumbers Create
1072
+ * Phones Create
1073
+ * @summary Phones Create
1009
1074
  * @param {string} contactId
1010
- * @param {APIPhoneNumberCreate} aPIPhoneNumberCreate
1075
+ * @param {APIPhoneCreate} aPIPhoneCreate
1076
+ * @param {*} [options] Override http request option.
1077
+ * @throws {RequiredError}
1078
+ */
1079
+ async phonesCreate(contactId, aPIPhoneCreate, options) {
1080
+ const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, aPIPhoneCreate, options);
1081
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1082
+ const localVarOperationServerBasePath = operationServerMap["ContactsApi.phonesCreate"]?.[localVarOperationServerIndex]?.url;
1083
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1084
+ },
1085
+ /**
1086
+ * Phones Delete
1087
+ * @summary Phones Delete
1088
+ * @param {string} phoneId
1011
1089
  * @param {*} [options] Override http request option.
1012
1090
  * @throws {RequiredError}
1013
1091
  */
1014
- async phoneNumbersCreate(contactId, aPIPhoneNumberCreate, options) {
1015
- const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersCreate(contactId, aPIPhoneNumberCreate, options);
1092
+ async phonesDelete(phoneId, options) {
1093
+ const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
1016
1094
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1017
- const localVarOperationServerBasePath = operationServerMap["ContactsApi.phoneNumbersCreate"]?.[localVarOperationServerIndex]?.url;
1095
+ const localVarOperationServerBasePath = operationServerMap["ContactsApi.phonesDelete"]?.[localVarOperationServerIndex]?.url;
1018
1096
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1019
1097
  },
1020
1098
  /**
1021
- * PhoneNumbers Delete
1022
- * @summary PhoneNumbers Delete
1023
- * @param {string} phoneNumberId
1099
+ * Phones Get
1100
+ * @summary Phones Get
1101
+ * @param {string} phoneId
1024
1102
  * @param {*} [options] Override http request option.
1025
1103
  * @throws {RequiredError}
1026
1104
  */
1027
- async phoneNumbersDelete(phoneNumberId, options) {
1028
- const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersDelete(phoneNumberId, options);
1105
+ async phonesGet(phoneId, options) {
1106
+ const localVarAxiosArgs = await localVarAxiosParamCreator.phonesGet(phoneId, options);
1029
1107
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1030
- const localVarOperationServerBasePath = operationServerMap["ContactsApi.phoneNumbersDelete"]?.[localVarOperationServerIndex]?.url;
1108
+ const localVarOperationServerBasePath = operationServerMap["ContactsApi.phonesGet"]?.[localVarOperationServerIndex]?.url;
1031
1109
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1032
1110
  },
1033
1111
  /**
1034
- * PhoneNumbers Update
1035
- * @summary PhoneNumbers Update
1036
- * @param {string} phoneNumberId
1037
- * @param {APIPhoneNumberUpdate} aPIPhoneNumberUpdate
1112
+ * Phones Update
1113
+ * @summary Phones Update
1114
+ * @param {string} phoneId
1115
+ * @param {APIPhoneUpdate} aPIPhoneUpdate
1038
1116
  * @param {*} [options] Override http request option.
1039
1117
  * @throws {RequiredError}
1040
1118
  */
1041
- async phoneNumbersUpdate(phoneNumberId, aPIPhoneNumberUpdate, options) {
1042
- const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersUpdate(phoneNumberId, aPIPhoneNumberUpdate, options);
1119
+ async phonesUpdate(phoneId, aPIPhoneUpdate, options) {
1120
+ const localVarAxiosArgs = await localVarAxiosParamCreator.phonesUpdate(phoneId, aPIPhoneUpdate, options);
1043
1121
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1044
- const localVarOperationServerBasePath = operationServerMap["ContactsApi.phoneNumbersUpdate"]?.[localVarOperationServerIndex]?.url;
1122
+ const localVarOperationServerBasePath = operationServerMap["ContactsApi.phonesUpdate"]?.[localVarOperationServerIndex]?.url;
1045
1123
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, 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
- * PhoneNumbers Create
1220
- * @summary PhoneNumbers Create
1307
+ * Phones Create
1308
+ * @summary Phones Create
1221
1309
  * @param {string} contactId
1222
- * @param {APIPhoneNumberCreate} aPIPhoneNumberCreate
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
- phoneNumbersCreate(contactId, aPIPhoneNumberCreate, options) {
1227
- return localVarFp.phoneNumbersCreate(contactId, aPIPhoneNumberCreate, options).then((request) => request(axios, basePath));
1324
+ phonesDelete(phoneId, options) {
1325
+ return localVarFp.phonesDelete(phoneId, options).then((request) => request(axios, basePath));
1228
1326
  },
1229
1327
  /**
1230
- * PhoneNumbers Delete
1231
- * @summary PhoneNumbers Delete
1232
- * @param {string} phoneNumberId
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
- phoneNumbersDelete(phoneNumberId, options) {
1237
- return localVarFp.phoneNumbersDelete(phoneNumberId, options).then((request) => request(axios, basePath));
1334
+ phonesGet(phoneId, options) {
1335
+ return localVarFp.phonesGet(phoneId, options).then((request) => request(axios, basePath));
1238
1336
  },
1239
1337
  /**
1240
- * PhoneNumbers Update
1241
- * @summary PhoneNumbers Update
1242
- * @param {string} phoneNumberId
1243
- * @param {APIPhoneNumberUpdate} aPIPhoneNumberUpdate
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
- phoneNumbersUpdate(phoneNumberId, aPIPhoneNumberUpdate, options) {
1248
- return localVarFp.phoneNumbersUpdate(phoneNumberId, aPIPhoneNumberUpdate, options).then((request) => request(axios, basePath));
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
- * PhoneNumbers Create
1436
- * @summary PhoneNumbers Create
1544
+ * Phones Create
1545
+ * @summary Phones Create
1437
1546
  * @param {string} contactId
1438
- * @param {APIPhoneNumberCreate} aPIPhoneNumberCreate
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
- phoneNumbersCreate(contactId, aPIPhoneNumberCreate, options) {
1444
- return ContactsApiFp(this.configuration).phoneNumbersCreate(contactId, aPIPhoneNumberCreate, options).then((request) => request(this.axios, this.basePath));
1563
+ phonesDelete(phoneId, options) {
1564
+ return ContactsApiFp(this.configuration).phonesDelete(phoneId, options).then((request) => request(this.axios, this.basePath));
1445
1565
  }
1446
1566
  /**
1447
- * PhoneNumbers Delete
1448
- * @summary PhoneNumbers Delete
1449
- * @param {string} phoneNumberId
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
- phoneNumbersDelete(phoneNumberId, options) {
1455
- return ContactsApiFp(this.configuration).phoneNumbersDelete(phoneNumberId, options).then((request) => request(this.axios, this.basePath));
1574
+ phonesGet(phoneId, options) {
1575
+ return ContactsApiFp(this.configuration).phonesGet(phoneId, options).then((request) => request(this.axios, this.basePath));
1456
1576
  }
1457
1577
  /**
1458
- * PhoneNumbers Update
1459
- * @summary PhoneNumbers Update
1460
- * @param {string} phoneNumberId
1461
- * @param {APIPhoneNumberUpdate} aPIPhoneNumberUpdate
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
- phoneNumbersUpdate(phoneNumberId, aPIPhoneNumberUpdate, options) {
1467
- return ContactsApiFp(this.configuration).phoneNumbersUpdate(phoneNumberId, aPIPhoneNumberUpdate, options).then((request) => request(this.axios, this.basePath));
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) {
@@ -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
- * PhoneNumbers Create
3723
- * @summary PhoneNumbers Create
3868
+ * Phones Create
3869
+ * @summary Phones Create
3724
3870
  * @param {string} contactId
3725
- * @param {APIPhoneNumberCreate} aPIPhoneNumberCreate
3871
+ * @param {APIPhoneCreate} aPIPhoneCreate
3726
3872
  * @param {*} [options] Override http request option.
3727
3873
  * @throws {RequiredError}
3728
3874
  */
3729
- phoneNumbersCreate: async (contactId, aPIPhoneNumberCreate, options = {}) => {
3730
- assertParamExists("phoneNumbersCreate", "contactId", contactId);
3731
- assertParamExists("phoneNumbersCreate", "aPIPhoneNumberCreate", aPIPhoneNumberCreate);
3732
- const localVarPath = `/contacts/{contactId}/phoneNumbers`.replace(`{${"contactId"}}`, encodeURIComponent(String(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(aPIPhoneNumberCreate, localVarRequestOptions, configuration);
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
- * PhoneNumbers Delete
3753
- * @summary PhoneNumbers Delete
3754
- * @param {string} phoneNumberId
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
- phoneNumbersDelete: async (phoneNumberId, options = {}) => {
3759
- assertParamExists("phoneNumbersDelete", "phoneNumberId", phoneNumberId);
3760
- const localVarPath = `/phoneNumbers/{phoneNumberId}`.replace(`{${"phoneNumberId"}}`, encodeURIComponent(String(phoneNumberId)));
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
- * PhoneNumbers Update
3779
- * @summary PhoneNumbers Update
3780
- * @param {string} phoneNumberId
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
- phoneNumbersUpdate: async (phoneNumberId, aPIPhoneNumberUpdate, options = {}) => {
3786
- assertParamExists("phoneNumbersUpdate", "phoneNumberId", phoneNumberId);
3787
- assertParamExists("phoneNumbersUpdate", "aPIPhoneNumberUpdate", aPIPhoneNumberUpdate);
3788
- const localVarPath = `/phoneNumbers/{phoneNumberId}`.replace(`{${"phoneNumberId"}}`, encodeURIComponent(String(phoneNumberId)));
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(aPIPhoneNumberUpdate, localVarRequestOptions, configuration);
3973
+ localVarRequestOptions.data = serializeDataIfNeeded(aPIPhoneUpdate, localVarRequestOptions, configuration);
3802
3974
  return {
3803
3975
  url: toPathString(localVarUrlObj),
3804
3976
  options: localVarRequestOptions
@@ -4063,6 +4235,19 @@ var UnboundApiFp = function(configuration) {
4063
4235
  const localVarOperationServerBasePath = operationServerMap["UnboundApi.addressesDelete"]?.[localVarOperationServerIndex]?.url;
4064
4236
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4065
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 = configuration?.serverIndex ?? 0;
4248
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.addressesGet"]?.[localVarOperationServerIndex]?.url;
4249
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4250
+ },
4066
4251
  /**
4067
4252
  * Addresses Update
4068
4253
  * @summary Addresses Update
@@ -4411,44 +4596,57 @@ var UnboundApiFp = function(configuration) {
4411
4596
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4412
4597
  },
4413
4598
  /**
4414
- * PhoneNumbers Create
4415
- * @summary PhoneNumbers Create
4599
+ * Phones Create
4600
+ * @summary Phones Create
4416
4601
  * @param {string} contactId
4417
- * @param {APIPhoneNumberCreate} aPIPhoneNumberCreate
4602
+ * @param {APIPhoneCreate} aPIPhoneCreate
4603
+ * @param {*} [options] Override http request option.
4604
+ * @throws {RequiredError}
4605
+ */
4606
+ async phonesCreate(contactId, aPIPhoneCreate, options) {
4607
+ const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, aPIPhoneCreate, options);
4608
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4609
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.phonesCreate"]?.[localVarOperationServerIndex]?.url;
4610
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4611
+ },
4612
+ /**
4613
+ * Phones Delete
4614
+ * @summary Phones Delete
4615
+ * @param {string} phoneId
4418
4616
  * @param {*} [options] Override http request option.
4419
4617
  * @throws {RequiredError}
4420
4618
  */
4421
- async phoneNumbersCreate(contactId, aPIPhoneNumberCreate, options) {
4422
- const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersCreate(contactId, aPIPhoneNumberCreate, options);
4619
+ async phonesDelete(phoneId, options) {
4620
+ const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
4423
4621
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4424
- const localVarOperationServerBasePath = operationServerMap["UnboundApi.phoneNumbersCreate"]?.[localVarOperationServerIndex]?.url;
4622
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.phonesDelete"]?.[localVarOperationServerIndex]?.url;
4425
4623
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4426
4624
  },
4427
4625
  /**
4428
- * PhoneNumbers Delete
4429
- * @summary PhoneNumbers Delete
4430
- * @param {string} phoneNumberId
4626
+ * Phones Get
4627
+ * @summary Phones Get
4628
+ * @param {string} phoneId
4431
4629
  * @param {*} [options] Override http request option.
4432
4630
  * @throws {RequiredError}
4433
4631
  */
4434
- async phoneNumbersDelete(phoneNumberId, options) {
4435
- const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersDelete(phoneNumberId, options);
4632
+ async phonesGet(phoneId, options) {
4633
+ const localVarAxiosArgs = await localVarAxiosParamCreator.phonesGet(phoneId, options);
4436
4634
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4437
- const localVarOperationServerBasePath = operationServerMap["UnboundApi.phoneNumbersDelete"]?.[localVarOperationServerIndex]?.url;
4635
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.phonesGet"]?.[localVarOperationServerIndex]?.url;
4438
4636
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4439
4637
  },
4440
4638
  /**
4441
- * PhoneNumbers Update
4442
- * @summary PhoneNumbers Update
4443
- * @param {string} phoneNumberId
4444
- * @param {APIPhoneNumberUpdate} aPIPhoneNumberUpdate
4639
+ * Phones Update
4640
+ * @summary Phones Update
4641
+ * @param {string} phoneId
4642
+ * @param {APIPhoneUpdate} aPIPhoneUpdate
4445
4643
  * @param {*} [options] Override http request option.
4446
4644
  * @throws {RequiredError}
4447
4645
  */
4448
- async phoneNumbersUpdate(phoneNumberId, aPIPhoneNumberUpdate, options) {
4449
- const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersUpdate(phoneNumberId, aPIPhoneNumberUpdate, options);
4646
+ async phonesUpdate(phoneId, aPIPhoneUpdate, options) {
4647
+ const localVarAxiosArgs = await localVarAxiosParamCreator.phonesUpdate(phoneId, aPIPhoneUpdate, options);
4450
4648
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4451
- const localVarOperationServerBasePath = operationServerMap["UnboundApi.phoneNumbersUpdate"]?.[localVarOperationServerIndex]?.url;
4649
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.phonesUpdate"]?.[localVarOperationServerIndex]?.url;
4452
4650
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4453
4651
  },
4454
4652
  /**
@@ -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
- * PhoneNumbers Create
4863
- * @summary PhoneNumbers Create
5070
+ * Phones Create
5071
+ * @summary Phones Create
4864
5072
  * @param {string} contactId
4865
- * @param {APIPhoneNumberCreate} aPIPhoneNumberCreate
5073
+ * @param {APIPhoneCreate} aPIPhoneCreate
5074
+ * @param {*} [options] Override http request option.
5075
+ * @throws {RequiredError}
5076
+ */
5077
+ phonesCreate(contactId, aPIPhoneCreate, options) {
5078
+ return localVarFp.phonesCreate(contactId, aPIPhoneCreate, options).then((request) => request(axios, basePath));
5079
+ },
5080
+ /**
5081
+ * Phones Delete
5082
+ * @summary Phones Delete
5083
+ * @param {string} phoneId
4866
5084
  * @param {*} [options] Override http request option.
4867
5085
  * @throws {RequiredError}
4868
5086
  */
4869
- phoneNumbersCreate(contactId, aPIPhoneNumberCreate, options) {
4870
- return localVarFp.phoneNumbersCreate(contactId, aPIPhoneNumberCreate, options).then((request) => request(axios, basePath));
5087
+ phonesDelete(phoneId, options) {
5088
+ return localVarFp.phonesDelete(phoneId, options).then((request) => request(axios, basePath));
4871
5089
  },
4872
5090
  /**
4873
- * PhoneNumbers Delete
4874
- * @summary PhoneNumbers Delete
4875
- * @param {string} phoneNumberId
5091
+ * Phones Get
5092
+ * @summary Phones Get
5093
+ * @param {string} phoneId
4876
5094
  * @param {*} [options] Override http request option.
4877
5095
  * @throws {RequiredError}
4878
5096
  */
4879
- phoneNumbersDelete(phoneNumberId, options) {
4880
- return localVarFp.phoneNumbersDelete(phoneNumberId, options).then((request) => request(axios, basePath));
5097
+ phonesGet(phoneId, options) {
5098
+ return localVarFp.phonesGet(phoneId, options).then((request) => request(axios, basePath));
4881
5099
  },
4882
5100
  /**
4883
- * PhoneNumbers Update
4884
- * @summary PhoneNumbers Update
4885
- * @param {string} phoneNumberId
4886
- * @param {APIPhoneNumberUpdate} aPIPhoneNumberUpdate
5101
+ * Phones Update
5102
+ * @summary Phones Update
5103
+ * @param {string} phoneId
5104
+ * @param {APIPhoneUpdate} aPIPhoneUpdate
4887
5105
  * @param {*} [options] Override http request option.
4888
5106
  * @throws {RequiredError}
4889
5107
  */
4890
- phoneNumbersUpdate(phoneNumberId, aPIPhoneNumberUpdate, options) {
4891
- return localVarFp.phoneNumbersUpdate(phoneNumberId, aPIPhoneNumberUpdate, options).then((request) => request(axios, basePath));
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
- * PhoneNumbers Create
5306
- * @summary PhoneNumbers Create
5534
+ * Phones Create
5535
+ * @summary Phones Create
5307
5536
  * @param {string} contactId
5308
- * @param {APIPhoneNumberCreate} aPIPhoneNumberCreate
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
- phoneNumbersCreate(contactId, aPIPhoneNumberCreate, options) {
5314
- return UnboundApiFp(this.configuration).phoneNumbersCreate(contactId, aPIPhoneNumberCreate, options).then((request) => request(this.axios, this.basePath));
5553
+ phonesDelete(phoneId, options) {
5554
+ return UnboundApiFp(this.configuration).phonesDelete(phoneId, options).then((request) => request(this.axios, this.basePath));
5315
5555
  }
5316
5556
  /**
5317
- * PhoneNumbers Delete
5318
- * @summary PhoneNumbers Delete
5319
- * @param {string} phoneNumberId
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
- phoneNumbersDelete(phoneNumberId, options) {
5325
- return UnboundApiFp(this.configuration).phoneNumbersDelete(phoneNumberId, options).then((request) => request(this.axios, this.basePath));
5564
+ phonesGet(phoneId, options) {
5565
+ return UnboundApiFp(this.configuration).phonesGet(phoneId, options).then((request) => request(this.axios, this.basePath));
5326
5566
  }
5327
5567
  /**
5328
- * PhoneNumbers Update
5329
- * @summary PhoneNumbers Update
5330
- * @param {string} phoneNumberId
5331
- * @param {APIPhoneNumberUpdate} aPIPhoneNumberUpdate
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
- phoneNumbersUpdate(phoneNumberId, aPIPhoneNumberUpdate, options) {
5337
- return UnboundApiFp(this.configuration).phoneNumbersUpdate(phoneNumberId, aPIPhoneNumberUpdate, options).then((request) => request(this.axios, this.basePath));
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