@closerplatform/spinner-openapi 0.12.575 → 0.12.577

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/api.d.ts CHANGED
@@ -8821,7 +8821,7 @@ export declare const FilesApiFetchParamCreator: (configuration?: Configuration)
8821
8821
  * @param {*} [options] Override http request option.
8822
8822
  * @throws {RequiredError}
8823
8823
  */
8824
- getFileHandleForUpload(roomId: string, options?: any): FetchArgs;
8824
+ getFileHandleForAttachmentUpload(roomId: string, options?: any): FetchArgs;
8825
8825
  /**
8826
8826
  *
8827
8827
  * @summary Get temporary token for file.
@@ -8843,7 +8843,7 @@ export declare const FilesApiFp: (configuration?: Configuration) => {
8843
8843
  * @param {*} [options] Override http request option.
8844
8844
  * @throws {RequiredError}
8845
8845
  */
8846
- getFileHandleForUpload(roomId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<FileHandle>;
8846
+ getFileHandleForAttachmentUpload(roomId: string, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<FileHandle>;
8847
8847
  /**
8848
8848
  *
8849
8849
  * @summary Get temporary token for file.
@@ -8865,7 +8865,7 @@ export declare const FilesApiFactory: (configuration?: Configuration, fetch?: Fe
8865
8865
  * @param {*} [options] Override http request option.
8866
8866
  * @throws {RequiredError}
8867
8867
  */
8868
- getFileHandleForUpload(roomId: string, options?: any): Promise<FileHandle>;
8868
+ getFileHandleForAttachmentUpload(roomId: string, options?: any): Promise<FileHandle>;
8869
8869
  /**
8870
8870
  *
8871
8871
  * @summary Get temporary token for file.
@@ -8890,7 +8890,7 @@ export declare class FilesApi extends BaseAPI {
8890
8890
  * @throws {RequiredError}
8891
8891
  * @memberof FilesApi
8892
8892
  */
8893
- getFileHandleForUpload(roomId: string, options?: any): Promise<FileHandle>;
8893
+ getFileHandleForAttachmentUpload(roomId: string, options?: any): Promise<FileHandle>;
8894
8894
  /**
8895
8895
  *
8896
8896
  * @summary Get temporary token for file.
package/dist/api.js CHANGED
@@ -4129,10 +4129,10 @@ const FilesApiFetchParamCreator = function (configuration) {
4129
4129
  * @param {*} [options] Override http request option.
4130
4130
  * @throws {RequiredError}
4131
4131
  */
4132
- getFileHandleForUpload(roomId, options = {}) {
4132
+ getFileHandleForAttachmentUpload(roomId, options = {}) {
4133
4133
  // verify required parameter 'roomId' is not null or undefined
4134
4134
  if (roomId === null || roomId === undefined) {
4135
- throw new RequiredError('roomId', 'Required parameter roomId was null or undefined when calling getFileHandleForUpload.');
4135
+ throw new RequiredError('roomId', 'Required parameter roomId was null or undefined when calling getFileHandleForAttachmentUpload.');
4136
4136
  }
4137
4137
  const localVarPath = `/files/handle/{roomId}`
4138
4138
  .replace(`{${"roomId"}}`, encodeURIComponent(String(roomId)));
@@ -4220,8 +4220,8 @@ const FilesApiFp = function (configuration) {
4220
4220
  * @param {*} [options] Override http request option.
4221
4221
  * @throws {RequiredError}
4222
4222
  */
4223
- getFileHandleForUpload(roomId, options) {
4224
- const localVarFetchArgs = (0, exports.FilesApiFetchParamCreator)(configuration).getFileHandleForUpload(roomId, options);
4223
+ getFileHandleForAttachmentUpload(roomId, options) {
4224
+ const localVarFetchArgs = (0, exports.FilesApiFetchParamCreator)(configuration).getFileHandleForAttachmentUpload(roomId, options);
4225
4225
  return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
4226
4226
  return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
4227
4227
  if (response.status >= 200 && response.status < 300) {
@@ -4269,8 +4269,8 @@ const FilesApiFactory = function (configuration, fetch, basePath) {
4269
4269
  * @param {*} [options] Override http request option.
4270
4270
  * @throws {RequiredError}
4271
4271
  */
4272
- getFileHandleForUpload(roomId, options) {
4273
- return (0, exports.FilesApiFp)(configuration).getFileHandleForUpload(roomId, options)(fetch, basePath);
4272
+ getFileHandleForAttachmentUpload(roomId, options) {
4273
+ return (0, exports.FilesApiFp)(configuration).getFileHandleForAttachmentUpload(roomId, options)(fetch, basePath);
4274
4274
  },
4275
4275
  /**
4276
4276
  *
@@ -4300,8 +4300,8 @@ class FilesApi extends BaseAPI {
4300
4300
  * @throws {RequiredError}
4301
4301
  * @memberof FilesApi
4302
4302
  */
4303
- getFileHandleForUpload(roomId, options) {
4304
- return (0, exports.FilesApiFp)(this.configuration).getFileHandleForUpload(roomId, options)(this.fetch, this.basePath);
4303
+ getFileHandleForAttachmentUpload(roomId, options) {
4304
+ return (0, exports.FilesApiFp)(this.configuration).getFileHandleForAttachmentUpload(roomId, options)(this.fetch, this.basePath);
4305
4305
  }
4306
4306
  /**
4307
4307
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@closerplatform/spinner-openapi",
3
- "version": "0.12.575",
3
+ "version": "0.12.577",
4
4
  "description": "swagger client for @closerplatform/spinner-openapi",
5
5
  "author": "Swagger Codegen Contributors",
6
6
  "keywords": [