Skip to content

Commit

Permalink
build(codegen): updating SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-sdks[bot] committed Jan 7, 2025
1 parent c5fbfc1 commit de85598
Show file tree
Hide file tree
Showing 75 changed files with 1,498 additions and 1 deletion.
34 changes: 34 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@
- added property `applicationMode` to type `CartDiscountValueFixed`
- added property `applicationMode` to type `CartDiscountValueFixedDraft`
- added property `custom` to type `CartSetCustomShippingMethodAction`
- added property `customerGroupAssignments` to type `Customer`
- added property `customerGroupAssignments` to type `CustomerDraft`
- added property `custom` to type `StagedOrderSetCustomShippingMethodAction`
- added property `custom` to type `StagedOrderSetShippingAddressAndCustomShippingMethodAction`
- added property `priceCustomerGroupAssignments` to type `ProductSearchProjectionParams`
- added property `businessUnits` to type `SearchIndexingConfiguration`
</details>

Expand Down Expand Up @@ -54,9 +57,20 @@
- added type `CountOnCustomLineItemUnits`
- added type `CountOnLineItemUnits`
- added type `PatternComponent`
- 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 `ShoppingListLineItemAddedMessage`
- added type `ShoppingListLineItemRemovedMessage`
- added type `ShoppingListMessage`
- added type `CustomerGroupAssignmentAddedMessagePayload`
- added type `CustomerGroupAssignmentRemovedMessagePayload`
- added type `CustomerGroupAssignmentsSetMessagePayload`
- added type `ShoppingListLineItemAddedMessagePayload`
- added type `ShoppingListLineItemRemovedMessagePayload`
- added type `ShoppingListMessagePayload`
Expand All @@ -73,6 +87,26 @@
- added enum `shopping-list` to type `MessageSubscriptionResourceTypeId`
</details>


<details>
<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>

**Import changes**

<details>
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/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
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 ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet WithPriceCu
return this.AddQueryParam("priceCustomerGroup", priceCustomerGroup);
}

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

public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet WithPriceChannel(string priceChannel)
{
return this.AddQueryParam("priceChannel", priceChannel);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,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 @@ -90,6 +95,11 @@ public ByProjectKeyProductProjectionsByIDGet WithPriceCustomerGroup(string price
return this.AddQueryParam("priceCustomerGroup", priceCustomerGroup);
}

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

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

0 comments on commit de85598

Please sign in to comment.