Skip to content

Commit 97b81f0

Browse files
authored
build(codegen): updating SDK (#1092)
Co-authored-by: ct-sdks[bot] <153784748+ct-sdks[bot]@users.noreply.github.com>
1 parent e88f5b1 commit 97b81f0

3 files changed

Lines changed: 15 additions & 5 deletions

File tree

packages/platform-sdk/src/generated/models/me.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ export interface MyShoppingListDraft {
986986
*/
987987
readonly custom?: CustomFieldsDraft
988988
/**
989-
* Number of days after which the ShoppingList will be automatically deleted if it has not been modified. If not set, the [default value](ctp:api:type:ShoppingListsConfiguration) configured in the [Project](ctp:api:type:Project) is used.
989+
* Number of days after the last modification before a ShoppingList is deleted. If not set, the [default value](ctp:api:type:ShoppingListsConfiguration) configured in the [Project](ctp:api:type:Project) is used.
990990
*
991991
*
992992
*/
@@ -2779,11 +2779,15 @@ export interface MyShoppingListSetCustomTypeAction
27792779
*/
27802780
readonly fields?: FieldContainer
27812781
}
2782+
/**
2783+
* Number of days after the last modification before a Shopping List is deleted.
2784+
*
2785+
*/
27822786
export interface MyShoppingListSetDeleteDaysAfterLastModificationAction
27832787
extends IMyShoppingListUpdateAction {
27842788
readonly action: 'setDeleteDaysAfterLastModification'
27852789
/**
2786-
* Value to set. If empty, any existing value will be removed.
2790+
* Value to set. If not provided, the default value for this field configured in [Project settings](ctp:api:type:ShoppingListsConfiguration) is assigned.
27872791
*
27882792
*
27892793
*/

packages/platform-sdk/src/generated/models/shopping-list.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ export interface ShoppingList extends BaseResource {
8181
*/
8282
readonly textLineItems: TextLineItem[]
8383
/**
84-
* Number of days after which the ShoppingList will be automatically deleted if it has not been modified.
84+
* Number of days after the last modification before a ShoppingList is deleted. If not set, the [default value](ctp:api:type:ShoppingListsConfiguration) configured in the [Project](ctp:api:type:Project) is used.
85+
*
8586
*
8687
*/
8788
readonly deleteDaysAfterLastModification?: number
@@ -171,7 +172,7 @@ export interface ShoppingListDraft {
171172
*/
172173
readonly anonymousId?: string
173174
/**
174-
* Number of days after which the ShoppingList will be automatically deleted if it has not been modified. If not set, the [default value](ctp:api:type:ShoppingListsConfiguration) configured in the [Project](ctp:api:type:Project) is used.
175+
* Number of days after the last modification before a ShoppingList is deleted. If not set, the [default value](ctp:api:type:ShoppingListsConfiguration) configured in the [Project](ctp:api:type:Project) is used.
175176
*
176177
*
177178
*/
@@ -862,11 +863,15 @@ export interface ShoppingListSetCustomerAction
862863
*/
863864
readonly customer?: CustomerResourceIdentifier
864865
}
866+
/**
867+
* Number of days after the last modification before a Shopping List is deleted.
868+
*
869+
*/
865870
export interface ShoppingListSetDeleteDaysAfterLastModificationAction
866871
extends IShoppingListUpdateAction {
867872
readonly action: 'setDeleteDaysAfterLastModification'
868873
/**
869-
* Value to set. If empty, any existing value will be removed.
874+
* Value to set. If not provided, the default value for this field configured in [Project settings](ctp:api:type:ShoppingListsConfiguration) is assigned.
870875
*
871876
*
872877
*/

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,3 +416,4 @@ dd595db3882a9eef83a47515f013be37deae6bff
416416
fcc6480a0c34dde0eb5c0a44b1b166a4fdc212fc
417417
8f053b3f8730a47bc1257e09304a442d35356b9e
418418
e68ca35e345e284ffc6281baa6fcfb56a3e93582
419+
b1fc7dfd206272a7717ffe06bf9bdb40fc428a1d

0 commit comments

Comments
 (0)