Skip to content

Commit f9a3e5e

Browse files
committed
build(codegen): updating SDK
1 parent c94b972 commit f9a3e5e

File tree

8 files changed

+10
-288
lines changed

8 files changed

+10
-288
lines changed

changes.md

Lines changed: 2 additions & 282 deletions
Original file line numberDiff line numberDiff line change
@@ -1,289 +1,9 @@
11
**Api changes**
22

3-
<details>
4-
<summary>Added Type(s)</summary>
5-
6-
- added type `BusinessUnitAddCustomerGroupAssignmentAction`
7-
- added type `BusinessUnitRemoveCustomerGroupAssignmentAction`
8-
- added type `BusinessUnitSetCustomerGroupAssignmentsAction`
9-
- added type `CartDiscountSetRecurringOrderScopeAction`
10-
- added type `CartLock`
11-
- added type `FreezeStrategy`
12-
- added type `CartLockCartAction`
13-
- added type `CartSetPurchaseOrderNumberAction`
14-
- added type `CartUnlockCartAction`
15-
- added type `AddressRole`
16-
- added type `BusinessUnitCustomerGroupAssignmentAddedMessage`
17-
- added type `BusinessUnitCustomerGroupAssignmentRemovedMessage`
18-
- added type `BusinessUnitCustomerGroupAssignmentsSetMessage`
19-
- added type `CartPurchaseOrderNumberSetMessage`
20-
- added type `CustomerBillingAddressAddedMessage`
21-
- added type `CustomerBillingAddressRemovedMessage`
22-
- added type `CustomerExternalIdSetMessage`
23-
- added type `CustomerShippingAddressAddedMessage`
24-
- added type `CustomerShippingAddressRemovedMessage`
25-
- added type `BusinessUnitCustomerGroupAssignmentAddedMessagePayload`
26-
- added type `BusinessUnitCustomerGroupAssignmentRemovedMessagePayload`
27-
- added type `BusinessUnitCustomerGroupAssignmentsSetMessagePayload`
28-
- added type `CartPurchaseOrderNumberSetMessagePayload`
29-
- added type `CustomerBillingAddressAddedMessagePayload`
30-
- added type `CustomerBillingAddressRemovedMessagePayload`
31-
- added type `CustomerExternalIdSetMessagePayload`
32-
- added type `CustomerShippingAddressAddedMessagePayload`
33-
- added type `CustomerShippingAddressRemovedMessagePayload`
34-
- added type `AnyOrder`
35-
- added type `AnyOrderDraft`
36-
- added type `ApplicableRecurrencePolicies`
37-
- added type `ApplicableRecurrencePoliciesDraft`
38-
- added type `NonRecurringOrdersOnly`
39-
- added type `NonRecurringOrdersOnlyDraft`
40-
- added type `RecurringOrderScope`
41-
- added type `RecurringOrderScopeDraft`
42-
- added type `RecurringOrdersOnly`
43-
- added type `RecurringOrdersOnlyDraft`
44-
</details>
45-
46-
47-
<details>
48-
<summary>MarkDeprecated Type(s)</summary>
49-
50-
- marked type `ProductSearchProjectionParams` as deprecated
51-
</details>
52-
53-
54-
<details>
55-
<summary>Deprecated Type(s)</summary>
56-
57-
- type `ProductLegacySetSkuAction` is removed
58-
</details>
59-
60-
61-
<details>
62-
<summary>Removed Type(s)</summary>
63-
64-
- :warning: removed type `MyCartSetCustomLineItemRecurrenceInfoAction`
65-
- :warning: removed type `MyCartSetLineItemRecurrenceInfoAction`
66-
</details>
67-
68-
69-
<details>
70-
<summary>Added Enum(s)</summary>
71-
72-
- added enum `payment-method` to type `ResourceTypeId`
73-
- added enum `payment-method-info` to type `ResourceTypeId`
74-
</details>
75-
76-
77-
<details>
78-
<summary>MarkDeprecated Property(s)</summary>
79-
80-
- marked property `ProductSearchRequest::productProjectionParameters` as deprecated
81-
- marked property `ProductSearchResult::productProjection` as deprecated
82-
</details>
83-
84-
853
<details>
864
<summary>Required Property(s)</summary>
875

88-
- :warning: changed property `shippingAddressIds` of type `BusinessUnit` to be required
89-
- :warning: changed property `billingAddressIds` of type `BusinessUnit` to be required
90-
- :warning: changed property `shippingAddressIds` of type `Company` to be required
91-
- :warning: changed property `billingAddressIds` of type `Company` to be required
92-
- :warning: changed property `shippingAddressIds` of type `Division` to be required
93-
- :warning: changed property `billingAddressIds` of type `Division` to be required
94-
- :warning: changed property `shippingAddressIds` of type `Customer` to be required
95-
- :warning: changed property `billingAddressIds` of type `Customer` to be required
96-
- :warning: changed property `customerGroupAssignments` of type `Customer` to be required
97-
- :warning: changed property `customerGroupAssignments` of type `CustomerGroupAssignmentsSetMessage` to be required
98-
- :warning: changed property `customerGroupAssignments` of type `CustomerGroupAssignmentsSetMessagePayload` to be required
99-
</details>
100-
101-
102-
<details>
103-
<summary>Removed Property(s)</summary>
104-
105-
- :warning: removed property `order` from type `RecurringOrderCreatedMessage`
106-
- :warning: removed property `order` from type `RecurringOrderCreatedMessagePayload`
107-
- :warning: removed property `tierMinimumQuantity` from type `StandalonePriceRemovePriceTierAction`
108-
</details>
109-
110-
111-
<details>
112-
<summary>Added Property(s)</summary>
113-
114-
- added property `customerGroupAssignments` to type `BusinessUnit`
115-
- added property `customerGroupAssignments` to type `BusinessUnitDraft`
116-
- added property `customerGroupAssignments` to type `Company`
117-
- added property `customerGroupAssignments` to type `CompanyDraft`
118-
- added property `customerGroupAssignments` to type `Division`
119-
- added property `customerGroupAssignments` to type `DivisionDraft`
120-
- added property `recurringOrderScope` to type `CartDiscount`
121-
- added property `recurringOrderScope` to type `CartDiscountDraft`
122-
- added property `freezeStrategy` to type `Cart`
123-
- added property `lock` to type `Cart`
124-
- added property `purchaseOrderNumber` to type `Cart`
125-
- added property `purchaseOrderNumber` to type `CartDraft`
126-
- added property `strategy` to type `CartFreezeCartAction`
127-
- added property `addressRoles` to type `BusinessUnitAddressChangedMessage`
128-
- added property `addressRoles` to type `BusinessUnitAddressRemovedMessage`
129-
- added property `addressRoles` to type `CustomerAddressChangedMessage`
130-
- added property `addressRoles` to type `CustomerAddressRemovedMessage`
131-
- added property `email` to type `CustomerDeletedMessage`
132-
- added property `oldEmail` to type `CustomerEmailChangedMessage`
133-
- added property `oldCustomerGroupAssignments` to type `CustomerGroupAssignmentsSetMessage`
134-
- added property `recurringOrder` to type `RecurringOrderCreatedMessage`
135-
- added property `addressRoles` to type `BusinessUnitAddressChangedMessagePayload`
136-
- added property `addressRoles` to type `BusinessUnitAddressRemovedMessagePayload`
137-
- added property `addressRoles` to type `CustomerAddressChangedMessagePayload`
138-
- added property `addressRoles` to type `CustomerAddressRemovedMessagePayload`
139-
- added property `email` to type `CustomerDeletedMessagePayload`
140-
- added property `oldEmail` to type `CustomerEmailChangedMessagePayload`
141-
- added property `oldCustomerGroupAssignments` to type `CustomerGroupAssignmentsSetMessagePayload`
142-
- added property `recurringOrder` to type `RecurringOrderCreatedMessagePayload`
143-
- added property `minimumQuantity` to type `StandalonePriceRemovePriceTierAction`
144-
</details>
145-
146-
**History changes**
147-
148-
<details>
149-
<summary>Added Type(s)</summary>
150-
151-
- added type `DirectDiscount`
152-
- added type `DiscountTypeCombination`
153-
- added type `BestDeal`
154-
- added type `Stacking`
155-
- added type `ShippingMethodLabel`
156-
- added type `ChangeCustomLineItemPriceRoundingModeChange`
157-
- added type `ChangeLineItemPriceRoundingModeChange`
158-
- added type `SetDirectDiscountsChange`
159-
- added type `SetReferencesChange`
160-
- added type `SetShippingInfoDiscountedPriceChange`
161-
- added type `SetShippingMethodTaxCategoryChange`
162-
- added type `SetTaxedShippingPriceChange`
163-
- added type `ShippingMethodAddShippingRateChange`
164-
- added type `ShippingMethodAddZoneChange`
165-
- added type `ShippingMethodChangeActiveChange`
166-
- added type `ShippingMethodChangeIsDefaultChange`
167-
- added type `ShippingMethodChangeNameChange`
168-
- added type `ShippingMethodChangeTaxCategoryChange`
169-
- added type `ShippingMethodRemoveShippingRateChange`
170-
- added type `ShippingMethodRemoveZoneChange`
171-
- added type `ShippingMethodSetCustomFieldChange`
172-
- added type `ShippingMethodSetCustomTypeChange`
173-
- added type `ShippingMethodSetKeyChange`
174-
- added type `ShippingMethodSetLocalizedDescriptionChange`
175-
- added type `ShippingMethodSetLocalizedNameChange`
176-
- added type `ShippingMethodSetPredicateChange`
177-
- added type `ZoneResourceIdentifier`
178-
- added type `ChangeDiscountTypeCombinationChange`
179-
- added type `StandalonePriceChangeActiveChange`
180-
- added type `StandalonePriceChangeValueChange`
181-
- added type `StandalonePriceSetCustomFieldChange`
182-
- added type `StandalonePriceSetCustomTypeChange`
183-
- added type `StandalonePriceSetDiscountedPriceChange`
184-
- added type `StandalonePriceSetKeyChange`
185-
- added type `StandalonePriceSetPriceTiersChange`
186-
- added type `StandalonePriceSetValidFromAndUntilChange`
187-
- added type `StandalonePriceSetValidFromChange`
188-
- added type `StandalonePriceSetValidUntilChange`
189-
- added type `StandalonePriceLabel`
190-
</details>
191-
192-
193-
<details>
194-
<summary>Added Enum(s)</summary>
195-
196-
- added enum `shipping-method` to type `ChangeHistoryResourceType`
197-
- added enum `standalone-price` to type `ChangeHistoryResourceType`
198-
- added enum `addShipping` to type `UpdateType`
199-
- added enum `addShippingRate` to type `UpdateType`
200-
- added enum `addZone` to type `UpdateType`
201-
- added enum `changeActive` to type `UpdateType`
202-
- added enum `changeApprovalRuleMode` to type `UpdateType`
203-
- added enum `changeCustomLineItemPriceRoundingMode` to type `UpdateType`
204-
- added enum `changeCustomer` to type `UpdateType`
205-
- added enum `changeDiscountTypeCombination` to type `UpdateType`
206-
- added enum `changeIncludedInStatistics` to type `UpdateType`
207-
- added enum `changeIsDefault` to type `UpdateType`
208-
- added enum `changeLastVariantId` to type `UpdateType`
209-
- added enum `changeLineItemPriceRoundingMode` to type `UpdateType`
210-
- added enum `changeLineItemPublished` to type `UpdateType`
211-
- added enum `changePriceRoundingMode` to type `UpdateType`
212-
- added enum `changeTaxCategory` to type `UpdateType`
213-
- added enum `changeTopLevelUnit` to type `UpdateType`
214-
- added enum `excludeProduct` to type `UpdateType`
215-
- added enum `removeShipping` to type `UpdateType`
216-
- added enum `removeShippingRate` to type `UpdateType`
217-
- added enum `removeZone` to type `UpdateType`
218-
- added enum `replaceTaxRate` to type `UpdateType`
219-
- added enum `revertStagedChanges` to type `UpdateType`
220-
- added enum `revertStagedVariantChanges` to type `UpdateType`
221-
- added enum `setAncestors` to type `UpdateType`
222-
- added enum `setAssociates` to type `UpdateType`
223-
- added enum `setBillingAddressCustomField` to type `UpdateType`
224-
- added enum `setBillingAddressCustomType` to type `UpdateType`
225-
- added enum `setBusinessUnit` to type `UpdateType`
226-
- added enum `setCustomLineItemDiscountedPrice` to type `UpdateType`
227-
- added enum `setCustomLineItemDiscountedPricePerQuantity` to type `UpdateType`
228-
- added enum `setCustomerGroupAssignments` to type `UpdateType`
229-
- added enum `setDeliveryAddressCustomField` to type `UpdateType`
230-
- added enum `setDeliveryAddressCustomType` to type `UpdateType`
231-
- added enum `setDeliveryCustomField` to type `UpdateType`
232-
- added enum `setDeliveryCustomType` to type `UpdateType`
233-
- added enum `setDirectDiscounts` to type `UpdateType`
234-
- added enum `setDiscountOnTotalPrice` to type `UpdateType`
235-
- added enum `setInheritedAssociates` to type `UpdateType`
236-
- added enum `setInheritedStores` to type `UpdateType`
237-
- added enum `setItemShippingAddressCustomField` to type `UpdateType`
238-
- added enum `setItemShippingAddressCustomType` to type `UpdateType`
239-
- added enum `setLocalizedDescription` to type `UpdateType`
240-
- added enum `setLocalizedName` to type `UpdateType`
241-
- added enum `setMaxCartQuantity` to type `UpdateType`
242-
- added enum `setMinCartQuantity` to type `UpdateType`
243-
- added enum `setParcelCustomField` to type `UpdateType`
244-
- added enum `setParcelCustomType` to type `UpdateType`
245-
- added enum `setPredicate` to type `UpdateType`
246-
- added enum `setPriceKey` to type `UpdateType`
247-
- added enum `setPriceMode` to type `UpdateType`
248-
- added enum `setPriceTiers` to type `UpdateType`
249-
- added enum `setProductAttribute` to type `UpdateType`
250-
- added enum `setReferences` to type `UpdateType`
251-
- added enum `setReturnInfo` to type `UpdateType`
252-
- added enum `setReturnItemCustomField` to type `UpdateType`
253-
- added enum `setReturnItemCustomType` to type `UpdateType`
254-
- added enum `setShippingAddressCustomField` to type `UpdateType`
255-
- added enum `setShippingAddressCustomType` to type `UpdateType`
256-
- added enum `setShippingCustomField` to type `UpdateType`
257-
- added enum `setShippingCustomType` to type `UpdateType`
258-
- added enum `setShippingInfoDiscountedPrice` to type `UpdateType`
259-
- added enum `setShippingMethodTaxCategory` to type `UpdateType`
260-
- added enum `setTaxedShippingPrice` to type `UpdateType`
261-
- added enum `setTransactionCustomField` to type `UpdateType`
262-
- added enum `setTransactionCustomType` to type `UpdateType`
263-
- added enum `setUnitType` to type `UpdateType`
264-
- added enum `setVariantExclusion` to type `UpdateType`
265-
</details>
266-
267-
**Checkout changes**
268-
269-
<details>
270-
<summary>Added Type(s)</summary>
271-
272-
- added type `ExpressContainerNotFound`
273-
- added type `ExpressMultipleContainersFound`
274-
- added type `ExpressPaymentCancelled`
275-
- added type `ExpressPaymentCompleted`
276-
- added type `ExpressPaymentFailed`
277-
- added type `ExpressPaymentIntegrationNotAvailable`
278-
- added type `ExpressPaymentInterrupted`
279-
- added type `ExpressPaymentStarted`
280-
- added type `NoExpressPaymentIntegrations`
281-
</details>
282-
283-
284-
<details>
285-
<summary>Added Enum(s)</summary>
286-
287-
- added enum `Express` to type `PaymentComponentType`
6+
- :warning: changed property `deleteDaysAfterLastModification` of type `CartsConfiguration` to be required
7+
- :warning: changed property `deleteDaysAfterLastModification` of type `ShoppingListsConfiguration` to be required
2888
</details>
2899

commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Projects/CartsConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace commercetools.Sdk.Api.Models.Projects
66

77
public partial class CartsConfiguration : ICartsConfiguration
88
{
9-
public long? DeleteDaysAfterLastModification { get; set; }
9+
public long DeleteDaysAfterLastModification { get; set; }
1010

1111
public bool? CountryTaxRateFallbackEnabled { get; set; }
1212

commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Projects/ICartsConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace commercetools.Sdk.Api.Models.Projects
66
[DeserializeAs(typeof(commercetools.Sdk.Api.Models.Projects.CartsConfiguration))]
77
public partial interface ICartsConfiguration
88
{
9-
long? DeleteDaysAfterLastModification { get; set; }
9+
long DeleteDaysAfterLastModification { get; set; }
1010

1111
bool? CountryTaxRateFallbackEnabled { get; set; }
1212

commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Projects/IShoppingListsConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace commercetools.Sdk.Api.Models.Projects
55
[DeserializeAs(typeof(commercetools.Sdk.Api.Models.Projects.ShoppingListsConfiguration))]
66
public partial interface IShoppingListsConfiguration
77
{
8-
long? DeleteDaysAfterLastModification { get; set; }
8+
long DeleteDaysAfterLastModification { get; set; }
99

1010
}
1111
}

commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Projects/ShoppingListsConfiguration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ namespace commercetools.Sdk.Api.Models.Projects
55

66
public partial class ShoppingListsConfiguration : IShoppingListsConfiguration
77
{
8-
public long? DeleteDaysAfterLastModification { get; set; }
8+
public long DeleteDaysAfterLastModification { get; set; }
99
}
1010
}

commercetools.Sdk/commercetools.Sdk.GraphQL.Api/schema.graphqls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2304,7 +2304,7 @@ type CartValueType implements ShippingRateInputType {
23042304
}
23052305

23062306
type CartsConfiguration {
2307-
deleteDaysAfterLastModification: Int
2307+
deleteDaysAfterLastModification: Int!
23082308
allowAddingUnpublishedProducts: Boolean!
23092309
countryTaxRateFallbackEnabled: Boolean!
23102310
taxRoundingMode: RoundingMode!
@@ -15636,7 +15636,7 @@ input ShoppingListUpdateAction {
1563615636
}
1563715637

1563815638
type ShoppingListsConfiguration {
15639-
deleteDaysAfterLastModification: Int
15639+
deleteDaysAfterLastModification: Int!
1564015640
}
1564115641

1564215642
input ShoppingListsConfigurationInput {

reference.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
8b51ad0f1cb789c4294135568e272854eea7ac53

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,3 +418,4 @@ ce170ce6f860044008489ee1fb346e298e2d42db
418418
8bfc95c41ffd0a75bc436246d73f337b54cff204
419419
aa83bf0cb2747feefa757d96d5896ba52d05392e
420420
bb59c72e09951d391e013c3784ffba3fc5876bc3
421+
da68d777f48ba0233a7542a5344d86ef185db481

0 commit comments

Comments
 (0)