@ember-home/unbound-ts-client 0.0.96 → 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 +1462 -62
- package/dist/index.d.ts +1462 -62
- package/dist/index.js +1920 -270
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1841 -191
- 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
|
};
|
|
@@ -254,6 +264,9 @@ var SuggestionStatus = {
|
|
|
254
264
|
ReplyGenerated: "REPLY_GENERATED",
|
|
255
265
|
NoAvailableReply: "NO_AVAILABLE_REPLY"
|
|
256
266
|
};
|
|
267
|
+
var URLListingContentApiListingContentTypeEnum = {
|
|
268
|
+
Url: "url"
|
|
269
|
+
};
|
|
257
270
|
var UserDeviceOs = {
|
|
258
271
|
Android: "ANDROID",
|
|
259
272
|
Ios: "IOS",
|
|
@@ -331,6 +344,84 @@ var AccountsApi = class extends BaseAPI {
|
|
|
331
344
|
return AccountsApiFp(this.configuration).accountsList(options).then((request) => request(this.axios, this.basePath));
|
|
332
345
|
}
|
|
333
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
|
+
};
|
|
334
425
|
var AuthApiAxiosParamCreator = function(configuration) {
|
|
335
426
|
return {
|
|
336
427
|
/**
|
|
@@ -370,8 +461,8 @@ var AuthApiFp = function(configuration) {
|
|
|
370
461
|
*/
|
|
371
462
|
async getMe(options) {
|
|
372
463
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getMe(options);
|
|
373
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
374
|
-
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]);
|
|
375
466
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
376
467
|
}
|
|
377
468
|
};
|
|
@@ -1009,8 +1100,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1009
1100
|
*/
|
|
1010
1101
|
async addressesCreate(contactId, aPIAddressCreate, options) {
|
|
1011
1102
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, aPIAddressCreate, options);
|
|
1012
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1013
|
-
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]);
|
|
1014
1105
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1015
1106
|
},
|
|
1016
1107
|
/**
|
|
@@ -1022,8 +1113,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1022
1113
|
*/
|
|
1023
1114
|
async addressesDelete(addressId, options) {
|
|
1024
1115
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesDelete(addressId, options);
|
|
1025
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1026
|
-
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]);
|
|
1027
1118
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1028
1119
|
},
|
|
1029
1120
|
/**
|
|
@@ -1035,8 +1126,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1035
1126
|
*/
|
|
1036
1127
|
async addressesGet(addressId, options) {
|
|
1037
1128
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesGet(addressId, options);
|
|
1038
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1039
|
-
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]);
|
|
1040
1131
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1041
1132
|
},
|
|
1042
1133
|
/**
|
|
@@ -1049,8 +1140,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1049
1140
|
*/
|
|
1050
1141
|
async addressesUpdate(addressId, aPIAddressUpdate, options) {
|
|
1051
1142
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, aPIAddressUpdate, options);
|
|
1052
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1053
|
-
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]);
|
|
1054
1145
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1055
1146
|
},
|
|
1056
1147
|
/**
|
|
@@ -1064,8 +1155,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1064
1155
|
*/
|
|
1065
1156
|
async contactsAddListing(contactId, listingId, createContactListing, options) {
|
|
1066
1157
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsAddListing(contactId, listingId, createContactListing, options);
|
|
1067
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1068
|
-
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]);
|
|
1069
1160
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1070
1161
|
},
|
|
1071
1162
|
/**
|
|
@@ -1077,8 +1168,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1077
1168
|
*/
|
|
1078
1169
|
async contactsCreate(contactcreate, options) {
|
|
1079
1170
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsCreate(contactcreate, options);
|
|
1080
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1081
|
-
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]);
|
|
1082
1173
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1083
1174
|
},
|
|
1084
1175
|
/**
|
|
@@ -1090,8 +1181,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1090
1181
|
*/
|
|
1091
1182
|
async contactsDelete(contactId, options) {
|
|
1092
1183
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsDelete(contactId, options);
|
|
1093
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1094
|
-
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]);
|
|
1095
1186
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1096
1187
|
},
|
|
1097
1188
|
/**
|
|
@@ -1103,8 +1194,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1103
1194
|
*/
|
|
1104
1195
|
async contactsGet(contactId, options) {
|
|
1105
1196
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsGet(contactId, options);
|
|
1106
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1107
|
-
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]);
|
|
1108
1199
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1109
1200
|
},
|
|
1110
1201
|
/**
|
|
@@ -1121,8 +1212,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1121
1212
|
*/
|
|
1122
1213
|
async contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1123
1214
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
1124
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1125
|
-
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]);
|
|
1126
1217
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1127
1218
|
},
|
|
1128
1219
|
/**
|
|
@@ -1136,8 +1227,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1136
1227
|
*/
|
|
1137
1228
|
async contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
|
|
1138
1229
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsRemoveListing(contactId, listingId, deleteContactListing, options);
|
|
1139
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1140
|
-
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]);
|
|
1141
1232
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1142
1233
|
},
|
|
1143
1234
|
/**
|
|
@@ -1150,8 +1241,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1150
1241
|
*/
|
|
1151
1242
|
async contactsUpdate(contactId, aPIContactUpdate, options) {
|
|
1152
1243
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdate(contactId, aPIContactUpdate, options);
|
|
1153
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1154
|
-
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]);
|
|
1155
1246
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1156
1247
|
},
|
|
1157
1248
|
/**
|
|
@@ -1165,8 +1256,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1165
1256
|
*/
|
|
1166
1257
|
async contactsUpdateListing(contactId, listingId, updateContactListing, options) {
|
|
1167
1258
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdateListing(contactId, listingId, updateContactListing, options);
|
|
1168
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1169
|
-
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]);
|
|
1170
1261
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1171
1262
|
},
|
|
1172
1263
|
/**
|
|
@@ -1179,8 +1270,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1179
1270
|
*/
|
|
1180
1271
|
async emailsCreate(contactId, aPIEmailCreate, options) {
|
|
1181
1272
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, aPIEmailCreate, options);
|
|
1182
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1183
|
-
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]);
|
|
1184
1275
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1185
1276
|
},
|
|
1186
1277
|
/**
|
|
@@ -1192,8 +1283,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1192
1283
|
*/
|
|
1193
1284
|
async emailsDelete(emailId, options) {
|
|
1194
1285
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
1195
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1196
|
-
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]);
|
|
1197
1288
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1198
1289
|
},
|
|
1199
1290
|
/**
|
|
@@ -1205,8 +1296,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1205
1296
|
*/
|
|
1206
1297
|
async emailsGet(emailId, options) {
|
|
1207
1298
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsGet(emailId, options);
|
|
1208
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1209
|
-
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]);
|
|
1210
1301
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1211
1302
|
},
|
|
1212
1303
|
/**
|
|
@@ -1219,8 +1310,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1219
1310
|
*/
|
|
1220
1311
|
async emailsUpdate(emailId, aPIEmailUpdate, options) {
|
|
1221
1312
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsUpdate(emailId, aPIEmailUpdate, options);
|
|
1222
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1223
|
-
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]);
|
|
1224
1315
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1225
1316
|
},
|
|
1226
1317
|
/**
|
|
@@ -1233,8 +1324,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1233
1324
|
*/
|
|
1234
1325
|
async phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
1235
1326
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, aPIPhoneCreate, options);
|
|
1236
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1237
|
-
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]);
|
|
1238
1329
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1239
1330
|
},
|
|
1240
1331
|
/**
|
|
@@ -1246,8 +1337,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1246
1337
|
*/
|
|
1247
1338
|
async phonesDelete(phoneId, options) {
|
|
1248
1339
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
1249
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1250
|
-
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]);
|
|
1251
1342
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1252
1343
|
},
|
|
1253
1344
|
/**
|
|
@@ -1259,8 +1350,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1259
1350
|
*/
|
|
1260
1351
|
async phonesGet(phoneId, options) {
|
|
1261
1352
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesGet(phoneId, options);
|
|
1262
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1263
|
-
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]);
|
|
1264
1355
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1265
1356
|
},
|
|
1266
1357
|
/**
|
|
@@ -1273,8 +1364,8 @@ var ContactsApiFp = function(configuration) {
|
|
|
1273
1364
|
*/
|
|
1274
1365
|
async phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
1275
1366
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesUpdate(phoneId, aPIPhoneUpdate, options);
|
|
1276
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1277
|
-
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]);
|
|
1278
1369
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1279
1370
|
}
|
|
1280
1371
|
};
|
|
@@ -1883,8 +1974,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1883
1974
|
*/
|
|
1884
1975
|
async messagesCreate(conversationId, messagecreate, options) {
|
|
1885
1976
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, messagecreate, options);
|
|
1886
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1887
|
-
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]);
|
|
1888
1979
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1889
1980
|
},
|
|
1890
1981
|
/**
|
|
@@ -1896,8 +1987,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1896
1987
|
*/
|
|
1897
1988
|
async messagesGet(messageId, options) {
|
|
1898
1989
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
1899
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1900
|
-
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]);
|
|
1901
1992
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1902
1993
|
},
|
|
1903
1994
|
/**
|
|
@@ -1919,8 +2010,8 @@ var ConversationsApiFp = function(configuration) {
|
|
|
1919
2010
|
*/
|
|
1920
2011
|
async messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
1921
2012
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
1922
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
1923
|
-
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]);
|
|
1924
2015
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1925
2016
|
}
|
|
1926
2017
|
};
|
|
@@ -2062,8 +2153,8 @@ var HostawayApiFp = function(configuration) {
|
|
|
2062
2153
|
*/
|
|
2063
2154
|
async webhook(body, options) {
|
|
2064
2155
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(body, options);
|
|
2065
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2066
|
-
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]);
|
|
2067
2158
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2068
2159
|
}
|
|
2069
2160
|
};
|
|
@@ -2279,8 +2370,8 @@ var InboxesApiFp = function(configuration) {
|
|
|
2279
2370
|
*/
|
|
2280
2371
|
async conversationsCreate(inboxId, aPIConversationCreate, options) {
|
|
2281
2372
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsCreate(inboxId, aPIConversationCreate, options);
|
|
2282
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2283
|
-
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]);
|
|
2284
2375
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2285
2376
|
},
|
|
2286
2377
|
/**
|
|
@@ -2292,8 +2383,8 @@ var InboxesApiFp = function(configuration) {
|
|
|
2292
2383
|
*/
|
|
2293
2384
|
async conversationsGet(conversationId, options) {
|
|
2294
2385
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsGet(conversationId, options);
|
|
2295
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2296
|
-
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]);
|
|
2297
2388
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2298
2389
|
},
|
|
2299
2390
|
/**
|
|
@@ -2312,8 +2403,8 @@ var InboxesApiFp = function(configuration) {
|
|
|
2312
2403
|
*/
|
|
2313
2404
|
async conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
2314
2405
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options);
|
|
2315
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2316
|
-
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]);
|
|
2317
2408
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2318
2409
|
},
|
|
2319
2410
|
/**
|
|
@@ -2326,8 +2417,8 @@ var InboxesApiFp = function(configuration) {
|
|
|
2326
2417
|
*/
|
|
2327
2418
|
async conversationsUpdate(conversationId, aPIConversationUpdate, options) {
|
|
2328
2419
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsUpdate(conversationId, aPIConversationUpdate, options);
|
|
2329
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2330
|
-
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]);
|
|
2331
2422
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2332
2423
|
},
|
|
2333
2424
|
/**
|
|
@@ -2338,8 +2429,8 @@ var InboxesApiFp = function(configuration) {
|
|
|
2338
2429
|
*/
|
|
2339
2430
|
async inboxesList(options) {
|
|
2340
2431
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inboxesList(options);
|
|
2341
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2342
|
-
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]);
|
|
2343
2434
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2344
2435
|
}
|
|
2345
2436
|
};
|
|
@@ -2516,8 +2607,8 @@ var InquiriesApiFp = function(configuration) {
|
|
|
2516
2607
|
*/
|
|
2517
2608
|
async inquiriesList(contactId, options) {
|
|
2518
2609
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
2519
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2520
|
-
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]);
|
|
2521
2612
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2522
2613
|
}
|
|
2523
2614
|
};
|
|
@@ -2550,157 +2641,1130 @@ var InquiriesApi = class extends BaseAPI {
|
|
|
2550
2641
|
return InquiriesApiFp(this.configuration).inquiriesList(contactId, options).then((request) => request(this.axios, this.basePath));
|
|
2551
2642
|
}
|
|
2552
2643
|
};
|
|
2553
|
-
var
|
|
2644
|
+
var ListingContentApiAxiosParamCreator = function(configuration) {
|
|
2554
2645
|
return {
|
|
2555
2646
|
/**
|
|
2556
|
-
*
|
|
2557
|
-
* @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
|
|
2558
2649
|
* @param {string} listingId
|
|
2650
|
+
* @param {UploadURLRequest} uploadURLRequest
|
|
2559
2651
|
* @param {*} [options] Override http request option.
|
|
2560
2652
|
* @throws {RequiredError}
|
|
2561
2653
|
*/
|
|
2562
|
-
|
|
2563
|
-
assertParamExists("
|
|
2564
|
-
|
|
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)));
|
|
2565
2658
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2566
2659
|
let baseOptions;
|
|
2567
2660
|
if (configuration) {
|
|
2568
2661
|
baseOptions = configuration.baseOptions;
|
|
2569
2662
|
}
|
|
2570
|
-
const localVarRequestOptions = { method: "
|
|
2663
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2571
2664
|
const localVarHeaderParameter = {};
|
|
2572
2665
|
const localVarQueryParameter = {};
|
|
2666
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2573
2667
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2574
2668
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2575
2669
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2670
|
+
localVarRequestOptions.data = serializeDataIfNeeded(uploadURLRequest, localVarRequestOptions, configuration);
|
|
2576
2671
|
return {
|
|
2577
2672
|
url: toPathString(localVarUrlObj),
|
|
2578
2673
|
options: localVarRequestOptions
|
|
2579
2674
|
};
|
|
2580
2675
|
},
|
|
2581
2676
|
/**
|
|
2582
|
-
*
|
|
2583
|
-
* @summary
|
|
2584
|
-
* @param {string
|
|
2585
|
-
* @param {
|
|
2586
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2587
|
-
* @param {number} [limit]
|
|
2588
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2589
|
-
* @param {SrcResourceModelsListingsModelListingBaseSortBy} [sortBy] Sort key
|
|
2590
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2677
|
+
* ListingContent Create
|
|
2678
|
+
* @summary ListingContent Create
|
|
2679
|
+
* @param {string} listingId
|
|
2680
|
+
* @param {APIListingContentCreate} aPIListingContentCreate
|
|
2591
2681
|
* @param {*} [options] Override http request option.
|
|
2592
2682
|
* @throws {RequiredError}
|
|
2593
2683
|
*/
|
|
2594
|
-
|
|
2595
|
-
|
|
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)));
|
|
2596
2688
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2597
2689
|
let baseOptions;
|
|
2598
2690
|
if (configuration) {
|
|
2599
2691
|
baseOptions = configuration.baseOptions;
|
|
2600
2692
|
}
|
|
2601
|
-
const localVarRequestOptions = { method: "
|
|
2693
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2602
2694
|
const localVarHeaderParameter = {};
|
|
2603
2695
|
const localVarQueryParameter = {};
|
|
2604
|
-
|
|
2605
|
-
localVarQueryParameter["searchString"] = searchString;
|
|
2606
|
-
}
|
|
2607
|
-
if (contactId !== void 0) {
|
|
2608
|
-
localVarQueryParameter["contactId"] = contactId;
|
|
2609
|
-
}
|
|
2610
|
-
if (cursor !== void 0) {
|
|
2611
|
-
localVarQueryParameter["cursor"] = cursor;
|
|
2612
|
-
}
|
|
2613
|
-
if (limit !== void 0) {
|
|
2614
|
-
localVarQueryParameter["limit"] = limit;
|
|
2615
|
-
}
|
|
2616
|
-
if (pageDir !== void 0) {
|
|
2617
|
-
localVarQueryParameter["pageDir"] = pageDir;
|
|
2618
|
-
}
|
|
2619
|
-
if (sortBy !== void 0) {
|
|
2620
|
-
localVarQueryParameter["sortBy"] = sortBy;
|
|
2621
|
-
}
|
|
2622
|
-
if (sortOrder !== void 0) {
|
|
2623
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
2624
|
-
}
|
|
2696
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2625
2697
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2626
2698
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2627
2699
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2700
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aPIListingContentCreate, localVarRequestOptions, configuration);
|
|
2628
2701
|
return {
|
|
2629
2702
|
url: toPathString(localVarUrlObj),
|
|
2630
2703
|
options: localVarRequestOptions
|
|
2631
2704
|
};
|
|
2632
|
-
}
|
|
2633
|
-
};
|
|
2634
|
-
};
|
|
2635
|
-
var ListingsApiFp = function(configuration) {
|
|
2636
|
-
const localVarAxiosParamCreator = ListingsApiAxiosParamCreator(configuration);
|
|
2637
|
-
return {
|
|
2705
|
+
},
|
|
2638
2706
|
/**
|
|
2639
|
-
*
|
|
2640
|
-
* @summary
|
|
2641
|
-
* @param {string}
|
|
2707
|
+
* ListingContent Delete
|
|
2708
|
+
* @summary ListingContent Delete
|
|
2709
|
+
* @param {string} listingContentId
|
|
2642
2710
|
* @param {*} [options] Override http request option.
|
|
2643
2711
|
* @throws {RequiredError}
|
|
2644
2712
|
*/
|
|
2645
|
-
async
|
|
2646
|
-
|
|
2647
|
-
const
|
|
2648
|
-
const
|
|
2649
|
-
|
|
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
|
+
};
|
|
2650
2731
|
},
|
|
2651
2732
|
/**
|
|
2652
|
-
*
|
|
2653
|
-
* @summary
|
|
2654
|
-
* @param {string
|
|
2655
|
-
* @param {string | null} [contactId]
|
|
2656
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2657
|
-
* @param {number} [limit]
|
|
2658
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2659
|
-
* @param {SrcResourceModelsListingsModelListingBaseSortBy} [sortBy] Sort key
|
|
2660
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2733
|
+
* ListingContent Get
|
|
2734
|
+
* @summary ListingContent Get
|
|
2735
|
+
* @param {string} listingContentId
|
|
2661
2736
|
* @param {*} [options] Override http request option.
|
|
2662
2737
|
* @throws {RequiredError}
|
|
2663
2738
|
*/
|
|
2664
|
-
async
|
|
2665
|
-
|
|
2666
|
-
const
|
|
2667
|
-
const
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
}
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
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
|
+
},
|
|
2675
2758
|
/**
|
|
2676
|
-
*
|
|
2677
|
-
* @summary
|
|
2678
|
-
* @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
|
|
2679
2763
|
* @param {*} [options] Override http request option.
|
|
2680
2764
|
* @throws {RequiredError}
|
|
2681
2765
|
*/
|
|
2682
|
-
|
|
2683
|
-
|
|
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
|
+
};
|
|
2684
2789
|
},
|
|
2685
2790
|
/**
|
|
2686
|
-
*
|
|
2687
|
-
* @summary
|
|
2688
|
-
* @param {string
|
|
2689
|
-
* @param {
|
|
2690
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2691
|
-
* @param {number} [limit]
|
|
2692
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2693
|
-
* @param {SrcResourceModelsListingsModelListingBaseSortBy} [sortBy] Sort key
|
|
2694
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2791
|
+
* ListingContent Update
|
|
2792
|
+
* @summary ListingContent Update
|
|
2793
|
+
* @param {string} listingContentId
|
|
2794
|
+
* @param {APIListingContentUpdate} aPIListingContentUpdate
|
|
2695
2795
|
* @param {*} [options] Override http request option.
|
|
2696
2796
|
* @throws {RequiredError}
|
|
2697
2797
|
*/
|
|
2698
|
-
|
|
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
|
|
3701
|
+
* @param {*} [options] Override http request option.
|
|
3702
|
+
* @throws {RequiredError}
|
|
3703
|
+
*/
|
|
3704
|
+
listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2699
3705
|
return localVarFp.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
2700
3706
|
}
|
|
2701
3707
|
};
|
|
2702
3708
|
};
|
|
2703
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
|
+
}
|
|
2704
3768
|
/**
|
|
2705
3769
|
* Listings Get
|
|
2706
3770
|
* @summary Listings Get
|
|
@@ -2769,8 +3833,8 @@ var ManagedPhoneNumbersApiFp = function(configuration) {
|
|
|
2769
3833
|
*/
|
|
2770
3834
|
async managedPhoneNumbersList(options) {
|
|
2771
3835
|
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
2772
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2773
|
-
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]);
|
|
2774
3838
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2775
3839
|
}
|
|
2776
3840
|
};
|
|
@@ -2925,8 +3989,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2925
3989
|
*/
|
|
2926
3990
|
async providersCreate(aPIProviderCreate, options) {
|
|
2927
3991
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(aPIProviderCreate, options);
|
|
2928
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2929
|
-
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]);
|
|
2930
3994
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2931
3995
|
},
|
|
2932
3996
|
/**
|
|
@@ -2938,8 +4002,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2938
4002
|
*/
|
|
2939
4003
|
async providersGet(providerId, options) {
|
|
2940
4004
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
2941
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2942
|
-
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]);
|
|
2943
4007
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2944
4008
|
},
|
|
2945
4009
|
/**
|
|
@@ -2950,8 +4014,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2950
4014
|
*/
|
|
2951
4015
|
async providersList(options) {
|
|
2952
4016
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
2953
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2954
|
-
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]);
|
|
2955
4019
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2956
4020
|
},
|
|
2957
4021
|
/**
|
|
@@ -2964,8 +4028,8 @@ var ProvidersApiFp = function(configuration) {
|
|
|
2964
4028
|
*/
|
|
2965
4029
|
async providersUpdate(providerId, aPIProviderUpdate, options) {
|
|
2966
4030
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, aPIProviderUpdate, options);
|
|
2967
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
2968
|
-
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]);
|
|
2969
4033
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2970
4034
|
}
|
|
2971
4035
|
};
|
|
@@ -3155,8 +4219,8 @@ var ReservationsApiFp = function(configuration) {
|
|
|
3155
4219
|
*/
|
|
3156
4220
|
async reservationsGet(reservationId, options) {
|
|
3157
4221
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
3158
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
3159
|
-
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]);
|
|
3160
4224
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3161
4225
|
},
|
|
3162
4226
|
/**
|
|
@@ -3174,8 +4238,8 @@ var ReservationsApiFp = function(configuration) {
|
|
|
3174
4238
|
*/
|
|
3175
4239
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
3176
4240
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
3177
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
3178
|
-
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]);
|
|
3179
4243
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3180
4244
|
}
|
|
3181
4245
|
};
|
|
@@ -3285,8 +4349,8 @@ var TelnyxApiFp = function(configuration) {
|
|
|
3285
4349
|
*/
|
|
3286
4350
|
async telnyxWebhookTelnyxWebhooksPost(requestBody, options) {
|
|
3287
4351
|
const localVarAxiosArgs = await localVarAxiosParamCreator.telnyxWebhookTelnyxWebhooksPost(requestBody, options);
|
|
3288
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
3289
|
-
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]);
|
|
3290
4354
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3291
4355
|
}
|
|
3292
4356
|
};
|
|
@@ -3457,6 +4521,34 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3457
4521
|
options: localVarRequestOptions
|
|
3458
4522
|
};
|
|
3459
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
|
+
},
|
|
3460
4552
|
/**
|
|
3461
4553
|
* Associates a contact with a listing with the OWNER type.
|
|
3462
4554
|
* @summary Create Contact Listing
|
|
@@ -3965,6 +5057,36 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3965
5057
|
options: localVarRequestOptions
|
|
3966
5058
|
};
|
|
3967
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
|
+
},
|
|
3968
5090
|
/**
|
|
3969
5091
|
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
3970
5092
|
* @summary Get Me
|
|
@@ -3990,13 +5112,211 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
3990
5112
|
};
|
|
3991
5113
|
},
|
|
3992
5114
|
/**
|
|
3993
|
-
* Inboxes List
|
|
3994
|
-
* @summary Inboxes List
|
|
5115
|
+
* Inboxes List
|
|
5116
|
+
* @summary Inboxes List
|
|
5117
|
+
* @param {*} [options] Override http request option.
|
|
5118
|
+
* @throws {RequiredError}
|
|
5119
|
+
*/
|
|
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
|
|
3995
5314
|
* @param {*} [options] Override http request option.
|
|
3996
5315
|
* @throws {RequiredError}
|
|
3997
5316
|
*/
|
|
3998
|
-
|
|
3999
|
-
|
|
5317
|
+
listingContentVersionsGet: async (listingContentVersionId, options = {}) => {
|
|
5318
|
+
assertParamExists("listingContentVersionsGet", "listingContentVersionId", listingContentVersionId);
|
|
5319
|
+
const localVarPath = `/v1/listingContentVersions/{listingContentVersionId}`.replace(`{${"listingContentVersionId"}}`, encodeURIComponent(String(listingContentVersionId)));
|
|
4000
5320
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4001
5321
|
let baseOptions;
|
|
4002
5322
|
if (configuration) {
|
|
@@ -4014,14 +5334,14 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4014
5334
|
};
|
|
4015
5335
|
},
|
|
4016
5336
|
/**
|
|
4017
|
-
* List
|
|
4018
|
-
* @summary
|
|
4019
|
-
* @param {string} [
|
|
5337
|
+
* ListingContentVersions List
|
|
5338
|
+
* @summary ListingContentVersions List
|
|
5339
|
+
* @param {string} [listingContentId]
|
|
4020
5340
|
* @param {*} [options] Override http request option.
|
|
4021
5341
|
* @throws {RequiredError}
|
|
4022
5342
|
*/
|
|
4023
|
-
|
|
4024
|
-
const localVarPath = `/v1/
|
|
5343
|
+
listingContentVersionsList: async (listingContentId, options = {}) => {
|
|
5344
|
+
const localVarPath = `/v1/listingContentVersions`;
|
|
4025
5345
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4026
5346
|
let baseOptions;
|
|
4027
5347
|
if (configuration) {
|
|
@@ -4030,8 +5350,8 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4030
5350
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
4031
5351
|
const localVarHeaderParameter = {};
|
|
4032
5352
|
const localVarQueryParameter = {};
|
|
4033
|
-
if (
|
|
4034
|
-
localVarQueryParameter["
|
|
5353
|
+
if (listingContentId !== void 0) {
|
|
5354
|
+
localVarQueryParameter["listingContentId"] = listingContentId;
|
|
4035
5355
|
}
|
|
4036
5356
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4037
5357
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -4661,8 +5981,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4661
5981
|
*/
|
|
4662
5982
|
async accountsList(options) {
|
|
4663
5983
|
const localVarAxiosArgs = await localVarAxiosParamCreator.accountsList(options);
|
|
4664
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4665
|
-
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]);
|
|
4666
5986
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4667
5987
|
},
|
|
4668
5988
|
/**
|
|
@@ -4675,8 +5995,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4675
5995
|
*/
|
|
4676
5996
|
async addressesCreate(contactId, aPIAddressCreate, options) {
|
|
4677
5997
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, aPIAddressCreate, options);
|
|
4678
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4679
|
-
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]);
|
|
4680
6000
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4681
6001
|
},
|
|
4682
6002
|
/**
|
|
@@ -4688,8 +6008,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4688
6008
|
*/
|
|
4689
6009
|
async addressesDelete(addressId, options) {
|
|
4690
6010
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesDelete(addressId, options);
|
|
4691
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4692
|
-
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]);
|
|
4693
6013
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4694
6014
|
},
|
|
4695
6015
|
/**
|
|
@@ -4701,8 +6021,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4701
6021
|
*/
|
|
4702
6022
|
async addressesGet(addressId, options) {
|
|
4703
6023
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesGet(addressId, options);
|
|
4704
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4705
|
-
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]);
|
|
4706
6026
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4707
6027
|
},
|
|
4708
6028
|
/**
|
|
@@ -4715,8 +6035,21 @@ var UnboundApiFp = function(configuration) {
|
|
|
4715
6035
|
*/
|
|
4716
6036
|
async addressesUpdate(addressId, aPIAddressUpdate, options) {
|
|
4717
6037
|
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, aPIAddressUpdate, options);
|
|
4718
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4719
|
-
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]);
|
|
4720
6053
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4721
6054
|
},
|
|
4722
6055
|
/**
|
|
@@ -4730,8 +6063,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4730
6063
|
*/
|
|
4731
6064
|
async contactsAddListing(contactId, listingId, createContactListing, options) {
|
|
4732
6065
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsAddListing(contactId, listingId, createContactListing, options);
|
|
4733
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4734
|
-
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]);
|
|
4735
6068
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4736
6069
|
},
|
|
4737
6070
|
/**
|
|
@@ -4743,8 +6076,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4743
6076
|
*/
|
|
4744
6077
|
async contactsCreate(contactcreate, options) {
|
|
4745
6078
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsCreate(contactcreate, options);
|
|
4746
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4747
|
-
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]);
|
|
4748
6081
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4749
6082
|
},
|
|
4750
6083
|
/**
|
|
@@ -4756,8 +6089,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4756
6089
|
*/
|
|
4757
6090
|
async contactsDelete(contactId, options) {
|
|
4758
6091
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsDelete(contactId, options);
|
|
4759
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4760
|
-
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]);
|
|
4761
6094
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4762
6095
|
},
|
|
4763
6096
|
/**
|
|
@@ -4769,8 +6102,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4769
6102
|
*/
|
|
4770
6103
|
async contactsGet(contactId, options) {
|
|
4771
6104
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsGet(contactId, options);
|
|
4772
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4773
|
-
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]);
|
|
4774
6107
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4775
6108
|
},
|
|
4776
6109
|
/**
|
|
@@ -4787,8 +6120,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4787
6120
|
*/
|
|
4788
6121
|
async contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
4789
6122
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(searchString, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
4790
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4791
|
-
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]);
|
|
4792
6125
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4793
6126
|
},
|
|
4794
6127
|
/**
|
|
@@ -4802,8 +6135,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4802
6135
|
*/
|
|
4803
6136
|
async contactsRemoveListing(contactId, listingId, deleteContactListing, options) {
|
|
4804
6137
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsRemoveListing(contactId, listingId, deleteContactListing, options);
|
|
4805
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4806
|
-
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]);
|
|
4807
6140
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4808
6141
|
},
|
|
4809
6142
|
/**
|
|
@@ -4816,8 +6149,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4816
6149
|
*/
|
|
4817
6150
|
async contactsUpdate(contactId, aPIContactUpdate, options) {
|
|
4818
6151
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdate(contactId, aPIContactUpdate, options);
|
|
4819
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4820
|
-
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]);
|
|
4821
6154
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4822
6155
|
},
|
|
4823
6156
|
/**
|
|
@@ -4831,8 +6164,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4831
6164
|
*/
|
|
4832
6165
|
async contactsUpdateListing(contactId, listingId, updateContactListing, options) {
|
|
4833
6166
|
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdateListing(contactId, listingId, updateContactListing, options);
|
|
4834
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4835
|
-
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]);
|
|
4836
6169
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4837
6170
|
},
|
|
4838
6171
|
/**
|
|
@@ -4845,8 +6178,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4845
6178
|
*/
|
|
4846
6179
|
async conversationsCreate(inboxId, aPIConversationCreate, options) {
|
|
4847
6180
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsCreate(inboxId, aPIConversationCreate, options);
|
|
4848
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4849
|
-
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]);
|
|
4850
6183
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4851
6184
|
},
|
|
4852
6185
|
/**
|
|
@@ -4858,8 +6191,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4858
6191
|
*/
|
|
4859
6192
|
async conversationsGet(conversationId, options) {
|
|
4860
6193
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsGet(conversationId, options);
|
|
4861
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4862
|
-
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]);
|
|
4863
6196
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4864
6197
|
},
|
|
4865
6198
|
/**
|
|
@@ -4878,8 +6211,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4878
6211
|
*/
|
|
4879
6212
|
async conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options) {
|
|
4880
6213
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsList(searchString, contactId, status, cursor, limit, pageDir, sortOrder, inboxId, options);
|
|
4881
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4882
|
-
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]);
|
|
4883
6216
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4884
6217
|
},
|
|
4885
6218
|
/**
|
|
@@ -4892,8 +6225,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4892
6225
|
*/
|
|
4893
6226
|
async conversationsUpdate(conversationId, aPIConversationUpdate, options) {
|
|
4894
6227
|
const localVarAxiosArgs = await localVarAxiosParamCreator.conversationsUpdate(conversationId, aPIConversationUpdate, options);
|
|
4895
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4896
|
-
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]);
|
|
4897
6230
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4898
6231
|
},
|
|
4899
6232
|
/**
|
|
@@ -4906,8 +6239,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4906
6239
|
*/
|
|
4907
6240
|
async emailsCreate(contactId, aPIEmailCreate, options) {
|
|
4908
6241
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, aPIEmailCreate, options);
|
|
4909
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4910
|
-
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]);
|
|
4911
6244
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4912
6245
|
},
|
|
4913
6246
|
/**
|
|
@@ -4919,8 +6252,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4919
6252
|
*/
|
|
4920
6253
|
async emailsDelete(emailId, options) {
|
|
4921
6254
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
4922
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4923
|
-
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]);
|
|
4924
6257
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4925
6258
|
},
|
|
4926
6259
|
/**
|
|
@@ -4932,8 +6265,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4932
6265
|
*/
|
|
4933
6266
|
async emailsGet(emailId, options) {
|
|
4934
6267
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsGet(emailId, options);
|
|
4935
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4936
|
-
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]);
|
|
4937
6270
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4938
6271
|
},
|
|
4939
6272
|
/**
|
|
@@ -4946,8 +6279,22 @@ var UnboundApiFp = function(configuration) {
|
|
|
4946
6279
|
*/
|
|
4947
6280
|
async emailsUpdate(emailId, aPIEmailUpdate, options) {
|
|
4948
6281
|
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsUpdate(emailId, aPIEmailUpdate, options);
|
|
4949
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4950
|
-
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]);
|
|
4951
6298
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4952
6299
|
},
|
|
4953
6300
|
/**
|
|
@@ -4958,8 +6305,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4958
6305
|
*/
|
|
4959
6306
|
async getMe(options) {
|
|
4960
6307
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getMe(options);
|
|
4961
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4962
|
-
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]);
|
|
4963
6310
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4964
6311
|
},
|
|
4965
6312
|
/**
|
|
@@ -4970,8 +6317,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4970
6317
|
*/
|
|
4971
6318
|
async inboxesList(options) {
|
|
4972
6319
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inboxesList(options);
|
|
4973
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4974
|
-
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]);
|
|
4975
6322
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4976
6323
|
},
|
|
4977
6324
|
/**
|
|
@@ -4983,8 +6330,102 @@ var UnboundApiFp = function(configuration) {
|
|
|
4983
6330
|
*/
|
|
4984
6331
|
async inquiriesList(contactId, options) {
|
|
4985
6332
|
const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
|
|
4986
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
4987
|
-
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]);
|
|
4988
6429
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4989
6430
|
},
|
|
4990
6431
|
/**
|
|
@@ -4996,8 +6437,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
4996
6437
|
*/
|
|
4997
6438
|
async listingsGet(listingId, options) {
|
|
4998
6439
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
4999
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5000
|
-
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]);
|
|
5001
6442
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5002
6443
|
},
|
|
5003
6444
|
/**
|
|
@@ -5015,8 +6456,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5015
6456
|
*/
|
|
5016
6457
|
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5017
6458
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
5018
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5019
|
-
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]);
|
|
5020
6461
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5021
6462
|
},
|
|
5022
6463
|
/**
|
|
@@ -5027,8 +6468,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5027
6468
|
*/
|
|
5028
6469
|
async managedPhoneNumbersList(options) {
|
|
5029
6470
|
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
5030
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5031
|
-
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]);
|
|
5032
6473
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5033
6474
|
},
|
|
5034
6475
|
/**
|
|
@@ -5041,8 +6482,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5041
6482
|
*/
|
|
5042
6483
|
async messagesCreate(conversationId, messagecreate, options) {
|
|
5043
6484
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, messagecreate, options);
|
|
5044
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5045
|
-
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]);
|
|
5046
6487
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5047
6488
|
},
|
|
5048
6489
|
/**
|
|
@@ -5054,8 +6495,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5054
6495
|
*/
|
|
5055
6496
|
async messagesGet(messageId, options) {
|
|
5056
6497
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
5057
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5058
|
-
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]);
|
|
5059
6500
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5060
6501
|
},
|
|
5061
6502
|
/**
|
|
@@ -5077,8 +6518,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5077
6518
|
*/
|
|
5078
6519
|
async messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5079
6520
|
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(conversationId, searchString, sentAtAfter, sentAtBefore, scheduledAtAfter, scheduledAtBefore, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
5080
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5081
|
-
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]);
|
|
5082
6523
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5083
6524
|
},
|
|
5084
6525
|
/**
|
|
@@ -5091,8 +6532,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5091
6532
|
*/
|
|
5092
6533
|
async phonesCreate(contactId, aPIPhoneCreate, options) {
|
|
5093
6534
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, aPIPhoneCreate, options);
|
|
5094
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5095
|
-
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]);
|
|
5096
6537
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5097
6538
|
},
|
|
5098
6539
|
/**
|
|
@@ -5104,8 +6545,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5104
6545
|
*/
|
|
5105
6546
|
async phonesDelete(phoneId, options) {
|
|
5106
6547
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
5107
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5108
|
-
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]);
|
|
5109
6550
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5110
6551
|
},
|
|
5111
6552
|
/**
|
|
@@ -5117,8 +6558,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5117
6558
|
*/
|
|
5118
6559
|
async phonesGet(phoneId, options) {
|
|
5119
6560
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesGet(phoneId, options);
|
|
5120
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5121
|
-
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]);
|
|
5122
6563
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5123
6564
|
},
|
|
5124
6565
|
/**
|
|
@@ -5131,8 +6572,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5131
6572
|
*/
|
|
5132
6573
|
async phonesUpdate(phoneId, aPIPhoneUpdate, options) {
|
|
5133
6574
|
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesUpdate(phoneId, aPIPhoneUpdate, options);
|
|
5134
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5135
|
-
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]);
|
|
5136
6577
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5137
6578
|
},
|
|
5138
6579
|
/**
|
|
@@ -5144,8 +6585,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5144
6585
|
*/
|
|
5145
6586
|
async providersCreate(aPIProviderCreate, options) {
|
|
5146
6587
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersCreate(aPIProviderCreate, options);
|
|
5147
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5148
|
-
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]);
|
|
5149
6590
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5150
6591
|
},
|
|
5151
6592
|
/**
|
|
@@ -5157,8 +6598,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5157
6598
|
*/
|
|
5158
6599
|
async providersGet(providerId, options) {
|
|
5159
6600
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersGet(providerId, options);
|
|
5160
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5161
|
-
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]);
|
|
5162
6603
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5163
6604
|
},
|
|
5164
6605
|
/**
|
|
@@ -5169,8 +6610,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5169
6610
|
*/
|
|
5170
6611
|
async providersList(options) {
|
|
5171
6612
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersList(options);
|
|
5172
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5173
|
-
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]);
|
|
5174
6615
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5175
6616
|
},
|
|
5176
6617
|
/**
|
|
@@ -5183,8 +6624,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5183
6624
|
*/
|
|
5184
6625
|
async providersUpdate(providerId, aPIProviderUpdate, options) {
|
|
5185
6626
|
const localVarAxiosArgs = await localVarAxiosParamCreator.providersUpdate(providerId, aPIProviderUpdate, options);
|
|
5186
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5187
|
-
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]);
|
|
5188
6629
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5189
6630
|
},
|
|
5190
6631
|
/**
|
|
@@ -5196,8 +6637,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5196
6637
|
*/
|
|
5197
6638
|
async reservationsGet(reservationId, options) {
|
|
5198
6639
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
5199
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5200
|
-
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]);
|
|
5201
6642
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5202
6643
|
},
|
|
5203
6644
|
/**
|
|
@@ -5215,8 +6656,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5215
6656
|
*/
|
|
5216
6657
|
async reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
5217
6658
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
5218
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5219
|
-
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]);
|
|
5220
6661
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5221
6662
|
},
|
|
5222
6663
|
/**
|
|
@@ -5228,8 +6669,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5228
6669
|
*/
|
|
5229
6670
|
async userDevicesCreate(aPIUserDeviceCreate, options) {
|
|
5230
6671
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userDevicesCreate(aPIUserDeviceCreate, options);
|
|
5231
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5232
|
-
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]);
|
|
5233
6674
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5234
6675
|
},
|
|
5235
6676
|
/**
|
|
@@ -5241,8 +6682,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5241
6682
|
*/
|
|
5242
6683
|
async userDevicesDelete(userDeviceId, options) {
|
|
5243
6684
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userDevicesDelete(userDeviceId, options);
|
|
5244
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5245
|
-
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]);
|
|
5246
6687
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5247
6688
|
},
|
|
5248
6689
|
/**
|
|
@@ -5254,8 +6695,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5254
6695
|
*/
|
|
5255
6696
|
async webhook(body, options) {
|
|
5256
6697
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(body, options);
|
|
5257
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5258
|
-
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]);
|
|
5259
6700
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5260
6701
|
}
|
|
5261
6702
|
};
|
|
@@ -5314,6 +6755,16 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5314
6755
|
addressesUpdate(addressId, aPIAddressUpdate, options) {
|
|
5315
6756
|
return localVarFp.addressesUpdate(addressId, aPIAddressUpdate, options).then((request) => request(axios, basePath));
|
|
5316
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
|
+
},
|
|
5317
6768
|
/**
|
|
5318
6769
|
* Associates a contact with a listing with the OWNER type.
|
|
5319
6770
|
* @summary Create Contact Listing
|
|
@@ -5497,6 +6948,17 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5497
6948
|
emailsUpdate(emailId, aPIEmailUpdate, options) {
|
|
5498
6949
|
return localVarFp.emailsUpdate(emailId, aPIEmailUpdate, options).then((request) => request(axios, basePath));
|
|
5499
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
|
+
},
|
|
5500
6962
|
/**
|
|
5501
6963
|
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
5502
6964
|
* @summary Get Me
|
|
@@ -5525,6 +6987,79 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5525
6987
|
inquiriesList(contactId, options) {
|
|
5526
6988
|
return localVarFp.inquiriesList(contactId, options).then((request) => request(axios, basePath));
|
|
5527
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
|
+
},
|
|
5528
7063
|
/**
|
|
5529
7064
|
* Listings Get
|
|
5530
7065
|
* @summary Listings Get
|
|
@@ -5798,6 +7333,17 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5798
7333
|
addressesUpdate(addressId, aPIAddressUpdate, options) {
|
|
5799
7334
|
return UnboundApiFp(this.configuration).addressesUpdate(addressId, aPIAddressUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
5800
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
|
+
}
|
|
5801
7347
|
/**
|
|
5802
7348
|
* Associates a contact with a listing with the OWNER type.
|
|
5803
7349
|
* @summary Create Contact Listing
|
|
@@ -5997,6 +7543,18 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5997
7543
|
emailsUpdate(emailId, aPIEmailUpdate, options) {
|
|
5998
7544
|
return UnboundApiFp(this.configuration).emailsUpdate(emailId, aPIEmailUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
5999
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
|
+
}
|
|
6000
7558
|
/**
|
|
6001
7559
|
* Get the current authenticated user. Returns the user information for the currently authenticated user based on the JWT token in the Authorization header.
|
|
6002
7560
|
* @summary Get Me
|
|
@@ -6028,6 +7586,86 @@ var UnboundApi = class extends BaseAPI {
|
|
|
6028
7586
|
inquiriesList(contactId, options) {
|
|
6029
7587
|
return UnboundApiFp(this.configuration).inquiriesList(contactId, options).then((request) => request(this.axios, this.basePath));
|
|
6030
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
|
+
}
|
|
6031
7669
|
/**
|
|
6032
7670
|
* Listings Get
|
|
6033
7671
|
* @summary Listings Get
|
|
@@ -6332,8 +7970,8 @@ var UserDevicesApiFp = function(configuration) {
|
|
|
6332
7970
|
*/
|
|
6333
7971
|
async userDevicesCreate(aPIUserDeviceCreate, options) {
|
|
6334
7972
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userDevicesCreate(aPIUserDeviceCreate, options);
|
|
6335
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6336
|
-
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]);
|
|
6337
7975
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6338
7976
|
},
|
|
6339
7977
|
/**
|
|
@@ -6345,8 +7983,8 @@ var UserDevicesApiFp = function(configuration) {
|
|
|
6345
7983
|
*/
|
|
6346
7984
|
async userDevicesDelete(userDeviceId, options) {
|
|
6347
7985
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userDevicesDelete(userDeviceId, options);
|
|
6348
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6349
|
-
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]);
|
|
6350
7988
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6351
7989
|
}
|
|
6352
7990
|
};
|
|
@@ -6469,7 +8107,7 @@ var Configuration = class {
|
|
|
6469
8107
|
this.baseOptions = {
|
|
6470
8108
|
...param.baseOptions,
|
|
6471
8109
|
headers: {
|
|
6472
|
-
..._optionalChain([param, 'access',
|
|
8110
|
+
..._optionalChain([param, 'access', _450 => _450.baseOptions, 'optionalAccess', _451 => _451.headers])
|
|
6473
8111
|
}
|
|
6474
8112
|
};
|
|
6475
8113
|
this.formDataCtor = param.formDataCtor;
|
|
@@ -6588,5 +8226,17 @@ var Configuration = class {
|
|
|
6588
8226
|
|
|
6589
8227
|
|
|
6590
8228
|
|
|
6591
|
-
|
|
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;
|
|
6592
8242
|
//# sourceMappingURL=index.js.map
|