@ember-home/unbound-ts-client 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +16 -16
- package/dist/index.d.ts +16 -16
- package/dist/index.js +26 -26
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +26 -26
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -503,12 +503,12 @@ var ContactsApiAxiosParamCreator = function(configuration) {
|
|
|
503
503
|
/**
|
|
504
504
|
*
|
|
505
505
|
* @summary Contacts List
|
|
506
|
-
* @param {ContactType} [
|
|
506
|
+
* @param {Array<ContactType>} [contactTypes]
|
|
507
507
|
* @param {string} [searchString]
|
|
508
508
|
* @param {*} [options] Override http request option.
|
|
509
509
|
* @throws {RequiredError}
|
|
510
510
|
*/
|
|
511
|
-
contactsList: async (
|
|
511
|
+
contactsList: async (contactTypes, searchString, options = {}) => {
|
|
512
512
|
const localVarPath = `/contacts`;
|
|
513
513
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
514
514
|
let baseOptions;
|
|
@@ -518,8 +518,8 @@ var ContactsApiAxiosParamCreator = function(configuration) {
|
|
|
518
518
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
519
519
|
const localVarHeaderParameter = {};
|
|
520
520
|
const localVarQueryParameter = {};
|
|
521
|
-
if (
|
|
522
|
-
localVarQueryParameter["
|
|
521
|
+
if (contactTypes) {
|
|
522
|
+
localVarQueryParameter["contactTypes"] = contactTypes;
|
|
523
523
|
}
|
|
524
524
|
if (searchString !== void 0) {
|
|
525
525
|
localVarQueryParameter["searchString"] = searchString;
|
|
@@ -762,13 +762,13 @@ var ContactsApiFp = function(configuration) {
|
|
|
762
762
|
/**
|
|
763
763
|
*
|
|
764
764
|
* @summary Contacts List
|
|
765
|
-
* @param {ContactType} [
|
|
765
|
+
* @param {Array<ContactType>} [contactTypes]
|
|
766
766
|
* @param {string} [searchString]
|
|
767
767
|
* @param {*} [options] Override http request option.
|
|
768
768
|
* @throws {RequiredError}
|
|
769
769
|
*/
|
|
770
|
-
async contactsList(
|
|
771
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(
|
|
770
|
+
async contactsList(contactTypes, searchString, options) {
|
|
771
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(contactTypes, searchString, options);
|
|
772
772
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
773
773
|
const localVarOperationServerBasePath = operationServerMap["ContactsApi.contactsList"]?.[localVarOperationServerIndex]?.url;
|
|
774
774
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -911,13 +911,13 @@ var ContactsApiFactory = function(configuration, basePath, axios) {
|
|
|
911
911
|
/**
|
|
912
912
|
*
|
|
913
913
|
* @summary Contacts List
|
|
914
|
-
* @param {ContactType} [
|
|
914
|
+
* @param {Array<ContactType>} [contactTypes]
|
|
915
915
|
* @param {string} [searchString]
|
|
916
916
|
* @param {*} [options] Override http request option.
|
|
917
917
|
* @throws {RequiredError}
|
|
918
918
|
*/
|
|
919
|
-
contactsList(
|
|
920
|
-
return localVarFp.contactsList(
|
|
919
|
+
contactsList(contactTypes, searchString, options) {
|
|
920
|
+
return localVarFp.contactsList(contactTypes, searchString, options).then((request) => request(axios, basePath));
|
|
921
921
|
},
|
|
922
922
|
/**
|
|
923
923
|
*
|
|
@@ -1046,14 +1046,14 @@ var ContactsApi = class extends BaseAPI {
|
|
|
1046
1046
|
/**
|
|
1047
1047
|
*
|
|
1048
1048
|
* @summary Contacts List
|
|
1049
|
-
* @param {ContactType} [
|
|
1049
|
+
* @param {Array<ContactType>} [contactTypes]
|
|
1050
1050
|
* @param {string} [searchString]
|
|
1051
1051
|
* @param {*} [options] Override http request option.
|
|
1052
1052
|
* @throws {RequiredError}
|
|
1053
1053
|
* @memberof ContactsApi
|
|
1054
1054
|
*/
|
|
1055
|
-
contactsList(
|
|
1056
|
-
return ContactsApiFp(this.configuration).contactsList(
|
|
1055
|
+
contactsList(contactTypes, searchString, options) {
|
|
1056
|
+
return ContactsApiFp(this.configuration).contactsList(contactTypes, searchString, options).then((request) => request(this.axios, this.basePath));
|
|
1057
1057
|
}
|
|
1058
1058
|
/**
|
|
1059
1059
|
*
|
|
@@ -1728,12 +1728,12 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
1728
1728
|
/**
|
|
1729
1729
|
*
|
|
1730
1730
|
* @summary Contacts List
|
|
1731
|
-
* @param {ContactType} [
|
|
1731
|
+
* @param {Array<ContactType>} [contactTypes]
|
|
1732
1732
|
* @param {string} [searchString]
|
|
1733
1733
|
* @param {*} [options] Override http request option.
|
|
1734
1734
|
* @throws {RequiredError}
|
|
1735
1735
|
*/
|
|
1736
|
-
contactsList: async (
|
|
1736
|
+
contactsList: async (contactTypes, searchString, options = {}) => {
|
|
1737
1737
|
const localVarPath = `/contacts`;
|
|
1738
1738
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1739
1739
|
let baseOptions;
|
|
@@ -1743,8 +1743,8 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
1743
1743
|
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1744
1744
|
const localVarHeaderParameter = {};
|
|
1745
1745
|
const localVarQueryParameter = {};
|
|
1746
|
-
if (
|
|
1747
|
-
localVarQueryParameter["
|
|
1746
|
+
if (contactTypes) {
|
|
1747
|
+
localVarQueryParameter["contactTypes"] = contactTypes;
|
|
1748
1748
|
}
|
|
1749
1749
|
if (searchString !== void 0) {
|
|
1750
1750
|
localVarQueryParameter["searchString"] = searchString;
|
|
@@ -2044,13 +2044,13 @@ var UnboundApiFp = function(configuration) {
|
|
|
2044
2044
|
/**
|
|
2045
2045
|
*
|
|
2046
2046
|
* @summary Contacts List
|
|
2047
|
-
* @param {ContactType} [
|
|
2047
|
+
* @param {Array<ContactType>} [contactTypes]
|
|
2048
2048
|
* @param {string} [searchString]
|
|
2049
2049
|
* @param {*} [options] Override http request option.
|
|
2050
2050
|
* @throws {RequiredError}
|
|
2051
2051
|
*/
|
|
2052
|
-
async contactsList(
|
|
2053
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(
|
|
2052
|
+
async contactsList(contactTypes, searchString, options) {
|
|
2053
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.contactsList(contactTypes, searchString, options);
|
|
2054
2054
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2055
2055
|
const localVarOperationServerBasePath = operationServerMap["UnboundApi.contactsList"]?.[localVarOperationServerIndex]?.url;
|
|
2056
2056
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2219,13 +2219,13 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
2219
2219
|
/**
|
|
2220
2220
|
*
|
|
2221
2221
|
* @summary Contacts List
|
|
2222
|
-
* @param {ContactType} [
|
|
2222
|
+
* @param {Array<ContactType>} [contactTypes]
|
|
2223
2223
|
* @param {string} [searchString]
|
|
2224
2224
|
* @param {*} [options] Override http request option.
|
|
2225
2225
|
* @throws {RequiredError}
|
|
2226
2226
|
*/
|
|
2227
|
-
contactsList(
|
|
2228
|
-
return localVarFp.contactsList(
|
|
2227
|
+
contactsList(contactTypes, searchString, options) {
|
|
2228
|
+
return localVarFp.contactsList(contactTypes, searchString, options).then((request) => request(axios, basePath));
|
|
2229
2229
|
},
|
|
2230
2230
|
/**
|
|
2231
2231
|
*
|
|
@@ -2374,14 +2374,14 @@ var UnboundApi = class extends BaseAPI {
|
|
|
2374
2374
|
/**
|
|
2375
2375
|
*
|
|
2376
2376
|
* @summary Contacts List
|
|
2377
|
-
* @param {ContactType} [
|
|
2377
|
+
* @param {Array<ContactType>} [contactTypes]
|
|
2378
2378
|
* @param {string} [searchString]
|
|
2379
2379
|
* @param {*} [options] Override http request option.
|
|
2380
2380
|
* @throws {RequiredError}
|
|
2381
2381
|
* @memberof UnboundApi
|
|
2382
2382
|
*/
|
|
2383
|
-
contactsList(
|
|
2384
|
-
return UnboundApiFp(this.configuration).contactsList(
|
|
2383
|
+
contactsList(contactTypes, searchString, options) {
|
|
2384
|
+
return UnboundApiFp(this.configuration).contactsList(contactTypes, searchString, options).then((request) => request(this.axios, this.basePath));
|
|
2385
2385
|
}
|
|
2386
2386
|
/**
|
|
2387
2387
|
*
|