@xfloor/floor-memory-sdk-ts 1.0.14 → 1.0.16
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 +2 -2
- package/dist/apis/EventApi.d.ts +1 -1
- package/dist/apis/EventApi.js +5 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @xfloor/floor-memory-sdk-ts@1.0.
|
|
1
|
+
# @xfloor/floor-memory-sdk-ts@1.0.16
|
|
2
2
|
A TypeScript SDK client for the appfloor.in API.
|
|
3
3
|
|
|
4
4
|
### Usage
|
|
@@ -244,7 +244,7 @@ and is automatically generated by the
|
|
|
244
244
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
245
245
|
|
|
246
246
|
- API version: `1.0.0`
|
|
247
|
-
- Package version: `1.0.
|
|
247
|
+
- Package version: `1.0.16`
|
|
248
248
|
- Generator version: `7.18.0`
|
|
249
249
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
250
250
|
|
package/dist/apis/EventApi.d.ts
CHANGED
package/dist/apis/EventApi.js
CHANGED
|
@@ -113,6 +113,8 @@ var EventApi = /** @class */ (function (_super) {
|
|
|
113
113
|
];
|
|
114
114
|
canConsumeForm = runtime.canConsumeForm(consumes);
|
|
115
115
|
useForm = false;
|
|
116
|
+
// use FormData to transmit files using content-type "multipart/form-data"
|
|
117
|
+
useForm = canConsumeForm;
|
|
116
118
|
if (useForm) {
|
|
117
119
|
formParams = new FormData();
|
|
118
120
|
}
|
|
@@ -120,7 +122,9 @@ var EventApi = /** @class */ (function (_super) {
|
|
|
120
122
|
formParams = new URLSearchParams();
|
|
121
123
|
}
|
|
122
124
|
if (requestParameters['files'] != null) {
|
|
123
|
-
|
|
125
|
+
requestParameters['files'].forEach(function (element) {
|
|
126
|
+
formParams.append('files', element);
|
|
127
|
+
});
|
|
124
128
|
}
|
|
125
129
|
if (requestParameters['inputInfo'] != null) {
|
|
126
130
|
formParams.append('input_info', requestParameters['inputInfo']);
|