@ember-home/unbound-ts-client 0.0.34 → 0.0.35
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 +461 -468
- package/dist/index.d.ts +461 -468
- package/dist/index.js +156 -156
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +156 -156
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -244,13 +244,13 @@ var ContactsApiAxiosParamCreator = function(configuration) {
|
|
|
244
244
|
* Addresses Create
|
|
245
245
|
* @summary Addresses Create
|
|
246
246
|
* @param {string} contactId
|
|
247
|
-
* @param {
|
|
247
|
+
* @param {APIAddressCreate} aPIAddressCreate
|
|
248
248
|
* @param {*} [options] Override http request option.
|
|
249
249
|
* @throws {RequiredError}
|
|
250
250
|
*/
|
|
251
|
-
addressesCreate: async (contactId,
|
|
251
|
+
addressesCreate: async (contactId, aPIAddressCreate, options = {}) => {
|
|
252
252
|
assertParamExists("addressesCreate", "contactId", contactId);
|
|
253
|
-
assertParamExists("addressesCreate", "
|
|
253
|
+
assertParamExists("addressesCreate", "aPIAddressCreate", aPIAddressCreate);
|
|
254
254
|
const localVarPath = `/contacts/{contactId}/addresses`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
255
255
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
256
256
|
let baseOptions;
|
|
@@ -264,7 +264,7 @@ var ContactsApiAxiosParamCreator = function(configuration) {
|
|
|
264
264
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
265
265
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
266
266
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
267
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
267
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIAddressCreate, localVarRequestOptions, configuration);
|
|
268
268
|
return {
|
|
269
269
|
url: toPathString(localVarUrlObj),
|
|
270
270
|
options: localVarRequestOptions
|
|
@@ -584,13 +584,13 @@ var ContactsApiAxiosParamCreator = function(configuration) {
|
|
|
584
584
|
* Emails Create
|
|
585
585
|
* @summary Emails Create
|
|
586
586
|
* @param {string} contactId
|
|
587
|
-
* @param {
|
|
587
|
+
* @param {APIEmailCreate} aPIEmailCreate
|
|
588
588
|
* @param {*} [options] Override http request option.
|
|
589
589
|
* @throws {RequiredError}
|
|
590
590
|
*/
|
|
591
|
-
emailsCreate: async (contactId,
|
|
591
|
+
emailsCreate: async (contactId, aPIEmailCreate, options = {}) => {
|
|
592
592
|
assertParamExists("emailsCreate", "contactId", contactId);
|
|
593
|
-
assertParamExists("emailsCreate", "
|
|
593
|
+
assertParamExists("emailsCreate", "aPIEmailCreate", aPIEmailCreate);
|
|
594
594
|
const localVarPath = `/contacts/{contactId}/emails`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
595
595
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
596
596
|
let baseOptions;
|
|
@@ -604,7 +604,7 @@ var ContactsApiAxiosParamCreator = function(configuration) {
|
|
|
604
604
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
605
605
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
606
606
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
607
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
607
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIEmailCreate, localVarRequestOptions, configuration);
|
|
608
608
|
return {
|
|
609
609
|
url: toPathString(localVarUrlObj),
|
|
610
610
|
options: localVarRequestOptions
|
|
@@ -670,13 +670,13 @@ var ContactsApiAxiosParamCreator = function(configuration) {
|
|
|
670
670
|
* PhoneNumbers Create
|
|
671
671
|
* @summary PhoneNumbers Create
|
|
672
672
|
* @param {string} contactId
|
|
673
|
-
* @param {
|
|
673
|
+
* @param {APIPhoneNumberCreate} aPIPhoneNumberCreate
|
|
674
674
|
* @param {*} [options] Override http request option.
|
|
675
675
|
* @throws {RequiredError}
|
|
676
676
|
*/
|
|
677
|
-
phoneNumbersCreate: async (contactId,
|
|
677
|
+
phoneNumbersCreate: async (contactId, aPIPhoneNumberCreate, options = {}) => {
|
|
678
678
|
assertParamExists("phoneNumbersCreate", "contactId", contactId);
|
|
679
|
-
assertParamExists("phoneNumbersCreate", "
|
|
679
|
+
assertParamExists("phoneNumbersCreate", "aPIPhoneNumberCreate", aPIPhoneNumberCreate);
|
|
680
680
|
const localVarPath = `/contacts/{contactId}/phoneNumbers`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
681
681
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
682
682
|
let baseOptions;
|
|
@@ -690,7 +690,7 @@ var ContactsApiAxiosParamCreator = function(configuration) {
|
|
|
690
690
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
691
691
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
692
692
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
693
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
693
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIPhoneNumberCreate, localVarRequestOptions, configuration);
|
|
694
694
|
return {
|
|
695
695
|
url: toPathString(localVarUrlObj),
|
|
696
696
|
options: localVarRequestOptions
|
|
@@ -761,12 +761,12 @@ var ContactsApiFp = function(configuration) {
|
|
|
761
761
|
* Addresses Create
|
|
762
762
|
* @summary Addresses Create
|
|
763
763
|
* @param {string} contactId
|
|
764
|
-
* @param {
|
|
764
|
+
* @param {APIAddressCreate} aPIAddressCreate
|
|
765
765
|
* @param {*} [options] Override http request option.
|
|
766
766
|
* @throws {RequiredError}
|
|
767
767
|
*/
|
|
768
|
-
async addressesCreate(contactId,
|
|
769
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId,
|
|
768
|
+
async addressesCreate(contactId, aPIAddressCreate, options) {
|
|
769
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, aPIAddressCreate, options);
|
|
770
770
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
771
771
|
const localVarOperationServerBasePath = operationServerMap["ContactsApi.addressesCreate"]?.[localVarOperationServerIndex]?.url;
|
|
772
772
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -918,12 +918,12 @@ var ContactsApiFp = function(configuration) {
|
|
|
918
918
|
* Emails Create
|
|
919
919
|
* @summary Emails Create
|
|
920
920
|
* @param {string} contactId
|
|
921
|
-
* @param {
|
|
921
|
+
* @param {APIEmailCreate} aPIEmailCreate
|
|
922
922
|
* @param {*} [options] Override http request option.
|
|
923
923
|
* @throws {RequiredError}
|
|
924
924
|
*/
|
|
925
|
-
async emailsCreate(contactId,
|
|
926
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId,
|
|
925
|
+
async emailsCreate(contactId, aPIEmailCreate, options) {
|
|
926
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, aPIEmailCreate, options);
|
|
927
927
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
928
928
|
const localVarOperationServerBasePath = operationServerMap["ContactsApi.emailsCreate"]?.[localVarOperationServerIndex]?.url;
|
|
929
929
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -959,12 +959,12 @@ var ContactsApiFp = function(configuration) {
|
|
|
959
959
|
* PhoneNumbers Create
|
|
960
960
|
* @summary PhoneNumbers Create
|
|
961
961
|
* @param {string} contactId
|
|
962
|
-
* @param {
|
|
962
|
+
* @param {APIPhoneNumberCreate} aPIPhoneNumberCreate
|
|
963
963
|
* @param {*} [options] Override http request option.
|
|
964
964
|
* @throws {RequiredError}
|
|
965
965
|
*/
|
|
966
|
-
async phoneNumbersCreate(contactId,
|
|
967
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersCreate(contactId,
|
|
966
|
+
async phoneNumbersCreate(contactId, aPIPhoneNumberCreate, options) {
|
|
967
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersCreate(contactId, aPIPhoneNumberCreate, options);
|
|
968
968
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
969
969
|
const localVarOperationServerBasePath = operationServerMap["ContactsApi.phoneNumbersCreate"]?.[localVarOperationServerIndex]?.url;
|
|
970
970
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1005,12 +1005,12 @@ var ContactsApiFactory = function(configuration, basePath, axios) {
|
|
|
1005
1005
|
* Addresses Create
|
|
1006
1006
|
* @summary Addresses Create
|
|
1007
1007
|
* @param {string} contactId
|
|
1008
|
-
* @param {
|
|
1008
|
+
* @param {APIAddressCreate} aPIAddressCreate
|
|
1009
1009
|
* @param {*} [options] Override http request option.
|
|
1010
1010
|
* @throws {RequiredError}
|
|
1011
1011
|
*/
|
|
1012
|
-
addressesCreate(contactId,
|
|
1013
|
-
return localVarFp.addressesCreate(contactId,
|
|
1012
|
+
addressesCreate(contactId, aPIAddressCreate, options) {
|
|
1013
|
+
return localVarFp.addressesCreate(contactId, aPIAddressCreate, options).then((request) => request(axios, basePath));
|
|
1014
1014
|
},
|
|
1015
1015
|
/**
|
|
1016
1016
|
* Addresses Delete
|
|
@@ -1129,12 +1129,12 @@ var ContactsApiFactory = function(configuration, basePath, axios) {
|
|
|
1129
1129
|
* Emails Create
|
|
1130
1130
|
* @summary Emails Create
|
|
1131
1131
|
* @param {string} contactId
|
|
1132
|
-
* @param {
|
|
1132
|
+
* @param {APIEmailCreate} aPIEmailCreate
|
|
1133
1133
|
* @param {*} [options] Override http request option.
|
|
1134
1134
|
* @throws {RequiredError}
|
|
1135
1135
|
*/
|
|
1136
|
-
emailsCreate(contactId,
|
|
1137
|
-
return localVarFp.emailsCreate(contactId,
|
|
1136
|
+
emailsCreate(contactId, aPIEmailCreate, options) {
|
|
1137
|
+
return localVarFp.emailsCreate(contactId, aPIEmailCreate, options).then((request) => request(axios, basePath));
|
|
1138
1138
|
},
|
|
1139
1139
|
/**
|
|
1140
1140
|
* Emails Delete
|
|
@@ -1161,12 +1161,12 @@ var ContactsApiFactory = function(configuration, basePath, axios) {
|
|
|
1161
1161
|
* PhoneNumbers Create
|
|
1162
1162
|
* @summary PhoneNumbers Create
|
|
1163
1163
|
* @param {string} contactId
|
|
1164
|
-
* @param {
|
|
1164
|
+
* @param {APIPhoneNumberCreate} aPIPhoneNumberCreate
|
|
1165
1165
|
* @param {*} [options] Override http request option.
|
|
1166
1166
|
* @throws {RequiredError}
|
|
1167
1167
|
*/
|
|
1168
|
-
phoneNumbersCreate(contactId,
|
|
1169
|
-
return localVarFp.phoneNumbersCreate(contactId,
|
|
1168
|
+
phoneNumbersCreate(contactId, aPIPhoneNumberCreate, options) {
|
|
1169
|
+
return localVarFp.phoneNumbersCreate(contactId, aPIPhoneNumberCreate, options).then((request) => request(axios, basePath));
|
|
1170
1170
|
},
|
|
1171
1171
|
/**
|
|
1172
1172
|
* PhoneNumbers Delete
|
|
@@ -1196,13 +1196,13 @@ var ContactsApi = class extends BaseAPI {
|
|
|
1196
1196
|
* Addresses Create
|
|
1197
1197
|
* @summary Addresses Create
|
|
1198
1198
|
* @param {string} contactId
|
|
1199
|
-
* @param {
|
|
1199
|
+
* @param {APIAddressCreate} aPIAddressCreate
|
|
1200
1200
|
* @param {*} [options] Override http request option.
|
|
1201
1201
|
* @throws {RequiredError}
|
|
1202
1202
|
* @memberof ContactsApi
|
|
1203
1203
|
*/
|
|
1204
|
-
addressesCreate(contactId,
|
|
1205
|
-
return ContactsApiFp(this.configuration).addressesCreate(contactId,
|
|
1204
|
+
addressesCreate(contactId, aPIAddressCreate, options) {
|
|
1205
|
+
return ContactsApiFp(this.configuration).addressesCreate(contactId, aPIAddressCreate, options).then((request) => request(this.axios, this.basePath));
|
|
1206
1206
|
}
|
|
1207
1207
|
/**
|
|
1208
1208
|
* Addresses Delete
|
|
@@ -1331,13 +1331,13 @@ var ContactsApi = class extends BaseAPI {
|
|
|
1331
1331
|
* Emails Create
|
|
1332
1332
|
* @summary Emails Create
|
|
1333
1333
|
* @param {string} contactId
|
|
1334
|
-
* @param {
|
|
1334
|
+
* @param {APIEmailCreate} aPIEmailCreate
|
|
1335
1335
|
* @param {*} [options] Override http request option.
|
|
1336
1336
|
* @throws {RequiredError}
|
|
1337
1337
|
* @memberof ContactsApi
|
|
1338
1338
|
*/
|
|
1339
|
-
emailsCreate(contactId,
|
|
1340
|
-
return ContactsApiFp(this.configuration).emailsCreate(contactId,
|
|
1339
|
+
emailsCreate(contactId, aPIEmailCreate, options) {
|
|
1340
|
+
return ContactsApiFp(this.configuration).emailsCreate(contactId, aPIEmailCreate, options).then((request) => request(this.axios, this.basePath));
|
|
1341
1341
|
}
|
|
1342
1342
|
/**
|
|
1343
1343
|
* Emails Delete
|
|
@@ -1366,13 +1366,13 @@ var ContactsApi = class extends BaseAPI {
|
|
|
1366
1366
|
* PhoneNumbers Create
|
|
1367
1367
|
* @summary PhoneNumbers Create
|
|
1368
1368
|
* @param {string} contactId
|
|
1369
|
-
* @param {
|
|
1369
|
+
* @param {APIPhoneNumberCreate} aPIPhoneNumberCreate
|
|
1370
1370
|
* @param {*} [options] Override http request option.
|
|
1371
1371
|
* @throws {RequiredError}
|
|
1372
1372
|
* @memberof ContactsApi
|
|
1373
1373
|
*/
|
|
1374
|
-
phoneNumbersCreate(contactId,
|
|
1375
|
-
return ContactsApiFp(this.configuration).phoneNumbersCreate(contactId,
|
|
1374
|
+
phoneNumbersCreate(contactId, aPIPhoneNumberCreate, options) {
|
|
1375
|
+
return ContactsApiFp(this.configuration).phoneNumbersCreate(contactId, aPIPhoneNumberCreate, options).then((request) => request(this.axios, this.basePath));
|
|
1376
1376
|
}
|
|
1377
1377
|
/**
|
|
1378
1378
|
* PhoneNumbers Delete
|
|
@@ -1403,12 +1403,12 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1403
1403
|
/**
|
|
1404
1404
|
* Conversations Create
|
|
1405
1405
|
* @summary Conversations Create
|
|
1406
|
-
* @param {
|
|
1406
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
1407
1407
|
* @param {*} [options] Override http request option.
|
|
1408
1408
|
* @throws {RequiredError}
|
|
1409
1409
|
*/
|
|
1410
|
-
conversationsCreate: async (
|
|
1411
|
-
assertParamExists("conversationsCreate", "
|
|
1410
|
+
conversationsCreate: async (aPIConversationCreate, options = {}) => {
|
|
1411
|
+
assertParamExists("conversationsCreate", "aPIConversationCreate", aPIConversationCreate);
|
|
1412
1412
|
const localVarPath = `/conversations`;
|
|
1413
1413
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1414
1414
|
let baseOptions;
|
|
@@ -1422,7 +1422,7 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1422
1422
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1423
1423
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1424
1424
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1425
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1425
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIConversationCreate, localVarRequestOptions, configuration);
|
|
1426
1426
|
return {
|
|
1427
1427
|
url: toPathString(localVarUrlObj),
|
|
1428
1428
|
options: localVarRequestOptions
|
|
@@ -1540,13 +1540,13 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1540
1540
|
* Messages Create
|
|
1541
1541
|
* @summary Messages Create
|
|
1542
1542
|
* @param {string} conversationId
|
|
1543
|
-
* @param {
|
|
1543
|
+
* @param {APIMessageCreate} aPIMessageCreate
|
|
1544
1544
|
* @param {*} [options] Override http request option.
|
|
1545
1545
|
* @throws {RequiredError}
|
|
1546
1546
|
*/
|
|
1547
|
-
messagesCreate: async (conversationId,
|
|
1547
|
+
messagesCreate: async (conversationId, aPIMessageCreate, options = {}) => {
|
|
1548
1548
|
assertParamExists("messagesCreate", "conversationId", conversationId);
|
|
1549
|
-
assertParamExists("messagesCreate", "
|
|
1549
|
+
assertParamExists("messagesCreate", "aPIMessageCreate", aPIMessageCreate);
|
|
1550
1550
|
const localVarPath = `/conversations/{conversationId}/messages`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
1551
1551
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1552
1552
|
let baseOptions;
|
|
@@ -1560,7 +1560,7 @@ var ConversationsApiAxiosParamCreator = function(configuration) {
|
|
|
1560
1560
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1561
1561
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1562
1562
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1563
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1563
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIMessageCreate, localVarRequestOptions, configuration);
|
|
1564
1564
|
return {
|
|
1565
1565
|
url: toPathString(localVarUrlObj),
|
|
1566
1566
|
options: localVarRequestOptions
|
|
@@ -1656,12 +1656,12 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1656
1656
|
/**
|
|
1657
1657
|
* Conversations Create
|
|
1658
1658
|
* @summary Conversations Create
|
|
1659
|
-
* @param {
|
|
1659
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
1660
1660
|
* @param {*} [options] Override http request option.
|
|
1661
1661
|
* @throws {RequiredError}
|
|
1662
1662
|
*/
|
|
1663
|
-
async conversationsCreate(
|
|
1664
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsCreate(
|
|
1663
|
+
async conversationsCreate(aPIConversationCreate, options) {
|
|
1664
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsCreate(aPIConversationCreate, options);
|
|
1665
1665
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1666
1666
|
const localVarOperationServerBasePath = operationServerMap["ConversationsApi.conversationsCreate"]?.[localVarOperationServerIndex]?.url;
|
|
1667
1667
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1716,12 +1716,12 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1716
1716
|
* Messages Create
|
|
1717
1717
|
* @summary Messages Create
|
|
1718
1718
|
* @param {string} conversationId
|
|
1719
|
-
* @param {
|
|
1719
|
+
* @param {APIMessageCreate} aPIMessageCreate
|
|
1720
1720
|
* @param {*} [options] Override http request option.
|
|
1721
1721
|
* @throws {RequiredError}
|
|
1722
1722
|
*/
|
|
1723
|
-
async messagesCreate(conversationId,
|
|
1724
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId,
|
|
1723
|
+
async messagesCreate(conversationId, aPIMessageCreate, options) {
|
|
1724
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, aPIMessageCreate, options);
|
|
1725
1725
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1726
1726
|
const localVarOperationServerBasePath = operationServerMap["ConversationsApi.messagesCreate"]?.[localVarOperationServerIndex]?.url;
|
|
1727
1727
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1767,12 +1767,12 @@ var ConversationsApiFactory = function(configuration, basePath, axios) {
|
|
|
1767
1767
|
/**
|
|
1768
1768
|
* Conversations Create
|
|
1769
1769
|
* @summary Conversations Create
|
|
1770
|
-
* @param {
|
|
1770
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
1771
1771
|
* @param {*} [options] Override http request option.
|
|
1772
1772
|
* @throws {RequiredError}
|
|
1773
1773
|
*/
|
|
1774
|
-
conversationsCreate(
|
|
1775
|
-
return localVarFp.conversationsCreate(
|
|
1774
|
+
conversationsCreate(aPIConversationCreate, options) {
|
|
1775
|
+
return localVarFp.conversationsCreate(aPIConversationCreate, options).then((request) => request(axios, basePath));
|
|
1776
1776
|
},
|
|
1777
1777
|
/**
|
|
1778
1778
|
* Conversations Get
|
|
@@ -1815,12 +1815,12 @@ var ConversationsApiFactory = function(configuration, basePath, axios) {
|
|
|
1815
1815
|
* Messages Create
|
|
1816
1816
|
* @summary Messages Create
|
|
1817
1817
|
* @param {string} conversationId
|
|
1818
|
-
* @param {
|
|
1818
|
+
* @param {APIMessageCreate} aPIMessageCreate
|
|
1819
1819
|
* @param {*} [options] Override http request option.
|
|
1820
1820
|
* @throws {RequiredError}
|
|
1821
1821
|
*/
|
|
1822
|
-
messagesCreate(conversationId,
|
|
1823
|
-
return localVarFp.messagesCreate(conversationId,
|
|
1822
|
+
messagesCreate(conversationId, aPIMessageCreate, options) {
|
|
1823
|
+
return localVarFp.messagesCreate(conversationId, aPIMessageCreate, options).then((request) => request(axios, basePath));
|
|
1824
1824
|
},
|
|
1825
1825
|
/**
|
|
1826
1826
|
* Messages Get
|
|
@@ -1855,13 +1855,13 @@ var ConversationsApi = class extends BaseAPI {
|
|
|
1855
1855
|
/**
|
|
1856
1856
|
* Conversations Create
|
|
1857
1857
|
* @summary Conversations Create
|
|
1858
|
-
* @param {
|
|
1858
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
1859
1859
|
* @param {*} [options] Override http request option.
|
|
1860
1860
|
* @throws {RequiredError}
|
|
1861
1861
|
* @memberof ConversationsApi
|
|
1862
1862
|
*/
|
|
1863
|
-
conversationsCreate(
|
|
1864
|
-
return ConversationsApiFp(this.configuration).conversationsCreate(
|
|
1863
|
+
conversationsCreate(aPIConversationCreate, options) {
|
|
1864
|
+
return ConversationsApiFp(this.configuration).conversationsCreate(aPIConversationCreate, options).then((request) => request(this.axios, this.basePath));
|
|
1865
1865
|
}
|
|
1866
1866
|
/**
|
|
1867
1867
|
* Conversations Get
|
|
@@ -1907,13 +1907,13 @@ var ConversationsApi = class extends BaseAPI {
|
|
|
1907
1907
|
* Messages Create
|
|
1908
1908
|
* @summary Messages Create
|
|
1909
1909
|
* @param {string} conversationId
|
|
1910
|
-
* @param {
|
|
1910
|
+
* @param {APIMessageCreate} aPIMessageCreate
|
|
1911
1911
|
* @param {*} [options] Override http request option.
|
|
1912
1912
|
* @throws {RequiredError}
|
|
1913
1913
|
* @memberof ConversationsApi
|
|
1914
1914
|
*/
|
|
1915
|
-
messagesCreate(conversationId,
|
|
1916
|
-
return ConversationsApiFp(this.configuration).messagesCreate(conversationId,
|
|
1915
|
+
messagesCreate(conversationId, aPIMessageCreate, options) {
|
|
1916
|
+
return ConversationsApiFp(this.configuration).messagesCreate(conversationId, aPIMessageCreate, options).then((request) => request(this.axios, this.basePath));
|
|
1917
1917
|
}
|
|
1918
1918
|
/**
|
|
1919
1919
|
* Messages Get
|
|
@@ -2358,12 +2358,12 @@ var ProvidersApiAxiosParamCreator = function(configuration) {
|
|
|
2358
2358
|
/**
|
|
2359
2359
|
* Providers Create
|
|
2360
2360
|
* @summary Providers Create
|
|
2361
|
-
* @param {
|
|
2361
|
+
* @param {APIProviderCreate} aPIProviderCreate
|
|
2362
2362
|
* @param {*} [options] Override http request option.
|
|
2363
2363
|
* @throws {RequiredError}
|
|
2364
2364
|
*/
|
|
2365
|
-
providersCreate: async (
|
|
2366
|
-
assertParamExists("providersCreate", "
|
|
2365
|
+
providersCreate: async (aPIProviderCreate, options = {}) => {
|
|
2366
|
+
assertParamExists("providersCreate", "aPIProviderCreate", aPIProviderCreate);
|
|
2367
2367
|
const localVarPath = `/providers`;
|
|
2368
2368
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2369
2369
|
let baseOptions;
|
|
@@ -2377,7 +2377,7 @@ var ProvidersApiAxiosParamCreator = function(configuration) {
|
|
|
2377
2377
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2378
2378
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2379
2379
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2380
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2380
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIProviderCreate, localVarRequestOptions, configuration);
|
|
2381
2381
|
return {
|
|
2382
2382
|
url: toPathString(localVarUrlObj),
|
|
2383
2383
|
options: localVarRequestOptions
|
|
@@ -2471,12 +2471,12 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2471
2471
|
/**
|
|
2472
2472
|
* Providers Create
|
|
2473
2473
|
* @summary Providers Create
|
|
2474
|
-
* @param {
|
|
2474
|
+
* @param {APIProviderCreate} aPIProviderCreate
|
|
2475
2475
|
* @param {*} [options] Override http request option.
|
|
2476
2476
|
* @throws {RequiredError}
|
|
2477
2477
|
*/
|
|
2478
|
-
async providersCreate(
|
|
2479
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(
|
|
2478
|
+
async providersCreate(aPIProviderCreate, options) {
|
|
2479
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(aPIProviderCreate, options);
|
|
2480
2480
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2481
2481
|
const localVarOperationServerBasePath = operationServerMap["ProvidersApi.providersCreate"]?.[localVarOperationServerIndex]?.url;
|
|
2482
2482
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2528,12 +2528,12 @@ var ProvidersApiFactory = function(configuration, basePath, axios) {
|
|
|
2528
2528
|
/**
|
|
2529
2529
|
* Providers Create
|
|
2530
2530
|
* @summary Providers Create
|
|
2531
|
-
* @param {
|
|
2531
|
+
* @param {APIProviderCreate} aPIProviderCreate
|
|
2532
2532
|
* @param {*} [options] Override http request option.
|
|
2533
2533
|
* @throws {RequiredError}
|
|
2534
2534
|
*/
|
|
2535
|
-
providersCreate(
|
|
2536
|
-
return localVarFp.providersCreate(
|
|
2535
|
+
providersCreate(aPIProviderCreate, options) {
|
|
2536
|
+
return localVarFp.providersCreate(aPIProviderCreate, options).then((request) => request(axios, basePath));
|
|
2537
2537
|
},
|
|
2538
2538
|
/**
|
|
2539
2539
|
* Providers Get
|
|
@@ -2571,13 +2571,13 @@ var ProvidersApi = class extends BaseAPI {
|
|
|
2571
2571
|
/**
|
|
2572
2572
|
* Providers Create
|
|
2573
2573
|
* @summary Providers Create
|
|
2574
|
-
* @param {
|
|
2574
|
+
* @param {APIProviderCreate} aPIProviderCreate
|
|
2575
2575
|
* @param {*} [options] Override http request option.
|
|
2576
2576
|
* @throws {RequiredError}
|
|
2577
2577
|
* @memberof ProvidersApi
|
|
2578
2578
|
*/
|
|
2579
|
-
providersCreate(
|
|
2580
|
-
return ProvidersApiFp(this.configuration).providersCreate(
|
|
2579
|
+
providersCreate(aPIProviderCreate, options) {
|
|
2580
|
+
return ProvidersApiFp(this.configuration).providersCreate(aPIProviderCreate, options).then((request) => request(this.axios, this.basePath));
|
|
2581
2581
|
}
|
|
2582
2582
|
/**
|
|
2583
2583
|
* Providers Get
|
|
@@ -2823,13 +2823,13 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
2823
2823
|
* Addresses Create
|
|
2824
2824
|
* @summary Addresses Create
|
|
2825
2825
|
* @param {string} contactId
|
|
2826
|
-
* @param {
|
|
2826
|
+
* @param {APIAddressCreate} aPIAddressCreate
|
|
2827
2827
|
* @param {*} [options] Override http request option.
|
|
2828
2828
|
* @throws {RequiredError}
|
|
2829
2829
|
*/
|
|
2830
|
-
addressesCreate: async (contactId,
|
|
2830
|
+
addressesCreate: async (contactId, aPIAddressCreate, options = {}) => {
|
|
2831
2831
|
assertParamExists("addressesCreate", "contactId", contactId);
|
|
2832
|
-
assertParamExists("addressesCreate", "
|
|
2832
|
+
assertParamExists("addressesCreate", "aPIAddressCreate", aPIAddressCreate);
|
|
2833
2833
|
const localVarPath = `/contacts/{contactId}/addresses`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
2834
2834
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2835
2835
|
let baseOptions;
|
|
@@ -2843,7 +2843,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
2843
2843
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2844
2844
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2845
2845
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2846
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2846
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIAddressCreate, localVarRequestOptions, configuration);
|
|
2847
2847
|
return {
|
|
2848
2848
|
url: toPathString(localVarUrlObj),
|
|
2849
2849
|
options: localVarRequestOptions
|
|
@@ -3162,12 +3162,12 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3162
3162
|
/**
|
|
3163
3163
|
* Conversations Create
|
|
3164
3164
|
* @summary Conversations Create
|
|
3165
|
-
* @param {
|
|
3165
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
3166
3166
|
* @param {*} [options] Override http request option.
|
|
3167
3167
|
* @throws {RequiredError}
|
|
3168
3168
|
*/
|
|
3169
|
-
conversationsCreate: async (
|
|
3170
|
-
assertParamExists("conversationsCreate", "
|
|
3169
|
+
conversationsCreate: async (aPIConversationCreate, options = {}) => {
|
|
3170
|
+
assertParamExists("conversationsCreate", "aPIConversationCreate", aPIConversationCreate);
|
|
3171
3171
|
const localVarPath = `/conversations`;
|
|
3172
3172
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3173
3173
|
let baseOptions;
|
|
@@ -3181,7 +3181,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3181
3181
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3182
3182
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3183
3183
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3184
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3184
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIConversationCreate, localVarRequestOptions, configuration);
|
|
3185
3185
|
return {
|
|
3186
3186
|
url: toPathString(localVarUrlObj),
|
|
3187
3187
|
options: localVarRequestOptions
|
|
@@ -3299,13 +3299,13 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3299
3299
|
* Emails Create
|
|
3300
3300
|
* @summary Emails Create
|
|
3301
3301
|
* @param {string} contactId
|
|
3302
|
-
* @param {
|
|
3302
|
+
* @param {APIEmailCreate} aPIEmailCreate
|
|
3303
3303
|
* @param {*} [options] Override http request option.
|
|
3304
3304
|
* @throws {RequiredError}
|
|
3305
3305
|
*/
|
|
3306
|
-
emailsCreate: async (contactId,
|
|
3306
|
+
emailsCreate: async (contactId, aPIEmailCreate, options = {}) => {
|
|
3307
3307
|
assertParamExists("emailsCreate", "contactId", contactId);
|
|
3308
|
-
assertParamExists("emailsCreate", "
|
|
3308
|
+
assertParamExists("emailsCreate", "aPIEmailCreate", aPIEmailCreate);
|
|
3309
3309
|
const localVarPath = `/contacts/{contactId}/emails`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
3310
3310
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3311
3311
|
let baseOptions;
|
|
@@ -3319,7 +3319,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3319
3319
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3320
3320
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3321
3321
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3322
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3322
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIEmailCreate, localVarRequestOptions, configuration);
|
|
3323
3323
|
return {
|
|
3324
3324
|
url: toPathString(localVarUrlObj),
|
|
3325
3325
|
options: localVarRequestOptions
|
|
@@ -3515,13 +3515,13 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3515
3515
|
* Messages Create
|
|
3516
3516
|
* @summary Messages Create
|
|
3517
3517
|
* @param {string} conversationId
|
|
3518
|
-
* @param {
|
|
3518
|
+
* @param {APIMessageCreate} aPIMessageCreate
|
|
3519
3519
|
* @param {*} [options] Override http request option.
|
|
3520
3520
|
* @throws {RequiredError}
|
|
3521
3521
|
*/
|
|
3522
|
-
messagesCreate: async (conversationId,
|
|
3522
|
+
messagesCreate: async (conversationId, aPIMessageCreate, options = {}) => {
|
|
3523
3523
|
assertParamExists("messagesCreate", "conversationId", conversationId);
|
|
3524
|
-
assertParamExists("messagesCreate", "
|
|
3524
|
+
assertParamExists("messagesCreate", "aPIMessageCreate", aPIMessageCreate);
|
|
3525
3525
|
const localVarPath = `/conversations/{conversationId}/messages`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
3526
3526
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3527
3527
|
let baseOptions;
|
|
@@ -3535,7 +3535,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3535
3535
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3536
3536
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3537
3537
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3538
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3538
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIMessageCreate, localVarRequestOptions, configuration);
|
|
3539
3539
|
return {
|
|
3540
3540
|
url: toPathString(localVarUrlObj),
|
|
3541
3541
|
options: localVarRequestOptions
|
|
@@ -3627,13 +3627,13 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3627
3627
|
* PhoneNumbers Create
|
|
3628
3628
|
* @summary PhoneNumbers Create
|
|
3629
3629
|
* @param {string} contactId
|
|
3630
|
-
* @param {
|
|
3630
|
+
* @param {APIPhoneNumberCreate} aPIPhoneNumberCreate
|
|
3631
3631
|
* @param {*} [options] Override http request option.
|
|
3632
3632
|
* @throws {RequiredError}
|
|
3633
3633
|
*/
|
|
3634
|
-
phoneNumbersCreate: async (contactId,
|
|
3634
|
+
phoneNumbersCreate: async (contactId, aPIPhoneNumberCreate, options = {}) => {
|
|
3635
3635
|
assertParamExists("phoneNumbersCreate", "contactId", contactId);
|
|
3636
|
-
assertParamExists("phoneNumbersCreate", "
|
|
3636
|
+
assertParamExists("phoneNumbersCreate", "aPIPhoneNumberCreate", aPIPhoneNumberCreate);
|
|
3637
3637
|
const localVarPath = `/contacts/{contactId}/phoneNumbers`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
3638
3638
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3639
3639
|
let baseOptions;
|
|
@@ -3647,7 +3647,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3647
3647
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3648
3648
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3649
3649
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3650
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3650
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIPhoneNumberCreate, localVarRequestOptions, configuration);
|
|
3651
3651
|
return {
|
|
3652
3652
|
url: toPathString(localVarUrlObj),
|
|
3653
3653
|
options: localVarRequestOptions
|
|
@@ -3712,12 +3712,12 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3712
3712
|
/**
|
|
3713
3713
|
* Providers Create
|
|
3714
3714
|
* @summary Providers Create
|
|
3715
|
-
* @param {
|
|
3715
|
+
* @param {APIProviderCreate} aPIProviderCreate
|
|
3716
3716
|
* @param {*} [options] Override http request option.
|
|
3717
3717
|
* @throws {RequiredError}
|
|
3718
3718
|
*/
|
|
3719
|
-
providersCreate: async (
|
|
3720
|
-
assertParamExists("providersCreate", "
|
|
3719
|
+
providersCreate: async (aPIProviderCreate, options = {}) => {
|
|
3720
|
+
assertParamExists("providersCreate", "aPIProviderCreate", aPIProviderCreate);
|
|
3721
3721
|
const localVarPath = `/providers`;
|
|
3722
3722
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3723
3723
|
let baseOptions;
|
|
@@ -3731,7 +3731,7 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3731
3731
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3732
3732
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3733
3733
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3734
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3734
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIProviderCreate, localVarRequestOptions, configuration);
|
|
3735
3735
|
return {
|
|
3736
3736
|
url: toPathString(localVarUrlObj),
|
|
3737
3737
|
options: localVarRequestOptions
|
|
@@ -3945,12 +3945,12 @@ var UnboundApiFp = function(configuration) {
|
|
|
3945
3945
|
* Addresses Create
|
|
3946
3946
|
* @summary Addresses Create
|
|
3947
3947
|
* @param {string} contactId
|
|
3948
|
-
* @param {
|
|
3948
|
+
* @param {APIAddressCreate} aPIAddressCreate
|
|
3949
3949
|
* @param {*} [options] Override http request option.
|
|
3950
3950
|
* @throws {RequiredError}
|
|
3951
3951
|
*/
|
|
3952
|
-
async addressesCreate(contactId,
|
|
3953
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId,
|
|
3952
|
+
async addressesCreate(contactId, aPIAddressCreate, options) {
|
|
3953
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, aPIAddressCreate, options);
|
|
3954
3954
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3955
3955
|
const localVarOperationServerBasePath = operationServerMap["UnboundApi.addressesCreate"]?.[localVarOperationServerIndex]?.url;
|
|
3956
3956
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4101,12 +4101,12 @@ var UnboundApiFp = function(configuration) {
|
|
|
4101
4101
|
/**
|
|
4102
4102
|
* Conversations Create
|
|
4103
4103
|
* @summary Conversations Create
|
|
4104
|
-
* @param {
|
|
4104
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
4105
4105
|
* @param {*} [options] Override http request option.
|
|
4106
4106
|
* @throws {RequiredError}
|
|
4107
4107
|
*/
|
|
4108
|
-
async conversationsCreate(
|
|
4109
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsCreate(
|
|
4108
|
+
async conversationsCreate(aPIConversationCreate, options) {
|
|
4109
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsCreate(aPIConversationCreate, options);
|
|
4110
4110
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4111
4111
|
const localVarOperationServerBasePath = operationServerMap["UnboundApi.conversationsCreate"]?.[localVarOperationServerIndex]?.url;
|
|
4112
4112
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4161,12 +4161,12 @@ var UnboundApiFp = function(configuration) {
|
|
|
4161
4161
|
* Emails Create
|
|
4162
4162
|
* @summary Emails Create
|
|
4163
4163
|
* @param {string} contactId
|
|
4164
|
-
* @param {
|
|
4164
|
+
* @param {APIEmailCreate} aPIEmailCreate
|
|
4165
4165
|
* @param {*} [options] Override http request option.
|
|
4166
4166
|
* @throws {RequiredError}
|
|
4167
4167
|
*/
|
|
4168
|
-
async emailsCreate(contactId,
|
|
4169
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId,
|
|
4168
|
+
async emailsCreate(contactId, aPIEmailCreate, options) {
|
|
4169
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, aPIEmailCreate, options);
|
|
4170
4170
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4171
4171
|
const localVarOperationServerBasePath = operationServerMap["UnboundApi.emailsCreate"]?.[localVarOperationServerIndex]?.url;
|
|
4172
4172
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4259,12 +4259,12 @@ var UnboundApiFp = function(configuration) {
|
|
|
4259
4259
|
* Messages Create
|
|
4260
4260
|
* @summary Messages Create
|
|
4261
4261
|
* @param {string} conversationId
|
|
4262
|
-
* @param {
|
|
4262
|
+
* @param {APIMessageCreate} aPIMessageCreate
|
|
4263
4263
|
* @param {*} [options] Override http request option.
|
|
4264
4264
|
* @throws {RequiredError}
|
|
4265
4265
|
*/
|
|
4266
|
-
async messagesCreate(conversationId,
|
|
4267
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId,
|
|
4266
|
+
async messagesCreate(conversationId, aPIMessageCreate, options) {
|
|
4267
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, aPIMessageCreate, options);
|
|
4268
4268
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4269
4269
|
const localVarOperationServerBasePath = operationServerMap["UnboundApi.messagesCreate"]?.[localVarOperationServerIndex]?.url;
|
|
4270
4270
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4306,12 +4306,12 @@ var UnboundApiFp = function(configuration) {
|
|
|
4306
4306
|
* PhoneNumbers Create
|
|
4307
4307
|
* @summary PhoneNumbers Create
|
|
4308
4308
|
* @param {string} contactId
|
|
4309
|
-
* @param {
|
|
4309
|
+
* @param {APIPhoneNumberCreate} aPIPhoneNumberCreate
|
|
4310
4310
|
* @param {*} [options] Override http request option.
|
|
4311
4311
|
* @throws {RequiredError}
|
|
4312
4312
|
*/
|
|
4313
|
-
async phoneNumbersCreate(contactId,
|
|
4314
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersCreate(contactId,
|
|
4313
|
+
async phoneNumbersCreate(contactId, aPIPhoneNumberCreate, options) {
|
|
4314
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersCreate(contactId, aPIPhoneNumberCreate, options);
|
|
4315
4315
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4316
4316
|
const localVarOperationServerBasePath = operationServerMap["UnboundApi.phoneNumbersCreate"]?.[localVarOperationServerIndex]?.url;
|
|
4317
4317
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4346,12 +4346,12 @@ var UnboundApiFp = function(configuration) {
|
|
|
4346
4346
|
/**
|
|
4347
4347
|
* Providers Create
|
|
4348
4348
|
* @summary Providers Create
|
|
4349
|
-
* @param {
|
|
4349
|
+
* @param {APIProviderCreate} aPIProviderCreate
|
|
4350
4350
|
* @param {*} [options] Override http request option.
|
|
4351
4351
|
* @throws {RequiredError}
|
|
4352
4352
|
*/
|
|
4353
|
-
async providersCreate(
|
|
4354
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(
|
|
4353
|
+
async providersCreate(aPIProviderCreate, options) {
|
|
4354
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(aPIProviderCreate, options);
|
|
4355
4355
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4356
4356
|
const localVarOperationServerBasePath = operationServerMap["UnboundApi.providersCreate"]?.[localVarOperationServerIndex]?.url;
|
|
4357
4357
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4458,12 +4458,12 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
4458
4458
|
* Addresses Create
|
|
4459
4459
|
* @summary Addresses Create
|
|
4460
4460
|
* @param {string} contactId
|
|
4461
|
-
* @param {
|
|
4461
|
+
* @param {APIAddressCreate} aPIAddressCreate
|
|
4462
4462
|
* @param {*} [options] Override http request option.
|
|
4463
4463
|
* @throws {RequiredError}
|
|
4464
4464
|
*/
|
|
4465
|
-
addressesCreate(contactId,
|
|
4466
|
-
return localVarFp.addressesCreate(contactId,
|
|
4465
|
+
addressesCreate(contactId, aPIAddressCreate, options) {
|
|
4466
|
+
return localVarFp.addressesCreate(contactId, aPIAddressCreate, options).then((request) => request(axios, basePath));
|
|
4467
4467
|
},
|
|
4468
4468
|
/**
|
|
4469
4469
|
* Addresses Delete
|
|
@@ -4581,12 +4581,12 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
4581
4581
|
/**
|
|
4582
4582
|
* Conversations Create
|
|
4583
4583
|
* @summary Conversations Create
|
|
4584
|
-
* @param {
|
|
4584
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
4585
4585
|
* @param {*} [options] Override http request option.
|
|
4586
4586
|
* @throws {RequiredError}
|
|
4587
4587
|
*/
|
|
4588
|
-
conversationsCreate(
|
|
4589
|
-
return localVarFp.conversationsCreate(
|
|
4588
|
+
conversationsCreate(aPIConversationCreate, options) {
|
|
4589
|
+
return localVarFp.conversationsCreate(aPIConversationCreate, options).then((request) => request(axios, basePath));
|
|
4590
4590
|
},
|
|
4591
4591
|
/**
|
|
4592
4592
|
* Conversations Get
|
|
@@ -4629,12 +4629,12 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
4629
4629
|
* Emails Create
|
|
4630
4630
|
* @summary Emails Create
|
|
4631
4631
|
* @param {string} contactId
|
|
4632
|
-
* @param {
|
|
4632
|
+
* @param {APIEmailCreate} aPIEmailCreate
|
|
4633
4633
|
* @param {*} [options] Override http request option.
|
|
4634
4634
|
* @throws {RequiredError}
|
|
4635
4635
|
*/
|
|
4636
|
-
emailsCreate(contactId,
|
|
4637
|
-
return localVarFp.emailsCreate(contactId,
|
|
4636
|
+
emailsCreate(contactId, aPIEmailCreate, options) {
|
|
4637
|
+
return localVarFp.emailsCreate(contactId, aPIEmailCreate, options).then((request) => request(axios, basePath));
|
|
4638
4638
|
},
|
|
4639
4639
|
/**
|
|
4640
4640
|
* Emails Delete
|
|
@@ -4706,12 +4706,12 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
4706
4706
|
* Messages Create
|
|
4707
4707
|
* @summary Messages Create
|
|
4708
4708
|
* @param {string} conversationId
|
|
4709
|
-
* @param {
|
|
4709
|
+
* @param {APIMessageCreate} aPIMessageCreate
|
|
4710
4710
|
* @param {*} [options] Override http request option.
|
|
4711
4711
|
* @throws {RequiredError}
|
|
4712
4712
|
*/
|
|
4713
|
-
messagesCreate(conversationId,
|
|
4714
|
-
return localVarFp.messagesCreate(conversationId,
|
|
4713
|
+
messagesCreate(conversationId, aPIMessageCreate, options) {
|
|
4714
|
+
return localVarFp.messagesCreate(conversationId, aPIMessageCreate, options).then((request) => request(axios, basePath));
|
|
4715
4715
|
},
|
|
4716
4716
|
/**
|
|
4717
4717
|
* Messages Get
|
|
@@ -4744,12 +4744,12 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
4744
4744
|
* PhoneNumbers Create
|
|
4745
4745
|
* @summary PhoneNumbers Create
|
|
4746
4746
|
* @param {string} contactId
|
|
4747
|
-
* @param {
|
|
4747
|
+
* @param {APIPhoneNumberCreate} aPIPhoneNumberCreate
|
|
4748
4748
|
* @param {*} [options] Override http request option.
|
|
4749
4749
|
* @throws {RequiredError}
|
|
4750
4750
|
*/
|
|
4751
|
-
phoneNumbersCreate(contactId,
|
|
4752
|
-
return localVarFp.phoneNumbersCreate(contactId,
|
|
4751
|
+
phoneNumbersCreate(contactId, aPIPhoneNumberCreate, options) {
|
|
4752
|
+
return localVarFp.phoneNumbersCreate(contactId, aPIPhoneNumberCreate, options).then((request) => request(axios, basePath));
|
|
4753
4753
|
},
|
|
4754
4754
|
/**
|
|
4755
4755
|
* PhoneNumbers Delete
|
|
@@ -4775,12 +4775,12 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
4775
4775
|
/**
|
|
4776
4776
|
* Providers Create
|
|
4777
4777
|
* @summary Providers Create
|
|
4778
|
-
* @param {
|
|
4778
|
+
* @param {APIProviderCreate} aPIProviderCreate
|
|
4779
4779
|
* @param {*} [options] Override http request option.
|
|
4780
4780
|
* @throws {RequiredError}
|
|
4781
4781
|
*/
|
|
4782
|
-
providersCreate(
|
|
4783
|
-
return localVarFp.providersCreate(
|
|
4782
|
+
providersCreate(aPIProviderCreate, options) {
|
|
4783
|
+
return localVarFp.providersCreate(aPIProviderCreate, options).then((request) => request(axios, basePath));
|
|
4784
4784
|
},
|
|
4785
4785
|
/**
|
|
4786
4786
|
* Providers Get
|
|
@@ -4865,13 +4865,13 @@ var UnboundApi = class extends BaseAPI {
|
|
|
4865
4865
|
* Addresses Create
|
|
4866
4866
|
* @summary Addresses Create
|
|
4867
4867
|
* @param {string} contactId
|
|
4868
|
-
* @param {
|
|
4868
|
+
* @param {APIAddressCreate} aPIAddressCreate
|
|
4869
4869
|
* @param {*} [options] Override http request option.
|
|
4870
4870
|
* @throws {RequiredError}
|
|
4871
4871
|
* @memberof UnboundApi
|
|
4872
4872
|
*/
|
|
4873
|
-
addressesCreate(contactId,
|
|
4874
|
-
return UnboundApiFp(this.configuration).addressesCreate(contactId,
|
|
4873
|
+
addressesCreate(contactId, aPIAddressCreate, options) {
|
|
4874
|
+
return UnboundApiFp(this.configuration).addressesCreate(contactId, aPIAddressCreate, options).then((request) => request(this.axios, this.basePath));
|
|
4875
4875
|
}
|
|
4876
4876
|
/**
|
|
4877
4877
|
* Addresses Delete
|
|
@@ -4999,13 +4999,13 @@ var UnboundApi = class extends BaseAPI {
|
|
|
4999
4999
|
/**
|
|
5000
5000
|
* Conversations Create
|
|
5001
5001
|
* @summary Conversations Create
|
|
5002
|
-
* @param {
|
|
5002
|
+
* @param {APIConversationCreate} aPIConversationCreate
|
|
5003
5003
|
* @param {*} [options] Override http request option.
|
|
5004
5004
|
* @throws {RequiredError}
|
|
5005
5005
|
* @memberof UnboundApi
|
|
5006
5006
|
*/
|
|
5007
|
-
conversationsCreate(
|
|
5008
|
-
return UnboundApiFp(this.configuration).conversationsCreate(
|
|
5007
|
+
conversationsCreate(aPIConversationCreate, options) {
|
|
5008
|
+
return UnboundApiFp(this.configuration).conversationsCreate(aPIConversationCreate, options).then((request) => request(this.axios, this.basePath));
|
|
5009
5009
|
}
|
|
5010
5010
|
/**
|
|
5011
5011
|
* Conversations Get
|
|
@@ -5051,13 +5051,13 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5051
5051
|
* Emails Create
|
|
5052
5052
|
* @summary Emails Create
|
|
5053
5053
|
* @param {string} contactId
|
|
5054
|
-
* @param {
|
|
5054
|
+
* @param {APIEmailCreate} aPIEmailCreate
|
|
5055
5055
|
* @param {*} [options] Override http request option.
|
|
5056
5056
|
* @throws {RequiredError}
|
|
5057
5057
|
* @memberof UnboundApi
|
|
5058
5058
|
*/
|
|
5059
|
-
emailsCreate(contactId,
|
|
5060
|
-
return UnboundApiFp(this.configuration).emailsCreate(contactId,
|
|
5059
|
+
emailsCreate(contactId, aPIEmailCreate, options) {
|
|
5060
|
+
return UnboundApiFp(this.configuration).emailsCreate(contactId, aPIEmailCreate, options).then((request) => request(this.axios, this.basePath));
|
|
5061
5061
|
}
|
|
5062
5062
|
/**
|
|
5063
5063
|
* Emails Delete
|
|
@@ -5135,13 +5135,13 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5135
5135
|
* Messages Create
|
|
5136
5136
|
* @summary Messages Create
|
|
5137
5137
|
* @param {string} conversationId
|
|
5138
|
-
* @param {
|
|
5138
|
+
* @param {APIMessageCreate} aPIMessageCreate
|
|
5139
5139
|
* @param {*} [options] Override http request option.
|
|
5140
5140
|
* @throws {RequiredError}
|
|
5141
5141
|
* @memberof UnboundApi
|
|
5142
5142
|
*/
|
|
5143
|
-
messagesCreate(conversationId,
|
|
5144
|
-
return UnboundApiFp(this.configuration).messagesCreate(conversationId,
|
|
5143
|
+
messagesCreate(conversationId, aPIMessageCreate, options) {
|
|
5144
|
+
return UnboundApiFp(this.configuration).messagesCreate(conversationId, aPIMessageCreate, options).then((request) => request(this.axios, this.basePath));
|
|
5145
5145
|
}
|
|
5146
5146
|
/**
|
|
5147
5147
|
* Messages Get
|
|
@@ -5176,13 +5176,13 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5176
5176
|
* PhoneNumbers Create
|
|
5177
5177
|
* @summary PhoneNumbers Create
|
|
5178
5178
|
* @param {string} contactId
|
|
5179
|
-
* @param {
|
|
5179
|
+
* @param {APIPhoneNumberCreate} aPIPhoneNumberCreate
|
|
5180
5180
|
* @param {*} [options] Override http request option.
|
|
5181
5181
|
* @throws {RequiredError}
|
|
5182
5182
|
* @memberof UnboundApi
|
|
5183
5183
|
*/
|
|
5184
|
-
phoneNumbersCreate(contactId,
|
|
5185
|
-
return UnboundApiFp(this.configuration).phoneNumbersCreate(contactId,
|
|
5184
|
+
phoneNumbersCreate(contactId, aPIPhoneNumberCreate, options) {
|
|
5185
|
+
return UnboundApiFp(this.configuration).phoneNumbersCreate(contactId, aPIPhoneNumberCreate, options).then((request) => request(this.axios, this.basePath));
|
|
5186
5186
|
}
|
|
5187
5187
|
/**
|
|
5188
5188
|
* PhoneNumbers Delete
|
|
@@ -5210,13 +5210,13 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5210
5210
|
/**
|
|
5211
5211
|
* Providers Create
|
|
5212
5212
|
* @summary Providers Create
|
|
5213
|
-
* @param {
|
|
5213
|
+
* @param {APIProviderCreate} aPIProviderCreate
|
|
5214
5214
|
* @param {*} [options] Override http request option.
|
|
5215
5215
|
* @throws {RequiredError}
|
|
5216
5216
|
* @memberof UnboundApi
|
|
5217
5217
|
*/
|
|
5218
|
-
providersCreate(
|
|
5219
|
-
return UnboundApiFp(this.configuration).providersCreate(
|
|
5218
|
+
providersCreate(aPIProviderCreate, options) {
|
|
5219
|
+
return UnboundApiFp(this.configuration).providersCreate(aPIProviderCreate, options).then((request) => request(this.axios, this.basePath));
|
|
5220
5220
|
}
|
|
5221
5221
|
/**
|
|
5222
5222
|
* Providers Get
|