Skip to content

Update generated SDKs #430

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 30 additions & 63 deletions changes.md
Original file line number Diff line number Diff line change
@@ -1,80 +1,47 @@
**Api changes**

<details>
<summary>Added Enum(s)</summary>

- added enum `ViewMyShoppingLists` to type `Permission`
- added enum `ViewOthersShoppingLists` to type `Permission`
- added enum `UpdateMyShoppingLists` to type `Permission`
- added enum `UpdateOthersShoppingLists` to type `Permission`
- added enum `CreateMyShoppingLists` to type `Permission`
- added enum `CreateOthersShoppingLists` to type `Permission`
- added enum `DeleteMyShoppingLists` to type `Permission`
- added enum `DeleteOthersShoppingLists` to type `Permission`
<summary>Added QueryParameter(s)</summary>

- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/products`
- added query parameter `priceCustomerGroupAssignments` to method `post /{projectKey}/products`
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections`
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/products/key={key}`
- added query parameter `priceCustomerGroupAssignments` to method `post /{projectKey}/products/key={key}`
- added query parameter `priceCustomerGroupAssignments` to method `delete /{projectKey}/products/key={key}`
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/products/{ID}`
- added query parameter `priceCustomerGroupAssignments` to method `post /{projectKey}/products/{ID}`
- added query parameter `priceCustomerGroupAssignments` to method `delete /{projectKey}/products/{ID}`
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections/search`
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections/key={key}`
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections/{ID}`
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/in-store/key={storeKey}/product-projections/key={key}`
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/in-store/key={storeKey}/product-projections/{ID}`
</details>


<details>
<summary>Added Type(s)</summary>

- added type `BusinessUnitAssociateResponse`
- added type `BestDeal`
- added type `DiscountTypeCombination`
- added type `Stacking`
- added type `OrderBusinessUnitSetMessage`
- added type `OrderBusinessUnitSetMessagePayload`
- added type `StagedOrderSetBusinessUnitAction`
- added type `OrderSetBusinessUnitAction`
</details>


<details>
<summary>Added Resource(s)</summary>

- added resource `/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists`
- added resource `/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/key={key}`
- added resource `/{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/shopping-lists/{ID}`
- added resource `/{projectKey}/business-units/key={key}/associates/{associateId}`
- added resource `/{projectKey}/business-units/{businessUnitId}/associates/{associateId}`
- added resource `/{projectKey}/in-store/key={storeKey}/business-units/key={key}/associates/{associateId}`
- added resource `/{projectKey}/in-store/key={storeKey}/business-units/{businessUnitId}/associates/{associateId}`
</details>


<details>
<summary>Added Method(s)</summary>

- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().shoppingLists().get()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().shoppingLists().head()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().shoppingLists().post()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().shoppingLists().withKey().get()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().shoppingLists().withKey().head()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().shoppingLists().withKey().post()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().shoppingLists().withKey().delete()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().shoppingLists().withId().get()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().shoppingLists().withId().head()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().shoppingLists().withId().post()`
- added method `apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().shoppingLists().withId().delete()`
- added method `apiRoot.withProjectKey().businessUnits().keyWithKeyValueAssociatesWithAssociateIdValue().get()`
- added method `apiRoot.withProjectKey().businessUnits().withBusinessUnitIdValueAssociatesWithAssociateIdValue().get()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().businessUnits().keyWithKeyValueAssociatesWithAssociateIdValue().get()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().businessUnits().withBusinessUnitIdValueAssociatesWithAssociateIdValue().get()`
- added type `CustomerGroupAssignment`
- added type `CustomerGroupAssignmentDraft`
- added type `CustomerAddCustomerGroupAssignmentAction`
- added type `CustomerRemoveCustomerGroupAssignmentAction`
- added type `CustomerSetCustomerGroupAssignmentsAction`
- added type `CustomerGroupAssignmentAddedMessage`
- added type `CustomerGroupAssignmentRemovedMessage`
- added type `CustomerGroupAssignmentsSetMessage`
- added type `CustomerGroupAssignmentAddedMessagePayload`
- added type `CustomerGroupAssignmentRemovedMessagePayload`
- added type `CustomerGroupAssignmentsSetMessagePayload`
</details>


<details>
<summary>Added Property(s)</summary>

- added property `discountTypeCombination` to type `Cart`
- added property `discountTypeCombination` to type `StagedOrder`
- added property `discountTypeCombination` to type `Order`
</details>


<details>
<summary>MarkDeprecated Property(s)</summary>

- marked property `CountOnCustomLineItemUnits::excludeCount` as deprecated
- marked property `CountOnLineItemUnits::excludeCount` as deprecated
- added property `customerGroupAssignments` to type `Customer`
- added property `customerGroupAssignments` to type `CustomerDraft`
- added property `priceCustomerGroupAssignments` to type `ProductSearchProjectionParams`
</details>

Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,18 @@ public static IEnumerable<object[]> GetData()
"Get",
"/test_projectKey/in-store/key=test_storeKey/product-projections/test_ID?priceCustomerGroup=priceCustomerGroup",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
.InStoreKeyWithStoreKeyValue("test_storeKey")
.ProductProjections()
.WithId("test_ID")
.Get()
.WithPriceCustomerGroupAssignments("priceCustomerGroupAssignments")
.Build(),
"Get",
"/test_projectKey/in-store/key=test_storeKey/product-projections/test_ID?priceCustomerGroupAssignments=priceCustomerGroupAssignments",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,18 @@ public static IEnumerable<object[]> GetData()
"Get",
"/test_projectKey/in-store/key=test_storeKey/product-projections/key=test_key?priceCustomerGroup=priceCustomerGroup",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
.InStoreKeyWithStoreKeyValue("test_storeKey")
.ProductProjections()
.WithKey("test_key")
.Get()
.WithPriceCustomerGroupAssignments("priceCustomerGroupAssignments")
.Build(),
"Get",
"/test_projectKey/in-store/key=test_storeKey/product-projections/key=test_key?priceCustomerGroupAssignments=priceCustomerGroupAssignments",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,17 @@ public static IEnumerable<object[]> GetData()
"Get",
"/test_projectKey/product-projections/test_ID?priceCustomerGroup=priceCustomerGroup",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
.ProductProjections()
.WithId("test_ID")
.Get()
.WithPriceCustomerGroupAssignments("priceCustomerGroupAssignments")
.Build(),
"Get",
"/test_projectKey/product-projections/test_ID?priceCustomerGroupAssignments=priceCustomerGroupAssignments",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,17 @@ public static IEnumerable<object[]> GetData()
"Get",
"/test_projectKey/product-projections/key=test_key?priceCustomerGroup=priceCustomerGroup",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
.ProductProjections()
.WithKey("test_key")
.Get()
.WithPriceCustomerGroupAssignments("priceCustomerGroupAssignments")
.Build(),
"Get",
"/test_projectKey/product-projections/key=test_key?priceCustomerGroupAssignments=priceCustomerGroupAssignments",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,17 @@ public static IEnumerable<object[]> GetData()
"Get",
"/test_projectKey/product-projections/search?priceCustomerGroup=priceCustomerGroup",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
.ProductProjections()
.Search()
.Get()
.WithPriceCustomerGroupAssignments("priceCustomerGroupAssignments")
.Build(),
"Get",
"/test_projectKey/product-projections/search?priceCustomerGroupAssignments=priceCustomerGroupAssignments",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,16 @@ public static IEnumerable<object[]> GetData()
"Get",
"/test_projectKey/product-projections?priceCustomerGroup=priceCustomerGroup",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
.ProductProjections()
.Get()
.WithPriceCustomerGroupAssignments("priceCustomerGroupAssignments")
.Build(),
"Get",
"/test_projectKey/product-projections?priceCustomerGroupAssignments=priceCustomerGroupAssignments",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,17 @@ public static IEnumerable<object[]> GetData()
"Get",
"/test_projectKey/products/test_ID?priceCustomerGroup=priceCustomerGroup",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
.Products()
.WithId("test_ID")
.Get()
.WithPriceCustomerGroupAssignments("priceCustomerGroupAssignments")
.Build(),
"Get",
"/test_projectKey/products/test_ID?priceCustomerGroupAssignments=priceCustomerGroupAssignments",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
Expand Down Expand Up @@ -127,6 +138,17 @@ public static IEnumerable<object[]> GetData()
"Post",
"/test_projectKey/products/test_ID?priceCustomerGroup=priceCustomerGroup",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
.Products()
.WithId("test_ID")
.Post(null)
.WithPriceCustomerGroupAssignments("priceCustomerGroupAssignments")
.Build(),
"Post",
"/test_projectKey/products/test_ID?priceCustomerGroupAssignments=priceCustomerGroupAssignments",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
Expand Down Expand Up @@ -192,6 +214,17 @@ public static IEnumerable<object[]> GetData()
"Delete",
"/test_projectKey/products/test_ID?priceCustomerGroup=priceCustomerGroup",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
.Products()
.WithId("test_ID")
.Delete()
.WithPriceCustomerGroupAssignments("priceCustomerGroupAssignments")
.Build(),
"Delete",
"/test_projectKey/products/test_ID?priceCustomerGroupAssignments=priceCustomerGroupAssignments",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,17 @@ public static IEnumerable<object[]> GetData()
"Get",
"/test_projectKey/products/key=test_key?priceCustomerGroup=priceCustomerGroup",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
.Products()
.WithKey("test_key")
.Get()
.WithPriceCustomerGroupAssignments("priceCustomerGroupAssignments")
.Build(),
"Get",
"/test_projectKey/products/key=test_key?priceCustomerGroupAssignments=priceCustomerGroupAssignments",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
Expand Down Expand Up @@ -127,6 +138,17 @@ public static IEnumerable<object[]> GetData()
"Post",
"/test_projectKey/products/key=test_key?priceCustomerGroup=priceCustomerGroup",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
.Products()
.WithKey("test_key")
.Post(null)
.WithPriceCustomerGroupAssignments("priceCustomerGroupAssignments")
.Build(),
"Post",
"/test_projectKey/products/key=test_key?priceCustomerGroupAssignments=priceCustomerGroupAssignments",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
Expand Down Expand Up @@ -192,6 +214,17 @@ public static IEnumerable<object[]> GetData()
"Delete",
"/test_projectKey/products/key=test_key?priceCustomerGroup=priceCustomerGroup",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
.Products()
.WithKey("test_key")
.Delete()
.WithPriceCustomerGroupAssignments("priceCustomerGroupAssignments")
.Build(),
"Delete",
"/test_projectKey/products/key=test_key?priceCustomerGroupAssignments=priceCustomerGroupAssignments",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,16 @@ public static IEnumerable<object[]> GetData()
"Get",
"/test_projectKey/products?priceCustomerGroup=priceCustomerGroup",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
.Products()
.Get()
.WithPriceCustomerGroupAssignments("priceCustomerGroupAssignments")
.Build(),
"Get",
"/test_projectKey/products?priceCustomerGroupAssignments=priceCustomerGroupAssignments",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
Expand Down Expand Up @@ -187,6 +197,16 @@ public static IEnumerable<object[]> GetData()
"Post",
"/test_projectKey/products?priceCustomerGroup=priceCustomerGroup",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
.Products()
.Post(null)
.WithPriceCustomerGroupAssignments("priceCustomerGroupAssignments")
.Build(),
"Post",
"/test_projectKey/products?priceCustomerGroupAssignments=priceCustomerGroupAssignments",
},
new Object[] {
ApiRoot
.WithProjectKey("test_projectKey")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ public List<string> GetPriceCustomerGroup()
return this.GetQueryParam("priceCustomerGroup");
}

public List<string> GetPriceCustomerGroupAssignments()
{
return this.GetQueryParam("priceCustomerGroupAssignments");
}

public List<string> GetPriceChannel()
{
return this.GetQueryParam("priceChannel");
Expand Down Expand Up @@ -88,6 +93,11 @@ public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet WithPriceCustom
return this.AddQueryParam("priceCustomerGroup", priceCustomerGroup);
}

public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet WithPriceCustomerGroupAssignments(string priceCustomerGroupAssignments)
{
return this.AddQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
}

public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet WithPriceChannel(string priceChannel)
{
return this.AddQueryParam("priceChannel", priceChannel);
Expand Down
Loading
Loading