@ember-home/unbound-ts-client 0.0.85 → 0.0.87
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 +80 -30
- package/dist/index.d.ts +80 -30
- package/dist/index.js +128 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +122 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -233,12 +233,8 @@ var TwilioProviderMessageApiMessageTypeEnum = {
|
|
|
233
233
|
};
|
|
234
234
|
var UserDeviceOs = {
|
|
235
235
|
Android: "ANDROID",
|
|
236
|
-
Ios: "IOS"
|
|
237
|
-
|
|
238
|
-
var UserDeviceType = {
|
|
239
|
-
Mobile: "MOBILE",
|
|
240
|
-
Tablet: "TABLET",
|
|
241
|
-
Desktop: "DESKTOP"
|
|
236
|
+
Ios: "IOS",
|
|
237
|
+
Macos: "MACOS"
|
|
242
238
|
};
|
|
243
239
|
var AccountsApiAxiosParamCreator = function(configuration) {
|
|
244
240
|
return {
|
|
@@ -4398,6 +4394,32 @@ var UnboundApiAxiosParamCreator = function(configuration) {
|
|
|
4398
4394
|
options: localVarRequestOptions
|
|
4399
4395
|
};
|
|
4400
4396
|
},
|
|
4397
|
+
/**
|
|
4398
|
+
* UserDevices Delete
|
|
4399
|
+
* @summary UserDevices Delete
|
|
4400
|
+
* @param {string} userDeviceId
|
|
4401
|
+
* @param {*} [options] Override http request option.
|
|
4402
|
+
* @throws {RequiredError}
|
|
4403
|
+
*/
|
|
4404
|
+
userDevicesDelete: async (userDeviceId, options = {}) => {
|
|
4405
|
+
assertParamExists("userDevicesDelete", "userDeviceId", userDeviceId);
|
|
4406
|
+
const localVarPath = `/userDevices/{userDeviceId}`.replace(`{${"userDeviceId"}}`, encodeURIComponent(String(userDeviceId)));
|
|
4407
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4408
|
+
let baseOptions;
|
|
4409
|
+
if (configuration) {
|
|
4410
|
+
baseOptions = configuration.baseOptions;
|
|
4411
|
+
}
|
|
4412
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
4413
|
+
const localVarHeaderParameter = {};
|
|
4414
|
+
const localVarQueryParameter = {};
|
|
4415
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4416
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4417
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
4418
|
+
return {
|
|
4419
|
+
url: toPathString(localVarUrlObj),
|
|
4420
|
+
options: localVarRequestOptions
|
|
4421
|
+
};
|
|
4422
|
+
},
|
|
4401
4423
|
/**
|
|
4402
4424
|
*
|
|
4403
4425
|
* @summary Unifiedwebhook
|
|
@@ -4997,6 +5019,19 @@ var UnboundApiFp = function(configuration) {
|
|
|
4997
5019
|
const localVarOperationServerBasePath = operationServerMap["UnboundApi.userDevicesCreate"]?.[localVarOperationServerIndex]?.url;
|
|
4998
5020
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4999
5021
|
},
|
|
5022
|
+
/**
|
|
5023
|
+
* UserDevices Delete
|
|
5024
|
+
* @summary UserDevices Delete
|
|
5025
|
+
* @param {string} userDeviceId
|
|
5026
|
+
* @param {*} [options] Override http request option.
|
|
5027
|
+
* @throws {RequiredError}
|
|
5028
|
+
*/
|
|
5029
|
+
async userDevicesDelete(userDeviceId, options) {
|
|
5030
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userDevicesDelete(userDeviceId, options);
|
|
5031
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5032
|
+
const localVarOperationServerBasePath = operationServerMap["UnboundApi.userDevicesDelete"]?.[localVarOperationServerIndex]?.url;
|
|
5033
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5034
|
+
},
|
|
5000
5035
|
/**
|
|
5001
5036
|
*
|
|
5002
5037
|
* @summary Unifiedwebhook
|
|
@@ -5460,6 +5495,16 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
|
|
|
5460
5495
|
userDevicesCreate(aPIUserDeviceCreate, options) {
|
|
5461
5496
|
return localVarFp.userDevicesCreate(aPIUserDeviceCreate, options).then((request) => request(axios, basePath));
|
|
5462
5497
|
},
|
|
5498
|
+
/**
|
|
5499
|
+
* UserDevices Delete
|
|
5500
|
+
* @summary UserDevices Delete
|
|
5501
|
+
* @param {string} userDeviceId
|
|
5502
|
+
* @param {*} [options] Override http request option.
|
|
5503
|
+
* @throws {RequiredError}
|
|
5504
|
+
*/
|
|
5505
|
+
userDevicesDelete(userDeviceId, options) {
|
|
5506
|
+
return localVarFp.userDevicesDelete(userDeviceId, options).then((request) => request(axios, basePath));
|
|
5507
|
+
},
|
|
5463
5508
|
/**
|
|
5464
5509
|
*
|
|
5465
5510
|
* @summary Unifiedwebhook
|
|
@@ -5958,6 +6003,17 @@ var UnboundApi = class extends BaseAPI {
|
|
|
5958
6003
|
userDevicesCreate(aPIUserDeviceCreate, options) {
|
|
5959
6004
|
return UnboundApiFp(this.configuration).userDevicesCreate(aPIUserDeviceCreate, options).then((request) => request(this.axios, this.basePath));
|
|
5960
6005
|
}
|
|
6006
|
+
/**
|
|
6007
|
+
* UserDevices Delete
|
|
6008
|
+
* @summary UserDevices Delete
|
|
6009
|
+
* @param {string} userDeviceId
|
|
6010
|
+
* @param {*} [options] Override http request option.
|
|
6011
|
+
* @throws {RequiredError}
|
|
6012
|
+
* @memberof UnboundApi
|
|
6013
|
+
*/
|
|
6014
|
+
userDevicesDelete(userDeviceId, options) {
|
|
6015
|
+
return UnboundApiFp(this.configuration).userDevicesDelete(userDeviceId, options).then((request) => request(this.axios, this.basePath));
|
|
6016
|
+
}
|
|
5961
6017
|
/**
|
|
5962
6018
|
*
|
|
5963
6019
|
* @summary Unifiedwebhook
|
|
@@ -5999,6 +6055,32 @@ var UserDevicesApiAxiosParamCreator = function(configuration) {
|
|
|
5999
6055
|
url: toPathString(localVarUrlObj),
|
|
6000
6056
|
options: localVarRequestOptions
|
|
6001
6057
|
};
|
|
6058
|
+
},
|
|
6059
|
+
/**
|
|
6060
|
+
* UserDevices Delete
|
|
6061
|
+
* @summary UserDevices Delete
|
|
6062
|
+
* @param {string} userDeviceId
|
|
6063
|
+
* @param {*} [options] Override http request option.
|
|
6064
|
+
* @throws {RequiredError}
|
|
6065
|
+
*/
|
|
6066
|
+
userDevicesDelete: async (userDeviceId, options = {}) => {
|
|
6067
|
+
assertParamExists("userDevicesDelete", "userDeviceId", userDeviceId);
|
|
6068
|
+
const localVarPath = `/userDevices/{userDeviceId}`.replace(`{${"userDeviceId"}}`, encodeURIComponent(String(userDeviceId)));
|
|
6069
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6070
|
+
let baseOptions;
|
|
6071
|
+
if (configuration) {
|
|
6072
|
+
baseOptions = configuration.baseOptions;
|
|
6073
|
+
}
|
|
6074
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
6075
|
+
const localVarHeaderParameter = {};
|
|
6076
|
+
const localVarQueryParameter = {};
|
|
6077
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6078
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6079
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
6080
|
+
return {
|
|
6081
|
+
url: toPathString(localVarUrlObj),
|
|
6082
|
+
options: localVarRequestOptions
|
|
6083
|
+
};
|
|
6002
6084
|
}
|
|
6003
6085
|
};
|
|
6004
6086
|
};
|
|
@@ -6017,6 +6099,19 @@ var UserDevicesApiFp = function(configuration) {
|
|
|
6017
6099
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6018
6100
|
const localVarOperationServerBasePath = operationServerMap["UserDevicesApi.userDevicesCreate"]?.[localVarOperationServerIndex]?.url;
|
|
6019
6101
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6102
|
+
},
|
|
6103
|
+
/**
|
|
6104
|
+
* UserDevices Delete
|
|
6105
|
+
* @summary UserDevices Delete
|
|
6106
|
+
* @param {string} userDeviceId
|
|
6107
|
+
* @param {*} [options] Override http request option.
|
|
6108
|
+
* @throws {RequiredError}
|
|
6109
|
+
*/
|
|
6110
|
+
async userDevicesDelete(userDeviceId, options) {
|
|
6111
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.userDevicesDelete(userDeviceId, options);
|
|
6112
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6113
|
+
const localVarOperationServerBasePath = operationServerMap["UserDevicesApi.userDevicesDelete"]?.[localVarOperationServerIndex]?.url;
|
|
6114
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6020
6115
|
}
|
|
6021
6116
|
};
|
|
6022
6117
|
};
|
|
@@ -6032,6 +6127,16 @@ var UserDevicesApiFactory = function(configuration, basePath, axios) {
|
|
|
6032
6127
|
*/
|
|
6033
6128
|
userDevicesCreate(aPIUserDeviceCreate, options) {
|
|
6034
6129
|
return localVarFp.userDevicesCreate(aPIUserDeviceCreate, options).then((request) => request(axios, basePath));
|
|
6130
|
+
},
|
|
6131
|
+
/**
|
|
6132
|
+
* UserDevices Delete
|
|
6133
|
+
* @summary UserDevices Delete
|
|
6134
|
+
* @param {string} userDeviceId
|
|
6135
|
+
* @param {*} [options] Override http request option.
|
|
6136
|
+
* @throws {RequiredError}
|
|
6137
|
+
*/
|
|
6138
|
+
userDevicesDelete(userDeviceId, options) {
|
|
6139
|
+
return localVarFp.userDevicesDelete(userDeviceId, options).then((request) => request(axios, basePath));
|
|
6035
6140
|
}
|
|
6036
6141
|
};
|
|
6037
6142
|
};
|
|
@@ -6047,6 +6152,17 @@ var UserDevicesApi = class extends BaseAPI {
|
|
|
6047
6152
|
userDevicesCreate(aPIUserDeviceCreate, options) {
|
|
6048
6153
|
return UserDevicesApiFp(this.configuration).userDevicesCreate(aPIUserDeviceCreate, options).then((request) => request(this.axios, this.basePath));
|
|
6049
6154
|
}
|
|
6155
|
+
/**
|
|
6156
|
+
* UserDevices Delete
|
|
6157
|
+
* @summary UserDevices Delete
|
|
6158
|
+
* @param {string} userDeviceId
|
|
6159
|
+
* @param {*} [options] Override http request option.
|
|
6160
|
+
* @throws {RequiredError}
|
|
6161
|
+
* @memberof UserDevicesApi
|
|
6162
|
+
*/
|
|
6163
|
+
userDevicesDelete(userDeviceId, options) {
|
|
6164
|
+
return UserDevicesApiFp(this.configuration).userDevicesDelete(userDeviceId, options).then((request) => request(this.axios, this.basePath));
|
|
6165
|
+
}
|
|
6050
6166
|
};
|
|
6051
6167
|
|
|
6052
6168
|
// src/configuration.ts
|
|
@@ -6224,7 +6340,6 @@ export {
|
|
|
6224
6340
|
UnboundApiFactory,
|
|
6225
6341
|
UnboundApiFp,
|
|
6226
6342
|
UserDeviceOs,
|
|
6227
|
-
UserDeviceType,
|
|
6228
6343
|
UserDevicesApi,
|
|
6229
6344
|
UserDevicesApiAxiosParamCreator,
|
|
6230
6345
|
UserDevicesApiFactory,
|