@ember-home/unbound-ts-client 0.0.6 → 0.0.8
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 +1814 -410
- package/dist/index.d.ts +1814 -410
- package/dist/index.js +1756 -316
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1578 -138
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -75,29 +75,342 @@ var createRequestFunction = function(axiosArgs, globalAxios3, BASE_PATH2, config
|
|
|
75
75
|
};
|
|
76
76
|
|
|
77
77
|
// src/api.ts
|
|
78
|
-
var
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
var ContactType = {
|
|
79
|
+
Guest: "GUEST",
|
|
80
|
+
Owner: "OWNER",
|
|
81
|
+
Lead: "LEAD",
|
|
82
|
+
Basic: "BASIC"
|
|
81
83
|
};
|
|
82
|
-
var
|
|
83
|
-
|
|
84
|
+
var DataSource = {
|
|
85
|
+
Hostaway: "HOSTAWAY",
|
|
86
|
+
Guesty: "GUESTY",
|
|
84
87
|
Manual: "MANUAL"
|
|
85
88
|
};
|
|
86
89
|
var GuestDataContactTypeEnum = {
|
|
87
90
|
Guest: "GUEST"
|
|
88
91
|
};
|
|
89
|
-
var
|
|
90
|
-
|
|
92
|
+
var GuestDataCreateContactTypeEnum = {
|
|
93
|
+
Guest: "GUEST"
|
|
94
|
+
};
|
|
95
|
+
var GuestDataUpdateContactTypeEnum = {
|
|
96
|
+
Guest: "GUEST"
|
|
97
|
+
};
|
|
98
|
+
var LeadDataContactTypeEnum = {
|
|
99
|
+
Lead: "LEAD"
|
|
100
|
+
};
|
|
101
|
+
var LeadDataCreateContactTypeEnum = {
|
|
102
|
+
Lead: "LEAD"
|
|
103
|
+
};
|
|
104
|
+
var LeadDataUpdateContactTypeEnum = {
|
|
105
|
+
Lead: "LEAD"
|
|
91
106
|
};
|
|
92
107
|
var OwnerDataContactTypeEnum = {
|
|
93
108
|
Owner: "OWNER"
|
|
94
109
|
};
|
|
95
|
-
var
|
|
96
|
-
|
|
97
|
-
|
|
110
|
+
var OwnerDataCreateContactTypeEnum = {
|
|
111
|
+
Owner: "OWNER"
|
|
112
|
+
};
|
|
113
|
+
var OwnerDataUpdateContactTypeEnum = {
|
|
114
|
+
Owner: "OWNER"
|
|
115
|
+
};
|
|
116
|
+
var AddressesApiAxiosParamCreator = function(configuration) {
|
|
117
|
+
return {
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @summary Addresses Create
|
|
121
|
+
* @param {string} contactId
|
|
122
|
+
* @param {AddressCreate} addressCreate
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
addressesCreate: async (contactId, addressCreate, options = {}) => {
|
|
127
|
+
assertParamExists("addressesCreate", "contactId", contactId);
|
|
128
|
+
assertParamExists("addressesCreate", "addressCreate", addressCreate);
|
|
129
|
+
const localVarPath = `/contacts/{contactId}/addresses`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
130
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
131
|
+
let baseOptions;
|
|
132
|
+
if (configuration) {
|
|
133
|
+
baseOptions = configuration.baseOptions;
|
|
134
|
+
}
|
|
135
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
136
|
+
const localVarHeaderParameter = {};
|
|
137
|
+
const localVarQueryParameter = {};
|
|
138
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
139
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
140
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
141
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
142
|
+
localVarRequestOptions.data = serializeDataIfNeeded(addressCreate, localVarRequestOptions, configuration);
|
|
143
|
+
return {
|
|
144
|
+
url: toPathString(localVarUrlObj),
|
|
145
|
+
options: localVarRequestOptions
|
|
146
|
+
};
|
|
147
|
+
},
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @summary Addresses Delete
|
|
151
|
+
* @param {string} addressId
|
|
152
|
+
* @param {*} [options] Override http request option.
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
*/
|
|
155
|
+
addressesDelete: async (addressId, options = {}) => {
|
|
156
|
+
assertParamExists("addressesDelete", "addressId", addressId);
|
|
157
|
+
const localVarPath = `/addresses/{addressId}`.replace(`{${"addressId"}}`, encodeURIComponent(String(addressId)));
|
|
158
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
159
|
+
let baseOptions;
|
|
160
|
+
if (configuration) {
|
|
161
|
+
baseOptions = configuration.baseOptions;
|
|
162
|
+
}
|
|
163
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
164
|
+
const localVarHeaderParameter = {};
|
|
165
|
+
const localVarQueryParameter = {};
|
|
166
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
167
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
168
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
169
|
+
return {
|
|
170
|
+
url: toPathString(localVarUrlObj),
|
|
171
|
+
options: localVarRequestOptions
|
|
172
|
+
};
|
|
173
|
+
},
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* @summary Addresses Update
|
|
177
|
+
* @param {string} addressId
|
|
178
|
+
* @param {AddressUpdate} addressUpdate
|
|
179
|
+
* @param {*} [options] Override http request option.
|
|
180
|
+
* @throws {RequiredError}
|
|
181
|
+
*/
|
|
182
|
+
addressesUpdate: async (addressId, addressUpdate, options = {}) => {
|
|
183
|
+
assertParamExists("addressesUpdate", "addressId", addressId);
|
|
184
|
+
assertParamExists("addressesUpdate", "addressUpdate", addressUpdate);
|
|
185
|
+
const localVarPath = `/addresses/{addressId}`.replace(`{${"addressId"}}`, encodeURIComponent(String(addressId)));
|
|
186
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
187
|
+
let baseOptions;
|
|
188
|
+
if (configuration) {
|
|
189
|
+
baseOptions = configuration.baseOptions;
|
|
190
|
+
}
|
|
191
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
192
|
+
const localVarHeaderParameter = {};
|
|
193
|
+
const localVarQueryParameter = {};
|
|
194
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
195
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
196
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
197
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
198
|
+
localVarRequestOptions.data = serializeDataIfNeeded(addressUpdate, localVarRequestOptions, configuration);
|
|
199
|
+
return {
|
|
200
|
+
url: toPathString(localVarUrlObj),
|
|
201
|
+
options: localVarRequestOptions
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
var AddressesApiFp = function(configuration) {
|
|
207
|
+
const localVarAxiosParamCreator = AddressesApiAxiosParamCreator(configuration);
|
|
208
|
+
return {
|
|
209
|
+
/**
|
|
210
|
+
*
|
|
211
|
+
* @summary Addresses Create
|
|
212
|
+
* @param {string} contactId
|
|
213
|
+
* @param {AddressCreate} addressCreate
|
|
214
|
+
* @param {*} [options] Override http request option.
|
|
215
|
+
* @throws {RequiredError}
|
|
216
|
+
*/
|
|
217
|
+
async addressesCreate(contactId, addressCreate, options) {
|
|
218
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, addressCreate, options);
|
|
219
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
220
|
+
const localVarOperationServerBasePath = operationServerMap["AddressesApi.addressesCreate"]?.[localVarOperationServerIndex]?.url;
|
|
221
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
222
|
+
},
|
|
223
|
+
/**
|
|
224
|
+
*
|
|
225
|
+
* @summary Addresses Delete
|
|
226
|
+
* @param {string} addressId
|
|
227
|
+
* @param {*} [options] Override http request option.
|
|
228
|
+
* @throws {RequiredError}
|
|
229
|
+
*/
|
|
230
|
+
async addressesDelete(addressId, options) {
|
|
231
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesDelete(addressId, options);
|
|
232
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
233
|
+
const localVarOperationServerBasePath = operationServerMap["AddressesApi.addressesDelete"]?.[localVarOperationServerIndex]?.url;
|
|
234
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
235
|
+
},
|
|
236
|
+
/**
|
|
237
|
+
*
|
|
238
|
+
* @summary Addresses Update
|
|
239
|
+
* @param {string} addressId
|
|
240
|
+
* @param {AddressUpdate} addressUpdate
|
|
241
|
+
* @param {*} [options] Override http request option.
|
|
242
|
+
* @throws {RequiredError}
|
|
243
|
+
*/
|
|
244
|
+
async addressesUpdate(addressId, addressUpdate, options) {
|
|
245
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, addressUpdate, options);
|
|
246
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
247
|
+
const localVarOperationServerBasePath = operationServerMap["AddressesApi.addressesUpdate"]?.[localVarOperationServerIndex]?.url;
|
|
248
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
249
|
+
}
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
var AddressesApiFactory = function(configuration, basePath, axios) {
|
|
253
|
+
const localVarFp = AddressesApiFp(configuration);
|
|
254
|
+
return {
|
|
255
|
+
/**
|
|
256
|
+
*
|
|
257
|
+
* @summary Addresses Create
|
|
258
|
+
* @param {string} contactId
|
|
259
|
+
* @param {AddressCreate} addressCreate
|
|
260
|
+
* @param {*} [options] Override http request option.
|
|
261
|
+
* @throws {RequiredError}
|
|
262
|
+
*/
|
|
263
|
+
addressesCreate(contactId, addressCreate, options) {
|
|
264
|
+
return localVarFp.addressesCreate(contactId, addressCreate, options).then((request) => request(axios, basePath));
|
|
265
|
+
},
|
|
266
|
+
/**
|
|
267
|
+
*
|
|
268
|
+
* @summary Addresses Delete
|
|
269
|
+
* @param {string} addressId
|
|
270
|
+
* @param {*} [options] Override http request option.
|
|
271
|
+
* @throws {RequiredError}
|
|
272
|
+
*/
|
|
273
|
+
addressesDelete(addressId, options) {
|
|
274
|
+
return localVarFp.addressesDelete(addressId, options).then((request) => request(axios, basePath));
|
|
275
|
+
},
|
|
276
|
+
/**
|
|
277
|
+
*
|
|
278
|
+
* @summary Addresses Update
|
|
279
|
+
* @param {string} addressId
|
|
280
|
+
* @param {AddressUpdate} addressUpdate
|
|
281
|
+
* @param {*} [options] Override http request option.
|
|
282
|
+
* @throws {RequiredError}
|
|
283
|
+
*/
|
|
284
|
+
addressesUpdate(addressId, addressUpdate, options) {
|
|
285
|
+
return localVarFp.addressesUpdate(addressId, addressUpdate, options).then((request) => request(axios, basePath));
|
|
286
|
+
}
|
|
287
|
+
};
|
|
288
|
+
};
|
|
289
|
+
var AddressesApi = class extends BaseAPI {
|
|
290
|
+
/**
|
|
291
|
+
*
|
|
292
|
+
* @summary Addresses Create
|
|
293
|
+
* @param {string} contactId
|
|
294
|
+
* @param {AddressCreate} addressCreate
|
|
295
|
+
* @param {*} [options] Override http request option.
|
|
296
|
+
* @throws {RequiredError}
|
|
297
|
+
* @memberof AddressesApi
|
|
298
|
+
*/
|
|
299
|
+
addressesCreate(contactId, addressCreate, options) {
|
|
300
|
+
return AddressesApiFp(this.configuration).addressesCreate(contactId, addressCreate, options).then((request) => request(this.axios, this.basePath));
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
*
|
|
304
|
+
* @summary Addresses Delete
|
|
305
|
+
* @param {string} addressId
|
|
306
|
+
* @param {*} [options] Override http request option.
|
|
307
|
+
* @throws {RequiredError}
|
|
308
|
+
* @memberof AddressesApi
|
|
309
|
+
*/
|
|
310
|
+
addressesDelete(addressId, options) {
|
|
311
|
+
return AddressesApiFp(this.configuration).addressesDelete(addressId, options).then((request) => request(this.axios, this.basePath));
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
*
|
|
315
|
+
* @summary Addresses Update
|
|
316
|
+
* @param {string} addressId
|
|
317
|
+
* @param {AddressUpdate} addressUpdate
|
|
318
|
+
* @param {*} [options] Override http request option.
|
|
319
|
+
* @throws {RequiredError}
|
|
320
|
+
* @memberof AddressesApi
|
|
321
|
+
*/
|
|
322
|
+
addressesUpdate(addressId, addressUpdate, options) {
|
|
323
|
+
return AddressesApiFp(this.configuration).addressesUpdate(addressId, addressUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
324
|
+
}
|
|
98
325
|
};
|
|
99
326
|
var ContactsApiAxiosParamCreator = function(configuration) {
|
|
100
327
|
return {
|
|
328
|
+
/**
|
|
329
|
+
*
|
|
330
|
+
* @summary Addresses Create
|
|
331
|
+
* @param {string} contactId
|
|
332
|
+
* @param {AddressCreate} addressCreate
|
|
333
|
+
* @param {*} [options] Override http request option.
|
|
334
|
+
* @throws {RequiredError}
|
|
335
|
+
*/
|
|
336
|
+
addressesCreate: async (contactId, addressCreate, options = {}) => {
|
|
337
|
+
assertParamExists("addressesCreate", "contactId", contactId);
|
|
338
|
+
assertParamExists("addressesCreate", "addressCreate", addressCreate);
|
|
339
|
+
const localVarPath = `/contacts/{contactId}/addresses`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
340
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
341
|
+
let baseOptions;
|
|
342
|
+
if (configuration) {
|
|
343
|
+
baseOptions = configuration.baseOptions;
|
|
344
|
+
}
|
|
345
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
346
|
+
const localVarHeaderParameter = {};
|
|
347
|
+
const localVarQueryParameter = {};
|
|
348
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
349
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
350
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
351
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
352
|
+
localVarRequestOptions.data = serializeDataIfNeeded(addressCreate, localVarRequestOptions, configuration);
|
|
353
|
+
return {
|
|
354
|
+
url: toPathString(localVarUrlObj),
|
|
355
|
+
options: localVarRequestOptions
|
|
356
|
+
};
|
|
357
|
+
},
|
|
358
|
+
/**
|
|
359
|
+
*
|
|
360
|
+
* @summary Addresses Delete
|
|
361
|
+
* @param {string} addressId
|
|
362
|
+
* @param {*} [options] Override http request option.
|
|
363
|
+
* @throws {RequiredError}
|
|
364
|
+
*/
|
|
365
|
+
addressesDelete: async (addressId, options = {}) => {
|
|
366
|
+
assertParamExists("addressesDelete", "addressId", addressId);
|
|
367
|
+
const localVarPath = `/addresses/{addressId}`.replace(`{${"addressId"}}`, encodeURIComponent(String(addressId)));
|
|
368
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
369
|
+
let baseOptions;
|
|
370
|
+
if (configuration) {
|
|
371
|
+
baseOptions = configuration.baseOptions;
|
|
372
|
+
}
|
|
373
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
374
|
+
const localVarHeaderParameter = {};
|
|
375
|
+
const localVarQueryParameter = {};
|
|
376
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
377
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
378
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
379
|
+
return {
|
|
380
|
+
url: toPathString(localVarUrlObj),
|
|
381
|
+
options: localVarRequestOptions
|
|
382
|
+
};
|
|
383
|
+
},
|
|
384
|
+
/**
|
|
385
|
+
*
|
|
386
|
+
* @summary Addresses Update
|
|
387
|
+
* @param {string} addressId
|
|
388
|
+
* @param {AddressUpdate} addressUpdate
|
|
389
|
+
* @param {*} [options] Override http request option.
|
|
390
|
+
* @throws {RequiredError}
|
|
391
|
+
*/
|
|
392
|
+
addressesUpdate: async (addressId, addressUpdate, options = {}) => {
|
|
393
|
+
assertParamExists("addressesUpdate", "addressId", addressId);
|
|
394
|
+
assertParamExists("addressesUpdate", "addressUpdate", addressUpdate);
|
|
395
|
+
const localVarPath = `/addresses/{addressId}`.replace(`{${"addressId"}}`, encodeURIComponent(String(addressId)));
|
|
396
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
397
|
+
let baseOptions;
|
|
398
|
+
if (configuration) {
|
|
399
|
+
baseOptions = configuration.baseOptions;
|
|
400
|
+
}
|
|
401
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
402
|
+
const localVarHeaderParameter = {};
|
|
403
|
+
const localVarQueryParameter = {};
|
|
404
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
405
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
406
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
407
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
408
|
+
localVarRequestOptions.data = serializeDataIfNeeded(addressUpdate, localVarRequestOptions, configuration);
|
|
409
|
+
return {
|
|
410
|
+
url: toPathString(localVarUrlObj),
|
|
411
|
+
options: localVarRequestOptions
|
|
412
|
+
};
|
|
413
|
+
},
|
|
101
414
|
/**
|
|
102
415
|
*
|
|
103
416
|
* @summary Contacts Create
|
|
@@ -186,11 +499,12 @@ var ContactsApiAxiosParamCreator = function(configuration) {
|
|
|
186
499
|
/**
|
|
187
500
|
*
|
|
188
501
|
* @summary Contacts List
|
|
189
|
-
* @param {
|
|
502
|
+
* @param {ContactType} [contactType]
|
|
503
|
+
* @param {string} [searchString]
|
|
190
504
|
* @param {*} [options] Override http request option.
|
|
191
505
|
* @throws {RequiredError}
|
|
192
506
|
*/
|
|
193
|
-
contactsList: async (
|
|
507
|
+
contactsList: async (contactType, searchString, options = {}) => {
|
|
194
508
|
const localVarPath = `/contacts`;
|
|
195
509
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
196
510
|
let baseOptions;
|
|
@@ -200,8 +514,11 @@ var ContactsApiAxiosParamCreator = function(configuration) {
|
|
|
200
514
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
201
515
|
const localVarHeaderParameter = {};
|
|
202
516
|
const localVarQueryParameter = {};
|
|
203
|
-
if (
|
|
204
|
-
localVarQueryParameter["
|
|
517
|
+
if (contactType !== void 0) {
|
|
518
|
+
localVarQueryParameter["contactType"] = contactType;
|
|
519
|
+
}
|
|
520
|
+
if (searchString !== void 0) {
|
|
521
|
+
localVarQueryParameter["searchString"] = searchString;
|
|
205
522
|
}
|
|
206
523
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
207
524
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -240,38 +557,191 @@ var ContactsApiAxiosParamCreator = function(configuration) {
|
|
|
240
557
|
url: toPathString(localVarUrlObj),
|
|
241
558
|
options: localVarRequestOptions
|
|
242
559
|
};
|
|
243
|
-
}
|
|
244
|
-
};
|
|
245
|
-
};
|
|
246
|
-
var ContactsApiFp = function(configuration) {
|
|
247
|
-
const localVarAxiosParamCreator = ContactsApiAxiosParamCreator(configuration);
|
|
248
|
-
return {
|
|
560
|
+
},
|
|
249
561
|
/**
|
|
250
562
|
*
|
|
251
|
-
* @summary
|
|
252
|
-
* @param {string}
|
|
253
|
-
* @param {
|
|
563
|
+
* @summary Emails Create
|
|
564
|
+
* @param {string} contactId
|
|
565
|
+
* @param {EmailCreate} emailCreate
|
|
254
566
|
* @param {*} [options] Override http request option.
|
|
255
567
|
* @throws {RequiredError}
|
|
256
568
|
*/
|
|
257
|
-
async
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
const
|
|
261
|
-
|
|
569
|
+
emailsCreate: async (contactId, emailCreate, options = {}) => {
|
|
570
|
+
assertParamExists("emailsCreate", "contactId", contactId);
|
|
571
|
+
assertParamExists("emailsCreate", "emailCreate", emailCreate);
|
|
572
|
+
const localVarPath = `/contacts/{contactId}/emails`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
573
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
574
|
+
let baseOptions;
|
|
575
|
+
if (configuration) {
|
|
576
|
+
baseOptions = configuration.baseOptions;
|
|
577
|
+
}
|
|
578
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
579
|
+
const localVarHeaderParameter = {};
|
|
580
|
+
const localVarQueryParameter = {};
|
|
581
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
582
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
583
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
584
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
585
|
+
localVarRequestOptions.data = serializeDataIfNeeded(emailCreate, localVarRequestOptions, configuration);
|
|
586
|
+
return {
|
|
587
|
+
url: toPathString(localVarUrlObj),
|
|
588
|
+
options: localVarRequestOptions
|
|
589
|
+
};
|
|
262
590
|
},
|
|
263
591
|
/**
|
|
264
592
|
*
|
|
265
|
-
* @summary
|
|
266
|
-
* @param {string}
|
|
593
|
+
* @summary Emails Delete
|
|
594
|
+
* @param {string} emailId
|
|
267
595
|
* @param {*} [options] Override http request option.
|
|
268
596
|
* @throws {RequiredError}
|
|
269
597
|
*/
|
|
270
|
-
async
|
|
271
|
-
|
|
272
|
-
const
|
|
273
|
-
const
|
|
274
|
-
|
|
598
|
+
emailsDelete: async (emailId, options = {}) => {
|
|
599
|
+
assertParamExists("emailsDelete", "emailId", emailId);
|
|
600
|
+
const localVarPath = `/emails/{emailId}`.replace(`{${"emailId"}}`, encodeURIComponent(String(emailId)));
|
|
601
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
602
|
+
let baseOptions;
|
|
603
|
+
if (configuration) {
|
|
604
|
+
baseOptions = configuration.baseOptions;
|
|
605
|
+
}
|
|
606
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
607
|
+
const localVarHeaderParameter = {};
|
|
608
|
+
const localVarQueryParameter = {};
|
|
609
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
610
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
611
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
612
|
+
return {
|
|
613
|
+
url: toPathString(localVarUrlObj),
|
|
614
|
+
options: localVarRequestOptions
|
|
615
|
+
};
|
|
616
|
+
},
|
|
617
|
+
/**
|
|
618
|
+
*
|
|
619
|
+
* @summary Phones Create
|
|
620
|
+
* @param {string} contactId
|
|
621
|
+
* @param {PhoneCreate} phoneCreate
|
|
622
|
+
* @param {*} [options] Override http request option.
|
|
623
|
+
* @throws {RequiredError}
|
|
624
|
+
*/
|
|
625
|
+
phonesCreate: async (contactId, phoneCreate, options = {}) => {
|
|
626
|
+
assertParamExists("phonesCreate", "contactId", contactId);
|
|
627
|
+
assertParamExists("phonesCreate", "phoneCreate", phoneCreate);
|
|
628
|
+
const localVarPath = `/contacts/{contactId}/phones`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
629
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
630
|
+
let baseOptions;
|
|
631
|
+
if (configuration) {
|
|
632
|
+
baseOptions = configuration.baseOptions;
|
|
633
|
+
}
|
|
634
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
635
|
+
const localVarHeaderParameter = {};
|
|
636
|
+
const localVarQueryParameter = {};
|
|
637
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
638
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
639
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
640
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
641
|
+
localVarRequestOptions.data = serializeDataIfNeeded(phoneCreate, localVarRequestOptions, configuration);
|
|
642
|
+
return {
|
|
643
|
+
url: toPathString(localVarUrlObj),
|
|
644
|
+
options: localVarRequestOptions
|
|
645
|
+
};
|
|
646
|
+
},
|
|
647
|
+
/**
|
|
648
|
+
*
|
|
649
|
+
* @summary Phones Delete
|
|
650
|
+
* @param {string} phoneId
|
|
651
|
+
* @param {*} [options] Override http request option.
|
|
652
|
+
* @throws {RequiredError}
|
|
653
|
+
*/
|
|
654
|
+
phonesDelete: async (phoneId, options = {}) => {
|
|
655
|
+
assertParamExists("phonesDelete", "phoneId", phoneId);
|
|
656
|
+
const localVarPath = `/phones/{phoneId}`.replace(`{${"phoneId"}}`, encodeURIComponent(String(phoneId)));
|
|
657
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
658
|
+
let baseOptions;
|
|
659
|
+
if (configuration) {
|
|
660
|
+
baseOptions = configuration.baseOptions;
|
|
661
|
+
}
|
|
662
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
663
|
+
const localVarHeaderParameter = {};
|
|
664
|
+
const localVarQueryParameter = {};
|
|
665
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
666
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
667
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
668
|
+
return {
|
|
669
|
+
url: toPathString(localVarUrlObj),
|
|
670
|
+
options: localVarRequestOptions
|
|
671
|
+
};
|
|
672
|
+
}
|
|
673
|
+
};
|
|
674
|
+
};
|
|
675
|
+
var ContactsApiFp = function(configuration) {
|
|
676
|
+
const localVarAxiosParamCreator = ContactsApiAxiosParamCreator(configuration);
|
|
677
|
+
return {
|
|
678
|
+
/**
|
|
679
|
+
*
|
|
680
|
+
* @summary Addresses Create
|
|
681
|
+
* @param {string} contactId
|
|
682
|
+
* @param {AddressCreate} addressCreate
|
|
683
|
+
* @param {*} [options] Override http request option.
|
|
684
|
+
* @throws {RequiredError}
|
|
685
|
+
*/
|
|
686
|
+
async addressesCreate(contactId, addressCreate, options) {
|
|
687
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, addressCreate, options);
|
|
688
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
689
|
+
const localVarOperationServerBasePath = operationServerMap["ContactsApi.addressesCreate"]?.[localVarOperationServerIndex]?.url;
|
|
690
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
691
|
+
},
|
|
692
|
+
/**
|
|
693
|
+
*
|
|
694
|
+
* @summary Addresses Delete
|
|
695
|
+
* @param {string} addressId
|
|
696
|
+
* @param {*} [options] Override http request option.
|
|
697
|
+
* @throws {RequiredError}
|
|
698
|
+
*/
|
|
699
|
+
async addressesDelete(addressId, options) {
|
|
700
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesDelete(addressId, options);
|
|
701
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
702
|
+
const localVarOperationServerBasePath = operationServerMap["ContactsApi.addressesDelete"]?.[localVarOperationServerIndex]?.url;
|
|
703
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
704
|
+
},
|
|
705
|
+
/**
|
|
706
|
+
*
|
|
707
|
+
* @summary Addresses Update
|
|
708
|
+
* @param {string} addressId
|
|
709
|
+
* @param {AddressUpdate} addressUpdate
|
|
710
|
+
* @param {*} [options] Override http request option.
|
|
711
|
+
* @throws {RequiredError}
|
|
712
|
+
*/
|
|
713
|
+
async addressesUpdate(addressId, addressUpdate, options) {
|
|
714
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, addressUpdate, options);
|
|
715
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
716
|
+
const localVarOperationServerBasePath = operationServerMap["ContactsApi.addressesUpdate"]?.[localVarOperationServerIndex]?.url;
|
|
717
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
718
|
+
},
|
|
719
|
+
/**
|
|
720
|
+
*
|
|
721
|
+
* @summary Contacts Create
|
|
722
|
+
* @param {string} customerId
|
|
723
|
+
* @param {ContactCreate} contactCreate
|
|
724
|
+
* @param {*} [options] Override http request option.
|
|
725
|
+
* @throws {RequiredError}
|
|
726
|
+
*/
|
|
727
|
+
async contactsCreate(customerId, contactCreate, options) {
|
|
728
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsCreate(customerId, contactCreate, options);
|
|
729
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
730
|
+
const localVarOperationServerBasePath = operationServerMap["ContactsApi.contactsCreate"]?.[localVarOperationServerIndex]?.url;
|
|
731
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
732
|
+
},
|
|
733
|
+
/**
|
|
734
|
+
*
|
|
735
|
+
* @summary Contacts Delete
|
|
736
|
+
* @param {string} contactId
|
|
737
|
+
* @param {*} [options] Override http request option.
|
|
738
|
+
* @throws {RequiredError}
|
|
739
|
+
*/
|
|
740
|
+
async contactsDelete(contactId, options) {
|
|
741
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsDelete(contactId, options);
|
|
742
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
743
|
+
const localVarOperationServerBasePath = operationServerMap["ContactsApi.contactsDelete"]?.[localVarOperationServerIndex]?.url;
|
|
744
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
275
745
|
},
|
|
276
746
|
/**
|
|
277
747
|
*
|
|
@@ -289,146 +759,501 @@ var ContactsApiFp = function(configuration) {
|
|
|
289
759
|
/**
|
|
290
760
|
*
|
|
291
761
|
* @summary Contacts List
|
|
292
|
-
* @param {
|
|
762
|
+
* @param {ContactType} [contactType]
|
|
763
|
+
* @param {string} [searchString]
|
|
293
764
|
* @param {*} [options] Override http request option.
|
|
294
765
|
* @throws {RequiredError}
|
|
295
766
|
*/
|
|
296
|
-
async contactsList(
|
|
297
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(
|
|
767
|
+
async contactsList(contactType, searchString, options) {
|
|
768
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(contactType, searchString, options);
|
|
298
769
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
299
770
|
const localVarOperationServerBasePath = operationServerMap["ContactsApi.contactsList"]?.[localVarOperationServerIndex]?.url;
|
|
300
771
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
301
772
|
},
|
|
302
773
|
/**
|
|
303
774
|
*
|
|
304
|
-
* @summary Contacts Update
|
|
305
|
-
* @param {string} contactId
|
|
306
|
-
* @param {ContactUpdate} contactUpdate
|
|
775
|
+
* @summary Contacts Update
|
|
776
|
+
* @param {string} contactId
|
|
777
|
+
* @param {ContactUpdate} contactUpdate
|
|
778
|
+
* @param {*} [options] Override http request option.
|
|
779
|
+
* @throws {RequiredError}
|
|
780
|
+
*/
|
|
781
|
+
async contactsUpdate(contactId, contactUpdate, options) {
|
|
782
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdate(contactId, contactUpdate, options);
|
|
783
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
784
|
+
const localVarOperationServerBasePath = operationServerMap["ContactsApi.contactsUpdate"]?.[localVarOperationServerIndex]?.url;
|
|
785
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
786
|
+
},
|
|
787
|
+
/**
|
|
788
|
+
*
|
|
789
|
+
* @summary Emails Create
|
|
790
|
+
* @param {string} contactId
|
|
791
|
+
* @param {EmailCreate} emailCreate
|
|
792
|
+
* @param {*} [options] Override http request option.
|
|
793
|
+
* @throws {RequiredError}
|
|
794
|
+
*/
|
|
795
|
+
async emailsCreate(contactId, emailCreate, options) {
|
|
796
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, emailCreate, options);
|
|
797
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
798
|
+
const localVarOperationServerBasePath = operationServerMap["ContactsApi.emailsCreate"]?.[localVarOperationServerIndex]?.url;
|
|
799
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
800
|
+
},
|
|
801
|
+
/**
|
|
802
|
+
*
|
|
803
|
+
* @summary Emails Delete
|
|
804
|
+
* @param {string} emailId
|
|
805
|
+
* @param {*} [options] Override http request option.
|
|
806
|
+
* @throws {RequiredError}
|
|
807
|
+
*/
|
|
808
|
+
async emailsDelete(emailId, options) {
|
|
809
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
810
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
811
|
+
const localVarOperationServerBasePath = operationServerMap["ContactsApi.emailsDelete"]?.[localVarOperationServerIndex]?.url;
|
|
812
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
813
|
+
},
|
|
814
|
+
/**
|
|
815
|
+
*
|
|
816
|
+
* @summary Phones Create
|
|
817
|
+
* @param {string} contactId
|
|
818
|
+
* @param {PhoneCreate} phoneCreate
|
|
819
|
+
* @param {*} [options] Override http request option.
|
|
820
|
+
* @throws {RequiredError}
|
|
821
|
+
*/
|
|
822
|
+
async phonesCreate(contactId, phoneCreate, options) {
|
|
823
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, phoneCreate, options);
|
|
824
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
825
|
+
const localVarOperationServerBasePath = operationServerMap["ContactsApi.phonesCreate"]?.[localVarOperationServerIndex]?.url;
|
|
826
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
827
|
+
},
|
|
828
|
+
/**
|
|
829
|
+
*
|
|
830
|
+
* @summary Phones Delete
|
|
831
|
+
* @param {string} phoneId
|
|
832
|
+
* @param {*} [options] Override http request option.
|
|
833
|
+
* @throws {RequiredError}
|
|
834
|
+
*/
|
|
835
|
+
async phonesDelete(phoneId, options) {
|
|
836
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
837
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
838
|
+
const localVarOperationServerBasePath = operationServerMap["ContactsApi.phonesDelete"]?.[localVarOperationServerIndex]?.url;
|
|
839
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
840
|
+
}
|
|
841
|
+
};
|
|
842
|
+
};
|
|
843
|
+
var ContactsApiFactory = function(configuration, basePath, axios) {
|
|
844
|
+
const localVarFp = ContactsApiFp(configuration);
|
|
845
|
+
return {
|
|
846
|
+
/**
|
|
847
|
+
*
|
|
848
|
+
* @summary Addresses Create
|
|
849
|
+
* @param {string} contactId
|
|
850
|
+
* @param {AddressCreate} addressCreate
|
|
851
|
+
* @param {*} [options] Override http request option.
|
|
852
|
+
* @throws {RequiredError}
|
|
853
|
+
*/
|
|
854
|
+
addressesCreate(contactId, addressCreate, options) {
|
|
855
|
+
return localVarFp.addressesCreate(contactId, addressCreate, options).then((request) => request(axios, basePath));
|
|
856
|
+
},
|
|
857
|
+
/**
|
|
858
|
+
*
|
|
859
|
+
* @summary Addresses Delete
|
|
860
|
+
* @param {string} addressId
|
|
861
|
+
* @param {*} [options] Override http request option.
|
|
862
|
+
* @throws {RequiredError}
|
|
863
|
+
*/
|
|
864
|
+
addressesDelete(addressId, options) {
|
|
865
|
+
return localVarFp.addressesDelete(addressId, options).then((request) => request(axios, basePath));
|
|
866
|
+
},
|
|
867
|
+
/**
|
|
868
|
+
*
|
|
869
|
+
* @summary Addresses Update
|
|
870
|
+
* @param {string} addressId
|
|
871
|
+
* @param {AddressUpdate} addressUpdate
|
|
872
|
+
* @param {*} [options] Override http request option.
|
|
873
|
+
* @throws {RequiredError}
|
|
874
|
+
*/
|
|
875
|
+
addressesUpdate(addressId, addressUpdate, options) {
|
|
876
|
+
return localVarFp.addressesUpdate(addressId, addressUpdate, options).then((request) => request(axios, basePath));
|
|
877
|
+
},
|
|
878
|
+
/**
|
|
879
|
+
*
|
|
880
|
+
* @summary Contacts Create
|
|
881
|
+
* @param {string} customerId
|
|
882
|
+
* @param {ContactCreate} contactCreate
|
|
883
|
+
* @param {*} [options] Override http request option.
|
|
884
|
+
* @throws {RequiredError}
|
|
885
|
+
*/
|
|
886
|
+
contactsCreate(customerId, contactCreate, options) {
|
|
887
|
+
return localVarFp.contactsCreate(customerId, contactCreate, options).then((request) => request(axios, basePath));
|
|
888
|
+
},
|
|
889
|
+
/**
|
|
890
|
+
*
|
|
891
|
+
* @summary Contacts Delete
|
|
892
|
+
* @param {string} contactId
|
|
893
|
+
* @param {*} [options] Override http request option.
|
|
894
|
+
* @throws {RequiredError}
|
|
895
|
+
*/
|
|
896
|
+
contactsDelete(contactId, options) {
|
|
897
|
+
return localVarFp.contactsDelete(contactId, options).then((request) => request(axios, basePath));
|
|
898
|
+
},
|
|
899
|
+
/**
|
|
900
|
+
*
|
|
901
|
+
* @summary Contacts Get
|
|
902
|
+
* @param {string} contactId
|
|
903
|
+
* @param {*} [options] Override http request option.
|
|
904
|
+
* @throws {RequiredError}
|
|
905
|
+
*/
|
|
906
|
+
contactsGet(contactId, options) {
|
|
907
|
+
return localVarFp.contactsGet(contactId, options).then((request) => request(axios, basePath));
|
|
908
|
+
},
|
|
909
|
+
/**
|
|
910
|
+
*
|
|
911
|
+
* @summary Contacts List
|
|
912
|
+
* @param {ContactType} [contactType]
|
|
913
|
+
* @param {string} [searchString]
|
|
914
|
+
* @param {*} [options] Override http request option.
|
|
915
|
+
* @throws {RequiredError}
|
|
916
|
+
*/
|
|
917
|
+
contactsList(contactType, searchString, options) {
|
|
918
|
+
return localVarFp.contactsList(contactType, searchString, options).then((request) => request(axios, basePath));
|
|
919
|
+
},
|
|
920
|
+
/**
|
|
921
|
+
*
|
|
922
|
+
* @summary Contacts Update
|
|
923
|
+
* @param {string} contactId
|
|
924
|
+
* @param {ContactUpdate} contactUpdate
|
|
925
|
+
* @param {*} [options] Override http request option.
|
|
926
|
+
* @throws {RequiredError}
|
|
927
|
+
*/
|
|
928
|
+
contactsUpdate(contactId, contactUpdate, options) {
|
|
929
|
+
return localVarFp.contactsUpdate(contactId, contactUpdate, options).then((request) => request(axios, basePath));
|
|
930
|
+
},
|
|
931
|
+
/**
|
|
932
|
+
*
|
|
933
|
+
* @summary Emails Create
|
|
934
|
+
* @param {string} contactId
|
|
935
|
+
* @param {EmailCreate} emailCreate
|
|
936
|
+
* @param {*} [options] Override http request option.
|
|
937
|
+
* @throws {RequiredError}
|
|
938
|
+
*/
|
|
939
|
+
emailsCreate(contactId, emailCreate, options) {
|
|
940
|
+
return localVarFp.emailsCreate(contactId, emailCreate, options).then((request) => request(axios, basePath));
|
|
941
|
+
},
|
|
942
|
+
/**
|
|
943
|
+
*
|
|
944
|
+
* @summary Emails Delete
|
|
945
|
+
* @param {string} emailId
|
|
946
|
+
* @param {*} [options] Override http request option.
|
|
947
|
+
* @throws {RequiredError}
|
|
948
|
+
*/
|
|
949
|
+
emailsDelete(emailId, options) {
|
|
950
|
+
return localVarFp.emailsDelete(emailId, options).then((request) => request(axios, basePath));
|
|
951
|
+
},
|
|
952
|
+
/**
|
|
953
|
+
*
|
|
954
|
+
* @summary Phones Create
|
|
955
|
+
* @param {string} contactId
|
|
956
|
+
* @param {PhoneCreate} phoneCreate
|
|
957
|
+
* @param {*} [options] Override http request option.
|
|
958
|
+
* @throws {RequiredError}
|
|
959
|
+
*/
|
|
960
|
+
phonesCreate(contactId, phoneCreate, options) {
|
|
961
|
+
return localVarFp.phonesCreate(contactId, phoneCreate, options).then((request) => request(axios, basePath));
|
|
962
|
+
},
|
|
963
|
+
/**
|
|
964
|
+
*
|
|
965
|
+
* @summary Phones Delete
|
|
966
|
+
* @param {string} phoneId
|
|
967
|
+
* @param {*} [options] Override http request option.
|
|
968
|
+
* @throws {RequiredError}
|
|
969
|
+
*/
|
|
970
|
+
phonesDelete(phoneId, options) {
|
|
971
|
+
return localVarFp.phonesDelete(phoneId, options).then((request) => request(axios, basePath));
|
|
972
|
+
}
|
|
973
|
+
};
|
|
974
|
+
};
|
|
975
|
+
var ContactsApi = class extends BaseAPI {
|
|
976
|
+
/**
|
|
977
|
+
*
|
|
978
|
+
* @summary Addresses Create
|
|
979
|
+
* @param {string} contactId
|
|
980
|
+
* @param {AddressCreate} addressCreate
|
|
981
|
+
* @param {*} [options] Override http request option.
|
|
982
|
+
* @throws {RequiredError}
|
|
983
|
+
* @memberof ContactsApi
|
|
984
|
+
*/
|
|
985
|
+
addressesCreate(contactId, addressCreate, options) {
|
|
986
|
+
return ContactsApiFp(this.configuration).addressesCreate(contactId, addressCreate, options).then((request) => request(this.axios, this.basePath));
|
|
987
|
+
}
|
|
988
|
+
/**
|
|
989
|
+
*
|
|
990
|
+
* @summary Addresses Delete
|
|
991
|
+
* @param {string} addressId
|
|
992
|
+
* @param {*} [options] Override http request option.
|
|
993
|
+
* @throws {RequiredError}
|
|
994
|
+
* @memberof ContactsApi
|
|
995
|
+
*/
|
|
996
|
+
addressesDelete(addressId, options) {
|
|
997
|
+
return ContactsApiFp(this.configuration).addressesDelete(addressId, options).then((request) => request(this.axios, this.basePath));
|
|
998
|
+
}
|
|
999
|
+
/**
|
|
1000
|
+
*
|
|
1001
|
+
* @summary Addresses Update
|
|
1002
|
+
* @param {string} addressId
|
|
1003
|
+
* @param {AddressUpdate} addressUpdate
|
|
1004
|
+
* @param {*} [options] Override http request option.
|
|
1005
|
+
* @throws {RequiredError}
|
|
1006
|
+
* @memberof ContactsApi
|
|
1007
|
+
*/
|
|
1008
|
+
addressesUpdate(addressId, addressUpdate, options) {
|
|
1009
|
+
return ContactsApiFp(this.configuration).addressesUpdate(addressId, addressUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
1010
|
+
}
|
|
1011
|
+
/**
|
|
1012
|
+
*
|
|
1013
|
+
* @summary Contacts Create
|
|
1014
|
+
* @param {string} customerId
|
|
1015
|
+
* @param {ContactCreate} contactCreate
|
|
1016
|
+
* @param {*} [options] Override http request option.
|
|
1017
|
+
* @throws {RequiredError}
|
|
1018
|
+
* @memberof ContactsApi
|
|
1019
|
+
*/
|
|
1020
|
+
contactsCreate(customerId, contactCreate, options) {
|
|
1021
|
+
return ContactsApiFp(this.configuration).contactsCreate(customerId, contactCreate, options).then((request) => request(this.axios, this.basePath));
|
|
1022
|
+
}
|
|
1023
|
+
/**
|
|
1024
|
+
*
|
|
1025
|
+
* @summary Contacts Delete
|
|
1026
|
+
* @param {string} contactId
|
|
1027
|
+
* @param {*} [options] Override http request option.
|
|
1028
|
+
* @throws {RequiredError}
|
|
1029
|
+
* @memberof ContactsApi
|
|
1030
|
+
*/
|
|
1031
|
+
contactsDelete(contactId, options) {
|
|
1032
|
+
return ContactsApiFp(this.configuration).contactsDelete(contactId, options).then((request) => request(this.axios, this.basePath));
|
|
1033
|
+
}
|
|
1034
|
+
/**
|
|
1035
|
+
*
|
|
1036
|
+
* @summary Contacts Get
|
|
1037
|
+
* @param {string} contactId
|
|
1038
|
+
* @param {*} [options] Override http request option.
|
|
1039
|
+
* @throws {RequiredError}
|
|
1040
|
+
* @memberof ContactsApi
|
|
1041
|
+
*/
|
|
1042
|
+
contactsGet(contactId, options) {
|
|
1043
|
+
return ContactsApiFp(this.configuration).contactsGet(contactId, options).then((request) => request(this.axios, this.basePath));
|
|
1044
|
+
}
|
|
1045
|
+
/**
|
|
1046
|
+
*
|
|
1047
|
+
* @summary Contacts List
|
|
1048
|
+
* @param {ContactType} [contactType]
|
|
1049
|
+
* @param {string} [searchString]
|
|
1050
|
+
* @param {*} [options] Override http request option.
|
|
1051
|
+
* @throws {RequiredError}
|
|
1052
|
+
* @memberof ContactsApi
|
|
1053
|
+
*/
|
|
1054
|
+
contactsList(contactType, searchString, options) {
|
|
1055
|
+
return ContactsApiFp(this.configuration).contactsList(contactType, searchString, options).then((request) => request(this.axios, this.basePath));
|
|
1056
|
+
}
|
|
1057
|
+
/**
|
|
1058
|
+
*
|
|
1059
|
+
* @summary Contacts Update
|
|
1060
|
+
* @param {string} contactId
|
|
1061
|
+
* @param {ContactUpdate} contactUpdate
|
|
1062
|
+
* @param {*} [options] Override http request option.
|
|
1063
|
+
* @throws {RequiredError}
|
|
1064
|
+
* @memberof ContactsApi
|
|
1065
|
+
*/
|
|
1066
|
+
contactsUpdate(contactId, contactUpdate, options) {
|
|
1067
|
+
return ContactsApiFp(this.configuration).contactsUpdate(contactId, contactUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
1068
|
+
}
|
|
1069
|
+
/**
|
|
1070
|
+
*
|
|
1071
|
+
* @summary Emails Create
|
|
1072
|
+
* @param {string} contactId
|
|
1073
|
+
* @param {EmailCreate} emailCreate
|
|
1074
|
+
* @param {*} [options] Override http request option.
|
|
1075
|
+
* @throws {RequiredError}
|
|
1076
|
+
* @memberof ContactsApi
|
|
1077
|
+
*/
|
|
1078
|
+
emailsCreate(contactId, emailCreate, options) {
|
|
1079
|
+
return ContactsApiFp(this.configuration).emailsCreate(contactId, emailCreate, options).then((request) => request(this.axios, this.basePath));
|
|
1080
|
+
}
|
|
1081
|
+
/**
|
|
1082
|
+
*
|
|
1083
|
+
* @summary Emails Delete
|
|
1084
|
+
* @param {string} emailId
|
|
1085
|
+
* @param {*} [options] Override http request option.
|
|
1086
|
+
* @throws {RequiredError}
|
|
1087
|
+
* @memberof ContactsApi
|
|
1088
|
+
*/
|
|
1089
|
+
emailsDelete(emailId, options) {
|
|
1090
|
+
return ContactsApiFp(this.configuration).emailsDelete(emailId, options).then((request) => request(this.axios, this.basePath));
|
|
1091
|
+
}
|
|
1092
|
+
/**
|
|
1093
|
+
*
|
|
1094
|
+
* @summary Phones Create
|
|
1095
|
+
* @param {string} contactId
|
|
1096
|
+
* @param {PhoneCreate} phoneCreate
|
|
1097
|
+
* @param {*} [options] Override http request option.
|
|
1098
|
+
* @throws {RequiredError}
|
|
1099
|
+
* @memberof ContactsApi
|
|
1100
|
+
*/
|
|
1101
|
+
phonesCreate(contactId, phoneCreate, options) {
|
|
1102
|
+
return ContactsApiFp(this.configuration).phonesCreate(contactId, phoneCreate, options).then((request) => request(this.axios, this.basePath));
|
|
1103
|
+
}
|
|
1104
|
+
/**
|
|
1105
|
+
*
|
|
1106
|
+
* @summary Phones Delete
|
|
1107
|
+
* @param {string} phoneId
|
|
1108
|
+
* @param {*} [options] Override http request option.
|
|
1109
|
+
* @throws {RequiredError}
|
|
1110
|
+
* @memberof ContactsApi
|
|
1111
|
+
*/
|
|
1112
|
+
phonesDelete(phoneId, options) {
|
|
1113
|
+
return ContactsApiFp(this.configuration).phonesDelete(phoneId, options).then((request) => request(this.axios, this.basePath));
|
|
1114
|
+
}
|
|
1115
|
+
};
|
|
1116
|
+
var EmailsApiAxiosParamCreator = function(configuration) {
|
|
1117
|
+
return {
|
|
1118
|
+
/**
|
|
1119
|
+
*
|
|
1120
|
+
* @summary Emails Create
|
|
1121
|
+
* @param {string} contactId
|
|
1122
|
+
* @param {EmailCreate} emailCreate
|
|
1123
|
+
* @param {*} [options] Override http request option.
|
|
1124
|
+
* @throws {RequiredError}
|
|
1125
|
+
*/
|
|
1126
|
+
emailsCreate: async (contactId, emailCreate, options = {}) => {
|
|
1127
|
+
assertParamExists("emailsCreate", "contactId", contactId);
|
|
1128
|
+
assertParamExists("emailsCreate", "emailCreate", emailCreate);
|
|
1129
|
+
const localVarPath = `/contacts/{contactId}/emails`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
1130
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1131
|
+
let baseOptions;
|
|
1132
|
+
if (configuration) {
|
|
1133
|
+
baseOptions = configuration.baseOptions;
|
|
1134
|
+
}
|
|
1135
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1136
|
+
const localVarHeaderParameter = {};
|
|
1137
|
+
const localVarQueryParameter = {};
|
|
1138
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1139
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1140
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1141
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1142
|
+
localVarRequestOptions.data = serializeDataIfNeeded(emailCreate, localVarRequestOptions, configuration);
|
|
1143
|
+
return {
|
|
1144
|
+
url: toPathString(localVarUrlObj),
|
|
1145
|
+
options: localVarRequestOptions
|
|
1146
|
+
};
|
|
1147
|
+
},
|
|
1148
|
+
/**
|
|
1149
|
+
*
|
|
1150
|
+
* @summary Emails Delete
|
|
1151
|
+
* @param {string} emailId
|
|
307
1152
|
* @param {*} [options] Override http request option.
|
|
308
1153
|
* @throws {RequiredError}
|
|
309
1154
|
*/
|
|
310
|
-
async
|
|
311
|
-
|
|
312
|
-
const
|
|
313
|
-
const
|
|
314
|
-
|
|
1155
|
+
emailsDelete: async (emailId, options = {}) => {
|
|
1156
|
+
assertParamExists("emailsDelete", "emailId", emailId);
|
|
1157
|
+
const localVarPath = `/emails/{emailId}`.replace(`{${"emailId"}}`, encodeURIComponent(String(emailId)));
|
|
1158
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1159
|
+
let baseOptions;
|
|
1160
|
+
if (configuration) {
|
|
1161
|
+
baseOptions = configuration.baseOptions;
|
|
1162
|
+
}
|
|
1163
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1164
|
+
const localVarHeaderParameter = {};
|
|
1165
|
+
const localVarQueryParameter = {};
|
|
1166
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1167
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1168
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1169
|
+
return {
|
|
1170
|
+
url: toPathString(localVarUrlObj),
|
|
1171
|
+
options: localVarRequestOptions
|
|
1172
|
+
};
|
|
315
1173
|
}
|
|
316
1174
|
};
|
|
317
1175
|
};
|
|
318
|
-
var
|
|
319
|
-
const
|
|
1176
|
+
var EmailsApiFp = function(configuration) {
|
|
1177
|
+
const localVarAxiosParamCreator = EmailsApiAxiosParamCreator(configuration);
|
|
320
1178
|
return {
|
|
321
1179
|
/**
|
|
322
1180
|
*
|
|
323
|
-
* @summary
|
|
324
|
-
* @param {string} customerId
|
|
325
|
-
* @param {ContactCreate} contactCreate
|
|
326
|
-
* @param {*} [options] Override http request option.
|
|
327
|
-
* @throws {RequiredError}
|
|
328
|
-
*/
|
|
329
|
-
contactsCreate(customerId, contactCreate, options) {
|
|
330
|
-
return localVarFp.contactsCreate(customerId, contactCreate, options).then((request) => request(axios, basePath));
|
|
331
|
-
},
|
|
332
|
-
/**
|
|
333
|
-
*
|
|
334
|
-
* @summary Contacts Delete
|
|
1181
|
+
* @summary Emails Create
|
|
335
1182
|
* @param {string} contactId
|
|
1183
|
+
* @param {EmailCreate} emailCreate
|
|
336
1184
|
* @param {*} [options] Override http request option.
|
|
337
1185
|
* @throws {RequiredError}
|
|
338
1186
|
*/
|
|
339
|
-
|
|
340
|
-
|
|
1187
|
+
async emailsCreate(contactId, emailCreate, options) {
|
|
1188
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, emailCreate, options);
|
|
1189
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1190
|
+
const localVarOperationServerBasePath = operationServerMap["EmailsApi.emailsCreate"]?.[localVarOperationServerIndex]?.url;
|
|
1191
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
341
1192
|
},
|
|
342
1193
|
/**
|
|
343
1194
|
*
|
|
344
|
-
* @summary
|
|
345
|
-
* @param {string}
|
|
1195
|
+
* @summary Emails Delete
|
|
1196
|
+
* @param {string} emailId
|
|
346
1197
|
* @param {*} [options] Override http request option.
|
|
347
1198
|
* @throws {RequiredError}
|
|
348
1199
|
*/
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
1200
|
+
async emailsDelete(emailId, options) {
|
|
1201
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
1202
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1203
|
+
const localVarOperationServerBasePath = operationServerMap["EmailsApi.emailsDelete"]?.[localVarOperationServerIndex]?.url;
|
|
1204
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1205
|
+
}
|
|
1206
|
+
};
|
|
1207
|
+
};
|
|
1208
|
+
var EmailsApiFactory = function(configuration, basePath, axios) {
|
|
1209
|
+
const localVarFp = EmailsApiFp(configuration);
|
|
1210
|
+
return {
|
|
352
1211
|
/**
|
|
353
1212
|
*
|
|
354
|
-
* @summary
|
|
355
|
-
* @param {string}
|
|
1213
|
+
* @summary Emails Create
|
|
1214
|
+
* @param {string} contactId
|
|
1215
|
+
* @param {EmailCreate} emailCreate
|
|
356
1216
|
* @param {*} [options] Override http request option.
|
|
357
1217
|
* @throws {RequiredError}
|
|
358
1218
|
*/
|
|
359
|
-
|
|
360
|
-
return localVarFp.
|
|
1219
|
+
emailsCreate(contactId, emailCreate, options) {
|
|
1220
|
+
return localVarFp.emailsCreate(contactId, emailCreate, options).then((request) => request(axios, basePath));
|
|
361
1221
|
},
|
|
362
1222
|
/**
|
|
363
1223
|
*
|
|
364
|
-
* @summary
|
|
365
|
-
* @param {string}
|
|
366
|
-
* @param {ContactUpdate} contactUpdate
|
|
1224
|
+
* @summary Emails Delete
|
|
1225
|
+
* @param {string} emailId
|
|
367
1226
|
* @param {*} [options] Override http request option.
|
|
368
1227
|
* @throws {RequiredError}
|
|
369
1228
|
*/
|
|
370
|
-
|
|
371
|
-
return localVarFp.
|
|
1229
|
+
emailsDelete(emailId, options) {
|
|
1230
|
+
return localVarFp.emailsDelete(emailId, options).then((request) => request(axios, basePath));
|
|
372
1231
|
}
|
|
373
1232
|
};
|
|
374
1233
|
};
|
|
375
|
-
var
|
|
376
|
-
/**
|
|
377
|
-
*
|
|
378
|
-
* @summary Contacts Create
|
|
379
|
-
* @param {string} customerId
|
|
380
|
-
* @param {ContactCreate} contactCreate
|
|
381
|
-
* @param {*} [options] Override http request option.
|
|
382
|
-
* @throws {RequiredError}
|
|
383
|
-
* @memberof ContactsApi
|
|
384
|
-
*/
|
|
385
|
-
contactsCreate(customerId, contactCreate, options) {
|
|
386
|
-
return ContactsApiFp(this.configuration).contactsCreate(customerId, contactCreate, options).then((request) => request(this.axios, this.basePath));
|
|
387
|
-
}
|
|
388
|
-
/**
|
|
389
|
-
*
|
|
390
|
-
* @summary Contacts Delete
|
|
391
|
-
* @param {string} contactId
|
|
392
|
-
* @param {*} [options] Override http request option.
|
|
393
|
-
* @throws {RequiredError}
|
|
394
|
-
* @memberof ContactsApi
|
|
395
|
-
*/
|
|
396
|
-
contactsDelete(contactId, options) {
|
|
397
|
-
return ContactsApiFp(this.configuration).contactsDelete(contactId, options).then((request) => request(this.axios, this.basePath));
|
|
398
|
-
}
|
|
1234
|
+
var EmailsApi = class extends BaseAPI {
|
|
399
1235
|
/**
|
|
400
1236
|
*
|
|
401
|
-
* @summary
|
|
1237
|
+
* @summary Emails Create
|
|
402
1238
|
* @param {string} contactId
|
|
1239
|
+
* @param {EmailCreate} emailCreate
|
|
403
1240
|
* @param {*} [options] Override http request option.
|
|
404
1241
|
* @throws {RequiredError}
|
|
405
|
-
* @memberof
|
|
406
|
-
*/
|
|
407
|
-
contactsGet(contactId, options) {
|
|
408
|
-
return ContactsApiFp(this.configuration).contactsGet(contactId, options).then((request) => request(this.axios, this.basePath));
|
|
409
|
-
}
|
|
410
|
-
/**
|
|
411
|
-
*
|
|
412
|
-
* @summary Contacts List
|
|
413
|
-
* @param {string} [statusFilter]
|
|
414
|
-
* @param {*} [options] Override http request option.
|
|
415
|
-
* @throws {RequiredError}
|
|
416
|
-
* @memberof ContactsApi
|
|
1242
|
+
* @memberof EmailsApi
|
|
417
1243
|
*/
|
|
418
|
-
|
|
419
|
-
return
|
|
1244
|
+
emailsCreate(contactId, emailCreate, options) {
|
|
1245
|
+
return EmailsApiFp(this.configuration).emailsCreate(contactId, emailCreate, options).then((request) => request(this.axios, this.basePath));
|
|
420
1246
|
}
|
|
421
1247
|
/**
|
|
422
1248
|
*
|
|
423
|
-
* @summary
|
|
424
|
-
* @param {string}
|
|
425
|
-
* @param {ContactUpdate} contactUpdate
|
|
1249
|
+
* @summary Emails Delete
|
|
1250
|
+
* @param {string} emailId
|
|
426
1251
|
* @param {*} [options] Override http request option.
|
|
427
1252
|
* @throws {RequiredError}
|
|
428
|
-
* @memberof
|
|
1253
|
+
* @memberof EmailsApi
|
|
429
1254
|
*/
|
|
430
|
-
|
|
431
|
-
return
|
|
1255
|
+
emailsDelete(emailId, options) {
|
|
1256
|
+
return EmailsApiFp(this.configuration).emailsDelete(emailId, options).then((request) => request(this.axios, this.basePath));
|
|
432
1257
|
}
|
|
433
1258
|
};
|
|
434
1259
|
var HostawayApiAxiosParamCreator = function(configuration) {
|
|
@@ -510,6 +1335,149 @@ var HostawayApi = class extends BaseAPI {
|
|
|
510
1335
|
return HostawayApiFp(this.configuration).webhook(body, options).then((request) => request(this.axios, this.basePath));
|
|
511
1336
|
}
|
|
512
1337
|
};
|
|
1338
|
+
var PhonesApiAxiosParamCreator = function(configuration) {
|
|
1339
|
+
return {
|
|
1340
|
+
/**
|
|
1341
|
+
*
|
|
1342
|
+
* @summary Phones Create
|
|
1343
|
+
* @param {string} contactId
|
|
1344
|
+
* @param {PhoneCreate} phoneCreate
|
|
1345
|
+
* @param {*} [options] Override http request option.
|
|
1346
|
+
* @throws {RequiredError}
|
|
1347
|
+
*/
|
|
1348
|
+
phonesCreate: async (contactId, phoneCreate, options = {}) => {
|
|
1349
|
+
assertParamExists("phonesCreate", "contactId", contactId);
|
|
1350
|
+
assertParamExists("phonesCreate", "phoneCreate", phoneCreate);
|
|
1351
|
+
const localVarPath = `/contacts/{contactId}/phones`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
1352
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1353
|
+
let baseOptions;
|
|
1354
|
+
if (configuration) {
|
|
1355
|
+
baseOptions = configuration.baseOptions;
|
|
1356
|
+
}
|
|
1357
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1358
|
+
const localVarHeaderParameter = {};
|
|
1359
|
+
const localVarQueryParameter = {};
|
|
1360
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1361
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1362
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1363
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1364
|
+
localVarRequestOptions.data = serializeDataIfNeeded(phoneCreate, localVarRequestOptions, configuration);
|
|
1365
|
+
return {
|
|
1366
|
+
url: toPathString(localVarUrlObj),
|
|
1367
|
+
options: localVarRequestOptions
|
|
1368
|
+
};
|
|
1369
|
+
},
|
|
1370
|
+
/**
|
|
1371
|
+
*
|
|
1372
|
+
* @summary Phones Delete
|
|
1373
|
+
* @param {string} phoneId
|
|
1374
|
+
* @param {*} [options] Override http request option.
|
|
1375
|
+
* @throws {RequiredError}
|
|
1376
|
+
*/
|
|
1377
|
+
phonesDelete: async (phoneId, options = {}) => {
|
|
1378
|
+
assertParamExists("phonesDelete", "phoneId", phoneId);
|
|
1379
|
+
const localVarPath = `/phones/{phoneId}`.replace(`{${"phoneId"}}`, encodeURIComponent(String(phoneId)));
|
|
1380
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1381
|
+
let baseOptions;
|
|
1382
|
+
if (configuration) {
|
|
1383
|
+
baseOptions = configuration.baseOptions;
|
|
1384
|
+
}
|
|
1385
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1386
|
+
const localVarHeaderParameter = {};
|
|
1387
|
+
const localVarQueryParameter = {};
|
|
1388
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1389
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1390
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1391
|
+
return {
|
|
1392
|
+
url: toPathString(localVarUrlObj),
|
|
1393
|
+
options: localVarRequestOptions
|
|
1394
|
+
};
|
|
1395
|
+
}
|
|
1396
|
+
};
|
|
1397
|
+
};
|
|
1398
|
+
var PhonesApiFp = function(configuration) {
|
|
1399
|
+
const localVarAxiosParamCreator = PhonesApiAxiosParamCreator(configuration);
|
|
1400
|
+
return {
|
|
1401
|
+
/**
|
|
1402
|
+
*
|
|
1403
|
+
* @summary Phones Create
|
|
1404
|
+
* @param {string} contactId
|
|
1405
|
+
* @param {PhoneCreate} phoneCreate
|
|
1406
|
+
* @param {*} [options] Override http request option.
|
|
1407
|
+
* @throws {RequiredError}
|
|
1408
|
+
*/
|
|
1409
|
+
async phonesCreate(contactId, phoneCreate, options) {
|
|
1410
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, phoneCreate, options);
|
|
1411
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1412
|
+
const localVarOperationServerBasePath = operationServerMap["PhonesApi.phonesCreate"]?.[localVarOperationServerIndex]?.url;
|
|
1413
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1414
|
+
},
|
|
1415
|
+
/**
|
|
1416
|
+
*
|
|
1417
|
+
* @summary Phones Delete
|
|
1418
|
+
* @param {string} phoneId
|
|
1419
|
+
* @param {*} [options] Override http request option.
|
|
1420
|
+
* @throws {RequiredError}
|
|
1421
|
+
*/
|
|
1422
|
+
async phonesDelete(phoneId, options) {
|
|
1423
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
1424
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1425
|
+
const localVarOperationServerBasePath = operationServerMap["PhonesApi.phonesDelete"]?.[localVarOperationServerIndex]?.url;
|
|
1426
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1427
|
+
}
|
|
1428
|
+
};
|
|
1429
|
+
};
|
|
1430
|
+
var PhonesApiFactory = function(configuration, basePath, axios) {
|
|
1431
|
+
const localVarFp = PhonesApiFp(configuration);
|
|
1432
|
+
return {
|
|
1433
|
+
/**
|
|
1434
|
+
*
|
|
1435
|
+
* @summary Phones Create
|
|
1436
|
+
* @param {string} contactId
|
|
1437
|
+
* @param {PhoneCreate} phoneCreate
|
|
1438
|
+
* @param {*} [options] Override http request option.
|
|
1439
|
+
* @throws {RequiredError}
|
|
1440
|
+
*/
|
|
1441
|
+
phonesCreate(contactId, phoneCreate, options) {
|
|
1442
|
+
return localVarFp.phonesCreate(contactId, phoneCreate, options).then((request) => request(axios, basePath));
|
|
1443
|
+
},
|
|
1444
|
+
/**
|
|
1445
|
+
*
|
|
1446
|
+
* @summary Phones Delete
|
|
1447
|
+
* @param {string} phoneId
|
|
1448
|
+
* @param {*} [options] Override http request option.
|
|
1449
|
+
* @throws {RequiredError}
|
|
1450
|
+
*/
|
|
1451
|
+
phonesDelete(phoneId, options) {
|
|
1452
|
+
return localVarFp.phonesDelete(phoneId, options).then((request) => request(axios, basePath));
|
|
1453
|
+
}
|
|
1454
|
+
};
|
|
1455
|
+
};
|
|
1456
|
+
var PhonesApi = class extends BaseAPI {
|
|
1457
|
+
/**
|
|
1458
|
+
*
|
|
1459
|
+
* @summary Phones Create
|
|
1460
|
+
* @param {string} contactId
|
|
1461
|
+
* @param {PhoneCreate} phoneCreate
|
|
1462
|
+
* @param {*} [options] Override http request option.
|
|
1463
|
+
* @throws {RequiredError}
|
|
1464
|
+
* @memberof PhonesApi
|
|
1465
|
+
*/
|
|
1466
|
+
phonesCreate(contactId, phoneCreate, options) {
|
|
1467
|
+
return PhonesApiFp(this.configuration).phonesCreate(contactId, phoneCreate, options).then((request) => request(this.axios, this.basePath));
|
|
1468
|
+
}
|
|
1469
|
+
/**
|
|
1470
|
+
*
|
|
1471
|
+
* @summary Phones Delete
|
|
1472
|
+
* @param {string} phoneId
|
|
1473
|
+
* @param {*} [options] Override http request option.
|
|
1474
|
+
* @throws {RequiredError}
|
|
1475
|
+
* @memberof PhonesApi
|
|
1476
|
+
*/
|
|
1477
|
+
phonesDelete(phoneId, options) {
|
|
1478
|
+
return PhonesApiFp(this.configuration).phonesDelete(phoneId, options).then((request) => request(this.axios, this.basePath));
|
|
1479
|
+
}
|
|
1480
|
+
};
|
|
513
1481
|
var ReservationsApiAxiosParamCreator = function(configuration) {
|
|
514
1482
|
return {
|
|
515
1483
|
/**
|
|
@@ -590,6 +1558,92 @@ var ReservationsApi = class extends BaseAPI {
|
|
|
590
1558
|
};
|
|
591
1559
|
var UnboundApiAxiosParamCreator = function(configuration) {
|
|
592
1560
|
return {
|
|
1561
|
+
/**
|
|
1562
|
+
*
|
|
1563
|
+
* @summary Addresses Create
|
|
1564
|
+
* @param {string} contactId
|
|
1565
|
+
* @param {AddressCreate} addressCreate
|
|
1566
|
+
* @param {*} [options] Override http request option.
|
|
1567
|
+
* @throws {RequiredError}
|
|
1568
|
+
*/
|
|
1569
|
+
addressesCreate: async (contactId, addressCreate, options = {}) => {
|
|
1570
|
+
assertParamExists("addressesCreate", "contactId", contactId);
|
|
1571
|
+
assertParamExists("addressesCreate", "addressCreate", addressCreate);
|
|
1572
|
+
const localVarPath = `/contacts/{contactId}/addresses`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
1573
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1574
|
+
let baseOptions;
|
|
1575
|
+
if (configuration) {
|
|
1576
|
+
baseOptions = configuration.baseOptions;
|
|
1577
|
+
}
|
|
1578
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1579
|
+
const localVarHeaderParameter = {};
|
|
1580
|
+
const localVarQueryParameter = {};
|
|
1581
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1582
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1583
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1584
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1585
|
+
localVarRequestOptions.data = serializeDataIfNeeded(addressCreate, localVarRequestOptions, configuration);
|
|
1586
|
+
return {
|
|
1587
|
+
url: toPathString(localVarUrlObj),
|
|
1588
|
+
options: localVarRequestOptions
|
|
1589
|
+
};
|
|
1590
|
+
},
|
|
1591
|
+
/**
|
|
1592
|
+
*
|
|
1593
|
+
* @summary Addresses Delete
|
|
1594
|
+
* @param {string} addressId
|
|
1595
|
+
* @param {*} [options] Override http request option.
|
|
1596
|
+
* @throws {RequiredError}
|
|
1597
|
+
*/
|
|
1598
|
+
addressesDelete: async (addressId, options = {}) => {
|
|
1599
|
+
assertParamExists("addressesDelete", "addressId", addressId);
|
|
1600
|
+
const localVarPath = `/addresses/{addressId}`.replace(`{${"addressId"}}`, encodeURIComponent(String(addressId)));
|
|
1601
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1602
|
+
let baseOptions;
|
|
1603
|
+
if (configuration) {
|
|
1604
|
+
baseOptions = configuration.baseOptions;
|
|
1605
|
+
}
|
|
1606
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1607
|
+
const localVarHeaderParameter = {};
|
|
1608
|
+
const localVarQueryParameter = {};
|
|
1609
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1610
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1611
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1612
|
+
return {
|
|
1613
|
+
url: toPathString(localVarUrlObj),
|
|
1614
|
+
options: localVarRequestOptions
|
|
1615
|
+
};
|
|
1616
|
+
},
|
|
1617
|
+
/**
|
|
1618
|
+
*
|
|
1619
|
+
* @summary Addresses Update
|
|
1620
|
+
* @param {string} addressId
|
|
1621
|
+
* @param {AddressUpdate} addressUpdate
|
|
1622
|
+
* @param {*} [options] Override http request option.
|
|
1623
|
+
* @throws {RequiredError}
|
|
1624
|
+
*/
|
|
1625
|
+
addressesUpdate: async (addressId, addressUpdate, options = {}) => {
|
|
1626
|
+
assertParamExists("addressesUpdate", "addressId", addressId);
|
|
1627
|
+
assertParamExists("addressesUpdate", "addressUpdate", addressUpdate);
|
|
1628
|
+
const localVarPath = `/addresses/{addressId}`.replace(`{${"addressId"}}`, encodeURIComponent(String(addressId)));
|
|
1629
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1630
|
+
let baseOptions;
|
|
1631
|
+
if (configuration) {
|
|
1632
|
+
baseOptions = configuration.baseOptions;
|
|
1633
|
+
}
|
|
1634
|
+
const localVarRequestOptions = { method: "PATCH", ...baseOptions, ...options };
|
|
1635
|
+
const localVarHeaderParameter = {};
|
|
1636
|
+
const localVarQueryParameter = {};
|
|
1637
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1638
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1639
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1640
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1641
|
+
localVarRequestOptions.data = serializeDataIfNeeded(addressUpdate, localVarRequestOptions, configuration);
|
|
1642
|
+
return {
|
|
1643
|
+
url: toPathString(localVarUrlObj),
|
|
1644
|
+
options: localVarRequestOptions
|
|
1645
|
+
};
|
|
1646
|
+
},
|
|
593
1647
|
/**
|
|
594
1648
|
*
|
|
595
1649
|
* @summary Contacts Create
|
|
@@ -678,11 +1732,12 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
678
1732
|
/**
|
|
679
1733
|
*
|
|
680
1734
|
* @summary Contacts List
|
|
681
|
-
* @param {
|
|
1735
|
+
* @param {ContactType} [contactType]
|
|
1736
|
+
* @param {string} [searchString]
|
|
682
1737
|
* @param {*} [options] Override http request option.
|
|
683
1738
|
* @throws {RequiredError}
|
|
684
1739
|
*/
|
|
685
|
-
contactsList: async (
|
|
1740
|
+
contactsList: async (contactType, searchString, options = {}) => {
|
|
686
1741
|
const localVarPath = `/contacts`;
|
|
687
1742
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
688
1743
|
let baseOptions;
|
|
@@ -692,8 +1747,11 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
692
1747
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
693
1748
|
const localVarHeaderParameter = {};
|
|
694
1749
|
const localVarQueryParameter = {};
|
|
695
|
-
if (
|
|
696
|
-
localVarQueryParameter["
|
|
1750
|
+
if (contactType !== void 0) {
|
|
1751
|
+
localVarQueryParameter["contactType"] = contactType;
|
|
1752
|
+
}
|
|
1753
|
+
if (searchString !== void 0) {
|
|
1754
|
+
localVarQueryParameter["searchString"] = searchString;
|
|
697
1755
|
}
|
|
698
1756
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
699
1757
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -733,6 +1791,118 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
733
1791
|
options: localVarRequestOptions
|
|
734
1792
|
};
|
|
735
1793
|
},
|
|
1794
|
+
/**
|
|
1795
|
+
*
|
|
1796
|
+
* @summary Emails Create
|
|
1797
|
+
* @param {string} contactId
|
|
1798
|
+
* @param {EmailCreate} emailCreate
|
|
1799
|
+
* @param {*} [options] Override http request option.
|
|
1800
|
+
* @throws {RequiredError}
|
|
1801
|
+
*/
|
|
1802
|
+
emailsCreate: async (contactId, emailCreate, options = {}) => {
|
|
1803
|
+
assertParamExists("emailsCreate", "contactId", contactId);
|
|
1804
|
+
assertParamExists("emailsCreate", "emailCreate", emailCreate);
|
|
1805
|
+
const localVarPath = `/contacts/{contactId}/emails`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
1806
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1807
|
+
let baseOptions;
|
|
1808
|
+
if (configuration) {
|
|
1809
|
+
baseOptions = configuration.baseOptions;
|
|
1810
|
+
}
|
|
1811
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1812
|
+
const localVarHeaderParameter = {};
|
|
1813
|
+
const localVarQueryParameter = {};
|
|
1814
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1815
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1816
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1817
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1818
|
+
localVarRequestOptions.data = serializeDataIfNeeded(emailCreate, localVarRequestOptions, configuration);
|
|
1819
|
+
return {
|
|
1820
|
+
url: toPathString(localVarUrlObj),
|
|
1821
|
+
options: localVarRequestOptions
|
|
1822
|
+
};
|
|
1823
|
+
},
|
|
1824
|
+
/**
|
|
1825
|
+
*
|
|
1826
|
+
* @summary Emails Delete
|
|
1827
|
+
* @param {string} emailId
|
|
1828
|
+
* @param {*} [options] Override http request option.
|
|
1829
|
+
* @throws {RequiredError}
|
|
1830
|
+
*/
|
|
1831
|
+
emailsDelete: async (emailId, options = {}) => {
|
|
1832
|
+
assertParamExists("emailsDelete", "emailId", emailId);
|
|
1833
|
+
const localVarPath = `/emails/{emailId}`.replace(`{${"emailId"}}`, encodeURIComponent(String(emailId)));
|
|
1834
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1835
|
+
let baseOptions;
|
|
1836
|
+
if (configuration) {
|
|
1837
|
+
baseOptions = configuration.baseOptions;
|
|
1838
|
+
}
|
|
1839
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1840
|
+
const localVarHeaderParameter = {};
|
|
1841
|
+
const localVarQueryParameter = {};
|
|
1842
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1843
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1844
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1845
|
+
return {
|
|
1846
|
+
url: toPathString(localVarUrlObj),
|
|
1847
|
+
options: localVarRequestOptions
|
|
1848
|
+
};
|
|
1849
|
+
},
|
|
1850
|
+
/**
|
|
1851
|
+
*
|
|
1852
|
+
* @summary Phones Create
|
|
1853
|
+
* @param {string} contactId
|
|
1854
|
+
* @param {PhoneCreate} phoneCreate
|
|
1855
|
+
* @param {*} [options] Override http request option.
|
|
1856
|
+
* @throws {RequiredError}
|
|
1857
|
+
*/
|
|
1858
|
+
phonesCreate: async (contactId, phoneCreate, options = {}) => {
|
|
1859
|
+
assertParamExists("phonesCreate", "contactId", contactId);
|
|
1860
|
+
assertParamExists("phonesCreate", "phoneCreate", phoneCreate);
|
|
1861
|
+
const localVarPath = `/contacts/{contactId}/phones`.replace(`{${"contactId"}}`, encodeURIComponent(String(contactId)));
|
|
1862
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1863
|
+
let baseOptions;
|
|
1864
|
+
if (configuration) {
|
|
1865
|
+
baseOptions = configuration.baseOptions;
|
|
1866
|
+
}
|
|
1867
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1868
|
+
const localVarHeaderParameter = {};
|
|
1869
|
+
const localVarQueryParameter = {};
|
|
1870
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1871
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1872
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1873
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1874
|
+
localVarRequestOptions.data = serializeDataIfNeeded(phoneCreate, localVarRequestOptions, configuration);
|
|
1875
|
+
return {
|
|
1876
|
+
url: toPathString(localVarUrlObj),
|
|
1877
|
+
options: localVarRequestOptions
|
|
1878
|
+
};
|
|
1879
|
+
},
|
|
1880
|
+
/**
|
|
1881
|
+
*
|
|
1882
|
+
* @summary Phones Delete
|
|
1883
|
+
* @param {string} phoneId
|
|
1884
|
+
* @param {*} [options] Override http request option.
|
|
1885
|
+
* @throws {RequiredError}
|
|
1886
|
+
*/
|
|
1887
|
+
phonesDelete: async (phoneId, options = {}) => {
|
|
1888
|
+
assertParamExists("phonesDelete", "phoneId", phoneId);
|
|
1889
|
+
const localVarPath = `/phones/{phoneId}`.replace(`{${"phoneId"}}`, encodeURIComponent(String(phoneId)));
|
|
1890
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1891
|
+
let baseOptions;
|
|
1892
|
+
if (configuration) {
|
|
1893
|
+
baseOptions = configuration.baseOptions;
|
|
1894
|
+
}
|
|
1895
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1896
|
+
const localVarHeaderParameter = {};
|
|
1897
|
+
const localVarQueryParameter = {};
|
|
1898
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1899
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1900
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1901
|
+
return {
|
|
1902
|
+
url: toPathString(localVarUrlObj),
|
|
1903
|
+
options: localVarRequestOptions
|
|
1904
|
+
};
|
|
1905
|
+
},
|
|
736
1906
|
/**
|
|
737
1907
|
* List all contacts
|
|
738
1908
|
* @summary Reservations List
|
|
@@ -795,6 +1965,47 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
795
1965
|
var UnboundApiFp = function(configuration) {
|
|
796
1966
|
const localVarAxiosParamCreator = UnboundApiAxiosParamCreator(configuration);
|
|
797
1967
|
return {
|
|
1968
|
+
/**
|
|
1969
|
+
*
|
|
1970
|
+
* @summary Addresses Create
|
|
1971
|
+
* @param {string} contactId
|
|
1972
|
+
* @param {AddressCreate} addressCreate
|
|
1973
|
+
* @param {*} [options] Override http request option.
|
|
1974
|
+
* @throws {RequiredError}
|
|
1975
|
+
*/
|
|
1976
|
+
async addressesCreate(contactId, addressCreate, options) {
|
|
1977
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesCreate(contactId, addressCreate, options);
|
|
1978
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1979
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.addressesCreate"]?.[localVarOperationServerIndex]?.url;
|
|
1980
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1981
|
+
},
|
|
1982
|
+
/**
|
|
1983
|
+
*
|
|
1984
|
+
* @summary Addresses Delete
|
|
1985
|
+
* @param {string} addressId
|
|
1986
|
+
* @param {*} [options] Override http request option.
|
|
1987
|
+
* @throws {RequiredError}
|
|
1988
|
+
*/
|
|
1989
|
+
async addressesDelete(addressId, options) {
|
|
1990
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesDelete(addressId, options);
|
|
1991
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1992
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.addressesDelete"]?.[localVarOperationServerIndex]?.url;
|
|
1993
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1994
|
+
},
|
|
1995
|
+
/**
|
|
1996
|
+
*
|
|
1997
|
+
* @summary Addresses Update
|
|
1998
|
+
* @param {string} addressId
|
|
1999
|
+
* @param {AddressUpdate} addressUpdate
|
|
2000
|
+
* @param {*} [options] Override http request option.
|
|
2001
|
+
* @throws {RequiredError}
|
|
2002
|
+
*/
|
|
2003
|
+
async addressesUpdate(addressId, addressUpdate, options) {
|
|
2004
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addressesUpdate(addressId, addressUpdate, options);
|
|
2005
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2006
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.addressesUpdate"]?.[localVarOperationServerIndex]?.url;
|
|
2007
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2008
|
+
},
|
|
798
2009
|
/**
|
|
799
2010
|
*
|
|
800
2011
|
* @summary Contacts Create
|
|
@@ -838,12 +2049,13 @@ var UnboundApiFp = function(configuration) {
|
|
|
838
2049
|
/**
|
|
839
2050
|
*
|
|
840
2051
|
* @summary Contacts List
|
|
841
|
-
* @param {
|
|
2052
|
+
* @param {ContactType} [contactType]
|
|
2053
|
+
* @param {string} [searchString]
|
|
842
2054
|
* @param {*} [options] Override http request option.
|
|
843
2055
|
* @throws {RequiredError}
|
|
844
2056
|
*/
|
|
845
|
-
async contactsList(
|
|
846
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(
|
|
2057
|
+
async contactsList(contactType, searchString, options) {
|
|
2058
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(contactType, searchString, options);
|
|
847
2059
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
848
2060
|
const localVarOperationServerBasePath = operationServerMap["UnboundApi.contactsList"]?.[localVarOperationServerIndex]?.url;
|
|
849
2061
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -862,6 +2074,60 @@ var UnboundApiFp = function(configuration) {
|
|
|
862
2074
|
const localVarOperationServerBasePath = operationServerMap["UnboundApi.contactsUpdate"]?.[localVarOperationServerIndex]?.url;
|
|
863
2075
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
864
2076
|
},
|
|
2077
|
+
/**
|
|
2078
|
+
*
|
|
2079
|
+
* @summary Emails Create
|
|
2080
|
+
* @param {string} contactId
|
|
2081
|
+
* @param {EmailCreate} emailCreate
|
|
2082
|
+
* @param {*} [options] Override http request option.
|
|
2083
|
+
* @throws {RequiredError}
|
|
2084
|
+
*/
|
|
2085
|
+
async emailsCreate(contactId, emailCreate, options) {
|
|
2086
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsCreate(contactId, emailCreate, options);
|
|
2087
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2088
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.emailsCreate"]?.[localVarOperationServerIndex]?.url;
|
|
2089
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2090
|
+
},
|
|
2091
|
+
/**
|
|
2092
|
+
*
|
|
2093
|
+
* @summary Emails Delete
|
|
2094
|
+
* @param {string} emailId
|
|
2095
|
+
* @param {*} [options] Override http request option.
|
|
2096
|
+
* @throws {RequiredError}
|
|
2097
|
+
*/
|
|
2098
|
+
async emailsDelete(emailId, options) {
|
|
2099
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.emailsDelete(emailId, options);
|
|
2100
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2101
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.emailsDelete"]?.[localVarOperationServerIndex]?.url;
|
|
2102
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2103
|
+
},
|
|
2104
|
+
/**
|
|
2105
|
+
*
|
|
2106
|
+
* @summary Phones Create
|
|
2107
|
+
* @param {string} contactId
|
|
2108
|
+
* @param {PhoneCreate} phoneCreate
|
|
2109
|
+
* @param {*} [options] Override http request option.
|
|
2110
|
+
* @throws {RequiredError}
|
|
2111
|
+
*/
|
|
2112
|
+
async phonesCreate(contactId, phoneCreate, options) {
|
|
2113
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesCreate(contactId, phoneCreate, options);
|
|
2114
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2115
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.phonesCreate"]?.[localVarOperationServerIndex]?.url;
|
|
2116
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2117
|
+
},
|
|
2118
|
+
/**
|
|
2119
|
+
*
|
|
2120
|
+
* @summary Phones Delete
|
|
2121
|
+
* @param {string} phoneId
|
|
2122
|
+
* @param {*} [options] Override http request option.
|
|
2123
|
+
* @throws {RequiredError}
|
|
2124
|
+
*/
|
|
2125
|
+
async phonesDelete(phoneId, options) {
|
|
2126
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.phonesDelete(phoneId, options);
|
|
2127
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2128
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.phonesDelete"]?.[localVarOperationServerIndex]?.url;
|
|
2129
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2130
|
+
},
|
|
865
2131
|
/**
|
|
866
2132
|
* List all contacts
|
|
867
2133
|
* @summary Reservations List
|
|
@@ -893,6 +2159,38 @@ var UnboundApiFp = function(configuration) {
|
|
|
893
2159
|
var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
894
2160
|
const localVarFp = UnboundApiFp(configuration);
|
|
895
2161
|
return {
|
|
2162
|
+
/**
|
|
2163
|
+
*
|
|
2164
|
+
* @summary Addresses Create
|
|
2165
|
+
* @param {string} contactId
|
|
2166
|
+
* @param {AddressCreate} addressCreate
|
|
2167
|
+
* @param {*} [options] Override http request option.
|
|
2168
|
+
* @throws {RequiredError}
|
|
2169
|
+
*/
|
|
2170
|
+
addressesCreate(contactId, addressCreate, options) {
|
|
2171
|
+
return localVarFp.addressesCreate(contactId, addressCreate, options).then((request) => request(axios, basePath));
|
|
2172
|
+
},
|
|
2173
|
+
/**
|
|
2174
|
+
*
|
|
2175
|
+
* @summary Addresses Delete
|
|
2176
|
+
* @param {string} addressId
|
|
2177
|
+
* @param {*} [options] Override http request option.
|
|
2178
|
+
* @throws {RequiredError}
|
|
2179
|
+
*/
|
|
2180
|
+
addressesDelete(addressId, options) {
|
|
2181
|
+
return localVarFp.addressesDelete(addressId, options).then((request) => request(axios, basePath));
|
|
2182
|
+
},
|
|
2183
|
+
/**
|
|
2184
|
+
*
|
|
2185
|
+
* @summary Addresses Update
|
|
2186
|
+
* @param {string} addressId
|
|
2187
|
+
* @param {AddressUpdate} addressUpdate
|
|
2188
|
+
* @param {*} [options] Override http request option.
|
|
2189
|
+
* @throws {RequiredError}
|
|
2190
|
+
*/
|
|
2191
|
+
addressesUpdate(addressId, addressUpdate, options) {
|
|
2192
|
+
return localVarFp.addressesUpdate(addressId, addressUpdate, options).then((request) => request(axios, basePath));
|
|
2193
|
+
},
|
|
896
2194
|
/**
|
|
897
2195
|
*
|
|
898
2196
|
* @summary Contacts Create
|
|
@@ -927,12 +2225,13 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
927
2225
|
/**
|
|
928
2226
|
*
|
|
929
2227
|
* @summary Contacts List
|
|
930
|
-
* @param {
|
|
2228
|
+
* @param {ContactType} [contactType]
|
|
2229
|
+
* @param {string} [searchString]
|
|
931
2230
|
* @param {*} [options] Override http request option.
|
|
932
2231
|
* @throws {RequiredError}
|
|
933
2232
|
*/
|
|
934
|
-
contactsList(
|
|
935
|
-
return localVarFp.contactsList(
|
|
2233
|
+
contactsList(contactType, searchString, options) {
|
|
2234
|
+
return localVarFp.contactsList(contactType, searchString, options).then((request) => request(axios, basePath));
|
|
936
2235
|
},
|
|
937
2236
|
/**
|
|
938
2237
|
*
|
|
@@ -945,6 +2244,48 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
945
2244
|
contactsUpdate(contactId, contactUpdate, options) {
|
|
946
2245
|
return localVarFp.contactsUpdate(contactId, contactUpdate, options).then((request) => request(axios, basePath));
|
|
947
2246
|
},
|
|
2247
|
+
/**
|
|
2248
|
+
*
|
|
2249
|
+
* @summary Emails Create
|
|
2250
|
+
* @param {string} contactId
|
|
2251
|
+
* @param {EmailCreate} emailCreate
|
|
2252
|
+
* @param {*} [options] Override http request option.
|
|
2253
|
+
* @throws {RequiredError}
|
|
2254
|
+
*/
|
|
2255
|
+
emailsCreate(contactId, emailCreate, options) {
|
|
2256
|
+
return localVarFp.emailsCreate(contactId, emailCreate, options).then((request) => request(axios, basePath));
|
|
2257
|
+
},
|
|
2258
|
+
/**
|
|
2259
|
+
*
|
|
2260
|
+
* @summary Emails Delete
|
|
2261
|
+
* @param {string} emailId
|
|
2262
|
+
* @param {*} [options] Override http request option.
|
|
2263
|
+
* @throws {RequiredError}
|
|
2264
|
+
*/
|
|
2265
|
+
emailsDelete(emailId, options) {
|
|
2266
|
+
return localVarFp.emailsDelete(emailId, options).then((request) => request(axios, basePath));
|
|
2267
|
+
},
|
|
2268
|
+
/**
|
|
2269
|
+
*
|
|
2270
|
+
* @summary Phones Create
|
|
2271
|
+
* @param {string} contactId
|
|
2272
|
+
* @param {PhoneCreate} phoneCreate
|
|
2273
|
+
* @param {*} [options] Override http request option.
|
|
2274
|
+
* @throws {RequiredError}
|
|
2275
|
+
*/
|
|
2276
|
+
phonesCreate(contactId, phoneCreate, options) {
|
|
2277
|
+
return localVarFp.phonesCreate(contactId, phoneCreate, options).then((request) => request(axios, basePath));
|
|
2278
|
+
},
|
|
2279
|
+
/**
|
|
2280
|
+
*
|
|
2281
|
+
* @summary Phones Delete
|
|
2282
|
+
* @param {string} phoneId
|
|
2283
|
+
* @param {*} [options] Override http request option.
|
|
2284
|
+
* @throws {RequiredError}
|
|
2285
|
+
*/
|
|
2286
|
+
phonesDelete(phoneId, options) {
|
|
2287
|
+
return localVarFp.phonesDelete(phoneId, options).then((request) => request(axios, basePath));
|
|
2288
|
+
},
|
|
948
2289
|
/**
|
|
949
2290
|
* List all contacts
|
|
950
2291
|
* @summary Reservations List
|
|
@@ -968,6 +2309,41 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
968
2309
|
};
|
|
969
2310
|
};
|
|
970
2311
|
var UnboundApi = class extends BaseAPI {
|
|
2312
|
+
/**
|
|
2313
|
+
*
|
|
2314
|
+
* @summary Addresses Create
|
|
2315
|
+
* @param {string} contactId
|
|
2316
|
+
* @param {AddressCreate} addressCreate
|
|
2317
|
+
* @param {*} [options] Override http request option.
|
|
2318
|
+
* @throws {RequiredError}
|
|
2319
|
+
* @memberof UnboundApi
|
|
2320
|
+
*/
|
|
2321
|
+
addressesCreate(contactId, addressCreate, options) {
|
|
2322
|
+
return UnboundApiFp(this.configuration).addressesCreate(contactId, addressCreate, options).then((request) => request(this.axios, this.basePath));
|
|
2323
|
+
}
|
|
2324
|
+
/**
|
|
2325
|
+
*
|
|
2326
|
+
* @summary Addresses Delete
|
|
2327
|
+
* @param {string} addressId
|
|
2328
|
+
* @param {*} [options] Override http request option.
|
|
2329
|
+
* @throws {RequiredError}
|
|
2330
|
+
* @memberof UnboundApi
|
|
2331
|
+
*/
|
|
2332
|
+
addressesDelete(addressId, options) {
|
|
2333
|
+
return UnboundApiFp(this.configuration).addressesDelete(addressId, options).then((request) => request(this.axios, this.basePath));
|
|
2334
|
+
}
|
|
2335
|
+
/**
|
|
2336
|
+
*
|
|
2337
|
+
* @summary Addresses Update
|
|
2338
|
+
* @param {string} addressId
|
|
2339
|
+
* @param {AddressUpdate} addressUpdate
|
|
2340
|
+
* @param {*} [options] Override http request option.
|
|
2341
|
+
* @throws {RequiredError}
|
|
2342
|
+
* @memberof UnboundApi
|
|
2343
|
+
*/
|
|
2344
|
+
addressesUpdate(addressId, addressUpdate, options) {
|
|
2345
|
+
return UnboundApiFp(this.configuration).addressesUpdate(addressId, addressUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
2346
|
+
}
|
|
971
2347
|
/**
|
|
972
2348
|
*
|
|
973
2349
|
* @summary Contacts Create
|
|
@@ -1005,13 +2381,14 @@ var UnboundApi = class extends BaseAPI {
|
|
|
1005
2381
|
/**
|
|
1006
2382
|
*
|
|
1007
2383
|
* @summary Contacts List
|
|
1008
|
-
* @param {
|
|
2384
|
+
* @param {ContactType} [contactType]
|
|
2385
|
+
* @param {string} [searchString]
|
|
1009
2386
|
* @param {*} [options] Override http request option.
|
|
1010
2387
|
* @throws {RequiredError}
|
|
1011
2388
|
* @memberof UnboundApi
|
|
1012
2389
|
*/
|
|
1013
|
-
contactsList(
|
|
1014
|
-
return UnboundApiFp(this.configuration).contactsList(
|
|
2390
|
+
contactsList(contactType, searchString, options) {
|
|
2391
|
+
return UnboundApiFp(this.configuration).contactsList(contactType, searchString, options).then((request) => request(this.axios, this.basePath));
|
|
1015
2392
|
}
|
|
1016
2393
|
/**
|
|
1017
2394
|
*
|
|
@@ -1025,6 +2402,52 @@ var UnboundApi = class extends BaseAPI {
|
|
|
1025
2402
|
contactsUpdate(contactId, contactUpdate, options) {
|
|
1026
2403
|
return UnboundApiFp(this.configuration).contactsUpdate(contactId, contactUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
1027
2404
|
}
|
|
2405
|
+
/**
|
|
2406
|
+
*
|
|
2407
|
+
* @summary Emails Create
|
|
2408
|
+
* @param {string} contactId
|
|
2409
|
+
* @param {EmailCreate} emailCreate
|
|
2410
|
+
* @param {*} [options] Override http request option.
|
|
2411
|
+
* @throws {RequiredError}
|
|
2412
|
+
* @memberof UnboundApi
|
|
2413
|
+
*/
|
|
2414
|
+
emailsCreate(contactId, emailCreate, options) {
|
|
2415
|
+
return UnboundApiFp(this.configuration).emailsCreate(contactId, emailCreate, options).then((request) => request(this.axios, this.basePath));
|
|
2416
|
+
}
|
|
2417
|
+
/**
|
|
2418
|
+
*
|
|
2419
|
+
* @summary Emails Delete
|
|
2420
|
+
* @param {string} emailId
|
|
2421
|
+
* @param {*} [options] Override http request option.
|
|
2422
|
+
* @throws {RequiredError}
|
|
2423
|
+
* @memberof UnboundApi
|
|
2424
|
+
*/
|
|
2425
|
+
emailsDelete(emailId, options) {
|
|
2426
|
+
return UnboundApiFp(this.configuration).emailsDelete(emailId, options).then((request) => request(this.axios, this.basePath));
|
|
2427
|
+
}
|
|
2428
|
+
/**
|
|
2429
|
+
*
|
|
2430
|
+
* @summary Phones Create
|
|
2431
|
+
* @param {string} contactId
|
|
2432
|
+
* @param {PhoneCreate} phoneCreate
|
|
2433
|
+
* @param {*} [options] Override http request option.
|
|
2434
|
+
* @throws {RequiredError}
|
|
2435
|
+
* @memberof UnboundApi
|
|
2436
|
+
*/
|
|
2437
|
+
phonesCreate(contactId, phoneCreate, options) {
|
|
2438
|
+
return UnboundApiFp(this.configuration).phonesCreate(contactId, phoneCreate, options).then((request) => request(this.axios, this.basePath));
|
|
2439
|
+
}
|
|
2440
|
+
/**
|
|
2441
|
+
*
|
|
2442
|
+
* @summary Phones Delete
|
|
2443
|
+
* @param {string} phoneId
|
|
2444
|
+
* @param {*} [options] Override http request option.
|
|
2445
|
+
* @throws {RequiredError}
|
|
2446
|
+
* @memberof UnboundApi
|
|
2447
|
+
*/
|
|
2448
|
+
phonesDelete(phoneId, options) {
|
|
2449
|
+
return UnboundApiFp(this.configuration).phonesDelete(phoneId, options).then((request) => request(this.axios, this.basePath));
|
|
2450
|
+
}
|
|
1028
2451
|
/**
|
|
1029
2452
|
* List all contacts
|
|
1030
2453
|
* @summary Reservations List
|
|
@@ -1138,21 +2561,38 @@ var Configuration = class {
|
|
|
1138
2561
|
}
|
|
1139
2562
|
};
|
|
1140
2563
|
export {
|
|
1141
|
-
|
|
2564
|
+
AddressesApi,
|
|
2565
|
+
AddressesApiAxiosParamCreator,
|
|
2566
|
+
AddressesApiFactory,
|
|
2567
|
+
AddressesApiFp,
|
|
1142
2568
|
Configuration,
|
|
2569
|
+
ContactType,
|
|
1143
2570
|
ContactsApi,
|
|
1144
2571
|
ContactsApiAxiosParamCreator,
|
|
1145
2572
|
ContactsApiFactory,
|
|
1146
2573
|
ContactsApiFp,
|
|
1147
|
-
|
|
2574
|
+
DataSource,
|
|
2575
|
+
EmailsApi,
|
|
2576
|
+
EmailsApiAxiosParamCreator,
|
|
2577
|
+
EmailsApiFactory,
|
|
2578
|
+
EmailsApiFp,
|
|
1148
2579
|
GuestDataContactTypeEnum,
|
|
2580
|
+
GuestDataCreateContactTypeEnum,
|
|
2581
|
+
GuestDataUpdateContactTypeEnum,
|
|
1149
2582
|
HostawayApi,
|
|
1150
2583
|
HostawayApiAxiosParamCreator,
|
|
1151
2584
|
HostawayApiFactory,
|
|
1152
2585
|
HostawayApiFp,
|
|
1153
|
-
|
|
2586
|
+
LeadDataContactTypeEnum,
|
|
2587
|
+
LeadDataCreateContactTypeEnum,
|
|
2588
|
+
LeadDataUpdateContactTypeEnum,
|
|
1154
2589
|
OwnerDataContactTypeEnum,
|
|
1155
|
-
|
|
2590
|
+
OwnerDataCreateContactTypeEnum,
|
|
2591
|
+
OwnerDataUpdateContactTypeEnum,
|
|
2592
|
+
PhonesApi,
|
|
2593
|
+
PhonesApiAxiosParamCreator,
|
|
2594
|
+
PhonesApiFactory,
|
|
2595
|
+
PhonesApiFp,
|
|
1156
2596
|
ReservationsApi,
|
|
1157
2597
|
ReservationsApiAxiosParamCreator,
|
|
1158
2598
|
ReservationsApiFactory,
|