@ember-home/unbound-ts-client 0.0.86 → 0.0.88
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 +117 -15
- package/dist/index.d.ts +117 -15
- package/dist/index.js +125 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +120 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -213,7 +213,6 @@ var StaffApiParticipantTypeEnum = {
|
|
|
213
213
|
};
|
|
214
214
|
var SuggestionStatus = {
|
|
215
215
|
Generating: "GENERATING",
|
|
216
|
-
DeterminingEligibility: "DETERMINING_ELIGIBILITY",
|
|
217
216
|
SkippedOutdated: "SKIPPED_OUTDATED",
|
|
218
217
|
SkippedNoEligibleMessages: "SKIPPED_NO_ELIGIBLE_MESSAGES",
|
|
219
218
|
AnsweredByStaff: "ANSWERED_BY_STAFF",
|
|
@@ -4394,6 +4393,32 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4394
4393
|
options: localVarRequestOptions
|
|
4395
4394
|
};
|
|
4396
4395
|
},
|
|
4396
|
+
/**
|
|
4397
|
+
* UserDevices Delete
|
|
4398
|
+
* @summary UserDevices Delete
|
|
4399
|
+
* @param {string} userDeviceId
|
|
4400
|
+
* @param {*} [options] Override http request option.
|
|
4401
|
+
* @throws {RequiredError}
|
|
4402
|
+
*/
|
|
4403
|
+
userDevicesDelete: async (userDeviceId, options = {}) => {
|
|
4404
|
+
assertParamExists("userDevicesDelete", "userDeviceId", userDeviceId);
|
|
4405
|
+
const localVarPath = `/userDevices/{userDeviceId}`.replace(`{${"userDeviceId"}}`, encodeURIComponent(String(userDeviceId)));
|
|
4406
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4407
|
+
let baseOptions;
|
|
4408
|
+
if (configuration) {
|
|
4409
|
+
baseOptions = configuration.baseOptions;
|
|
4410
|
+
}
|
|
4411
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
4412
|
+
const localVarHeaderParameter = {};
|
|
4413
|
+
const localVarQueryParameter = {};
|
|
4414
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4415
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4416
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4417
|
+
return {
|
|
4418
|
+
url: toPathString(localVarUrlObj),
|
|
4419
|
+
options: localVarRequestOptions
|
|
4420
|
+
};
|
|
4421
|
+
},
|
|
4397
4422
|
/**
|
|
4398
4423
|
*
|
|
4399
4424
|
* @summary Unifiedwebhook
|
|
@@ -4993,6 +5018,19 @@ var UnboundApiFp = function(configuration) {
|
|
|
4993
5018
|
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _319 => _319["UnboundApi.userDevicesCreate"], 'optionalAccess', _320 => _320[localVarOperationServerIndex], 'optionalAccess', _321 => _321.url]);
|
|
4994
5019
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4995
5020
|
},
|
|
5021
|
+
/**
|
|
5022
|
+
* UserDevices Delete
|
|
5023
|
+
* @summary UserDevices Delete
|
|
5024
|
+
* @param {string} userDeviceId
|
|
5025
|
+
* @param {*} [options] Override http request option.
|
|
5026
|
+
* @throws {RequiredError}
|
|
5027
|
+
*/
|
|
5028
|
+
async userDevicesDelete(userDeviceId, options) {
|
|
5029
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userDevicesDelete(userDeviceId, options);
|
|
5030
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _322 => _322.serverIndex]), () => ( 0));
|
|
5031
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _323 => _323["UnboundApi.userDevicesDelete"], 'optionalAccess', _324 => _324[localVarOperationServerIndex], 'optionalAccess', _325 => _325.url]);
|
|
5032
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5033
|
+
},
|
|
4996
5034
|
/**
|
|
4997
5035
|
*
|
|
4998
5036
|
* @summary Unifiedwebhook
|
|
@@ -5002,8 +5040,8 @@ var UnboundApiFp = function(configuration) {
|
|
|
5002
5040
|
*/
|
|
5003
5041
|
async webhook(body, options) {
|
|
5004
5042
|
const localVarAxiosArgs = await localVarAxiosParamCreator.webhook(body, options);
|
|
5005
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
5006
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
5043
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _326 => _326.serverIndex]), () => ( 0));
|
|
5044
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _327 => _327["UnboundApi.webhook"], 'optionalAccess', _328 => _328[localVarOperationServerIndex], 'optionalAccess', _329 => _329.url]);
|
|
5007
5045
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5008
5046
|
}
|
|
5009
5047
|
};
|
|
@@ -5456,6 +5494,16 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5456
5494
|
userDevicesCreate(aPIUserDeviceCreate, options) {
|
|
5457
5495
|
return localVarFp.userDevicesCreate(aPIUserDeviceCreate, options).then((request) => request(axios, basePath));
|
|
5458
5496
|
},
|
|
5497
|
+
/**
|
|
5498
|
+
* UserDevices Delete
|
|
5499
|
+
* @summary UserDevices Delete
|
|
5500
|
+
* @param {string} userDeviceId
|
|
5501
|
+
* @param {*} [options] Override http request option.
|
|
5502
|
+
* @throws {RequiredError}
|
|
5503
|
+
*/
|
|
5504
|
+
userDevicesDelete(userDeviceId, options) {
|
|
5505
|
+
return localVarFp.userDevicesDelete(userDeviceId, options).then((request) => request(axios, basePath));
|
|
5506
|
+
},
|
|
5459
5507
|
/**
|
|
5460
5508
|
*
|
|
5461
5509
|
* @summary Unifiedwebhook
|
|
@@ -5954,6 +6002,17 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5954
6002
|
userDevicesCreate(aPIUserDeviceCreate, options) {
|
|
5955
6003
|
return UnboundApiFp(this.configuration).userDevicesCreate(aPIUserDeviceCreate, options).then((request) => request(this.axios, this.basePath));
|
|
5956
6004
|
}
|
|
6005
|
+
/**
|
|
6006
|
+
* UserDevices Delete
|
|
6007
|
+
* @summary UserDevices Delete
|
|
6008
|
+
* @param {string} userDeviceId
|
|
6009
|
+
* @param {*} [options] Override http request option.
|
|
6010
|
+
* @throws {RequiredError}
|
|
6011
|
+
* @memberof UnboundApi
|
|
6012
|
+
*/
|
|
6013
|
+
userDevicesDelete(userDeviceId, options) {
|
|
6014
|
+
return UnboundApiFp(this.configuration).userDevicesDelete(userDeviceId, options).then((request) => request(this.axios, this.basePath));
|
|
6015
|
+
}
|
|
5957
6016
|
/**
|
|
5958
6017
|
*
|
|
5959
6018
|
* @summary Unifiedwebhook
|
|
@@ -5995,6 +6054,32 @@ var UserDevicesApiAxiosParamCreator = function(configuration) {
|
|
|
5995
6054
|
url: toPathString(localVarUrlObj),
|
|
5996
6055
|
options: localVarRequestOptions
|
|
5997
6056
|
};
|
|
6057
|
+
},
|
|
6058
|
+
/**
|
|
6059
|
+
* UserDevices Delete
|
|
6060
|
+
* @summary UserDevices Delete
|
|
6061
|
+
* @param {string} userDeviceId
|
|
6062
|
+
* @param {*} [options] Override http request option.
|
|
6063
|
+
* @throws {RequiredError}
|
|
6064
|
+
*/
|
|
6065
|
+
userDevicesDelete: async (userDeviceId, options = {}) => {
|
|
6066
|
+
assertParamExists("userDevicesDelete", "userDeviceId", userDeviceId);
|
|
6067
|
+
const localVarPath = `/userDevices/{userDeviceId}`.replace(`{${"userDeviceId"}}`, encodeURIComponent(String(userDeviceId)));
|
|
6068
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6069
|
+
let baseOptions;
|
|
6070
|
+
if (configuration) {
|
|
6071
|
+
baseOptions = configuration.baseOptions;
|
|
6072
|
+
}
|
|
6073
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
6074
|
+
const localVarHeaderParameter = {};
|
|
6075
|
+
const localVarQueryParameter = {};
|
|
6076
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6077
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6078
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6079
|
+
return {
|
|
6080
|
+
url: toPathString(localVarUrlObj),
|
|
6081
|
+
options: localVarRequestOptions
|
|
6082
|
+
};
|
|
5998
6083
|
}
|
|
5999
6084
|
};
|
|
6000
6085
|
};
|
|
@@ -6010,8 +6095,21 @@ var UserDevicesApiFp = function(configuration) {
|
|
|
6010
6095
|
*/
|
|
6011
6096
|
async userDevicesCreate(aPIUserDeviceCreate, options) {
|
|
6012
6097
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userDevicesCreate(aPIUserDeviceCreate, options);
|
|
6013
|
-
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess',
|
|
6014
|
-
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access',
|
|
6098
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _330 => _330.serverIndex]), () => ( 0));
|
|
6099
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _331 => _331["UserDevicesApi.userDevicesCreate"], 'optionalAccess', _332 => _332[localVarOperationServerIndex], 'optionalAccess', _333 => _333.url]);
|
|
6100
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6101
|
+
},
|
|
6102
|
+
/**
|
|
6103
|
+
* UserDevices Delete
|
|
6104
|
+
* @summary UserDevices Delete
|
|
6105
|
+
* @param {string} userDeviceId
|
|
6106
|
+
* @param {*} [options] Override http request option.
|
|
6107
|
+
* @throws {RequiredError}
|
|
6108
|
+
*/
|
|
6109
|
+
async userDevicesDelete(userDeviceId, options) {
|
|
6110
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userDevicesDelete(userDeviceId, options);
|
|
6111
|
+
const localVarOperationServerIndex = _nullishCoalesce(_optionalChain([configuration, 'optionalAccess', _334 => _334.serverIndex]), () => ( 0));
|
|
6112
|
+
const localVarOperationServerBasePath = _optionalChain([operationServerMap, 'access', _335 => _335["UserDevicesApi.userDevicesDelete"], 'optionalAccess', _336 => _336[localVarOperationServerIndex], 'optionalAccess', _337 => _337.url]);
|
|
6015
6113
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, _axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6016
6114
|
}
|
|
6017
6115
|
};
|
|
@@ -6028,6 +6126,16 @@ var UserDevicesApiFactory = function(configuration, basePath, axios) {
|
|
|
6028
6126
|
*/
|
|
6029
6127
|
userDevicesCreate(aPIUserDeviceCreate, options) {
|
|
6030
6128
|
return localVarFp.userDevicesCreate(aPIUserDeviceCreate, options).then((request) => request(axios, basePath));
|
|
6129
|
+
},
|
|
6130
|
+
/**
|
|
6131
|
+
* UserDevices Delete
|
|
6132
|
+
* @summary UserDevices Delete
|
|
6133
|
+
* @param {string} userDeviceId
|
|
6134
|
+
* @param {*} [options] Override http request option.
|
|
6135
|
+
* @throws {RequiredError}
|
|
6136
|
+
*/
|
|
6137
|
+
userDevicesDelete(userDeviceId, options) {
|
|
6138
|
+
return localVarFp.userDevicesDelete(userDeviceId, options).then((request) => request(axios, basePath));
|
|
6031
6139
|
}
|
|
6032
6140
|
};
|
|
6033
6141
|
};
|
|
@@ -6043,6 +6151,17 @@ var UserDevicesApi = class extends BaseAPI {
|
|
|
6043
6151
|
userDevicesCreate(aPIUserDeviceCreate, options) {
|
|
6044
6152
|
return UserDevicesApiFp(this.configuration).userDevicesCreate(aPIUserDeviceCreate, options).then((request) => request(this.axios, this.basePath));
|
|
6045
6153
|
}
|
|
6154
|
+
/**
|
|
6155
|
+
* UserDevices Delete
|
|
6156
|
+
* @summary UserDevices Delete
|
|
6157
|
+
* @param {string} userDeviceId
|
|
6158
|
+
* @param {*} [options] Override http request option.
|
|
6159
|
+
* @throws {RequiredError}
|
|
6160
|
+
* @memberof UserDevicesApi
|
|
6161
|
+
*/
|
|
6162
|
+
userDevicesDelete(userDeviceId, options) {
|
|
6163
|
+
return UserDevicesApiFp(this.configuration).userDevicesDelete(userDeviceId, options).then((request) => request(this.axios, this.basePath));
|
|
6164
|
+
}
|
|
6046
6165
|
};
|
|
6047
6166
|
|
|
6048
6167
|
// src/configuration.ts
|
|
@@ -6113,7 +6232,7 @@ var Configuration = class {
|
|
|
6113
6232
|
this.baseOptions = {
|
|
6114
6233
|
...param.baseOptions,
|
|
6115
6234
|
headers: {
|
|
6116
|
-
..._optionalChain([param, 'access',
|
|
6235
|
+
..._optionalChain([param, 'access', _338 => _338.baseOptions, 'optionalAccess', _339 => _339.headers])
|
|
6117
6236
|
}
|
|
6118
6237
|
};
|
|
6119
6238
|
this.formDataCtor = param.formDataCtor;
|