@ember-home/unbound-ts-client 0.0.7 → 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.mjs CHANGED
@@ -75,12 +75,13 @@ var createRequestFunction = function(axiosArgs, globalAxios3, BASE_PATH2, config
75
75
  };
76
76
 
77
77
  // src/api.ts
78
- var AddressItemDataSourceEnum = {
79
- Hostaway: "HOSTAWAY",
80
- Guesty: "GUESTY",
81
- Manual: "MANUAL"
78
+ var ContactType = {
79
+ Guest: "GUEST",
80
+ Owner: "OWNER",
81
+ Lead: "LEAD",
82
+ Basic: "BASIC"
82
83
  };
83
- var EmailDataSourceEnum = {
84
+ var DataSource = {
84
85
  Hostaway: "HOSTAWAY",
85
86
  Guesty: "GUESTY",
86
87
  Manual: "MANUAL"
@@ -112,13 +113,304 @@ var OwnerDataCreateContactTypeEnum = {
112
113
  var OwnerDataUpdateContactTypeEnum = {
113
114
  Owner: "OWNER"
114
115
  };
115
- var PhoneDataSourceEnum = {
116
- Hostaway: "HOSTAWAY",
117
- Guesty: "GUESTY",
118
- Manual: "MANUAL"
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
+ }
119
325
  };
120
326
  var ContactsApiAxiosParamCreator = function(configuration) {
121
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
+ },
122
414
  /**
123
415
  *
124
416
  * @summary Contacts Create
@@ -207,11 +499,12 @@ var ContactsApiAxiosParamCreator = function(configuration) {
207
499
  /**
208
500
  *
209
501
  * @summary Contacts List
210
- * @param {string} [statusFilter]
502
+ * @param {ContactType} [contactType]
503
+ * @param {string} [searchString]
211
504
  * @param {*} [options] Override http request option.
212
505
  * @throws {RequiredError}
213
506
  */
214
- contactsList: async (statusFilter, options = {}) => {
507
+ contactsList: async (contactType, searchString, options = {}) => {
215
508
  const localVarPath = `/contacts`;
216
509
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
217
510
  let baseOptions;
@@ -221,8 +514,11 @@ var ContactsApiAxiosParamCreator = function(configuration) {
221
514
  const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
222
515
  const localVarHeaderParameter = {};
223
516
  const localVarQueryParameter = {};
224
- if (statusFilter !== void 0) {
225
- localVarQueryParameter["statusFilter"] = statusFilter;
517
+ if (contactType !== void 0) {
518
+ localVarQueryParameter["contactType"] = contactType;
519
+ }
520
+ if (searchString !== void 0) {
521
+ localVarQueryParameter["searchString"] = searchString;
226
522
  }
227
523
  setSearchParams(localVarUrlObj, localVarQueryParameter);
228
524
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -261,48 +557,201 @@ var ContactsApiAxiosParamCreator = function(configuration) {
261
557
  url: toPathString(localVarUrlObj),
262
558
  options: localVarRequestOptions
263
559
  };
264
- }
265
- };
266
- };
267
- var ContactsApiFp = function(configuration) {
268
- const localVarAxiosParamCreator = ContactsApiAxiosParamCreator(configuration);
269
- return {
270
- /**
271
- *
272
- * @summary Contacts Create
273
- * @param {string} customerId
274
- * @param {ContactCreate} contactCreate
275
- * @param {*} [options] Override http request option.
276
- * @throws {RequiredError}
277
- */
278
- async contactsCreate(customerId, contactCreate, options) {
279
- const localVarAxiosArgs = await localVarAxiosParamCreator.contactsCreate(customerId, contactCreate, options);
280
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
281
- const localVarOperationServerBasePath = operationServerMap["ContactsApi.contactsCreate"]?.[localVarOperationServerIndex]?.url;
282
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
283
560
  },
284
561
  /**
285
562
  *
286
- * @summary Contacts Delete
563
+ * @summary Emails Create
287
564
  * @param {string} contactId
565
+ * @param {EmailCreate} emailCreate
288
566
  * @param {*} [options] Override http request option.
289
567
  * @throws {RequiredError}
290
568
  */
291
- async contactsDelete(contactId, options) {
292
- const localVarAxiosArgs = await localVarAxiosParamCreator.contactsDelete(contactId, options);
293
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
294
- const localVarOperationServerBasePath = operationServerMap["ContactsApi.contactsDelete"]?.[localVarOperationServerIndex]?.url;
295
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
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
+ };
296
590
  },
297
591
  /**
298
592
  *
299
- * @summary Contacts Get
300
- * @param {string} contactId
593
+ * @summary Emails Delete
594
+ * @param {string} emailId
301
595
  * @param {*} [options] Override http request option.
302
596
  * @throws {RequiredError}
303
597
  */
304
- async contactsGet(contactId, options) {
305
- const localVarAxiosArgs = await localVarAxiosParamCreator.contactsGet(contactId, options);
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);
745
+ },
746
+ /**
747
+ *
748
+ * @summary Contacts Get
749
+ * @param {string} contactId
750
+ * @param {*} [options] Override http request option.
751
+ * @throws {RequiredError}
752
+ */
753
+ async contactsGet(contactId, options) {
754
+ const localVarAxiosArgs = await localVarAxiosParamCreator.contactsGet(contactId, options);
306
755
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
307
756
  const localVarOperationServerBasePath = operationServerMap["ContactsApi.contactsGet"]?.[localVarOperationServerIndex]?.url;
308
757
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -310,146 +759,501 @@ var ContactsApiFp = function(configuration) {
310
759
  /**
311
760
  *
312
761
  * @summary Contacts List
313
- * @param {string} [statusFilter]
762
+ * @param {ContactType} [contactType]
763
+ * @param {string} [searchString]
314
764
  * @param {*} [options] Override http request option.
315
765
  * @throws {RequiredError}
316
766
  */
317
- async contactsList(statusFilter, options) {
318
- const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(statusFilter, options);
767
+ async contactsList(contactType, searchString, options) {
768
+ const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(contactType, searchString, options);
319
769
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
320
770
  const localVarOperationServerBasePath = operationServerMap["ContactsApi.contactsList"]?.[localVarOperationServerIndex]?.url;
321
771
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
322
772
  },
323
773
  /**
324
774
  *
325
- * @summary Contacts Update
326
- * @param {string} contactId
327
- * @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
328
1152
  * @param {*} [options] Override http request option.
329
1153
  * @throws {RequiredError}
330
1154
  */
331
- async contactsUpdate(contactId, contactUpdate, options) {
332
- const localVarAxiosArgs = await localVarAxiosParamCreator.contactsUpdate(contactId, contactUpdate, options);
333
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
334
- const localVarOperationServerBasePath = operationServerMap["ContactsApi.contactsUpdate"]?.[localVarOperationServerIndex]?.url;
335
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
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
+ };
336
1173
  }
337
1174
  };
338
1175
  };
339
- var ContactsApiFactory = function(configuration, basePath, axios) {
340
- const localVarFp = ContactsApiFp(configuration);
1176
+ var EmailsApiFp = function(configuration) {
1177
+ const localVarAxiosParamCreator = EmailsApiAxiosParamCreator(configuration);
341
1178
  return {
342
1179
  /**
343
1180
  *
344
- * @summary Contacts Create
345
- * @param {string} customerId
346
- * @param {ContactCreate} contactCreate
347
- * @param {*} [options] Override http request option.
348
- * @throws {RequiredError}
349
- */
350
- contactsCreate(customerId, contactCreate, options) {
351
- return localVarFp.contactsCreate(customerId, contactCreate, options).then((request) => request(axios, basePath));
352
- },
353
- /**
354
- *
355
- * @summary Contacts Delete
1181
+ * @summary Emails Create
356
1182
  * @param {string} contactId
1183
+ * @param {EmailCreate} emailCreate
357
1184
  * @param {*} [options] Override http request option.
358
1185
  * @throws {RequiredError}
359
1186
  */
360
- contactsDelete(contactId, options) {
361
- return localVarFp.contactsDelete(contactId, options).then((request) => request(axios, basePath));
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);
362
1192
  },
363
1193
  /**
364
1194
  *
365
- * @summary Contacts Get
366
- * @param {string} contactId
1195
+ * @summary Emails Delete
1196
+ * @param {string} emailId
367
1197
  * @param {*} [options] Override http request option.
368
1198
  * @throws {RequiredError}
369
1199
  */
370
- contactsGet(contactId, options) {
371
- return localVarFp.contactsGet(contactId, options).then((request) => request(axios, basePath));
372
- },
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 {
373
1211
  /**
374
1212
  *
375
- * @summary Contacts List
376
- * @param {string} [statusFilter]
1213
+ * @summary Emails Create
1214
+ * @param {string} contactId
1215
+ * @param {EmailCreate} emailCreate
377
1216
  * @param {*} [options] Override http request option.
378
1217
  * @throws {RequiredError}
379
1218
  */
380
- contactsList(statusFilter, options) {
381
- return localVarFp.contactsList(statusFilter, options).then((request) => request(axios, basePath));
1219
+ emailsCreate(contactId, emailCreate, options) {
1220
+ return localVarFp.emailsCreate(contactId, emailCreate, options).then((request) => request(axios, basePath));
382
1221
  },
383
1222
  /**
384
1223
  *
385
- * @summary Contacts Update
386
- * @param {string} contactId
387
- * @param {ContactUpdate} contactUpdate
1224
+ * @summary Emails Delete
1225
+ * @param {string} emailId
388
1226
  * @param {*} [options] Override http request option.
389
1227
  * @throws {RequiredError}
390
1228
  */
391
- contactsUpdate(contactId, contactUpdate, options) {
392
- return localVarFp.contactsUpdate(contactId, contactUpdate, options).then((request) => request(axios, basePath));
1229
+ emailsDelete(emailId, options) {
1230
+ return localVarFp.emailsDelete(emailId, options).then((request) => request(axios, basePath));
393
1231
  }
394
1232
  };
395
1233
  };
396
- var ContactsApi = class extends BaseAPI {
397
- /**
398
- *
399
- * @summary Contacts Create
400
- * @param {string} customerId
401
- * @param {ContactCreate} contactCreate
402
- * @param {*} [options] Override http request option.
403
- * @throws {RequiredError}
404
- * @memberof ContactsApi
405
- */
406
- contactsCreate(customerId, contactCreate, options) {
407
- return ContactsApiFp(this.configuration).contactsCreate(customerId, contactCreate, options).then((request) => request(this.axios, this.basePath));
408
- }
409
- /**
410
- *
411
- * @summary Contacts Delete
412
- * @param {string} contactId
413
- * @param {*} [options] Override http request option.
414
- * @throws {RequiredError}
415
- * @memberof ContactsApi
416
- */
417
- contactsDelete(contactId, options) {
418
- return ContactsApiFp(this.configuration).contactsDelete(contactId, options).then((request) => request(this.axios, this.basePath));
419
- }
1234
+ var EmailsApi = class extends BaseAPI {
420
1235
  /**
421
1236
  *
422
- * @summary Contacts Get
1237
+ * @summary Emails Create
423
1238
  * @param {string} contactId
1239
+ * @param {EmailCreate} emailCreate
424
1240
  * @param {*} [options] Override http request option.
425
1241
  * @throws {RequiredError}
426
- * @memberof ContactsApi
427
- */
428
- contactsGet(contactId, options) {
429
- return ContactsApiFp(this.configuration).contactsGet(contactId, options).then((request) => request(this.axios, this.basePath));
430
- }
431
- /**
432
- *
433
- * @summary Contacts List
434
- * @param {string} [statusFilter]
435
- * @param {*} [options] Override http request option.
436
- * @throws {RequiredError}
437
- * @memberof ContactsApi
1242
+ * @memberof EmailsApi
438
1243
  */
439
- contactsList(statusFilter, options) {
440
- return ContactsApiFp(this.configuration).contactsList(statusFilter, options).then((request) => request(this.axios, this.basePath));
1244
+ emailsCreate(contactId, emailCreate, options) {
1245
+ return EmailsApiFp(this.configuration).emailsCreate(contactId, emailCreate, options).then((request) => request(this.axios, this.basePath));
441
1246
  }
442
1247
  /**
443
1248
  *
444
- * @summary Contacts Update
445
- * @param {string} contactId
446
- * @param {ContactUpdate} contactUpdate
1249
+ * @summary Emails Delete
1250
+ * @param {string} emailId
447
1251
  * @param {*} [options] Override http request option.
448
1252
  * @throws {RequiredError}
449
- * @memberof ContactsApi
1253
+ * @memberof EmailsApi
450
1254
  */
451
- contactsUpdate(contactId, contactUpdate, options) {
452
- return ContactsApiFp(this.configuration).contactsUpdate(contactId, contactUpdate, options).then((request) => request(this.axios, this.basePath));
1255
+ emailsDelete(emailId, options) {
1256
+ return EmailsApiFp(this.configuration).emailsDelete(emailId, options).then((request) => request(this.axios, this.basePath));
453
1257
  }
454
1258
  };
455
1259
  var HostawayApiAxiosParamCreator = function(configuration) {
@@ -531,6 +1335,149 @@ var HostawayApi = class extends BaseAPI {
531
1335
  return HostawayApiFp(this.configuration).webhook(body, options).then((request) => request(this.axios, this.basePath));
532
1336
  }
533
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
+ };
534
1481
  var ReservationsApiAxiosParamCreator = function(configuration) {
535
1482
  return {
536
1483
  /**
@@ -611,6 +1558,92 @@ var ReservationsApi = class extends BaseAPI {
611
1558
  };
612
1559
  var UnboundApiAxiosParamCreator = function(configuration) {
613
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
+ },
614
1647
  /**
615
1648
  *
616
1649
  * @summary Contacts Create
@@ -699,11 +1732,12 @@ var UnboundApiAxiosParamCreator = function(configuration) {
699
1732
  /**
700
1733
  *
701
1734
  * @summary Contacts List
702
- * @param {string} [statusFilter]
1735
+ * @param {ContactType} [contactType]
1736
+ * @param {string} [searchString]
703
1737
  * @param {*} [options] Override http request option.
704
1738
  * @throws {RequiredError}
705
1739
  */
706
- contactsList: async (statusFilter, options = {}) => {
1740
+ contactsList: async (contactType, searchString, options = {}) => {
707
1741
  const localVarPath = `/contacts`;
708
1742
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
709
1743
  let baseOptions;
@@ -713,8 +1747,11 @@ var UnboundApiAxiosParamCreator = function(configuration) {
713
1747
  const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
714
1748
  const localVarHeaderParameter = {};
715
1749
  const localVarQueryParameter = {};
716
- if (statusFilter !== void 0) {
717
- localVarQueryParameter["statusFilter"] = statusFilter;
1750
+ if (contactType !== void 0) {
1751
+ localVarQueryParameter["contactType"] = contactType;
1752
+ }
1753
+ if (searchString !== void 0) {
1754
+ localVarQueryParameter["searchString"] = searchString;
718
1755
  }
719
1756
  setSearchParams(localVarUrlObj, localVarQueryParameter);
720
1757
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -754,6 +1791,118 @@ var UnboundApiAxiosParamCreator = function(configuration) {
754
1791
  options: localVarRequestOptions
755
1792
  };
756
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
+ },
757
1906
  /**
758
1907
  * List all contacts
759
1908
  * @summary Reservations List
@@ -816,6 +1965,47 @@ var UnboundApiAxiosParamCreator = function(configuration) {
816
1965
  var UnboundApiFp = function(configuration) {
817
1966
  const localVarAxiosParamCreator = UnboundApiAxiosParamCreator(configuration);
818
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
+ },
819
2009
  /**
820
2010
  *
821
2011
  * @summary Contacts Create
@@ -859,12 +2049,13 @@ var UnboundApiFp = function(configuration) {
859
2049
  /**
860
2050
  *
861
2051
  * @summary Contacts List
862
- * @param {string} [statusFilter]
2052
+ * @param {ContactType} [contactType]
2053
+ * @param {string} [searchString]
863
2054
  * @param {*} [options] Override http request option.
864
2055
  * @throws {RequiredError}
865
2056
  */
866
- async contactsList(statusFilter, options) {
867
- const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(statusFilter, options);
2057
+ async contactsList(contactType, searchString, options) {
2058
+ const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(contactType, searchString, options);
868
2059
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
869
2060
  const localVarOperationServerBasePath = operationServerMap["UnboundApi.contactsList"]?.[localVarOperationServerIndex]?.url;
870
2061
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -883,6 +2074,60 @@ var UnboundApiFp = function(configuration) {
883
2074
  const localVarOperationServerBasePath = operationServerMap["UnboundApi.contactsUpdate"]?.[localVarOperationServerIndex]?.url;
884
2075
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
885
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
+ },
886
2131
  /**
887
2132
  * List all contacts
888
2133
  * @summary Reservations List
@@ -914,6 +2159,38 @@ var UnboundApiFp = function(configuration) {
914
2159
  var UnboundApiFactory = function(configuration, basePath, axios) {
915
2160
  const localVarFp = UnboundApiFp(configuration);
916
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
+ },
917
2194
  /**
918
2195
  *
919
2196
  * @summary Contacts Create
@@ -948,12 +2225,13 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
948
2225
  /**
949
2226
  *
950
2227
  * @summary Contacts List
951
- * @param {string} [statusFilter]
2228
+ * @param {ContactType} [contactType]
2229
+ * @param {string} [searchString]
952
2230
  * @param {*} [options] Override http request option.
953
2231
  * @throws {RequiredError}
954
2232
  */
955
- contactsList(statusFilter, options) {
956
- return localVarFp.contactsList(statusFilter, options).then((request) => request(axios, basePath));
2233
+ contactsList(contactType, searchString, options) {
2234
+ return localVarFp.contactsList(contactType, searchString, options).then((request) => request(axios, basePath));
957
2235
  },
958
2236
  /**
959
2237
  *
@@ -966,6 +2244,48 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
966
2244
  contactsUpdate(contactId, contactUpdate, options) {
967
2245
  return localVarFp.contactsUpdate(contactId, contactUpdate, options).then((request) => request(axios, basePath));
968
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
+ },
969
2289
  /**
970
2290
  * List all contacts
971
2291
  * @summary Reservations List
@@ -989,6 +2309,41 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
989
2309
  };
990
2310
  };
991
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
+ }
992
2347
  /**
993
2348
  *
994
2349
  * @summary Contacts Create
@@ -1026,13 +2381,14 @@ var UnboundApi = class extends BaseAPI {
1026
2381
  /**
1027
2382
  *
1028
2383
  * @summary Contacts List
1029
- * @param {string} [statusFilter]
2384
+ * @param {ContactType} [contactType]
2385
+ * @param {string} [searchString]
1030
2386
  * @param {*} [options] Override http request option.
1031
2387
  * @throws {RequiredError}
1032
2388
  * @memberof UnboundApi
1033
2389
  */
1034
- contactsList(statusFilter, options) {
1035
- return UnboundApiFp(this.configuration).contactsList(statusFilter, options).then((request) => request(this.axios, this.basePath));
2390
+ contactsList(contactType, searchString, options) {
2391
+ return UnboundApiFp(this.configuration).contactsList(contactType, searchString, options).then((request) => request(this.axios, this.basePath));
1036
2392
  }
1037
2393
  /**
1038
2394
  *
@@ -1046,6 +2402,52 @@ var UnboundApi = class extends BaseAPI {
1046
2402
  contactsUpdate(contactId, contactUpdate, options) {
1047
2403
  return UnboundApiFp(this.configuration).contactsUpdate(contactId, contactUpdate, options).then((request) => request(this.axios, this.basePath));
1048
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
+ }
1049
2451
  /**
1050
2452
  * List all contacts
1051
2453
  * @summary Reservations List
@@ -1159,13 +2561,21 @@ var Configuration = class {
1159
2561
  }
1160
2562
  };
1161
2563
  export {
1162
- AddressItemDataSourceEnum,
2564
+ AddressesApi,
2565
+ AddressesApiAxiosParamCreator,
2566
+ AddressesApiFactory,
2567
+ AddressesApiFp,
1163
2568
  Configuration,
2569
+ ContactType,
1164
2570
  ContactsApi,
1165
2571
  ContactsApiAxiosParamCreator,
1166
2572
  ContactsApiFactory,
1167
2573
  ContactsApiFp,
1168
- EmailDataSourceEnum,
2574
+ DataSource,
2575
+ EmailsApi,
2576
+ EmailsApiAxiosParamCreator,
2577
+ EmailsApiFactory,
2578
+ EmailsApiFp,
1169
2579
  GuestDataContactTypeEnum,
1170
2580
  GuestDataCreateContactTypeEnum,
1171
2581
  GuestDataUpdateContactTypeEnum,
@@ -1179,7 +2589,10 @@ export {
1179
2589
  OwnerDataContactTypeEnum,
1180
2590
  OwnerDataCreateContactTypeEnum,
1181
2591
  OwnerDataUpdateContactTypeEnum,
1182
- PhoneDataSourceEnum,
2592
+ PhonesApi,
2593
+ PhonesApiAxiosParamCreator,
2594
+ PhonesApiFactory,
2595
+ PhonesApiFp,
1183
2596
  ReservationsApi,
1184
2597
  ReservationsApiAxiosParamCreator,
1185
2598
  ReservationsApiFactory,