Skip to content

Commit bd5a009

Browse files
committed
build(codegen): updating SDK
1 parent 990e92e commit bd5a009

File tree

54 files changed

+1874
-87
lines changed

Some content is hidden

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

54 files changed

+1874
-87
lines changed

changes.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
- added type `CustomerAddCustomerGroupAssignmentAction`
1414
- added type `CustomerRemoveCustomerGroupAssignmentAction`
1515
- added type `CustomerSetCustomerGroupAssignmentsAction`
16+
- added type `ExpiredCustomerEmailTokenError`
17+
- added type `ExpiredCustomerPasswordTokenError`
18+
- added type `GraphQLExpiredCustomerEmailTokenError`
19+
- added type `GraphQLExpiredCustomerPasswordTokenError`
1620
- added type `BaseEvent`
1721
- added type `CheckoutOrderCreationFailedEvent`
1822
- added type `CheckoutPaymentAuthorizationCancelledEvent`
@@ -129,7 +133,18 @@
129133
- added property `inheritedStores` to type `Division`
130134
- added property `discountTypeCombination` to type `Cart`
131135
- added property `customerGroupAssignments` to type `Customer`
136+
- added property `invalidateOlderTokens` to type `CustomerCreateEmailToken`
137+
- added property `invalidateOlderTokens` to type `CustomerCreatePasswordResetToken`
132138
- added property `customerGroupAssignments` to type `CustomerDraft`
139+
- added property `invalidateOlderTokens` to type `CustomerToken`
140+
- added property `value` to type `CustomerEmailTokenCreatedMessage`
141+
- added property `invalidateOlderTokens` to type `CustomerEmailTokenCreatedMessage`
142+
- added property `value` to type `CustomerPasswordTokenCreatedMessage`
143+
- added property `invalidateOlderTokens` to type `CustomerPasswordTokenCreatedMessage`
144+
- added property `value` to type `CustomerEmailTokenCreatedMessagePayload`
145+
- added property `invalidateOlderTokens` to type `CustomerEmailTokenCreatedMessagePayload`
146+
- added property `value` to type `CustomerPasswordTokenCreatedMessagePayload`
147+
- added property `invalidateOlderTokens` to type `CustomerPasswordTokenCreatedMessagePayload`
133148
- added property `discountTypeCombination` to type `StagedOrder`
134149
- added property `discountTypeCombination` to type `Order`
135150
- added property `priceCustomerGroupAssignments` to type `ProductSearchProjectionParams`

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyCustomersEmailConfirmTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,35 +148,35 @@ function (ApiRequestBuilder $builder): RequestInterface {
148148
},
149149
400
150150
],
151-
'ByProjectKeyCustomersEmailConfirmPost_401' => [
151+
'ByProjectKeyCustomersEmailConfirmPost_404' => [
152152
function (ApiRequestBuilder $builder): RequestInterface {
153153
return $builder
154154
->withProjectKey("projectKey")
155155
->customers()
156156
->emailConfirm()
157157
->post(null);
158158
},
159-
401
159+
404
160160
],
161-
'ByProjectKeyCustomersEmailConfirmPost_403' => [
161+
'ByProjectKeyCustomersEmailConfirmPost_401' => [
162162
function (ApiRequestBuilder $builder): RequestInterface {
163163
return $builder
164164
->withProjectKey("projectKey")
165165
->customers()
166166
->emailConfirm()
167167
->post(null);
168168
},
169-
403
169+
401
170170
],
171-
'ByProjectKeyCustomersEmailConfirmPost_404' => [
171+
'ByProjectKeyCustomersEmailConfirmPost_403' => [
172172
function (ApiRequestBuilder $builder): RequestInterface {
173173
return $builder
174174
->withProjectKey("projectKey")
175175
->customers()
176176
->emailConfirm()
177177
->post(null);
178178
},
179-
404
179+
403
180180
],
181181
'ByProjectKeyCustomersEmailConfirmPost_500' => [
182182
function (ApiRequestBuilder $builder): RequestInterface {

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyCustomersEmailTokenByEmailTokenTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,35 +160,35 @@ function (ApiRequestBuilder $builder): RequestInterface {
160160
},
161161
400
162162
],
163-
'ByProjectKeyCustomersEmailTokenByEmailTokenGet_401' => [
163+
'ByProjectKeyCustomersEmailTokenByEmailTokenGet_404' => [
164164
function (ApiRequestBuilder $builder): RequestInterface {
165165
return $builder
166166
->withProjectKey("projectKey")
167167
->customers()
168168
->withEmailToken("emailToken")
169169
->get();
170170
},
171-
401
171+
404
172172
],
173-
'ByProjectKeyCustomersEmailTokenByEmailTokenGet_403' => [
173+
'ByProjectKeyCustomersEmailTokenByEmailTokenGet_401' => [
174174
function (ApiRequestBuilder $builder): RequestInterface {
175175
return $builder
176176
->withProjectKey("projectKey")
177177
->customers()
178178
->withEmailToken("emailToken")
179179
->get();
180180
},
181-
403
181+
401
182182
],
183-
'ByProjectKeyCustomersEmailTokenByEmailTokenGet_404' => [
183+
'ByProjectKeyCustomersEmailTokenByEmailTokenGet_403' => [
184184
function (ApiRequestBuilder $builder): RequestInterface {
185185
return $builder
186186
->withProjectKey("projectKey")
187187
->customers()
188188
->withEmailToken("emailToken")
189189
->get();
190190
},
191-
404
191+
403
192192
],
193193
'ByProjectKeyCustomersEmailTokenByEmailTokenGet_500' => [
194194
function (ApiRequestBuilder $builder): RequestInterface {

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyCustomersPasswordResetTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,35 +148,35 @@ function (ApiRequestBuilder $builder): RequestInterface {
148148
},
149149
400
150150
],
151-
'ByProjectKeyCustomersPasswordResetPost_401' => [
151+
'ByProjectKeyCustomersPasswordResetPost_404' => [
152152
function (ApiRequestBuilder $builder): RequestInterface {
153153
return $builder
154154
->withProjectKey("projectKey")
155155
->customers()
156156
->passwordReset()
157157
->post(null);
158158
},
159-
401
159+
404
160160
],
161-
'ByProjectKeyCustomersPasswordResetPost_403' => [
161+
'ByProjectKeyCustomersPasswordResetPost_401' => [
162162
function (ApiRequestBuilder $builder): RequestInterface {
163163
return $builder
164164
->withProjectKey("projectKey")
165165
->customers()
166166
->passwordReset()
167167
->post(null);
168168
},
169-
403
169+
401
170170
],
171-
'ByProjectKeyCustomersPasswordResetPost_404' => [
171+
'ByProjectKeyCustomersPasswordResetPost_403' => [
172172
function (ApiRequestBuilder $builder): RequestInterface {
173173
return $builder
174174
->withProjectKey("projectKey")
175175
->customers()
176176
->passwordReset()
177177
->post(null);
178178
},
179-
404
179+
403
180180
],
181181
'ByProjectKeyCustomersPasswordResetPost_500' => [
182182
function (ApiRequestBuilder $builder): RequestInterface {

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyCustomersPasswordTokenByPasswordTokenTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,35 +160,35 @@ function (ApiRequestBuilder $builder): RequestInterface {
160160
},
161161
400
162162
],
163-
'ByProjectKeyCustomersPasswordTokenByPasswordTokenGet_401' => [
163+
'ByProjectKeyCustomersPasswordTokenByPasswordTokenGet_404' => [
164164
function (ApiRequestBuilder $builder): RequestInterface {
165165
return $builder
166166
->withProjectKey("projectKey")
167167
->customers()
168168
->withPasswordToken("passwordToken")
169169
->get();
170170
},
171-
401
171+
404
172172
],
173-
'ByProjectKeyCustomersPasswordTokenByPasswordTokenGet_403' => [
173+
'ByProjectKeyCustomersPasswordTokenByPasswordTokenGet_401' => [
174174
function (ApiRequestBuilder $builder): RequestInterface {
175175
return $builder
176176
->withProjectKey("projectKey")
177177
->customers()
178178
->withPasswordToken("passwordToken")
179179
->get();
180180
},
181-
403
181+
401
182182
],
183-
'ByProjectKeyCustomersPasswordTokenByPasswordTokenGet_404' => [
183+
'ByProjectKeyCustomersPasswordTokenByPasswordTokenGet_403' => [
184184
function (ApiRequestBuilder $builder): RequestInterface {
185185
return $builder
186186
->withProjectKey("projectKey")
187187
->customers()
188188
->withPasswordToken("passwordToken")
189189
->get();
190190
},
191-
404
191+
403
192192
],
193193
'ByProjectKeyCustomersPasswordTokenByPasswordTokenGet_500' => [
194194
function (ApiRequestBuilder $builder): RequestInterface {

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ function (ApiRequestBuilder $builder): RequestInterface {
152152
},
153153
400
154154
],
155-
'ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmPost_401' => [
155+
'ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmPost_404' => [
156156
function (ApiRequestBuilder $builder): RequestInterface {
157157
return $builder
158158
->withProjectKey("projectKey")
@@ -161,9 +161,9 @@ function (ApiRequestBuilder $builder): RequestInterface {
161161
->emailConfirm()
162162
->post(null);
163163
},
164-
401
164+
404
165165
],
166-
'ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmPost_403' => [
166+
'ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmPost_401' => [
167167
function (ApiRequestBuilder $builder): RequestInterface {
168168
return $builder
169169
->withProjectKey("projectKey")
@@ -172,9 +172,9 @@ function (ApiRequestBuilder $builder): RequestInterface {
172172
->emailConfirm()
173173
->post(null);
174174
},
175-
403
175+
401
176176
],
177-
'ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmPost_404' => [
177+
'ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmPost_403' => [
178178
function (ApiRequestBuilder $builder): RequestInterface {
179179
return $builder
180180
->withProjectKey("projectKey")
@@ -183,7 +183,7 @@ function (ApiRequestBuilder $builder): RequestInterface {
183183
->emailConfirm()
184184
->post(null);
185185
},
186-
404
186+
403
187187
],
188188
'ByProjectKeyInStoreKeyByStoreKeyCustomersEmailConfirmPost_500' => [
189189
function (ApiRequestBuilder $builder): RequestInterface {

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenByEmailTokenTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ function (ApiRequestBuilder $builder): RequestInterface {
165165
},
166166
400
167167
],
168-
'ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenByEmailTokenGet_401' => [
168+
'ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenByEmailTokenGet_404' => [
169169
function (ApiRequestBuilder $builder): RequestInterface {
170170
return $builder
171171
->withProjectKey("projectKey")
@@ -174,9 +174,9 @@ function (ApiRequestBuilder $builder): RequestInterface {
174174
->withEmailToken("emailToken")
175175
->get();
176176
},
177-
401
177+
404
178178
],
179-
'ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenByEmailTokenGet_403' => [
179+
'ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenByEmailTokenGet_401' => [
180180
function (ApiRequestBuilder $builder): RequestInterface {
181181
return $builder
182182
->withProjectKey("projectKey")
@@ -185,9 +185,9 @@ function (ApiRequestBuilder $builder): RequestInterface {
185185
->withEmailToken("emailToken")
186186
->get();
187187
},
188-
403
188+
401
189189
],
190-
'ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenByEmailTokenGet_404' => [
190+
'ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenByEmailTokenGet_403' => [
191191
function (ApiRequestBuilder $builder): RequestInterface {
192192
return $builder
193193
->withProjectKey("projectKey")
@@ -196,7 +196,7 @@ function (ApiRequestBuilder $builder): RequestInterface {
196196
->withEmailToken("emailToken")
197197
->get();
198198
},
199-
404
199+
403
200200
],
201201
'ByProjectKeyInStoreKeyByStoreKeyCustomersEmailTokenByEmailTokenGet_500' => [
202202
function (ApiRequestBuilder $builder): RequestInterface {

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ function (ApiRequestBuilder $builder): RequestInterface {
152152
},
153153
400
154154
],
155-
'ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetPost_401' => [
155+
'ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetPost_404' => [
156156
function (ApiRequestBuilder $builder): RequestInterface {
157157
return $builder
158158
->withProjectKey("projectKey")
@@ -161,9 +161,9 @@ function (ApiRequestBuilder $builder): RequestInterface {
161161
->passwordReset()
162162
->post(null);
163163
},
164-
401
164+
404
165165
],
166-
'ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetPost_403' => [
166+
'ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetPost_401' => [
167167
function (ApiRequestBuilder $builder): RequestInterface {
168168
return $builder
169169
->withProjectKey("projectKey")
@@ -172,9 +172,9 @@ function (ApiRequestBuilder $builder): RequestInterface {
172172
->passwordReset()
173173
->post(null);
174174
},
175-
403
175+
401
176176
],
177-
'ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetPost_404' => [
177+
'ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetPost_403' => [
178178
function (ApiRequestBuilder $builder): RequestInterface {
179179
return $builder
180180
->withProjectKey("projectKey")
@@ -183,7 +183,7 @@ function (ApiRequestBuilder $builder): RequestInterface {
183183
->passwordReset()
184184
->post(null);
185185
},
186-
404
186+
403
187187
],
188188
'ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordResetPost_500' => [
189189
function (ApiRequestBuilder $builder): RequestInterface {

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenByPasswordTokenTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ function (ApiRequestBuilder $builder): RequestInterface {
165165
},
166166
400
167167
],
168-
'ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenByPasswordTokenGet_401' => [
168+
'ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenByPasswordTokenGet_404' => [
169169
function (ApiRequestBuilder $builder): RequestInterface {
170170
return $builder
171171
->withProjectKey("projectKey")
@@ -174,9 +174,9 @@ function (ApiRequestBuilder $builder): RequestInterface {
174174
->withPasswordToken("passwordToken")
175175
->get();
176176
},
177-
401
177+
404
178178
],
179-
'ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenByPasswordTokenGet_403' => [
179+
'ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenByPasswordTokenGet_401' => [
180180
function (ApiRequestBuilder $builder): RequestInterface {
181181
return $builder
182182
->withProjectKey("projectKey")
@@ -185,9 +185,9 @@ function (ApiRequestBuilder $builder): RequestInterface {
185185
->withPasswordToken("passwordToken")
186186
->get();
187187
},
188-
403
188+
401
189189
],
190-
'ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenByPasswordTokenGet_404' => [
190+
'ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenByPasswordTokenGet_403' => [
191191
function (ApiRequestBuilder $builder): RequestInterface {
192192
return $builder
193193
->withProjectKey("projectKey")
@@ -196,7 +196,7 @@ function (ApiRequestBuilder $builder): RequestInterface {
196196
->withPasswordToken("passwordToken")
197197
->get();
198198
},
199-
404
199+
403
200200
],
201201
'ByProjectKeyInStoreKeyByStoreKeyCustomersPasswordTokenByPasswordTokenGet_500' => [
202202
function (ApiRequestBuilder $builder): RequestInterface {

0 commit comments

Comments
 (0)