@ember-home/unbound-ts-client 0.0.27 → 0.0.29
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 +577 -781
- package/dist/index.d.ts +577 -781
- package/dist/index.js +334 -1094
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +281 -1041
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -99,7 +99,9 @@ var MessageStatus = {
|
|
|
99
99
|
Sent: "SENT",
|
|
100
100
|
Delivered: "DELIVERED",
|
|
101
101
|
Read: "READ",
|
|
102
|
-
Failed: "FAILED"
|
|
102
|
+
Failed: "FAILED",
|
|
103
|
+
Scheduled: "SCHEDULED",
|
|
104
|
+
Canceled: "CANCELED"
|
|
103
105
|
};
|
|
104
106
|
var PaginationDirection = {
|
|
105
107
|
Forward: "forward",
|
|
@@ -108,6 +110,23 @@ var PaginationDirection = {
|
|
|
108
110
|
var ProviderMessageApiConversationTypeEnum = {
|
|
109
111
|
Provider: "PROVIDER"
|
|
110
112
|
};
|
|
113
|
+
var ReservationChannelTypes = {
|
|
114
|
+
Airbnb: "AIRBNB",
|
|
115
|
+
Vrbo: "VRBO",
|
|
116
|
+
BookingCom: "BOOKING_COM",
|
|
117
|
+
Expedia: "EXPEDIA",
|
|
118
|
+
HomeawayIcal: "HOMEAWAY_ICAL",
|
|
119
|
+
VrboIcal: "VRBO_ICAL",
|
|
120
|
+
HostawayDirect: "HOSTAWAY_DIRECT",
|
|
121
|
+
HostawayBookingEngine: "HOSTAWAY_BOOKING_ENGINE",
|
|
122
|
+
CustomIcal: "CUSTOM_ICAL",
|
|
123
|
+
TripadvisorIcal: "TRIPADVISOR_ICAL",
|
|
124
|
+
Wordpress: "WORDPRESS",
|
|
125
|
+
Marriott: "MARRIOTT",
|
|
126
|
+
Partner: "PARTNER",
|
|
127
|
+
Gds: "GDS",
|
|
128
|
+
Google: "GOOGLE"
|
|
129
|
+
};
|
|
111
130
|
var SortOrder = {
|
|
112
131
|
Asc: "asc",
|
|
113
132
|
Desc: "desc"
|
|
@@ -115,16 +134,16 @@ var SortOrder = {
|
|
|
115
134
|
var SrcResourceModelsConversationsModelConversationsModelConversationSortBy = {
|
|
116
135
|
UpdatedAt: "updated_at"
|
|
117
136
|
};
|
|
118
|
-
var
|
|
137
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum = {
|
|
119
138
|
Twilio: "TWILIO"
|
|
120
139
|
};
|
|
121
|
-
var
|
|
140
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi5ConversationTypeEnum = {
|
|
122
141
|
Email: "EMAIL"
|
|
123
142
|
};
|
|
124
|
-
var
|
|
143
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi6ConversationTypeEnum = {
|
|
125
144
|
Twilio: "TWILIO"
|
|
126
145
|
};
|
|
127
|
-
var
|
|
146
|
+
var SrcResourceModelsHelperModelsCustomBaseModelCreateApi7ConversationTypeEnum = {
|
|
128
147
|
Email: "EMAIL"
|
|
129
148
|
};
|
|
130
149
|
var SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum = {
|
|
@@ -219,216 +238,6 @@ var AccountsApi = class extends BaseAPI {
|
|
|
219
238
|
return AccountsApiFp(this.configuration).accountsList(options).then((request) => request(this.axios, this.basePath));
|
|
220
239
|
}
|
|
221
240
|
};
|
|
222
|
-
var AddressesApiAxiosParamCreator = function(configuration) {
|
|
223
|
-
return {
|
|
224
|
-
/**
|
|
225
|
-
*
|
|
226
|
-
* @summary Addresses Create
|
|
227
|
-
* @param {string} contactId
|
|
228
|
-
* @param {AddressCreate} addressCreate
|
|
229
|
-
* @param {*} [options] Override http request option.
|
|
230
|
-
* @throws {RequiredError}
|
|
231
|
-
*/
|
|
232
|
-
addressesCreate: async (contactId, addressCreate, options = {}) => {
|
|
233
|
-
assertParamExists("addressesCreate", "contactId", contactId);
|
|
234
|
-
assertParamExists("addressesCreate", "addressCreate", addressCreate);
|
|
235
|
-
const localVarPath = `/contacts/{contactId}/addresses`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
236
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
237
|
-
let baseOptions;
|
|
238
|
-
if (configuration) {
|
|
239
|
-
baseOptions = configuration.baseOptions;
|
|
240
|
-
}
|
|
241
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
242
|
-
const localVarHeaderParameter = {};
|
|
243
|
-
const localVarQueryParameter = {};
|
|
244
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
245
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
246
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
247
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
248
|
-
localVarRequestOptions.data = serializeDataIfNeeded(addressCreate, localVarRequestOptions, configuration);
|
|
249
|
-
return {
|
|
250
|
-
url: toPathString(localVarUrlObj),
|
|
251
|
-
options: localVarRequestOptions
|
|
252
|
-
};
|
|
253
|
-
},
|
|
254
|
-
/**
|
|
255
|
-
*
|
|
256
|
-
* @summary Addresses Delete
|
|
257
|
-
* @param {string} addressId
|
|
258
|
-
* @param {*} [options] Override http request option.
|
|
259
|
-
* @throws {RequiredError}
|
|
260
|
-
*/
|
|
261
|
-
addressesDelete: async (addressId, options = {}) => {
|
|
262
|
-
assertParamExists("addressesDelete", "addressId", addressId);
|
|
263
|
-
const localVarPath = `/addresses/{addressId}`.replace(`{${"addressId"}}`, encodeURIComponent(String(addressId)));
|
|
264
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
265
|
-
let baseOptions;
|
|
266
|
-
if (configuration) {
|
|
267
|
-
baseOptions = configuration.baseOptions;
|
|
268
|
-
}
|
|
269
|
-
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
270
|
-
const localVarHeaderParameter = {};
|
|
271
|
-
const localVarQueryParameter = {};
|
|
272
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
273
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
274
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
275
|
-
return {
|
|
276
|
-
url: toPathString(localVarUrlObj),
|
|
277
|
-
options: localVarRequestOptions
|
|
278
|
-
};
|
|
279
|
-
},
|
|
280
|
-
/**
|
|
281
|
-
*
|
|
282
|
-
* @summary Addresses Update
|
|
283
|
-
* @param {string} addressId
|
|
284
|
-
* @param {AddressUpdate} addressUpdate
|
|
285
|
-
* @param {*} [options] Override http request option.
|
|
286
|
-
* @throws {RequiredError}
|
|
287
|
-
*/
|
|
288
|
-
addressesUpdate: async (addressId, addressUpdate, options = {}) => {
|
|
289
|
-
assertParamExists("addressesUpdate", "addressId", addressId);
|
|
290
|
-
assertParamExists("addressesUpdate", "addressUpdate", addressUpdate);
|
|
291
|
-
const localVarPath = `/addresses/{addressId}`.replace(`{${"addressId"}}`, encodeURIComponent(String(addressId)));
|
|
292
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
293
|
-
let baseOptions;
|
|
294
|
-
if (configuration) {
|
|
295
|
-
baseOptions = configuration.baseOptions;
|
|
296
|
-
}
|
|
297
|
-
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
298
|
-
const localVarHeaderParameter = {};
|
|
299
|
-
const localVarQueryParameter = {};
|
|
300
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
301
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
302
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
303
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
304
|
-
localVarRequestOptions.data = serializeDataIfNeeded(addressUpdate, localVarRequestOptions, configuration);
|
|
305
|
-
return {
|
|
306
|
-
url: toPathString(localVarUrlObj),
|
|
307
|
-
options: localVarRequestOptions
|
|
308
|
-
};
|
|
309
|
-
}
|
|
310
|
-
};
|
|
311
|
-
};
|
|
312
|
-
var AddressesApiFp = function(configuration) {
|
|
313
|
-
const localVarAxiosParamCreator = AddressesApiAxiosParamCreator(configuration);
|
|
314
|
-
return {
|
|
315
|
-
/**
|
|
316
|
-
*
|
|
317
|
-
* @summary Addresses Create
|
|
318
|
-
* @param {string} contactId
|
|
319
|
-
* @param {AddressCreate} addressCreate
|
|
320
|
-
* @param {*} [options] Override http request option.
|
|
321
|
-
* @throws {RequiredError}
|
|
322
|
-
*/
|
|
323
|
-
async addressesCreate(contactId, addressCreate, options) {
|
|
324
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, addressCreate, options);
|
|
325
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
326
|
-
const localVarOperationServerBasePath = operationServerMap["AddressesApi.addressesCreate"]?.[localVarOperationServerIndex]?.url;
|
|
327
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
328
|
-
},
|
|
329
|
-
/**
|
|
330
|
-
*
|
|
331
|
-
* @summary Addresses Delete
|
|
332
|
-
* @param {string} addressId
|
|
333
|
-
* @param {*} [options] Override http request option.
|
|
334
|
-
* @throws {RequiredError}
|
|
335
|
-
*/
|
|
336
|
-
async addressesDelete(addressId, options) {
|
|
337
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesDelete(addressId, options);
|
|
338
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
339
|
-
const localVarOperationServerBasePath = operationServerMap["AddressesApi.addressesDelete"]?.[localVarOperationServerIndex]?.url;
|
|
340
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
341
|
-
},
|
|
342
|
-
/**
|
|
343
|
-
*
|
|
344
|
-
* @summary Addresses Update
|
|
345
|
-
* @param {string} addressId
|
|
346
|
-
* @param {AddressUpdate} addressUpdate
|
|
347
|
-
* @param {*} [options] Override http request option.
|
|
348
|
-
* @throws {RequiredError}
|
|
349
|
-
*/
|
|
350
|
-
async addressesUpdate(addressId, addressUpdate, options) {
|
|
351
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, addressUpdate, options);
|
|
352
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
353
|
-
const localVarOperationServerBasePath = operationServerMap["AddressesApi.addressesUpdate"]?.[localVarOperationServerIndex]?.url;
|
|
354
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
355
|
-
}
|
|
356
|
-
};
|
|
357
|
-
};
|
|
358
|
-
var AddressesApiFactory = function(configuration, basePath, axios) {
|
|
359
|
-
const localVarFp = AddressesApiFp(configuration);
|
|
360
|
-
return {
|
|
361
|
-
/**
|
|
362
|
-
*
|
|
363
|
-
* @summary Addresses Create
|
|
364
|
-
* @param {string} contactId
|
|
365
|
-
* @param {AddressCreate} addressCreate
|
|
366
|
-
* @param {*} [options] Override http request option.
|
|
367
|
-
* @throws {RequiredError}
|
|
368
|
-
*/
|
|
369
|
-
addressesCreate(contactId, addressCreate, options) {
|
|
370
|
-
return localVarFp.addressesCreate(contactId, addressCreate, options).then((request) => request(axios, basePath));
|
|
371
|
-
},
|
|
372
|
-
/**
|
|
373
|
-
*
|
|
374
|
-
* @summary Addresses Delete
|
|
375
|
-
* @param {string} addressId
|
|
376
|
-
* @param {*} [options] Override http request option.
|
|
377
|
-
* @throws {RequiredError}
|
|
378
|
-
*/
|
|
379
|
-
addressesDelete(addressId, options) {
|
|
380
|
-
return localVarFp.addressesDelete(addressId, options).then((request) => request(axios, basePath));
|
|
381
|
-
},
|
|
382
|
-
/**
|
|
383
|
-
*
|
|
384
|
-
* @summary Addresses Update
|
|
385
|
-
* @param {string} addressId
|
|
386
|
-
* @param {AddressUpdate} addressUpdate
|
|
387
|
-
* @param {*} [options] Override http request option.
|
|
388
|
-
* @throws {RequiredError}
|
|
389
|
-
*/
|
|
390
|
-
addressesUpdate(addressId, addressUpdate, options) {
|
|
391
|
-
return localVarFp.addressesUpdate(addressId, addressUpdate, options).then((request) => request(axios, basePath));
|
|
392
|
-
}
|
|
393
|
-
};
|
|
394
|
-
};
|
|
395
|
-
var AddressesApi = class extends BaseAPI {
|
|
396
|
-
/**
|
|
397
|
-
*
|
|
398
|
-
* @summary Addresses Create
|
|
399
|
-
* @param {string} contactId
|
|
400
|
-
* @param {AddressCreate} addressCreate
|
|
401
|
-
* @param {*} [options] Override http request option.
|
|
402
|
-
* @throws {RequiredError}
|
|
403
|
-
* @memberof AddressesApi
|
|
404
|
-
*/
|
|
405
|
-
addressesCreate(contactId, addressCreate, options) {
|
|
406
|
-
return AddressesApiFp(this.configuration).addressesCreate(contactId, addressCreate, options).then((request) => request(this.axios, this.basePath));
|
|
407
|
-
}
|
|
408
|
-
/**
|
|
409
|
-
*
|
|
410
|
-
* @summary Addresses Delete
|
|
411
|
-
* @param {string} addressId
|
|
412
|
-
* @param {*} [options] Override http request option.
|
|
413
|
-
* @throws {RequiredError}
|
|
414
|
-
* @memberof AddressesApi
|
|
415
|
-
*/
|
|
416
|
-
addressesDelete(addressId, options) {
|
|
417
|
-
return AddressesApiFp(this.configuration).addressesDelete(addressId, options).then((request) => request(this.axios, this.basePath));
|
|
418
|
-
}
|
|
419
|
-
/**
|
|
420
|
-
*
|
|
421
|
-
* @summary Addresses Update
|
|
422
|
-
* @param {string} addressId
|
|
423
|
-
* @param {AddressUpdate} addressUpdate
|
|
424
|
-
* @param {*} [options] Override http request option.
|
|
425
|
-
* @throws {RequiredError}
|
|
426
|
-
* @memberof AddressesApi
|
|
427
|
-
*/
|
|
428
|
-
addressesUpdate(addressId, addressUpdate, options) {
|
|
429
|
-
return AddressesApiFp(this.configuration).addressesUpdate(addressId, addressUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
430
|
-
}
|
|
431
|
-
};
|
|
432
241
|
var ContactsApiAxiosParamCreator = function(configuration) {
|
|
433
242
|
return {
|
|
434
243
|
/**
|
|
@@ -2136,20 +1945,18 @@ var ConversationsApi = class extends BaseAPI {
|
|
|
2136
1945
|
return ConversationsApiFp(this.configuration).messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
2137
1946
|
}
|
|
2138
1947
|
};
|
|
2139
|
-
var
|
|
1948
|
+
var HostawayApiAxiosParamCreator = function(configuration) {
|
|
2140
1949
|
return {
|
|
2141
1950
|
/**
|
|
2142
1951
|
*
|
|
2143
|
-
* @summary
|
|
2144
|
-
* @param {
|
|
2145
|
-
* @param {EmailCreate} emailCreate
|
|
1952
|
+
* @summary Unifiedwebhook
|
|
1953
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2146
1954
|
* @param {*} [options] Override http request option.
|
|
2147
1955
|
* @throws {RequiredError}
|
|
2148
1956
|
*/
|
|
2149
|
-
|
|
2150
|
-
assertParamExists("
|
|
2151
|
-
|
|
2152
|
-
const localVarPath = `/contacts/{contactId}/emails`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
1957
|
+
webhook: async (hostawayWebhook, options = {}) => {
|
|
1958
|
+
assertParamExists("webhook", "hostawayWebhook", hostawayWebhook);
|
|
1959
|
+
const localVarPath = `/hostaway-unified-webhooks`;
|
|
2153
1960
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2154
1961
|
let baseOptions;
|
|
2155
1962
|
if (configuration) {
|
|
@@ -2158,234 +1965,26 @@ var EmailsApiAxiosParamCreator = function(configuration) {
|
|
|
2158
1965
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2159
1966
|
const localVarHeaderParameter = {};
|
|
2160
1967
|
const localVarQueryParameter = {};
|
|
1968
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2161
1969
|
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2162
1970
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2163
1971
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2164
1972
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2165
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2166
|
-
return {
|
|
2167
|
-
url: toPathString(localVarUrlObj),
|
|
2168
|
-
options: localVarRequestOptions
|
|
2169
|
-
};
|
|
2170
|
-
},
|
|
2171
|
-
/**
|
|
2172
|
-
*
|
|
2173
|
-
* @summary Emails Delete
|
|
2174
|
-
* @param {string} emailId
|
|
2175
|
-
* @param {*} [options] Override http request option.
|
|
2176
|
-
* @throws {RequiredError}
|
|
2177
|
-
*/
|
|
2178
|
-
emailsDelete: async (emailId, options = {}) => {
|
|
2179
|
-
assertParamExists("emailsDelete", "emailId", emailId);
|
|
2180
|
-
const localVarPath = `/emails/{emailId}`.replace(`{${"emailId"}}`, encodeURIComponent(String(emailId)));
|
|
2181
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2182
|
-
let baseOptions;
|
|
2183
|
-
if (configuration) {
|
|
2184
|
-
baseOptions = configuration.baseOptions;
|
|
2185
|
-
}
|
|
2186
|
-
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2187
|
-
const localVarHeaderParameter = {};
|
|
2188
|
-
const localVarQueryParameter = {};
|
|
2189
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2190
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2191
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1973
|
+
localVarRequestOptions.data = serializeDataIfNeeded(hostawayWebhook, localVarRequestOptions, configuration);
|
|
2192
1974
|
return {
|
|
2193
1975
|
url: toPathString(localVarUrlObj),
|
|
2194
1976
|
options: localVarRequestOptions
|
|
2195
1977
|
};
|
|
2196
|
-
}
|
|
1978
|
+
}
|
|
1979
|
+
};
|
|
1980
|
+
};
|
|
1981
|
+
var HostawayApiFp = function(configuration) {
|
|
1982
|
+
const localVarAxiosParamCreator = HostawayApiAxiosParamCreator(configuration);
|
|
1983
|
+
return {
|
|
2197
1984
|
/**
|
|
2198
1985
|
*
|
|
2199
|
-
* @summary
|
|
2200
|
-
* @param {
|
|
2201
|
-
* @param {EmailUpdate} emailUpdate
|
|
2202
|
-
* @param {*} [options] Override http request option.
|
|
2203
|
-
* @throws {RequiredError}
|
|
2204
|
-
*/
|
|
2205
|
-
emailsUpdate: async (emailId, emailUpdate, options = {}) => {
|
|
2206
|
-
assertParamExists("emailsUpdate", "emailId", emailId);
|
|
2207
|
-
assertParamExists("emailsUpdate", "emailUpdate", emailUpdate);
|
|
2208
|
-
const localVarPath = `/emails/{emailId}`.replace(`{${"emailId"}}`, encodeURIComponent(String(emailId)));
|
|
2209
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2210
|
-
let baseOptions;
|
|
2211
|
-
if (configuration) {
|
|
2212
|
-
baseOptions = configuration.baseOptions;
|
|
2213
|
-
}
|
|
2214
|
-
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
2215
|
-
const localVarHeaderParameter = {};
|
|
2216
|
-
const localVarQueryParameter = {};
|
|
2217
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2218
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2219
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2220
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2221
|
-
localVarRequestOptions.data = serializeDataIfNeeded(emailUpdate, localVarRequestOptions, configuration);
|
|
2222
|
-
return {
|
|
2223
|
-
url: toPathString(localVarUrlObj),
|
|
2224
|
-
options: localVarRequestOptions
|
|
2225
|
-
};
|
|
2226
|
-
}
|
|
2227
|
-
};
|
|
2228
|
-
};
|
|
2229
|
-
var EmailsApiFp = function(configuration) {
|
|
2230
|
-
const localVarAxiosParamCreator = EmailsApiAxiosParamCreator(configuration);
|
|
2231
|
-
return {
|
|
2232
|
-
/**
|
|
2233
|
-
*
|
|
2234
|
-
* @summary Emails Create
|
|
2235
|
-
* @param {string} contactId
|
|
2236
|
-
* @param {EmailCreate} emailCreate
|
|
2237
|
-
* @param {*} [options] Override http request option.
|
|
2238
|
-
* @throws {RequiredError}
|
|
2239
|
-
*/
|
|
2240
|
-
async emailsCreate(contactId, emailCreate, options) {
|
|
2241
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, emailCreate, options);
|
|
2242
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2243
|
-
const localVarOperationServerBasePath = operationServerMap["EmailsApi.emailsCreate"]?.[localVarOperationServerIndex]?.url;
|
|
2244
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2245
|
-
},
|
|
2246
|
-
/**
|
|
2247
|
-
*
|
|
2248
|
-
* @summary Emails Delete
|
|
2249
|
-
* @param {string} emailId
|
|
2250
|
-
* @param {*} [options] Override http request option.
|
|
2251
|
-
* @throws {RequiredError}
|
|
2252
|
-
*/
|
|
2253
|
-
async emailsDelete(emailId, options) {
|
|
2254
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
2255
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2256
|
-
const localVarOperationServerBasePath = operationServerMap["EmailsApi.emailsDelete"]?.[localVarOperationServerIndex]?.url;
|
|
2257
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2258
|
-
},
|
|
2259
|
-
/**
|
|
2260
|
-
*
|
|
2261
|
-
* @summary Emails Update
|
|
2262
|
-
* @param {string} emailId
|
|
2263
|
-
* @param {EmailUpdate} emailUpdate
|
|
2264
|
-
* @param {*} [options] Override http request option.
|
|
2265
|
-
* @throws {RequiredError}
|
|
2266
|
-
*/
|
|
2267
|
-
async emailsUpdate(emailId, emailUpdate, options) {
|
|
2268
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsUpdate(emailId, emailUpdate, options);
|
|
2269
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2270
|
-
const localVarOperationServerBasePath = operationServerMap["EmailsApi.emailsUpdate"]?.[localVarOperationServerIndex]?.url;
|
|
2271
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2272
|
-
}
|
|
2273
|
-
};
|
|
2274
|
-
};
|
|
2275
|
-
var EmailsApiFactory = function(configuration, basePath, axios) {
|
|
2276
|
-
const localVarFp = EmailsApiFp(configuration);
|
|
2277
|
-
return {
|
|
2278
|
-
/**
|
|
2279
|
-
*
|
|
2280
|
-
* @summary Emails Create
|
|
2281
|
-
* @param {string} contactId
|
|
2282
|
-
* @param {EmailCreate} emailCreate
|
|
2283
|
-
* @param {*} [options] Override http request option.
|
|
2284
|
-
* @throws {RequiredError}
|
|
2285
|
-
*/
|
|
2286
|
-
emailsCreate(contactId, emailCreate, options) {
|
|
2287
|
-
return localVarFp.emailsCreate(contactId, emailCreate, options).then((request) => request(axios, basePath));
|
|
2288
|
-
},
|
|
2289
|
-
/**
|
|
2290
|
-
*
|
|
2291
|
-
* @summary Emails Delete
|
|
2292
|
-
* @param {string} emailId
|
|
2293
|
-
* @param {*} [options] Override http request option.
|
|
2294
|
-
* @throws {RequiredError}
|
|
2295
|
-
*/
|
|
2296
|
-
emailsDelete(emailId, options) {
|
|
2297
|
-
return localVarFp.emailsDelete(emailId, options).then((request) => request(axios, basePath));
|
|
2298
|
-
},
|
|
2299
|
-
/**
|
|
2300
|
-
*
|
|
2301
|
-
* @summary Emails Update
|
|
2302
|
-
* @param {string} emailId
|
|
2303
|
-
* @param {EmailUpdate} emailUpdate
|
|
2304
|
-
* @param {*} [options] Override http request option.
|
|
2305
|
-
* @throws {RequiredError}
|
|
2306
|
-
*/
|
|
2307
|
-
emailsUpdate(emailId, emailUpdate, options) {
|
|
2308
|
-
return localVarFp.emailsUpdate(emailId, emailUpdate, options).then((request) => request(axios, basePath));
|
|
2309
|
-
}
|
|
2310
|
-
};
|
|
2311
|
-
};
|
|
2312
|
-
var EmailsApi = class extends BaseAPI {
|
|
2313
|
-
/**
|
|
2314
|
-
*
|
|
2315
|
-
* @summary Emails Create
|
|
2316
|
-
* @param {string} contactId
|
|
2317
|
-
* @param {EmailCreate} emailCreate
|
|
2318
|
-
* @param {*} [options] Override http request option.
|
|
2319
|
-
* @throws {RequiredError}
|
|
2320
|
-
* @memberof EmailsApi
|
|
2321
|
-
*/
|
|
2322
|
-
emailsCreate(contactId, emailCreate, options) {
|
|
2323
|
-
return EmailsApiFp(this.configuration).emailsCreate(contactId, emailCreate, options).then((request) => request(this.axios, this.basePath));
|
|
2324
|
-
}
|
|
2325
|
-
/**
|
|
2326
|
-
*
|
|
2327
|
-
* @summary Emails Delete
|
|
2328
|
-
* @param {string} emailId
|
|
2329
|
-
* @param {*} [options] Override http request option.
|
|
2330
|
-
* @throws {RequiredError}
|
|
2331
|
-
* @memberof EmailsApi
|
|
2332
|
-
*/
|
|
2333
|
-
emailsDelete(emailId, options) {
|
|
2334
|
-
return EmailsApiFp(this.configuration).emailsDelete(emailId, options).then((request) => request(this.axios, this.basePath));
|
|
2335
|
-
}
|
|
2336
|
-
/**
|
|
2337
|
-
*
|
|
2338
|
-
* @summary Emails Update
|
|
2339
|
-
* @param {string} emailId
|
|
2340
|
-
* @param {EmailUpdate} emailUpdate
|
|
2341
|
-
* @param {*} [options] Override http request option.
|
|
2342
|
-
* @throws {RequiredError}
|
|
2343
|
-
* @memberof EmailsApi
|
|
2344
|
-
*/
|
|
2345
|
-
emailsUpdate(emailId, emailUpdate, options) {
|
|
2346
|
-
return EmailsApiFp(this.configuration).emailsUpdate(emailId, emailUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
2347
|
-
}
|
|
2348
|
-
};
|
|
2349
|
-
var HostawayApiAxiosParamCreator = function(configuration) {
|
|
2350
|
-
return {
|
|
2351
|
-
/**
|
|
2352
|
-
*
|
|
2353
|
-
* @summary Unifiedwebhook
|
|
2354
|
-
* @param {HostawayWebhook} hostawayWebhook
|
|
2355
|
-
* @param {*} [options] Override http request option.
|
|
2356
|
-
* @throws {RequiredError}
|
|
2357
|
-
*/
|
|
2358
|
-
webhook: async (hostawayWebhook, options = {}) => {
|
|
2359
|
-
assertParamExists("webhook", "hostawayWebhook", hostawayWebhook);
|
|
2360
|
-
const localVarPath = `/hostaway-unified-webhooks`;
|
|
2361
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2362
|
-
let baseOptions;
|
|
2363
|
-
if (configuration) {
|
|
2364
|
-
baseOptions = configuration.baseOptions;
|
|
2365
|
-
}
|
|
2366
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2367
|
-
const localVarHeaderParameter = {};
|
|
2368
|
-
const localVarQueryParameter = {};
|
|
2369
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2370
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2371
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2372
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2373
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2374
|
-
localVarRequestOptions.data = serializeDataIfNeeded(hostawayWebhook, localVarRequestOptions, configuration);
|
|
2375
|
-
return {
|
|
2376
|
-
url: toPathString(localVarUrlObj),
|
|
2377
|
-
options: localVarRequestOptions
|
|
2378
|
-
};
|
|
2379
|
-
}
|
|
2380
|
-
};
|
|
2381
|
-
};
|
|
2382
|
-
var HostawayApiFp = function(configuration) {
|
|
2383
|
-
const localVarAxiosParamCreator = HostawayApiAxiosParamCreator(configuration);
|
|
2384
|
-
return {
|
|
2385
|
-
/**
|
|
2386
|
-
*
|
|
2387
|
-
* @summary Unifiedwebhook
|
|
2388
|
-
* @param {HostawayWebhook} hostawayWebhook
|
|
1986
|
+
* @summary Unifiedwebhook
|
|
1987
|
+
* @param {HostawayWebhook} hostawayWebhook
|
|
2389
1988
|
* @param {*} [options] Override http request option.
|
|
2390
1989
|
* @throws {RequiredError}
|
|
2391
1990
|
*/
|
|
@@ -2573,524 +2172,11 @@ var ListingsApiAxiosParamCreator = function(configuration) {
|
|
|
2573
2172
|
localVarQueryParameter["sortBy"] = sortBy;
|
|
2574
2173
|
}
|
|
2575
2174
|
if (sortOrder !== void 0) {
|
|
2576
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
2577
|
-
}
|
|
2578
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2579
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2580
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2581
|
-
return {
|
|
2582
|
-
url: toPathString(localVarUrlObj),
|
|
2583
|
-
options: localVarRequestOptions
|
|
2584
|
-
};
|
|
2585
|
-
}
|
|
2586
|
-
};
|
|
2587
|
-
};
|
|
2588
|
-
var ListingsApiFp = function(configuration) {
|
|
2589
|
-
const localVarAxiosParamCreator = ListingsApiAxiosParamCreator(configuration);
|
|
2590
|
-
return {
|
|
2591
|
-
/**
|
|
2592
|
-
*
|
|
2593
|
-
* @summary Listings Get
|
|
2594
|
-
* @param {string} listingId
|
|
2595
|
-
* @param {*} [options] Override http request option.
|
|
2596
|
-
* @throws {RequiredError}
|
|
2597
|
-
*/
|
|
2598
|
-
async listingsGet(listingId, options) {
|
|
2599
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
2600
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2601
|
-
const localVarOperationServerBasePath = operationServerMap["ListingsApi.listingsGet"]?.[localVarOperationServerIndex]?.url;
|
|
2602
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2603
|
-
},
|
|
2604
|
-
/**
|
|
2605
|
-
*
|
|
2606
|
-
* @summary Listings List
|
|
2607
|
-
* @param {string | null} [searchString]
|
|
2608
|
-
* @param {string | null} [contactId]
|
|
2609
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2610
|
-
* @param {number} [limit]
|
|
2611
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2612
|
-
* @param {ListingSortBy} [sortBy] Sort key
|
|
2613
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2614
|
-
* @param {*} [options] Override http request option.
|
|
2615
|
-
* @throws {RequiredError}
|
|
2616
|
-
*/
|
|
2617
|
-
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2618
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
2619
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2620
|
-
const localVarOperationServerBasePath = operationServerMap["ListingsApi.listingsList"]?.[localVarOperationServerIndex]?.url;
|
|
2621
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2622
|
-
}
|
|
2623
|
-
};
|
|
2624
|
-
};
|
|
2625
|
-
var ListingsApiFactory = function(configuration, basePath, axios) {
|
|
2626
|
-
const localVarFp = ListingsApiFp(configuration);
|
|
2627
|
-
return {
|
|
2628
|
-
/**
|
|
2629
|
-
*
|
|
2630
|
-
* @summary Listings Get
|
|
2631
|
-
* @param {string} listingId
|
|
2632
|
-
* @param {*} [options] Override http request option.
|
|
2633
|
-
* @throws {RequiredError}
|
|
2634
|
-
*/
|
|
2635
|
-
listingsGet(listingId, options) {
|
|
2636
|
-
return localVarFp.listingsGet(listingId, options).then((request) => request(axios, basePath));
|
|
2637
|
-
},
|
|
2638
|
-
/**
|
|
2639
|
-
*
|
|
2640
|
-
* @summary Listings List
|
|
2641
|
-
* @param {string | null} [searchString]
|
|
2642
|
-
* @param {string | null} [contactId]
|
|
2643
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2644
|
-
* @param {number} [limit]
|
|
2645
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2646
|
-
* @param {ListingSortBy} [sortBy] Sort key
|
|
2647
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2648
|
-
* @param {*} [options] Override http request option.
|
|
2649
|
-
* @throws {RequiredError}
|
|
2650
|
-
*/
|
|
2651
|
-
listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2652
|
-
return localVarFp.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
2653
|
-
}
|
|
2654
|
-
};
|
|
2655
|
-
};
|
|
2656
|
-
var ListingsApi = class extends BaseAPI {
|
|
2657
|
-
/**
|
|
2658
|
-
*
|
|
2659
|
-
* @summary Listings Get
|
|
2660
|
-
* @param {string} listingId
|
|
2661
|
-
* @param {*} [options] Override http request option.
|
|
2662
|
-
* @throws {RequiredError}
|
|
2663
|
-
* @memberof ListingsApi
|
|
2664
|
-
*/
|
|
2665
|
-
listingsGet(listingId, options) {
|
|
2666
|
-
return ListingsApiFp(this.configuration).listingsGet(listingId, options).then((request) => request(this.axios, this.basePath));
|
|
2667
|
-
}
|
|
2668
|
-
/**
|
|
2669
|
-
*
|
|
2670
|
-
* @summary Listings List
|
|
2671
|
-
* @param {string | null} [searchString]
|
|
2672
|
-
* @param {string | null} [contactId]
|
|
2673
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2674
|
-
* @param {number} [limit]
|
|
2675
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2676
|
-
* @param {ListingSortBy} [sortBy] Sort key
|
|
2677
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2678
|
-
* @param {*} [options] Override http request option.
|
|
2679
|
-
* @throws {RequiredError}
|
|
2680
|
-
* @memberof ListingsApi
|
|
2681
|
-
*/
|
|
2682
|
-
listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2683
|
-
return ListingsApiFp(this.configuration).listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
2684
|
-
}
|
|
2685
|
-
};
|
|
2686
|
-
var ManagedPhoneNumbersApiAxiosParamCreator = function(configuration) {
|
|
2687
|
-
return {
|
|
2688
|
-
/**
|
|
2689
|
-
*
|
|
2690
|
-
* @summary Managed_phone_numbers List
|
|
2691
|
-
* @param {*} [options] Override http request option.
|
|
2692
|
-
* @throws {RequiredError}
|
|
2693
|
-
*/
|
|
2694
|
-
managedPhoneNumbersList: async (options = {}) => {
|
|
2695
|
-
const localVarPath = `/managed_phone_numbers`;
|
|
2696
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2697
|
-
let baseOptions;
|
|
2698
|
-
if (configuration) {
|
|
2699
|
-
baseOptions = configuration.baseOptions;
|
|
2700
|
-
}
|
|
2701
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2702
|
-
const localVarHeaderParameter = {};
|
|
2703
|
-
const localVarQueryParameter = {};
|
|
2704
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2705
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2706
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2707
|
-
return {
|
|
2708
|
-
url: toPathString(localVarUrlObj),
|
|
2709
|
-
options: localVarRequestOptions
|
|
2710
|
-
};
|
|
2711
|
-
}
|
|
2712
|
-
};
|
|
2713
|
-
};
|
|
2714
|
-
var ManagedPhoneNumbersApiFp = function(configuration) {
|
|
2715
|
-
const localVarAxiosParamCreator = ManagedPhoneNumbersApiAxiosParamCreator(configuration);
|
|
2716
|
-
return {
|
|
2717
|
-
/**
|
|
2718
|
-
*
|
|
2719
|
-
* @summary Managed_phone_numbers List
|
|
2720
|
-
* @param {*} [options] Override http request option.
|
|
2721
|
-
* @throws {RequiredError}
|
|
2722
|
-
*/
|
|
2723
|
-
async managedPhoneNumbersList(options) {
|
|
2724
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
2725
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2726
|
-
const localVarOperationServerBasePath = operationServerMap["ManagedPhoneNumbersApi.managedPhoneNumbersList"]?.[localVarOperationServerIndex]?.url;
|
|
2727
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2728
|
-
}
|
|
2729
|
-
};
|
|
2730
|
-
};
|
|
2731
|
-
var ManagedPhoneNumbersApiFactory = function(configuration, basePath, axios) {
|
|
2732
|
-
const localVarFp = ManagedPhoneNumbersApiFp(configuration);
|
|
2733
|
-
return {
|
|
2734
|
-
/**
|
|
2735
|
-
*
|
|
2736
|
-
* @summary Managed_phone_numbers List
|
|
2737
|
-
* @param {*} [options] Override http request option.
|
|
2738
|
-
* @throws {RequiredError}
|
|
2739
|
-
*/
|
|
2740
|
-
managedPhoneNumbersList(options) {
|
|
2741
|
-
return localVarFp.managedPhoneNumbersList(options).then((request) => request(axios, basePath));
|
|
2742
|
-
}
|
|
2743
|
-
};
|
|
2744
|
-
};
|
|
2745
|
-
var ManagedPhoneNumbersApi = class extends BaseAPI {
|
|
2746
|
-
/**
|
|
2747
|
-
*
|
|
2748
|
-
* @summary Managed_phone_numbers List
|
|
2749
|
-
* @param {*} [options] Override http request option.
|
|
2750
|
-
* @throws {RequiredError}
|
|
2751
|
-
* @memberof ManagedPhoneNumbersApi
|
|
2752
|
-
*/
|
|
2753
|
-
managedPhoneNumbersList(options) {
|
|
2754
|
-
return ManagedPhoneNumbersApiFp(this.configuration).managedPhoneNumbersList(options).then((request) => request(this.axios, this.basePath));
|
|
2755
|
-
}
|
|
2756
|
-
};
|
|
2757
|
-
var MessagesApiAxiosParamCreator = function(configuration) {
|
|
2758
|
-
return {
|
|
2759
|
-
/**
|
|
2760
|
-
*
|
|
2761
|
-
* @summary Messages Create
|
|
2762
|
-
* @param {string} conversationId
|
|
2763
|
-
* @param {MessageCreate} messageCreate
|
|
2764
|
-
* @param {*} [options] Override http request option.
|
|
2765
|
-
* @throws {RequiredError}
|
|
2766
|
-
*/
|
|
2767
|
-
messagesCreate: async (conversationId, messageCreate, options = {}) => {
|
|
2768
|
-
assertParamExists("messagesCreate", "conversationId", conversationId);
|
|
2769
|
-
assertParamExists("messagesCreate", "messageCreate", messageCreate);
|
|
2770
|
-
const localVarPath = `/conversations/{conversationId}/messages`.replace(`{${"conversationId"}}`, encodeURIComponent(String(conversationId)));
|
|
2771
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2772
|
-
let baseOptions;
|
|
2773
|
-
if (configuration) {
|
|
2774
|
-
baseOptions = configuration.baseOptions;
|
|
2775
|
-
}
|
|
2776
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2777
|
-
const localVarHeaderParameter = {};
|
|
2778
|
-
const localVarQueryParameter = {};
|
|
2779
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2780
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2781
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2782
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2783
|
-
localVarRequestOptions.data = serializeDataIfNeeded(messageCreate, localVarRequestOptions, configuration);
|
|
2784
|
-
return {
|
|
2785
|
-
url: toPathString(localVarUrlObj),
|
|
2786
|
-
options: localVarRequestOptions
|
|
2787
|
-
};
|
|
2788
|
-
},
|
|
2789
|
-
/**
|
|
2790
|
-
*
|
|
2791
|
-
* @summary Messages Get
|
|
2792
|
-
* @param {string} messageId
|
|
2793
|
-
* @param {*} [options] Override http request option.
|
|
2794
|
-
* @throws {RequiredError}
|
|
2795
|
-
*/
|
|
2796
|
-
messagesGet: async (messageId, options = {}) => {
|
|
2797
|
-
assertParamExists("messagesGet", "messageId", messageId);
|
|
2798
|
-
const localVarPath = `/messages/{messageId}`.replace(`{${"messageId"}}`, encodeURIComponent(String(messageId)));
|
|
2799
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2800
|
-
let baseOptions;
|
|
2801
|
-
if (configuration) {
|
|
2802
|
-
baseOptions = configuration.baseOptions;
|
|
2803
|
-
}
|
|
2804
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2805
|
-
const localVarHeaderParameter = {};
|
|
2806
|
-
const localVarQueryParameter = {};
|
|
2807
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2808
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2809
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2810
|
-
return {
|
|
2811
|
-
url: toPathString(localVarUrlObj),
|
|
2812
|
-
options: localVarRequestOptions
|
|
2813
|
-
};
|
|
2814
|
-
},
|
|
2815
|
-
/**
|
|
2816
|
-
*
|
|
2817
|
-
* @summary Messages List
|
|
2818
|
-
* @param {string | null} [searchString]
|
|
2819
|
-
* @param {string | null} [contactId]
|
|
2820
|
-
* @param {string | null} [conversationId]
|
|
2821
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2822
|
-
* @param {number} [limit]
|
|
2823
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2824
|
-
* @param {SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy} [sortBy] Sort key
|
|
2825
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2826
|
-
* @param {*} [options] Override http request option.
|
|
2827
|
-
* @throws {RequiredError}
|
|
2828
|
-
*/
|
|
2829
|
-
messagesList: async (searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options = {}) => {
|
|
2830
|
-
const localVarPath = `/messages`;
|
|
2831
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2832
|
-
let baseOptions;
|
|
2833
|
-
if (configuration) {
|
|
2834
|
-
baseOptions = configuration.baseOptions;
|
|
2835
|
-
}
|
|
2836
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2837
|
-
const localVarHeaderParameter = {};
|
|
2838
|
-
const localVarQueryParameter = {};
|
|
2839
|
-
if (searchString !== void 0) {
|
|
2840
|
-
localVarQueryParameter["searchString"] = searchString;
|
|
2841
|
-
}
|
|
2842
|
-
if (contactId !== void 0) {
|
|
2843
|
-
localVarQueryParameter["contactId"] = contactId;
|
|
2844
|
-
}
|
|
2845
|
-
if (conversationId !== void 0) {
|
|
2846
|
-
localVarQueryParameter["conversationId"] = conversationId;
|
|
2847
|
-
}
|
|
2848
|
-
if (cursor !== void 0) {
|
|
2849
|
-
localVarQueryParameter["cursor"] = cursor;
|
|
2850
|
-
}
|
|
2851
|
-
if (limit !== void 0) {
|
|
2852
|
-
localVarQueryParameter["limit"] = limit;
|
|
2853
|
-
}
|
|
2854
|
-
if (pageDir !== void 0) {
|
|
2855
|
-
localVarQueryParameter["pageDir"] = pageDir;
|
|
2856
|
-
}
|
|
2857
|
-
if (sortBy !== void 0) {
|
|
2858
|
-
localVarQueryParameter["sortBy"] = sortBy;
|
|
2859
|
-
}
|
|
2860
|
-
if (sortOrder !== void 0) {
|
|
2861
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
2862
|
-
}
|
|
2863
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2864
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2865
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2866
|
-
return {
|
|
2867
|
-
url: toPathString(localVarUrlObj),
|
|
2868
|
-
options: localVarRequestOptions
|
|
2869
|
-
};
|
|
2870
|
-
}
|
|
2871
|
-
};
|
|
2872
|
-
};
|
|
2873
|
-
var MessagesApiFp = function(configuration) {
|
|
2874
|
-
const localVarAxiosParamCreator = MessagesApiAxiosParamCreator(configuration);
|
|
2875
|
-
return {
|
|
2876
|
-
/**
|
|
2877
|
-
*
|
|
2878
|
-
* @summary Messages Create
|
|
2879
|
-
* @param {string} conversationId
|
|
2880
|
-
* @param {MessageCreate} messageCreate
|
|
2881
|
-
* @param {*} [options] Override http request option.
|
|
2882
|
-
* @throws {RequiredError}
|
|
2883
|
-
*/
|
|
2884
|
-
async messagesCreate(conversationId, messageCreate, options) {
|
|
2885
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesCreate(conversationId, messageCreate, options);
|
|
2886
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2887
|
-
const localVarOperationServerBasePath = operationServerMap["MessagesApi.messagesCreate"]?.[localVarOperationServerIndex]?.url;
|
|
2888
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2889
|
-
},
|
|
2890
|
-
/**
|
|
2891
|
-
*
|
|
2892
|
-
* @summary Messages Get
|
|
2893
|
-
* @param {string} messageId
|
|
2894
|
-
* @param {*} [options] Override http request option.
|
|
2895
|
-
* @throws {RequiredError}
|
|
2896
|
-
*/
|
|
2897
|
-
async messagesGet(messageId, options) {
|
|
2898
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesGet(messageId, options);
|
|
2899
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2900
|
-
const localVarOperationServerBasePath = operationServerMap["MessagesApi.messagesGet"]?.[localVarOperationServerIndex]?.url;
|
|
2901
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2902
|
-
},
|
|
2903
|
-
/**
|
|
2904
|
-
*
|
|
2905
|
-
* @summary Messages List
|
|
2906
|
-
* @param {string | null} [searchString]
|
|
2907
|
-
* @param {string | null} [contactId]
|
|
2908
|
-
* @param {string | null} [conversationId]
|
|
2909
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2910
|
-
* @param {number} [limit]
|
|
2911
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2912
|
-
* @param {SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy} [sortBy] Sort key
|
|
2913
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2914
|
-
* @param {*} [options] Override http request option.
|
|
2915
|
-
* @throws {RequiredError}
|
|
2916
|
-
*/
|
|
2917
|
-
async messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2918
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
2919
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2920
|
-
const localVarOperationServerBasePath = operationServerMap["MessagesApi.messagesList"]?.[localVarOperationServerIndex]?.url;
|
|
2921
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2922
|
-
}
|
|
2923
|
-
};
|
|
2924
|
-
};
|
|
2925
|
-
var MessagesApiFactory = function(configuration, basePath, axios) {
|
|
2926
|
-
const localVarFp = MessagesApiFp(configuration);
|
|
2927
|
-
return {
|
|
2928
|
-
/**
|
|
2929
|
-
*
|
|
2930
|
-
* @summary Messages Create
|
|
2931
|
-
* @param {string} conversationId
|
|
2932
|
-
* @param {MessageCreate} messageCreate
|
|
2933
|
-
* @param {*} [options] Override http request option.
|
|
2934
|
-
* @throws {RequiredError}
|
|
2935
|
-
*/
|
|
2936
|
-
messagesCreate(conversationId, messageCreate, options) {
|
|
2937
|
-
return localVarFp.messagesCreate(conversationId, messageCreate, options).then((request) => request(axios, basePath));
|
|
2938
|
-
},
|
|
2939
|
-
/**
|
|
2940
|
-
*
|
|
2941
|
-
* @summary Messages Get
|
|
2942
|
-
* @param {string} messageId
|
|
2943
|
-
* @param {*} [options] Override http request option.
|
|
2944
|
-
* @throws {RequiredError}
|
|
2945
|
-
*/
|
|
2946
|
-
messagesGet(messageId, options) {
|
|
2947
|
-
return localVarFp.messagesGet(messageId, options).then((request) => request(axios, basePath));
|
|
2948
|
-
},
|
|
2949
|
-
/**
|
|
2950
|
-
*
|
|
2951
|
-
* @summary Messages List
|
|
2952
|
-
* @param {string | null} [searchString]
|
|
2953
|
-
* @param {string | null} [contactId]
|
|
2954
|
-
* @param {string | null} [conversationId]
|
|
2955
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2956
|
-
* @param {number} [limit]
|
|
2957
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2958
|
-
* @param {SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy} [sortBy] Sort key
|
|
2959
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
2960
|
-
* @param {*} [options] Override http request option.
|
|
2961
|
-
* @throws {RequiredError}
|
|
2962
|
-
*/
|
|
2963
|
-
messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2964
|
-
return localVarFp.messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
2965
|
-
}
|
|
2966
|
-
};
|
|
2967
|
-
};
|
|
2968
|
-
var MessagesApi = class extends BaseAPI {
|
|
2969
|
-
/**
|
|
2970
|
-
*
|
|
2971
|
-
* @summary Messages Create
|
|
2972
|
-
* @param {string} conversationId
|
|
2973
|
-
* @param {MessageCreate} messageCreate
|
|
2974
|
-
* @param {*} [options] Override http request option.
|
|
2975
|
-
* @throws {RequiredError}
|
|
2976
|
-
* @memberof MessagesApi
|
|
2977
|
-
*/
|
|
2978
|
-
messagesCreate(conversationId, messageCreate, options) {
|
|
2979
|
-
return MessagesApiFp(this.configuration).messagesCreate(conversationId, messageCreate, options).then((request) => request(this.axios, this.basePath));
|
|
2980
|
-
}
|
|
2981
|
-
/**
|
|
2982
|
-
*
|
|
2983
|
-
* @summary Messages Get
|
|
2984
|
-
* @param {string} messageId
|
|
2985
|
-
* @param {*} [options] Override http request option.
|
|
2986
|
-
* @throws {RequiredError}
|
|
2987
|
-
* @memberof MessagesApi
|
|
2988
|
-
*/
|
|
2989
|
-
messagesGet(messageId, options) {
|
|
2990
|
-
return MessagesApiFp(this.configuration).messagesGet(messageId, options).then((request) => request(this.axios, this.basePath));
|
|
2991
|
-
}
|
|
2992
|
-
/**
|
|
2993
|
-
*
|
|
2994
|
-
* @summary Messages List
|
|
2995
|
-
* @param {string | null} [searchString]
|
|
2996
|
-
* @param {string | null} [contactId]
|
|
2997
|
-
* @param {string | null} [conversationId]
|
|
2998
|
-
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2999
|
-
* @param {number} [limit]
|
|
3000
|
-
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
3001
|
-
* @param {SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy} [sortBy] Sort key
|
|
3002
|
-
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3003
|
-
* @param {*} [options] Override http request option.
|
|
3004
|
-
* @throws {RequiredError}
|
|
3005
|
-
* @memberof MessagesApi
|
|
3006
|
-
*/
|
|
3007
|
-
messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
3008
|
-
return MessagesApiFp(this.configuration).messagesList(searchString, contactId, conversationId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
3009
|
-
}
|
|
3010
|
-
};
|
|
3011
|
-
var PhoneNumbersApiAxiosParamCreator = function(configuration) {
|
|
3012
|
-
return {
|
|
3013
|
-
/**
|
|
3014
|
-
*
|
|
3015
|
-
* @summary Phone_numbers Create
|
|
3016
|
-
* @param {string} contactId
|
|
3017
|
-
* @param {PhoneNumberCreate} phoneNumberCreate
|
|
3018
|
-
* @param {*} [options] Override http request option.
|
|
3019
|
-
* @throws {RequiredError}
|
|
3020
|
-
*/
|
|
3021
|
-
phoneNumbersCreate: async (contactId, phoneNumberCreate, options = {}) => {
|
|
3022
|
-
assertParamExists("phoneNumbersCreate", "contactId", contactId);
|
|
3023
|
-
assertParamExists("phoneNumbersCreate", "phoneNumberCreate", phoneNumberCreate);
|
|
3024
|
-
const localVarPath = `/contacts/{contactId}/phone_numbers`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
3025
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3026
|
-
let baseOptions;
|
|
3027
|
-
if (configuration) {
|
|
3028
|
-
baseOptions = configuration.baseOptions;
|
|
3029
|
-
}
|
|
3030
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3031
|
-
const localVarHeaderParameter = {};
|
|
3032
|
-
const localVarQueryParameter = {};
|
|
3033
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3034
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3035
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3036
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3037
|
-
localVarRequestOptions.data = serializeDataIfNeeded(phoneNumberCreate, localVarRequestOptions, configuration);
|
|
3038
|
-
return {
|
|
3039
|
-
url: toPathString(localVarUrlObj),
|
|
3040
|
-
options: localVarRequestOptions
|
|
3041
|
-
};
|
|
3042
|
-
},
|
|
3043
|
-
/**
|
|
3044
|
-
*
|
|
3045
|
-
* @summary Phone_numbers Delete
|
|
3046
|
-
* @param {string} phoneNumberId
|
|
3047
|
-
* @param {*} [options] Override http request option.
|
|
3048
|
-
* @throws {RequiredError}
|
|
3049
|
-
*/
|
|
3050
|
-
phoneNumbersDelete: async (phoneNumberId, options = {}) => {
|
|
3051
|
-
assertParamExists("phoneNumbersDelete", "phoneNumberId", phoneNumberId);
|
|
3052
|
-
const localVarPath = `/phone_numbers/{phoneNumberId}`.replace(`{${"phoneNumberId"}}`, encodeURIComponent(String(phoneNumberId)));
|
|
3053
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3054
|
-
let baseOptions;
|
|
3055
|
-
if (configuration) {
|
|
3056
|
-
baseOptions = configuration.baseOptions;
|
|
3057
|
-
}
|
|
3058
|
-
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3059
|
-
const localVarHeaderParameter = {};
|
|
3060
|
-
const localVarQueryParameter = {};
|
|
3061
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3062
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3063
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3064
|
-
return {
|
|
3065
|
-
url: toPathString(localVarUrlObj),
|
|
3066
|
-
options: localVarRequestOptions
|
|
3067
|
-
};
|
|
3068
|
-
},
|
|
3069
|
-
/**
|
|
3070
|
-
*
|
|
3071
|
-
* @summary Phone_numbers Update
|
|
3072
|
-
* @param {string} phoneNumberId
|
|
3073
|
-
* @param {PhoneNumberUpdate} phoneNumberUpdate
|
|
3074
|
-
* @param {*} [options] Override http request option.
|
|
3075
|
-
* @throws {RequiredError}
|
|
3076
|
-
*/
|
|
3077
|
-
phoneNumbersUpdate: async (phoneNumberId, phoneNumberUpdate, options = {}) => {
|
|
3078
|
-
assertParamExists("phoneNumbersUpdate", "phoneNumberId", phoneNumberId);
|
|
3079
|
-
assertParamExists("phoneNumbersUpdate", "phoneNumberUpdate", phoneNumberUpdate);
|
|
3080
|
-
const localVarPath = `/phone_numbers/{phoneNumberId}`.replace(`{${"phoneNumberId"}}`, encodeURIComponent(String(phoneNumberId)));
|
|
3081
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3082
|
-
let baseOptions;
|
|
3083
|
-
if (configuration) {
|
|
3084
|
-
baseOptions = configuration.baseOptions;
|
|
3085
|
-
}
|
|
3086
|
-
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
3087
|
-
const localVarHeaderParameter = {};
|
|
3088
|
-
const localVarQueryParameter = {};
|
|
3089
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2175
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
2176
|
+
}
|
|
3090
2177
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3091
2178
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3092
2179
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3093
|
-
localVarRequestOptions.data = serializeDataIfNeeded(phoneNumberUpdate, localVarRequestOptions, configuration);
|
|
3094
2180
|
return {
|
|
3095
2181
|
url: toPathString(localVarUrlObj),
|
|
3096
2182
|
options: localVarRequestOptions
|
|
@@ -3098,124 +2184,173 @@ var PhoneNumbersApiAxiosParamCreator = function(configuration) {
|
|
|
3098
2184
|
}
|
|
3099
2185
|
};
|
|
3100
2186
|
};
|
|
3101
|
-
var
|
|
3102
|
-
const localVarAxiosParamCreator =
|
|
2187
|
+
var ListingsApiFp = function(configuration) {
|
|
2188
|
+
const localVarAxiosParamCreator = ListingsApiAxiosParamCreator(configuration);
|
|
3103
2189
|
return {
|
|
3104
2190
|
/**
|
|
3105
2191
|
*
|
|
3106
|
-
* @summary
|
|
3107
|
-
* @param {string}
|
|
3108
|
-
* @param {PhoneNumberCreate} phoneNumberCreate
|
|
3109
|
-
* @param {*} [options] Override http request option.
|
|
3110
|
-
* @throws {RequiredError}
|
|
3111
|
-
*/
|
|
3112
|
-
async phoneNumbersCreate(contactId, phoneNumberCreate, options) {
|
|
3113
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.phoneNumbersCreate(contactId, phoneNumberCreate, options);
|
|
3114
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3115
|
-
const localVarOperationServerBasePath = operationServerMap["PhoneNumbersApi.phoneNumbersCreate"]?.[localVarOperationServerIndex]?.url;
|
|
3116
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3117
|
-
},
|
|
3118
|
-
/**
|
|
3119
|
-
*
|
|
3120
|
-
* @summary Phone_numbers Delete
|
|
3121
|
-
* @param {string} phoneNumberId
|
|
2192
|
+
* @summary Listings Get
|
|
2193
|
+
* @param {string} listingId
|
|
3122
2194
|
* @param {*} [options] Override http request option.
|
|
3123
2195
|
* @throws {RequiredError}
|
|
3124
2196
|
*/
|
|
3125
|
-
async
|
|
3126
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2197
|
+
async listingsGet(listingId, options) {
|
|
2198
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsGet(listingId, options);
|
|
3127
2199
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3128
|
-
const localVarOperationServerBasePath = operationServerMap["
|
|
2200
|
+
const localVarOperationServerBasePath = operationServerMap["ListingsApi.listingsGet"]?.[localVarOperationServerIndex]?.url;
|
|
3129
2201
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3130
2202
|
},
|
|
3131
2203
|
/**
|
|
3132
2204
|
*
|
|
3133
|
-
* @summary
|
|
3134
|
-
* @param {string}
|
|
3135
|
-
* @param {
|
|
2205
|
+
* @summary Listings List
|
|
2206
|
+
* @param {string | null} [searchString]
|
|
2207
|
+
* @param {string | null} [contactId]
|
|
2208
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2209
|
+
* @param {number} [limit]
|
|
2210
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2211
|
+
* @param {ListingSortBy} [sortBy] Sort key
|
|
2212
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3136
2213
|
* @param {*} [options] Override http request option.
|
|
3137
2214
|
* @throws {RequiredError}
|
|
3138
2215
|
*/
|
|
3139
|
-
async
|
|
3140
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2216
|
+
async listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2217
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options);
|
|
3141
2218
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3142
|
-
const localVarOperationServerBasePath = operationServerMap["
|
|
2219
|
+
const localVarOperationServerBasePath = operationServerMap["ListingsApi.listingsList"]?.[localVarOperationServerIndex]?.url;
|
|
3143
2220
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3144
2221
|
}
|
|
3145
2222
|
};
|
|
3146
2223
|
};
|
|
3147
|
-
var
|
|
3148
|
-
const localVarFp =
|
|
2224
|
+
var ListingsApiFactory = function(configuration, basePath, axios) {
|
|
2225
|
+
const localVarFp = ListingsApiFp(configuration);
|
|
3149
2226
|
return {
|
|
3150
2227
|
/**
|
|
3151
2228
|
*
|
|
3152
|
-
* @summary
|
|
3153
|
-
* @param {string}
|
|
3154
|
-
* @param {PhoneNumberCreate} phoneNumberCreate
|
|
3155
|
-
* @param {*} [options] Override http request option.
|
|
3156
|
-
* @throws {RequiredError}
|
|
3157
|
-
*/
|
|
3158
|
-
phoneNumbersCreate(contactId, phoneNumberCreate, options) {
|
|
3159
|
-
return localVarFp.phoneNumbersCreate(contactId, phoneNumberCreate, options).then((request) => request(axios, basePath));
|
|
3160
|
-
},
|
|
3161
|
-
/**
|
|
3162
|
-
*
|
|
3163
|
-
* @summary Phone_numbers Delete
|
|
3164
|
-
* @param {string} phoneNumberId
|
|
2229
|
+
* @summary Listings Get
|
|
2230
|
+
* @param {string} listingId
|
|
3165
2231
|
* @param {*} [options] Override http request option.
|
|
3166
2232
|
* @throws {RequiredError}
|
|
3167
2233
|
*/
|
|
3168
|
-
|
|
3169
|
-
return localVarFp.
|
|
2234
|
+
listingsGet(listingId, options) {
|
|
2235
|
+
return localVarFp.listingsGet(listingId, options).then((request) => request(axios, basePath));
|
|
3170
2236
|
},
|
|
3171
2237
|
/**
|
|
3172
2238
|
*
|
|
3173
|
-
* @summary
|
|
3174
|
-
* @param {string}
|
|
3175
|
-
* @param {
|
|
2239
|
+
* @summary Listings List
|
|
2240
|
+
* @param {string | null} [searchString]
|
|
2241
|
+
* @param {string | null} [contactId]
|
|
2242
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2243
|
+
* @param {number} [limit]
|
|
2244
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2245
|
+
* @param {ListingSortBy} [sortBy] Sort key
|
|
2246
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3176
2247
|
* @param {*} [options] Override http request option.
|
|
3177
2248
|
* @throws {RequiredError}
|
|
3178
2249
|
*/
|
|
3179
|
-
|
|
3180
|
-
return localVarFp.
|
|
2250
|
+
listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2251
|
+
return localVarFp.listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(axios, basePath));
|
|
3181
2252
|
}
|
|
3182
2253
|
};
|
|
3183
2254
|
};
|
|
3184
|
-
var
|
|
2255
|
+
var ListingsApi = class extends BaseAPI {
|
|
3185
2256
|
/**
|
|
3186
2257
|
*
|
|
3187
|
-
* @summary
|
|
3188
|
-
* @param {string}
|
|
3189
|
-
* @param {PhoneNumberCreate} phoneNumberCreate
|
|
2258
|
+
* @summary Listings Get
|
|
2259
|
+
* @param {string} listingId
|
|
3190
2260
|
* @param {*} [options] Override http request option.
|
|
3191
2261
|
* @throws {RequiredError}
|
|
3192
|
-
* @memberof
|
|
2262
|
+
* @memberof ListingsApi
|
|
3193
2263
|
*/
|
|
3194
|
-
|
|
3195
|
-
return
|
|
2264
|
+
listingsGet(listingId, options) {
|
|
2265
|
+
return ListingsApiFp(this.configuration).listingsGet(listingId, options).then((request) => request(this.axios, this.basePath));
|
|
3196
2266
|
}
|
|
3197
2267
|
/**
|
|
3198
2268
|
*
|
|
3199
|
-
* @summary
|
|
3200
|
-
* @param {string}
|
|
2269
|
+
* @summary Listings List
|
|
2270
|
+
* @param {string | null} [searchString]
|
|
2271
|
+
* @param {string | null} [contactId]
|
|
2272
|
+
* @param {string | null} [cursor] Cursor for keyset paging
|
|
2273
|
+
* @param {number} [limit]
|
|
2274
|
+
* @param {PaginationDirection} [pageDir] Direction of paging
|
|
2275
|
+
* @param {ListingSortBy} [sortBy] Sort key
|
|
2276
|
+
* @param {SortOrder} [sortOrder] Sort order asc/desc
|
|
3201
2277
|
* @param {*} [options] Override http request option.
|
|
3202
2278
|
* @throws {RequiredError}
|
|
3203
|
-
* @memberof
|
|
2279
|
+
* @memberof ListingsApi
|
|
3204
2280
|
*/
|
|
3205
|
-
|
|
3206
|
-
return
|
|
2281
|
+
listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options) {
|
|
2282
|
+
return ListingsApiFp(this.configuration).listingsList(searchString, contactId, cursor, limit, pageDir, sortBy, sortOrder, options).then((request) => request(this.axios, this.basePath));
|
|
3207
2283
|
}
|
|
2284
|
+
};
|
|
2285
|
+
var ManagedPhoneNumbersApiAxiosParamCreator = function(configuration) {
|
|
2286
|
+
return {
|
|
2287
|
+
/**
|
|
2288
|
+
*
|
|
2289
|
+
* @summary Managed_phone_numbers List
|
|
2290
|
+
* @param {*} [options] Override http request option.
|
|
2291
|
+
* @throws {RequiredError}
|
|
2292
|
+
*/
|
|
2293
|
+
managedPhoneNumbersList: async (options = {}) => {
|
|
2294
|
+
const localVarPath = `/managed_phone_numbers`;
|
|
2295
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2296
|
+
let baseOptions;
|
|
2297
|
+
if (configuration) {
|
|
2298
|
+
baseOptions = configuration.baseOptions;
|
|
2299
|
+
}
|
|
2300
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2301
|
+
const localVarHeaderParameter = {};
|
|
2302
|
+
const localVarQueryParameter = {};
|
|
2303
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2304
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2305
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2306
|
+
return {
|
|
2307
|
+
url: toPathString(localVarUrlObj),
|
|
2308
|
+
options: localVarRequestOptions
|
|
2309
|
+
};
|
|
2310
|
+
}
|
|
2311
|
+
};
|
|
2312
|
+
};
|
|
2313
|
+
var ManagedPhoneNumbersApiFp = function(configuration) {
|
|
2314
|
+
const localVarAxiosParamCreator = ManagedPhoneNumbersApiAxiosParamCreator(configuration);
|
|
2315
|
+
return {
|
|
2316
|
+
/**
|
|
2317
|
+
*
|
|
2318
|
+
* @summary Managed_phone_numbers List
|
|
2319
|
+
* @param {*} [options] Override http request option.
|
|
2320
|
+
* @throws {RequiredError}
|
|
2321
|
+
*/
|
|
2322
|
+
async managedPhoneNumbersList(options) {
|
|
2323
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.managedPhoneNumbersList(options);
|
|
2324
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2325
|
+
const localVarOperationServerBasePath = operationServerMap["ManagedPhoneNumbersApi.managedPhoneNumbersList"]?.[localVarOperationServerIndex]?.url;
|
|
2326
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2327
|
+
}
|
|
2328
|
+
};
|
|
2329
|
+
};
|
|
2330
|
+
var ManagedPhoneNumbersApiFactory = function(configuration, basePath, axios) {
|
|
2331
|
+
const localVarFp = ManagedPhoneNumbersApiFp(configuration);
|
|
2332
|
+
return {
|
|
2333
|
+
/**
|
|
2334
|
+
*
|
|
2335
|
+
* @summary Managed_phone_numbers List
|
|
2336
|
+
* @param {*} [options] Override http request option.
|
|
2337
|
+
* @throws {RequiredError}
|
|
2338
|
+
*/
|
|
2339
|
+
managedPhoneNumbersList(options) {
|
|
2340
|
+
return localVarFp.managedPhoneNumbersList(options).then((request) => request(axios, basePath));
|
|
2341
|
+
}
|
|
2342
|
+
};
|
|
2343
|
+
};
|
|
2344
|
+
var ManagedPhoneNumbersApi = class extends BaseAPI {
|
|
3208
2345
|
/**
|
|
3209
2346
|
*
|
|
3210
|
-
* @summary
|
|
3211
|
-
* @param {string} phoneNumberId
|
|
3212
|
-
* @param {PhoneNumberUpdate} phoneNumberUpdate
|
|
2347
|
+
* @summary Managed_phone_numbers List
|
|
3213
2348
|
* @param {*} [options] Override http request option.
|
|
3214
2349
|
* @throws {RequiredError}
|
|
3215
|
-
* @memberof
|
|
2350
|
+
* @memberof ManagedPhoneNumbersApi
|
|
3216
2351
|
*/
|
|
3217
|
-
|
|
3218
|
-
return
|
|
2352
|
+
managedPhoneNumbersList(options) {
|
|
2353
|
+
return ManagedPhoneNumbersApiFp(this.configuration).managedPhoneNumbersList(options).then((request) => request(this.axios, this.basePath));
|
|
3219
2354
|
}
|
|
3220
2355
|
};
|
|
3221
2356
|
var ProvidersApiAxiosParamCreator = function(configuration) {
|
|
@@ -3480,6 +2615,32 @@ var ProvidersApi = class extends BaseAPI {
|
|
|
3480
2615
|
};
|
|
3481
2616
|
var ReservationsApiAxiosParamCreator = function(configuration) {
|
|
3482
2617
|
return {
|
|
2618
|
+
/**
|
|
2619
|
+
*
|
|
2620
|
+
* @summary Reservations Get
|
|
2621
|
+
* @param {string} reservationId
|
|
2622
|
+
* @param {*} [options] Override http request option.
|
|
2623
|
+
* @throws {RequiredError}
|
|
2624
|
+
*/
|
|
2625
|
+
reservationsGet: async (reservationId, options = {}) => {
|
|
2626
|
+
assertParamExists("reservationsGet", "reservationId", reservationId);
|
|
2627
|
+
const localVarPath = `/reservations/{reservationId}`.replace(`{${"reservationId"}}`, encodeURIComponent(String(reservationId)));
|
|
2628
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2629
|
+
let baseOptions;
|
|
2630
|
+
if (configuration) {
|
|
2631
|
+
baseOptions = configuration.baseOptions;
|
|
2632
|
+
}
|
|
2633
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2634
|
+
const localVarHeaderParameter = {};
|
|
2635
|
+
const localVarQueryParameter = {};
|
|
2636
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2637
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2638
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2639
|
+
return {
|
|
2640
|
+
url: toPathString(localVarUrlObj),
|
|
2641
|
+
options: localVarRequestOptions
|
|
2642
|
+
};
|
|
2643
|
+
},
|
|
3483
2644
|
/**
|
|
3484
2645
|
*
|
|
3485
2646
|
* @summary Reservations List
|
|
@@ -3537,6 +2698,19 @@ var ReservationsApiAxiosParamCreator = function(configuration) {
|
|
|
3537
2698
|
var ReservationsApiFp = function(configuration) {
|
|
3538
2699
|
const localVarAxiosParamCreator = ReservationsApiAxiosParamCreator(configuration);
|
|
3539
2700
|
return {
|
|
2701
|
+
/**
|
|
2702
|
+
*
|
|
2703
|
+
* @summary Reservations Get
|
|
2704
|
+
* @param {string} reservationId
|
|
2705
|
+
* @param {*} [options] Override http request option.
|
|
2706
|
+
* @throws {RequiredError}
|
|
2707
|
+
*/
|
|
2708
|
+
async reservationsGet(reservationId, options) {
|
|
2709
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
2710
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2711
|
+
const localVarOperationServerBasePath = operationServerMap["ReservationsApi.reservationsGet"]?.[localVarOperationServerIndex]?.url;
|
|
2712
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2713
|
+
},
|
|
3540
2714
|
/**
|
|
3541
2715
|
*
|
|
3542
2716
|
* @summary Reservations List
|
|
@@ -3561,6 +2735,16 @@ var ReservationsApiFp = function(configuration) {
|
|
|
3561
2735
|
var ReservationsApiFactory = function(configuration, basePath, axios) {
|
|
3562
2736
|
const localVarFp = ReservationsApiFp(configuration);
|
|
3563
2737
|
return {
|
|
2738
|
+
/**
|
|
2739
|
+
*
|
|
2740
|
+
* @summary Reservations Get
|
|
2741
|
+
* @param {string} reservationId
|
|
2742
|
+
* @param {*} [options] Override http request option.
|
|
2743
|
+
* @throws {RequiredError}
|
|
2744
|
+
*/
|
|
2745
|
+
reservationsGet(reservationId, options) {
|
|
2746
|
+
return localVarFp.reservationsGet(reservationId, options).then((request) => request(axios, basePath));
|
|
2747
|
+
},
|
|
3564
2748
|
/**
|
|
3565
2749
|
*
|
|
3566
2750
|
* @summary Reservations List
|
|
@@ -3580,6 +2764,17 @@ var ReservationsApiFactory = function(configuration, basePath, axios) {
|
|
|
3580
2764
|
};
|
|
3581
2765
|
};
|
|
3582
2766
|
var ReservationsApi = class extends BaseAPI {
|
|
2767
|
+
/**
|
|
2768
|
+
*
|
|
2769
|
+
* @summary Reservations Get
|
|
2770
|
+
* @param {string} reservationId
|
|
2771
|
+
* @param {*} [options] Override http request option.
|
|
2772
|
+
* @throws {RequiredError}
|
|
2773
|
+
* @memberof ReservationsApi
|
|
2774
|
+
*/
|
|
2775
|
+
reservationsGet(reservationId, options) {
|
|
2776
|
+
return ReservationsApiFp(this.configuration).reservationsGet(reservationId, options).then((request) => request(this.axios, this.basePath));
|
|
2777
|
+
}
|
|
3583
2778
|
/**
|
|
3584
2779
|
*
|
|
3585
2780
|
* @summary Reservations List
|
|
@@ -4622,6 +3817,32 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4622
3817
|
options: localVarRequestOptions
|
|
4623
3818
|
};
|
|
4624
3819
|
},
|
|
3820
|
+
/**
|
|
3821
|
+
*
|
|
3822
|
+
* @summary Reservations Get
|
|
3823
|
+
* @param {string} reservationId
|
|
3824
|
+
* @param {*} [options] Override http request option.
|
|
3825
|
+
* @throws {RequiredError}
|
|
3826
|
+
*/
|
|
3827
|
+
reservationsGet: async (reservationId, options = {}) => {
|
|
3828
|
+
assertParamExists("reservationsGet", "reservationId", reservationId);
|
|
3829
|
+
const localVarPath = `/reservations/{reservationId}`.replace(`{${"reservationId"}}`, encodeURIComponent(String(reservationId)));
|
|
3830
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3831
|
+
let baseOptions;
|
|
3832
|
+
if (configuration) {
|
|
3833
|
+
baseOptions = configuration.baseOptions;
|
|
3834
|
+
}
|
|
3835
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3836
|
+
const localVarHeaderParameter = {};
|
|
3837
|
+
const localVarQueryParameter = {};
|
|
3838
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3839
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3840
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3841
|
+
return {
|
|
3842
|
+
url: toPathString(localVarUrlObj),
|
|
3843
|
+
options: localVarRequestOptions
|
|
3844
|
+
};
|
|
3845
|
+
},
|
|
4625
3846
|
/**
|
|
4626
3847
|
*
|
|
4627
3848
|
* @summary Reservations List
|
|
@@ -5174,6 +4395,19 @@ var UnboundApiFp = function(configuration) {
|
|
|
5174
4395
|
const localVarOperationServerBasePath = operationServerMap["UnboundApi.providersUpdate"]?.[localVarOperationServerIndex]?.url;
|
|
5175
4396
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5176
4397
|
},
|
|
4398
|
+
/**
|
|
4399
|
+
*
|
|
4400
|
+
* @summary Reservations Get
|
|
4401
|
+
* @param {string} reservationId
|
|
4402
|
+
* @param {*} [options] Override http request option.
|
|
4403
|
+
* @throws {RequiredError}
|
|
4404
|
+
*/
|
|
4405
|
+
async reservationsGet(reservationId, options) {
|
|
4406
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.reservationsGet(reservationId, options);
|
|
4407
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4408
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.reservationsGet"]?.[localVarOperationServerIndex]?.url;
|
|
4409
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4410
|
+
},
|
|
5177
4411
|
/**
|
|
5178
4412
|
*
|
|
5179
4413
|
* @summary Reservations List
|
|
@@ -5578,6 +4812,16 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5578
4812
|
providersUpdate(providerId, providerUpdate, options) {
|
|
5579
4813
|
return localVarFp.providersUpdate(providerId, providerUpdate, options).then((request) => request(axios, basePath));
|
|
5580
4814
|
},
|
|
4815
|
+
/**
|
|
4816
|
+
*
|
|
4817
|
+
* @summary Reservations Get
|
|
4818
|
+
* @param {string} reservationId
|
|
4819
|
+
* @param {*} [options] Override http request option.
|
|
4820
|
+
* @throws {RequiredError}
|
|
4821
|
+
*/
|
|
4822
|
+
reservationsGet(reservationId, options) {
|
|
4823
|
+
return localVarFp.reservationsGet(reservationId, options).then((request) => request(axios, basePath));
|
|
4824
|
+
},
|
|
5581
4825
|
/**
|
|
5582
4826
|
*
|
|
5583
4827
|
* @summary Reservations List
|
|
@@ -6007,6 +5251,17 @@ var UnboundApi = class extends BaseAPI {
|
|
|
6007
5251
|
providersUpdate(providerId, providerUpdate, options) {
|
|
6008
5252
|
return UnboundApiFp(this.configuration).providersUpdate(providerId, providerUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
6009
5253
|
}
|
|
5254
|
+
/**
|
|
5255
|
+
*
|
|
5256
|
+
* @summary Reservations Get
|
|
5257
|
+
* @param {string} reservationId
|
|
5258
|
+
* @param {*} [options] Override http request option.
|
|
5259
|
+
* @throws {RequiredError}
|
|
5260
|
+
* @memberof UnboundApi
|
|
5261
|
+
*/
|
|
5262
|
+
reservationsGet(reservationId, options) {
|
|
5263
|
+
return UnboundApiFp(this.configuration).reservationsGet(reservationId, options).then((request) => request(this.axios, this.basePath));
|
|
5264
|
+
}
|
|
6010
5265
|
/**
|
|
6011
5266
|
*
|
|
6012
5267
|
* @summary Reservations List
|
|
@@ -6130,10 +5385,6 @@ export {
|
|
|
6130
5385
|
AccountsApiAxiosParamCreator,
|
|
6131
5386
|
AccountsApiFactory,
|
|
6132
5387
|
AccountsApiFp,
|
|
6133
|
-
AddressesApi,
|
|
6134
|
-
AddressesApiAxiosParamCreator,
|
|
6135
|
-
AddressesApiFactory,
|
|
6136
|
-
AddressesApiFp,
|
|
6137
5388
|
Configuration,
|
|
6138
5389
|
ContactListingType,
|
|
6139
5390
|
ContactSortBy,
|
|
@@ -6146,10 +5397,6 @@ export {
|
|
|
6146
5397
|
ConversationsApiAxiosParamCreator,
|
|
6147
5398
|
ConversationsApiFactory,
|
|
6148
5399
|
ConversationsApiFp,
|
|
6149
|
-
EmailsApi,
|
|
6150
|
-
EmailsApiAxiosParamCreator,
|
|
6151
|
-
EmailsApiFactory,
|
|
6152
|
-
EmailsApiFp,
|
|
6153
5400
|
HostawayApi,
|
|
6154
5401
|
HostawayApiAxiosParamCreator,
|
|
6155
5402
|
HostawayApiFactory,
|
|
@@ -6169,30 +5416,23 @@ export {
|
|
|
6169
5416
|
ManagedPhoneNumbersApiFp,
|
|
6170
5417
|
MessageDirection,
|
|
6171
5418
|
MessageStatus,
|
|
6172
|
-
MessagesApi,
|
|
6173
|
-
MessagesApiAxiosParamCreator,
|
|
6174
|
-
MessagesApiFactory,
|
|
6175
|
-
MessagesApiFp,
|
|
6176
5419
|
PaginationDirection,
|
|
6177
|
-
PhoneNumbersApi,
|
|
6178
|
-
PhoneNumbersApiAxiosParamCreator,
|
|
6179
|
-
PhoneNumbersApiFactory,
|
|
6180
|
-
PhoneNumbersApiFp,
|
|
6181
5420
|
ProviderMessageApiConversationTypeEnum,
|
|
6182
5421
|
ProvidersApi,
|
|
6183
5422
|
ProvidersApiAxiosParamCreator,
|
|
6184
5423
|
ProvidersApiFactory,
|
|
6185
5424
|
ProvidersApiFp,
|
|
5425
|
+
ReservationChannelTypes,
|
|
6186
5426
|
ReservationsApi,
|
|
6187
5427
|
ReservationsApiAxiosParamCreator,
|
|
6188
5428
|
ReservationsApiFactory,
|
|
6189
5429
|
ReservationsApiFp,
|
|
6190
5430
|
SortOrder,
|
|
6191
5431
|
SrcResourceModelsConversationsModelConversationsModelConversationSortBy,
|
|
6192
|
-
SrcResourceModelsHelperModelsCustomBaseModelCreateApi2ConversationTypeEnum,
|
|
6193
|
-
SrcResourceModelsHelperModelsCustomBaseModelCreateApi3ConversationTypeEnum,
|
|
6194
5432
|
SrcResourceModelsHelperModelsCustomBaseModelCreateApi4ConversationTypeEnum,
|
|
6195
5433
|
SrcResourceModelsHelperModelsCustomBaseModelCreateApi5ConversationTypeEnum,
|
|
5434
|
+
SrcResourceModelsHelperModelsCustomBaseModelCreateApi6ConversationTypeEnum,
|
|
5435
|
+
SrcResourceModelsHelperModelsCustomBaseModelCreateApi7ConversationTypeEnum,
|
|
6196
5436
|
SrcResourceModelsHelperModelsCustomBaseModelUpdateApi1ConversationTypeEnum,
|
|
6197
5437
|
SrcResourceModelsHelperModelsCustomBaseModelUpdateApi2ConversationTypeEnum,
|
|
6198
5438
|
SrcResourceModelsMessagesModelMessagesModelMessageBaseSortBy,
|