Skip to content

Commit 30be545

Browse files
Merge pull request #968 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents 62ebd91 + c8fd3ed commit 30be545

File tree

134 files changed

+12822
-77
lines changed

Some content is hidden

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

134 files changed

+12822
-77
lines changed

changes.md

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -3,64 +3,65 @@
33
<details>
44
<summary>Added Type(s)</summary>
55

6-
- added type `InventoryEntrySetInventoryLimitsAction`
7-
- added type `RecurringOrderDeletedMessage`
8-
- added type `RecurringOrderExpiresAtSetMessage`
9-
- added type `RecurringOrderDeletedMessagePayload`
10-
- added type `RecurringOrderExpiresAtSetMessagePayload`
11-
- added type `ProductSearchFacetResultStats`
12-
- added type `ProductSearchFacetStatsExpression`
13-
- added type `ProductSearchFacetStatsValue`
14-
- added type `RecurringOrderSetExpiresAtAction`
15-
</details>
16-
17-
18-
<details>
19-
<summary>Removed Type(s)</summary>
20-
21-
- :warning: removed type `RecurringOrderMessagePayload`
6+
- added type `CustomerDefaultBillingAddressSetMessage`
7+
- added type `CustomerDefaultShippingAddressSetMessage`
8+
- added type `CustomerStoresSetMessage`
9+
- added type `CustomerDefaultBillingAddressSetMessagePayload`
10+
- added type `CustomerDefaultShippingAddressSetMessagePayload`
11+
- added type `CustomerStoresSetMessagePayload`
2212
</details>
2313

2414

2515
<details>
2616
<summary>Added Method(s)</summary>
2717

28-
- added method `apiRoot.withProjectKey().recurringOrders().withId().delete()`
29-
- added method `apiRoot.withProjectKey().recurringOrders().withKey().delete()`
18+
- added method `apiRoot.withProjectKey().recurrencePolicies().withKey().delete()`
19+
- added method `apiRoot.withProjectKey().recurrencePolicies().withId().delete()`
3020
</details>
3121

22+
**Import changes**
3223

3324
<details>
34-
<summary>Added Property(s)</summary>
25+
<summary>Added Type(s)</summary>
3526

36-
- added property `minCartQuantity` to type `InventoryEntry`
37-
- added property `maxCartQuantity` to type `InventoryEntry`
38-
- added property `minCartQuantity` to type `InventoryEntryDraft`
39-
- added property `maxCartQuantity` to type `InventoryEntryDraft`
40-
- added property `expiresAt` to type `RecurringOrderDraft`
27+
- added type `AssociateRoleKeyReference`
28+
- added type `BusinessUnitKeyReference`
29+
- added type `BusinessUnitImportRequest`
30+
- added type `AssociateRoleInheritanceMode`
31+
- added type `BusinessUnitStatus`
32+
- added type `BusinessUnitAssociateMode`
33+
- added type `BusinessUnitApprovalRuleMode`
34+
- added type `BusinessUnitStoreMode`
35+
- added type `BusinessUnitType`
36+
- added type `AssociateRoleAssignmentDraft`
37+
- added type `AssociateDraft`
38+
- added type `BusinessUnitImport`
39+
- added type `CompanyBusinessUnitImport`
40+
- added type `DivisionBusinessUnitImport`
4141
</details>
4242

4343

4444
<details>
45-
<summary>Added Enum(s)</summary>
45+
<summary>Added Method(s)</summary>
4646

47-
- added enum `discount-group` to type `ChangeSubscriptionResourceTypeId`
47+
- added method `apiRoot.withProjectKeyValue().businessUnits().importContainers().withImportContainerKeyValue().post()`
4848
</details>
4949

50-
**History changes**
5150

5251
<details>
53-
<summary>Added Type(s)</summary>
52+
<summary>Added Resource(s)</summary>
5453

55-
- added type `TooManyRequestsError`
56-
- added type `GraphQLTooManyRequestsError`
57-
- added type `GraphQLErrorObject`
54+
- added resource `/{projectKey}/business-units`
55+
- added resource `/{projectKey}/business-units/import-containers`
56+
- added resource `/{projectKey}/business-units/import-containers/{importContainerKey}`
5857
</details>
5958

6059

6160
<details>
62-
<summary>Changed Property(s)</summary>
61+
<summary>Added Enum(s)</summary>
6362

64-
- :warning: changed property `extensions` of type `GraphQLError` from type `object` to `GraphQLErrorObject`
63+
- added enum `business-unit` to type `ImportResourceType`
64+
- added enum `associate-role` to type `ReferenceType`
65+
- added enum `business-unit` to type `ReferenceType`
6566
</details>
6667

commercetools/commercetools-graphql-api/src/main/resources/graphql/schema.graphqls

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3749,6 +3749,16 @@ type CustomerDateOfBirthSet implements MessagePayload {
37493749
type: String!
37503750
}
37513751

3752+
type CustomerDefaultBillingAddressSet implements MessagePayload {
3753+
address: Address
3754+
type: String!
3755+
}
3756+
3757+
type CustomerDefaultShippingAddressSet implements MessagePayload {
3758+
address: Address
3759+
type: String!
3760+
}
3761+
37523762
type CustomerDeleted implements MessagePayload {
37533763
type: String!
37543764
}
@@ -4067,6 +4077,14 @@ input CustomerSignUpDraft {
40674077
authenticationMode: AuthenticationMode
40684078
}
40694079

4080+
type CustomerStoresSet implements MessagePayload {
4081+
stores: [Store!]!
4082+
oldStores: [Store!]!
4083+
storesRef: [KeyReference!]!
4084+
oldStoresRef: [KeyReference!]!
4085+
type: String!
4086+
}
4087+
40704088
type CustomerTitleSet implements MessagePayload {
40714089
title: String
40724090
type: String!
@@ -6909,6 +6927,15 @@ type Mutation {
69096927
"Queries with specified key"
69106928
key: String): RecurrencePolicy
69116929

6930+
"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
6931+
deleteRecurrencePolicy(version: Long!,
6932+
6933+
"Queries with specified ID"
6934+
id: String,
6935+
6936+
"Queries with specified key"
6937+
key: String): RecurrencePolicy
6938+
69126939
"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
69136940
createPaymentMethod(draft: PaymentMethodDraft!): PaymentMethod
69146941

0 commit comments

Comments
 (0)