@socotra/ec-react-schemas 2.15.0-next.0 → 2.15.0-next.1

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
@@ -1009,79 +1009,29 @@ export declare const ActivityHistoryInitialResponseSchema: z.ZodObject<{
1009
1009
  activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1010
1010
  underwritingFlagLocators: z.ZodArray<z.ZodString, "many">;
1011
1011
  deadlineTime: z.ZodString;
1012
- assignedTo: z.ZodObject<{
1013
- locator: z.ZodString;
1014
- userName: z.ZodString;
1015
- firstName: z.ZodOptional<z.ZodString>;
1016
- lastName: z.ZodOptional<z.ZodString>;
1017
- }, "strip", z.ZodTypeAny, {
1018
- locator: string;
1019
- userName: string;
1020
- firstName?: string | undefined;
1021
- lastName?: string | undefined;
1022
- }, {
1023
- locator: string;
1024
- userName: string;
1025
- firstName?: string | undefined;
1026
- lastName?: string | undefined;
1027
- }>;
1028
- createdBy: z.ZodObject<{
1029
- locator: z.ZodString;
1030
- userName: z.ZodString;
1031
- firstName: z.ZodOptional<z.ZodString>;
1032
- lastName: z.ZodOptional<z.ZodString>;
1033
- }, "strip", z.ZodTypeAny, {
1034
- locator: string;
1035
- userName: string;
1036
- firstName?: string | undefined;
1037
- lastName?: string | undefined;
1038
- }, {
1039
- locator: string;
1040
- userName: string;
1041
- firstName?: string | undefined;
1042
- lastName?: string | undefined;
1043
- }>;
1012
+ assignedTo: z.ZodOptional<z.ZodString>;
1013
+ createdBy: z.ZodString;
1044
1014
  createdAt: z.ZodString;
1045
1015
  }, "strip", z.ZodTypeAny, {
1046
1016
  locator: string;
1047
1017
  type: string;
1048
- createdBy: {
1049
- locator: string;
1050
- userName: string;
1051
- firstName?: string | undefined;
1052
- lastName?: string | undefined;
1053
- };
1018
+ createdBy: string;
1054
1019
  category: string;
1055
1020
  deadlineTime: string;
1056
1021
  underwritingFlagLocators: string[];
1057
- assignedTo: {
1058
- locator: string;
1059
- userName: string;
1060
- firstName?: string | undefined;
1061
- lastName?: string | undefined;
1062
- };
1063
1022
  createdAt: string;
1064
1023
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1024
+ assignedTo?: string | undefined;
1065
1025
  }, {
1066
1026
  locator: string;
1067
1027
  type: string;
1068
- createdBy: {
1069
- locator: string;
1070
- userName: string;
1071
- firstName?: string | undefined;
1072
- lastName?: string | undefined;
1073
- };
1028
+ createdBy: string;
1074
1029
  category: string;
1075
1030
  deadlineTime: string;
1076
1031
  underwritingFlagLocators: string[];
1077
- assignedTo: {
1078
- locator: string;
1079
- userName: string;
1080
- firstName?: string | undefined;
1081
- lastName?: string | undefined;
1082
- };
1083
1032
  createdAt: string;
1084
1033
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1034
+ assignedTo?: string | undefined;
1085
1035
  }>;
1086
1036
 
1087
1037
  export declare type ActivityHistoryListResponse = z.infer<typeof ActivityHistoryListResponseSchema>;
@@ -1095,111 +1045,36 @@ export declare const ActivityHistoryListResponseSchema: z.ZodObject<{
1095
1045
  activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1096
1046
  underwritingFlagLocators: z.ZodArray<z.ZodString, "many">;
1097
1047
  deadlineTime: z.ZodString;
1098
- assignedTo: z.ZodObject<{
1099
- locator: z.ZodString;
1100
- userName: z.ZodString;
1101
- firstName: z.ZodOptional<z.ZodString>;
1102
- lastName: z.ZodOptional<z.ZodString>;
1103
- }, "strip", z.ZodTypeAny, {
1104
- locator: string;
1105
- userName: string;
1106
- firstName?: string | undefined;
1107
- lastName?: string | undefined;
1108
- }, {
1109
- locator: string;
1110
- userName: string;
1111
- firstName?: string | undefined;
1112
- lastName?: string | undefined;
1113
- }>;
1114
- createdBy: z.ZodObject<{
1115
- locator: z.ZodString;
1116
- userName: z.ZodString;
1117
- firstName: z.ZodOptional<z.ZodString>;
1118
- lastName: z.ZodOptional<z.ZodString>;
1119
- }, "strip", z.ZodTypeAny, {
1120
- locator: string;
1121
- userName: string;
1122
- firstName?: string | undefined;
1123
- lastName?: string | undefined;
1124
- }, {
1125
- locator: string;
1126
- userName: string;
1127
- firstName?: string | undefined;
1128
- lastName?: string | undefined;
1129
- }>;
1048
+ assignedTo: z.ZodOptional<z.ZodString>;
1049
+ createdBy: z.ZodString;
1130
1050
  createdAt: z.ZodString;
1131
1051
  }, {
1132
- updatedBy: z.ZodObject<{
1133
- locator: z.ZodString;
1134
- userName: z.ZodString;
1135
- firstName: z.ZodOptional<z.ZodString>;
1136
- lastName: z.ZodOptional<z.ZodString>;
1137
- }, "strip", z.ZodTypeAny, {
1138
- locator: string;
1139
- userName: string;
1140
- firstName?: string | undefined;
1141
- lastName?: string | undefined;
1142
- }, {
1143
- locator: string;
1144
- userName: string;
1145
- firstName?: string | undefined;
1146
- lastName?: string | undefined;
1147
- }>;
1052
+ updatedBy: z.ZodOptional<z.ZodString>;
1148
1053
  updatedAt: z.ZodString;
1149
1054
  }>, "strip", z.ZodTypeAny, {
1150
1055
  locator: string;
1151
1056
  type: string;
1152
- createdBy: {
1153
- locator: string;
1154
- userName: string;
1155
- firstName?: string | undefined;
1156
- lastName?: string | undefined;
1157
- };
1057
+ createdBy: string;
1158
1058
  category: string;
1159
1059
  deadlineTime: string;
1160
1060
  underwritingFlagLocators: string[];
1161
- assignedTo: {
1162
- locator: string;
1163
- userName: string;
1164
- firstName?: string | undefined;
1165
- lastName?: string | undefined;
1166
- };
1167
1061
  createdAt: string;
1168
- updatedBy: {
1169
- locator: string;
1170
- userName: string;
1171
- firstName?: string | undefined;
1172
- lastName?: string | undefined;
1173
- };
1174
1062
  updatedAt: string;
1175
1063
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1064
+ assignedTo?: string | undefined;
1065
+ updatedBy?: string | undefined;
1176
1066
  }, {
1177
1067
  locator: string;
1178
1068
  type: string;
1179
- createdBy: {
1180
- locator: string;
1181
- userName: string;
1182
- firstName?: string | undefined;
1183
- lastName?: string | undefined;
1184
- };
1069
+ createdBy: string;
1185
1070
  category: string;
1186
1071
  deadlineTime: string;
1187
1072
  underwritingFlagLocators: string[];
1188
- assignedTo: {
1189
- locator: string;
1190
- userName: string;
1191
- firstName?: string | undefined;
1192
- lastName?: string | undefined;
1193
- };
1194
1073
  createdAt: string;
1195
- updatedBy: {
1196
- locator: string;
1197
- userName: string;
1198
- firstName?: string | undefined;
1199
- lastName?: string | undefined;
1200
- };
1201
1074
  updatedAt: string;
1202
1075
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1076
+ assignedTo?: string | undefined;
1077
+ updatedBy?: string | undefined;
1203
1078
  }>, z.ZodObject<{
1204
1079
  locator: z.ZodString;
1205
1080
  category: z.ZodString;
@@ -1207,178 +1082,78 @@ export declare const ActivityHistoryListResponseSchema: z.ZodObject<{
1207
1082
  activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1208
1083
  underwritingFlagLocators: z.ZodArray<z.ZodString, "many">;
1209
1084
  deadlineTime: z.ZodString;
1210
- assignedTo: z.ZodObject<{
1211
- locator: z.ZodString;
1212
- userName: z.ZodString;
1213
- firstName: z.ZodOptional<z.ZodString>;
1214
- lastName: z.ZodOptional<z.ZodString>;
1215
- }, "strip", z.ZodTypeAny, {
1216
- locator: string;
1217
- userName: string;
1218
- firstName?: string | undefined;
1219
- lastName?: string | undefined;
1220
- }, {
1221
- locator: string;
1222
- userName: string;
1223
- firstName?: string | undefined;
1224
- lastName?: string | undefined;
1225
- }>;
1226
- createdBy: z.ZodObject<{
1227
- locator: z.ZodString;
1228
- userName: z.ZodString;
1229
- firstName: z.ZodOptional<z.ZodString>;
1230
- lastName: z.ZodOptional<z.ZodString>;
1231
- }, "strip", z.ZodTypeAny, {
1232
- locator: string;
1233
- userName: string;
1234
- firstName?: string | undefined;
1235
- lastName?: string | undefined;
1236
- }, {
1237
- locator: string;
1238
- userName: string;
1239
- firstName?: string | undefined;
1240
- lastName?: string | undefined;
1241
- }>;
1085
+ assignedTo: z.ZodOptional<z.ZodString>;
1086
+ createdBy: z.ZodString;
1242
1087
  createdAt: z.ZodString;
1243
1088
  }, "strip", z.ZodTypeAny, {
1244
1089
  locator: string;
1245
1090
  type: string;
1246
- createdBy: {
1247
- locator: string;
1248
- userName: string;
1249
- firstName?: string | undefined;
1250
- lastName?: string | undefined;
1251
- };
1091
+ createdBy: string;
1252
1092
  category: string;
1253
1093
  deadlineTime: string;
1254
1094
  underwritingFlagLocators: string[];
1255
- assignedTo: {
1256
- locator: string;
1257
- userName: string;
1258
- firstName?: string | undefined;
1259
- lastName?: string | undefined;
1260
- };
1261
1095
  createdAt: string;
1262
1096
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1097
+ assignedTo?: string | undefined;
1263
1098
  }, {
1264
1099
  locator: string;
1265
1100
  type: string;
1266
- createdBy: {
1267
- locator: string;
1268
- userName: string;
1269
- firstName?: string | undefined;
1270
- lastName?: string | undefined;
1271
- };
1101
+ createdBy: string;
1272
1102
  category: string;
1273
1103
  deadlineTime: string;
1274
1104
  underwritingFlagLocators: string[];
1275
- assignedTo: {
1276
- locator: string;
1277
- userName: string;
1278
- firstName?: string | undefined;
1279
- lastName?: string | undefined;
1280
- };
1281
1105
  createdAt: string;
1282
1106
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1107
+ assignedTo?: string | undefined;
1283
1108
  }>]>, "many">;
1284
1109
  }, "strip", z.ZodTypeAny, {
1285
1110
  items: ({
1286
1111
  locator: string;
1287
1112
  type: string;
1288
- createdBy: {
1289
- locator: string;
1290
- userName: string;
1291
- firstName?: string | undefined;
1292
- lastName?: string | undefined;
1293
- };
1113
+ createdBy: string;
1294
1114
  category: string;
1295
1115
  deadlineTime: string;
1296
1116
  underwritingFlagLocators: string[];
1297
- assignedTo: {
1298
- locator: string;
1299
- userName: string;
1300
- firstName?: string | undefined;
1301
- lastName?: string | undefined;
1302
- };
1303
1117
  createdAt: string;
1304
1118
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1119
+ assignedTo?: string | undefined;
1305
1120
  } | {
1306
1121
  locator: string;
1307
1122
  type: string;
1308
- createdBy: {
1309
- locator: string;
1310
- userName: string;
1311
- firstName?: string | undefined;
1312
- lastName?: string | undefined;
1313
- };
1123
+ createdBy: string;
1314
1124
  category: string;
1315
1125
  deadlineTime: string;
1316
1126
  underwritingFlagLocators: string[];
1317
- assignedTo: {
1318
- locator: string;
1319
- userName: string;
1320
- firstName?: string | undefined;
1321
- lastName?: string | undefined;
1322
- };
1323
1127
  createdAt: string;
1324
- updatedBy: {
1325
- locator: string;
1326
- userName: string;
1327
- firstName?: string | undefined;
1328
- lastName?: string | undefined;
1329
- };
1330
1128
  updatedAt: string;
1331
1129
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1130
+ assignedTo?: string | undefined;
1131
+ updatedBy?: string | undefined;
1332
1132
  })[];
1333
1133
  listCompleted: boolean;
1334
1134
  }, {
1335
1135
  items: ({
1336
1136
  locator: string;
1337
1137
  type: string;
1338
- createdBy: {
1339
- locator: string;
1340
- userName: string;
1341
- firstName?: string | undefined;
1342
- lastName?: string | undefined;
1343
- };
1138
+ createdBy: string;
1344
1139
  category: string;
1345
1140
  deadlineTime: string;
1346
1141
  underwritingFlagLocators: string[];
1347
- assignedTo: {
1348
- locator: string;
1349
- userName: string;
1350
- firstName?: string | undefined;
1351
- lastName?: string | undefined;
1352
- };
1353
1142
  createdAt: string;
1354
1143
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1144
+ assignedTo?: string | undefined;
1355
1145
  } | {
1356
1146
  locator: string;
1357
1147
  type: string;
1358
- createdBy: {
1359
- locator: string;
1360
- userName: string;
1361
- firstName?: string | undefined;
1362
- lastName?: string | undefined;
1363
- };
1148
+ createdBy: string;
1364
1149
  category: string;
1365
1150
  deadlineTime: string;
1366
1151
  underwritingFlagLocators: string[];
1367
- assignedTo: {
1368
- locator: string;
1369
- userName: string;
1370
- firstName?: string | undefined;
1371
- lastName?: string | undefined;
1372
- };
1373
1152
  createdAt: string;
1374
- updatedBy: {
1375
- locator: string;
1376
- userName: string;
1377
- firstName?: string | undefined;
1378
- lastName?: string | undefined;
1379
- };
1380
1153
  updatedAt: string;
1381
1154
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1155
+ assignedTo?: string | undefined;
1156
+ updatedBy?: string | undefined;
1382
1157
  })[];
1383
1158
  listCompleted: boolean;
1384
1159
  }>;
@@ -1392,111 +1167,36 @@ export declare const ActivityHistoryResponseSchema: z.ZodObject<z.objectUtil.ext
1392
1167
  activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1393
1168
  underwritingFlagLocators: z.ZodArray<z.ZodString, "many">;
1394
1169
  deadlineTime: z.ZodString;
1395
- assignedTo: z.ZodObject<{
1396
- locator: z.ZodString;
1397
- userName: z.ZodString;
1398
- firstName: z.ZodOptional<z.ZodString>;
1399
- lastName: z.ZodOptional<z.ZodString>;
1400
- }, "strip", z.ZodTypeAny, {
1401
- locator: string;
1402
- userName: string;
1403
- firstName?: string | undefined;
1404
- lastName?: string | undefined;
1405
- }, {
1406
- locator: string;
1407
- userName: string;
1408
- firstName?: string | undefined;
1409
- lastName?: string | undefined;
1410
- }>;
1411
- createdBy: z.ZodObject<{
1412
- locator: z.ZodString;
1413
- userName: z.ZodString;
1414
- firstName: z.ZodOptional<z.ZodString>;
1415
- lastName: z.ZodOptional<z.ZodString>;
1416
- }, "strip", z.ZodTypeAny, {
1417
- locator: string;
1418
- userName: string;
1419
- firstName?: string | undefined;
1420
- lastName?: string | undefined;
1421
- }, {
1422
- locator: string;
1423
- userName: string;
1424
- firstName?: string | undefined;
1425
- lastName?: string | undefined;
1426
- }>;
1170
+ assignedTo: z.ZodOptional<z.ZodString>;
1171
+ createdBy: z.ZodString;
1427
1172
  createdAt: z.ZodString;
1428
1173
  }, {
1429
- updatedBy: z.ZodObject<{
1430
- locator: z.ZodString;
1431
- userName: z.ZodString;
1432
- firstName: z.ZodOptional<z.ZodString>;
1433
- lastName: z.ZodOptional<z.ZodString>;
1434
- }, "strip", z.ZodTypeAny, {
1435
- locator: string;
1436
- userName: string;
1437
- firstName?: string | undefined;
1438
- lastName?: string | undefined;
1439
- }, {
1440
- locator: string;
1441
- userName: string;
1442
- firstName?: string | undefined;
1443
- lastName?: string | undefined;
1444
- }>;
1174
+ updatedBy: z.ZodOptional<z.ZodString>;
1445
1175
  updatedAt: z.ZodString;
1446
1176
  }>, "strip", z.ZodTypeAny, {
1447
1177
  locator: string;
1448
1178
  type: string;
1449
- createdBy: {
1450
- locator: string;
1451
- userName: string;
1452
- firstName?: string | undefined;
1453
- lastName?: string | undefined;
1454
- };
1179
+ createdBy: string;
1455
1180
  category: string;
1456
1181
  deadlineTime: string;
1457
1182
  underwritingFlagLocators: string[];
1458
- assignedTo: {
1459
- locator: string;
1460
- userName: string;
1461
- firstName?: string | undefined;
1462
- lastName?: string | undefined;
1463
- };
1464
1183
  createdAt: string;
1465
- updatedBy: {
1466
- locator: string;
1467
- userName: string;
1468
- firstName?: string | undefined;
1469
- lastName?: string | undefined;
1470
- };
1471
1184
  updatedAt: string;
1472
1185
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1186
+ assignedTo?: string | undefined;
1187
+ updatedBy?: string | undefined;
1473
1188
  }, {
1474
1189
  locator: string;
1475
1190
  type: string;
1476
- createdBy: {
1477
- locator: string;
1478
- userName: string;
1479
- firstName?: string | undefined;
1480
- lastName?: string | undefined;
1481
- };
1191
+ createdBy: string;
1482
1192
  category: string;
1483
1193
  deadlineTime: string;
1484
1194
  underwritingFlagLocators: string[];
1485
- assignedTo: {
1486
- locator: string;
1487
- userName: string;
1488
- firstName?: string | undefined;
1489
- lastName?: string | undefined;
1490
- };
1491
1195
  createdAt: string;
1492
- updatedBy: {
1493
- locator: string;
1494
- userName: string;
1495
- firstName?: string | undefined;
1496
- lastName?: string | undefined;
1497
- };
1498
1196
  updatedAt: string;
1499
1197
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1198
+ assignedTo?: string | undefined;
1199
+ updatedBy?: string | undefined;
1500
1200
  }>;
1501
1201
 
1502
1202
  export declare type ActivityId = z.infer<typeof ActivityIdSchema>;