Skip to content

Commit 7a1b97a

Browse files
committed
build(codegen): updating SDK
1 parent eab5a57 commit 7a1b97a

File tree

120 files changed

+13937
-25
lines changed

Some content is hidden

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

120 files changed

+13937
-25
lines changed

changes.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
- added type `BusinessUnitAssociateResponse`
77
- added type `BusinessUnitSetUnitTypeAction`
8+
- added type `CartDiscountSetDiscountGroupAction`
89
- added type `BestDeal`
910
- added type `DiscountTypeCombination`
1011
- added type `Stacking`
@@ -13,6 +14,17 @@
1314
- added type `CustomerAddCustomerGroupAssignmentAction`
1415
- added type `CustomerRemoveCustomerGroupAssignmentAction`
1516
- added type `CustomerSetCustomerGroupAssignmentsAction`
17+
- added type `DiscountGroup`
18+
- added type `DiscountGroupDraft`
19+
- added type `DiscountGroupPagedQueryResponse`
20+
- added type `DiscountGroupReference`
21+
- added type `DiscountGroupResourceIdentifier`
22+
- added type `DiscountGroupUpdate`
23+
- added type `DiscountGroupUpdateAction`
24+
- added type `DiscountGroupSetDescriptionAction`
25+
- added type `DiscountGroupSetKeyAction`
26+
- added type `DiscountGroupSetNameAction`
27+
- added type `DiscountGroupSetSortOrderAction`
1628
- added type `ExpiredCustomerEmailTokenError`
1729
- added type `ExpiredCustomerPasswordTokenError`
1830
- added type `GraphQLExpiredCustomerEmailTokenError`
@@ -48,13 +60,21 @@
4860
- added type `CustomerGroupAssignmentAddedMessage`
4961
- added type `CustomerGroupAssignmentRemovedMessage`
5062
- added type `CustomerGroupAssignmentsSetMessage`
63+
- added type `DiscountGroupCreatedMessage`
64+
- added type `DiscountGroupDeletedMessage`
65+
- added type `DiscountGroupKeySetMessage`
66+
- added type `DiscountGroupSortOrderSetMessage`
5167
- added type `OrderBusinessUnitSetMessage`
5268
- added type `AssociateRoleNameSetMessagePayload`
5369
- added type `BusinessUnitTopLevelUnitSetMessagePayload`
5470
- added type `BusinessUnitTypeSetMessagePayload`
5571
- added type `CustomerGroupAssignmentAddedMessagePayload`
5672
- added type `CustomerGroupAssignmentRemovedMessagePayload`
5773
- added type `CustomerGroupAssignmentsSetMessagePayload`
74+
- added type `DiscountGroupCreatedMessagePayload`
75+
- added type `DiscountGroupDeletedMessagePayload`
76+
- added type `DiscountGroupKeySetMessagePayload`
77+
- added type `DiscountGroupSortOrderSetMessagePayload`
5878
- added type `OrderBusinessUnitSetMessagePayload`
5979
- added type `StagedOrderSetBusinessUnitAction`
6080
- added type `OrderSetBusinessUnitAction`
@@ -87,11 +107,14 @@
87107
<details>
88108
<summary>Added Resource(s)</summary>
89109

110+
- added resource `/{projectKey}/discount-groups`
90111
- added resource `/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists`
91112
- added resource `/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/key={key}`
92113
- added resource `/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/{ID}`
93114
- added resource `/{projectKey}/business-units/key={key}/associates/{associateId}`
94115
- added resource `/{projectKey}/business-units/{businessUnitId}/associates/{associateId}`
116+
- added resource `/{projectKey}/discount-groups/key={key}`
117+
- added resource `/{projectKey}/discount-groups/{ID}`
95118
- added resource `/{projectKey}/in-store/key={storeKey}/business-units`
96119
- added resource `/{projectKey}/in-store/key={storeKey}/business-units/key={key}`
97120
- added resource `/{projectKey}/in-store/key={storeKey}/business-units/{ID}`
@@ -120,6 +143,7 @@
120143
<details>
121144
<summary>Required Property(s)</summary>
122145

146+
- changed property `sortOrder` of type `CartDiscountDraft` to be optional
123147
- changed property `images` of type `ProductTailoringSetExternalImagesAction` to be optional
124148
- changed property `facets` of type `ProductProjectionPagedSearchResponse` to be optional
125149
- :warning: changed property `triggerPattern` of type `CartDiscountPatternTarget` to be required
@@ -140,6 +164,8 @@
140164
- added property `inheritedStores` to type `BusinessUnit`
141165
- added property `inheritedStores` to type `Company`
142166
- added property `inheritedStores` to type `Division`
167+
- added property `discountGroup` to type `CartDiscount`
168+
- added property `discountGroup` to type `CartDiscountDraft`
143169
- added property `discountTypeCombination` to type `Cart`
144170
- added property `customerGroupAssignments` to type `Customer`
145171
- added property `invalidateOlderTokens` to type `CustomerCreateEmailToken`
@@ -197,6 +223,9 @@
197223
<details>
198224
<summary>Added Method(s)</summary>
199225

226+
- added method `$apiRoot->withProjectKey()->discountGroups()->get()`
227+
- added method `$apiRoot->withProjectKey()->discountGroups()->head()`
228+
- added method `$apiRoot->withProjectKey()->discountGroups()->post()`
200229
- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->shoppingLists()->get()`
201230
- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->shoppingLists()->head()`
202231
- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->shoppingLists()->post()`
@@ -210,6 +239,14 @@
210239
- added method `$apiRoot->withProjectKey()->asAssociate()->withAssociateIdValue()->inBusinessUnitKeyWithBusinessUnitKeyValue()->shoppingLists()->withId()->delete()`
211240
- added method `$apiRoot->withProjectKey()->businessUnits()->keyWithKeyValueAssociatesWithAssociateIdValue()->get()`
212241
- added method `$apiRoot->withProjectKey()->businessUnits()->withBusinessUnitIdValueAssociatesWithAssociateIdValue()->get()`
242+
- added method `$apiRoot->withProjectKey()->discountGroups()->withKey()->get()`
243+
- added method `$apiRoot->withProjectKey()->discountGroups()->withKey()->head()`
244+
- added method `$apiRoot->withProjectKey()->discountGroups()->withKey()->post()`
245+
- added method `$apiRoot->withProjectKey()->discountGroups()->withKey()->delete()`
246+
- added method `$apiRoot->withProjectKey()->discountGroups()->withId()->get()`
247+
- added method `$apiRoot->withProjectKey()->discountGroups()->withId()->head()`
248+
- added method `$apiRoot->withProjectKey()->discountGroups()->withId()->post()`
249+
- added method `$apiRoot->withProjectKey()->discountGroups()->withId()->delete()`
213250
- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->businessUnits()->get()`
214251
- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->businessUnits()->head()`
215252
- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->businessUnits()->post()`
@@ -237,6 +274,8 @@
237274
- added enum `CreateOthersShoppingLists` to type `Permission`
238275
- added enum `DeleteMyShoppingLists` to type `Permission`
239276
- added enum `DeleteOthersShoppingLists` to type `Permission`
277+
- added enum `ApplicationStoppedByGroupBestDeal` to type `DiscountCodeState`
278+
- added enum `discount-group` to type `ReferenceTypeId`
240279
</details>
241280

242281
**Import changes**
@@ -269,6 +308,7 @@
269308
<summary>Added Enum(s)</summary>
270309

271310
- added enum `setAssetKey` to type `UpdateType`
311+
- added enum `ApplicationStoppedByGroupBestDeal` to type `DiscountCodeState`
272312
</details>
273313

274314

0 commit comments

Comments
 (0)