Skip to content

Commit f413303

Browse files
author
Fast Reports
committed
sync 2024-02-07
1 parent ae20a9f commit f413303

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+1202
-1308
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Add this dependency to your project's POM:
3434
<dependency>
3535
<groupId>cloud.fastreport.sdk</groupId>
3636
<artifactId>fastreport-cloud-sdk</artifactId>
37-
<version>2024.1.13</version>
37+
<version>2024.1.15</version>
3838
<scope>compile</scope>
3939
</dependency>
4040
```
@@ -44,7 +44,7 @@ Add this dependency to your project's POM:
4444
Add this dependency to your project's build file:
4545

4646
```groovy
47-
compile "cloud.fastreport.sdk:fastreport-cloud-sdk:2024.1.13"
47+
compile "cloud.fastreport.sdk:fastreport-cloud-sdk:2024.1.15"
4848
```
4949

5050
### Others
@@ -57,7 +57,7 @@ mvn clean package
5757

5858
Then manually install the following JARs:
5959

60-
- `target/fastreport-cloud-sdk-2024.1.13.jar`
60+
- `target/fastreport-cloud-sdk-2024.1.15.jar`
6161
- `target/lib/*.jar`
6262

6363
## Getting Started

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024.1.13
1+
2024.1.15

api/openapi.yaml

+9-14
Original file line numberDiff line numberDiff line change
@@ -7232,7 +7232,7 @@ paths:
72327232
style: form
72337233
Icon:
72347234
style: form
7235-
Content:
7235+
FileContent:
72367236
style: form
72377237
schema:
72387238
$ref: '#/components/schemas/Reports_UploadFileV2_request'
@@ -11722,7 +11722,7 @@ paths:
1172211722
content:
1172311723
multipart/form-data:
1172411724
encoding:
11725-
Content:
11725+
FileContent:
1172611726
style: form
1172711727
schema:
1172811728
$ref: '#/components/schemas/Templates_UpdateContentV2_request'
@@ -11904,7 +11904,7 @@ paths:
1190411904
style: form
1190511905
Icon:
1190611906
style: form
11907-
Content:
11907+
FileContent:
1190811908
style: form
1190911909
schema:
1191011910
$ref: '#/components/schemas/Templates_UploadFileV2_request'
@@ -14682,7 +14682,6 @@ components:
1468214682
properties:
1468314683
dataSourceId:
1468414684
nullable: true
14685-
readOnly: true
1468614685
type: string
1468714686
type: object
1468814687
FileAdministrate:
@@ -17137,12 +17136,10 @@ components:
1713717136
recurrentRunTime:
1713817137
format: date-time
1713917138
nullable: true
17140-
readOnly: true
1714117139
type: string
1714217140
recurrentWasRunTime:
1714317141
format: date-time
1714417142
nullable: true
17145-
readOnly: true
1714617143
type: string
1714717144
subscriptionId:
1714817145
nullable: true
@@ -17437,7 +17434,6 @@ components:
1743717434
properties:
1743817435
reportId:
1743917436
nullable: true
17440-
readOnly: true
1744117437
type: string
1744217438
type: object
1744317439
ThumbnailTemplateTaskVM:
@@ -17447,7 +17443,6 @@ components:
1744717443
properties:
1744817444
templateId:
1744917445
nullable: true
17450-
readOnly: true
1745117446
type: string
1745217447
type: object
1745317448
TimePeriodType:
@@ -18145,19 +18140,19 @@ components:
1814518140
format: binary
1814618141
nullable: true
1814718142
type: string
18148-
Content:
18143+
FileContent:
1814918144
format: binary
1815018145
type: string
1815118146
required:
18152-
- Content
18147+
- FileContent
1815318148
type: object
1815418149
Templates_UpdateContentV2_request:
1815518150
properties:
18156-
Content:
18151+
FileContent:
1815718152
format: binary
1815818153
type: string
1815918154
required:
18160-
- Content
18155+
- FileContent
1816118156
type: object
1816218157
Templates_UploadFileV2_request:
1816318158
properties:
@@ -18173,11 +18168,11 @@ components:
1817318168
format: binary
1817418169
nullable: true
1817518170
type: string
18176-
Content:
18171+
FileContent:
1817718172
format: binary
1817818173
type: string
1817918174
required:
18180-
- Content
18175+
- FileContent
1818118176
type: object
1818218177
securitySchemes:
1818318178
JWT:

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'idea'
22
apply plugin: 'eclipse'
33

44
group = 'cloud.fastreport.sdk'
5-
version = '2024.1.13'
5+
version = '2024.1.15'
66

77
buildscript {
88
repositories {

build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "cloud.fastreport.sdk",
44
name := "fastreport-cloud-sdk",
5-
version := "2024.1.13",
5+
version := "2024.1.15",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/FetchTaskVM.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
| Name | Type | Description | Notes |
99
|------------ | ------------- | ------------- | -------------|
10-
|**dataSourceId** | **String** | | [optional] [readonly] |
10+
|**dataSourceId** | **String** | | [optional] |
1111

1212

1313

docs/ReportsApi.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -3817,7 +3817,7 @@ public class Example {
38173817

38183818
## reportsUploadFileV2
38193819

3820-
> ReportVM reportsUploadFileV2(id, content, templateId, tags, icon)
3820+
> ReportVM reportsUploadFileV2(id, fileContent, templateId, tags, icon)
38213821
38223822
Alternative api for upload a file to the specified folder!
38233823

@@ -3850,12 +3850,12 @@ public class Example {
38503850

38513851
ReportsApi apiInstance = new ReportsApi(defaultClient);
38523852
String id = "id_example"; // String | Identifier of folder
3853-
File content = new File("/path/to/file"); // File |
3853+
File fileContent = new File("/path/to/file"); // File |
38543854
String templateId = "templateId_example"; // String |
38553855
List<String> tags = Arrays.asList(); // List<String> |
38563856
File icon = new File("/path/to/file"); // File |
38573857
try {
3858-
ReportVM result = apiInstance.reportsUploadFileV2(id, content, templateId, tags, icon);
3858+
ReportVM result = apiInstance.reportsUploadFileV2(id, fileContent, templateId, tags, icon);
38593859
System.out.println(result);
38603860
} catch (ApiException e) {
38613861
System.err.println("Exception when calling ReportsApi#reportsUploadFileV2");
@@ -3874,7 +3874,7 @@ public class Example {
38743874
| Name | Type | Description | Notes |
38753875
|------------- | ------------- | ------------- | -------------|
38763876
| **id** | **String**| Identifier of folder | |
3877-
| **content** | **File**| | |
3877+
| **fileContent** | **File**| | |
38783878
| **templateId** | **String**| | [optional] |
38793879
| **tags** | [**List&lt;String&gt;**](String.md)| | [optional] |
38803880
| **icon** | **File**| | [optional] |

docs/TaskBaseVM.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
|**delayedWasRunTime** | **OffsetDateTime** | | [optional] |
1313
|**id** | **String** | | [optional] |
1414
|**name** | **String** | | [optional] |
15-
|**recurrentRunTime** | **OffsetDateTime** | | [optional] [readonly] |
16-
|**recurrentWasRunTime** | **OffsetDateTime** | | [optional] [readonly] |
15+
|**recurrentRunTime** | **OffsetDateTime** | | [optional] |
16+
|**recurrentWasRunTime** | **OffsetDateTime** | | [optional] |
1717
|**subscriptionId** | **String** | | [optional] |
1818
|**$t** | **String** | | |
1919

docs/TemplatesApi.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -3737,7 +3737,7 @@ null (empty response body)
37373737

37383738
## templatesUpdateContentV2
37393739

3740-
> templatesUpdateContentV2(id, content)
3740+
> templatesUpdateContentV2(id, fileContent)
37413741
37423742
Updates contnet of the template.
37433743

@@ -3768,9 +3768,9 @@ public class Example {
37683768

37693769
TemplatesApi apiInstance = new TemplatesApi(defaultClient);
37703770
String id = "id_example"; // String | template id
3771-
File content = new File("/path/to/file"); // File |
3771+
File fileContent = new File("/path/to/file"); // File |
37723772
try {
3773-
apiInstance.templatesUpdateContentV2(id, content);
3773+
apiInstance.templatesUpdateContentV2(id, fileContent);
37743774
} catch (ApiException e) {
37753775
System.err.println("Exception when calling TemplatesApi#templatesUpdateContentV2");
37763776
System.err.println("Status code: " + e.getCode());
@@ -3788,7 +3788,7 @@ public class Example {
37883788
| Name | Type | Description | Notes |
37893789
|------------- | ------------- | ------------- | -------------|
37903790
| **id** | **String**| template id | |
3791-
| **content** | **File**| | |
3791+
| **fileContent** | **File**| | |
37923792

37933793
### Return type
37943794

@@ -4144,7 +4144,7 @@ public class Example {
41444144

41454145
## templatesUploadFileV2
41464146

4147-
> TemplateVM templatesUploadFileV2(id, content, tags, icon)
4147+
> TemplateVM templatesUploadFileV2(id, fileContent, tags, icon)
41484148
41494149
Alternative api for upload a file to the specified folder!
41504150

@@ -4177,11 +4177,11 @@ public class Example {
41774177

41784178
TemplatesApi apiInstance = new TemplatesApi(defaultClient);
41794179
String id = "id_example"; // String | Identifier of folder
4180-
File content = new File("/path/to/file"); // File |
4180+
File fileContent = new File("/path/to/file"); // File |
41814181
List<String> tags = Arrays.asList(); // List<String> |
41824182
File icon = new File("/path/to/file"); // File |
41834183
try {
4184-
TemplateVM result = apiInstance.templatesUploadFileV2(id, content, tags, icon);
4184+
TemplateVM result = apiInstance.templatesUploadFileV2(id, fileContent, tags, icon);
41854185
System.out.println(result);
41864186
} catch (ApiException e) {
41874187
System.err.println("Exception when calling TemplatesApi#templatesUploadFileV2");
@@ -4200,7 +4200,7 @@ public class Example {
42004200
| Name | Type | Description | Notes |
42014201
|------------- | ------------- | ------------- | -------------|
42024202
| **id** | **String**| Identifier of folder | |
4203-
| **content** | **File**| | |
4203+
| **fileContent** | **File**| | |
42044204
| **tags** | [**List&lt;String&gt;**](String.md)| | [optional] |
42054205
| **icon** | **File**| | [optional] |
42064206

docs/ThumbnailReportTaskVM.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
| Name | Type | Description | Notes |
99
|------------ | ------------- | ------------- | -------------|
10-
|**reportId** | **String** | | [optional] [readonly] |
10+
|**reportId** | **String** | | [optional] |
1111

1212

1313

docs/ThumbnailTemplateTaskVM.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
| Name | Type | Description | Notes |
99
|------------ | ------------- | ------------- | -------------|
10-
|**templateId** | **String** | | [optional] [readonly] |
10+
|**templateId** | **String** | | [optional] |
1111

1212

1313

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>fastreport-cloud-sdk</artifactId>
66
<packaging>jar</packaging>
77
<name>fastreport-cloud-sdk</name>
8-
<version>2024.1.13</version>
8+
<version>2024.1.15</version>
99
<url>https://github.com/FastReports/FastReport-Cloud-Java</url>
1010
<description>FastReport Cloud SDK</description>
1111
<scm>

src/main/java/cloud/fastreport/client/ApiKeysApi.java

+16-16
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ public HttpResponse apiKeysCreateApiKeyForHttpResponse(CreateApiKeyVM createApiK
8686
String localVarUrl = uriBuilder.build().toString();
8787
GenericUrl genericUrl = new GenericUrl(localVarUrl);
8888

89-
HttpContent aContent = apiClient.new JacksonJsonHttpContent(createApiKeyVM);
90-
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, aContent).execute();
89+
HttpContent content = apiClient.new JacksonJsonHttpContent(createApiKeyVM);
90+
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute();
9191
}
9292

9393
public HttpResponse apiKeysCreateApiKeyForHttpResponse(java.io.InputStream createApiKeyVM, String mediaType) throws IOException {
@@ -100,10 +100,10 @@ public HttpResponse apiKeysCreateApiKeyForHttpResponse(java.io.InputStream creat
100100
String localVarUrl = uriBuilder.build().toString();
101101
GenericUrl genericUrl = new GenericUrl(localVarUrl);
102102

103-
HttpContent aContent = createApiKeyVM == null ?
103+
HttpContent content = createApiKeyVM == null ?
104104
apiClient.new JacksonJsonHttpContent(null) :
105105
new InputStreamContent(mediaType == null ? Json.MEDIA_TYPE : mediaType, createApiKeyVM);
106-
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, aContent).execute();
106+
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute();
107107
}
108108

109109
public HttpResponse apiKeysCreateApiKeyForHttpResponse(CreateApiKeyVM createApiKeyVM, Map<String, Object> params) throws IOException {
@@ -134,8 +134,8 @@ public HttpResponse apiKeysCreateApiKeyForHttpResponse(CreateApiKeyVM createApiK
134134
String localVarUrl = uriBuilder.build().toString();
135135
GenericUrl genericUrl = new GenericUrl(localVarUrl);
136136

137-
HttpContent aContent = apiClient.new JacksonJsonHttpContent(createApiKeyVM);
138-
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, aContent).execute();
137+
HttpContent content = apiClient.new JacksonJsonHttpContent(createApiKeyVM);
138+
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.POST, genericUrl, content).execute();
139139
}
140140

141141

@@ -178,8 +178,8 @@ public HttpResponse apiKeysDeleteApiKeyForHttpResponse(DeleteApiKeyVM deleteApiK
178178
String localVarUrl = uriBuilder.build().toString();
179179
GenericUrl genericUrl = new GenericUrl(localVarUrl);
180180

181-
HttpContent aContent = null;
182-
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.DELETE, genericUrl, aContent).execute();
181+
HttpContent content = null;
182+
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.DELETE, genericUrl, content).execute();
183183
}
184184

185185
public HttpResponse apiKeysDeleteApiKeyForHttpResponse(java.io.InputStream deleteApiKeyVM, String mediaType) throws IOException {
@@ -192,10 +192,10 @@ public HttpResponse apiKeysDeleteApiKeyForHttpResponse(java.io.InputStream delet
192192
String localVarUrl = uriBuilder.build().toString();
193193
GenericUrl genericUrl = new GenericUrl(localVarUrl);
194194

195-
HttpContent aContent = deleteApiKeyVM == null ?
195+
HttpContent content = deleteApiKeyVM == null ?
196196
apiClient.new JacksonJsonHttpContent(null) :
197197
new InputStreamContent(mediaType == null ? Json.MEDIA_TYPE : mediaType, deleteApiKeyVM);
198-
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.DELETE, genericUrl, aContent).execute();
198+
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.DELETE, genericUrl, content).execute();
199199
}
200200

201201
public HttpResponse apiKeysDeleteApiKeyForHttpResponse(DeleteApiKeyVM deleteApiKeyVM, Map<String, Object> params) throws IOException {
@@ -226,8 +226,8 @@ public HttpResponse apiKeysDeleteApiKeyForHttpResponse(DeleteApiKeyVM deleteApiK
226226
String localVarUrl = uriBuilder.build().toString();
227227
GenericUrl genericUrl = new GenericUrl(localVarUrl);
228228

229-
HttpContent aContent = null;
230-
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.DELETE, genericUrl, aContent).execute();
229+
HttpContent content = null;
230+
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.DELETE, genericUrl, content).execute();
231231
}
232232

233233

@@ -269,8 +269,8 @@ public HttpResponse apiKeysGetApiKeysForHttpResponse() throws IOException {
269269
String localVarUrl = uriBuilder.build().toString();
270270
GenericUrl genericUrl = new GenericUrl(localVarUrl);
271271

272-
HttpContent aContent = null;
273-
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.GET, genericUrl, aContent).execute();
272+
HttpContent content = null;
273+
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.GET, genericUrl, content).execute();
274274
}
275275

276276
public HttpResponse apiKeysGetApiKeysForHttpResponse(Map<String, Object> params) throws IOException {
@@ -298,8 +298,8 @@ public HttpResponse apiKeysGetApiKeysForHttpResponse(Map<String, Object> params)
298298
String localVarUrl = uriBuilder.build().toString();
299299
GenericUrl genericUrl = new GenericUrl(localVarUrl);
300300

301-
HttpContent aContent = null;
302-
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.GET, genericUrl, aContent).execute();
301+
HttpContent content = null;
302+
return apiClient.getHttpRequestFactory().buildRequest(HttpMethods.GET, genericUrl, content).execute();
303303
}
304304

305305

0 commit comments

Comments
 (0)