@ember-home/unbound-ts-client 0.0.86 → 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.mjs CHANGED
@@ -4394,6 +4394,32 @@ var UnboundApiAxiosParamCreator = function(configuration) {
4394
4394
  options: localVarRequestOptions
4395
4395
  };
4396
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
+ },
4397
4423
  /**
4398
4424
  *
4399
4425
  * @summary Unifiedwebhook
@@ -4993,6 +5019,19 @@ var UnboundApiFp = function(configuration) {
4993
5019
  const localVarOperationServerBasePath = operationServerMap["UnboundApi.userDevicesCreate"]?.[localVarOperationServerIndex]?.url;
4994
5020
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4995
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
+ },
4996
5035
  /**
4997
5036
  *
4998
5037
  * @summary Unifiedwebhook
@@ -5456,6 +5495,16 @@ var UnboundApiFactory = function(configuration, basePath, axios) {
5456
5495
  userDevicesCreate(aPIUserDeviceCreate, options) {
5457
5496
  return localVarFp.userDevicesCreate(aPIUserDeviceCreate, options).then((request) => request(axios, basePath));
5458
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
+ },
5459
5508
  /**
5460
5509
  *
5461
5510
  * @summary Unifiedwebhook
@@ -5954,6 +6003,17 @@ var UnboundApi = class extends BaseAPI {
5954
6003
  userDevicesCreate(aPIUserDeviceCreate, options) {
5955
6004
  return UnboundApiFp(this.configuration).userDevicesCreate(aPIUserDeviceCreate, options).then((request) => request(this.axios, this.basePath));
5956
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
+ }
5957
6017
  /**
5958
6018
  *
5959
6019
  * @summary Unifiedwebhook
@@ -5995,6 +6055,32 @@ var UserDevicesApiAxiosParamCreator = function(configuration) {
5995
6055
  url: toPathString(localVarUrlObj),
5996
6056
  options: localVarRequestOptions
5997
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
+ };
5998
6084
  }
5999
6085
  };
6000
6086
  };
@@ -6013,6 +6099,19 @@ var UserDevicesApiFp = function(configuration) {
6013
6099
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6014
6100
  const localVarOperationServerBasePath = operationServerMap["UserDevicesApi.userDevicesCreate"]?.[localVarOperationServerIndex]?.url;
6015
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);
6016
6115
  }
6017
6116
  };
6018
6117
  };
@@ -6028,6 +6127,16 @@ var UserDevicesApiFactory = function(configuration, basePath, axios) {
6028
6127
  */
6029
6128
  userDevicesCreate(aPIUserDeviceCreate, options) {
6030
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));
6031
6140
  }
6032
6141
  };
6033
6142
  };
@@ -6043,6 +6152,17 @@ var UserDevicesApi = class extends BaseAPI {
6043
6152
  userDevicesCreate(aPIUserDeviceCreate, options) {
6044
6153
  return UserDevicesApiFp(this.configuration).userDevicesCreate(aPIUserDeviceCreate, options).then((request) => request(this.axios, this.basePath));
6045
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
+ }
6046
6166
  };
6047
6167
 
6048
6168
  // src/configuration.ts