@ember-home/unbound-ts-client 0.0.95 → 0.0.97
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 +1518 -71
- package/dist/index.d.ts +1518 -71
- package/dist/index.js +1928 -267
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1851 -190
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -75,6 +75,10 @@ var createRequestFunction = function(axiosArgs, globalAxios3, BASE_PATH2, config
|
|
|
75
75
|
};
|
|
76
76
|
|
|
77
77
|
// src/api.ts
|
|
78
|
+
var APIListingContentStatusEnum = {
|
|
79
|
+
Active: "active",
|
|
80
|
+
Deleted: "deleted"
|
|
81
|
+
};
|
|
78
82
|
var BotApiParticipantTypeEnum = {
|
|
79
83
|
Bot: "BOT"
|
|
80
84
|
};
|
|
@@ -97,6 +101,9 @@ var EmailProviderMessageApiMessageTypeEnum = {
|
|
|
97
101
|
var ExternalStaffApiStaffTypeEnum = {
|
|
98
102
|
ExternalStaff: "EXTERNAL_STAFF"
|
|
99
103
|
};
|
|
104
|
+
var FileListingContentApiListingContentTypeEnum = {
|
|
105
|
+
File: "file"
|
|
106
|
+
};
|
|
100
107
|
var GuestApiParticipantTypeEnum = {
|
|
101
108
|
Guest: "GUEST"
|
|
102
109
|
};
|
|
@@ -124,6 +131,9 @@ var PaginationDirection = {
|
|
|
124
131
|
var PhoneInboxApiInboxTypeEnum = {
|
|
125
132
|
Text: "TEXT"
|
|
126
133
|
};
|
|
134
|
+
var PlainTextListingContentApiListingContentTypeEnum = {
|
|
135
|
+
PlainText: "plain_text"
|
|
136
|
+
};
|
|
127
137
|
var ProviderAccountInboxApiInboxTypeEnum = {
|
|
128
138
|
RentalProvider: "RENTAL_PROVIDER"
|
|
129
139
|
};
|
|
@@ -184,6 +194,16 @@ var SMSInboundSenderTypeDataApiDirectionEnum = {
|
|
|
184
194
|
var SMSMessageApiMessageTypeEnum = {
|
|
185
195
|
Text: "TEXT"
|
|
186
196
|
};
|
|
197
|
+
var SMSMessageStatus = {
|
|
198
|
+
Queued: "queued",
|
|
199
|
+
Sending: "sending",
|
|
200
|
+
Sent: "sent",
|
|
201
|
+
Expired: "expired",
|
|
202
|
+
SendingFailed: "sending_failed",
|
|
203
|
+
DeliveryUnconfirmed: "delivery_unconfirmed",
|
|
204
|
+
Delivered: "delivered",
|
|
205
|
+
DeliveryFailed: "delivery_failed"
|
|
206
|
+
};
|
|
187
207
|
var SMSOutboundSenderTypeDataApiDirectionEnum = {
|
|
188
208
|
Outbound: "OUTBOUND"
|
|
189
209
|
};
|
|
@@ -244,6 +264,9 @@ var SuggestionStatus = {
|
|
|
244
264
|
ReplyGenerated: "REPLY_GENERATED",
|
|
245
265
|
NoAvailableReply: "NO_AVAILABLE_REPLY"
|
|
246
266
|
};
|
|
267
|
+
var URLListingContentApiListingContentTypeEnum = {
|
|
268
|
+
Url: "url"
|
|
269
|
+
};
|
|
247
270
|
var UserDeviceOs = {
|
|
248
271
|
Android: "ANDROID",
|
|
249
272
|
Ios: "IOS",
|
|
@@ -321,6 +344,84 @@ var AccountsApi = class extends BaseAPI {
|
|
|
321
344
|
return AccountsApiFp(this.configuration).accountsList(options).then((request) => request(this.axios, this.basePath));
|
|
322
345
|
}
|
|
323
346
|
};
|
|
347
|
+
var AiResponsesApiAxiosParamCreator = function(configuration) {
|
|
348
|
+
return {
|
|
349
|
+
/**
|
|
350
|
+
* AiResponses Create
|
|
351
|
+
* @summary AiResponses Create
|
|
352
|
+
* @param {APIAiResponseCreate} aPIAiResponseCreate
|
|
353
|
+
* @param {*} [options] Override http request option.
|
|
354
|
+
* @throws {RequiredError}
|
|
355
|
+
*/
|
|
356
|
+
aiResponsesCreate: async (aPIAiResponseCreate, options = {}) => {
|
|
357
|
+
assertParamExists("aiResponsesCreate", "aPIAiResponseCreate", aPIAiResponseCreate);
|
|
358
|
+
const localVarPath = `/v1/aiResponses`;
|
|
359
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
360
|
+
let baseOptions;
|
|
361
|
+
if (configuration) {
|
|
362
|
+
baseOptions = configuration.baseOptions;
|
|
363
|
+
}
|
|
364
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
365
|
+
const localVarHeaderParameter = {};
|
|
366
|
+
const localVarQueryParameter = {};
|
|
367
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
368
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
369
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
370
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
371
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIAiResponseCreate, localVarRequestOptions, configuration);
|
|
372
|
+
return {
|
|
373
|
+
url: toPathString(localVarUrlObj),
|
|
374
|
+
options: localVarRequestOptions
|
|
375
|
+
};
|
|
376
|
+
}
|
|
377
|
+
};
|
|
378
|
+
};
|
|
379
|
+
var AiResponsesApiFp = function(configuration) {
|
|
380
|
+
const localVarAxiosParamCreator = AiResponsesApiAxiosParamCreator(configuration);
|
|
381
|
+
return {
|
|
382
|
+
/**
|
|
383
|
+
* AiResponses Create
|
|
384
|
+
* @summary AiResponses Create
|
|
385
|
+
* @param {APIAiResponseCreate} aPIAiResponseCreate
|
|
386
|
+
* @param {*} [options] Override http request option.
|
|
387
|
+
* @throws {RequiredError}
|
|
388
|
+
*/
|
|
389
|
+
async aiResponsesCreate(aPIAiResponseCreate, options) {
|
|
390
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.aiResponsesCreate(aPIAiResponseCreate, options);
|
|
391
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _6 => _6.serverIndex]), () => ( 0));
|
|
392
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _7 => _7["AiResponsesApi.aiResponsesCreate"], 'optionalAccess', _8 => _8[localVarOperationServerIndex], 'optionalAccess', _9 => _9.url]);
|
|
393
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
394
|
+
}
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
var AiResponsesApiFactory = function(configuration, basePath, axios) {
|
|
398
|
+
const localVarFp = AiResponsesApiFp(configuration);
|
|
399
|
+
return {
|
|
400
|
+
/**
|
|
401
|
+
* AiResponses Create
|
|
402
|
+
* @summary AiResponses Create
|
|
403
|
+
* @param {APIAiResponseCreate} aPIAiResponseCreate
|
|
404
|
+
* @param {*} [options] Override http request option.
|
|
405
|
+
* @throws {RequiredError}
|
|
406
|
+
*/
|
|
407
|
+
aiResponsesCreate(aPIAiResponseCreate, options) {
|
|
408
|
+
return localVarFp.aiResponsesCreate(aPIAiResponseCreate, options).then((request) => request(axios, basePath));
|
|
409
|
+
}
|
|
410
|
+
};
|
|
411
|
+
};
|
|
412
|
+
var AiResponsesApi = class extends BaseAPI {
|
|
413
|
+
/**
|
|
414
|
+
* AiResponses Create
|
|
415
|
+
* @summary AiResponses Create
|
|
416
|
+
* @param {APIAiResponseCreate} aPIAiResponseCreate
|
|
417
|
+
* @param {*} [options] Override http request option.
|
|
418
|
+
* @throws {RequiredError}
|
|
419
|
+
* @memberof AiResponsesApi
|
|
420
|
+
*/
|
|
421
|
+
aiResponsesCreate(aPIAiResponseCreate, options) {
|
|
422
|
+
return AiResponsesApiFp(this.configuration).aiResponsesCreate(aPIAiResponseCreate, options).then((request) => request(this.axios, this.basePath));
|
|
423
|
+
}
|
|
424
|
+
};
|
|
324
425
|
var AuthApiAxiosParamCreator = function(configuration) {
|
|
325
426
|
return {
|
|
326
427
|
/**
|
|
@@ -360,8 +461,8 @@ var AuthApiFp = function(configuration) {
|
|
|
360
461
|
*/
|
|
361
462
|
async getMe(options) {
|
|
362
463
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getMe(options);
|
|
363
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
364
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
464
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _10 => _10.serverIndex]), () => ( 0));
|
|
465
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _11 => _11["AuthApi.getMe"], 'optionalAccess', _12 => _12[localVarOperationServerIndex], 'optionalAccess', _13 => _13.url]);
|
|
365
466
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
366
467
|
}
|
|
367
468
|
};
|
|
@@ -999,8 +1100,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
999
1100
|
*/
|
|
1000
1101
|
async addressesCreate(contactId, aPIAddressCreate, options) {
|
|
1001
1102
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, aPIAddressCreate, options);
|
|
1002
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1003
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1103
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _14 => _14.serverIndex]), () => ( 0));
|
|
1104
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _15 => _15["ContactsApi.addressesCreate"], 'optionalAccess', _16 => _16[localVarOperationServerIndex], 'optionalAccess', _17 => _17.url]);
|
|
1004
1105
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1005
1106
|
},
|
|
1006
1107
|
/**
|
|
@@ -1012,8 +1113,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1012
1113
|
*/
|
|
1013
1114
|
async addressesDelete(addressId, options) {
|
|
1014
1115
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesDelete(addressId, options);
|
|
1015
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1016
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1116
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _18 => _18.serverIndex]), () => ( 0));
|
|
1117
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _19 => _19["ContactsApi.addressesDelete"], 'optionalAccess', _20 => _20[localVarOperationServerIndex], 'optionalAccess', _21 => _21.url]);
|
|
1017
1118
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1018
1119
|
},
|
|
1019
1120
|
/**
|
|
@@ -1025,8 +1126,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1025
1126
|
*/
|
|
1026
1127
|
async addressesGet(addressId, options) {
|
|
1027
1128
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesGet(addressId, options);
|
|
1028
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1029
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1129
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _22 => _22.serverIndex]), () => ( 0));
|
|
1130
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _23 => _23["ContactsApi.addressesGet"], 'optionalAccess', _24 => _24[localVarOperationServerIndex], 'optionalAccess', _25 => _25.url]);
|
|
1030
1131
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1031
1132
|
},
|
|
1032
1133
|
/**
|
|
@@ -1039,8 +1140,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1039
1140
|
*/
|
|
1040
1141
|
async addressesUpdate(addressId, aPIAddressUpdate, options) {
|
|
1041
1142
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, aPIAddressUpdate, options);
|
|
1042
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1043
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1143
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _26 => _26.serverIndex]), () => ( 0));
|
|
1144
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _27 => _27["ContactsApi.addressesUpdate"], 'optionalAccess', _28 => _28[localVarOperationServerIndex], 'optionalAccess', _29 => _29.url]);
|
|
1044
1145
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1045
1146
|
},
|
|
1046
1147
|
/**
|
|
@@ -1054,8 +1155,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1054
1155
|
*/
|
|
1055
1156
|
async contactsAddListing(contactId, listingId, createContactListing, options) {
|
|
1056
1157
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsAddListing(contactId, listingId, createContactListing, options);
|
|
1057
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1058
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1158
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _30 => _30.serverIndex]), () => ( 0));
|
|
1159
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _31 => _31["ContactsApi.contactsAddListing"], 'optionalAccess', _32 => _32[localVarOperationServerIndex], 'optionalAccess', _33 => _33.url]);
|
|
1059
1160
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1060
1161
|
},
|
|
1061
1162
|
/**
|
|
@@ -1067,8 +1168,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1067
1168
|
*/
|
|
1068
1169
|
async contactsCreate(contactcreate, options) {
|
|
1069
1170
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsCreate(contactcreate, options);
|
|
1070
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1071
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1171
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _34 => _34.serverIndex]), () => ( 0));
|
|
1172
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _35 => _35["ContactsApi.contactsCreate"], 'optionalAccess', _36 => _36[localVarOperationServerIndex], 'optionalAccess', _37 => _37.url]);
|
|
1072
1173
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1073
1174
|
},
|
|
1074
1175
|
/**
|
|
@@ -1080,8 +1181,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1080
1181
|
*/
|
|
1081
1182
|
async contactsDelete(contactId, options) {
|
|
1082
1183
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsDelete(contactId, options);
|
|
1083
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1084
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1184
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _38 => _38.serverIndex]), () => ( 0));
|
|
1185
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _39 => _39["ContactsApi.contactsDelete"], 'optionalAccess', _40 => _40[localVarOperationServerIndex], 'optionalAccess', _41 => _41.url]);
|
|
1085
1186
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1086
1187
|
},
|
|
1087
1188
|
/**
|
|
@@ -1093,8 +1194,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1093
1194
|
*/
|
|
1094
1195
|
async contactsGet(contactId, options) {
|
|
1095
1196
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsGet(contactId, options);
|
|
1096
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1097
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1197
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _42 => _42.serverIndex]), () => ( 0));
|
|
1198
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _43 => _43["ContactsApi.contactsGet"], 'optionalAccess', _44 => _44[localVarOperationServerIndex], 'optionalAccess', _45 => _45.url]);
|
|
1098
1199
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1099
1200
|
},
|
|
1100
1201
|
/**
|
|
@@ -1111,8 +1212,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1111
1212
|
*/
|
|
1112
1213
|
async contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1113
1214
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
1114
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1115
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1215
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _46 => _46.serverIndex]), () => ( 0));
|
|
1216
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _47 => _47["ContactsApi.contactsList"], 'optionalAccess', _48 => _48[localVarOperationServerIndex], 'optionalAccess', _49 => _49.url]);
|
|
1116
1217
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1117
1218
|
},
|
|
1118
1219
|
/**
|
|
@@ -1126,8 +1227,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1126
1227
|
*/
|
|
1127
1228
|
async contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
|
|
1128
1229
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsRemoveListing(contactId, listingId, deleteContactListing, options);
|
|
1129
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1130
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1230
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _50 => _50.serverIndex]), () => ( 0));
|
|
1231
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _51 => _51["ContactsApi.contactsRemoveListing"], 'optionalAccess', _52 => _52[localVarOperationServerIndex], 'optionalAccess', _53 => _53.url]);
|
|
1131
1232
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1132
1233
|
},
|
|
1133
1234
|
/**
|
|
@@ -1140,8 +1241,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1140
1241
|
*/
|
|
1141
1242
|
async contactsUpdate(contactId, aPIContactUpdate, options) {
|
|
1142
1243
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdate(contactId, aPIContactUpdate, options);
|
|
1143
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1144
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1244
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _54 => _54.serverIndex]), () => ( 0));
|
|
1245
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _55 => _55["ContactsApi.contactsUpdate"], 'optionalAccess', _56 => _56[localVarOperationServerIndex], 'optionalAccess', _57 => _57.url]);
|
|
1145
1246
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1146
1247
|
},
|
|
1147
1248
|
/**
|
|
@@ -1155,8 +1256,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1155
1256
|
*/
|
|
1156
1257
|
async contactsUpdateListing(contactId, listingId, updateContactListing, options) {
|
|
1157
1258
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdateListing(contactId, listingId, updateContactListing, options);
|
|
1158
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1159
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1259
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _58 => _58.serverIndex]), () => ( 0));
|
|
1260
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _59 => _59["ContactsApi.contactsUpdateListing"], 'optionalAccess', _60 => _60[localVarOperationServerIndex], 'optionalAccess', _61 => _61.url]);
|
|
1160
1261
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1161
1262
|
},
|
|
1162
1263
|
/**
|
|
@@ -1169,8 +1270,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1169
1270
|
*/
|
|
1170
1271
|
async emailsCreate(contactId, aPIEmailCreate, options) {
|
|
1171
1272
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, aPIEmailCreate, options);
|
|
1172
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1173
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1273
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _62 => _62.serverIndex]), () => ( 0));
|
|
1274
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _63 => _63["ContactsApi.emailsCreate"], 'optionalAccess', _64 => _64[localVarOperationServerIndex], 'optionalAccess', _65 => _65.url]);
|
|
1174
1275
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1175
1276
|
},
|
|
1176
1277
|
/**
|
|
@@ -1182,8 +1283,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1182
1283
|
*/
|
|
1183
1284
|
async emailsDelete(emailId, options) {
|
|
1184
1285
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
1185
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1186
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1286
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _66 => _66.serverIndex]), () => ( 0));
|
|
1287
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _67 => _67["ContactsApi.emailsDelete"], 'optionalAccess', _68 => _68[localVarOperationServerIndex], 'optionalAccess', _69 => _69.url]);
|
|
1187
1288
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1188
1289
|
},
|
|
1189
1290
|
/**
|
|
@@ -1195,8 +1296,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1195
1296
|
*/
|
|
1196
1297
|
async emailsGet(emailId, options) {
|
|
1197
1298
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsGet(emailId, options);
|
|
1198
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1199
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1299
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _70 => _70.serverIndex]), () => ( 0));
|
|
1300
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _71 => _71["ContactsApi.emailsGet"], 'optionalAccess', _72 => _72[localVarOperationServerIndex], 'optionalAccess', _73 => _73.url]);
|
|
1200
1301
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1201
1302
|
},
|
|
1202
1303
|
/**
|
|
@@ -1209,8 +1310,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1209
1310
|
*/
|
|
1210
1311
|
async emailsUpdate(emailId, aPIEmailUpdate, options) {
|
|
1211
1312
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsUpdate(emailId, aPIEmailUpdate, options);
|
|
1212
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1213
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1313
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _74 => _74.serverIndex]), () => ( 0));
|
|
1314
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _75 => _75["ContactsApi.emailsUpdate"], 'optionalAccess', _76 => _76[localVarOperationServerIndex], 'optionalAccess', _77 => _77.url]);
|
|
1214
1315
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1215
1316
|
},
|
|
1216
1317
|
/**
|
|
@@ -1223,8 +1324,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1223
1324
|
*/
|
|
1224
1325
|
async phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
1225
1326
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, aPIPhoneCreate, options);
|
|
1226
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1227
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1327
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _78 => _78.serverIndex]), () => ( 0));
|
|
1328
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _79 => _79["ContactsApi.phonesCreate"], 'optionalAccess', _80 => _80[localVarOperationServerIndex], 'optionalAccess', _81 => _81.url]);
|
|
1228
1329
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1229
1330
|
},
|
|
1230
1331
|
/**
|
|
@@ -1236,8 +1337,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1236
1337
|
*/
|
|
1237
1338
|
async phonesDelete(phoneId, options) {
|
|
1238
1339
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
1239
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1240
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1340
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _82 => _82.serverIndex]), () => ( 0));
|
|
1341
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _83 => _83["ContactsApi.phonesDelete"], 'optionalAccess', _84 => _84[localVarOperationServerIndex], 'optionalAccess', _85 => _85.url]);
|
|
1241
1342
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1242
1343
|
},
|
|
1243
1344
|
/**
|
|
@@ -1249,8 +1350,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1249
1350
|
*/
|
|
1250
1351
|
async phonesGet(phoneId, options) {
|
|
1251
1352
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesGet(phoneId, options);
|
|
1252
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1253
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1353
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _86 => _86.serverIndex]), () => ( 0));
|
|
1354
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _87 => _87["ContactsApi.phonesGet"], 'optionalAccess', _88 => _88[localVarOperationServerIndex], 'optionalAccess', _89 => _89.url]);
|
|
1254
1355
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1255
1356
|
},
|
|
1256
1357
|
/**
|
|
@@ -1263,8 +1364,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1263
1364
|
*/
|
|
1264
1365
|
async phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
1265
1366
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesUpdate(phoneId, aPIPhoneUpdate, options);
|
|
1266
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1267
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1367
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _90 => _90.serverIndex]), () => ( 0));
|
|
1368
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _91 => _91["ContactsApi.phonesUpdate"], 'optionalAccess', _92 => _92[localVarOperationServerIndex], 'optionalAccess', _93 => _93.url]);
|
|
1268
1369
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1269
1370
|
}
|
|
1270
1371
|
};
|
|
@@ -1873,8 +1974,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1873
1974
|
*/
|
|
1874
1975
|
async messagesCreate(conversationId, messagecreate, options) {
|
|
1875
1976
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, messagecreate, options);
|
|
1876
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1877
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1977
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _94 => _94.serverIndex]), () => ( 0));
|
|
1978
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _95 => _95["ConversationsApi.messagesCreate"], 'optionalAccess', _96 => _96[localVarOperationServerIndex], 'optionalAccess', _97 => _97.url]);
|
|
1878
1979
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1879
1980
|
},
|
|
1880
1981
|
/**
|
|
@@ -1886,8 +1987,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1886
1987
|
*/
|
|
1887
1988
|
async messagesGet(messageId, options) {
|
|
1888
1989
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
1889
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1890
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
1990
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _98 => _98.serverIndex]), () => ( 0));
|
|
1991
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _99 => _99["ConversationsApi.messagesGet"], 'optionalAccess', _100 => _100[localVarOperationServerIndex], 'optionalAccess', _101 => _101.url]);
|
|
1891
1992
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1892
1993
|
},
|
|
1893
1994
|
/**
|
|
@@ -1909,8 +2010,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1909
2010
|
*/
|
|
1910
2011
|
async messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1911
2012
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
1912
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1913
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2013
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _102 => _102.serverIndex]), () => ( 0));
|
|
2014
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _103 => _103["ConversationsApi.messagesList"], 'optionalAccess', _104 => _104[localVarOperationServerIndex], 'optionalAccess', _105 => _105.url]);
|
|
1914
2015
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1915
2016
|
}
|
|
1916
2017
|
};
|
|
@@ -2052,8 +2153,8 @@ var HostawayApiFp = function(configuration) {
|
|
|
2052
2153
|
*/
|
|
2053
2154
|
async webhook(body, options) {
|
|
2054
2155
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(body, options);
|
|
2055
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2056
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2156
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _106 => _106.serverIndex]), () => ( 0));
|
|
2157
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _107 => _107["HostawayApi.webhook"], 'optionalAccess', _108 => _108[localVarOperationServerIndex], 'optionalAccess', _109 => _109.url]);
|
|
2057
2158
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2058
2159
|
}
|
|
2059
2160
|
};
|
|
@@ -2269,8 +2370,8 @@ var InboxesApiFp = function(configuration) {
|
|
|
2269
2370
|
*/
|
|
2270
2371
|
async conversationsCreate(inboxId, aPIConversationCreate, options) {
|
|
2271
2372
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsCreate(inboxId, aPIConversationCreate, options);
|
|
2272
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2273
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2373
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _110 => _110.serverIndex]), () => ( 0));
|
|
2374
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _111 => _111["InboxesApi.conversationsCreate"], 'optionalAccess', _112 => _112[localVarOperationServerIndex], 'optionalAccess', _113 => _113.url]);
|
|
2274
2375
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2275
2376
|
},
|
|
2276
2377
|
/**
|
|
@@ -2282,8 +2383,8 @@ var InboxesApiFp = function(configuration) {
|
|
|
2282
2383
|
*/
|
|
2283
2384
|
async conversationsGet(conversationId, options) {
|
|
2284
2385
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsGet(conversationId, options);
|
|
2285
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2286
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2386
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _114 => _114.serverIndex]), () => ( 0));
|
|
2387
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _115 => _115["InboxesApi.conversationsGet"], 'optionalAccess', _116 => _116[localVarOperationServerIndex], 'optionalAccess', _117 => _117.url]);
|
|
2287
2388
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2288
2389
|
},
|
|
2289
2390
|
/**
|
|
@@ -2302,8 +2403,8 @@ var InboxesApiFp = function(configuration) {
|
|
|
2302
2403
|
*/
|
|
2303
2404
|
async conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
2304
2405
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options);
|
|
2305
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2306
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2406
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _118 => _118.serverIndex]), () => ( 0));
|
|
2407
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _119 => _119["InboxesApi.conversationsList"], 'optionalAccess', _120 => _120[localVarOperationServerIndex], 'optionalAccess', _121 => _121.url]);
|
|
2307
2408
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2308
2409
|
},
|
|
2309
2410
|
/**
|
|
@@ -2316,8 +2417,8 @@ var InboxesApiFp = function(configuration) {
|
|
|
2316
2417
|
*/
|
|
2317
2418
|
async conversationsUpdate(conversationId, aPIConversationUpdate, options) {
|
|
2318
2419
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsUpdate(conversationId, aPIConversationUpdate, options);
|
|
2319
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2320
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2420
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _122 => _122.serverIndex]), () => ( 0));
|
|
2421
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _123 => _123["InboxesApi.conversationsUpdate"], 'optionalAccess', _124 => _124[localVarOperationServerIndex], 'optionalAccess', _125 => _125.url]);
|
|
2321
2422
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2322
2423
|
},
|
|
2323
2424
|
/**
|
|
@@ -2328,8 +2429,8 @@ var InboxesApiFp = function(configuration) {
|
|
|
2328
2429
|
*/
|
|
2329
2430
|
async inboxesList(options) {
|
|
2330
2431
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inboxesList(options);
|
|
2331
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2332
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2432
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _126 => _126.serverIndex]), () => ( 0));
|
|
2433
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _127 => _127["InboxesApi.inboxesList"], 'optionalAccess', _128 => _128[localVarOperationServerIndex], 'optionalAccess', _129 => _129.url]);
|
|
2333
2434
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2334
2435
|
}
|
|
2335
2436
|
};
|
|
@@ -2506,8 +2607,8 @@ var InquiriesApiFp = function(configuration) {
|
|
|
2506
2607
|
*/
|
|
2507
2608
|
async inquiriesList(contactId, options) {
|
|
2508
2609
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
2509
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2510
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
2610
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _130 => _130.serverIndex]), () => ( 0));
|
|
2611
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _131 => _131["InquiriesApi.inquiriesList"], 'optionalAccess', _132 => _132[localVarOperationServerIndex], 'optionalAccess', _133 => _133.url]);
|
|
2511
2612
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2512
2613
|
}
|
|
2513
2614
|
};
|
|
@@ -2540,148 +2641,1063 @@ var InquiriesApi = class extends BaseAPI {
|
|
|
2540
2641
|
return InquiriesApiFp(this.configuration).inquiriesList(contactId, options).then((request) => request(this.axios, this.basePath));
|
|
2541
2642
|
}
|
|
2542
2643
|
};
|
|
2543
|
-
var
|
|
2644
|
+
var ListingContentApiAxiosParamCreator = function(configuration) {
|
|
2544
2645
|
return {
|
|
2545
2646
|
/**
|
|
2546
|
-
*
|
|
2547
|
-
* @summary
|
|
2647
|
+
* Returns a signed URL for uploading a file directly to storage. Workflow: 1. Call this endpoint to obtain an upload URL and canonical file_url. 2. Perform the upload to storage using upload_url and upload_method. 3. Call POST/PATCH with listing_content_type_data.listing_content_type=\"file\" and the provided file_url (plus file_name, file_size, mime_type).
|
|
2648
|
+
* @summary Generate Listing Content Upload Url
|
|
2548
2649
|
* @param {string} listingId
|
|
2650
|
+
* @param {UploadURLRequest} uploadURLRequest
|
|
2549
2651
|
* @param {*} [options] Override http request option.
|
|
2550
2652
|
* @throws {RequiredError}
|
|
2551
2653
|
*/
|
|
2552
|
-
|
|
2553
|
-
assertParamExists("
|
|
2554
|
-
|
|
2654
|
+
generateListingContentUploadURL: async (listingId, uploadURLRequest, options = {}) => {
|
|
2655
|
+
assertParamExists("generateListingContentUploadURL", "listingId", listingId);
|
|
2656
|
+
assertParamExists("generateListingContentUploadURL", "uploadURLRequest", uploadURLRequest);
|
|
2657
|
+
const localVarPath = `/v1/listings/{listing_id}/listing_content/upload-url`.replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId)));
|
|
2555
2658
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2556
2659
|
let baseOptions;
|
|
2557
2660
|
if (configuration) {
|
|
2558
2661
|
baseOptions = configuration.baseOptions;
|
|
2559
2662
|
}
|
|
2560
|
-
const localVarRequestOptions = { method: "
|
|
2663
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2561
2664
|
const localVarHeaderParameter = {};
|
|
2562
2665
|
const localVarQueryParameter = {};
|
|
2666
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2563
2667
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2564
2668
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2565
2669
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2670
|
+
localVarRequestOptions.data = serializeDataIfNeeded(uploadURLRequest, localVarRequestOptions, configuration);
|
|
2566
2671
|
return {
|
|
2567
2672
|
url: toPathString(localVarUrlObj),
|
|
2568
2673
|
options: localVarRequestOptions
|
|
2569
2674
|
};
|
|
2570
2675
|
},
|
|
2571
2676
|
/**
|
|
2572
|
-
*
|
|
2573
|
-
* @summary
|
|
2574
|
-
* @param {string
|
|
2575
|
-
* @param {
|
|
2576
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2577
|
-
* @param {number} [limit]
|
|
2578
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2579
|
-
* @param {SrcResourceModelsListingsModelListingBaseSortBy} [sortBy] Sort key
|
|
2580
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2677
|
+
* ListingContent Create
|
|
2678
|
+
* @summary ListingContent Create
|
|
2679
|
+
* @param {string} listingId
|
|
2680
|
+
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
2581
2681
|
* @param {*} [options] Override http request option.
|
|
2582
2682
|
* @throws {RequiredError}
|
|
2583
2683
|
*/
|
|
2584
|
-
|
|
2585
|
-
|
|
2684
|
+
listingContentCreate: async (listingId, aPIListingContentCreate, options = {}) => {
|
|
2685
|
+
assertParamExists("listingContentCreate", "listingId", listingId);
|
|
2686
|
+
assertParamExists("listingContentCreate", "aPIListingContentCreate", aPIListingContentCreate);
|
|
2687
|
+
const localVarPath = `/v1/listings/{listingId}/listingContent`.replace(`{${"listingId"}}`, encodeURIComponent(String(listingId)));
|
|
2586
2688
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2587
2689
|
let baseOptions;
|
|
2588
2690
|
if (configuration) {
|
|
2589
2691
|
baseOptions = configuration.baseOptions;
|
|
2590
2692
|
}
|
|
2591
|
-
const localVarRequestOptions = { method: "
|
|
2693
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2592
2694
|
const localVarHeaderParameter = {};
|
|
2593
2695
|
const localVarQueryParameter = {};
|
|
2594
|
-
|
|
2595
|
-
localVarQueryParameter["searchString"] = searchString;
|
|
2596
|
-
}
|
|
2597
|
-
if (contactId !== void 0) {
|
|
2598
|
-
localVarQueryParameter["contactId"] = contactId;
|
|
2599
|
-
}
|
|
2600
|
-
if (cursor !== void 0) {
|
|
2601
|
-
localVarQueryParameter["cursor"] = cursor;
|
|
2602
|
-
}
|
|
2603
|
-
if (limit !== void 0) {
|
|
2604
|
-
localVarQueryParameter["limit"] = limit;
|
|
2605
|
-
}
|
|
2606
|
-
if (pageDir !== void 0) {
|
|
2607
|
-
localVarQueryParameter["pageDir"] = pageDir;
|
|
2608
|
-
}
|
|
2609
|
-
if (sortBy !== void 0) {
|
|
2610
|
-
localVarQueryParameter["sortBy"] = sortBy;
|
|
2611
|
-
}
|
|
2612
|
-
if (sortOrder !== void 0) {
|
|
2613
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
2614
|
-
}
|
|
2696
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2615
2697
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2616
2698
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2617
2699
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2700
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIListingContentCreate, localVarRequestOptions, configuration);
|
|
2618
2701
|
return {
|
|
2619
2702
|
url: toPathString(localVarUrlObj),
|
|
2620
2703
|
options: localVarRequestOptions
|
|
2621
2704
|
};
|
|
2622
|
-
}
|
|
2623
|
-
};
|
|
2624
|
-
};
|
|
2625
|
-
var ListingsApiFp = function(configuration) {
|
|
2626
|
-
const localVarAxiosParamCreator = ListingsApiAxiosParamCreator(configuration);
|
|
2627
|
-
return {
|
|
2705
|
+
},
|
|
2628
2706
|
/**
|
|
2629
|
-
*
|
|
2630
|
-
* @summary
|
|
2631
|
-
* @param {string}
|
|
2707
|
+
* ListingContent Delete
|
|
2708
|
+
* @summary ListingContent Delete
|
|
2709
|
+
* @param {string} listingContentId
|
|
2632
2710
|
* @param {*} [options] Override http request option.
|
|
2633
2711
|
* @throws {RequiredError}
|
|
2634
2712
|
*/
|
|
2635
|
-
async
|
|
2636
|
-
|
|
2637
|
-
const
|
|
2638
|
-
const
|
|
2639
|
-
|
|
2713
|
+
listingContentDelete: async (listingContentId, options = {}) => {
|
|
2714
|
+
assertParamExists("listingContentDelete", "listingContentId", listingContentId);
|
|
2715
|
+
const localVarPath = `/v1/listingContent/{listingContentId}`.replace(`{${"listingContentId"}}`, encodeURIComponent(String(listingContentId)));
|
|
2716
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2717
|
+
let baseOptions;
|
|
2718
|
+
if (configuration) {
|
|
2719
|
+
baseOptions = configuration.baseOptions;
|
|
2720
|
+
}
|
|
2721
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2722
|
+
const localVarHeaderParameter = {};
|
|
2723
|
+
const localVarQueryParameter = {};
|
|
2724
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2725
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2726
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2727
|
+
return {
|
|
2728
|
+
url: toPathString(localVarUrlObj),
|
|
2729
|
+
options: localVarRequestOptions
|
|
2730
|
+
};
|
|
2640
2731
|
},
|
|
2641
2732
|
/**
|
|
2642
|
-
*
|
|
2643
|
-
* @summary
|
|
2644
|
-
* @param {string
|
|
2645
|
-
* @param {string | null} [contactId]
|
|
2646
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2647
|
-
* @param {number} [limit]
|
|
2648
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2649
|
-
* @param {SrcResourceModelsListingsModelListingBaseSortBy} [sortBy] Sort key
|
|
2650
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2733
|
+
* ListingContent Get
|
|
2734
|
+
* @summary ListingContent Get
|
|
2735
|
+
* @param {string} listingContentId
|
|
2651
2736
|
* @param {*} [options] Override http request option.
|
|
2652
2737
|
* @throws {RequiredError}
|
|
2653
2738
|
*/
|
|
2654
|
-
async
|
|
2655
|
-
|
|
2656
|
-
const
|
|
2657
|
-
const
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
}
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2739
|
+
listingContentGet: async (listingContentId, options = {}) => {
|
|
2740
|
+
assertParamExists("listingContentGet", "listingContentId", listingContentId);
|
|
2741
|
+
const localVarPath = `/v1/listingContent/{listingContentId}`.replace(`{${"listingContentId"}}`, encodeURIComponent(String(listingContentId)));
|
|
2742
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2743
|
+
let baseOptions;
|
|
2744
|
+
if (configuration) {
|
|
2745
|
+
baseOptions = configuration.baseOptions;
|
|
2746
|
+
}
|
|
2747
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2748
|
+
const localVarHeaderParameter = {};
|
|
2749
|
+
const localVarQueryParameter = {};
|
|
2750
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2751
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2752
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2753
|
+
return {
|
|
2754
|
+
url: toPathString(localVarUrlObj),
|
|
2755
|
+
options: localVarRequestOptions
|
|
2756
|
+
};
|
|
2757
|
+
},
|
|
2665
2758
|
/**
|
|
2666
|
-
*
|
|
2667
|
-
* @summary
|
|
2668
|
-
* @param {string} listingId
|
|
2759
|
+
* ListingContent List
|
|
2760
|
+
* @summary ListingContent List
|
|
2761
|
+
* @param {string} [listingId]
|
|
2762
|
+
* @param {string} [status] Filter by status: active, deleted, or all
|
|
2669
2763
|
* @param {*} [options] Override http request option.
|
|
2670
2764
|
* @throws {RequiredError}
|
|
2671
2765
|
*/
|
|
2672
|
-
|
|
2673
|
-
|
|
2766
|
+
listingContentList: async (listingId, status, options = {}) => {
|
|
2767
|
+
const localVarPath = `/v1/listingContent`;
|
|
2768
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2769
|
+
let baseOptions;
|
|
2770
|
+
if (configuration) {
|
|
2771
|
+
baseOptions = configuration.baseOptions;
|
|
2772
|
+
}
|
|
2773
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2774
|
+
const localVarHeaderParameter = {};
|
|
2775
|
+
const localVarQueryParameter = {};
|
|
2776
|
+
if (listingId !== void 0) {
|
|
2777
|
+
localVarQueryParameter["listingId"] = listingId;
|
|
2778
|
+
}
|
|
2779
|
+
if (status !== void 0) {
|
|
2780
|
+
localVarQueryParameter["status"] = status;
|
|
2781
|
+
}
|
|
2782
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2783
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2784
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2785
|
+
return {
|
|
2786
|
+
url: toPathString(localVarUrlObj),
|
|
2787
|
+
options: localVarRequestOptions
|
|
2788
|
+
};
|
|
2674
2789
|
},
|
|
2675
2790
|
/**
|
|
2676
|
-
*
|
|
2677
|
-
* @summary
|
|
2678
|
-
* @param {string
|
|
2679
|
-
* @param {
|
|
2680
|
-
* @param {
|
|
2681
|
-
* @
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2791
|
+
* ListingContent Update
|
|
2792
|
+
* @summary ListingContent Update
|
|
2793
|
+
* @param {string} listingContentId
|
|
2794
|
+
* @param {APIListingContentUpdate} aPIListingContentUpdate
|
|
2795
|
+
* @param {*} [options] Override http request option.
|
|
2796
|
+
* @throws {RequiredError}
|
|
2797
|
+
*/
|
|
2798
|
+
listingContentUpdate: async (listingContentId, aPIListingContentUpdate, options = {}) => {
|
|
2799
|
+
assertParamExists("listingContentUpdate", "listingContentId", listingContentId);
|
|
2800
|
+
assertParamExists("listingContentUpdate", "aPIListingContentUpdate", aPIListingContentUpdate);
|
|
2801
|
+
const localVarPath = `/v1/listingContent/{listingContentId}`.replace(`{${"listingContentId"}}`, encodeURIComponent(String(listingContentId)));
|
|
2802
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2803
|
+
let baseOptions;
|
|
2804
|
+
if (configuration) {
|
|
2805
|
+
baseOptions = configuration.baseOptions;
|
|
2806
|
+
}
|
|
2807
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
2808
|
+
const localVarHeaderParameter = {};
|
|
2809
|
+
const localVarQueryParameter = {};
|
|
2810
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2811
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2812
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2813
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2814
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIListingContentUpdate, localVarRequestOptions, configuration);
|
|
2815
|
+
return {
|
|
2816
|
+
url: toPathString(localVarUrlObj),
|
|
2817
|
+
options: localVarRequestOptions
|
|
2818
|
+
};
|
|
2819
|
+
},
|
|
2820
|
+
/**
|
|
2821
|
+
* ListingContentVersions Get
|
|
2822
|
+
* @summary ListingContentVersions Get
|
|
2823
|
+
* @param {string} listingContentVersionId
|
|
2824
|
+
* @param {*} [options] Override http request option.
|
|
2825
|
+
* @throws {RequiredError}
|
|
2826
|
+
*/
|
|
2827
|
+
listingContentVersionsGet: async (listingContentVersionId, options = {}) => {
|
|
2828
|
+
assertParamExists("listingContentVersionsGet", "listingContentVersionId", listingContentVersionId);
|
|
2829
|
+
const localVarPath = `/v1/listingContentVersions/{listingContentVersionId}`.replace(`{${"listingContentVersionId"}}`, encodeURIComponent(String(listingContentVersionId)));
|
|
2830
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2831
|
+
let baseOptions;
|
|
2832
|
+
if (configuration) {
|
|
2833
|
+
baseOptions = configuration.baseOptions;
|
|
2834
|
+
}
|
|
2835
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2836
|
+
const localVarHeaderParameter = {};
|
|
2837
|
+
const localVarQueryParameter = {};
|
|
2838
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2839
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2840
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2841
|
+
return {
|
|
2842
|
+
url: toPathString(localVarUrlObj),
|
|
2843
|
+
options: localVarRequestOptions
|
|
2844
|
+
};
|
|
2845
|
+
},
|
|
2846
|
+
/**
|
|
2847
|
+
* ListingContentVersions Get
|
|
2848
|
+
* @summary ListingContentVersions Get
|
|
2849
|
+
* @param {string} listingContentVersionId
|
|
2850
|
+
* @param {*} [options] Override http request option.
|
|
2851
|
+
* @throws {RequiredError}
|
|
2852
|
+
*/
|
|
2853
|
+
listingContentVersionsGet_1: async (listingContentVersionId, options = {}) => {
|
|
2854
|
+
assertParamExists("listingContentVersionsGet_1", "listingContentVersionId", listingContentVersionId);
|
|
2855
|
+
const localVarPath = `/v1/listingContentVersions/{listingContentVersionId}`.replace(`{${"listingContentVersionId"}}`, encodeURIComponent(String(listingContentVersionId)));
|
|
2856
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2857
|
+
let baseOptions;
|
|
2858
|
+
if (configuration) {
|
|
2859
|
+
baseOptions = configuration.baseOptions;
|
|
2860
|
+
}
|
|
2861
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2862
|
+
const localVarHeaderParameter = {};
|
|
2863
|
+
const localVarQueryParameter = {};
|
|
2864
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2865
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2866
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2867
|
+
return {
|
|
2868
|
+
url: toPathString(localVarUrlObj),
|
|
2869
|
+
options: localVarRequestOptions
|
|
2870
|
+
};
|
|
2871
|
+
},
|
|
2872
|
+
/**
|
|
2873
|
+
* ListingContentVersions List
|
|
2874
|
+
* @summary ListingContentVersions List
|
|
2875
|
+
* @param {string} [listingContentId]
|
|
2876
|
+
* @param {*} [options] Override http request option.
|
|
2877
|
+
* @throws {RequiredError}
|
|
2878
|
+
*/
|
|
2879
|
+
listingContentVersionsList: async (listingContentId, options = {}) => {
|
|
2880
|
+
const localVarPath = `/v1/listingContentVersions`;
|
|
2881
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2882
|
+
let baseOptions;
|
|
2883
|
+
if (configuration) {
|
|
2884
|
+
baseOptions = configuration.baseOptions;
|
|
2885
|
+
}
|
|
2886
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2887
|
+
const localVarHeaderParameter = {};
|
|
2888
|
+
const localVarQueryParameter = {};
|
|
2889
|
+
if (listingContentId !== void 0) {
|
|
2890
|
+
localVarQueryParameter["listingContentId"] = listingContentId;
|
|
2891
|
+
}
|
|
2892
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2893
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2894
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2895
|
+
return {
|
|
2896
|
+
url: toPathString(localVarUrlObj),
|
|
2897
|
+
options: localVarRequestOptions
|
|
2898
|
+
};
|
|
2899
|
+
},
|
|
2900
|
+
/**
|
|
2901
|
+
* ListingContentVersions List
|
|
2902
|
+
* @summary ListingContentVersions List
|
|
2903
|
+
* @param {string} [listingContentId]
|
|
2904
|
+
* @param {*} [options] Override http request option.
|
|
2905
|
+
* @throws {RequiredError}
|
|
2906
|
+
*/
|
|
2907
|
+
listingContentVersionsList_2: async (listingContentId, options = {}) => {
|
|
2908
|
+
const localVarPath = `/v1/listingContentVersions`;
|
|
2909
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2910
|
+
let baseOptions;
|
|
2911
|
+
if (configuration) {
|
|
2912
|
+
baseOptions = configuration.baseOptions;
|
|
2913
|
+
}
|
|
2914
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2915
|
+
const localVarHeaderParameter = {};
|
|
2916
|
+
const localVarQueryParameter = {};
|
|
2917
|
+
if (listingContentId !== void 0) {
|
|
2918
|
+
localVarQueryParameter["listingContentId"] = listingContentId;
|
|
2919
|
+
}
|
|
2920
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2921
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2922
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2923
|
+
return {
|
|
2924
|
+
url: toPathString(localVarUrlObj),
|
|
2925
|
+
options: localVarRequestOptions
|
|
2926
|
+
};
|
|
2927
|
+
}
|
|
2928
|
+
};
|
|
2929
|
+
};
|
|
2930
|
+
var ListingContentApiFp = function(configuration) {
|
|
2931
|
+
const localVarAxiosParamCreator = ListingContentApiAxiosParamCreator(configuration);
|
|
2932
|
+
return {
|
|
2933
|
+
/**
|
|
2934
|
+
* Returns a signed URL for uploading a file directly to storage. Workflow: 1. Call this endpoint to obtain an upload URL and canonical file_url. 2. Perform the upload to storage using upload_url and upload_method. 3. Call POST/PATCH with listing_content_type_data.listing_content_type=\"file\" and the provided file_url (plus file_name, file_size, mime_type).
|
|
2935
|
+
* @summary Generate Listing Content Upload Url
|
|
2936
|
+
* @param {string} listingId
|
|
2937
|
+
* @param {UploadURLRequest} uploadURLRequest
|
|
2938
|
+
* @param {*} [options] Override http request option.
|
|
2939
|
+
* @throws {RequiredError}
|
|
2940
|
+
*/
|
|
2941
|
+
async generateListingContentUploadURL(listingId, uploadURLRequest, options) {
|
|
2942
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.generateListingContentUploadURL(listingId, uploadURLRequest, options);
|
|
2943
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _134 => _134.serverIndex]), () => ( 0));
|
|
2944
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _135 => _135["ListingContentApi.generateListingContentUploadURL"], 'optionalAccess', _136 => _136[localVarOperationServerIndex], 'optionalAccess', _137 => _137.url]);
|
|
2945
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2946
|
+
},
|
|
2947
|
+
/**
|
|
2948
|
+
* ListingContent Create
|
|
2949
|
+
* @summary ListingContent Create
|
|
2950
|
+
* @param {string} listingId
|
|
2951
|
+
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
2952
|
+
* @param {*} [options] Override http request option.
|
|
2953
|
+
* @throws {RequiredError}
|
|
2954
|
+
*/
|
|
2955
|
+
async listingContentCreate(listingId, aPIListingContentCreate, options) {
|
|
2956
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentCreate(listingId, aPIListingContentCreate, options);
|
|
2957
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _138 => _138.serverIndex]), () => ( 0));
|
|
2958
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _139 => _139["ListingContentApi.listingContentCreate"], 'optionalAccess', _140 => _140[localVarOperationServerIndex], 'optionalAccess', _141 => _141.url]);
|
|
2959
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2960
|
+
},
|
|
2961
|
+
/**
|
|
2962
|
+
* ListingContent Delete
|
|
2963
|
+
* @summary ListingContent Delete
|
|
2964
|
+
* @param {string} listingContentId
|
|
2965
|
+
* @param {*} [options] Override http request option.
|
|
2966
|
+
* @throws {RequiredError}
|
|
2967
|
+
*/
|
|
2968
|
+
async listingContentDelete(listingContentId, options) {
|
|
2969
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentDelete(listingContentId, options);
|
|
2970
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _142 => _142.serverIndex]), () => ( 0));
|
|
2971
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _143 => _143["ListingContentApi.listingContentDelete"], 'optionalAccess', _144 => _144[localVarOperationServerIndex], 'optionalAccess', _145 => _145.url]);
|
|
2972
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2973
|
+
},
|
|
2974
|
+
/**
|
|
2975
|
+
* ListingContent Get
|
|
2976
|
+
* @summary ListingContent Get
|
|
2977
|
+
* @param {string} listingContentId
|
|
2978
|
+
* @param {*} [options] Override http request option.
|
|
2979
|
+
* @throws {RequiredError}
|
|
2980
|
+
*/
|
|
2981
|
+
async listingContentGet(listingContentId, options) {
|
|
2982
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentGet(listingContentId, options);
|
|
2983
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _146 => _146.serverIndex]), () => ( 0));
|
|
2984
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _147 => _147["ListingContentApi.listingContentGet"], 'optionalAccess', _148 => _148[localVarOperationServerIndex], 'optionalAccess', _149 => _149.url]);
|
|
2985
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2986
|
+
},
|
|
2987
|
+
/**
|
|
2988
|
+
* ListingContent List
|
|
2989
|
+
* @summary ListingContent List
|
|
2990
|
+
* @param {string} [listingId]
|
|
2991
|
+
* @param {string} [status] Filter by status: active, deleted, or all
|
|
2992
|
+
* @param {*} [options] Override http request option.
|
|
2993
|
+
* @throws {RequiredError}
|
|
2994
|
+
*/
|
|
2995
|
+
async listingContentList(listingId, status, options) {
|
|
2996
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentList(listingId, status, options);
|
|
2997
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _150 => _150.serverIndex]), () => ( 0));
|
|
2998
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _151 => _151["ListingContentApi.listingContentList"], 'optionalAccess', _152 => _152[localVarOperationServerIndex], 'optionalAccess', _153 => _153.url]);
|
|
2999
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3000
|
+
},
|
|
3001
|
+
/**
|
|
3002
|
+
* ListingContent Update
|
|
3003
|
+
* @summary ListingContent Update
|
|
3004
|
+
* @param {string} listingContentId
|
|
3005
|
+
* @param {APIListingContentUpdate} aPIListingContentUpdate
|
|
3006
|
+
* @param {*} [options] Override http request option.
|
|
3007
|
+
* @throws {RequiredError}
|
|
3008
|
+
*/
|
|
3009
|
+
async listingContentUpdate(listingContentId, aPIListingContentUpdate, options) {
|
|
3010
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentUpdate(listingContentId, aPIListingContentUpdate, options);
|
|
3011
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _154 => _154.serverIndex]), () => ( 0));
|
|
3012
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _155 => _155["ListingContentApi.listingContentUpdate"], 'optionalAccess', _156 => _156[localVarOperationServerIndex], 'optionalAccess', _157 => _157.url]);
|
|
3013
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3014
|
+
},
|
|
3015
|
+
/**
|
|
3016
|
+
* ListingContentVersions Get
|
|
3017
|
+
* @summary ListingContentVersions Get
|
|
3018
|
+
* @param {string} listingContentVersionId
|
|
3019
|
+
* @param {*} [options] Override http request option.
|
|
3020
|
+
* @throws {RequiredError}
|
|
3021
|
+
*/
|
|
3022
|
+
async listingContentVersionsGet(listingContentVersionId, options) {
|
|
3023
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentVersionsGet(listingContentVersionId, options);
|
|
3024
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _158 => _158.serverIndex]), () => ( 0));
|
|
3025
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _159 => _159["ListingContentApi.listingContentVersionsGet"], 'optionalAccess', _160 => _160[localVarOperationServerIndex], 'optionalAccess', _161 => _161.url]);
|
|
3026
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3027
|
+
},
|
|
3028
|
+
/**
|
|
3029
|
+
* ListingContentVersions Get
|
|
3030
|
+
* @summary ListingContentVersions Get
|
|
3031
|
+
* @param {string} listingContentVersionId
|
|
3032
|
+
* @param {*} [options] Override http request option.
|
|
3033
|
+
* @throws {RequiredError}
|
|
3034
|
+
*/
|
|
3035
|
+
async listingContentVersionsGet_1(listingContentVersionId, options) {
|
|
3036
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentVersionsGet_1(listingContentVersionId, options);
|
|
3037
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _162 => _162.serverIndex]), () => ( 0));
|
|
3038
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _163 => _163["ListingContentApi.listingContentVersionsGet_1"], 'optionalAccess', _164 => _164[localVarOperationServerIndex], 'optionalAccess', _165 => _165.url]);
|
|
3039
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3040
|
+
},
|
|
3041
|
+
/**
|
|
3042
|
+
* ListingContentVersions List
|
|
3043
|
+
* @summary ListingContentVersions List
|
|
3044
|
+
* @param {string} [listingContentId]
|
|
3045
|
+
* @param {*} [options] Override http request option.
|
|
3046
|
+
* @throws {RequiredError}
|
|
3047
|
+
*/
|
|
3048
|
+
async listingContentVersionsList(listingContentId, options) {
|
|
3049
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentVersionsList(listingContentId, options);
|
|
3050
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _166 => _166.serverIndex]), () => ( 0));
|
|
3051
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _167 => _167["ListingContentApi.listingContentVersionsList"], 'optionalAccess', _168 => _168[localVarOperationServerIndex], 'optionalAccess', _169 => _169.url]);
|
|
3052
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3053
|
+
},
|
|
3054
|
+
/**
|
|
3055
|
+
* ListingContentVersions List
|
|
3056
|
+
* @summary ListingContentVersions List
|
|
3057
|
+
* @param {string} [listingContentId]
|
|
3058
|
+
* @param {*} [options] Override http request option.
|
|
3059
|
+
* @throws {RequiredError}
|
|
3060
|
+
*/
|
|
3061
|
+
async listingContentVersionsList_2(listingContentId, options) {
|
|
3062
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentVersionsList_2(listingContentId, options);
|
|
3063
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _170 => _170.serverIndex]), () => ( 0));
|
|
3064
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _171 => _171["ListingContentApi.listingContentVersionsList_2"], 'optionalAccess', _172 => _172[localVarOperationServerIndex], 'optionalAccess', _173 => _173.url]);
|
|
3065
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3066
|
+
}
|
|
3067
|
+
};
|
|
3068
|
+
};
|
|
3069
|
+
var ListingContentApiFactory = function(configuration, basePath, axios) {
|
|
3070
|
+
const localVarFp = ListingContentApiFp(configuration);
|
|
3071
|
+
return {
|
|
3072
|
+
/**
|
|
3073
|
+
* Returns a signed URL for uploading a file directly to storage. Workflow: 1. Call this endpoint to obtain an upload URL and canonical file_url. 2. Perform the upload to storage using upload_url and upload_method. 3. Call POST/PATCH with listing_content_type_data.listing_content_type=\"file\" and the provided file_url (plus file_name, file_size, mime_type).
|
|
3074
|
+
* @summary Generate Listing Content Upload Url
|
|
3075
|
+
* @param {string} listingId
|
|
3076
|
+
* @param {UploadURLRequest} uploadURLRequest
|
|
3077
|
+
* @param {*} [options] Override http request option.
|
|
3078
|
+
* @throws {RequiredError}
|
|
3079
|
+
*/
|
|
3080
|
+
generateListingContentUploadURL(listingId, uploadURLRequest, options) {
|
|
3081
|
+
return localVarFp.generateListingContentUploadURL(listingId, uploadURLRequest, options).then((request) => request(axios, basePath));
|
|
3082
|
+
},
|
|
3083
|
+
/**
|
|
3084
|
+
* ListingContent Create
|
|
3085
|
+
* @summary ListingContent Create
|
|
3086
|
+
* @param {string} listingId
|
|
3087
|
+
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
3088
|
+
* @param {*} [options] Override http request option.
|
|
3089
|
+
* @throws {RequiredError}
|
|
3090
|
+
*/
|
|
3091
|
+
listingContentCreate(listingId, aPIListingContentCreate, options) {
|
|
3092
|
+
return localVarFp.listingContentCreate(listingId, aPIListingContentCreate, options).then((request) => request(axios, basePath));
|
|
3093
|
+
},
|
|
3094
|
+
/**
|
|
3095
|
+
* ListingContent Delete
|
|
3096
|
+
* @summary ListingContent Delete
|
|
3097
|
+
* @param {string} listingContentId
|
|
3098
|
+
* @param {*} [options] Override http request option.
|
|
3099
|
+
* @throws {RequiredError}
|
|
3100
|
+
*/
|
|
3101
|
+
listingContentDelete(listingContentId, options) {
|
|
3102
|
+
return localVarFp.listingContentDelete(listingContentId, options).then((request) => request(axios, basePath));
|
|
3103
|
+
},
|
|
3104
|
+
/**
|
|
3105
|
+
* ListingContent Get
|
|
3106
|
+
* @summary ListingContent Get
|
|
3107
|
+
* @param {string} listingContentId
|
|
3108
|
+
* @param {*} [options] Override http request option.
|
|
3109
|
+
* @throws {RequiredError}
|
|
3110
|
+
*/
|
|
3111
|
+
listingContentGet(listingContentId, options) {
|
|
3112
|
+
return localVarFp.listingContentGet(listingContentId, options).then((request) => request(axios, basePath));
|
|
3113
|
+
},
|
|
3114
|
+
/**
|
|
3115
|
+
* ListingContent List
|
|
3116
|
+
* @summary ListingContent List
|
|
3117
|
+
* @param {string} [listingId]
|
|
3118
|
+
* @param {string} [status] Filter by status: active, deleted, or all
|
|
3119
|
+
* @param {*} [options] Override http request option.
|
|
3120
|
+
* @throws {RequiredError}
|
|
3121
|
+
*/
|
|
3122
|
+
listingContentList(listingId, status, options) {
|
|
3123
|
+
return localVarFp.listingContentList(listingId, status, options).then((request) => request(axios, basePath));
|
|
3124
|
+
},
|
|
3125
|
+
/**
|
|
3126
|
+
* ListingContent Update
|
|
3127
|
+
* @summary ListingContent Update
|
|
3128
|
+
* @param {string} listingContentId
|
|
3129
|
+
* @param {APIListingContentUpdate} aPIListingContentUpdate
|
|
3130
|
+
* @param {*} [options] Override http request option.
|
|
3131
|
+
* @throws {RequiredError}
|
|
3132
|
+
*/
|
|
3133
|
+
listingContentUpdate(listingContentId, aPIListingContentUpdate, options) {
|
|
3134
|
+
return localVarFp.listingContentUpdate(listingContentId, aPIListingContentUpdate, options).then((request) => request(axios, basePath));
|
|
3135
|
+
},
|
|
3136
|
+
/**
|
|
3137
|
+
* ListingContentVersions Get
|
|
3138
|
+
* @summary ListingContentVersions Get
|
|
3139
|
+
* @param {string} listingContentVersionId
|
|
3140
|
+
* @param {*} [options] Override http request option.
|
|
3141
|
+
* @throws {RequiredError}
|
|
3142
|
+
*/
|
|
3143
|
+
listingContentVersionsGet(listingContentVersionId, options) {
|
|
3144
|
+
return localVarFp.listingContentVersionsGet(listingContentVersionId, options).then((request) => request(axios, basePath));
|
|
3145
|
+
},
|
|
3146
|
+
/**
|
|
3147
|
+
* ListingContentVersions Get
|
|
3148
|
+
* @summary ListingContentVersions Get
|
|
3149
|
+
* @param {string} listingContentVersionId
|
|
3150
|
+
* @param {*} [options] Override http request option.
|
|
3151
|
+
* @throws {RequiredError}
|
|
3152
|
+
*/
|
|
3153
|
+
listingContentVersionsGet_1(listingContentVersionId, options) {
|
|
3154
|
+
return localVarFp.listingContentVersionsGet_1(listingContentVersionId, options).then((request) => request(axios, basePath));
|
|
3155
|
+
},
|
|
3156
|
+
/**
|
|
3157
|
+
* ListingContentVersions List
|
|
3158
|
+
* @summary ListingContentVersions List
|
|
3159
|
+
* @param {string} [listingContentId]
|
|
3160
|
+
* @param {*} [options] Override http request option.
|
|
3161
|
+
* @throws {RequiredError}
|
|
3162
|
+
*/
|
|
3163
|
+
listingContentVersionsList(listingContentId, options) {
|
|
3164
|
+
return localVarFp.listingContentVersionsList(listingContentId, options).then((request) => request(axios, basePath));
|
|
3165
|
+
},
|
|
3166
|
+
/**
|
|
3167
|
+
* ListingContentVersions List
|
|
3168
|
+
* @summary ListingContentVersions List
|
|
3169
|
+
* @param {string} [listingContentId]
|
|
3170
|
+
* @param {*} [options] Override http request option.
|
|
3171
|
+
* @throws {RequiredError}
|
|
3172
|
+
*/
|
|
3173
|
+
listingContentVersionsList_2(listingContentId, options) {
|
|
3174
|
+
return localVarFp.listingContentVersionsList_2(listingContentId, options).then((request) => request(axios, basePath));
|
|
3175
|
+
}
|
|
3176
|
+
};
|
|
3177
|
+
};
|
|
3178
|
+
var ListingContentApi = class extends BaseAPI {
|
|
3179
|
+
/**
|
|
3180
|
+
* Returns a signed URL for uploading a file directly to storage. Workflow: 1. Call this endpoint to obtain an upload URL and canonical file_url. 2. Perform the upload to storage using upload_url and upload_method. 3. Call POST/PATCH with listing_content_type_data.listing_content_type=\"file\" and the provided file_url (plus file_name, file_size, mime_type).
|
|
3181
|
+
* @summary Generate Listing Content Upload Url
|
|
3182
|
+
* @param {string} listingId
|
|
3183
|
+
* @param {UploadURLRequest} uploadURLRequest
|
|
3184
|
+
* @param {*} [options] Override http request option.
|
|
3185
|
+
* @throws {RequiredError}
|
|
3186
|
+
* @memberof ListingContentApi
|
|
3187
|
+
*/
|
|
3188
|
+
generateListingContentUploadURL(listingId, uploadURLRequest, options) {
|
|
3189
|
+
return ListingContentApiFp(this.configuration).generateListingContentUploadURL(listingId, uploadURLRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3190
|
+
}
|
|
3191
|
+
/**
|
|
3192
|
+
* ListingContent Create
|
|
3193
|
+
* @summary ListingContent Create
|
|
3194
|
+
* @param {string} listingId
|
|
3195
|
+
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
3196
|
+
* @param {*} [options] Override http request option.
|
|
3197
|
+
* @throws {RequiredError}
|
|
3198
|
+
* @memberof ListingContentApi
|
|
3199
|
+
*/
|
|
3200
|
+
listingContentCreate(listingId, aPIListingContentCreate, options) {
|
|
3201
|
+
return ListingContentApiFp(this.configuration).listingContentCreate(listingId, aPIListingContentCreate, options).then((request) => request(this.axios, this.basePath));
|
|
3202
|
+
}
|
|
3203
|
+
/**
|
|
3204
|
+
* ListingContent Delete
|
|
3205
|
+
* @summary ListingContent Delete
|
|
3206
|
+
* @param {string} listingContentId
|
|
3207
|
+
* @param {*} [options] Override http request option.
|
|
3208
|
+
* @throws {RequiredError}
|
|
3209
|
+
* @memberof ListingContentApi
|
|
3210
|
+
*/
|
|
3211
|
+
listingContentDelete(listingContentId, options) {
|
|
3212
|
+
return ListingContentApiFp(this.configuration).listingContentDelete(listingContentId, options).then((request) => request(this.axios, this.basePath));
|
|
3213
|
+
}
|
|
3214
|
+
/**
|
|
3215
|
+
* ListingContent Get
|
|
3216
|
+
* @summary ListingContent Get
|
|
3217
|
+
* @param {string} listingContentId
|
|
3218
|
+
* @param {*} [options] Override http request option.
|
|
3219
|
+
* @throws {RequiredError}
|
|
3220
|
+
* @memberof ListingContentApi
|
|
3221
|
+
*/
|
|
3222
|
+
listingContentGet(listingContentId, options) {
|
|
3223
|
+
return ListingContentApiFp(this.configuration).listingContentGet(listingContentId, options).then((request) => request(this.axios, this.basePath));
|
|
3224
|
+
}
|
|
3225
|
+
/**
|
|
3226
|
+
* ListingContent List
|
|
3227
|
+
* @summary ListingContent List
|
|
3228
|
+
* @param {string} [listingId]
|
|
3229
|
+
* @param {string} [status] Filter by status: active, deleted, or all
|
|
3230
|
+
* @param {*} [options] Override http request option.
|
|
3231
|
+
* @throws {RequiredError}
|
|
3232
|
+
* @memberof ListingContentApi
|
|
3233
|
+
*/
|
|
3234
|
+
listingContentList(listingId, status, options) {
|
|
3235
|
+
return ListingContentApiFp(this.configuration).listingContentList(listingId, status, options).then((request) => request(this.axios, this.basePath));
|
|
3236
|
+
}
|
|
3237
|
+
/**
|
|
3238
|
+
* ListingContent Update
|
|
3239
|
+
* @summary ListingContent Update
|
|
3240
|
+
* @param {string} listingContentId
|
|
3241
|
+
* @param {APIListingContentUpdate} aPIListingContentUpdate
|
|
3242
|
+
* @param {*} [options] Override http request option.
|
|
3243
|
+
* @throws {RequiredError}
|
|
3244
|
+
* @memberof ListingContentApi
|
|
3245
|
+
*/
|
|
3246
|
+
listingContentUpdate(listingContentId, aPIListingContentUpdate, options) {
|
|
3247
|
+
return ListingContentApiFp(this.configuration).listingContentUpdate(listingContentId, aPIListingContentUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
3248
|
+
}
|
|
3249
|
+
/**
|
|
3250
|
+
* ListingContentVersions Get
|
|
3251
|
+
* @summary ListingContentVersions Get
|
|
3252
|
+
* @param {string} listingContentVersionId
|
|
3253
|
+
* @param {*} [options] Override http request option.
|
|
3254
|
+
* @throws {RequiredError}
|
|
3255
|
+
* @memberof ListingContentApi
|
|
3256
|
+
*/
|
|
3257
|
+
listingContentVersionsGet(listingContentVersionId, options) {
|
|
3258
|
+
return ListingContentApiFp(this.configuration).listingContentVersionsGet(listingContentVersionId, options).then((request) => request(this.axios, this.basePath));
|
|
3259
|
+
}
|
|
3260
|
+
/**
|
|
3261
|
+
* ListingContentVersions Get
|
|
3262
|
+
* @summary ListingContentVersions Get
|
|
3263
|
+
* @param {string} listingContentVersionId
|
|
3264
|
+
* @param {*} [options] Override http request option.
|
|
3265
|
+
* @throws {RequiredError}
|
|
3266
|
+
* @memberof ListingContentApi
|
|
3267
|
+
*/
|
|
3268
|
+
listingContentVersionsGet_1(listingContentVersionId, options) {
|
|
3269
|
+
return ListingContentApiFp(this.configuration).listingContentVersionsGet_1(listingContentVersionId, options).then((request) => request(this.axios, this.basePath));
|
|
3270
|
+
}
|
|
3271
|
+
/**
|
|
3272
|
+
* ListingContentVersions List
|
|
3273
|
+
* @summary ListingContentVersions List
|
|
3274
|
+
* @param {string} [listingContentId]
|
|
3275
|
+
* @param {*} [options] Override http request option.
|
|
3276
|
+
* @throws {RequiredError}
|
|
3277
|
+
* @memberof ListingContentApi
|
|
3278
|
+
*/
|
|
3279
|
+
listingContentVersionsList(listingContentId, options) {
|
|
3280
|
+
return ListingContentApiFp(this.configuration).listingContentVersionsList(listingContentId, options).then((request) => request(this.axios, this.basePath));
|
|
3281
|
+
}
|
|
3282
|
+
/**
|
|
3283
|
+
* ListingContentVersions List
|
|
3284
|
+
* @summary ListingContentVersions List
|
|
3285
|
+
* @param {string} [listingContentId]
|
|
3286
|
+
* @param {*} [options] Override http request option.
|
|
3287
|
+
* @throws {RequiredError}
|
|
3288
|
+
* @memberof ListingContentApi
|
|
3289
|
+
*/
|
|
3290
|
+
listingContentVersionsList_2(listingContentId, options) {
|
|
3291
|
+
return ListingContentApiFp(this.configuration).listingContentVersionsList_2(listingContentId, options).then((request) => request(this.axios, this.basePath));
|
|
3292
|
+
}
|
|
3293
|
+
};
|
|
3294
|
+
var ListingsApiAxiosParamCreator = function(configuration) {
|
|
3295
|
+
return {
|
|
3296
|
+
/**
|
|
3297
|
+
* ListingContent Create
|
|
3298
|
+
* @summary ListingContent Create
|
|
3299
|
+
* @param {string} listingId
|
|
3300
|
+
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
3301
|
+
* @param {*} [options] Override http request option.
|
|
3302
|
+
* @throws {RequiredError}
|
|
3303
|
+
*/
|
|
3304
|
+
listingContentCreate: async (listingId, aPIListingContentCreate, options = {}) => {
|
|
3305
|
+
assertParamExists("listingContentCreate", "listingId", listingId);
|
|
3306
|
+
assertParamExists("listingContentCreate", "aPIListingContentCreate", aPIListingContentCreate);
|
|
3307
|
+
const localVarPath = `/v1/listings/{listingId}/listingContent`.replace(`{${"listingId"}}`, encodeURIComponent(String(listingId)));
|
|
3308
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3309
|
+
let baseOptions;
|
|
3310
|
+
if (configuration) {
|
|
3311
|
+
baseOptions = configuration.baseOptions;
|
|
3312
|
+
}
|
|
3313
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3314
|
+
const localVarHeaderParameter = {};
|
|
3315
|
+
const localVarQueryParameter = {};
|
|
3316
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3317
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3318
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3319
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3320
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIListingContentCreate, localVarRequestOptions, configuration);
|
|
3321
|
+
return {
|
|
3322
|
+
url: toPathString(localVarUrlObj),
|
|
3323
|
+
options: localVarRequestOptions
|
|
3324
|
+
};
|
|
3325
|
+
},
|
|
3326
|
+
/**
|
|
3327
|
+
* ListingContent Delete
|
|
3328
|
+
* @summary ListingContent Delete
|
|
3329
|
+
* @param {string} listingContentId
|
|
3330
|
+
* @param {*} [options] Override http request option.
|
|
3331
|
+
* @throws {RequiredError}
|
|
3332
|
+
*/
|
|
3333
|
+
listingContentDelete: async (listingContentId, options = {}) => {
|
|
3334
|
+
assertParamExists("listingContentDelete", "listingContentId", listingContentId);
|
|
3335
|
+
const localVarPath = `/v1/listingContent/{listingContentId}`.replace(`{${"listingContentId"}}`, encodeURIComponent(String(listingContentId)));
|
|
3336
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3337
|
+
let baseOptions;
|
|
3338
|
+
if (configuration) {
|
|
3339
|
+
baseOptions = configuration.baseOptions;
|
|
3340
|
+
}
|
|
3341
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3342
|
+
const localVarHeaderParameter = {};
|
|
3343
|
+
const localVarQueryParameter = {};
|
|
3344
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3345
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3346
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3347
|
+
return {
|
|
3348
|
+
url: toPathString(localVarUrlObj),
|
|
3349
|
+
options: localVarRequestOptions
|
|
3350
|
+
};
|
|
3351
|
+
},
|
|
3352
|
+
/**
|
|
3353
|
+
* ListingContent Get
|
|
3354
|
+
* @summary ListingContent Get
|
|
3355
|
+
* @param {string} listingContentId
|
|
3356
|
+
* @param {*} [options] Override http request option.
|
|
3357
|
+
* @throws {RequiredError}
|
|
3358
|
+
*/
|
|
3359
|
+
listingContentGet: async (listingContentId, options = {}) => {
|
|
3360
|
+
assertParamExists("listingContentGet", "listingContentId", listingContentId);
|
|
3361
|
+
const localVarPath = `/v1/listingContent/{listingContentId}`.replace(`{${"listingContentId"}}`, encodeURIComponent(String(listingContentId)));
|
|
3362
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3363
|
+
let baseOptions;
|
|
3364
|
+
if (configuration) {
|
|
3365
|
+
baseOptions = configuration.baseOptions;
|
|
3366
|
+
}
|
|
3367
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3368
|
+
const localVarHeaderParameter = {};
|
|
3369
|
+
const localVarQueryParameter = {};
|
|
3370
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3371
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3372
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3373
|
+
return {
|
|
3374
|
+
url: toPathString(localVarUrlObj),
|
|
3375
|
+
options: localVarRequestOptions
|
|
3376
|
+
};
|
|
3377
|
+
},
|
|
3378
|
+
/**
|
|
3379
|
+
* ListingContent List
|
|
3380
|
+
* @summary ListingContent List
|
|
3381
|
+
* @param {string} [listingId]
|
|
3382
|
+
* @param {string} [status] Filter by status: active, deleted, or all
|
|
3383
|
+
* @param {*} [options] Override http request option.
|
|
3384
|
+
* @throws {RequiredError}
|
|
3385
|
+
*/
|
|
3386
|
+
listingContentList: async (listingId, status, options = {}) => {
|
|
3387
|
+
const localVarPath = `/v1/listingContent`;
|
|
3388
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3389
|
+
let baseOptions;
|
|
3390
|
+
if (configuration) {
|
|
3391
|
+
baseOptions = configuration.baseOptions;
|
|
3392
|
+
}
|
|
3393
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3394
|
+
const localVarHeaderParameter = {};
|
|
3395
|
+
const localVarQueryParameter = {};
|
|
3396
|
+
if (listingId !== void 0) {
|
|
3397
|
+
localVarQueryParameter["listingId"] = listingId;
|
|
3398
|
+
}
|
|
3399
|
+
if (status !== void 0) {
|
|
3400
|
+
localVarQueryParameter["status"] = status;
|
|
3401
|
+
}
|
|
3402
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3403
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3404
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3405
|
+
return {
|
|
3406
|
+
url: toPathString(localVarUrlObj),
|
|
3407
|
+
options: localVarRequestOptions
|
|
3408
|
+
};
|
|
3409
|
+
},
|
|
3410
|
+
/**
|
|
3411
|
+
* ListingContent Update
|
|
3412
|
+
* @summary ListingContent Update
|
|
3413
|
+
* @param {string} listingContentId
|
|
3414
|
+
* @param {APIListingContentUpdate} aPIListingContentUpdate
|
|
3415
|
+
* @param {*} [options] Override http request option.
|
|
3416
|
+
* @throws {RequiredError}
|
|
3417
|
+
*/
|
|
3418
|
+
listingContentUpdate: async (listingContentId, aPIListingContentUpdate, options = {}) => {
|
|
3419
|
+
assertParamExists("listingContentUpdate", "listingContentId", listingContentId);
|
|
3420
|
+
assertParamExists("listingContentUpdate", "aPIListingContentUpdate", aPIListingContentUpdate);
|
|
3421
|
+
const localVarPath = `/v1/listingContent/{listingContentId}`.replace(`{${"listingContentId"}}`, encodeURIComponent(String(listingContentId)));
|
|
3422
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3423
|
+
let baseOptions;
|
|
3424
|
+
if (configuration) {
|
|
3425
|
+
baseOptions = configuration.baseOptions;
|
|
3426
|
+
}
|
|
3427
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
3428
|
+
const localVarHeaderParameter = {};
|
|
3429
|
+
const localVarQueryParameter = {};
|
|
3430
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3431
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3432
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3433
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3434
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIListingContentUpdate, localVarRequestOptions, configuration);
|
|
3435
|
+
return {
|
|
3436
|
+
url: toPathString(localVarUrlObj),
|
|
3437
|
+
options: localVarRequestOptions
|
|
3438
|
+
};
|
|
3439
|
+
},
|
|
3440
|
+
/**
|
|
3441
|
+
* Listings Get
|
|
3442
|
+
* @summary Listings Get
|
|
3443
|
+
* @param {string} listingId
|
|
3444
|
+
* @param {*} [options] Override http request option.
|
|
3445
|
+
* @throws {RequiredError}
|
|
3446
|
+
*/
|
|
3447
|
+
listingsGet: async (listingId, options = {}) => {
|
|
3448
|
+
assertParamExists("listingsGet", "listingId", listingId);
|
|
3449
|
+
const localVarPath = `/v1/listings/{listingId}`.replace(`{${"listingId"}}`, encodeURIComponent(String(listingId)));
|
|
3450
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3451
|
+
let baseOptions;
|
|
3452
|
+
if (configuration) {
|
|
3453
|
+
baseOptions = configuration.baseOptions;
|
|
3454
|
+
}
|
|
3455
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3456
|
+
const localVarHeaderParameter = {};
|
|
3457
|
+
const localVarQueryParameter = {};
|
|
3458
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3459
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3460
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3461
|
+
return {
|
|
3462
|
+
url: toPathString(localVarUrlObj),
|
|
3463
|
+
options: localVarRequestOptions
|
|
3464
|
+
};
|
|
3465
|
+
},
|
|
3466
|
+
/**
|
|
3467
|
+
* Listings List
|
|
3468
|
+
* @summary Listings List
|
|
3469
|
+
* @param {string | null} [searchString]
|
|
3470
|
+
* @param {string | null} [contactId]
|
|
3471
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
3472
|
+
* @param {number} [limit]
|
|
3473
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
3474
|
+
* @param {SrcResourceModelsListingsModelListingBaseSortBy} [sortBy] Sort key
|
|
3475
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3476
|
+
* @param {*} [options] Override http request option.
|
|
3477
|
+
* @throws {RequiredError}
|
|
3478
|
+
*/
|
|
3479
|
+
listingsList: async (searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options = {}) => {
|
|
3480
|
+
const localVarPath = `/v1/listings`;
|
|
3481
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3482
|
+
let baseOptions;
|
|
3483
|
+
if (configuration) {
|
|
3484
|
+
baseOptions = configuration.baseOptions;
|
|
3485
|
+
}
|
|
3486
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3487
|
+
const localVarHeaderParameter = {};
|
|
3488
|
+
const localVarQueryParameter = {};
|
|
3489
|
+
if (searchString !== void 0) {
|
|
3490
|
+
localVarQueryParameter["searchString"] = searchString;
|
|
3491
|
+
}
|
|
3492
|
+
if (contactId !== void 0) {
|
|
3493
|
+
localVarQueryParameter["contactId"] = contactId;
|
|
3494
|
+
}
|
|
3495
|
+
if (cursor !== void 0) {
|
|
3496
|
+
localVarQueryParameter["cursor"] = cursor;
|
|
3497
|
+
}
|
|
3498
|
+
if (limit !== void 0) {
|
|
3499
|
+
localVarQueryParameter["limit"] = limit;
|
|
3500
|
+
}
|
|
3501
|
+
if (pageDir !== void 0) {
|
|
3502
|
+
localVarQueryParameter["pageDir"] = pageDir;
|
|
3503
|
+
}
|
|
3504
|
+
if (sortBy !== void 0) {
|
|
3505
|
+
localVarQueryParameter["sortBy"] = sortBy;
|
|
3506
|
+
}
|
|
3507
|
+
if (sortOrder !== void 0) {
|
|
3508
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
3509
|
+
}
|
|
3510
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3511
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3512
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3513
|
+
return {
|
|
3514
|
+
url: toPathString(localVarUrlObj),
|
|
3515
|
+
options: localVarRequestOptions
|
|
3516
|
+
};
|
|
3517
|
+
}
|
|
3518
|
+
};
|
|
3519
|
+
};
|
|
3520
|
+
var ListingsApiFp = function(configuration) {
|
|
3521
|
+
const localVarAxiosParamCreator = ListingsApiAxiosParamCreator(configuration);
|
|
3522
|
+
return {
|
|
3523
|
+
/**
|
|
3524
|
+
* ListingContent Create
|
|
3525
|
+
* @summary ListingContent Create
|
|
3526
|
+
* @param {string} listingId
|
|
3527
|
+
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
3528
|
+
* @param {*} [options] Override http request option.
|
|
3529
|
+
* @throws {RequiredError}
|
|
3530
|
+
*/
|
|
3531
|
+
async listingContentCreate(listingId, aPIListingContentCreate, options) {
|
|
3532
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentCreate(listingId, aPIListingContentCreate, options);
|
|
3533
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _174 => _174.serverIndex]), () => ( 0));
|
|
3534
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _175 => _175["ListingsApi.listingContentCreate"], 'optionalAccess', _176 => _176[localVarOperationServerIndex], 'optionalAccess', _177 => _177.url]);
|
|
3535
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3536
|
+
},
|
|
3537
|
+
/**
|
|
3538
|
+
* ListingContent Delete
|
|
3539
|
+
* @summary ListingContent Delete
|
|
3540
|
+
* @param {string} listingContentId
|
|
3541
|
+
* @param {*} [options] Override http request option.
|
|
3542
|
+
* @throws {RequiredError}
|
|
3543
|
+
*/
|
|
3544
|
+
async listingContentDelete(listingContentId, options) {
|
|
3545
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentDelete(listingContentId, options);
|
|
3546
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _178 => _178.serverIndex]), () => ( 0));
|
|
3547
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _179 => _179["ListingsApi.listingContentDelete"], 'optionalAccess', _180 => _180[localVarOperationServerIndex], 'optionalAccess', _181 => _181.url]);
|
|
3548
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3549
|
+
},
|
|
3550
|
+
/**
|
|
3551
|
+
* ListingContent Get
|
|
3552
|
+
* @summary ListingContent Get
|
|
3553
|
+
* @param {string} listingContentId
|
|
3554
|
+
* @param {*} [options] Override http request option.
|
|
3555
|
+
* @throws {RequiredError}
|
|
3556
|
+
*/
|
|
3557
|
+
async listingContentGet(listingContentId, options) {
|
|
3558
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentGet(listingContentId, options);
|
|
3559
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _182 => _182.serverIndex]), () => ( 0));
|
|
3560
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _183 => _183["ListingsApi.listingContentGet"], 'optionalAccess', _184 => _184[localVarOperationServerIndex], 'optionalAccess', _185 => _185.url]);
|
|
3561
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3562
|
+
},
|
|
3563
|
+
/**
|
|
3564
|
+
* ListingContent List
|
|
3565
|
+
* @summary ListingContent List
|
|
3566
|
+
* @param {string} [listingId]
|
|
3567
|
+
* @param {string} [status] Filter by status: active, deleted, or all
|
|
3568
|
+
* @param {*} [options] Override http request option.
|
|
3569
|
+
* @throws {RequiredError}
|
|
3570
|
+
*/
|
|
3571
|
+
async listingContentList(listingId, status, options) {
|
|
3572
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentList(listingId, status, options);
|
|
3573
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _186 => _186.serverIndex]), () => ( 0));
|
|
3574
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _187 => _187["ListingsApi.listingContentList"], 'optionalAccess', _188 => _188[localVarOperationServerIndex], 'optionalAccess', _189 => _189.url]);
|
|
3575
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3576
|
+
},
|
|
3577
|
+
/**
|
|
3578
|
+
* ListingContent Update
|
|
3579
|
+
* @summary ListingContent Update
|
|
3580
|
+
* @param {string} listingContentId
|
|
3581
|
+
* @param {APIListingContentUpdate} aPIListingContentUpdate
|
|
3582
|
+
* @param {*} [options] Override http request option.
|
|
3583
|
+
* @throws {RequiredError}
|
|
3584
|
+
*/
|
|
3585
|
+
async listingContentUpdate(listingContentId, aPIListingContentUpdate, options) {
|
|
3586
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentUpdate(listingContentId, aPIListingContentUpdate, options);
|
|
3587
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _190 => _190.serverIndex]), () => ( 0));
|
|
3588
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _191 => _191["ListingsApi.listingContentUpdate"], 'optionalAccess', _192 => _192[localVarOperationServerIndex], 'optionalAccess', _193 => _193.url]);
|
|
3589
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3590
|
+
},
|
|
3591
|
+
/**
|
|
3592
|
+
* Listings Get
|
|
3593
|
+
* @summary Listings Get
|
|
3594
|
+
* @param {string} listingId
|
|
3595
|
+
* @param {*} [options] Override http request option.
|
|
3596
|
+
* @throws {RequiredError}
|
|
3597
|
+
*/
|
|
3598
|
+
async listingsGet(listingId, options) {
|
|
3599
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
3600
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _194 => _194.serverIndex]), () => ( 0));
|
|
3601
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _195 => _195["ListingsApi.listingsGet"], 'optionalAccess', _196 => _196[localVarOperationServerIndex], 'optionalAccess', _197 => _197.url]);
|
|
3602
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3603
|
+
},
|
|
3604
|
+
/**
|
|
3605
|
+
* Listings List
|
|
3606
|
+
* @summary Listings List
|
|
3607
|
+
* @param {string | null} [searchString]
|
|
3608
|
+
* @param {string | null} [contactId]
|
|
3609
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
3610
|
+
* @param {number} [limit]
|
|
3611
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
3612
|
+
* @param {SrcResourceModelsListingsModelListingBaseSortBy} [sortBy] Sort key
|
|
3613
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3614
|
+
* @param {*} [options] Override http request option.
|
|
3615
|
+
* @throws {RequiredError}
|
|
3616
|
+
*/
|
|
3617
|
+
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
3618
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
3619
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _198 => _198.serverIndex]), () => ( 0));
|
|
3620
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _199 => _199["ListingsApi.listingsList"], 'optionalAccess', _200 => _200[localVarOperationServerIndex], 'optionalAccess', _201 => _201.url]);
|
|
3621
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3622
|
+
}
|
|
3623
|
+
};
|
|
3624
|
+
};
|
|
3625
|
+
var ListingsApiFactory = function(configuration, basePath, axios) {
|
|
3626
|
+
const localVarFp = ListingsApiFp(configuration);
|
|
3627
|
+
return {
|
|
3628
|
+
/**
|
|
3629
|
+
* ListingContent Create
|
|
3630
|
+
* @summary ListingContent Create
|
|
3631
|
+
* @param {string} listingId
|
|
3632
|
+
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
3633
|
+
* @param {*} [options] Override http request option.
|
|
3634
|
+
* @throws {RequiredError}
|
|
3635
|
+
*/
|
|
3636
|
+
listingContentCreate(listingId, aPIListingContentCreate, options) {
|
|
3637
|
+
return localVarFp.listingContentCreate(listingId, aPIListingContentCreate, options).then((request) => request(axios, basePath));
|
|
3638
|
+
},
|
|
3639
|
+
/**
|
|
3640
|
+
* ListingContent Delete
|
|
3641
|
+
* @summary ListingContent Delete
|
|
3642
|
+
* @param {string} listingContentId
|
|
3643
|
+
* @param {*} [options] Override http request option.
|
|
3644
|
+
* @throws {RequiredError}
|
|
3645
|
+
*/
|
|
3646
|
+
listingContentDelete(listingContentId, options) {
|
|
3647
|
+
return localVarFp.listingContentDelete(listingContentId, options).then((request) => request(axios, basePath));
|
|
3648
|
+
},
|
|
3649
|
+
/**
|
|
3650
|
+
* ListingContent Get
|
|
3651
|
+
* @summary ListingContent Get
|
|
3652
|
+
* @param {string} listingContentId
|
|
3653
|
+
* @param {*} [options] Override http request option.
|
|
3654
|
+
* @throws {RequiredError}
|
|
3655
|
+
*/
|
|
3656
|
+
listingContentGet(listingContentId, options) {
|
|
3657
|
+
return localVarFp.listingContentGet(listingContentId, options).then((request) => request(axios, basePath));
|
|
3658
|
+
},
|
|
3659
|
+
/**
|
|
3660
|
+
* ListingContent List
|
|
3661
|
+
* @summary ListingContent List
|
|
3662
|
+
* @param {string} [listingId]
|
|
3663
|
+
* @param {string} [status] Filter by status: active, deleted, or all
|
|
3664
|
+
* @param {*} [options] Override http request option.
|
|
3665
|
+
* @throws {RequiredError}
|
|
3666
|
+
*/
|
|
3667
|
+
listingContentList(listingId, status, options) {
|
|
3668
|
+
return localVarFp.listingContentList(listingId, status, options).then((request) => request(axios, basePath));
|
|
3669
|
+
},
|
|
3670
|
+
/**
|
|
3671
|
+
* ListingContent Update
|
|
3672
|
+
* @summary ListingContent Update
|
|
3673
|
+
* @param {string} listingContentId
|
|
3674
|
+
* @param {APIListingContentUpdate} aPIListingContentUpdate
|
|
3675
|
+
* @param {*} [options] Override http request option.
|
|
3676
|
+
* @throws {RequiredError}
|
|
3677
|
+
*/
|
|
3678
|
+
listingContentUpdate(listingContentId, aPIListingContentUpdate, options) {
|
|
3679
|
+
return localVarFp.listingContentUpdate(listingContentId, aPIListingContentUpdate, options).then((request) => request(axios, basePath));
|
|
3680
|
+
},
|
|
3681
|
+
/**
|
|
3682
|
+
* Listings Get
|
|
3683
|
+
* @summary Listings Get
|
|
3684
|
+
* @param {string} listingId
|
|
3685
|
+
* @param {*} [options] Override http request option.
|
|
3686
|
+
* @throws {RequiredError}
|
|
3687
|
+
*/
|
|
3688
|
+
listingsGet(listingId, options) {
|
|
3689
|
+
return localVarFp.listingsGet(listingId, options).then((request) => request(axios, basePath));
|
|
3690
|
+
},
|
|
3691
|
+
/**
|
|
3692
|
+
* Listings List
|
|
3693
|
+
* @summary Listings List
|
|
3694
|
+
* @param {string | null} [searchString]
|
|
3695
|
+
* @param {string | null} [contactId]
|
|
3696
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
3697
|
+
* @param {number} [limit]
|
|
3698
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
3699
|
+
* @param {SrcResourceModelsListingsModelListingBaseSortBy} [sortBy] Sort key
|
|
3700
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2685
3701
|
* @param {*} [options] Override http request option.
|
|
2686
3702
|
* @throws {RequiredError}
|
|
2687
3703
|
*/
|
|
@@ -2691,6 +3707,64 @@ var ListingsApiFactory = function(configuration, basePath, axios) {
|
|
|
2691
3707
|
};
|
|
2692
3708
|
};
|
|
2693
3709
|
var ListingsApi = class extends BaseAPI {
|
|
3710
|
+
/**
|
|
3711
|
+
* ListingContent Create
|
|
3712
|
+
* @summary ListingContent Create
|
|
3713
|
+
* @param {string} listingId
|
|
3714
|
+
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
3715
|
+
* @param {*} [options] Override http request option.
|
|
3716
|
+
* @throws {RequiredError}
|
|
3717
|
+
* @memberof ListingsApi
|
|
3718
|
+
*/
|
|
3719
|
+
listingContentCreate(listingId, aPIListingContentCreate, options) {
|
|
3720
|
+
return ListingsApiFp(this.configuration).listingContentCreate(listingId, aPIListingContentCreate, options).then((request) => request(this.axios, this.basePath));
|
|
3721
|
+
}
|
|
3722
|
+
/**
|
|
3723
|
+
* ListingContent Delete
|
|
3724
|
+
* @summary ListingContent Delete
|
|
3725
|
+
* @param {string} listingContentId
|
|
3726
|
+
* @param {*} [options] Override http request option.
|
|
3727
|
+
* @throws {RequiredError}
|
|
3728
|
+
* @memberof ListingsApi
|
|
3729
|
+
*/
|
|
3730
|
+
listingContentDelete(listingContentId, options) {
|
|
3731
|
+
return ListingsApiFp(this.configuration).listingContentDelete(listingContentId, options).then((request) => request(this.axios, this.basePath));
|
|
3732
|
+
}
|
|
3733
|
+
/**
|
|
3734
|
+
* ListingContent Get
|
|
3735
|
+
* @summary ListingContent Get
|
|
3736
|
+
* @param {string} listingContentId
|
|
3737
|
+
* @param {*} [options] Override http request option.
|
|
3738
|
+
* @throws {RequiredError}
|
|
3739
|
+
* @memberof ListingsApi
|
|
3740
|
+
*/
|
|
3741
|
+
listingContentGet(listingContentId, options) {
|
|
3742
|
+
return ListingsApiFp(this.configuration).listingContentGet(listingContentId, options).then((request) => request(this.axios, this.basePath));
|
|
3743
|
+
}
|
|
3744
|
+
/**
|
|
3745
|
+
* ListingContent List
|
|
3746
|
+
* @summary ListingContent List
|
|
3747
|
+
* @param {string} [listingId]
|
|
3748
|
+
* @param {string} [status] Filter by status: active, deleted, or all
|
|
3749
|
+
* @param {*} [options] Override http request option.
|
|
3750
|
+
* @throws {RequiredError}
|
|
3751
|
+
* @memberof ListingsApi
|
|
3752
|
+
*/
|
|
3753
|
+
listingContentList(listingId, status, options) {
|
|
3754
|
+
return ListingsApiFp(this.configuration).listingContentList(listingId, status, options).then((request) => request(this.axios, this.basePath));
|
|
3755
|
+
}
|
|
3756
|
+
/**
|
|
3757
|
+
* ListingContent Update
|
|
3758
|
+
* @summary ListingContent Update
|
|
3759
|
+
* @param {string} listingContentId
|
|
3760
|
+
* @param {APIListingContentUpdate} aPIListingContentUpdate
|
|
3761
|
+
* @param {*} [options] Override http request option.
|
|
3762
|
+
* @throws {RequiredError}
|
|
3763
|
+
* @memberof ListingsApi
|
|
3764
|
+
*/
|
|
3765
|
+
listingContentUpdate(listingContentId, aPIListingContentUpdate, options) {
|
|
3766
|
+
return ListingsApiFp(this.configuration).listingContentUpdate(listingContentId, aPIListingContentUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
3767
|
+
}
|
|
2694
3768
|
/**
|
|
2695
3769
|
* Listings Get
|
|
2696
3770
|
* @summary Listings Get
|
|
@@ -2759,8 +3833,8 @@ var ManagedPhoneNumbersApiFp = function(configuration) {
|
|
|
2759
3833
|
*/
|
|
2760
3834
|
async managedPhoneNumbersList(options) {
|
|
2761
3835
|
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
2762
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2763
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
3836
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _202 => _202.serverIndex]), () => ( 0));
|
|
3837
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _203 => _203["ManagedPhoneNumbersApi.managedPhoneNumbersList"], 'optionalAccess', _204 => _204[localVarOperationServerIndex], 'optionalAccess', _205 => _205.url]);
|
|
2764
3838
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2765
3839
|
}
|
|
2766
3840
|
};
|
|
@@ -2915,8 +3989,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2915
3989
|
*/
|
|
2916
3990
|
async providersCreate(aPIProviderCreate, options) {
|
|
2917
3991
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(aPIProviderCreate, options);
|
|
2918
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2919
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
3992
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _206 => _206.serverIndex]), () => ( 0));
|
|
3993
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _207 => _207["ProvidersApi.providersCreate"], 'optionalAccess', _208 => _208[localVarOperationServerIndex], 'optionalAccess', _209 => _209.url]);
|
|
2920
3994
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2921
3995
|
},
|
|
2922
3996
|
/**
|
|
@@ -2928,8 +4002,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2928
4002
|
*/
|
|
2929
4003
|
async providersGet(providerId, options) {
|
|
2930
4004
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
2931
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2932
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4005
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _210 => _210.serverIndex]), () => ( 0));
|
|
4006
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _211 => _211["ProvidersApi.providersGet"], 'optionalAccess', _212 => _212[localVarOperationServerIndex], 'optionalAccess', _213 => _213.url]);
|
|
2933
4007
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2934
4008
|
},
|
|
2935
4009
|
/**
|
|
@@ -2940,8 +4014,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2940
4014
|
*/
|
|
2941
4015
|
async providersList(options) {
|
|
2942
4016
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
2943
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2944
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4017
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _214 => _214.serverIndex]), () => ( 0));
|
|
4018
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _215 => _215["ProvidersApi.providersList"], 'optionalAccess', _216 => _216[localVarOperationServerIndex], 'optionalAccess', _217 => _217.url]);
|
|
2945
4019
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2946
4020
|
},
|
|
2947
4021
|
/**
|
|
@@ -2954,8 +4028,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2954
4028
|
*/
|
|
2955
4029
|
async providersUpdate(providerId, aPIProviderUpdate, options) {
|
|
2956
4030
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, aPIProviderUpdate, options);
|
|
2957
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2958
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4031
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _218 => _218.serverIndex]), () => ( 0));
|
|
4032
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _219 => _219["ProvidersApi.providersUpdate"], 'optionalAccess', _220 => _220[localVarOperationServerIndex], 'optionalAccess', _221 => _221.url]);
|
|
2959
4033
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2960
4034
|
}
|
|
2961
4035
|
};
|
|
@@ -3145,8 +4219,8 @@ var ReservationsApiFp = function(configuration) {
|
|
|
3145
4219
|
*/
|
|
3146
4220
|
async reservationsGet(reservationId, options) {
|
|
3147
4221
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
3148
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
3149
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4222
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _222 => _222.serverIndex]), () => ( 0));
|
|
4223
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _223 => _223["ReservationsApi.reservationsGet"], 'optionalAccess', _224 => _224[localVarOperationServerIndex], 'optionalAccess', _225 => _225.url]);
|
|
3150
4224
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3151
4225
|
},
|
|
3152
4226
|
/**
|
|
@@ -3164,8 +4238,8 @@ var ReservationsApiFp = function(configuration) {
|
|
|
3164
4238
|
*/
|
|
3165
4239
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
3166
4240
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
3167
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
3168
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4241
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _226 => _226.serverIndex]), () => ( 0));
|
|
4242
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _227 => _227["ReservationsApi.reservationsList"], 'optionalAccess', _228 => _228[localVarOperationServerIndex], 'optionalAccess', _229 => _229.url]);
|
|
3169
4243
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3170
4244
|
}
|
|
3171
4245
|
};
|
|
@@ -3275,8 +4349,8 @@ var TelnyxApiFp = function(configuration) {
|
|
|
3275
4349
|
*/
|
|
3276
4350
|
async telnyxWebhookTelnyxWebhooksPost(requestBody, options) {
|
|
3277
4351
|
const localVarAxiosArgs = await localVarAxiosParamCreator.telnyxWebhookTelnyxWebhooksPost(requestBody, options);
|
|
3278
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
3279
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
4352
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _230 => _230.serverIndex]), () => ( 0));
|
|
4353
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _231 => _231["TelnyxApi.telnyxWebhookTelnyxWebhooksPost"], 'optionalAccess', _232 => _232[localVarOperationServerIndex], 'optionalAccess', _233 => _233.url]);
|
|
3280
4354
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3281
4355
|
}
|
|
3282
4356
|
};
|
|
@@ -3447,6 +4521,34 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3447
4521
|
options: localVarRequestOptions
|
|
3448
4522
|
};
|
|
3449
4523
|
},
|
|
4524
|
+
/**
|
|
4525
|
+
* AiResponses Create
|
|
4526
|
+
* @summary AiResponses Create
|
|
4527
|
+
* @param {APIAiResponseCreate} aPIAiResponseCreate
|
|
4528
|
+
* @param {*} [options] Override http request option.
|
|
4529
|
+
* @throws {RequiredError}
|
|
4530
|
+
*/
|
|
4531
|
+
aiResponsesCreate: async (aPIAiResponseCreate, options = {}) => {
|
|
4532
|
+
assertParamExists("aiResponsesCreate", "aPIAiResponseCreate", aPIAiResponseCreate);
|
|
4533
|
+
const localVarPath = `/v1/aiResponses`;
|
|
4534
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4535
|
+
let baseOptions;
|
|
4536
|
+
if (configuration) {
|
|
4537
|
+
baseOptions = configuration.baseOptions;
|
|
4538
|
+
}
|
|
4539
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
4540
|
+
const localVarHeaderParameter = {};
|
|
4541
|
+
const localVarQueryParameter = {};
|
|
4542
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
4543
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4544
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4545
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4546
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIAiResponseCreate, localVarRequestOptions, configuration);
|
|
4547
|
+
return {
|
|
4548
|
+
url: toPathString(localVarUrlObj),
|
|
4549
|
+
options: localVarRequestOptions
|
|
4550
|
+
};
|
|
4551
|
+
},
|
|
3450
4552
|
/**
|
|
3451
4553
|
* Associates a contact with a listing with the OWNER type.
|
|
3452
4554
|
* @summary Create Contact Listing
|
|
@@ -3955,6 +5057,36 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3955
5057
|
options: localVarRequestOptions
|
|
3956
5058
|
};
|
|
3957
5059
|
},
|
|
5060
|
+
/**
|
|
5061
|
+
* Returns a signed URL for uploading a file directly to storage. Workflow: 1. Call this endpoint to obtain an upload URL and canonical file_url. 2. Perform the upload to storage using upload_url and upload_method. 3. Call POST/PATCH with listing_content_type_data.listing_content_type=\"file\" and the provided file_url (plus file_name, file_size, mime_type).
|
|
5062
|
+
* @summary Generate Listing Content Upload Url
|
|
5063
|
+
* @param {string} listingId
|
|
5064
|
+
* @param {UploadURLRequest} uploadURLRequest
|
|
5065
|
+
* @param {*} [options] Override http request option.
|
|
5066
|
+
* @throws {RequiredError}
|
|
5067
|
+
*/
|
|
5068
|
+
generateListingContentUploadURL: async (listingId, uploadURLRequest, options = {}) => {
|
|
5069
|
+
assertParamExists("generateListingContentUploadURL", "listingId", listingId);
|
|
5070
|
+
assertParamExists("generateListingContentUploadURL", "uploadURLRequest", uploadURLRequest);
|
|
5071
|
+
const localVarPath = `/v1/listings/{listing_id}/listing_content/upload-url`.replace(`{${"listing_id"}}`, encodeURIComponent(String(listingId)));
|
|
5072
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5073
|
+
let baseOptions;
|
|
5074
|
+
if (configuration) {
|
|
5075
|
+
baseOptions = configuration.baseOptions;
|
|
5076
|
+
}
|
|
5077
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
5078
|
+
const localVarHeaderParameter = {};
|
|
5079
|
+
const localVarQueryParameter = {};
|
|
5080
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
5081
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5082
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5083
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5084
|
+
localVarRequestOptions.data = serializeDataIfNeeded(uploadURLRequest, localVarRequestOptions, configuration);
|
|
5085
|
+
return {
|
|
5086
|
+
url: toPathString(localVarUrlObj),
|
|
5087
|
+
options: localVarRequestOptions
|
|
5088
|
+
};
|
|
5089
|
+
},
|
|
3958
5090
|
/**
|
|
3959
5091
|
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
3960
5092
|
* @summary Get Me
|
|
@@ -3985,8 +5117,206 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3985
5117
|
* @param {*} [options] Override http request option.
|
|
3986
5118
|
* @throws {RequiredError}
|
|
3987
5119
|
*/
|
|
3988
|
-
inboxesList: async (options = {}) => {
|
|
3989
|
-
const localVarPath = `/v1/inboxes`;
|
|
5120
|
+
inboxesList: async (options = {}) => {
|
|
5121
|
+
const localVarPath = `/v1/inboxes`;
|
|
5122
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5123
|
+
let baseOptions;
|
|
5124
|
+
if (configuration) {
|
|
5125
|
+
baseOptions = configuration.baseOptions;
|
|
5126
|
+
}
|
|
5127
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
5128
|
+
const localVarHeaderParameter = {};
|
|
5129
|
+
const localVarQueryParameter = {};
|
|
5130
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5131
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5132
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5133
|
+
return {
|
|
5134
|
+
url: toPathString(localVarUrlObj),
|
|
5135
|
+
options: localVarRequestOptions
|
|
5136
|
+
};
|
|
5137
|
+
},
|
|
5138
|
+
/**
|
|
5139
|
+
* List all listings
|
|
5140
|
+
* @summary Inquiries List
|
|
5141
|
+
* @param {string} [contactId]
|
|
5142
|
+
* @param {*} [options] Override http request option.
|
|
5143
|
+
* @throws {RequiredError}
|
|
5144
|
+
*/
|
|
5145
|
+
inquiriesList: async (contactId, options = {}) => {
|
|
5146
|
+
const localVarPath = `/v1/inquiries`;
|
|
5147
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5148
|
+
let baseOptions;
|
|
5149
|
+
if (configuration) {
|
|
5150
|
+
baseOptions = configuration.baseOptions;
|
|
5151
|
+
}
|
|
5152
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
5153
|
+
const localVarHeaderParameter = {};
|
|
5154
|
+
const localVarQueryParameter = {};
|
|
5155
|
+
if (contactId !== void 0) {
|
|
5156
|
+
localVarQueryParameter["contactId"] = contactId;
|
|
5157
|
+
}
|
|
5158
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5159
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5160
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5161
|
+
return {
|
|
5162
|
+
url: toPathString(localVarUrlObj),
|
|
5163
|
+
options: localVarRequestOptions
|
|
5164
|
+
};
|
|
5165
|
+
},
|
|
5166
|
+
/**
|
|
5167
|
+
* ListingContent Create
|
|
5168
|
+
* @summary ListingContent Create
|
|
5169
|
+
* @param {string} listingId
|
|
5170
|
+
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
5171
|
+
* @param {*} [options] Override http request option.
|
|
5172
|
+
* @throws {RequiredError}
|
|
5173
|
+
*/
|
|
5174
|
+
listingContentCreate: async (listingId, aPIListingContentCreate, options = {}) => {
|
|
5175
|
+
assertParamExists("listingContentCreate", "listingId", listingId);
|
|
5176
|
+
assertParamExists("listingContentCreate", "aPIListingContentCreate", aPIListingContentCreate);
|
|
5177
|
+
const localVarPath = `/v1/listings/{listingId}/listingContent`.replace(`{${"listingId"}}`, encodeURIComponent(String(listingId)));
|
|
5178
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5179
|
+
let baseOptions;
|
|
5180
|
+
if (configuration) {
|
|
5181
|
+
baseOptions = configuration.baseOptions;
|
|
5182
|
+
}
|
|
5183
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
5184
|
+
const localVarHeaderParameter = {};
|
|
5185
|
+
const localVarQueryParameter = {};
|
|
5186
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
5187
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5188
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5189
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5190
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIListingContentCreate, localVarRequestOptions, configuration);
|
|
5191
|
+
return {
|
|
5192
|
+
url: toPathString(localVarUrlObj),
|
|
5193
|
+
options: localVarRequestOptions
|
|
5194
|
+
};
|
|
5195
|
+
},
|
|
5196
|
+
/**
|
|
5197
|
+
* ListingContent Delete
|
|
5198
|
+
* @summary ListingContent Delete
|
|
5199
|
+
* @param {string} listingContentId
|
|
5200
|
+
* @param {*} [options] Override http request option.
|
|
5201
|
+
* @throws {RequiredError}
|
|
5202
|
+
*/
|
|
5203
|
+
listingContentDelete: async (listingContentId, options = {}) => {
|
|
5204
|
+
assertParamExists("listingContentDelete", "listingContentId", listingContentId);
|
|
5205
|
+
const localVarPath = `/v1/listingContent/{listingContentId}`.replace(`{${"listingContentId"}}`, encodeURIComponent(String(listingContentId)));
|
|
5206
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5207
|
+
let baseOptions;
|
|
5208
|
+
if (configuration) {
|
|
5209
|
+
baseOptions = configuration.baseOptions;
|
|
5210
|
+
}
|
|
5211
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
5212
|
+
const localVarHeaderParameter = {};
|
|
5213
|
+
const localVarQueryParameter = {};
|
|
5214
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5215
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5216
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5217
|
+
return {
|
|
5218
|
+
url: toPathString(localVarUrlObj),
|
|
5219
|
+
options: localVarRequestOptions
|
|
5220
|
+
};
|
|
5221
|
+
},
|
|
5222
|
+
/**
|
|
5223
|
+
* ListingContent Get
|
|
5224
|
+
* @summary ListingContent Get
|
|
5225
|
+
* @param {string} listingContentId
|
|
5226
|
+
* @param {*} [options] Override http request option.
|
|
5227
|
+
* @throws {RequiredError}
|
|
5228
|
+
*/
|
|
5229
|
+
listingContentGet: async (listingContentId, options = {}) => {
|
|
5230
|
+
assertParamExists("listingContentGet", "listingContentId", listingContentId);
|
|
5231
|
+
const localVarPath = `/v1/listingContent/{listingContentId}`.replace(`{${"listingContentId"}}`, encodeURIComponent(String(listingContentId)));
|
|
5232
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5233
|
+
let baseOptions;
|
|
5234
|
+
if (configuration) {
|
|
5235
|
+
baseOptions = configuration.baseOptions;
|
|
5236
|
+
}
|
|
5237
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
5238
|
+
const localVarHeaderParameter = {};
|
|
5239
|
+
const localVarQueryParameter = {};
|
|
5240
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5241
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5242
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5243
|
+
return {
|
|
5244
|
+
url: toPathString(localVarUrlObj),
|
|
5245
|
+
options: localVarRequestOptions
|
|
5246
|
+
};
|
|
5247
|
+
},
|
|
5248
|
+
/**
|
|
5249
|
+
* ListingContent List
|
|
5250
|
+
* @summary ListingContent List
|
|
5251
|
+
* @param {string} [listingId]
|
|
5252
|
+
* @param {string} [status] Filter by status: active, deleted, or all
|
|
5253
|
+
* @param {*} [options] Override http request option.
|
|
5254
|
+
* @throws {RequiredError}
|
|
5255
|
+
*/
|
|
5256
|
+
listingContentList: async (listingId, status, options = {}) => {
|
|
5257
|
+
const localVarPath = `/v1/listingContent`;
|
|
5258
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5259
|
+
let baseOptions;
|
|
5260
|
+
if (configuration) {
|
|
5261
|
+
baseOptions = configuration.baseOptions;
|
|
5262
|
+
}
|
|
5263
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
5264
|
+
const localVarHeaderParameter = {};
|
|
5265
|
+
const localVarQueryParameter = {};
|
|
5266
|
+
if (listingId !== void 0) {
|
|
5267
|
+
localVarQueryParameter["listingId"] = listingId;
|
|
5268
|
+
}
|
|
5269
|
+
if (status !== void 0) {
|
|
5270
|
+
localVarQueryParameter["status"] = status;
|
|
5271
|
+
}
|
|
5272
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5273
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5274
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5275
|
+
return {
|
|
5276
|
+
url: toPathString(localVarUrlObj),
|
|
5277
|
+
options: localVarRequestOptions
|
|
5278
|
+
};
|
|
5279
|
+
},
|
|
5280
|
+
/**
|
|
5281
|
+
* ListingContent Update
|
|
5282
|
+
* @summary ListingContent Update
|
|
5283
|
+
* @param {string} listingContentId
|
|
5284
|
+
* @param {APIListingContentUpdate} aPIListingContentUpdate
|
|
5285
|
+
* @param {*} [options] Override http request option.
|
|
5286
|
+
* @throws {RequiredError}
|
|
5287
|
+
*/
|
|
5288
|
+
listingContentUpdate: async (listingContentId, aPIListingContentUpdate, options = {}) => {
|
|
5289
|
+
assertParamExists("listingContentUpdate", "listingContentId", listingContentId);
|
|
5290
|
+
assertParamExists("listingContentUpdate", "aPIListingContentUpdate", aPIListingContentUpdate);
|
|
5291
|
+
const localVarPath = `/v1/listingContent/{listingContentId}`.replace(`{${"listingContentId"}}`, encodeURIComponent(String(listingContentId)));
|
|
5292
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5293
|
+
let baseOptions;
|
|
5294
|
+
if (configuration) {
|
|
5295
|
+
baseOptions = configuration.baseOptions;
|
|
5296
|
+
}
|
|
5297
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
5298
|
+
const localVarHeaderParameter = {};
|
|
5299
|
+
const localVarQueryParameter = {};
|
|
5300
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
5301
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5302
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5303
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
5304
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIListingContentUpdate, localVarRequestOptions, configuration);
|
|
5305
|
+
return {
|
|
5306
|
+
url: toPathString(localVarUrlObj),
|
|
5307
|
+
options: localVarRequestOptions
|
|
5308
|
+
};
|
|
5309
|
+
},
|
|
5310
|
+
/**
|
|
5311
|
+
* ListingContentVersions Get
|
|
5312
|
+
* @summary ListingContentVersions Get
|
|
5313
|
+
* @param {string} listingContentVersionId
|
|
5314
|
+
* @param {*} [options] Override http request option.
|
|
5315
|
+
* @throws {RequiredError}
|
|
5316
|
+
*/
|
|
5317
|
+
listingContentVersionsGet: async (listingContentVersionId, options = {}) => {
|
|
5318
|
+
assertParamExists("listingContentVersionsGet", "listingContentVersionId", listingContentVersionId);
|
|
5319
|
+
const localVarPath = `/v1/listingContentVersions/{listingContentVersionId}`.replace(`{${"listingContentVersionId"}}`, encodeURIComponent(String(listingContentVersionId)));
|
|
3990
5320
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3991
5321
|
let baseOptions;
|
|
3992
5322
|
if (configuration) {
|
|
@@ -4004,14 +5334,14 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4004
5334
|
};
|
|
4005
5335
|
},
|
|
4006
5336
|
/**
|
|
4007
|
-
* List
|
|
4008
|
-
* @summary
|
|
4009
|
-
* @param {string} [
|
|
5337
|
+
* ListingContentVersions List
|
|
5338
|
+
* @summary ListingContentVersions List
|
|
5339
|
+
* @param {string} [listingContentId]
|
|
4010
5340
|
* @param {*} [options] Override http request option.
|
|
4011
5341
|
* @throws {RequiredError}
|
|
4012
5342
|
*/
|
|
4013
|
-
|
|
4014
|
-
const localVarPath = `/v1/
|
|
5343
|
+
listingContentVersionsList: async (listingContentId, options = {}) => {
|
|
5344
|
+
const localVarPath = `/v1/listingContentVersions`;
|
|
4015
5345
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4016
5346
|
let baseOptions;
|
|
4017
5347
|
if (configuration) {
|
|
@@ -4020,8 +5350,8 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4020
5350
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
4021
5351
|
const localVarHeaderParameter = {};
|
|
4022
5352
|
const localVarQueryParameter = {};
|
|
4023
|
-
if (
|
|
4024
|
-
localVarQueryParameter["
|
|
5353
|
+
if (listingContentId !== void 0) {
|
|
5354
|
+
localVarQueryParameter["listingContentId"] = listingContentId;
|
|
4025
5355
|
}
|
|
4026
5356
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4027
5357
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -4651,8 +5981,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4651
5981
|
*/
|
|
4652
5982
|
async accountsList(options) {
|
|
4653
5983
|
const localVarAxiosArgs = await localVarAxiosParamCreator.accountsList(options);
|
|
4654
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4655
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5984
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _234 => _234.serverIndex]), () => ( 0));
|
|
5985
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _235 => _235["UnboundApi.accountsList"], 'optionalAccess', _236 => _236[localVarOperationServerIndex], 'optionalAccess', _237 => _237.url]);
|
|
4656
5986
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4657
5987
|
},
|
|
4658
5988
|
/**
|
|
@@ -4665,8 +5995,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4665
5995
|
*/
|
|
4666
5996
|
async addressesCreate(contactId, aPIAddressCreate, options) {
|
|
4667
5997
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, aPIAddressCreate, options);
|
|
4668
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4669
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5998
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _238 => _238.serverIndex]), () => ( 0));
|
|
5999
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _239 => _239["UnboundApi.addressesCreate"], 'optionalAccess', _240 => _240[localVarOperationServerIndex], 'optionalAccess', _241 => _241.url]);
|
|
4670
6000
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4671
6001
|
},
|
|
4672
6002
|
/**
|
|
@@ -4678,8 +6008,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4678
6008
|
*/
|
|
4679
6009
|
async addressesDelete(addressId, options) {
|
|
4680
6010
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesDelete(addressId, options);
|
|
4681
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4682
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6011
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _242 => _242.serverIndex]), () => ( 0));
|
|
6012
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _243 => _243["UnboundApi.addressesDelete"], 'optionalAccess', _244 => _244[localVarOperationServerIndex], 'optionalAccess', _245 => _245.url]);
|
|
4683
6013
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4684
6014
|
},
|
|
4685
6015
|
/**
|
|
@@ -4691,8 +6021,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4691
6021
|
*/
|
|
4692
6022
|
async addressesGet(addressId, options) {
|
|
4693
6023
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesGet(addressId, options);
|
|
4694
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4695
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6024
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _246 => _246.serverIndex]), () => ( 0));
|
|
6025
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _247 => _247["UnboundApi.addressesGet"], 'optionalAccess', _248 => _248[localVarOperationServerIndex], 'optionalAccess', _249 => _249.url]);
|
|
4696
6026
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4697
6027
|
},
|
|
4698
6028
|
/**
|
|
@@ -4705,8 +6035,21 @@ var UnboundApiFp = function(configuration) {
|
|
|
4705
6035
|
*/
|
|
4706
6036
|
async addressesUpdate(addressId, aPIAddressUpdate, options) {
|
|
4707
6037
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, aPIAddressUpdate, options);
|
|
4708
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4709
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6038
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _250 => _250.serverIndex]), () => ( 0));
|
|
6039
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _251 => _251["UnboundApi.addressesUpdate"], 'optionalAccess', _252 => _252[localVarOperationServerIndex], 'optionalAccess', _253 => _253.url]);
|
|
6040
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6041
|
+
},
|
|
6042
|
+
/**
|
|
6043
|
+
* AiResponses Create
|
|
6044
|
+
* @summary AiResponses Create
|
|
6045
|
+
* @param {APIAiResponseCreate} aPIAiResponseCreate
|
|
6046
|
+
* @param {*} [options] Override http request option.
|
|
6047
|
+
* @throws {RequiredError}
|
|
6048
|
+
*/
|
|
6049
|
+
async aiResponsesCreate(aPIAiResponseCreate, options) {
|
|
6050
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.aiResponsesCreate(aPIAiResponseCreate, options);
|
|
6051
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _254 => _254.serverIndex]), () => ( 0));
|
|
6052
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _255 => _255["UnboundApi.aiResponsesCreate"], 'optionalAccess', _256 => _256[localVarOperationServerIndex], 'optionalAccess', _257 => _257.url]);
|
|
4710
6053
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4711
6054
|
},
|
|
4712
6055
|
/**
|
|
@@ -4720,8 +6063,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4720
6063
|
*/
|
|
4721
6064
|
async contactsAddListing(contactId, listingId, createContactListing, options) {
|
|
4722
6065
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsAddListing(contactId, listingId, createContactListing, options);
|
|
4723
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4724
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6066
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _258 => _258.serverIndex]), () => ( 0));
|
|
6067
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _259 => _259["UnboundApi.contactsAddListing"], 'optionalAccess', _260 => _260[localVarOperationServerIndex], 'optionalAccess', _261 => _261.url]);
|
|
4725
6068
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4726
6069
|
},
|
|
4727
6070
|
/**
|
|
@@ -4733,8 +6076,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4733
6076
|
*/
|
|
4734
6077
|
async contactsCreate(contactcreate, options) {
|
|
4735
6078
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsCreate(contactcreate, options);
|
|
4736
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4737
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6079
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _262 => _262.serverIndex]), () => ( 0));
|
|
6080
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _263 => _263["UnboundApi.contactsCreate"], 'optionalAccess', _264 => _264[localVarOperationServerIndex], 'optionalAccess', _265 => _265.url]);
|
|
4738
6081
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4739
6082
|
},
|
|
4740
6083
|
/**
|
|
@@ -4746,8 +6089,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4746
6089
|
*/
|
|
4747
6090
|
async contactsDelete(contactId, options) {
|
|
4748
6091
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsDelete(contactId, options);
|
|
4749
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4750
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6092
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _266 => _266.serverIndex]), () => ( 0));
|
|
6093
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _267 => _267["UnboundApi.contactsDelete"], 'optionalAccess', _268 => _268[localVarOperationServerIndex], 'optionalAccess', _269 => _269.url]);
|
|
4751
6094
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4752
6095
|
},
|
|
4753
6096
|
/**
|
|
@@ -4759,8 +6102,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4759
6102
|
*/
|
|
4760
6103
|
async contactsGet(contactId, options) {
|
|
4761
6104
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsGet(contactId, options);
|
|
4762
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4763
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6105
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _270 => _270.serverIndex]), () => ( 0));
|
|
6106
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _271 => _271["UnboundApi.contactsGet"], 'optionalAccess', _272 => _272[localVarOperationServerIndex], 'optionalAccess', _273 => _273.url]);
|
|
4764
6107
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4765
6108
|
},
|
|
4766
6109
|
/**
|
|
@@ -4777,8 +6120,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4777
6120
|
*/
|
|
4778
6121
|
async contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4779
6122
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4780
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4781
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6123
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _274 => _274.serverIndex]), () => ( 0));
|
|
6124
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _275 => _275["UnboundApi.contactsList"], 'optionalAccess', _276 => _276[localVarOperationServerIndex], 'optionalAccess', _277 => _277.url]);
|
|
4782
6125
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4783
6126
|
},
|
|
4784
6127
|
/**
|
|
@@ -4792,8 +6135,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4792
6135
|
*/
|
|
4793
6136
|
async contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
|
|
4794
6137
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsRemoveListing(contactId, listingId, deleteContactListing, options);
|
|
4795
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4796
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6138
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _278 => _278.serverIndex]), () => ( 0));
|
|
6139
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _279 => _279["UnboundApi.contactsRemoveListing"], 'optionalAccess', _280 => _280[localVarOperationServerIndex], 'optionalAccess', _281 => _281.url]);
|
|
4797
6140
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4798
6141
|
},
|
|
4799
6142
|
/**
|
|
@@ -4806,8 +6149,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4806
6149
|
*/
|
|
4807
6150
|
async contactsUpdate(contactId, aPIContactUpdate, options) {
|
|
4808
6151
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdate(contactId, aPIContactUpdate, options);
|
|
4809
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4810
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6152
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _282 => _282.serverIndex]), () => ( 0));
|
|
6153
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _283 => _283["UnboundApi.contactsUpdate"], 'optionalAccess', _284 => _284[localVarOperationServerIndex], 'optionalAccess', _285 => _285.url]);
|
|
4811
6154
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4812
6155
|
},
|
|
4813
6156
|
/**
|
|
@@ -4821,8 +6164,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4821
6164
|
*/
|
|
4822
6165
|
async contactsUpdateListing(contactId, listingId, updateContactListing, options) {
|
|
4823
6166
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdateListing(contactId, listingId, updateContactListing, options);
|
|
4824
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4825
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6167
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _286 => _286.serverIndex]), () => ( 0));
|
|
6168
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _287 => _287["UnboundApi.contactsUpdateListing"], 'optionalAccess', _288 => _288[localVarOperationServerIndex], 'optionalAccess', _289 => _289.url]);
|
|
4826
6169
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4827
6170
|
},
|
|
4828
6171
|
/**
|
|
@@ -4835,8 +6178,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4835
6178
|
*/
|
|
4836
6179
|
async conversationsCreate(inboxId, aPIConversationCreate, options) {
|
|
4837
6180
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsCreate(inboxId, aPIConversationCreate, options);
|
|
4838
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4839
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6181
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _290 => _290.serverIndex]), () => ( 0));
|
|
6182
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _291 => _291["UnboundApi.conversationsCreate"], 'optionalAccess', _292 => _292[localVarOperationServerIndex], 'optionalAccess', _293 => _293.url]);
|
|
4840
6183
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4841
6184
|
},
|
|
4842
6185
|
/**
|
|
@@ -4848,8 +6191,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4848
6191
|
*/
|
|
4849
6192
|
async conversationsGet(conversationId, options) {
|
|
4850
6193
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsGet(conversationId, options);
|
|
4851
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4852
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6194
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _294 => _294.serverIndex]), () => ( 0));
|
|
6195
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _295 => _295["UnboundApi.conversationsGet"], 'optionalAccess', _296 => _296[localVarOperationServerIndex], 'optionalAccess', _297 => _297.url]);
|
|
4853
6196
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4854
6197
|
},
|
|
4855
6198
|
/**
|
|
@@ -4868,8 +6211,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4868
6211
|
*/
|
|
4869
6212
|
async conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
4870
6213
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options);
|
|
4871
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4872
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6214
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _298 => _298.serverIndex]), () => ( 0));
|
|
6215
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _299 => _299["UnboundApi.conversationsList"], 'optionalAccess', _300 => _300[localVarOperationServerIndex], 'optionalAccess', _301 => _301.url]);
|
|
4873
6216
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4874
6217
|
},
|
|
4875
6218
|
/**
|
|
@@ -4882,8 +6225,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4882
6225
|
*/
|
|
4883
6226
|
async conversationsUpdate(conversationId, aPIConversationUpdate, options) {
|
|
4884
6227
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsUpdate(conversationId, aPIConversationUpdate, options);
|
|
4885
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4886
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6228
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _302 => _302.serverIndex]), () => ( 0));
|
|
6229
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _303 => _303["UnboundApi.conversationsUpdate"], 'optionalAccess', _304 => _304[localVarOperationServerIndex], 'optionalAccess', _305 => _305.url]);
|
|
4887
6230
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4888
6231
|
},
|
|
4889
6232
|
/**
|
|
@@ -4896,8 +6239,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4896
6239
|
*/
|
|
4897
6240
|
async emailsCreate(contactId, aPIEmailCreate, options) {
|
|
4898
6241
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, aPIEmailCreate, options);
|
|
4899
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4900
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6242
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _306 => _306.serverIndex]), () => ( 0));
|
|
6243
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _307 => _307["UnboundApi.emailsCreate"], 'optionalAccess', _308 => _308[localVarOperationServerIndex], 'optionalAccess', _309 => _309.url]);
|
|
4901
6244
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4902
6245
|
},
|
|
4903
6246
|
/**
|
|
@@ -4909,8 +6252,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4909
6252
|
*/
|
|
4910
6253
|
async emailsDelete(emailId, options) {
|
|
4911
6254
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
4912
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4913
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6255
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _310 => _310.serverIndex]), () => ( 0));
|
|
6256
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _311 => _311["UnboundApi.emailsDelete"], 'optionalAccess', _312 => _312[localVarOperationServerIndex], 'optionalAccess', _313 => _313.url]);
|
|
4914
6257
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4915
6258
|
},
|
|
4916
6259
|
/**
|
|
@@ -4922,8 +6265,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4922
6265
|
*/
|
|
4923
6266
|
async emailsGet(emailId, options) {
|
|
4924
6267
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsGet(emailId, options);
|
|
4925
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4926
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6268
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _314 => _314.serverIndex]), () => ( 0));
|
|
6269
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _315 => _315["UnboundApi.emailsGet"], 'optionalAccess', _316 => _316[localVarOperationServerIndex], 'optionalAccess', _317 => _317.url]);
|
|
4927
6270
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4928
6271
|
},
|
|
4929
6272
|
/**
|
|
@@ -4936,8 +6279,22 @@ var UnboundApiFp = function(configuration) {
|
|
|
4936
6279
|
*/
|
|
4937
6280
|
async emailsUpdate(emailId, aPIEmailUpdate, options) {
|
|
4938
6281
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsUpdate(emailId, aPIEmailUpdate, options);
|
|
4939
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4940
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6282
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _318 => _318.serverIndex]), () => ( 0));
|
|
6283
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _319 => _319["UnboundApi.emailsUpdate"], 'optionalAccess', _320 => _320[localVarOperationServerIndex], 'optionalAccess', _321 => _321.url]);
|
|
6284
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6285
|
+
},
|
|
6286
|
+
/**
|
|
6287
|
+
* Returns a signed URL for uploading a file directly to storage. Workflow: 1. Call this endpoint to obtain an upload URL and canonical file_url. 2. Perform the upload to storage using upload_url and upload_method. 3. Call POST/PATCH with listing_content_type_data.listing_content_type=\"file\" and the provided file_url (plus file_name, file_size, mime_type).
|
|
6288
|
+
* @summary Generate Listing Content Upload Url
|
|
6289
|
+
* @param {string} listingId
|
|
6290
|
+
* @param {UploadURLRequest} uploadURLRequest
|
|
6291
|
+
* @param {*} [options] Override http request option.
|
|
6292
|
+
* @throws {RequiredError}
|
|
6293
|
+
*/
|
|
6294
|
+
async generateListingContentUploadURL(listingId, uploadURLRequest, options) {
|
|
6295
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.generateListingContentUploadURL(listingId, uploadURLRequest, options);
|
|
6296
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _322 => _322.serverIndex]), () => ( 0));
|
|
6297
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _323 => _323["UnboundApi.generateListingContentUploadURL"], 'optionalAccess', _324 => _324[localVarOperationServerIndex], 'optionalAccess', _325 => _325.url]);
|
|
4941
6298
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4942
6299
|
},
|
|
4943
6300
|
/**
|
|
@@ -4948,8 +6305,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4948
6305
|
*/
|
|
4949
6306
|
async getMe(options) {
|
|
4950
6307
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getMe(options);
|
|
4951
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4952
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6308
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _326 => _326.serverIndex]), () => ( 0));
|
|
6309
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _327 => _327["UnboundApi.getMe"], 'optionalAccess', _328 => _328[localVarOperationServerIndex], 'optionalAccess', _329 => _329.url]);
|
|
4953
6310
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4954
6311
|
},
|
|
4955
6312
|
/**
|
|
@@ -4960,8 +6317,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4960
6317
|
*/
|
|
4961
6318
|
async inboxesList(options) {
|
|
4962
6319
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inboxesList(options);
|
|
4963
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4964
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6320
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _330 => _330.serverIndex]), () => ( 0));
|
|
6321
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _331 => _331["UnboundApi.inboxesList"], 'optionalAccess', _332 => _332[localVarOperationServerIndex], 'optionalAccess', _333 => _333.url]);
|
|
4965
6322
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4966
6323
|
},
|
|
4967
6324
|
/**
|
|
@@ -4973,8 +6330,102 @@ var UnboundApiFp = function(configuration) {
|
|
|
4973
6330
|
*/
|
|
4974
6331
|
async inquiriesList(contactId, options) {
|
|
4975
6332
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
4976
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4977
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6333
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _334 => _334.serverIndex]), () => ( 0));
|
|
6334
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _335 => _335["UnboundApi.inquiriesList"], 'optionalAccess', _336 => _336[localVarOperationServerIndex], 'optionalAccess', _337 => _337.url]);
|
|
6335
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6336
|
+
},
|
|
6337
|
+
/**
|
|
6338
|
+
* ListingContent Create
|
|
6339
|
+
* @summary ListingContent Create
|
|
6340
|
+
* @param {string} listingId
|
|
6341
|
+
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
6342
|
+
* @param {*} [options] Override http request option.
|
|
6343
|
+
* @throws {RequiredError}
|
|
6344
|
+
*/
|
|
6345
|
+
async listingContentCreate(listingId, aPIListingContentCreate, options) {
|
|
6346
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentCreate(listingId, aPIListingContentCreate, options);
|
|
6347
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _338 => _338.serverIndex]), () => ( 0));
|
|
6348
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _339 => _339["UnboundApi.listingContentCreate"], 'optionalAccess', _340 => _340[localVarOperationServerIndex], 'optionalAccess', _341 => _341.url]);
|
|
6349
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6350
|
+
},
|
|
6351
|
+
/**
|
|
6352
|
+
* ListingContent Delete
|
|
6353
|
+
* @summary ListingContent Delete
|
|
6354
|
+
* @param {string} listingContentId
|
|
6355
|
+
* @param {*} [options] Override http request option.
|
|
6356
|
+
* @throws {RequiredError}
|
|
6357
|
+
*/
|
|
6358
|
+
async listingContentDelete(listingContentId, options) {
|
|
6359
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentDelete(listingContentId, options);
|
|
6360
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _342 => _342.serverIndex]), () => ( 0));
|
|
6361
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _343 => _343["UnboundApi.listingContentDelete"], 'optionalAccess', _344 => _344[localVarOperationServerIndex], 'optionalAccess', _345 => _345.url]);
|
|
6362
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6363
|
+
},
|
|
6364
|
+
/**
|
|
6365
|
+
* ListingContent Get
|
|
6366
|
+
* @summary ListingContent Get
|
|
6367
|
+
* @param {string} listingContentId
|
|
6368
|
+
* @param {*} [options] Override http request option.
|
|
6369
|
+
* @throws {RequiredError}
|
|
6370
|
+
*/
|
|
6371
|
+
async listingContentGet(listingContentId, options) {
|
|
6372
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentGet(listingContentId, options);
|
|
6373
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _346 => _346.serverIndex]), () => ( 0));
|
|
6374
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _347 => _347["UnboundApi.listingContentGet"], 'optionalAccess', _348 => _348[localVarOperationServerIndex], 'optionalAccess', _349 => _349.url]);
|
|
6375
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6376
|
+
},
|
|
6377
|
+
/**
|
|
6378
|
+
* ListingContent List
|
|
6379
|
+
* @summary ListingContent List
|
|
6380
|
+
* @param {string} [listingId]
|
|
6381
|
+
* @param {string} [status] Filter by status: active, deleted, or all
|
|
6382
|
+
* @param {*} [options] Override http request option.
|
|
6383
|
+
* @throws {RequiredError}
|
|
6384
|
+
*/
|
|
6385
|
+
async listingContentList(listingId, status, options) {
|
|
6386
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentList(listingId, status, options);
|
|
6387
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _350 => _350.serverIndex]), () => ( 0));
|
|
6388
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _351 => _351["UnboundApi.listingContentList"], 'optionalAccess', _352 => _352[localVarOperationServerIndex], 'optionalAccess', _353 => _353.url]);
|
|
6389
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6390
|
+
},
|
|
6391
|
+
/**
|
|
6392
|
+
* ListingContent Update
|
|
6393
|
+
* @summary ListingContent Update
|
|
6394
|
+
* @param {string} listingContentId
|
|
6395
|
+
* @param {APIListingContentUpdate} aPIListingContentUpdate
|
|
6396
|
+
* @param {*} [options] Override http request option.
|
|
6397
|
+
* @throws {RequiredError}
|
|
6398
|
+
*/
|
|
6399
|
+
async listingContentUpdate(listingContentId, aPIListingContentUpdate, options) {
|
|
6400
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentUpdate(listingContentId, aPIListingContentUpdate, options);
|
|
6401
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _354 => _354.serverIndex]), () => ( 0));
|
|
6402
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _355 => _355["UnboundApi.listingContentUpdate"], 'optionalAccess', _356 => _356[localVarOperationServerIndex], 'optionalAccess', _357 => _357.url]);
|
|
6403
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6404
|
+
},
|
|
6405
|
+
/**
|
|
6406
|
+
* ListingContentVersions Get
|
|
6407
|
+
* @summary ListingContentVersions Get
|
|
6408
|
+
* @param {string} listingContentVersionId
|
|
6409
|
+
* @param {*} [options] Override http request option.
|
|
6410
|
+
* @throws {RequiredError}
|
|
6411
|
+
*/
|
|
6412
|
+
async listingContentVersionsGet(listingContentVersionId, options) {
|
|
6413
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentVersionsGet(listingContentVersionId, options);
|
|
6414
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _358 => _358.serverIndex]), () => ( 0));
|
|
6415
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _359 => _359["UnboundApi.listingContentVersionsGet"], 'optionalAccess', _360 => _360[localVarOperationServerIndex], 'optionalAccess', _361 => _361.url]);
|
|
6416
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6417
|
+
},
|
|
6418
|
+
/**
|
|
6419
|
+
* ListingContentVersions List
|
|
6420
|
+
* @summary ListingContentVersions List
|
|
6421
|
+
* @param {string} [listingContentId]
|
|
6422
|
+
* @param {*} [options] Override http request option.
|
|
6423
|
+
* @throws {RequiredError}
|
|
6424
|
+
*/
|
|
6425
|
+
async listingContentVersionsList(listingContentId, options) {
|
|
6426
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingContentVersionsList(listingContentId, options);
|
|
6427
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _362 => _362.serverIndex]), () => ( 0));
|
|
6428
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _363 => _363["UnboundApi.listingContentVersionsList"], 'optionalAccess', _364 => _364[localVarOperationServerIndex], 'optionalAccess', _365 => _365.url]);
|
|
4978
6429
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4979
6430
|
},
|
|
4980
6431
|
/**
|
|
@@ -4986,8 +6437,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4986
6437
|
*/
|
|
4987
6438
|
async listingsGet(listingId, options) {
|
|
4988
6439
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
4989
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4990
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6440
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _366 => _366.serverIndex]), () => ( 0));
|
|
6441
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _367 => _367["UnboundApi.listingsGet"], 'optionalAccess', _368 => _368[localVarOperationServerIndex], 'optionalAccess', _369 => _369.url]);
|
|
4991
6442
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4992
6443
|
},
|
|
4993
6444
|
/**
|
|
@@ -5005,8 +6456,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5005
6456
|
*/
|
|
5006
6457
|
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5007
6458
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
5008
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5009
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6459
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _370 => _370.serverIndex]), () => ( 0));
|
|
6460
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _371 => _371["UnboundApi.listingsList"], 'optionalAccess', _372 => _372[localVarOperationServerIndex], 'optionalAccess', _373 => _373.url]);
|
|
5010
6461
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5011
6462
|
},
|
|
5012
6463
|
/**
|
|
@@ -5017,8 +6468,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5017
6468
|
*/
|
|
5018
6469
|
async managedPhoneNumbersList(options) {
|
|
5019
6470
|
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
5020
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5021
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6471
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _374 => _374.serverIndex]), () => ( 0));
|
|
6472
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _375 => _375["UnboundApi.managedPhoneNumbersList"], 'optionalAccess', _376 => _376[localVarOperationServerIndex], 'optionalAccess', _377 => _377.url]);
|
|
5022
6473
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5023
6474
|
},
|
|
5024
6475
|
/**
|
|
@@ -5031,8 +6482,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5031
6482
|
*/
|
|
5032
6483
|
async messagesCreate(conversationId, messagecreate, options) {
|
|
5033
6484
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, messagecreate, options);
|
|
5034
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5035
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6485
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _378 => _378.serverIndex]), () => ( 0));
|
|
6486
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _379 => _379["UnboundApi.messagesCreate"], 'optionalAccess', _380 => _380[localVarOperationServerIndex], 'optionalAccess', _381 => _381.url]);
|
|
5036
6487
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5037
6488
|
},
|
|
5038
6489
|
/**
|
|
@@ -5044,8 +6495,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5044
6495
|
*/
|
|
5045
6496
|
async messagesGet(messageId, options) {
|
|
5046
6497
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
5047
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5048
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6498
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _382 => _382.serverIndex]), () => ( 0));
|
|
6499
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _383 => _383["UnboundApi.messagesGet"], 'optionalAccess', _384 => _384[localVarOperationServerIndex], 'optionalAccess', _385 => _385.url]);
|
|
5049
6500
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5050
6501
|
},
|
|
5051
6502
|
/**
|
|
@@ -5067,8 +6518,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5067
6518
|
*/
|
|
5068
6519
|
async messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5069
6520
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
5070
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5071
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6521
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _386 => _386.serverIndex]), () => ( 0));
|
|
6522
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _387 => _387["UnboundApi.messagesList"], 'optionalAccess', _388 => _388[localVarOperationServerIndex], 'optionalAccess', _389 => _389.url]);
|
|
5072
6523
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5073
6524
|
},
|
|
5074
6525
|
/**
|
|
@@ -5081,8 +6532,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5081
6532
|
*/
|
|
5082
6533
|
async phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
5083
6534
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, aPIPhoneCreate, options);
|
|
5084
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5085
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6535
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _390 => _390.serverIndex]), () => ( 0));
|
|
6536
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _391 => _391["UnboundApi.phonesCreate"], 'optionalAccess', _392 => _392[localVarOperationServerIndex], 'optionalAccess', _393 => _393.url]);
|
|
5086
6537
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5087
6538
|
},
|
|
5088
6539
|
/**
|
|
@@ -5094,8 +6545,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5094
6545
|
*/
|
|
5095
6546
|
async phonesDelete(phoneId, options) {
|
|
5096
6547
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
5097
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5098
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6548
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _394 => _394.serverIndex]), () => ( 0));
|
|
6549
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _395 => _395["UnboundApi.phonesDelete"], 'optionalAccess', _396 => _396[localVarOperationServerIndex], 'optionalAccess', _397 => _397.url]);
|
|
5099
6550
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5100
6551
|
},
|
|
5101
6552
|
/**
|
|
@@ -5107,8 +6558,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5107
6558
|
*/
|
|
5108
6559
|
async phonesGet(phoneId, options) {
|
|
5109
6560
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesGet(phoneId, options);
|
|
5110
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5111
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6561
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _398 => _398.serverIndex]), () => ( 0));
|
|
6562
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _399 => _399["UnboundApi.phonesGet"], 'optionalAccess', _400 => _400[localVarOperationServerIndex], 'optionalAccess', _401 => _401.url]);
|
|
5112
6563
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5113
6564
|
},
|
|
5114
6565
|
/**
|
|
@@ -5121,8 +6572,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5121
6572
|
*/
|
|
5122
6573
|
async phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
5123
6574
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesUpdate(phoneId, aPIPhoneUpdate, options);
|
|
5124
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5125
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6575
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _402 => _402.serverIndex]), () => ( 0));
|
|
6576
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _403 => _403["UnboundApi.phonesUpdate"], 'optionalAccess', _404 => _404[localVarOperationServerIndex], 'optionalAccess', _405 => _405.url]);
|
|
5126
6577
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5127
6578
|
},
|
|
5128
6579
|
/**
|
|
@@ -5134,8 +6585,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5134
6585
|
*/
|
|
5135
6586
|
async providersCreate(aPIProviderCreate, options) {
|
|
5136
6587
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(aPIProviderCreate, options);
|
|
5137
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5138
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6588
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _406 => _406.serverIndex]), () => ( 0));
|
|
6589
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _407 => _407["UnboundApi.providersCreate"], 'optionalAccess', _408 => _408[localVarOperationServerIndex], 'optionalAccess', _409 => _409.url]);
|
|
5139
6590
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5140
6591
|
},
|
|
5141
6592
|
/**
|
|
@@ -5147,8 +6598,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5147
6598
|
*/
|
|
5148
6599
|
async providersGet(providerId, options) {
|
|
5149
6600
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
5150
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5151
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6601
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _410 => _410.serverIndex]), () => ( 0));
|
|
6602
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _411 => _411["UnboundApi.providersGet"], 'optionalAccess', _412 => _412[localVarOperationServerIndex], 'optionalAccess', _413 => _413.url]);
|
|
5152
6603
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5153
6604
|
},
|
|
5154
6605
|
/**
|
|
@@ -5159,8 +6610,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5159
6610
|
*/
|
|
5160
6611
|
async providersList(options) {
|
|
5161
6612
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
5162
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5163
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6613
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _414 => _414.serverIndex]), () => ( 0));
|
|
6614
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _415 => _415["UnboundApi.providersList"], 'optionalAccess', _416 => _416[localVarOperationServerIndex], 'optionalAccess', _417 => _417.url]);
|
|
5164
6615
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5165
6616
|
},
|
|
5166
6617
|
/**
|
|
@@ -5173,8 +6624,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5173
6624
|
*/
|
|
5174
6625
|
async providersUpdate(providerId, aPIProviderUpdate, options) {
|
|
5175
6626
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, aPIProviderUpdate, options);
|
|
5176
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5177
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6627
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _418 => _418.serverIndex]), () => ( 0));
|
|
6628
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _419 => _419["UnboundApi.providersUpdate"], 'optionalAccess', _420 => _420[localVarOperationServerIndex], 'optionalAccess', _421 => _421.url]);
|
|
5178
6629
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5179
6630
|
},
|
|
5180
6631
|
/**
|
|
@@ -5186,8 +6637,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5186
6637
|
*/
|
|
5187
6638
|
async reservationsGet(reservationId, options) {
|
|
5188
6639
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
5189
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5190
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6640
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _422 => _422.serverIndex]), () => ( 0));
|
|
6641
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _423 => _423["UnboundApi.reservationsGet"], 'optionalAccess', _424 => _424[localVarOperationServerIndex], 'optionalAccess', _425 => _425.url]);
|
|
5191
6642
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5192
6643
|
},
|
|
5193
6644
|
/**
|
|
@@ -5205,8 +6656,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5205
6656
|
*/
|
|
5206
6657
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5207
6658
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
5208
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5209
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6659
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _426 => _426.serverIndex]), () => ( 0));
|
|
6660
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _427 => _427["UnboundApi.reservationsList"], 'optionalAccess', _428 => _428[localVarOperationServerIndex], 'optionalAccess', _429 => _429.url]);
|
|
5210
6661
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5211
6662
|
},
|
|
5212
6663
|
/**
|
|
@@ -5218,8 +6669,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5218
6669
|
*/
|
|
5219
6670
|
async userDevicesCreate(aPIUserDeviceCreate, options) {
|
|
5220
6671
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userDevicesCreate(aPIUserDeviceCreate, options);
|
|
5221
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5222
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6672
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _430 => _430.serverIndex]), () => ( 0));
|
|
6673
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _431 => _431["UnboundApi.userDevicesCreate"], 'optionalAccess', _432 => _432[localVarOperationServerIndex], 'optionalAccess', _433 => _433.url]);
|
|
5223
6674
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5224
6675
|
},
|
|
5225
6676
|
/**
|
|
@@ -5231,8 +6682,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5231
6682
|
*/
|
|
5232
6683
|
async userDevicesDelete(userDeviceId, options) {
|
|
5233
6684
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userDevicesDelete(userDeviceId, options);
|
|
5234
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5235
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6685
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _434 => _434.serverIndex]), () => ( 0));
|
|
6686
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _435 => _435["UnboundApi.userDevicesDelete"], 'optionalAccess', _436 => _436[localVarOperationServerIndex], 'optionalAccess', _437 => _437.url]);
|
|
5236
6687
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5237
6688
|
},
|
|
5238
6689
|
/**
|
|
@@ -5244,8 +6695,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5244
6695
|
*/
|
|
5245
6696
|
async webhook(body, options) {
|
|
5246
6697
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(body, options);
|
|
5247
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5248
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6698
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _438 => _438.serverIndex]), () => ( 0));
|
|
6699
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _439 => _439["UnboundApi.webhook"], 'optionalAccess', _440 => _440[localVarOperationServerIndex], 'optionalAccess', _441 => _441.url]);
|
|
5249
6700
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5250
6701
|
}
|
|
5251
6702
|
};
|
|
@@ -5304,6 +6755,16 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5304
6755
|
addressesUpdate(addressId, aPIAddressUpdate, options) {
|
|
5305
6756
|
return localVarFp.addressesUpdate(addressId, aPIAddressUpdate, options).then((request) => request(axios, basePath));
|
|
5306
6757
|
},
|
|
6758
|
+
/**
|
|
6759
|
+
* AiResponses Create
|
|
6760
|
+
* @summary AiResponses Create
|
|
6761
|
+
* @param {APIAiResponseCreate} aPIAiResponseCreate
|
|
6762
|
+
* @param {*} [options] Override http request option.
|
|
6763
|
+
* @throws {RequiredError}
|
|
6764
|
+
*/
|
|
6765
|
+
aiResponsesCreate(aPIAiResponseCreate, options) {
|
|
6766
|
+
return localVarFp.aiResponsesCreate(aPIAiResponseCreate, options).then((request) => request(axios, basePath));
|
|
6767
|
+
},
|
|
5307
6768
|
/**
|
|
5308
6769
|
* Associates a contact with a listing with the OWNER type.
|
|
5309
6770
|
* @summary Create Contact Listing
|
|
@@ -5487,6 +6948,17 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5487
6948
|
emailsUpdate(emailId, aPIEmailUpdate, options) {
|
|
5488
6949
|
return localVarFp.emailsUpdate(emailId, aPIEmailUpdate, options).then((request) => request(axios, basePath));
|
|
5489
6950
|
},
|
|
6951
|
+
/**
|
|
6952
|
+
* Returns a signed URL for uploading a file directly to storage. Workflow: 1. Call this endpoint to obtain an upload URL and canonical file_url. 2. Perform the upload to storage using upload_url and upload_method. 3. Call POST/PATCH with listing_content_type_data.listing_content_type=\"file\" and the provided file_url (plus file_name, file_size, mime_type).
|
|
6953
|
+
* @summary Generate Listing Content Upload Url
|
|
6954
|
+
* @param {string} listingId
|
|
6955
|
+
* @param {UploadURLRequest} uploadURLRequest
|
|
6956
|
+
* @param {*} [options] Override http request option.
|
|
6957
|
+
* @throws {RequiredError}
|
|
6958
|
+
*/
|
|
6959
|
+
generateListingContentUploadURL(listingId, uploadURLRequest, options) {
|
|
6960
|
+
return localVarFp.generateListingContentUploadURL(listingId, uploadURLRequest, options).then((request) => request(axios, basePath));
|
|
6961
|
+
},
|
|
5490
6962
|
/**
|
|
5491
6963
|
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
5492
6964
|
* @summary Get Me
|
|
@@ -5515,6 +6987,79 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5515
6987
|
inquiriesList(contactId, options) {
|
|
5516
6988
|
return localVarFp.inquiriesList(contactId, options).then((request) => request(axios, basePath));
|
|
5517
6989
|
},
|
|
6990
|
+
/**
|
|
6991
|
+
* ListingContent Create
|
|
6992
|
+
* @summary ListingContent Create
|
|
6993
|
+
* @param {string} listingId
|
|
6994
|
+
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
6995
|
+
* @param {*} [options] Override http request option.
|
|
6996
|
+
* @throws {RequiredError}
|
|
6997
|
+
*/
|
|
6998
|
+
listingContentCreate(listingId, aPIListingContentCreate, options) {
|
|
6999
|
+
return localVarFp.listingContentCreate(listingId, aPIListingContentCreate, options).then((request) => request(axios, basePath));
|
|
7000
|
+
},
|
|
7001
|
+
/**
|
|
7002
|
+
* ListingContent Delete
|
|
7003
|
+
* @summary ListingContent Delete
|
|
7004
|
+
* @param {string} listingContentId
|
|
7005
|
+
* @param {*} [options] Override http request option.
|
|
7006
|
+
* @throws {RequiredError}
|
|
7007
|
+
*/
|
|
7008
|
+
listingContentDelete(listingContentId, options) {
|
|
7009
|
+
return localVarFp.listingContentDelete(listingContentId, options).then((request) => request(axios, basePath));
|
|
7010
|
+
},
|
|
7011
|
+
/**
|
|
7012
|
+
* ListingContent Get
|
|
7013
|
+
* @summary ListingContent Get
|
|
7014
|
+
* @param {string} listingContentId
|
|
7015
|
+
* @param {*} [options] Override http request option.
|
|
7016
|
+
* @throws {RequiredError}
|
|
7017
|
+
*/
|
|
7018
|
+
listingContentGet(listingContentId, options) {
|
|
7019
|
+
return localVarFp.listingContentGet(listingContentId, options).then((request) => request(axios, basePath));
|
|
7020
|
+
},
|
|
7021
|
+
/**
|
|
7022
|
+
* ListingContent List
|
|
7023
|
+
* @summary ListingContent List
|
|
7024
|
+
* @param {string} [listingId]
|
|
7025
|
+
* @param {string} [status] Filter by status: active, deleted, or all
|
|
7026
|
+
* @param {*} [options] Override http request option.
|
|
7027
|
+
* @throws {RequiredError}
|
|
7028
|
+
*/
|
|
7029
|
+
listingContentList(listingId, status, options) {
|
|
7030
|
+
return localVarFp.listingContentList(listingId, status, options).then((request) => request(axios, basePath));
|
|
7031
|
+
},
|
|
7032
|
+
/**
|
|
7033
|
+
* ListingContent Update
|
|
7034
|
+
* @summary ListingContent Update
|
|
7035
|
+
* @param {string} listingContentId
|
|
7036
|
+
* @param {APIListingContentUpdate} aPIListingContentUpdate
|
|
7037
|
+
* @param {*} [options] Override http request option.
|
|
7038
|
+
* @throws {RequiredError}
|
|
7039
|
+
*/
|
|
7040
|
+
listingContentUpdate(listingContentId, aPIListingContentUpdate, options) {
|
|
7041
|
+
return localVarFp.listingContentUpdate(listingContentId, aPIListingContentUpdate, options).then((request) => request(axios, basePath));
|
|
7042
|
+
},
|
|
7043
|
+
/**
|
|
7044
|
+
* ListingContentVersions Get
|
|
7045
|
+
* @summary ListingContentVersions Get
|
|
7046
|
+
* @param {string} listingContentVersionId
|
|
7047
|
+
* @param {*} [options] Override http request option.
|
|
7048
|
+
* @throws {RequiredError}
|
|
7049
|
+
*/
|
|
7050
|
+
listingContentVersionsGet(listingContentVersionId, options) {
|
|
7051
|
+
return localVarFp.listingContentVersionsGet(listingContentVersionId, options).then((request) => request(axios, basePath));
|
|
7052
|
+
},
|
|
7053
|
+
/**
|
|
7054
|
+
* ListingContentVersions List
|
|
7055
|
+
* @summary ListingContentVersions List
|
|
7056
|
+
* @param {string} [listingContentId]
|
|
7057
|
+
* @param {*} [options] Override http request option.
|
|
7058
|
+
* @throws {RequiredError}
|
|
7059
|
+
*/
|
|
7060
|
+
listingContentVersionsList(listingContentId, options) {
|
|
7061
|
+
return localVarFp.listingContentVersionsList(listingContentId, options).then((request) => request(axios, basePath));
|
|
7062
|
+
},
|
|
5518
7063
|
/**
|
|
5519
7064
|
* Listings Get
|
|
5520
7065
|
* @summary Listings Get
|
|
@@ -5788,6 +7333,17 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5788
7333
|
addressesUpdate(addressId, aPIAddressUpdate, options) {
|
|
5789
7334
|
return UnboundApiFp(this.configuration).addressesUpdate(addressId, aPIAddressUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
5790
7335
|
}
|
|
7336
|
+
/**
|
|
7337
|
+
* AiResponses Create
|
|
7338
|
+
* @summary AiResponses Create
|
|
7339
|
+
* @param {APIAiResponseCreate} aPIAiResponseCreate
|
|
7340
|
+
* @param {*} [options] Override http request option.
|
|
7341
|
+
* @throws {RequiredError}
|
|
7342
|
+
* @memberof UnboundApi
|
|
7343
|
+
*/
|
|
7344
|
+
aiResponsesCreate(aPIAiResponseCreate, options) {
|
|
7345
|
+
return UnboundApiFp(this.configuration).aiResponsesCreate(aPIAiResponseCreate, options).then((request) => request(this.axios, this.basePath));
|
|
7346
|
+
}
|
|
5791
7347
|
/**
|
|
5792
7348
|
* Associates a contact with a listing with the OWNER type.
|
|
5793
7349
|
* @summary Create Contact Listing
|
|
@@ -5987,6 +7543,18 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5987
7543
|
emailsUpdate(emailId, aPIEmailUpdate, options) {
|
|
5988
7544
|
return UnboundApiFp(this.configuration).emailsUpdate(emailId, aPIEmailUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
5989
7545
|
}
|
|
7546
|
+
/**
|
|
7547
|
+
* Returns a signed URL for uploading a file directly to storage. Workflow: 1. Call this endpoint to obtain an upload URL and canonical file_url. 2. Perform the upload to storage using upload_url and upload_method. 3. Call POST/PATCH with listing_content_type_data.listing_content_type=\"file\" and the provided file_url (plus file_name, file_size, mime_type).
|
|
7548
|
+
* @summary Generate Listing Content Upload Url
|
|
7549
|
+
* @param {string} listingId
|
|
7550
|
+
* @param {UploadURLRequest} uploadURLRequest
|
|
7551
|
+
* @param {*} [options] Override http request option.
|
|
7552
|
+
* @throws {RequiredError}
|
|
7553
|
+
* @memberof UnboundApi
|
|
7554
|
+
*/
|
|
7555
|
+
generateListingContentUploadURL(listingId, uploadURLRequest, options) {
|
|
7556
|
+
return UnboundApiFp(this.configuration).generateListingContentUploadURL(listingId, uploadURLRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7557
|
+
}
|
|
5990
7558
|
/**
|
|
5991
7559
|
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
5992
7560
|
* @summary Get Me
|
|
@@ -6018,6 +7586,86 @@ var UnboundApi = class extends BaseAPI {
|
|
|
6018
7586
|
inquiriesList(contactId, options) {
|
|
6019
7587
|
return UnboundApiFp(this.configuration).inquiriesList(contactId, options).then((request) => request(this.axios, this.basePath));
|
|
6020
7588
|
}
|
|
7589
|
+
/**
|
|
7590
|
+
* ListingContent Create
|
|
7591
|
+
* @summary ListingContent Create
|
|
7592
|
+
* @param {string} listingId
|
|
7593
|
+
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
7594
|
+
* @param {*} [options] Override http request option.
|
|
7595
|
+
* @throws {RequiredError}
|
|
7596
|
+
* @memberof UnboundApi
|
|
7597
|
+
*/
|
|
7598
|
+
listingContentCreate(listingId, aPIListingContentCreate, options) {
|
|
7599
|
+
return UnboundApiFp(this.configuration).listingContentCreate(listingId, aPIListingContentCreate, options).then((request) => request(this.axios, this.basePath));
|
|
7600
|
+
}
|
|
7601
|
+
/**
|
|
7602
|
+
* ListingContent Delete
|
|
7603
|
+
* @summary ListingContent Delete
|
|
7604
|
+
* @param {string} listingContentId
|
|
7605
|
+
* @param {*} [options] Override http request option.
|
|
7606
|
+
* @throws {RequiredError}
|
|
7607
|
+
* @memberof UnboundApi
|
|
7608
|
+
*/
|
|
7609
|
+
listingContentDelete(listingContentId, options) {
|
|
7610
|
+
return UnboundApiFp(this.configuration).listingContentDelete(listingContentId, options).then((request) => request(this.axios, this.basePath));
|
|
7611
|
+
}
|
|
7612
|
+
/**
|
|
7613
|
+
* ListingContent Get
|
|
7614
|
+
* @summary ListingContent Get
|
|
7615
|
+
* @param {string} listingContentId
|
|
7616
|
+
* @param {*} [options] Override http request option.
|
|
7617
|
+
* @throws {RequiredError}
|
|
7618
|
+
* @memberof UnboundApi
|
|
7619
|
+
*/
|
|
7620
|
+
listingContentGet(listingContentId, options) {
|
|
7621
|
+
return UnboundApiFp(this.configuration).listingContentGet(listingContentId, options).then((request) => request(this.axios, this.basePath));
|
|
7622
|
+
}
|
|
7623
|
+
/**
|
|
7624
|
+
* ListingContent List
|
|
7625
|
+
* @summary ListingContent List
|
|
7626
|
+
* @param {string} [listingId]
|
|
7627
|
+
* @param {string} [status] Filter by status: active, deleted, or all
|
|
7628
|
+
* @param {*} [options] Override http request option.
|
|
7629
|
+
* @throws {RequiredError}
|
|
7630
|
+
* @memberof UnboundApi
|
|
7631
|
+
*/
|
|
7632
|
+
listingContentList(listingId, status, options) {
|
|
7633
|
+
return UnboundApiFp(this.configuration).listingContentList(listingId, status, options).then((request) => request(this.axios, this.basePath));
|
|
7634
|
+
}
|
|
7635
|
+
/**
|
|
7636
|
+
* ListingContent Update
|
|
7637
|
+
* @summary ListingContent Update
|
|
7638
|
+
* @param {string} listingContentId
|
|
7639
|
+
* @param {APIListingContentUpdate} aPIListingContentUpdate
|
|
7640
|
+
* @param {*} [options] Override http request option.
|
|
7641
|
+
* @throws {RequiredError}
|
|
7642
|
+
* @memberof UnboundApi
|
|
7643
|
+
*/
|
|
7644
|
+
listingContentUpdate(listingContentId, aPIListingContentUpdate, options) {
|
|
7645
|
+
return UnboundApiFp(this.configuration).listingContentUpdate(listingContentId, aPIListingContentUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
7646
|
+
}
|
|
7647
|
+
/**
|
|
7648
|
+
* ListingContentVersions Get
|
|
7649
|
+
* @summary ListingContentVersions Get
|
|
7650
|
+
* @param {string} listingContentVersionId
|
|
7651
|
+
* @param {*} [options] Override http request option.
|
|
7652
|
+
* @throws {RequiredError}
|
|
7653
|
+
* @memberof UnboundApi
|
|
7654
|
+
*/
|
|
7655
|
+
listingContentVersionsGet(listingContentVersionId, options) {
|
|
7656
|
+
return UnboundApiFp(this.configuration).listingContentVersionsGet(listingContentVersionId, options).then((request) => request(this.axios, this.basePath));
|
|
7657
|
+
}
|
|
7658
|
+
/**
|
|
7659
|
+
* ListingContentVersions List
|
|
7660
|
+
* @summary ListingContentVersions List
|
|
7661
|
+
* @param {string} [listingContentId]
|
|
7662
|
+
* @param {*} [options] Override http request option.
|
|
7663
|
+
* @throws {RequiredError}
|
|
7664
|
+
* @memberof UnboundApi
|
|
7665
|
+
*/
|
|
7666
|
+
listingContentVersionsList(listingContentId, options) {
|
|
7667
|
+
return UnboundApiFp(this.configuration).listingContentVersionsList(listingContentId, options).then((request) => request(this.axios, this.basePath));
|
|
7668
|
+
}
|
|
6021
7669
|
/**
|
|
6022
7670
|
* Listings Get
|
|
6023
7671
|
* @summary Listings Get
|
|
@@ -6322,8 +7970,8 @@ var UserDevicesApiFp = function(configuration) {
|
|
|
6322
7970
|
*/
|
|
6323
7971
|
async userDevicesCreate(aPIUserDeviceCreate, options) {
|
|
6324
7972
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userDevicesCreate(aPIUserDeviceCreate, options);
|
|
6325
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6326
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7973
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _442 => _442.serverIndex]), () => ( 0));
|
|
7974
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _443 => _443["UserDevicesApi.userDevicesCreate"], 'optionalAccess', _444 => _444[localVarOperationServerIndex], 'optionalAccess', _445 => _445.url]);
|
|
6327
7975
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6328
7976
|
},
|
|
6329
7977
|
/**
|
|
@@ -6335,8 +7983,8 @@ var UserDevicesApiFp = function(configuration) {
|
|
|
6335
7983
|
*/
|
|
6336
7984
|
async userDevicesDelete(userDeviceId, options) {
|
|
6337
7985
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userDevicesDelete(userDeviceId, options);
|
|
6338
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6339
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
7986
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _446 => _446.serverIndex]), () => ( 0));
|
|
7987
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _447 => _447["UserDevicesApi.userDevicesDelete"], 'optionalAccess', _448 => _448[localVarOperationServerIndex], 'optionalAccess', _449 => _449.url]);
|
|
6340
7988
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6341
7989
|
}
|
|
6342
7990
|
};
|
|
@@ -6459,7 +8107,7 @@ var Configuration = class {
|
|
|
6459
8107
|
this.baseOptions = {
|
|
6460
8108
|
...param.baseOptions,
|
|
6461
8109
|
headers: {
|
|
6462
|
-
..._optionalChain([param, 'access',
|
|
8110
|
+
..._optionalChain([param, 'access', _450 => _450.baseOptions, 'optionalAccess', _451 => _451.headers])
|
|
6463
8111
|
}
|
|
6464
8112
|
};
|
|
6465
8113
|
this.formDataCtor = param.formDataCtor;
|
|
@@ -6577,5 +8225,18 @@ var Configuration = class {
|
|
|
6577
8225
|
|
|
6578
8226
|
|
|
6579
8227
|
|
|
6580
|
-
|
|
8228
|
+
|
|
8229
|
+
|
|
8230
|
+
|
|
8231
|
+
|
|
8232
|
+
|
|
8233
|
+
|
|
8234
|
+
|
|
8235
|
+
|
|
8236
|
+
|
|
8237
|
+
|
|
8238
|
+
|
|
8239
|
+
|
|
8240
|
+
|
|
8241
|
+
exports.APIListingContentStatusEnum = APIListingContentStatusEnum; exports.AccountsApi = AccountsApi; exports.AccountsApiAxiosParamCreator = AccountsApiAxiosParamCreator; exports.AccountsApiFactory = AccountsApiFactory; exports.AccountsApiFp = AccountsApiFp; exports.AiResponsesApi = AiResponsesApi; exports.AiResponsesApiAxiosParamCreator = AiResponsesApiAxiosParamCreator; exports.AiResponsesApiFactory = AiResponsesApiFactory; exports.AiResponsesApiFp = AiResponsesApiFp; exports.AuthApi = AuthApi; exports.AuthApiAxiosParamCreator = AuthApiAxiosParamCreator; exports.AuthApiFactory = AuthApiFactory; exports.AuthApiFp = AuthApiFp; exports.BotApiParticipantTypeEnum = BotApiParticipantTypeEnum; exports.Configuration = Configuration; exports.ContactListingType = ContactListingType; exports.ContactsApi = ContactsApi; exports.ContactsApiAxiosParamCreator = ContactsApiAxiosParamCreator; exports.ContactsApiFactory = ContactsApiFactory; exports.ContactsApiFp = ContactsApiFp; exports.ConversationStatus = ConversationStatus; exports.ConversationsApi = ConversationsApi; exports.ConversationsApiAxiosParamCreator = ConversationsApiAxiosParamCreator; exports.ConversationsApiFactory = ConversationsApiFactory; exports.ConversationsApiFp = ConversationsApiFp; exports.EmailConversationDataApiConversationTypeEnum = EmailConversationDataApiConversationTypeEnum; exports.EmailInboxApiInboxTypeEnum = EmailInboxApiInboxTypeEnum; exports.EmailProviderMessageApiMessageTypeEnum = EmailProviderMessageApiMessageTypeEnum; exports.ExternalStaffApiStaffTypeEnum = ExternalStaffApiStaffTypeEnum; exports.FileListingContentApiListingContentTypeEnum = FileListingContentApiListingContentTypeEnum; exports.GuestApiParticipantTypeEnum = GuestApiParticipantTypeEnum; exports.HostawayApi = HostawayApi; exports.HostawayApiAxiosParamCreator = HostawayApiAxiosParamCreator; exports.HostawayApiFactory = HostawayApiFactory; exports.HostawayApiFp = HostawayApiFp; exports.InboxesApi = InboxesApi; exports.InboxesApiAxiosParamCreator = InboxesApiAxiosParamCreator; exports.InboxesApiFactory = InboxesApiFactory; exports.InboxesApiFp = InboxesApiFp; exports.InquiriesApi = InquiriesApi; exports.InquiriesApiAxiosParamCreator = InquiriesApiAxiosParamCreator; exports.InquiriesApiFactory = InquiriesApiFactory; exports.InquiriesApiFp = InquiriesApiFp; exports.InternalStaffApiStaffTypeEnum = InternalStaffApiStaffTypeEnum; exports.ListingContentApi = ListingContentApi; exports.ListingContentApiAxiosParamCreator = ListingContentApiAxiosParamCreator; exports.ListingContentApiFactory = ListingContentApiFactory; exports.ListingContentApiFp = ListingContentApiFp; exports.ListingsApi = ListingsApi; exports.ListingsApiAxiosParamCreator = ListingsApiAxiosParamCreator; exports.ListingsApiFactory = ListingsApiFactory; exports.ListingsApiFp = ListingsApiFp; exports.ManagedPhoneNumbersApi = ManagedPhoneNumbersApi; exports.ManagedPhoneNumbersApiAxiosParamCreator = ManagedPhoneNumbersApiAxiosParamCreator; exports.ManagedPhoneNumbersApiFactory = ManagedPhoneNumbersApiFactory; exports.ManagedPhoneNumbersApiFp = ManagedPhoneNumbersApiFp; exports.MessageDirection = MessageDirection; exports.MessageStatus = MessageStatus; exports.PaginationDirection = PaginationDirection; exports.PhoneInboxApiInboxTypeEnum = PhoneInboxApiInboxTypeEnum; exports.PlainTextListingContentApiListingContentTypeEnum = PlainTextListingContentApiListingContentTypeEnum; exports.ProviderAccountInboxApiInboxTypeEnum = ProviderAccountInboxApiInboxTypeEnum; exports.ProviderCommunicationTypeInput = ProviderCommunicationTypeInput; exports.ProviderConversationDataApiConversationTypeEnum = ProviderConversationDataApiConversationTypeEnum; exports.ProviderStaffApiStaffTypeEnum = ProviderStaffApiStaffTypeEnum; exports.ProvidersApi = ProvidersApi; exports.ProvidersApiAxiosParamCreator = ProvidersApiAxiosParamCreator; exports.ProvidersApiFactory = ProvidersApiFactory; exports.ProvidersApiFp = ProvidersApiFp; exports.RentalProviderMessageApiMessageTypeEnum = RentalProviderMessageApiMessageTypeEnum; exports.RentalProviderTypes = RentalProviderTypes; exports.ReservationChannelTypes = ReservationChannelTypes; exports.ReservationStatus = ReservationStatus; exports.ReservationsApi = ReservationsApi; exports.ReservationsApiAxiosParamCreator = ReservationsApiAxiosParamCreator; exports.ReservationsApiFactory = ReservationsApiFactory; exports.ReservationsApiFp = ReservationsApiFp; exports.SMSConversationDataApiConversationTypeEnum = SMSConversationDataApiConversationTypeEnum; exports.SMSInboundSenderTypeDataApiDirectionEnum = SMSInboundSenderTypeDataApiDirectionEnum; exports.SMSMessageApiMessageTypeEnum = SMSMessageApiMessageTypeEnum; exports.SMSMessageStatus = SMSMessageStatus; exports.SMSOutboundSenderTypeDataApiDirectionEnum = SMSOutboundSenderTypeDataApiDirectionEnum; exports.SortOrder = SortOrder; exports.SrcResourceModelsContactsModelContactsModelContactSortBy = SrcResourceModelsContactsModelContactsModelContactSortBy; exports.SrcResourceModelsConversationsModelConversationsHelperModelsProviderCommunicationType = SrcResourceModelsConversationsModelConversationsHelperModelsProviderCommunicationType; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi1ConversationTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi2MessageTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi3MessageTypeEnum; exports.SrcResourceModelsHelperModelsCustomBaseModelCreateApi4MessageTypeEnum = SrcResourceModelsHelperModelsCustomBaseModelCreateApi4MessageTypeEnum; exports.SrcResourceModelsListingsModelListingBaseSortBy = SrcResourceModelsListingsModelListingBaseSortBy; exports.SrcResourceModelsMessagesModelMessagesHelperModelsProviderCommunicationType = SrcResourceModelsMessagesModelMessagesHelperModelsProviderCommunicationType; exports.SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy = SrcResourceModelsMessagesModelMessagesModelBaseMessageSortBy; exports.SrcResourceModelsReservationsModelReservationBaseModelSortBy = SrcResourceModelsReservationsModelReservationBaseModelSortBy; exports.StaffApiParticipantTypeEnum = StaffApiParticipantTypeEnum; exports.SuggestionRejectionReasonType = SuggestionRejectionReasonType; exports.SuggestionStatus = SuggestionStatus; exports.TelnyxApi = TelnyxApi; exports.TelnyxApiAxiosParamCreator = TelnyxApiAxiosParamCreator; exports.TelnyxApiFactory = TelnyxApiFactory; exports.TelnyxApiFp = TelnyxApiFp; exports.URLListingContentApiListingContentTypeEnum = URLListingContentApiListingContentTypeEnum; exports.UnboundApi = UnboundApi; exports.UnboundApiAxiosParamCreator = UnboundApiAxiosParamCreator; exports.UnboundApiFactory = UnboundApiFactory; exports.UnboundApiFp = UnboundApiFp; exports.UserDeviceOs = UserDeviceOs; exports.UserDevicesApi = UserDevicesApi; exports.UserDevicesApiAxiosParamCreator = UserDevicesApiAxiosParamCreator; exports.UserDevicesApiFactory = UserDevicesApiFactory; exports.UserDevicesApiFp = UserDevicesApiFp;
|
|
6581
8242
|
//# sourceMappingURL=index.js.map
|