braid-ui 1.0.138 → 1.0.139

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -142,13 +142,13 @@ interface BusinessesViewProps {
142
142
  }
143
143
  declare const BusinessesView: ({ filters, isLoading, table, onFilterChange, onResetFilters, onCreateBusiness }: BusinessesViewProps) => react_jsx_runtime.JSX.Element;
144
144
 
145
- type FieldChange = {
145
+ type FieldChange$1 = {
146
146
  field: string;
147
147
  label: string;
148
148
  from: string | null;
149
149
  to: string | null;
150
150
  };
151
- type CIPStatusValue = "NOT_START" | "PASS" | "FAIL" | "IN_REVIEW" | "verified" | "not_start" | "pending" | "rejected";
151
+ type CIPStatusValue$1 = "NOT_START" | "PASS" | "FAIL" | "IN_REVIEW" | "verified" | "not_start" | "pending" | "rejected";
152
152
  type BusinessTimelineEvent = {
153
153
  id: string;
154
154
  timestamp: string;
@@ -167,14 +167,14 @@ type BusinessTimelineEvent = {
167
167
  timestamp: string;
168
168
  performedBy: string;
169
169
  type: "cip_status_change";
170
- from: CIPStatusValue;
171
- to: CIPStatusValue;
170
+ from: CIPStatusValue$1;
171
+ to: CIPStatusValue$1;
172
172
  } | {
173
173
  id: string;
174
174
  timestamp: string;
175
175
  performedBy: string;
176
176
  type: "info_update";
177
- changes: FieldChange[];
177
+ changes: FieldChange$1[];
178
178
  };
179
179
 
180
180
  declare const accountSchema: z.ZodObject<{
@@ -699,11 +699,40 @@ declare const individualProfileEditSchema: z.ZodObject<{
699
699
  }, z.core.$strip>;
700
700
  type IndividualProfileEdit = z.infer<typeof individualProfileEditSchema>;
701
701
 
702
- interface IndividualTimelineEvent {
702
+ type FieldChange = {
703
+ field: string;
704
+ label: string;
705
+ from: string | null;
706
+ to: string | null;
707
+ };
708
+ type CIPStatusValue = "NOT_START" | "PASS" | "FAIL" | "IN_REVIEW" | "verified" | "not_start" | "pending" | "rejected";
709
+ type IndividualTimelineEvent = {
703
710
  id: string;
704
- action: string;
705
711
  timestamp: string;
706
- }
712
+ performedBy: string;
713
+ type: "created";
714
+ } | {
715
+ id: string;
716
+ timestamp: string;
717
+ performedBy: string;
718
+ type: "status_change";
719
+ from: string;
720
+ to: string;
721
+ note?: string;
722
+ } | {
723
+ id: string;
724
+ timestamp: string;
725
+ performedBy: string;
726
+ type: "cip_status_change";
727
+ from: CIPStatusValue;
728
+ to: CIPStatusValue;
729
+ } | {
730
+ id: string;
731
+ timestamp: string;
732
+ performedBy: string;
733
+ type: "info_update";
734
+ changes: FieldChange[];
735
+ };
707
736
 
708
737
  declare const externalAccountSchema: z.ZodObject<{
709
738
  accountNumber: z.ZodOptional<z.ZodString>;
package/dist/index.d.ts CHANGED
@@ -142,13 +142,13 @@ interface BusinessesViewProps {
142
142
  }
143
143
  declare const BusinessesView: ({ filters, isLoading, table, onFilterChange, onResetFilters, onCreateBusiness }: BusinessesViewProps) => react_jsx_runtime.JSX.Element;
144
144
 
145
- type FieldChange = {
145
+ type FieldChange$1 = {
146
146
  field: string;
147
147
  label: string;
148
148
  from: string | null;
149
149
  to: string | null;
150
150
  };
151
- type CIPStatusValue = "NOT_START" | "PASS" | "FAIL" | "IN_REVIEW" | "verified" | "not_start" | "pending" | "rejected";
151
+ type CIPStatusValue$1 = "NOT_START" | "PASS" | "FAIL" | "IN_REVIEW" | "verified" | "not_start" | "pending" | "rejected";
152
152
  type BusinessTimelineEvent = {
153
153
  id: string;
154
154
  timestamp: string;
@@ -167,14 +167,14 @@ type BusinessTimelineEvent = {
167
167
  timestamp: string;
168
168
  performedBy: string;
169
169
  type: "cip_status_change";
170
- from: CIPStatusValue;
171
- to: CIPStatusValue;
170
+ from: CIPStatusValue$1;
171
+ to: CIPStatusValue$1;
172
172
  } | {
173
173
  id: string;
174
174
  timestamp: string;
175
175
  performedBy: string;
176
176
  type: "info_update";
177
- changes: FieldChange[];
177
+ changes: FieldChange$1[];
178
178
  };
179
179
 
180
180
  declare const accountSchema: z.ZodObject<{
@@ -699,11 +699,40 @@ declare const individualProfileEditSchema: z.ZodObject<{
699
699
  }, z.core.$strip>;
700
700
  type IndividualProfileEdit = z.infer<typeof individualProfileEditSchema>;
701
701
 
702
- interface IndividualTimelineEvent {
702
+ type FieldChange = {
703
+ field: string;
704
+ label: string;
705
+ from: string | null;
706
+ to: string | null;
707
+ };
708
+ type CIPStatusValue = "NOT_START" | "PASS" | "FAIL" | "IN_REVIEW" | "verified" | "not_start" | "pending" | "rejected";
709
+ type IndividualTimelineEvent = {
703
710
  id: string;
704
- action: string;
705
711
  timestamp: string;
706
- }
712
+ performedBy: string;
713
+ type: "created";
714
+ } | {
715
+ id: string;
716
+ timestamp: string;
717
+ performedBy: string;
718
+ type: "status_change";
719
+ from: string;
720
+ to: string;
721
+ note?: string;
722
+ } | {
723
+ id: string;
724
+ timestamp: string;
725
+ performedBy: string;
726
+ type: "cip_status_change";
727
+ from: CIPStatusValue;
728
+ to: CIPStatusValue;
729
+ } | {
730
+ id: string;
731
+ timestamp: string;
732
+ performedBy: string;
733
+ type: "info_update";
734
+ changes: FieldChange[];
735
+ };
707
736
 
708
737
  declare const externalAccountSchema: z.ZodObject<{
709
738
  accountNumber: z.ZodOptional<z.ZodString>;