Skip to content

Commit 2a92527

Browse files
committed
build(codegen): updating SDK
1 parent 2d66879 commit 2a92527

25 files changed

+129
-168
lines changed

changes.md

+3-43
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,9 @@
11
**Api changes**
22

33
<details>
4-
<summary>Added Type(s)</summary>
4+
<summary>Changed Property(s)</summary>
55

6-
- added type `ApprovalRuleSetCustomFieldAction`
7-
- added type `ApprovalRuleSetCustomTypeAction`
8-
</details>
9-
10-
11-
<details>
12-
<summary>Added Property(s)</summary>
13-
14-
- added property `custom` to type `ApprovalRule`
15-
- added property `source` to type `EventBridgeDestination`
16-
</details>
17-
18-
19-
<details>
20-
<summary>Added Enum(s)</summary>
21-
22-
- added enum `approval-rule` to type `CustomFieldReferenceValue`
23-
- added enum `approval-rule` to type `ResourceTypeId`
24-
</details>
25-
26-
27-
<details>
28-
<summary>Added Method(s)</summary>
29-
30-
- added method `apiRoot.withProjectKey().productTailoring().head()`
31-
</details>
32-
33-
**Import changes**
34-
35-
<details>
36-
<summary>Added Type(s)</summary>
37-
38-
- added type `InvalidFieldsUpdateError`
39-
- added type `NewMasterVariantAdditionNotAllowedError`
40-
</details>
41-
42-
**History changes**
43-
44-
<details>
45-
<summary>Required Property(s)</summary>
46-
47-
- changed property `id` of type `ModifiedBy` to be optional
6+
- :warning: changed property `line` of type `GraphQLErrorLocation` from type `integer` to `number`
7+
- :warning: changed property `column` of type `GraphQLErrorLocation` from type `integer` to `number`
488
</details>
499

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyGraphqlPost.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import org.apache.commons.lang3.builder.HashCodeBuilder;
1717

1818
/**
19-
* <p>Execute a GraphQL query</p>
19+
* <p>Execute a GraphQL request.</p>
2020
*
2121
* <hr>
2222
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyGraphqlPostString.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import org.apache.commons.lang3.builder.HashCodeBuilder;
1818

1919
/**
20-
* <p>Execute a GraphQL query</p>
20+
* <p>Execute a GraphQL request.</p>
2121
*
2222
* <hr>
2323
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLErrorObject.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
public interface GraphQLErrorObject {
111111

112112
/**
113-
* <p>Error identifier.</p>
113+
* <p>One of the error codes that is listed on the Errors page.</p>
114114
* @return code
115115
*/
116116
@NotNull

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLErrorObjectImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public GraphQLErrorObjectImpl() {
4343
}
4444

4545
/**
46-
* <p>Error identifier.</p>
46+
* <p>One of the error codes that is listed on the Errors page.</p>
4747
*/
4848

4949
public String getCode() {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInsufficientScopeErrorImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public GraphQLInsufficientScopeErrorImpl() {
4343
}
4444

4545
/**
46-
* <p>Error identifier.</p>
46+
* <p>One of the error codes that is listed on the Errors page.</p>
4747
*/
4848

4949
public String getCode() {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidSubjectErrorImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public GraphQLInvalidSubjectErrorImpl() {
4343
}
4444

4545
/**
46-
* <p>Error identifier.</p>
46+
* <p>One of the error codes that is listed on the Errors page.</p>
4747
*/
4848

4949
public String getCode() {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLInvalidTokenErrorImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public GraphQLInvalidTokenErrorImpl() {
4343
}
4444

4545
/**
46-
* <p>Error identifier.</p>
46+
* <p>One of the error codes that is listed on the Errors page.</p>
4747
*/
4848

4949
public String getCode() {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/graph_ql/GraphQLError.java

+11-11
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import jakarta.validation.constraints.NotNull;
1919

2020
/**
21-
* GraphQLError
21+
* <p>Contains an error message, the location of the code that caused the error, and other information to help you correct the error.</p>
2222
*
2323
* <hr>
2424
* Example to create an instance using the builder pattern
@@ -37,15 +37,15 @@
3737
public interface GraphQLError {
3838

3939
/**
40-
*
40+
* <p>Detailed description of the error explaining the root cause of the problem and suggesting how to correct the error.</p>
4141
* @return message
4242
*/
4343
@NotNull
4444
@JsonProperty("message")
4545
public String getMessage();
4646

4747
/**
48-
*
48+
* <p>Location within your query where the error occurred.</p>
4949
* @return locations
5050
*/
5151
@NotNull
@@ -54,15 +54,15 @@ public interface GraphQLError {
5454
public List<GraphQLErrorLocation> getLocations();
5555

5656
/**
57-
*
57+
* <p>Query fields listed in order from the root of the query response up to the field in which the error occurred. <code>path</code> is displayed in the response only if an error is associated with a particular field in the query result.</p>
5858
* @return path
5959
*/
6060

6161
@JsonProperty("path")
6262
public List<Object> getPath();
6363

6464
/**
65-
* <p>Represents a single error.</p>
65+
* <p>Dictionary with additional information where applicable.</p>
6666
* @return extensions
6767
*/
6868
@NotNull
@@ -71,44 +71,44 @@ public interface GraphQLError {
7171
public GraphQLErrorObject getExtensions();
7272

7373
/**
74-
* set message
74+
* <p>Detailed description of the error explaining the root cause of the problem and suggesting how to correct the error.</p>
7575
* @param message value to be set
7676
*/
7777

7878
public void setMessage(final String message);
7979

8080
/**
81-
* set locations
81+
* <p>Location within your query where the error occurred.</p>
8282
* @param locations values to be set
8383
*/
8484

8585
@JsonIgnore
8686
public void setLocations(final GraphQLErrorLocation... locations);
8787

8888
/**
89-
* set locations
89+
* <p>Location within your query where the error occurred.</p>
9090
* @param locations values to be set
9191
*/
9292

9393
public void setLocations(final List<GraphQLErrorLocation> locations);
9494

9595
/**
96-
* set path
96+
* <p>Query fields listed in order from the root of the query response up to the field in which the error occurred. <code>path</code> is displayed in the response only if an error is associated with a particular field in the query result.</p>
9797
* @param path values to be set
9898
*/
9999

100100
@JsonIgnore
101101
public void setPath(final Object... path);
102102

103103
/**
104-
* set path
104+
* <p>Query fields listed in order from the root of the query response up to the field in which the error occurred. <code>path</code> is displayed in the response only if an error is associated with a particular field in the query result.</p>
105105
* @param path values to be set
106106
*/
107107

108108
public void setPath(final List<Object> path);
109109

110110
/**
111-
* <p>Represents a single error.</p>
111+
* <p>Dictionary with additional information where applicable.</p>
112112
* @param extensions value to be set
113113
*/
114114

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/graph_ql/GraphQLErrorBuilder.java

+17-17
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class GraphQLErrorBuilder implements Builder<GraphQLError> {
3636
private com.commercetools.api.models.error.GraphQLErrorObject extensions;
3737

3838
/**
39-
* set the value to the message
39+
* <p>Detailed description of the error explaining the root cause of the problem and suggesting how to correct the error.</p>
4040
* @param message value to be set
4141
* @return Builder
4242
*/
@@ -47,7 +47,7 @@ public GraphQLErrorBuilder message(final String message) {
4747
}
4848

4949
/**
50-
* set values to the locations
50+
* <p>Location within your query where the error occurred.</p>
5151
* @param locations value to be set
5252
* @return Builder
5353
*/
@@ -59,7 +59,7 @@ public GraphQLErrorBuilder locations(
5959
}
6060

6161
/**
62-
* set value to the locations
62+
* <p>Location within your query where the error occurred.</p>
6363
* @param locations value to be set
6464
* @return Builder
6565
*/
@@ -71,7 +71,7 @@ public GraphQLErrorBuilder locations(
7171
}
7272

7373
/**
74-
* add values to the locations
74+
* <p>Location within your query where the error occurred.</p>
7575
* @param locations value to be set
7676
* @return Builder
7777
*/
@@ -86,7 +86,7 @@ public GraphQLErrorBuilder plusLocations(
8686
}
8787

8888
/**
89-
* add the value to the locations using the builder function
89+
* <p>Location within your query where the error occurred.</p>
9090
* @param builder function to build the locations value
9191
* @return Builder
9292
*/
@@ -102,7 +102,7 @@ public GraphQLErrorBuilder plusLocations(
102102
}
103103

104104
/**
105-
* set the value to the locations using the builder function
105+
* <p>Location within your query where the error occurred.</p>
106106
* @param builder function to build the locations value
107107
* @return Builder
108108
*/
@@ -116,7 +116,7 @@ public GraphQLErrorBuilder withLocations(
116116
}
117117

118118
/**
119-
* add the value to the locations using the builder function
119+
* <p>Location within your query where the error occurred.</p>
120120
* @param builder function to build the locations value
121121
* @return Builder
122122
*/
@@ -127,7 +127,7 @@ public GraphQLErrorBuilder addLocations(
127127
}
128128

129129
/**
130-
* set the value to the locations using the builder function
130+
* <p>Location within your query where the error occurred.</p>
131131
* @param builder function to build the locations value
132132
* @return Builder
133133
*/
@@ -138,7 +138,7 @@ public GraphQLErrorBuilder setLocations(
138138
}
139139

140140
/**
141-
* set values to the path
141+
* <p>Query fields listed in order from the root of the query response up to the field in which the error occurred. <code>path</code> is displayed in the response only if an error is associated with a particular field in the query result.</p>
142142
* @param path value to be set
143143
* @return Builder
144144
*/
@@ -149,7 +149,7 @@ public GraphQLErrorBuilder path(@Nullable final java.lang.Object... path) {
149149
}
150150

151151
/**
152-
* set value to the path
152+
* <p>Query fields listed in order from the root of the query response up to the field in which the error occurred. <code>path</code> is displayed in the response only if an error is associated with a particular field in the query result.</p>
153153
* @param path value to be set
154154
* @return Builder
155155
*/
@@ -160,7 +160,7 @@ public GraphQLErrorBuilder path(@Nullable final java.util.List<java.lang.Object>
160160
}
161161

162162
/**
163-
* add values to the path
163+
* <p>Query fields listed in order from the root of the query response up to the field in which the error occurred. <code>path</code> is displayed in the response only if an error is associated with a particular field in the query result.</p>
164164
* @param path value to be set
165165
* @return Builder
166166
*/
@@ -174,7 +174,7 @@ public GraphQLErrorBuilder plusPath(@Nullable final java.lang.Object... path) {
174174
}
175175

176176
/**
177-
* <p>Represents a single error.</p>
177+
* <p>Dictionary with additional information where applicable.</p>
178178
* @param extensions value to be set
179179
* @return Builder
180180
*/
@@ -185,7 +185,7 @@ public GraphQLErrorBuilder extensions(final com.commercetools.api.models.error.G
185185
}
186186

187187
/**
188-
* <p>Represents a single error.</p>
188+
* <p>Dictionary with additional information where applicable.</p>
189189
* @param builder function to build the extensions value
190190
* @return Builder
191191
*/
@@ -197,7 +197,7 @@ public GraphQLErrorBuilder extensions(
197197
}
198198

199199
/**
200-
* value of message}
200+
* <p>Detailed description of the error explaining the root cause of the problem and suggesting how to correct the error.</p>
201201
* @return message
202202
*/
203203

@@ -206,7 +206,7 @@ public String getMessage() {
206206
}
207207

208208
/**
209-
* value of locations}
209+
* <p>Location within your query where the error occurred.</p>
210210
* @return locations
211211
*/
212212

@@ -215,7 +215,7 @@ public java.util.List<com.commercetools.api.models.graph_ql.GraphQLErrorLocation
215215
}
216216

217217
/**
218-
* value of path}
218+
* <p>Query fields listed in order from the root of the query response up to the field in which the error occurred. <code>path</code> is displayed in the response only if an error is associated with a particular field in the query result.</p>
219219
* @return path
220220
*/
221221

@@ -225,7 +225,7 @@ public java.util.List<java.lang.Object> getPath() {
225225
}
226226

227227
/**
228-
* <p>Represents a single error.</p>
228+
* <p>Dictionary with additional information where applicable.</p>
229229
* @return extensions
230230
*/
231231

0 commit comments

Comments
 (0)