Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECWID-148803 New customers: added new field for internal customer api #440

Merged
merged 1 commit into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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),
)
Loading