File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -158,6 +158,12 @@ type Card = OnyxCommon.OnyxValueWithOfflineFeedback<{
158158
159159 /** Collection of form field errors */
160160 errorFields ?: OnyxCommon . ErrorFields ;
161+
162+ /**
163+ * Metadata about when and by whom the card was frozen.
164+ * null/undefined if card is not frozen
165+ */
166+ frozen ?: FrozenCardData | null ;
161167 } > &
162168 OnyxCommon . OnyxValueWithOfflineFeedback <
163169 /** Type of export card */
@@ -356,6 +362,17 @@ type CardAssignmentData = {
356362 pendingAction ?: OnyxCommon . PendingAction ;
357363} ;
358364
365+ /**
366+ * Data for a frozen card
367+ */
368+ type FrozenCardData = {
369+ /** Account ID of the user who froze the card */
370+ byAccountID : number ;
371+
372+ /** UTC datetime when card was frozen (ISO format: YYYY-MM-DD HH:MM:SS) */
373+ date : string ;
374+ } ;
375+
359376export default Card ;
360377export type {
361378 ExpensifyCardDetails ,
@@ -369,4 +386,5 @@ export type {
369386 ProvisioningCardData ,
370387 AssignableCardsList ,
371388 UnassignedCard ,
389+ FrozenCardData ,
372390} ;
You can’t perform that action at this time.
0 commit comments