@socotra/ec-react-schemas 2.15.0-next.5 → 2.15.0-next.7

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.ts CHANGED
@@ -1011,6 +1011,247 @@ export declare const ActivityHistoryInitialResponseSchema: z.ZodObject<{
1011
1011
 
1012
1012
  export declare type ActivityHistoryListResponse = z.infer<typeof ActivityHistoryListResponseSchema>;
1013
1013
 
1014
+ export declare type ActivityHistoryListResponseBff = z.infer<typeof ActivityHistoryListResponseBffSchema>;
1015
+
1016
+ export declare const ActivityHistoryListResponseBffSchema: z.ZodObject<{
1017
+ listCompleted: z.ZodBoolean;
1018
+ items: z.ZodArray<z.ZodObject<{
1019
+ locator: z.ZodString;
1020
+ category: z.ZodString;
1021
+ type: z.ZodString;
1022
+ activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1023
+ underwritingFlagLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1024
+ deadlineTime: z.ZodOptional<z.ZodString>;
1025
+ assignedTo: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1026
+ locator: z.ZodString;
1027
+ userName: z.ZodString;
1028
+ firstName: z.ZodOptional<z.ZodString>;
1029
+ lastName: z.ZodOptional<z.ZodString>;
1030
+ }, "strip", z.ZodTypeAny, {
1031
+ locator: string;
1032
+ userName: string;
1033
+ firstName?: string | undefined;
1034
+ lastName?: string | undefined;
1035
+ }, {
1036
+ locator: string;
1037
+ userName: string;
1038
+ firstName?: string | undefined;
1039
+ lastName?: string | undefined;
1040
+ }>, z.ZodObject<{
1041
+ locator: z.ZodString;
1042
+ isDeleted: z.ZodBoolean;
1043
+ }, "strip", z.ZodTypeAny, {
1044
+ locator: string;
1045
+ isDeleted: boolean;
1046
+ }, {
1047
+ locator: string;
1048
+ isDeleted: boolean;
1049
+ }>]>>;
1050
+ createdBy: z.ZodUnion<[z.ZodObject<{
1051
+ locator: z.ZodString;
1052
+ userName: z.ZodString;
1053
+ firstName: z.ZodOptional<z.ZodString>;
1054
+ lastName: z.ZodOptional<z.ZodString>;
1055
+ }, "strip", z.ZodTypeAny, {
1056
+ locator: string;
1057
+ userName: string;
1058
+ firstName?: string | undefined;
1059
+ lastName?: string | undefined;
1060
+ }, {
1061
+ locator: string;
1062
+ userName: string;
1063
+ firstName?: string | undefined;
1064
+ lastName?: string | undefined;
1065
+ }>, z.ZodObject<{
1066
+ locator: z.ZodString;
1067
+ isDeleted: z.ZodBoolean;
1068
+ }, "strip", z.ZodTypeAny, {
1069
+ locator: string;
1070
+ isDeleted: boolean;
1071
+ }, {
1072
+ locator: string;
1073
+ isDeleted: boolean;
1074
+ }>]>;
1075
+ createdAt: z.ZodString;
1076
+ updatedBy: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1077
+ locator: z.ZodString;
1078
+ userName: z.ZodString;
1079
+ firstName: z.ZodOptional<z.ZodString>;
1080
+ lastName: z.ZodOptional<z.ZodString>;
1081
+ }, "strip", z.ZodTypeAny, {
1082
+ locator: string;
1083
+ userName: string;
1084
+ firstName?: string | undefined;
1085
+ lastName?: string | undefined;
1086
+ }, {
1087
+ locator: string;
1088
+ userName: string;
1089
+ firstName?: string | undefined;
1090
+ lastName?: string | undefined;
1091
+ }>, z.ZodObject<{
1092
+ locator: z.ZodString;
1093
+ isDeleted: z.ZodBoolean;
1094
+ }, "strip", z.ZodTypeAny, {
1095
+ locator: string;
1096
+ isDeleted: boolean;
1097
+ }, {
1098
+ locator: string;
1099
+ isDeleted: boolean;
1100
+ }>]>>;
1101
+ updatedAt: z.ZodOptional<z.ZodString>;
1102
+ }, "strip", z.ZodTypeAny, {
1103
+ locator: string;
1104
+ type: string;
1105
+ createdBy: {
1106
+ locator: string;
1107
+ userName: string;
1108
+ firstName?: string | undefined;
1109
+ lastName?: string | undefined;
1110
+ } | {
1111
+ locator: string;
1112
+ isDeleted: boolean;
1113
+ };
1114
+ category: string;
1115
+ createdAt: string;
1116
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1117
+ deadlineTime?: string | undefined;
1118
+ underwritingFlagLocators?: string[] | undefined;
1119
+ assignedTo?: {
1120
+ locator: string;
1121
+ userName: string;
1122
+ firstName?: string | undefined;
1123
+ lastName?: string | undefined;
1124
+ } | {
1125
+ locator: string;
1126
+ isDeleted: boolean;
1127
+ } | undefined;
1128
+ updatedBy?: {
1129
+ locator: string;
1130
+ userName: string;
1131
+ firstName?: string | undefined;
1132
+ lastName?: string | undefined;
1133
+ } | {
1134
+ locator: string;
1135
+ isDeleted: boolean;
1136
+ } | undefined;
1137
+ updatedAt?: string | undefined;
1138
+ }, {
1139
+ locator: string;
1140
+ type: string;
1141
+ createdBy: {
1142
+ locator: string;
1143
+ userName: string;
1144
+ firstName?: string | undefined;
1145
+ lastName?: string | undefined;
1146
+ } | {
1147
+ locator: string;
1148
+ isDeleted: boolean;
1149
+ };
1150
+ category: string;
1151
+ createdAt: string;
1152
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1153
+ deadlineTime?: string | undefined;
1154
+ underwritingFlagLocators?: string[] | undefined;
1155
+ assignedTo?: {
1156
+ locator: string;
1157
+ userName: string;
1158
+ firstName?: string | undefined;
1159
+ lastName?: string | undefined;
1160
+ } | {
1161
+ locator: string;
1162
+ isDeleted: boolean;
1163
+ } | undefined;
1164
+ updatedBy?: {
1165
+ locator: string;
1166
+ userName: string;
1167
+ firstName?: string | undefined;
1168
+ lastName?: string | undefined;
1169
+ } | {
1170
+ locator: string;
1171
+ isDeleted: boolean;
1172
+ } | undefined;
1173
+ updatedAt?: string | undefined;
1174
+ }>, "many">;
1175
+ }, "strip", z.ZodTypeAny, {
1176
+ items: {
1177
+ locator: string;
1178
+ type: string;
1179
+ createdBy: {
1180
+ locator: string;
1181
+ userName: string;
1182
+ firstName?: string | undefined;
1183
+ lastName?: string | undefined;
1184
+ } | {
1185
+ locator: string;
1186
+ isDeleted: boolean;
1187
+ };
1188
+ category: string;
1189
+ createdAt: string;
1190
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1191
+ deadlineTime?: string | undefined;
1192
+ underwritingFlagLocators?: string[] | undefined;
1193
+ assignedTo?: {
1194
+ locator: string;
1195
+ userName: string;
1196
+ firstName?: string | undefined;
1197
+ lastName?: string | undefined;
1198
+ } | {
1199
+ locator: string;
1200
+ isDeleted: boolean;
1201
+ } | undefined;
1202
+ updatedBy?: {
1203
+ locator: string;
1204
+ userName: string;
1205
+ firstName?: string | undefined;
1206
+ lastName?: string | undefined;
1207
+ } | {
1208
+ locator: string;
1209
+ isDeleted: boolean;
1210
+ } | undefined;
1211
+ updatedAt?: string | undefined;
1212
+ }[];
1213
+ listCompleted: boolean;
1214
+ }, {
1215
+ items: {
1216
+ locator: string;
1217
+ type: string;
1218
+ createdBy: {
1219
+ locator: string;
1220
+ userName: string;
1221
+ firstName?: string | undefined;
1222
+ lastName?: string | undefined;
1223
+ } | {
1224
+ locator: string;
1225
+ isDeleted: boolean;
1226
+ };
1227
+ category: string;
1228
+ createdAt: string;
1229
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1230
+ deadlineTime?: string | undefined;
1231
+ underwritingFlagLocators?: string[] | undefined;
1232
+ assignedTo?: {
1233
+ locator: string;
1234
+ userName: string;
1235
+ firstName?: string | undefined;
1236
+ lastName?: string | undefined;
1237
+ } | {
1238
+ locator: string;
1239
+ isDeleted: boolean;
1240
+ } | undefined;
1241
+ updatedBy?: {
1242
+ locator: string;
1243
+ userName: string;
1244
+ firstName?: string | undefined;
1245
+ lastName?: string | undefined;
1246
+ } | {
1247
+ locator: string;
1248
+ isDeleted: boolean;
1249
+ } | undefined;
1250
+ updatedAt?: string | undefined;
1251
+ }[];
1252
+ listCompleted: boolean;
1253
+ }>;
1254
+
1014
1255
  export declare const ActivityHistoryListResponseSchema: z.ZodObject<{
1015
1256
  listCompleted: z.ZodBoolean;
1016
1257
  items: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
@@ -1135,6 +1376,166 @@ export declare const ActivityHistoryListResponseSchema: z.ZodObject<{
1135
1376
 
1136
1377
  export declare type ActivityHistoryResponse = z.infer<typeof ActivityHistoryResponseSchema>;
1137
1378
 
1379
+ export declare type ActivityHistoryResponseBff = z.infer<typeof ActivityHistoryResponseBffSchema>;
1380
+
1381
+ export declare const ActivityHistoryResponseBffSchema: z.ZodObject<{
1382
+ locator: z.ZodString;
1383
+ category: z.ZodString;
1384
+ type: z.ZodString;
1385
+ activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1386
+ underwritingFlagLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1387
+ deadlineTime: z.ZodOptional<z.ZodString>;
1388
+ assignedTo: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1389
+ locator: z.ZodString;
1390
+ userName: z.ZodString;
1391
+ firstName: z.ZodOptional<z.ZodString>;
1392
+ lastName: z.ZodOptional<z.ZodString>;
1393
+ }, "strip", z.ZodTypeAny, {
1394
+ locator: string;
1395
+ userName: string;
1396
+ firstName?: string | undefined;
1397
+ lastName?: string | undefined;
1398
+ }, {
1399
+ locator: string;
1400
+ userName: string;
1401
+ firstName?: string | undefined;
1402
+ lastName?: string | undefined;
1403
+ }>, z.ZodObject<{
1404
+ locator: z.ZodString;
1405
+ isDeleted: z.ZodBoolean;
1406
+ }, "strip", z.ZodTypeAny, {
1407
+ locator: string;
1408
+ isDeleted: boolean;
1409
+ }, {
1410
+ locator: string;
1411
+ isDeleted: boolean;
1412
+ }>]>>;
1413
+ createdBy: z.ZodUnion<[z.ZodObject<{
1414
+ locator: z.ZodString;
1415
+ userName: z.ZodString;
1416
+ firstName: z.ZodOptional<z.ZodString>;
1417
+ lastName: z.ZodOptional<z.ZodString>;
1418
+ }, "strip", z.ZodTypeAny, {
1419
+ locator: string;
1420
+ userName: string;
1421
+ firstName?: string | undefined;
1422
+ lastName?: string | undefined;
1423
+ }, {
1424
+ locator: string;
1425
+ userName: string;
1426
+ firstName?: string | undefined;
1427
+ lastName?: string | undefined;
1428
+ }>, z.ZodObject<{
1429
+ locator: z.ZodString;
1430
+ isDeleted: z.ZodBoolean;
1431
+ }, "strip", z.ZodTypeAny, {
1432
+ locator: string;
1433
+ isDeleted: boolean;
1434
+ }, {
1435
+ locator: string;
1436
+ isDeleted: boolean;
1437
+ }>]>;
1438
+ createdAt: z.ZodString;
1439
+ updatedBy: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1440
+ locator: z.ZodString;
1441
+ userName: z.ZodString;
1442
+ firstName: z.ZodOptional<z.ZodString>;
1443
+ lastName: z.ZodOptional<z.ZodString>;
1444
+ }, "strip", z.ZodTypeAny, {
1445
+ locator: string;
1446
+ userName: string;
1447
+ firstName?: string | undefined;
1448
+ lastName?: string | undefined;
1449
+ }, {
1450
+ locator: string;
1451
+ userName: string;
1452
+ firstName?: string | undefined;
1453
+ lastName?: string | undefined;
1454
+ }>, z.ZodObject<{
1455
+ locator: z.ZodString;
1456
+ isDeleted: z.ZodBoolean;
1457
+ }, "strip", z.ZodTypeAny, {
1458
+ locator: string;
1459
+ isDeleted: boolean;
1460
+ }, {
1461
+ locator: string;
1462
+ isDeleted: boolean;
1463
+ }>]>>;
1464
+ updatedAt: z.ZodOptional<z.ZodString>;
1465
+ }, "strip", z.ZodTypeAny, {
1466
+ locator: string;
1467
+ type: string;
1468
+ createdBy: {
1469
+ locator: string;
1470
+ userName: string;
1471
+ firstName?: string | undefined;
1472
+ lastName?: string | undefined;
1473
+ } | {
1474
+ locator: string;
1475
+ isDeleted: boolean;
1476
+ };
1477
+ category: string;
1478
+ createdAt: string;
1479
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1480
+ deadlineTime?: string | undefined;
1481
+ underwritingFlagLocators?: string[] | undefined;
1482
+ assignedTo?: {
1483
+ locator: string;
1484
+ userName: string;
1485
+ firstName?: string | undefined;
1486
+ lastName?: string | undefined;
1487
+ } | {
1488
+ locator: string;
1489
+ isDeleted: boolean;
1490
+ } | undefined;
1491
+ updatedBy?: {
1492
+ locator: string;
1493
+ userName: string;
1494
+ firstName?: string | undefined;
1495
+ lastName?: string | undefined;
1496
+ } | {
1497
+ locator: string;
1498
+ isDeleted: boolean;
1499
+ } | undefined;
1500
+ updatedAt?: string | undefined;
1501
+ }, {
1502
+ locator: string;
1503
+ type: string;
1504
+ createdBy: {
1505
+ locator: string;
1506
+ userName: string;
1507
+ firstName?: string | undefined;
1508
+ lastName?: string | undefined;
1509
+ } | {
1510
+ locator: string;
1511
+ isDeleted: boolean;
1512
+ };
1513
+ category: string;
1514
+ createdAt: string;
1515
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1516
+ deadlineTime?: string | undefined;
1517
+ underwritingFlagLocators?: string[] | undefined;
1518
+ assignedTo?: {
1519
+ locator: string;
1520
+ userName: string;
1521
+ firstName?: string | undefined;
1522
+ lastName?: string | undefined;
1523
+ } | {
1524
+ locator: string;
1525
+ isDeleted: boolean;
1526
+ } | undefined;
1527
+ updatedBy?: {
1528
+ locator: string;
1529
+ userName: string;
1530
+ firstName?: string | undefined;
1531
+ lastName?: string | undefined;
1532
+ } | {
1533
+ locator: string;
1534
+ isDeleted: boolean;
1535
+ } | undefined;
1536
+ updatedAt?: string | undefined;
1537
+ }>;
1538
+
1138
1539
  export declare const ActivityHistoryResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
1139
1540
  locator: z.ZodString;
1140
1541
  category: z.ZodString;