@xfloor/floor-memory-sdk-ts 1.0.6 → 1.0.7

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @xfloor/floor-memory-sdk-ts@1.0.6
1
+ # @xfloor/floor-memory-sdk-ts@1.0.7
2
2
 
3
3
  A TypeScript SDK client for the appfloor.in API.
4
4
 
@@ -246,7 +246,7 @@ and is automatically generated by the
246
246
  [OpenAPI Generator](https://openapi-generator.tech) project:
247
247
 
248
248
  - API version: `1.0.0`
249
- - Package version: `1.0.6`
249
+ - Package version: `1.0.7`
250
250
  - Generator version: `7.18.0`
251
251
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
252
252
 
@@ -15,6 +15,7 @@ import * as runtime from '../runtime';
15
15
  import type { EventResponse } from '../models/index';
16
16
  export interface EventRequest {
17
17
  inputInfo: string;
18
+ appId: string;
18
19
  files?: Blob;
19
20
  }
20
21
  /**
@@ -90,6 +90,9 @@ var EventApi = /** @class */ (function (_super) {
90
90
  if (requestParameters['inputInfo'] == null) {
91
91
  throw new runtime.RequiredError('inputInfo', 'Required parameter "inputInfo" was null or undefined when calling event().');
92
92
  }
93
+ if (requestParameters['appId'] == null) {
94
+ throw new runtime.RequiredError('appId', 'Required parameter "appId" was null or undefined when calling event().');
95
+ }
93
96
  queryParameters = {};
94
97
  headerParameters = {};
95
98
  if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
@@ -121,6 +124,9 @@ var EventApi = /** @class */ (function (_super) {
121
124
  if (requestParameters['inputInfo'] != null) {
122
125
  formParams.append('input_info', requestParameters['inputInfo']);
123
126
  }
127
+ if (requestParameters['appId'] != null) {
128
+ formParams.append('app_id', requestParameters['appId']);
129
+ }
124
130
  urlPath = "/api/memory/events";
125
131
  return [4 /*yield*/, this.request({
126
132
  path: urlPath,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xfloor/floor-memory-sdk-ts",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "TypeScript SDK for xFloor Memory APIs (Memory + Registration).",
5
5
  "author": "xFloor",
6
6
  "repository": {