@ember-home/unbound-ts-client 0.0.16 → 0.0.17

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
@@ -469,10 +469,12 @@ var ContactsApiAxiosParamCreator = function(configuration) {
469
469
  * @summary Contacts List
470
470
  * @param {Array<ContactTypeFilter>} [contactTypes]
471
471
  * @param {string} [searchString]
472
+ * @param {number} [limit]
473
+ * @param {number} [offset]
472
474
  * @param {*} [options] Override http request option.
473
475
  * @throws {RequiredError}
474
476
  */
475
- contactsList: async (contactTypes, searchString, options = {}) => {
477
+ contactsList: async (contactTypes, searchString, limit, offset, options = {}) => {
476
478
  const localVarPath = `/contacts`;
477
479
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
478
480
  let baseOptions;
@@ -488,6 +490,12 @@ var ContactsApiAxiosParamCreator = function(configuration) {
488
490
  if (searchString !== void 0) {
489
491
  localVarQueryParameter["searchString"] = searchString;
490
492
  }
493
+ if (limit !== void 0) {
494
+ localVarQueryParameter["limit"] = limit;
495
+ }
496
+ if (offset !== void 0) {
497
+ localVarQueryParameter["offset"] = offset;
498
+ }
491
499
  setSearchParams(localVarUrlObj, localVarQueryParameter);
492
500
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
493
501
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -728,11 +736,13 @@ var ContactsApiFp = function(configuration) {
728
736
  * @summary Contacts List
729
737
  * @param {Array<ContactTypeFilter>} [contactTypes]
730
738
  * @param {string} [searchString]
739
+ * @param {number} [limit]
740
+ * @param {number} [offset]
731
741
  * @param {*} [options] Override http request option.
732
742
  * @throws {RequiredError}
733
743
  */
734
- async contactsList(contactTypes, searchString, options) {
735
- const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(contactTypes, searchString, options);
744
+ async contactsList(contactTypes, searchString, limit, offset, options) {
745
+ const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(contactTypes, searchString, limit, offset, options);
736
746
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
737
747
  const localVarOperationServerBasePath = operationServerMap["ContactsApi.contactsList"]?.[localVarOperationServerIndex]?.url;
738
748
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -877,11 +887,13 @@ var ContactsApiFactory = function(configuration, basePath, axios) {
877
887
  * @summary Contacts List
878
888
  * @param {Array<ContactTypeFilter>} [contactTypes]
879
889
  * @param {string} [searchString]
890
+ * @param {number} [limit]
891
+ * @param {number} [offset]
880
892
  * @param {*} [options] Override http request option.
881
893
  * @throws {RequiredError}
882
894
  */
883
- contactsList(contactTypes, searchString, options) {
884
- return localVarFp.contactsList(contactTypes, searchString, options).then((request) => request(axios, basePath));
895
+ contactsList(contactTypes, searchString, limit, offset, options) {
896
+ return localVarFp.contactsList(contactTypes, searchString, limit, offset, options).then((request) => request(axios, basePath));
885
897
  },
886
898
  /**
887
899
  *
@@ -1012,12 +1024,14 @@ var ContactsApi = class extends BaseAPI {
1012
1024
  * @summary Contacts List
1013
1025
  * @param {Array<ContactTypeFilter>} [contactTypes]
1014
1026
  * @param {string} [searchString]
1027
+ * @param {number} [limit]
1028
+ * @param {number} [offset]
1015
1029
  * @param {*} [options] Override http request option.
1016
1030
  * @throws {RequiredError}
1017
1031
  * @memberof ContactsApi
1018
1032
  */
1019
- contactsList(contactTypes, searchString, options) {
1020
- return ContactsApiFp(this.configuration).contactsList(contactTypes, searchString, options).then((request) => request(this.axios, this.basePath));
1033
+ contactsList(contactTypes, searchString, limit, offset, options) {
1034
+ return ContactsApiFp(this.configuration).contactsList(contactTypes, searchString, limit, offset, options).then((request) => request(this.axios, this.basePath));
1021
1035
  }
1022
1036
  /**
1023
1037
  *
@@ -1300,6 +1314,84 @@ var HostawayApi = class extends BaseAPI {
1300
1314
  return HostawayApiFp(this.configuration).webhook(hostawayWebhook, options).then((request) => request(this.axios, this.basePath));
1301
1315
  }
1302
1316
  };
1317
+ var InquiriesApiAxiosParamCreator = function(configuration) {
1318
+ return {
1319
+ /**
1320
+ * List all listings
1321
+ * @summary Inquiries List
1322
+ * @param {string} [contactId]
1323
+ * @param {*} [options] Override http request option.
1324
+ * @throws {RequiredError}
1325
+ */
1326
+ inquiriesList: async (contactId, options = {}) => {
1327
+ const localVarPath = `/inquiries`;
1328
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1329
+ let baseOptions;
1330
+ if (configuration) {
1331
+ baseOptions = configuration.baseOptions;
1332
+ }
1333
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1334
+ const localVarHeaderParameter = {};
1335
+ const localVarQueryParameter = {};
1336
+ if (contactId !== void 0) {
1337
+ localVarQueryParameter["contactId"] = contactId;
1338
+ }
1339
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1340
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1341
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1342
+ return {
1343
+ url: toPathString(localVarUrlObj),
1344
+ options: localVarRequestOptions
1345
+ };
1346
+ }
1347
+ };
1348
+ };
1349
+ var InquiriesApiFp = function(configuration) {
1350
+ const localVarAxiosParamCreator = InquiriesApiAxiosParamCreator(configuration);
1351
+ return {
1352
+ /**
1353
+ * List all listings
1354
+ * @summary Inquiries List
1355
+ * @param {string} [contactId]
1356
+ * @param {*} [options] Override http request option.
1357
+ * @throws {RequiredError}
1358
+ */
1359
+ async inquiriesList(contactId, options) {
1360
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
1361
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1362
+ const localVarOperationServerBasePath = operationServerMap["InquiriesApi.inquiriesList"]?.[localVarOperationServerIndex]?.url;
1363
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1364
+ }
1365
+ };
1366
+ };
1367
+ var InquiriesApiFactory = function(configuration, basePath, axios) {
1368
+ const localVarFp = InquiriesApiFp(configuration);
1369
+ return {
1370
+ /**
1371
+ * List all listings
1372
+ * @summary Inquiries List
1373
+ * @param {string} [contactId]
1374
+ * @param {*} [options] Override http request option.
1375
+ * @throws {RequiredError}
1376
+ */
1377
+ inquiriesList(contactId, options) {
1378
+ return localVarFp.inquiriesList(contactId, options).then((request) => request(axios, basePath));
1379
+ }
1380
+ };
1381
+ };
1382
+ var InquiriesApi = class extends BaseAPI {
1383
+ /**
1384
+ * List all listings
1385
+ * @summary Inquiries List
1386
+ * @param {string} [contactId]
1387
+ * @param {*} [options] Override http request option.
1388
+ * @throws {RequiredError}
1389
+ * @memberof InquiriesApi
1390
+ */
1391
+ inquiriesList(contactId, options) {
1392
+ return InquiriesApiFp(this.configuration).inquiriesList(contactId, options).then((request) => request(this.axios, this.basePath));
1393
+ }
1394
+ };
1303
1395
  var ListingsApiAxiosParamCreator = function(configuration) {
1304
1396
  return {
1305
1397
  /**
@@ -1772,10 +1864,12 @@ var UnboundApiAxiosParamCreator = function(configuration) {
1772
1864
  * @summary Contacts List
1773
1865
  * @param {Array<ContactTypeFilter>} [contactTypes]
1774
1866
  * @param {string} [searchString]
1867
+ * @param {number} [limit]
1868
+ * @param {number} [offset]
1775
1869
  * @param {*} [options] Override http request option.
1776
1870
  * @throws {RequiredError}
1777
1871
  */
1778
- contactsList: async (contactTypes, searchString, options = {}) => {
1872
+ contactsList: async (contactTypes, searchString, limit, offset, options = {}) => {
1779
1873
  const localVarPath = `/contacts`;
1780
1874
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1781
1875
  let baseOptions;
@@ -1791,6 +1885,12 @@ var UnboundApiAxiosParamCreator = function(configuration) {
1791
1885
  if (searchString !== void 0) {
1792
1886
  localVarQueryParameter["searchString"] = searchString;
1793
1887
  }
1888
+ if (limit !== void 0) {
1889
+ localVarQueryParameter["limit"] = limit;
1890
+ }
1891
+ if (offset !== void 0) {
1892
+ localVarQueryParameter["offset"] = offset;
1893
+ }
1794
1894
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1795
1895
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1796
1896
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -1885,6 +1985,34 @@ var UnboundApiAxiosParamCreator = function(configuration) {
1885
1985
  options: localVarRequestOptions
1886
1986
  };
1887
1987
  },
1988
+ /**
1989
+ * List all listings
1990
+ * @summary Inquiries List
1991
+ * @param {string} [contactId]
1992
+ * @param {*} [options] Override http request option.
1993
+ * @throws {RequiredError}
1994
+ */
1995
+ inquiriesList: async (contactId, options = {}) => {
1996
+ const localVarPath = `/inquiries`;
1997
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1998
+ let baseOptions;
1999
+ if (configuration) {
2000
+ baseOptions = configuration.baseOptions;
2001
+ }
2002
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2003
+ const localVarHeaderParameter = {};
2004
+ const localVarQueryParameter = {};
2005
+ if (contactId !== void 0) {
2006
+ localVarQueryParameter["contactId"] = contactId;
2007
+ }
2008
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2009
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2010
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2011
+ return {
2012
+ url: toPathString(localVarUrlObj),
2013
+ options: localVarRequestOptions
2014
+ };
2015
+ },
1888
2016
  /**
1889
2017
  * List all listings
1890
2018
  * @summary Listings List
@@ -2116,11 +2244,13 @@ var UnboundApiFp = function(configuration) {
2116
2244
  * @summary Contacts List
2117
2245
  * @param {Array<ContactTypeFilter>} [contactTypes]
2118
2246
  * @param {string} [searchString]
2247
+ * @param {number} [limit]
2248
+ * @param {number} [offset]
2119
2249
  * @param {*} [options] Override http request option.
2120
2250
  * @throws {RequiredError}
2121
2251
  */
2122
- async contactsList(contactTypes, searchString, options) {
2123
- const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(contactTypes, searchString, options);
2252
+ async contactsList(contactTypes, searchString, limit, offset, options) {
2253
+ const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(contactTypes, searchString, limit, offset, options);
2124
2254
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2125
2255
  const localVarOperationServerBasePath = operationServerMap["UnboundApi.contactsList"]?.[localVarOperationServerIndex]?.url;
2126
2256
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -2166,6 +2296,19 @@ var UnboundApiFp = function(configuration) {
2166
2296
  const localVarOperationServerBasePath = operationServerMap["UnboundApi.emailsDelete"]?.[localVarOperationServerIndex]?.url;
2167
2297
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2168
2298
  },
2299
+ /**
2300
+ * List all listings
2301
+ * @summary Inquiries List
2302
+ * @param {string} [contactId]
2303
+ * @param {*} [options] Override http request option.
2304
+ * @throws {RequiredError}
2305
+ */
2306
+ async inquiriesList(contactId, options) {
2307
+ const localVarAxiosArgs = await localVarAxiosParamCreator.inquiriesList(contactId, options);
2308
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2309
+ const localVarOperationServerBasePath = operationServerMap["UnboundApi.inquiriesList"]?.[localVarOperationServerIndex]?.url;
2310
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2311
+ },
2169
2312
  /**
2170
2313
  * List all listings
2171
2314
  * @summary Listings List
@@ -2304,11 +2447,13 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
2304
2447
  * @summary Contacts List
2305
2448
  * @param {Array<ContactTypeFilter>} [contactTypes]
2306
2449
  * @param {string} [searchString]
2450
+ * @param {number} [limit]
2451
+ * @param {number} [offset]
2307
2452
  * @param {*} [options] Override http request option.
2308
2453
  * @throws {RequiredError}
2309
2454
  */
2310
- contactsList(contactTypes, searchString, options) {
2311
- return localVarFp.contactsList(contactTypes, searchString, options).then((request) => request(axios, basePath));
2455
+ contactsList(contactTypes, searchString, limit, offset, options) {
2456
+ return localVarFp.contactsList(contactTypes, searchString, limit, offset, options).then((request) => request(axios, basePath));
2312
2457
  },
2313
2458
  /**
2314
2459
  *
@@ -2342,6 +2487,16 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
2342
2487
  emailsDelete(emailId, options) {
2343
2488
  return localVarFp.emailsDelete(emailId, options).then((request) => request(axios, basePath));
2344
2489
  },
2490
+ /**
2491
+ * List all listings
2492
+ * @summary Inquiries List
2493
+ * @param {string} [contactId]
2494
+ * @param {*} [options] Override http request option.
2495
+ * @throws {RequiredError}
2496
+ */
2497
+ inquiriesList(contactId, options) {
2498
+ return localVarFp.inquiriesList(contactId, options).then((request) => request(axios, basePath));
2499
+ },
2345
2500
  /**
2346
2501
  * List all listings
2347
2502
  * @summary Listings List
@@ -2469,12 +2624,14 @@ var UnboundApi = class extends BaseAPI {
2469
2624
  * @summary Contacts List
2470
2625
  * @param {Array<ContactTypeFilter>} [contactTypes]
2471
2626
  * @param {string} [searchString]
2627
+ * @param {number} [limit]
2628
+ * @param {number} [offset]
2472
2629
  * @param {*} [options] Override http request option.
2473
2630
  * @throws {RequiredError}
2474
2631
  * @memberof UnboundApi
2475
2632
  */
2476
- contactsList(contactTypes, searchString, options) {
2477
- return UnboundApiFp(this.configuration).contactsList(contactTypes, searchString, options).then((request) => request(this.axios, this.basePath));
2633
+ contactsList(contactTypes, searchString, limit, offset, options) {
2634
+ return UnboundApiFp(this.configuration).contactsList(contactTypes, searchString, limit, offset, options).then((request) => request(this.axios, this.basePath));
2478
2635
  }
2479
2636
  /**
2480
2637
  *
@@ -2511,6 +2668,17 @@ var UnboundApi = class extends BaseAPI {
2511
2668
  emailsDelete(emailId, options) {
2512
2669
  return UnboundApiFp(this.configuration).emailsDelete(emailId, options).then((request) => request(this.axios, this.basePath));
2513
2670
  }
2671
+ /**
2672
+ * List all listings
2673
+ * @summary Inquiries List
2674
+ * @param {string} [contactId]
2675
+ * @param {*} [options] Override http request option.
2676
+ * @throws {RequiredError}
2677
+ * @memberof UnboundApi
2678
+ */
2679
+ inquiriesList(contactId, options) {
2680
+ return UnboundApiFp(this.configuration).inquiriesList(contactId, options).then((request) => request(this.axios, this.basePath));
2681
+ }
2514
2682
  /**
2515
2683
  * List all listings
2516
2684
  * @summary Listings List
@@ -2677,6 +2845,10 @@ export {
2677
2845
  HostawayApiAxiosParamCreator,
2678
2846
  HostawayApiFactory,
2679
2847
  HostawayApiFp,
2848
+ InquiriesApi,
2849
+ InquiriesApiAxiosParamCreator,
2850
+ InquiriesApiFactory,
2851
+ InquiriesApiFp,
2680
2852
  ListingsApi,
2681
2853
  ListingsApiAxiosParamCreator,
2682
2854
  ListingsApiFactory,