braid-ui 1.0.137 → 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;
@@ -161,19 +161,20 @@ type BusinessTimelineEvent = {
161
161
  type: "status_change";
162
162
  from: string;
163
163
  to: string;
164
+ note?: string;
164
165
  } | {
165
166
  id: string;
166
167
  timestamp: string;
167
168
  performedBy: string;
168
169
  type: "cip_status_change";
169
- from: CIPStatusValue;
170
- to: CIPStatusValue;
170
+ from: CIPStatusValue$1;
171
+ to: CIPStatusValue$1;
171
172
  } | {
172
173
  id: string;
173
174
  timestamp: string;
174
175
  performedBy: string;
175
176
  type: "info_update";
176
- changes: FieldChange[];
177
+ changes: FieldChange$1[];
177
178
  };
178
179
 
179
180
  declare const accountSchema: z.ZodObject<{
@@ -698,11 +699,40 @@ declare const individualProfileEditSchema: z.ZodObject<{
698
699
  }, z.core.$strip>;
699
700
  type IndividualProfileEdit = z.infer<typeof individualProfileEditSchema>;
700
701
 
701
- 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 = {
702
710
  id: string;
703
- action: string;
704
711
  timestamp: string;
705
- }
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
+ };
706
736
 
707
737
  declare const externalAccountSchema: z.ZodObject<{
708
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;
@@ -161,19 +161,20 @@ type BusinessTimelineEvent = {
161
161
  type: "status_change";
162
162
  from: string;
163
163
  to: string;
164
+ note?: string;
164
165
  } | {
165
166
  id: string;
166
167
  timestamp: string;
167
168
  performedBy: string;
168
169
  type: "cip_status_change";
169
- from: CIPStatusValue;
170
- to: CIPStatusValue;
170
+ from: CIPStatusValue$1;
171
+ to: CIPStatusValue$1;
171
172
  } | {
172
173
  id: string;
173
174
  timestamp: string;
174
175
  performedBy: string;
175
176
  type: "info_update";
176
- changes: FieldChange[];
177
+ changes: FieldChange$1[];
177
178
  };
178
179
 
179
180
  declare const accountSchema: z.ZodObject<{
@@ -698,11 +699,40 @@ declare const individualProfileEditSchema: z.ZodObject<{
698
699
  }, z.core.$strip>;
699
700
  type IndividualProfileEdit = z.infer<typeof individualProfileEditSchema>;
700
701
 
701
- 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 = {
702
710
  id: string;
703
- action: string;
704
711
  timestamp: string;
705
- }
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
+ };
706
736
 
707
737
  declare const externalAccountSchema: z.ZodObject<{
708
738
  accountNumber: z.ZodOptional<z.ZodString>;