Skip to content

Commit

Permalink
Merge pull request #440 from Ecwid/ECWID-148803
Browse files Browse the repository at this point in the history
ECWID-148803 New customers: added new field for internal customer api
  • Loading branch information
winrokru authored Oct 22, 2024
2 parents 2f94bfe + e76a7eb commit de4559d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ data class FetchedCustomersConfig(
val entityTypes: List<ExtrafieldEntityType>? = null,
val type: ExtrafieldType? = null,
val shownOnOrderDetails: Boolean? = null,
val linkedWithCheckoutField: Boolean? = null,
val createdDate: Date? = null,
val lastModifiedDate: Date? = null,
) : ApiFetchedDTO {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ val nonUpdatablePropertyRules: List<NonUpdatablePropertyRule<*, *>> = listOf(
ReadOnly(FetchedInstantSiteRedirect::id),

ReadOnly(FetchedCustomersConfig::entityTypes),
ReadOnly(FetchedCustomersConfig::linkedWithCheckoutField),
ReadOnly(FetchedCustomersConfig::createdDate),
ReadOnly(FetchedCustomersConfig::lastModifiedDate),
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ val fetchedCustomersConfigNullablePropertyRules: List<NullablePropertyRule<*, *>
AllowNullable(FetchedCustomersConfig::entityTypes),
AllowNullable(FetchedCustomersConfig::type),
AllowNullable(FetchedCustomersConfig::shownOnOrderDetails),
AllowNullable(FetchedCustomersConfig::linkedWithCheckoutField),
AllowNullable(FetchedCustomersConfig::createdDate),
AllowNullable(FetchedCustomersConfig::lastModifiedDate),
)

0 comments on commit de4559d

Please sign in to comment.