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

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
@@ -952,22 +952,7 @@ export declare const ActivityCreateRequestSchema: z.ZodObject<{
952
952
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
953
953
  referenceLocator: string;
954
954
  }>, "many">;
955
- assignedTo: z.ZodOptional<z.ZodObject<{
956
- locator: z.ZodString;
957
- userName: z.ZodString;
958
- firstName: z.ZodOptional<z.ZodString>;
959
- lastName: z.ZodOptional<z.ZodString>;
960
- }, "strip", z.ZodTypeAny, {
961
- locator: string;
962
- userName: string;
963
- firstName?: string | undefined;
964
- lastName?: string | undefined;
965
- }, {
966
- locator: string;
967
- userName: string;
968
- firstName?: string | undefined;
969
- lastName?: string | undefined;
970
- }>>;
955
+ assignedTo: z.ZodOptional<z.ZodString>;
971
956
  type: z.ZodString;
972
957
  underwritingFlagLocators: z.ZodArray<z.ZodString, "many">;
973
958
  }, "strip", z.ZodTypeAny, {
@@ -978,12 +963,7 @@ export declare const ActivityCreateRequestSchema: z.ZodObject<{
978
963
  referenceLocator: string;
979
964
  }[];
980
965
  underwritingFlagLocators: string[];
981
- assignedTo?: {
982
- locator: string;
983
- userName: string;
984
- firstName?: string | undefined;
985
- lastName?: string | undefined;
986
- } | undefined;
966
+ assignedTo?: string | undefined;
987
967
  }, {
988
968
  type: string;
989
969
  deadlineTime: string;
@@ -992,12 +972,7 @@ export declare const ActivityCreateRequestSchema: z.ZodObject<{
992
972
  referenceLocator: string;
993
973
  }[];
994
974
  underwritingFlagLocators: string[];
995
- assignedTo?: {
996
- locator: string;
997
- userName: string;
998
- firstName?: string | undefined;
999
- lastName?: string | undefined;
1000
- } | undefined;
975
+ assignedTo?: string | undefined;
1001
976
  }>;
1002
977
 
1003
978
  export declare type ActivityHistoryInitialResponse = z.infer<typeof ActivityHistoryInitialResponseSchema>;
@@ -1205,24 +1180,12 @@ export declare const ActivityIdSchema: z.ZodString;
1205
1180
 
1206
1181
  export declare type ActivityListResponse = z.infer<typeof ActivityListResponseSchema>;
1207
1182
 
1208
- export declare const ActivityListResponseSchema: z.ZodObject<{
1183
+ export declare type ActivityListResponseBff = z.infer<typeof ActivityListResponseBffSchema>;
1184
+
1185
+ export declare const ActivityListResponseBffSchema: z.ZodObject<{
1209
1186
  listCompleted: z.ZodBoolean;
1210
1187
  items: z.ZodArray<z.ZodObject<{
1211
- locator: z.ZodString;
1212
- activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1213
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
1214
- referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1215
- referenceLocator: z.ZodString;
1216
- }, "strip", z.ZodTypeAny, {
1217
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1218
- referenceLocator: string;
1219
- }, {
1220
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1221
- referenceLocator: string;
1222
- }>, "many">>;
1223
- underwritingFlagLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1224
- deadlineTime: z.ZodOptional<z.ZodString>;
1225
- assignedTo: z.ZodOptional<z.ZodObject<{
1188
+ assignedTo: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1226
1189
  locator: z.ZodString;
1227
1190
  userName: z.ZodString;
1228
1191
  firstName: z.ZodOptional<z.ZodString>;
@@ -1237,8 +1200,17 @@ export declare const ActivityListResponseSchema: z.ZodObject<{
1237
1200
  userName: string;
1238
1201
  firstName?: string | undefined;
1239
1202
  lastName?: string | undefined;
1240
- }>>;
1241
- createdBy: z.ZodObject<{
1203
+ }>, z.ZodObject<{
1204
+ locator: z.ZodString;
1205
+ isDeleted: z.ZodBoolean;
1206
+ }, "strip", z.ZodTypeAny, {
1207
+ locator: string;
1208
+ isDeleted: boolean;
1209
+ }, {
1210
+ locator: string;
1211
+ isDeleted: boolean;
1212
+ }>]>>;
1213
+ createdBy: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1242
1214
  locator: z.ZodString;
1243
1215
  userName: z.ZodString;
1244
1216
  firstName: z.ZodOptional<z.ZodString>;
@@ -1253,9 +1225,17 @@ export declare const ActivityListResponseSchema: z.ZodObject<{
1253
1225
  userName: string;
1254
1226
  firstName?: string | undefined;
1255
1227
  lastName?: string | undefined;
1256
- }>;
1257
- createdAt: z.ZodString;
1258
- updatedBy: z.ZodOptional<z.ZodObject<{
1228
+ }>, z.ZodObject<{
1229
+ locator: z.ZodString;
1230
+ isDeleted: z.ZodBoolean;
1231
+ }, "strip", z.ZodTypeAny, {
1232
+ locator: string;
1233
+ isDeleted: boolean;
1234
+ }, {
1235
+ locator: string;
1236
+ isDeleted: boolean;
1237
+ }>]>>;
1238
+ updatedBy: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1259
1239
  locator: z.ZodString;
1260
1240
  userName: z.ZodString;
1261
1241
  firstName: z.ZodOptional<z.ZodString>;
@@ -1270,22 +1250,49 @@ export declare const ActivityListResponseSchema: z.ZodObject<{
1270
1250
  userName: string;
1271
1251
  firstName?: string | undefined;
1272
1252
  lastName?: string | undefined;
1273
- }>>;
1253
+ }>, z.ZodObject<{
1254
+ locator: z.ZodString;
1255
+ isDeleted: z.ZodBoolean;
1256
+ }, "strip", z.ZodTypeAny, {
1257
+ locator: string;
1258
+ isDeleted: boolean;
1259
+ }, {
1260
+ locator: string;
1261
+ isDeleted: boolean;
1262
+ }>]>>;
1263
+ locator: z.ZodString;
1264
+ activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1265
+ references: z.ZodOptional<z.ZodArray<z.ZodObject<{
1266
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1267
+ referenceLocator: z.ZodString;
1268
+ }, "strip", z.ZodTypeAny, {
1269
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1270
+ referenceLocator: string;
1271
+ }, {
1272
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1273
+ referenceLocator: string;
1274
+ }>, "many">>;
1275
+ underwritingFlagLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1276
+ deadlineTime: z.ZodOptional<z.ZodString>;
1277
+ createdAt: z.ZodString;
1274
1278
  updatedAt: z.ZodOptional<z.ZodString>;
1275
1279
  category: z.ZodString;
1276
1280
  type: z.ZodString;
1277
1281
  }, "strip", z.ZodTypeAny, {
1278
1282
  locator: string;
1279
1283
  type: string;
1280
- createdBy: {
1284
+ category: string;
1285
+ createdAt: string;
1286
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1287
+ createdBy?: {
1281
1288
  locator: string;
1282
1289
  userName: string;
1283
1290
  firstName?: string | undefined;
1284
1291
  lastName?: string | undefined;
1285
- };
1286
- category: string;
1287
- createdAt: string;
1288
- activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1292
+ } | {
1293
+ locator: string;
1294
+ isDeleted: boolean;
1295
+ } | undefined;
1289
1296
  deadlineTime?: string | undefined;
1290
1297
  references?: {
1291
1298
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
@@ -1297,26 +1304,35 @@ export declare const ActivityListResponseSchema: z.ZodObject<{
1297
1304
  userName: string;
1298
1305
  firstName?: string | undefined;
1299
1306
  lastName?: string | undefined;
1307
+ } | {
1308
+ locator: string;
1309
+ isDeleted: boolean;
1300
1310
  } | undefined;
1301
1311
  updatedBy?: {
1302
1312
  locator: string;
1303
1313
  userName: string;
1304
1314
  firstName?: string | undefined;
1305
1315
  lastName?: string | undefined;
1316
+ } | {
1317
+ locator: string;
1318
+ isDeleted: boolean;
1306
1319
  } | undefined;
1307
1320
  updatedAt?: string | undefined;
1308
1321
  }, {
1309
1322
  locator: string;
1310
1323
  type: string;
1311
- createdBy: {
1324
+ category: string;
1325
+ createdAt: string;
1326
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1327
+ createdBy?: {
1312
1328
  locator: string;
1313
1329
  userName: string;
1314
1330
  firstName?: string | undefined;
1315
1331
  lastName?: string | undefined;
1316
- };
1317
- category: string;
1318
- createdAt: string;
1319
- activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1332
+ } | {
1333
+ locator: string;
1334
+ isDeleted: boolean;
1335
+ } | undefined;
1320
1336
  deadlineTime?: string | undefined;
1321
1337
  references?: {
1322
1338
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
@@ -1328,12 +1344,18 @@ export declare const ActivityListResponseSchema: z.ZodObject<{
1328
1344
  userName: string;
1329
1345
  firstName?: string | undefined;
1330
1346
  lastName?: string | undefined;
1347
+ } | {
1348
+ locator: string;
1349
+ isDeleted: boolean;
1331
1350
  } | undefined;
1332
1351
  updatedBy?: {
1333
1352
  locator: string;
1334
1353
  userName: string;
1335
1354
  firstName?: string | undefined;
1336
1355
  lastName?: string | undefined;
1356
+ } | {
1357
+ locator: string;
1358
+ isDeleted: boolean;
1337
1359
  } | undefined;
1338
1360
  updatedAt?: string | undefined;
1339
1361
  }>, "many">;
@@ -1341,15 +1363,18 @@ export declare const ActivityListResponseSchema: z.ZodObject<{
1341
1363
  items: {
1342
1364
  locator: string;
1343
1365
  type: string;
1344
- createdBy: {
1366
+ category: string;
1367
+ createdAt: string;
1368
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1369
+ createdBy?: {
1345
1370
  locator: string;
1346
1371
  userName: string;
1347
1372
  firstName?: string | undefined;
1348
1373
  lastName?: string | undefined;
1349
- };
1350
- category: string;
1351
- createdAt: string;
1352
- activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1374
+ } | {
1375
+ locator: string;
1376
+ isDeleted: boolean;
1377
+ } | undefined;
1353
1378
  deadlineTime?: string | undefined;
1354
1379
  references?: {
1355
1380
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
@@ -1361,12 +1386,18 @@ export declare const ActivityListResponseSchema: z.ZodObject<{
1361
1386
  userName: string;
1362
1387
  firstName?: string | undefined;
1363
1388
  lastName?: string | undefined;
1389
+ } | {
1390
+ locator: string;
1391
+ isDeleted: boolean;
1364
1392
  } | undefined;
1365
1393
  updatedBy?: {
1366
1394
  locator: string;
1367
1395
  userName: string;
1368
1396
  firstName?: string | undefined;
1369
1397
  lastName?: string | undefined;
1398
+ } | {
1399
+ locator: string;
1400
+ isDeleted: boolean;
1370
1401
  } | undefined;
1371
1402
  updatedAt?: string | undefined;
1372
1403
  }[];
@@ -1375,15 +1406,18 @@ export declare const ActivityListResponseSchema: z.ZodObject<{
1375
1406
  items: {
1376
1407
  locator: string;
1377
1408
  type: string;
1378
- createdBy: {
1409
+ category: string;
1410
+ createdAt: string;
1411
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1412
+ createdBy?: {
1379
1413
  locator: string;
1380
1414
  userName: string;
1381
1415
  firstName?: string | undefined;
1382
1416
  lastName?: string | undefined;
1383
- };
1384
- category: string;
1385
- createdAt: string;
1386
- activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1417
+ } | {
1418
+ locator: string;
1419
+ isDeleted: boolean;
1420
+ } | undefined;
1387
1421
  deadlineTime?: string | undefined;
1388
1422
  references?: {
1389
1423
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
@@ -1395,468 +1429,97 @@ export declare const ActivityListResponseSchema: z.ZodObject<{
1395
1429
  userName: string;
1396
1430
  firstName?: string | undefined;
1397
1431
  lastName?: string | undefined;
1432
+ } | {
1433
+ locator: string;
1434
+ isDeleted: boolean;
1398
1435
  } | undefined;
1399
1436
  updatedBy?: {
1400
1437
  locator: string;
1401
1438
  userName: string;
1402
1439
  firstName?: string | undefined;
1403
1440
  lastName?: string | undefined;
1441
+ } | {
1442
+ locator: string;
1443
+ isDeleted: boolean;
1404
1444
  } | undefined;
1405
1445
  updatedAt?: string | undefined;
1406
1446
  }[];
1407
1447
  listCompleted: boolean;
1408
1448
  }>;
1409
1449
 
1410
- export declare const ActivityParamsSchema: z.ZodObject<z.objectUtil.extendShape<{
1411
- tenantLocator: z.ZodString;
1412
- }, {
1413
- activityLocator: z.ZodString;
1414
- }>, "strip", z.ZodTypeAny, {
1415
- tenantLocator: string;
1416
- activityLocator: string;
1417
- }, {
1418
- tenantLocator: string;
1419
- activityLocator: string;
1420
- }>;
1421
-
1422
- export declare type ActivityReference = z.infer<typeof ActivityReferenceSchema>;
1423
-
1424
- export declare type ActivityReferenceEnum = z.infer<typeof ActivityReferenceEnumSchema>;
1425
-
1426
- export declare const ActivityReferenceEnumSchema: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1427
-
1428
- export declare const ActivityReferenceSchema: z.ZodObject<{
1429
- referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1430
- referenceLocator: z.ZodString;
1431
- }, "strip", z.ZodTypeAny, {
1432
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1433
- referenceLocator: string;
1434
- }, {
1435
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1436
- referenceLocator: string;
1437
- }>;
1438
-
1439
- export declare type ActivityResponse = z.infer<typeof ActivityResponseSchema>;
1440
-
1441
- export declare const ActivityResponseSchema: z.ZodObject<{
1442
- locator: z.ZodString;
1443
- activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1444
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
1445
- referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1446
- referenceLocator: z.ZodString;
1447
- }, "strip", z.ZodTypeAny, {
1448
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1449
- referenceLocator: string;
1450
- }, {
1451
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1452
- referenceLocator: string;
1453
- }>, "many">>;
1454
- underwritingFlagLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1455
- deadlineTime: z.ZodOptional<z.ZodString>;
1456
- assignedTo: z.ZodOptional<z.ZodObject<{
1450
+ export declare const ActivityListResponseSchema: z.ZodObject<{
1451
+ listCompleted: z.ZodBoolean;
1452
+ items: z.ZodArray<z.ZodObject<{
1457
1453
  locator: z.ZodString;
1458
- userName: z.ZodString;
1459
- firstName: z.ZodOptional<z.ZodString>;
1460
- lastName: z.ZodOptional<z.ZodString>;
1461
- }, "strip", z.ZodTypeAny, {
1462
- locator: string;
1463
- userName: string;
1464
- firstName?: string | undefined;
1465
- lastName?: string | undefined;
1466
- }, {
1467
- locator: string;
1468
- userName: string;
1469
- firstName?: string | undefined;
1470
- lastName?: string | undefined;
1471
- }>>;
1472
- createdBy: z.ZodObject<{
1473
- locator: z.ZodString;
1474
- userName: z.ZodString;
1475
- firstName: z.ZodOptional<z.ZodString>;
1476
- lastName: z.ZodOptional<z.ZodString>;
1477
- }, "strip", z.ZodTypeAny, {
1478
- locator: string;
1479
- userName: string;
1480
- firstName?: string | undefined;
1481
- lastName?: string | undefined;
1482
- }, {
1483
- locator: string;
1484
- userName: string;
1485
- firstName?: string | undefined;
1486
- lastName?: string | undefined;
1487
- }>;
1488
- createdAt: z.ZodString;
1489
- updatedBy: z.ZodOptional<z.ZodObject<{
1490
- locator: z.ZodString;
1491
- userName: z.ZodString;
1492
- firstName: z.ZodOptional<z.ZodString>;
1493
- lastName: z.ZodOptional<z.ZodString>;
1494
- }, "strip", z.ZodTypeAny, {
1495
- locator: string;
1496
- userName: string;
1497
- firstName?: string | undefined;
1498
- lastName?: string | undefined;
1499
- }, {
1500
- locator: string;
1501
- userName: string;
1502
- firstName?: string | undefined;
1503
- lastName?: string | undefined;
1504
- }>>;
1505
- updatedAt: z.ZodOptional<z.ZodString>;
1506
- category: z.ZodString;
1507
- type: z.ZodString;
1508
- }, "strip", z.ZodTypeAny, {
1509
- locator: string;
1510
- type: string;
1511
- createdBy: {
1512
- locator: string;
1513
- userName: string;
1514
- firstName?: string | undefined;
1515
- lastName?: string | undefined;
1516
- };
1517
- category: string;
1518
- createdAt: string;
1519
- activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1520
- deadlineTime?: string | undefined;
1521
- references?: {
1522
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1523
- referenceLocator: string;
1524
- }[] | undefined;
1525
- underwritingFlagLocators?: string[] | undefined;
1526
- assignedTo?: {
1527
- locator: string;
1528
- userName: string;
1529
- firstName?: string | undefined;
1530
- lastName?: string | undefined;
1531
- } | undefined;
1532
- updatedBy?: {
1533
- locator: string;
1534
- userName: string;
1535
- firstName?: string | undefined;
1536
- lastName?: string | undefined;
1537
- } | undefined;
1538
- updatedAt?: string | undefined;
1539
- }, {
1540
- locator: string;
1541
- type: string;
1542
- createdBy: {
1543
- locator: string;
1544
- userName: string;
1545
- firstName?: string | undefined;
1546
- lastName?: string | undefined;
1547
- };
1548
- category: string;
1549
- createdAt: string;
1550
- activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1551
- deadlineTime?: string | undefined;
1552
- references?: {
1553
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1554
- referenceLocator: string;
1555
- }[] | undefined;
1556
- underwritingFlagLocators?: string[] | undefined;
1557
- assignedTo?: {
1558
- locator: string;
1559
- userName: string;
1560
- firstName?: string | undefined;
1561
- lastName?: string | undefined;
1562
- } | undefined;
1563
- updatedBy?: {
1564
- locator: string;
1565
- userName: string;
1566
- firstName?: string | undefined;
1567
- lastName?: string | undefined;
1568
- } | undefined;
1569
- updatedAt?: string | undefined;
1570
- }>;
1571
-
1572
- export declare type ActivityStateEnum = z.infer<typeof ActivityStateEnumSchema>;
1573
-
1574
- export declare const ActivityStateEnumSchema: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1575
-
1576
- export declare type ActivityTypeRef = z.infer<typeof ActivityTypeRefSchema>;
1577
-
1578
- export declare const ActivityTypeRefSchema: z.ZodObject<{
1579
- defaultDeadlineDays: z.ZodNumber;
1580
- blocksUnderwriting: z.ZodBoolean;
1581
- }, "strip", z.ZodTypeAny, {
1582
- defaultDeadlineDays: number;
1583
- blocksUnderwriting: boolean;
1584
- }, {
1585
- defaultDeadlineDays: number;
1586
- blocksUnderwriting: boolean;
1587
- }>;
1588
-
1589
- export declare type ActivityUpdateRequest = z.infer<typeof ActivityUpdateRequestSchema>;
1590
-
1591
- export declare const ActivityUpdateRequestSchema: z.ZodObject<{
1592
- deadlineTime: z.ZodOptional<z.ZodString>;
1593
- addReferences: z.ZodArray<z.ZodObject<{
1594
- referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1595
- referenceLocator: z.ZodString;
1596
- }, "strip", z.ZodTypeAny, {
1597
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1598
- referenceLocator: string;
1599
- }, {
1600
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1601
- referenceLocator: string;
1602
- }>, "many">;
1603
- removeReferences: z.ZodArray<z.ZodObject<{
1604
- referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1605
- referenceLocator: z.ZodString;
1606
- }, "strip", z.ZodTypeAny, {
1607
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1608
- referenceLocator: string;
1609
- }, {
1610
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1611
- referenceLocator: string;
1612
- }>, "many">;
1613
- addUnderwritingFlags: z.ZodArray<z.ZodString, "many">;
1614
- removeUnderwritingFlags: z.ZodArray<z.ZodString, "many">;
1615
- }, "strip", z.ZodTypeAny, {
1616
- addReferences: {
1617
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1618
- referenceLocator: string;
1619
- }[];
1620
- removeReferences: {
1621
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1622
- referenceLocator: string;
1623
- }[];
1624
- addUnderwritingFlags: string[];
1625
- removeUnderwritingFlags: string[];
1626
- deadlineTime?: string | undefined;
1627
- }, {
1628
- addReferences: {
1629
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1630
- referenceLocator: string;
1631
- }[];
1632
- removeReferences: {
1633
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1634
- referenceLocator: string;
1635
- }[];
1636
- addUnderwritingFlags: string[];
1637
- removeUnderwritingFlags: string[];
1638
- deadlineTime?: string | undefined;
1639
- }>;
1640
-
1641
- export declare type ActivityWithUserListResponse = z.infer<typeof ActivityWithUserListResponseSchema>;
1642
-
1643
- export declare const ActivityWithUserListResponseSchema: z.ZodObject<{
1644
- listCompleted: z.ZodBoolean;
1645
- items: z.ZodArray<z.ZodObject<{
1646
- assignedTo: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1647
- locator: z.ZodString;
1648
- userName: z.ZodString;
1649
- firstName: z.ZodOptional<z.ZodString>;
1650
- lastName: z.ZodOptional<z.ZodString>;
1651
- }, "strip", z.ZodTypeAny, {
1652
- locator: string;
1653
- userName: string;
1654
- firstName?: string | undefined;
1655
- lastName?: string | undefined;
1656
- }, {
1657
- locator: string;
1658
- userName: string;
1659
- firstName?: string | undefined;
1660
- lastName?: string | undefined;
1661
- }>, z.ZodObject<{
1662
- locator: z.ZodString;
1663
- isDeleted: z.ZodBoolean;
1664
- }, "strip", z.ZodTypeAny, {
1665
- locator: string;
1666
- isDeleted: boolean;
1667
- }, {
1668
- locator: string;
1669
- isDeleted: boolean;
1670
- }>]>>;
1671
- createdBy: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1672
- locator: z.ZodString;
1673
- userName: z.ZodString;
1674
- firstName: z.ZodOptional<z.ZodString>;
1675
- lastName: z.ZodOptional<z.ZodString>;
1676
- }, "strip", z.ZodTypeAny, {
1677
- locator: string;
1678
- userName: string;
1679
- firstName?: string | undefined;
1680
- lastName?: string | undefined;
1681
- }, {
1682
- locator: string;
1683
- userName: string;
1684
- firstName?: string | undefined;
1685
- lastName?: string | undefined;
1686
- }>, z.ZodObject<{
1687
- locator: z.ZodString;
1688
- isDeleted: z.ZodBoolean;
1689
- }, "strip", z.ZodTypeAny, {
1690
- locator: string;
1691
- isDeleted: boolean;
1692
- }, {
1693
- locator: string;
1694
- isDeleted: boolean;
1695
- }>]>>;
1696
- updatedBy: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1697
- locator: z.ZodString;
1698
- userName: z.ZodString;
1699
- firstName: z.ZodOptional<z.ZodString>;
1700
- lastName: z.ZodOptional<z.ZodString>;
1701
- }, "strip", z.ZodTypeAny, {
1702
- locator: string;
1703
- userName: string;
1704
- firstName?: string | undefined;
1705
- lastName?: string | undefined;
1706
- }, {
1707
- locator: string;
1708
- userName: string;
1709
- firstName?: string | undefined;
1710
- lastName?: string | undefined;
1711
- }>, z.ZodObject<{
1712
- locator: z.ZodString;
1713
- isDeleted: z.ZodBoolean;
1714
- }, "strip", z.ZodTypeAny, {
1715
- locator: string;
1716
- isDeleted: boolean;
1717
- }, {
1718
- locator: string;
1719
- isDeleted: boolean;
1720
- }>]>>;
1721
- locator: z.ZodString;
1722
- activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1723
- references: z.ZodOptional<z.ZodArray<z.ZodObject<{
1724
- referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1725
- referenceLocator: z.ZodString;
1726
- }, "strip", z.ZodTypeAny, {
1727
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1728
- referenceLocator: string;
1729
- }, {
1730
- referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1731
- referenceLocator: string;
1732
- }>, "many">>;
1733
- underwritingFlagLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1734
- deadlineTime: z.ZodOptional<z.ZodString>;
1735
- createdAt: z.ZodString;
1736
- updatedAt: z.ZodOptional<z.ZodString>;
1737
- category: z.ZodString;
1738
- type: z.ZodString;
1454
+ activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1455
+ references: z.ZodOptional<z.ZodArray<z.ZodObject<{
1456
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1457
+ referenceLocator: z.ZodString;
1458
+ }, "strip", z.ZodTypeAny, {
1459
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1460
+ referenceLocator: string;
1461
+ }, {
1462
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1463
+ referenceLocator: string;
1464
+ }>, "many">>;
1465
+ underwritingFlagLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1466
+ deadlineTime: z.ZodOptional<z.ZodString>;
1467
+ assignedTo: z.ZodOptional<z.ZodString>;
1468
+ createdBy: z.ZodString;
1469
+ updatedBy: z.ZodOptional<z.ZodString>;
1470
+ createdAt: z.ZodString;
1471
+ updatedAt: z.ZodOptional<z.ZodString>;
1472
+ category: z.ZodString;
1473
+ type: z.ZodString;
1739
1474
  }, "strip", z.ZodTypeAny, {
1740
1475
  locator: string;
1741
1476
  type: string;
1477
+ createdBy: string;
1742
1478
  category: string;
1743
1479
  createdAt: string;
1744
1480
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1745
- createdBy?: {
1746
- locator: string;
1747
- userName: string;
1748
- firstName?: string | undefined;
1749
- lastName?: string | undefined;
1750
- } | {
1751
- locator: string;
1752
- isDeleted: boolean;
1753
- } | undefined;
1754
1481
  deadlineTime?: string | undefined;
1755
1482
  references?: {
1756
1483
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1757
1484
  referenceLocator: string;
1758
1485
  }[] | undefined;
1759
1486
  underwritingFlagLocators?: string[] | undefined;
1760
- assignedTo?: {
1761
- locator: string;
1762
- userName: string;
1763
- firstName?: string | undefined;
1764
- lastName?: string | undefined;
1765
- } | {
1766
- locator: string;
1767
- isDeleted: boolean;
1768
- } | undefined;
1769
- updatedBy?: {
1770
- locator: string;
1771
- userName: string;
1772
- firstName?: string | undefined;
1773
- lastName?: string | undefined;
1774
- } | {
1775
- locator: string;
1776
- isDeleted: boolean;
1777
- } | undefined;
1487
+ assignedTo?: string | undefined;
1488
+ updatedBy?: string | undefined;
1778
1489
  updatedAt?: string | undefined;
1779
1490
  }, {
1780
1491
  locator: string;
1781
1492
  type: string;
1493
+ createdBy: string;
1782
1494
  category: string;
1783
1495
  createdAt: string;
1784
1496
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1785
- createdBy?: {
1786
- locator: string;
1787
- userName: string;
1788
- firstName?: string | undefined;
1789
- lastName?: string | undefined;
1790
- } | {
1791
- locator: string;
1792
- isDeleted: boolean;
1793
- } | undefined;
1794
1497
  deadlineTime?: string | undefined;
1795
1498
  references?: {
1796
1499
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1797
1500
  referenceLocator: string;
1798
1501
  }[] | undefined;
1799
1502
  underwritingFlagLocators?: string[] | undefined;
1800
- assignedTo?: {
1801
- locator: string;
1802
- userName: string;
1803
- firstName?: string | undefined;
1804
- lastName?: string | undefined;
1805
- } | {
1806
- locator: string;
1807
- isDeleted: boolean;
1808
- } | undefined;
1809
- updatedBy?: {
1810
- locator: string;
1811
- userName: string;
1812
- firstName?: string | undefined;
1813
- lastName?: string | undefined;
1814
- } | {
1815
- locator: string;
1816
- isDeleted: boolean;
1817
- } | undefined;
1503
+ assignedTo?: string | undefined;
1504
+ updatedBy?: string | undefined;
1818
1505
  updatedAt?: string | undefined;
1819
1506
  }>, "many">;
1820
1507
  }, "strip", z.ZodTypeAny, {
1821
1508
  items: {
1822
1509
  locator: string;
1823
1510
  type: string;
1511
+ createdBy: string;
1824
1512
  category: string;
1825
1513
  createdAt: string;
1826
1514
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1827
- createdBy?: {
1828
- locator: string;
1829
- userName: string;
1830
- firstName?: string | undefined;
1831
- lastName?: string | undefined;
1832
- } | {
1833
- locator: string;
1834
- isDeleted: boolean;
1835
- } | undefined;
1836
1515
  deadlineTime?: string | undefined;
1837
1516
  references?: {
1838
1517
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1839
1518
  referenceLocator: string;
1840
1519
  }[] | undefined;
1841
1520
  underwritingFlagLocators?: string[] | undefined;
1842
- assignedTo?: {
1843
- locator: string;
1844
- userName: string;
1845
- firstName?: string | undefined;
1846
- lastName?: string | undefined;
1847
- } | {
1848
- locator: string;
1849
- isDeleted: boolean;
1850
- } | undefined;
1851
- updatedBy?: {
1852
- locator: string;
1853
- userName: string;
1854
- firstName?: string | undefined;
1855
- lastName?: string | undefined;
1856
- } | {
1857
- locator: string;
1858
- isDeleted: boolean;
1859
- } | undefined;
1521
+ assignedTo?: string | undefined;
1522
+ updatedBy?: string | undefined;
1860
1523
  updatedAt?: string | undefined;
1861
1524
  }[];
1862
1525
  listCompleted: boolean;
@@ -1864,50 +1527,57 @@ export declare const ActivityWithUserListResponseSchema: z.ZodObject<{
1864
1527
  items: {
1865
1528
  locator: string;
1866
1529
  type: string;
1530
+ createdBy: string;
1867
1531
  category: string;
1868
1532
  createdAt: string;
1869
1533
  activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1870
- createdBy?: {
1871
- locator: string;
1872
- userName: string;
1873
- firstName?: string | undefined;
1874
- lastName?: string | undefined;
1875
- } | {
1876
- locator: string;
1877
- isDeleted: boolean;
1878
- } | undefined;
1879
1534
  deadlineTime?: string | undefined;
1880
1535
  references?: {
1881
1536
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1882
1537
  referenceLocator: string;
1883
1538
  }[] | undefined;
1884
1539
  underwritingFlagLocators?: string[] | undefined;
1885
- assignedTo?: {
1886
- locator: string;
1887
- userName: string;
1888
- firstName?: string | undefined;
1889
- lastName?: string | undefined;
1890
- } | {
1891
- locator: string;
1892
- isDeleted: boolean;
1893
- } | undefined;
1894
- updatedBy?: {
1895
- locator: string;
1896
- userName: string;
1897
- firstName?: string | undefined;
1898
- lastName?: string | undefined;
1899
- } | {
1900
- locator: string;
1901
- isDeleted: boolean;
1902
- } | undefined;
1540
+ assignedTo?: string | undefined;
1541
+ updatedBy?: string | undefined;
1903
1542
  updatedAt?: string | undefined;
1904
1543
  }[];
1905
1544
  listCompleted: boolean;
1906
1545
  }>;
1907
1546
 
1908
- export declare type ActivityWithUserResponse = z.infer<typeof ActivityWithUserResponseSchema>;
1547
+ export declare const ActivityParamsSchema: z.ZodObject<z.objectUtil.extendShape<{
1548
+ tenantLocator: z.ZodString;
1549
+ }, {
1550
+ activityLocator: z.ZodString;
1551
+ }>, "strip", z.ZodTypeAny, {
1552
+ tenantLocator: string;
1553
+ activityLocator: string;
1554
+ }, {
1555
+ tenantLocator: string;
1556
+ activityLocator: string;
1557
+ }>;
1558
+
1559
+ export declare type ActivityReference = z.infer<typeof ActivityReferenceSchema>;
1560
+
1561
+ export declare type ActivityReferenceEnum = z.infer<typeof ActivityReferenceEnumSchema>;
1562
+
1563
+ export declare const ActivityReferenceEnumSchema: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1564
+
1565
+ export declare const ActivityReferenceSchema: z.ZodObject<{
1566
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1567
+ referenceLocator: z.ZodString;
1568
+ }, "strip", z.ZodTypeAny, {
1569
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1570
+ referenceLocator: string;
1571
+ }, {
1572
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1573
+ referenceLocator: string;
1574
+ }>;
1909
1575
 
1910
- export declare const ActivityWithUserResponseSchema: z.ZodObject<{
1576
+ export declare type ActivityResponse = z.infer<typeof ActivityResponseSchema>;
1577
+
1578
+ export declare type ActivityResponseBff = z.infer<typeof ActivityResponseBffSchema>;
1579
+
1580
+ export declare const ActivityResponseBffSchema: z.ZodObject<{
1911
1581
  assignedTo: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1912
1582
  locator: z.ZodString;
1913
1583
  userName: z.ZodString;
@@ -2083,9 +1753,154 @@ export declare const ActivityWithUserResponseSchema: z.ZodObject<{
2083
1753
  updatedAt?: string | undefined;
2084
1754
  }>;
2085
1755
 
2086
- export declare type AddActivityRequest = z.infer<typeof AddActivityRequestSchema>;
1756
+ export declare const ActivityResponseSchema: z.ZodObject<{
1757
+ locator: z.ZodString;
1758
+ activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1759
+ references: z.ZodOptional<z.ZodArray<z.ZodObject<{
1760
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1761
+ referenceLocator: z.ZodString;
1762
+ }, "strip", z.ZodTypeAny, {
1763
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1764
+ referenceLocator: string;
1765
+ }, {
1766
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1767
+ referenceLocator: string;
1768
+ }>, "many">>;
1769
+ underwritingFlagLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1770
+ deadlineTime: z.ZodOptional<z.ZodString>;
1771
+ assignedTo: z.ZodOptional<z.ZodString>;
1772
+ createdBy: z.ZodString;
1773
+ updatedBy: z.ZodOptional<z.ZodString>;
1774
+ createdAt: z.ZodString;
1775
+ updatedAt: z.ZodOptional<z.ZodString>;
1776
+ category: z.ZodString;
1777
+ type: z.ZodString;
1778
+ }, "strip", z.ZodTypeAny, {
1779
+ locator: string;
1780
+ type: string;
1781
+ createdBy: string;
1782
+ category: string;
1783
+ createdAt: string;
1784
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1785
+ deadlineTime?: string | undefined;
1786
+ references?: {
1787
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1788
+ referenceLocator: string;
1789
+ }[] | undefined;
1790
+ underwritingFlagLocators?: string[] | undefined;
1791
+ assignedTo?: string | undefined;
1792
+ updatedBy?: string | undefined;
1793
+ updatedAt?: string | undefined;
1794
+ }, {
1795
+ locator: string;
1796
+ type: string;
1797
+ createdBy: string;
1798
+ category: string;
1799
+ createdAt: string;
1800
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1801
+ deadlineTime?: string | undefined;
1802
+ references?: {
1803
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1804
+ referenceLocator: string;
1805
+ }[] | undefined;
1806
+ underwritingFlagLocators?: string[] | undefined;
1807
+ assignedTo?: string | undefined;
1808
+ updatedBy?: string | undefined;
1809
+ updatedAt?: string | undefined;
1810
+ }>;
1811
+
1812
+ export declare type ActivityStateEnum = z.infer<typeof ActivityStateEnumSchema>;
1813
+
1814
+ export declare const ActivityStateEnumSchema: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1815
+
1816
+ export declare type ActivityTypeRef = z.infer<typeof ActivityTypeRefSchema>;
1817
+
1818
+ export declare const ActivityTypeRefSchema: z.ZodObject<{
1819
+ defaultDeadlineDays: z.ZodNumber;
1820
+ blocksUnderwriting: z.ZodBoolean;
1821
+ }, "strip", z.ZodTypeAny, {
1822
+ defaultDeadlineDays: number;
1823
+ blocksUnderwriting: boolean;
1824
+ }, {
1825
+ defaultDeadlineDays: number;
1826
+ blocksUnderwriting: boolean;
1827
+ }>;
1828
+
1829
+ export declare type ActivityUpdateAssigneeRequestBff = z.infer<typeof ActivityUpdateAssigneeRequestBffSchema>;
1830
+
1831
+ export declare const ActivityUpdateAssigneeRequestBffSchema: z.ZodObject<{
1832
+ assignedTo: z.ZodOptional<z.ZodString>;
1833
+ }, "strip", z.ZodTypeAny, {
1834
+ assignedTo?: string | undefined;
1835
+ }, {
1836
+ assignedTo?: string | undefined;
1837
+ }>;
1838
+
1839
+ export declare type ActivityUpdateRequest = z.infer<typeof ActivityUpdateRequestSchema>;
1840
+
1841
+ export declare const ActivityUpdateRequestSchema: z.ZodObject<{
1842
+ deadlineTime: z.ZodOptional<z.ZodString>;
1843
+ addReferences: z.ZodOptional<z.ZodArray<z.ZodObject<{
1844
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1845
+ referenceLocator: z.ZodString;
1846
+ }, "strip", z.ZodTypeAny, {
1847
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1848
+ referenceLocator: string;
1849
+ }, {
1850
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1851
+ referenceLocator: string;
1852
+ }>, "many">>;
1853
+ removeReferences: z.ZodOptional<z.ZodArray<z.ZodObject<{
1854
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1855
+ referenceLocator: z.ZodString;
1856
+ }, "strip", z.ZodTypeAny, {
1857
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1858
+ referenceLocator: string;
1859
+ }, {
1860
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1861
+ referenceLocator: string;
1862
+ }>, "many">>;
1863
+ addUnderwritingFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1864
+ removeUnderwritingFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1865
+ }, "strip", z.ZodTypeAny, {
1866
+ deadlineTime?: string | undefined;
1867
+ addReferences?: {
1868
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1869
+ referenceLocator: string;
1870
+ }[] | undefined;
1871
+ removeReferences?: {
1872
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1873
+ referenceLocator: string;
1874
+ }[] | undefined;
1875
+ addUnderwritingFlags?: string[] | undefined;
1876
+ removeUnderwritingFlags?: string[] | undefined;
1877
+ }, {
1878
+ deadlineTime?: string | undefined;
1879
+ addReferences?: {
1880
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1881
+ referenceLocator: string;
1882
+ }[] | undefined;
1883
+ removeReferences?: {
1884
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1885
+ referenceLocator: string;
1886
+ }[] | undefined;
1887
+ addUnderwritingFlags?: string[] | undefined;
1888
+ removeUnderwritingFlags?: string[] | undefined;
1889
+ }>;
1890
+
1891
+ export declare type ActivityUpdateStatusRequestBff = z.infer<typeof ActivityUpdateStatusRequestBffSchema>;
2087
1892
 
2088
- export declare const AddActivityRequestSchema: z.ZodObject<{
1893
+ export declare const ActivityUpdateStatusRequestBffSchema: z.ZodObject<{
1894
+ status: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1895
+ }, "strip", z.ZodTypeAny, {
1896
+ status: "active" | "pastDeadline" | "completed" | "cancelled";
1897
+ }, {
1898
+ status: "active" | "pastDeadline" | "completed" | "cancelled";
1899
+ }>;
1900
+
1901
+ export declare type AddActivityRequestBff = z.infer<typeof AddActivityRequestBffSchema>;
1902
+
1903
+ export declare const AddActivityRequestBffSchema: z.ZodObject<{
2089
1904
  diaryNote: z.ZodOptional<z.ZodObject<{
2090
1905
  category: z.ZodOptional<z.ZodString>;
2091
1906
  contents: z.ZodString;
@@ -2096,15 +1911,12 @@ export declare const AddActivityRequestSchema: z.ZodObject<{
2096
1911
  contents: string;
2097
1912
  category?: string | undefined;
2098
1913
  }>>;
2099
- userAssignment: z.ZodOptional<z.ZodObject<Omit<z.objectUtil.extendShape<{
1914
+ userAssignment: z.ZodOptional<z.ZodObject<Omit<{
2100
1915
  userLocator: z.ZodString;
1916
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
2101
1917
  assignmentRole: z.ZodString;
2102
- referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
2103
1918
  referenceLocator: z.ZodString;
2104
- }, {
2105
- userLocator: z.ZodString;
2106
- referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
2107
- }>, "referenceType" | "referenceLocator">, "strip", z.ZodTypeAny, {
1919
+ }, "referenceType" | "referenceLocator">, "strip", z.ZodTypeAny, {
2108
1920
  userLocator: string;
2109
1921
  assignmentRole: string;
2110
1922
  }, {
@@ -2122,22 +1934,7 @@ export declare const AddActivityRequestSchema: z.ZodObject<{
2122
1934
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
2123
1935
  referenceLocator: string;
2124
1936
  }>, "many">;
2125
- assignedTo: z.ZodOptional<z.ZodObject<{
2126
- locator: z.ZodString;
2127
- userName: z.ZodString;
2128
- firstName: z.ZodOptional<z.ZodString>;
2129
- lastName: z.ZodOptional<z.ZodString>;
2130
- }, "strip", z.ZodTypeAny, {
2131
- locator: string;
2132
- userName: string;
2133
- firstName?: string | undefined;
2134
- lastName?: string | undefined;
2135
- }, {
2136
- locator: string;
2137
- userName: string;
2138
- firstName?: string | undefined;
2139
- lastName?: string | undefined;
2140
- }>>;
1937
+ assignedTo: z.ZodOptional<z.ZodString>;
2141
1938
  type: z.ZodString;
2142
1939
  underwritingFlagLocators: z.ZodArray<z.ZodString, "many">;
2143
1940
  }, "strip", z.ZodTypeAny, {
@@ -2148,12 +1945,7 @@ export declare const AddActivityRequestSchema: z.ZodObject<{
2148
1945
  referenceLocator: string;
2149
1946
  }[];
2150
1947
  underwritingFlagLocators: string[];
2151
- assignedTo?: {
2152
- locator: string;
2153
- userName: string;
2154
- firstName?: string | undefined;
2155
- lastName?: string | undefined;
2156
- } | undefined;
1948
+ assignedTo?: string | undefined;
2157
1949
  diaryNote?: {
2158
1950
  contents: string;
2159
1951
  category?: string | undefined;
@@ -2170,12 +1962,7 @@ export declare const AddActivityRequestSchema: z.ZodObject<{
2170
1962
  referenceLocator: string;
2171
1963
  }[];
2172
1964
  underwritingFlagLocators: string[];
2173
- assignedTo?: {
2174
- locator: string;
2175
- userName: string;
2176
- firstName?: string | undefined;
2177
- lastName?: string | undefined;
2178
- } | undefined;
1965
+ assignedTo?: string | undefined;
2179
1966
  diaryNote?: {
2180
1967
  contents: string;
2181
1968
  category?: string | undefined;
@@ -2400,15 +2187,12 @@ export declare const AssignAssignmentParamsSchema: z.ZodObject<z.objectUtil.exte
2400
2187
 
2401
2188
  export declare type AssignmentCreateRequest = z.infer<typeof AssignmentCreateRequestSchema>;
2402
2189
 
2403
- export declare const AssignmentCreateRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
2190
+ export declare const AssignmentCreateRequestSchema: z.ZodObject<{
2404
2191
  userLocator: z.ZodString;
2192
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
2405
2193
  assignmentRole: z.ZodString;
2406
- referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
2407
2194
  referenceLocator: z.ZodString;
2408
- }, {
2409
- userLocator: z.ZodString;
2410
- referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
2411
- }>, "strip", z.ZodTypeAny, {
2195
+ }, "strip", z.ZodTypeAny, {
2412
2196
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
2413
2197
  referenceLocator: string;
2414
2198
  userLocator: string;
@@ -2428,18 +2212,7 @@ export declare type AssignmentListResponse = z.infer<typeof AssignmentListRespon
2428
2212
 
2429
2213
  export declare const AssignmentListResponseSchema: z.ZodObject<{
2430
2214
  listCompleted: z.ZodBoolean;
2431
- items: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
2432
- locator: z.ZodString;
2433
- userLocator: z.ZodString;
2434
- assignmentRole: z.ZodString;
2435
- referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
2436
- referenceLocator: z.ZodString;
2437
- assignmentState: z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"completed">, z.ZodLiteral<"unassigned">, z.ZodLiteral<"discarded">]>;
2438
- createdBy: z.ZodString;
2439
- createdAt: z.ZodString;
2440
- updatedBy: z.ZodOptional<z.ZodString>;
2441
- updatedAt: z.ZodOptional<z.ZodString>;
2442
- }, {
2215
+ items: z.ZodArray<z.ZodObject<{
2443
2216
  locator: z.ZodString;
2444
2217
  userLocator: z.ZodString;
2445
2218
  referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
@@ -2448,7 +2221,9 @@ export declare const AssignmentListResponseSchema: z.ZodObject<{
2448
2221
  createdAt: z.ZodString;
2449
2222
  updatedBy: z.ZodOptional<z.ZodString>;
2450
2223
  updatedAt: z.ZodOptional<z.ZodString>;
2451
- }>, "strip", z.ZodTypeAny, {
2224
+ assignmentRole: z.ZodString;
2225
+ referenceLocator: z.ZodString;
2226
+ }, "strip", z.ZodTypeAny, {
2452
2227
  locator: string;
2453
2228
  createdBy: string;
2454
2229
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
@@ -2515,18 +2290,7 @@ export declare const AssignmentParamsSchema: z.ZodObject<z.objectUtil.extendShap
2515
2290
 
2516
2291
  export declare type AssignmentResponse = z.infer<typeof AssignmentResponseSchema>;
2517
2292
 
2518
- export declare const AssignmentResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
2519
- locator: z.ZodString;
2520
- userLocator: z.ZodString;
2521
- assignmentRole: z.ZodString;
2522
- referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
2523
- referenceLocator: z.ZodString;
2524
- assignmentState: z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"completed">, z.ZodLiteral<"unassigned">, z.ZodLiteral<"discarded">]>;
2525
- createdBy: z.ZodString;
2526
- createdAt: z.ZodString;
2527
- updatedBy: z.ZodOptional<z.ZodString>;
2528
- updatedAt: z.ZodOptional<z.ZodString>;
2529
- }, {
2293
+ export declare const AssignmentResponseSchema: z.ZodObject<{
2530
2294
  locator: z.ZodString;
2531
2295
  userLocator: z.ZodString;
2532
2296
  referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
@@ -2535,7 +2299,9 @@ export declare const AssignmentResponseSchema: z.ZodObject<z.objectUtil.extendSh
2535
2299
  createdAt: z.ZodString;
2536
2300
  updatedBy: z.ZodOptional<z.ZodString>;
2537
2301
  updatedAt: z.ZodOptional<z.ZodString>;
2538
- }>, "strip", z.ZodTypeAny, {
2302
+ assignmentRole: z.ZodString;
2303
+ referenceLocator: z.ZodString;
2304
+ }, "strip", z.ZodTypeAny, {
2539
2305
  locator: string;
2540
2306
  createdBy: string;
2541
2307
  referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
@@ -2561,14 +2327,11 @@ export declare const AssignmentResponseSchema: z.ZodObject<z.objectUtil.extendSh
2561
2327
 
2562
2328
  export declare type AssignmentRoleRef = z.infer<typeof AssignmentRoleRefSchema>;
2563
2329
 
2564
- export declare const AssignmentRoleRefSchema: z.ZodObject<z.objectUtil.extendShape<{
2565
- appliesTo: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>, "many">;
2566
- exclusive: z.ZodBoolean;
2567
- qualification: z.ZodRecord<z.ZodString, z.ZodString>;
2568
- }, {
2330
+ export declare const AssignmentRoleRefSchema: z.ZodObject<{
2569
2331
  appliesTo: z.ZodArray<z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>, "many">;
2570
2332
  qualification: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2571
- }>, "strip", z.ZodTypeAny, {
2333
+ exclusive: z.ZodBoolean;
2334
+ }, "strip", z.ZodTypeAny, {
2572
2335
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
2573
2336
  exclusive: boolean;
2574
2337
  qualification?: Record<string, string> | undefined;
@@ -2850,9 +2613,9 @@ declare const baseElementResponseSchema: z.ZodObject<{
2850
2613
  staticLocator: string;
2851
2614
  data?: Record<string, any> | undefined;
2852
2615
  coverageTerms?: Record<string, string> | undefined;
2853
- tenantLocator?: string | undefined;
2854
2616
  parentLocator?: string | undefined;
2855
2617
  originalEffectiveTime?: string | undefined;
2618
+ tenantLocator?: string | undefined;
2856
2619
  rootLocator?: string | undefined;
2857
2620
  }, {
2858
2621
  locator: string;
@@ -2860,9 +2623,9 @@ declare const baseElementResponseSchema: z.ZodObject<{
2860
2623
  staticLocator: string;
2861
2624
  data?: Record<string, any> | undefined;
2862
2625
  coverageTerms?: Record<string, string> | undefined;
2863
- tenantLocator?: string | undefined;
2864
2626
  parentLocator?: string | undefined;
2865
2627
  originalEffectiveTime?: string | undefined;
2628
+ tenantLocator?: string | undefined;
2866
2629
  rootLocator?: string | undefined;
2867
2630
  }>;
2868
2631
 
@@ -3849,6 +3612,32 @@ declare const BaseTransactionUnderwritingResponseSchema: z.ZodObject<{
3849
3612
  effectiveTime: string;
3850
3613
  }>;
3851
3614
 
3615
+ export declare const BasicAndFormerUserBffSchema: z.ZodUnion<[z.ZodObject<{
3616
+ locator: z.ZodString;
3617
+ userName: z.ZodString;
3618
+ firstName: z.ZodOptional<z.ZodString>;
3619
+ lastName: z.ZodOptional<z.ZodString>;
3620
+ }, "strip", z.ZodTypeAny, {
3621
+ locator: string;
3622
+ userName: string;
3623
+ firstName?: string | undefined;
3624
+ lastName?: string | undefined;
3625
+ }, {
3626
+ locator: string;
3627
+ userName: string;
3628
+ firstName?: string | undefined;
3629
+ lastName?: string | undefined;
3630
+ }>, z.ZodObject<{
3631
+ locator: z.ZodString;
3632
+ isDeleted: z.ZodBoolean;
3633
+ }, "strip", z.ZodTypeAny, {
3634
+ locator: string;
3635
+ isDeleted: boolean;
3636
+ }, {
3637
+ locator: string;
3638
+ isDeleted: boolean;
3639
+ }>]>;
3640
+
3852
3641
  export declare type BasicUserResponse = z.infer<typeof BasicUserResponseSchema>;
3853
3642
 
3854
3643
  export declare const BasicUserResponseSchema: z.ZodObject<{
@@ -7106,14 +6895,11 @@ export declare const dataModelSchema: z.ZodObject<{
7106
6895
  defaultDeadlineDays: number;
7107
6896
  blocksUnderwriting: boolean;
7108
6897
  }>>>;
7109
- assignmentRoles: z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
7110
- appliesTo: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>, "many">;
7111
- exclusive: z.ZodBoolean;
7112
- qualification: z.ZodRecord<z.ZodString, z.ZodString>;
7113
- }, {
6898
+ assignmentRoles: z.ZodRecord<z.ZodString, z.ZodObject<{
7114
6899
  appliesTo: z.ZodArray<z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>, "many">;
7115
6900
  qualification: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7116
- }>, "strip", z.ZodTypeAny, {
6901
+ exclusive: z.ZodBoolean;
6902
+ }, "strip", z.ZodTypeAny, {
7117
6903
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
7118
6904
  exclusive: boolean;
7119
6905
  qualification?: Record<string, string> | undefined;
@@ -9342,6 +9128,74 @@ export declare const DeploymentMetadataSchema: z.ZodObject<z.objectUtil.extendSh
9342
9128
  latestVersion: string;
9343
9129
  }>;
9344
9130
 
9131
+ export declare type DiariesListResponse = z.infer<typeof DiariesListResponseSchema>;
9132
+
9133
+ export declare const DiariesListResponseSchema: z.ZodObject<{
9134
+ listCompleted: z.ZodBoolean;
9135
+ items: z.ZodArray<z.ZodObject<{
9136
+ locator: z.ZodString;
9137
+ referenceType: z.ZodEnum<["quote", "policy", "transaction", "activity", "fnol"]>;
9138
+ diaryState: z.ZodEnum<["active", "discarded", "locked"]>;
9139
+ createdAt: z.ZodString;
9140
+ createdBy: z.ZodString;
9141
+ updatedAt: z.ZodString;
9142
+ updatedBy: z.ZodOptional<z.ZodString>;
9143
+ referenceLocator: z.ZodString;
9144
+ category: z.ZodOptional<z.ZodString>;
9145
+ contents: z.ZodString;
9146
+ }, "strip", z.ZodTypeAny, {
9147
+ locator: string;
9148
+ createdBy: string;
9149
+ contents: string;
9150
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9151
+ referenceLocator: string;
9152
+ createdAt: string;
9153
+ updatedAt: string;
9154
+ diaryState: "discarded" | "active" | "locked";
9155
+ category?: string | undefined;
9156
+ updatedBy?: string | undefined;
9157
+ }, {
9158
+ locator: string;
9159
+ createdBy: string;
9160
+ contents: string;
9161
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9162
+ referenceLocator: string;
9163
+ createdAt: string;
9164
+ updatedAt: string;
9165
+ diaryState: "discarded" | "active" | "locked";
9166
+ category?: string | undefined;
9167
+ updatedBy?: string | undefined;
9168
+ }>, "many">;
9169
+ }, "strip", z.ZodTypeAny, {
9170
+ items: {
9171
+ locator: string;
9172
+ createdBy: string;
9173
+ contents: string;
9174
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9175
+ referenceLocator: string;
9176
+ createdAt: string;
9177
+ updatedAt: string;
9178
+ diaryState: "discarded" | "active" | "locked";
9179
+ category?: string | undefined;
9180
+ updatedBy?: string | undefined;
9181
+ }[];
9182
+ listCompleted: boolean;
9183
+ }, {
9184
+ items: {
9185
+ locator: string;
9186
+ createdBy: string;
9187
+ contents: string;
9188
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9189
+ referenceLocator: string;
9190
+ createdAt: string;
9191
+ updatedAt: string;
9192
+ diaryState: "discarded" | "active" | "locked";
9193
+ category?: string | undefined;
9194
+ updatedBy?: string | undefined;
9195
+ }[];
9196
+ listCompleted: boolean;
9197
+ }>;
9198
+
9345
9199
  export declare const DiaryByRefParamsSchema: z.ZodObject<z.objectUtil.extendShape<{
9346
9200
  tenantLocator: z.ZodString;
9347
9201
  }, {
@@ -9359,23 +9213,320 @@ export declare const DiaryByRefParamsSchema: z.ZodObject<z.objectUtil.extendShap
9359
9213
 
9360
9214
  export declare type DiaryEntry = z.infer<typeof DiaryEntrySchema>;
9361
9215
 
9216
+ export declare type DiaryEntryBff = z.infer<typeof DiaryEntryBffSchema>;
9217
+
9218
+ export declare const DiaryEntryBffSchema: z.ZodObject<{
9219
+ createdBy: z.ZodUnion<[z.ZodObject<{
9220
+ locator: z.ZodString;
9221
+ userName: z.ZodString;
9222
+ firstName: z.ZodOptional<z.ZodString>;
9223
+ lastName: z.ZodOptional<z.ZodString>;
9224
+ }, "strip", z.ZodTypeAny, {
9225
+ locator: string;
9226
+ userName: string;
9227
+ firstName?: string | undefined;
9228
+ lastName?: string | undefined;
9229
+ }, {
9230
+ locator: string;
9231
+ userName: string;
9232
+ firstName?: string | undefined;
9233
+ lastName?: string | undefined;
9234
+ }>, z.ZodObject<{
9235
+ locator: z.ZodString;
9236
+ isDeleted: z.ZodBoolean;
9237
+ }, "strip", z.ZodTypeAny, {
9238
+ locator: string;
9239
+ isDeleted: boolean;
9240
+ }, {
9241
+ locator: string;
9242
+ isDeleted: boolean;
9243
+ }>]>;
9244
+ updatedBy: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
9245
+ locator: z.ZodString;
9246
+ userName: z.ZodString;
9247
+ firstName: z.ZodOptional<z.ZodString>;
9248
+ lastName: z.ZodOptional<z.ZodString>;
9249
+ }, "strip", z.ZodTypeAny, {
9250
+ locator: string;
9251
+ userName: string;
9252
+ firstName?: string | undefined;
9253
+ lastName?: string | undefined;
9254
+ }, {
9255
+ locator: string;
9256
+ userName: string;
9257
+ firstName?: string | undefined;
9258
+ lastName?: string | undefined;
9259
+ }>, z.ZodObject<{
9260
+ locator: z.ZodString;
9261
+ isDeleted: z.ZodBoolean;
9262
+ }, "strip", z.ZodTypeAny, {
9263
+ locator: string;
9264
+ isDeleted: boolean;
9265
+ }, {
9266
+ locator: string;
9267
+ isDeleted: boolean;
9268
+ }>]>>;
9269
+ locator: z.ZodString;
9270
+ referenceType: z.ZodEnum<["quote", "policy", "transaction", "activity", "fnol"]>;
9271
+ diaryState: z.ZodEnum<["active", "discarded", "locked"]>;
9272
+ createdAt: z.ZodString;
9273
+ updatedAt: z.ZodString;
9274
+ referenceLocator: z.ZodString;
9275
+ category: z.ZodOptional<z.ZodString>;
9276
+ contents: z.ZodString;
9277
+ }, "strip", z.ZodTypeAny, {
9278
+ locator: string;
9279
+ createdBy: {
9280
+ locator: string;
9281
+ userName: string;
9282
+ firstName?: string | undefined;
9283
+ lastName?: string | undefined;
9284
+ } | {
9285
+ locator: string;
9286
+ isDeleted: boolean;
9287
+ };
9288
+ contents: string;
9289
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9290
+ referenceLocator: string;
9291
+ createdAt: string;
9292
+ updatedAt: string;
9293
+ diaryState: "discarded" | "active" | "locked";
9294
+ category?: string | undefined;
9295
+ updatedBy?: {
9296
+ locator: string;
9297
+ userName: string;
9298
+ firstName?: string | undefined;
9299
+ lastName?: string | undefined;
9300
+ } | {
9301
+ locator: string;
9302
+ isDeleted: boolean;
9303
+ } | undefined;
9304
+ }, {
9305
+ locator: string;
9306
+ createdBy: {
9307
+ locator: string;
9308
+ userName: string;
9309
+ firstName?: string | undefined;
9310
+ lastName?: string | undefined;
9311
+ } | {
9312
+ locator: string;
9313
+ isDeleted: boolean;
9314
+ };
9315
+ contents: string;
9316
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9317
+ referenceLocator: string;
9318
+ createdAt: string;
9319
+ updatedAt: string;
9320
+ diaryState: "discarded" | "active" | "locked";
9321
+ category?: string | undefined;
9322
+ updatedBy?: {
9323
+ locator: string;
9324
+ userName: string;
9325
+ firstName?: string | undefined;
9326
+ lastName?: string | undefined;
9327
+ } | {
9328
+ locator: string;
9329
+ isDeleted: boolean;
9330
+ } | undefined;
9331
+ }>;
9332
+
9362
9333
  export declare type DiaryEntryCreateRequest = z.infer<typeof DiaryEntryCreateRequestSchema>;
9363
9334
 
9364
9335
  export declare const DiaryEntryCreateRequestSchema: z.ZodObject<{
9365
9336
  category: z.ZodOptional<z.ZodString>;
9366
9337
  contents: z.ZodString;
9367
9338
  }, "strip", z.ZodTypeAny, {
9368
- contents: string;
9369
- category?: string | undefined;
9339
+ contents: string;
9340
+ category?: string | undefined;
9341
+ }, {
9342
+ contents: string;
9343
+ category?: string | undefined;
9344
+ }>;
9345
+
9346
+ export declare type DiaryEntryListResponse = z.infer<typeof DiaryEntryListResponseSchema>;
9347
+
9348
+ export declare type DiaryEntryListResponseBff = z.infer<typeof DiaryEntryListResponseBffSchema>;
9349
+
9350
+ export declare const DiaryEntryListResponseBffSchema: z.ZodObject<{
9351
+ listCompleted: z.ZodBoolean;
9352
+ items: z.ZodArray<z.ZodObject<{
9353
+ createdBy: z.ZodUnion<[z.ZodObject<{
9354
+ locator: z.ZodString;
9355
+ userName: z.ZodString;
9356
+ firstName: z.ZodOptional<z.ZodString>;
9357
+ lastName: z.ZodOptional<z.ZodString>;
9358
+ }, "strip", z.ZodTypeAny, {
9359
+ locator: string;
9360
+ userName: string;
9361
+ firstName?: string | undefined;
9362
+ lastName?: string | undefined;
9363
+ }, {
9364
+ locator: string;
9365
+ userName: string;
9366
+ firstName?: string | undefined;
9367
+ lastName?: string | undefined;
9368
+ }>, z.ZodObject<{
9369
+ locator: z.ZodString;
9370
+ isDeleted: z.ZodBoolean;
9371
+ }, "strip", z.ZodTypeAny, {
9372
+ locator: string;
9373
+ isDeleted: boolean;
9374
+ }, {
9375
+ locator: string;
9376
+ isDeleted: boolean;
9377
+ }>]>;
9378
+ updatedBy: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
9379
+ locator: z.ZodString;
9380
+ userName: z.ZodString;
9381
+ firstName: z.ZodOptional<z.ZodString>;
9382
+ lastName: z.ZodOptional<z.ZodString>;
9383
+ }, "strip", z.ZodTypeAny, {
9384
+ locator: string;
9385
+ userName: string;
9386
+ firstName?: string | undefined;
9387
+ lastName?: string | undefined;
9388
+ }, {
9389
+ locator: string;
9390
+ userName: string;
9391
+ firstName?: string | undefined;
9392
+ lastName?: string | undefined;
9393
+ }>, z.ZodObject<{
9394
+ locator: z.ZodString;
9395
+ isDeleted: z.ZodBoolean;
9396
+ }, "strip", z.ZodTypeAny, {
9397
+ locator: string;
9398
+ isDeleted: boolean;
9399
+ }, {
9400
+ locator: string;
9401
+ isDeleted: boolean;
9402
+ }>]>>;
9403
+ locator: z.ZodString;
9404
+ referenceType: z.ZodEnum<["quote", "policy", "transaction", "activity", "fnol"]>;
9405
+ diaryState: z.ZodEnum<["active", "discarded", "locked"]>;
9406
+ createdAt: z.ZodString;
9407
+ updatedAt: z.ZodString;
9408
+ referenceLocator: z.ZodString;
9409
+ category: z.ZodOptional<z.ZodString>;
9410
+ contents: z.ZodString;
9411
+ }, "strip", z.ZodTypeAny, {
9412
+ locator: string;
9413
+ createdBy: {
9414
+ locator: string;
9415
+ userName: string;
9416
+ firstName?: string | undefined;
9417
+ lastName?: string | undefined;
9418
+ } | {
9419
+ locator: string;
9420
+ isDeleted: boolean;
9421
+ };
9422
+ contents: string;
9423
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9424
+ referenceLocator: string;
9425
+ createdAt: string;
9426
+ updatedAt: string;
9427
+ diaryState: "discarded" | "active" | "locked";
9428
+ category?: string | undefined;
9429
+ updatedBy?: {
9430
+ locator: string;
9431
+ userName: string;
9432
+ firstName?: string | undefined;
9433
+ lastName?: string | undefined;
9434
+ } | {
9435
+ locator: string;
9436
+ isDeleted: boolean;
9437
+ } | undefined;
9438
+ }, {
9439
+ locator: string;
9440
+ createdBy: {
9441
+ locator: string;
9442
+ userName: string;
9443
+ firstName?: string | undefined;
9444
+ lastName?: string | undefined;
9445
+ } | {
9446
+ locator: string;
9447
+ isDeleted: boolean;
9448
+ };
9449
+ contents: string;
9450
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9451
+ referenceLocator: string;
9452
+ createdAt: string;
9453
+ updatedAt: string;
9454
+ diaryState: "discarded" | "active" | "locked";
9455
+ category?: string | undefined;
9456
+ updatedBy?: {
9457
+ locator: string;
9458
+ userName: string;
9459
+ firstName?: string | undefined;
9460
+ lastName?: string | undefined;
9461
+ } | {
9462
+ locator: string;
9463
+ isDeleted: boolean;
9464
+ } | undefined;
9465
+ }>, "many">;
9466
+ }, "strip", z.ZodTypeAny, {
9467
+ items: {
9468
+ locator: string;
9469
+ createdBy: {
9470
+ locator: string;
9471
+ userName: string;
9472
+ firstName?: string | undefined;
9473
+ lastName?: string | undefined;
9474
+ } | {
9475
+ locator: string;
9476
+ isDeleted: boolean;
9477
+ };
9478
+ contents: string;
9479
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9480
+ referenceLocator: string;
9481
+ createdAt: string;
9482
+ updatedAt: string;
9483
+ diaryState: "discarded" | "active" | "locked";
9484
+ category?: string | undefined;
9485
+ updatedBy?: {
9486
+ locator: string;
9487
+ userName: string;
9488
+ firstName?: string | undefined;
9489
+ lastName?: string | undefined;
9490
+ } | {
9491
+ locator: string;
9492
+ isDeleted: boolean;
9493
+ } | undefined;
9494
+ }[];
9495
+ listCompleted: boolean;
9370
9496
  }, {
9371
- contents: string;
9372
- category?: string | undefined;
9497
+ items: {
9498
+ locator: string;
9499
+ createdBy: {
9500
+ locator: string;
9501
+ userName: string;
9502
+ firstName?: string | undefined;
9503
+ lastName?: string | undefined;
9504
+ } | {
9505
+ locator: string;
9506
+ isDeleted: boolean;
9507
+ };
9508
+ contents: string;
9509
+ referenceType: "policy" | "quote" | "transaction" | "fnol" | "activity";
9510
+ referenceLocator: string;
9511
+ createdAt: string;
9512
+ updatedAt: string;
9513
+ diaryState: "discarded" | "active" | "locked";
9514
+ category?: string | undefined;
9515
+ updatedBy?: {
9516
+ locator: string;
9517
+ userName: string;
9518
+ firstName?: string | undefined;
9519
+ lastName?: string | undefined;
9520
+ } | {
9521
+ locator: string;
9522
+ isDeleted: boolean;
9523
+ } | undefined;
9524
+ }[];
9525
+ listCompleted: boolean;
9373
9526
  }>;
9374
9527
 
9375
- export declare type DiaryEntryListResponse = z.infer<typeof DiaryEntryListResponseSchema>;
9376
-
9377
9528
  export declare const DiaryEntryListResponseSchema: z.ZodObject<{
9378
- listComplete: z.ZodBoolean;
9529
+ listCompleted: z.ZodBoolean;
9379
9530
  items: z.ZodArray<z.ZodObject<{
9380
9531
  locator: z.ZodString;
9381
9532
  referenceType: z.ZodEnum<["quote", "policy", "transaction", "activity", "fnol"]>;
@@ -9423,7 +9574,7 @@ export declare const DiaryEntryListResponseSchema: z.ZodObject<{
9423
9574
  category?: string | undefined;
9424
9575
  updatedBy?: string | undefined;
9425
9576
  }[];
9426
- listComplete: boolean;
9577
+ listCompleted: boolean;
9427
9578
  }, {
9428
9579
  items: {
9429
9580
  locator: string;
@@ -9437,7 +9588,7 @@ export declare const DiaryEntryListResponseSchema: z.ZodObject<{
9437
9588
  category?: string | undefined;
9438
9589
  updatedBy?: string | undefined;
9439
9590
  }[];
9440
- listComplete: boolean;
9591
+ listCompleted: boolean;
9441
9592
  }>;
9442
9593
 
9443
9594
  export declare const DiaryEntrySchema: z.ZodObject<{
@@ -11753,9 +11904,9 @@ export declare const FILE_EXTENSIONS_TO_MIME_TYPES: {
11753
11904
  [key: string]: string;
11754
11905
  };
11755
11906
 
11756
- export declare type FormerUserResponse = z.infer<typeof FormerUserResponseSchema>;
11907
+ export declare type FormerUserResponseBff = z.infer<typeof FormerUserResponseBffSchema>;
11757
11908
 
11758
- export declare const FormerUserResponseSchema: z.ZodObject<{
11909
+ export declare const FormerUserResponseBffSchema: z.ZodObject<{
11759
11910
  locator: z.ZodString;
11760
11911
  isDeleted: z.ZodBoolean;
11761
11912
  }, "strip", z.ZodTypeAny, {
@@ -13031,11 +13182,11 @@ export declare const ParamsPolicyIdSchema: z.ZodObject<{
13031
13182
  tenantLocator: z.ZodString;
13032
13183
  policyLocator: z.ZodString;
13033
13184
  }, "strip", z.ZodTypeAny, {
13034
- tenantLocator: string;
13035
13185
  policyLocator: string;
13036
- }, {
13037
13186
  tenantLocator: string;
13187
+ }, {
13038
13188
  policyLocator: string;
13189
+ tenantLocator: string;
13039
13190
  }>;
13040
13191
 
13041
13192
  export declare type PaymentConfig = z.infer<typeof paymentConfigSchema>;
@@ -15242,9 +15393,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
15242
15393
  staticLocator: string;
15243
15394
  data?: Record<string, any> | undefined;
15244
15395
  coverageTerms?: Record<string, string> | undefined;
15245
- tenantLocator?: string | undefined;
15246
15396
  parentLocator?: string | undefined;
15247
15397
  originalEffectiveTime?: string | undefined;
15398
+ tenantLocator?: string | undefined;
15248
15399
  rootLocator?: string | undefined;
15249
15400
  } & {
15250
15401
  elements?: ({
@@ -15253,9 +15404,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
15253
15404
  staticLocator: string;
15254
15405
  data?: Record<string, any> | undefined;
15255
15406
  coverageTerms?: Record<string, string> | undefined;
15256
- tenantLocator?: string | undefined;
15257
15407
  parentLocator?: string | undefined;
15258
15408
  originalEffectiveTime?: string | undefined;
15409
+ tenantLocator?: string | undefined;
15259
15410
  rootLocator?: string | undefined;
15260
15411
  } & /*elided*/ any)[];
15261
15412
  }, z.ZodTypeDef, {
@@ -15264,9 +15415,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
15264
15415
  staticLocator: string;
15265
15416
  data?: Record<string, any> | undefined;
15266
15417
  coverageTerms?: Record<string, string> | undefined;
15267
- tenantLocator?: string | undefined;
15268
15418
  parentLocator?: string | undefined;
15269
15419
  originalEffectiveTime?: string | undefined;
15420
+ tenantLocator?: string | undefined;
15270
15421
  rootLocator?: string | undefined;
15271
15422
  } & {
15272
15423
  elements?: ({
@@ -15275,9 +15426,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
15275
15426
  staticLocator: string;
15276
15427
  data?: Record<string, any> | undefined;
15277
15428
  coverageTerms?: Record<string, string> | undefined;
15278
- tenantLocator?: string | undefined;
15279
15429
  parentLocator?: string | undefined;
15280
15430
  originalEffectiveTime?: string | undefined;
15431
+ tenantLocator?: string | undefined;
15281
15432
  rootLocator?: string | undefined;
15282
15433
  } & /*elided*/ any)[];
15283
15434
  }>;
@@ -15295,9 +15446,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
15295
15446
  staticLocator: string;
15296
15447
  data?: Record<string, any> | undefined;
15297
15448
  coverageTerms?: Record<string, string> | undefined;
15298
- tenantLocator?: string | undefined;
15299
15449
  parentLocator?: string | undefined;
15300
15450
  originalEffectiveTime?: string | undefined;
15451
+ tenantLocator?: string | undefined;
15301
15452
  rootLocator?: string | undefined;
15302
15453
  } & {
15303
15454
  elements?: ({
@@ -15306,9 +15457,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
15306
15457
  staticLocator: string;
15307
15458
  data?: Record<string, any> | undefined;
15308
15459
  coverageTerms?: Record<string, string> | undefined;
15309
- tenantLocator?: string | undefined;
15310
15460
  parentLocator?: string | undefined;
15311
15461
  originalEffectiveTime?: string | undefined;
15462
+ tenantLocator?: string | undefined;
15312
15463
  rootLocator?: string | undefined;
15313
15464
  } & /*elided*/ any)[];
15314
15465
  };
@@ -15325,9 +15476,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
15325
15476
  staticLocator: string;
15326
15477
  data?: Record<string, any> | undefined;
15327
15478
  coverageTerms?: Record<string, string> | undefined;
15328
- tenantLocator?: string | undefined;
15329
15479
  parentLocator?: string | undefined;
15330
15480
  originalEffectiveTime?: string | undefined;
15481
+ tenantLocator?: string | undefined;
15331
15482
  rootLocator?: string | undefined;
15332
15483
  } & {
15333
15484
  elements?: ({
@@ -15336,9 +15487,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
15336
15487
  staticLocator: string;
15337
15488
  data?: Record<string, any> | undefined;
15338
15489
  coverageTerms?: Record<string, string> | undefined;
15339
- tenantLocator?: string | undefined;
15340
15490
  parentLocator?: string | undefined;
15341
15491
  originalEffectiveTime?: string | undefined;
15492
+ tenantLocator?: string | undefined;
15342
15493
  rootLocator?: string | undefined;
15343
15494
  } & /*elided*/ any)[];
15344
15495
  };
@@ -15360,9 +15511,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
15360
15511
  staticLocator: string;
15361
15512
  data?: Record<string, any> | undefined;
15362
15513
  coverageTerms?: Record<string, string> | undefined;
15363
- tenantLocator?: string | undefined;
15364
15514
  parentLocator?: string | undefined;
15365
15515
  originalEffectiveTime?: string | undefined;
15516
+ tenantLocator?: string | undefined;
15366
15517
  rootLocator?: string | undefined;
15367
15518
  } & {
15368
15519
  elements?: ({
@@ -15371,9 +15522,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
15371
15522
  staticLocator: string;
15372
15523
  data?: Record<string, any> | undefined;
15373
15524
  coverageTerms?: Record<string, string> | undefined;
15374
- tenantLocator?: string | undefined;
15375
15525
  parentLocator?: string | undefined;
15376
15526
  originalEffectiveTime?: string | undefined;
15527
+ tenantLocator?: string | undefined;
15377
15528
  rootLocator?: string | undefined;
15378
15529
  } & /*elided*/ any)[];
15379
15530
  };
@@ -15416,9 +15567,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
15416
15567
  staticLocator: string;
15417
15568
  data?: Record<string, any> | undefined;
15418
15569
  coverageTerms?: Record<string, string> | undefined;
15419
- tenantLocator?: string | undefined;
15420
15570
  parentLocator?: string | undefined;
15421
15571
  originalEffectiveTime?: string | undefined;
15572
+ tenantLocator?: string | undefined;
15422
15573
  rootLocator?: string | undefined;
15423
15574
  } & {
15424
15575
  elements?: ({
@@ -15427,9 +15578,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
15427
15578
  staticLocator: string;
15428
15579
  data?: Record<string, any> | undefined;
15429
15580
  coverageTerms?: Record<string, string> | undefined;
15430
- tenantLocator?: string | undefined;
15431
15581
  parentLocator?: string | undefined;
15432
15582
  originalEffectiveTime?: string | undefined;
15583
+ tenantLocator?: string | undefined;
15433
15584
  rootLocator?: string | undefined;
15434
15585
  } & /*elided*/ any)[];
15435
15586
  };
@@ -15477,9 +15628,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
15477
15628
  staticLocator: string;
15478
15629
  data?: Record<string, any> | undefined;
15479
15630
  coverageTerms?: Record<string, string> | undefined;
15480
- tenantLocator?: string | undefined;
15481
15631
  parentLocator?: string | undefined;
15482
15632
  originalEffectiveTime?: string | undefined;
15633
+ tenantLocator?: string | undefined;
15483
15634
  rootLocator?: string | undefined;
15484
15635
  } & {
15485
15636
  elements?: ({
@@ -15488,9 +15639,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
15488
15639
  staticLocator: string;
15489
15640
  data?: Record<string, any> | undefined;
15490
15641
  coverageTerms?: Record<string, string> | undefined;
15491
- tenantLocator?: string | undefined;
15492
15642
  parentLocator?: string | undefined;
15493
15643
  originalEffectiveTime?: string | undefined;
15644
+ tenantLocator?: string | undefined;
15494
15645
  rootLocator?: string | undefined;
15495
15646
  } & /*elided*/ any)[];
15496
15647
  };
@@ -15542,9 +15693,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
15542
15693
  staticLocator: string;
15543
15694
  data?: Record<string, any> | undefined;
15544
15695
  coverageTerms?: Record<string, string> | undefined;
15545
- tenantLocator?: string | undefined;
15546
15696
  parentLocator?: string | undefined;
15547
15697
  originalEffectiveTime?: string | undefined;
15698
+ tenantLocator?: string | undefined;
15548
15699
  rootLocator?: string | undefined;
15549
15700
  } & {
15550
15701
  elements?: ({
@@ -15553,9 +15704,9 @@ export declare const policySnapshotResponseSchema: z.ZodObject<{
15553
15704
  staticLocator: string;
15554
15705
  data?: Record<string, any> | undefined;
15555
15706
  coverageTerms?: Record<string, string> | undefined;
15556
- tenantLocator?: string | undefined;
15557
15707
  parentLocator?: string | undefined;
15558
15708
  originalEffectiveTime?: string | undefined;
15709
+ tenantLocator?: string | undefined;
15559
15710
  rootLocator?: string | undefined;
15560
15711
  } & /*elided*/ any)[];
15561
15712
  };
@@ -22335,13 +22486,13 @@ export declare const QuotePriceResponseSchema: z.ZodObject<z.objectUtil.extendSh
22335
22486
  rateDifference?: number | undefined;
22336
22487
  reversalOfLocator?: string | undefined;
22337
22488
  }[];
22338
- tenantLocator: string;
22339
22489
  accountLocator: string;
22340
22490
  startTime: string;
22341
22491
  endTime: string;
22342
22492
  expirationTime: string;
22343
22493
  productName: string;
22344
22494
  durationBasis: "none" | "years" | "months" | "weeks" | "days" | "hours" | "monthsE360";
22495
+ tenantLocator: string;
22345
22496
  duration: number;
22346
22497
  quoteLocator: string;
22347
22498
  quoteState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded";
@@ -22362,13 +22513,13 @@ export declare const QuotePriceResponseSchema: z.ZodObject<z.objectUtil.extendSh
22362
22513
  rateDifference?: number | undefined;
22363
22514
  reversalOfLocator?: string | undefined;
22364
22515
  }[];
22365
- tenantLocator: string;
22366
22516
  accountLocator: string;
22367
22517
  startTime: string;
22368
22518
  endTime: string;
22369
22519
  expirationTime: string;
22370
22520
  productName: string;
22371
22521
  durationBasis: "none" | "years" | "months" | "weeks" | "days" | "hours" | "monthsE360";
22522
+ tenantLocator: string;
22372
22523
  duration: number;
22373
22524
  quoteLocator: string;
22374
22525
  quoteState: "draft" | "declined" | "rejected" | "validated" | "priced" | "underwritten" | "accepted" | "issued" | "earlyUnderwritten" | "underwrittenBlocked" | "refused" | "discarded";
@@ -23170,9 +23321,9 @@ export declare const quoteResponseSchema: z.ZodObject<{
23170
23321
  staticLocator: string;
23171
23322
  data?: Record<string, any> | undefined;
23172
23323
  coverageTerms?: Record<string, string> | undefined;
23173
- tenantLocator?: string | undefined;
23174
23324
  parentLocator?: string | undefined;
23175
23325
  originalEffectiveTime?: string | undefined;
23326
+ tenantLocator?: string | undefined;
23176
23327
  rootLocator?: string | undefined;
23177
23328
  } & {
23178
23329
  elements?: ({
@@ -23181,9 +23332,9 @@ export declare const quoteResponseSchema: z.ZodObject<{
23181
23332
  staticLocator: string;
23182
23333
  data?: Record<string, any> | undefined;
23183
23334
  coverageTerms?: Record<string, string> | undefined;
23184
- tenantLocator?: string | undefined;
23185
23335
  parentLocator?: string | undefined;
23186
23336
  originalEffectiveTime?: string | undefined;
23337
+ tenantLocator?: string | undefined;
23187
23338
  rootLocator?: string | undefined;
23188
23339
  } & /*elided*/ any)[];
23189
23340
  }, z.ZodTypeDef, {
@@ -23192,9 +23343,9 @@ export declare const quoteResponseSchema: z.ZodObject<{
23192
23343
  staticLocator: string;
23193
23344
  data?: Record<string, any> | undefined;
23194
23345
  coverageTerms?: Record<string, string> | undefined;
23195
- tenantLocator?: string | undefined;
23196
23346
  parentLocator?: string | undefined;
23197
23347
  originalEffectiveTime?: string | undefined;
23348
+ tenantLocator?: string | undefined;
23198
23349
  rootLocator?: string | undefined;
23199
23350
  } & {
23200
23351
  elements?: ({
@@ -23203,9 +23354,9 @@ export declare const quoteResponseSchema: z.ZodObject<{
23203
23354
  staticLocator: string;
23204
23355
  data?: Record<string, any> | undefined;
23205
23356
  coverageTerms?: Record<string, string> | undefined;
23206
- tenantLocator?: string | undefined;
23207
23357
  parentLocator?: string | undefined;
23208
23358
  originalEffectiveTime?: string | undefined;
23359
+ tenantLocator?: string | undefined;
23209
23360
  rootLocator?: string | undefined;
23210
23361
  } & /*elided*/ any)[];
23211
23362
  }>>;
@@ -23280,9 +23431,9 @@ export declare const quoteResponseSchema: z.ZodObject<{
23280
23431
  staticLocator: string;
23281
23432
  data?: Record<string, any> | undefined;
23282
23433
  coverageTerms?: Record<string, string> | undefined;
23283
- tenantLocator?: string | undefined;
23284
23434
  parentLocator?: string | undefined;
23285
23435
  originalEffectiveTime?: string | undefined;
23436
+ tenantLocator?: string | undefined;
23286
23437
  rootLocator?: string | undefined;
23287
23438
  } & {
23288
23439
  elements?: ({
@@ -23291,9 +23442,9 @@ export declare const quoteResponseSchema: z.ZodObject<{
23291
23442
  staticLocator: string;
23292
23443
  data?: Record<string, any> | undefined;
23293
23444
  coverageTerms?: Record<string, string> | undefined;
23294
- tenantLocator?: string | undefined;
23295
23445
  parentLocator?: string | undefined;
23296
23446
  originalEffectiveTime?: string | undefined;
23447
+ tenantLocator?: string | undefined;
23297
23448
  rootLocator?: string | undefined;
23298
23449
  } & /*elided*/ any)[];
23299
23450
  }) | undefined;
@@ -23335,9 +23486,9 @@ export declare const quoteResponseSchema: z.ZodObject<{
23335
23486
  staticLocator: string;
23336
23487
  data?: Record<string, any> | undefined;
23337
23488
  coverageTerms?: Record<string, string> | undefined;
23338
- tenantLocator?: string | undefined;
23339
23489
  parentLocator?: string | undefined;
23340
23490
  originalEffectiveTime?: string | undefined;
23491
+ tenantLocator?: string | undefined;
23341
23492
  rootLocator?: string | undefined;
23342
23493
  } & {
23343
23494
  elements?: ({
@@ -23346,9 +23497,9 @@ export declare const quoteResponseSchema: z.ZodObject<{
23346
23497
  staticLocator: string;
23347
23498
  data?: Record<string, any> | undefined;
23348
23499
  coverageTerms?: Record<string, string> | undefined;
23349
- tenantLocator?: string | undefined;
23350
23500
  parentLocator?: string | undefined;
23351
23501
  originalEffectiveTime?: string | undefined;
23502
+ tenantLocator?: string | undefined;
23352
23503
  rootLocator?: string | undefined;
23353
23504
  } & /*elided*/ any)[];
23354
23505
  }) | undefined;
@@ -23815,13 +23966,13 @@ export declare const QuoteUnderwritingResponseSchema: z.ZodObject<z.objectUtil.e
23815
23966
  elementLocator?: string | undefined;
23816
23967
  }>, "many">;
23817
23968
  }>, "strip", z.ZodTypeAny, {
23818
- tenantLocator: string;
23819
23969
  accountLocator: string;
23820
23970
  startTime: string;
23821
23971
  endTime: string;
23822
23972
  expirationTime: string;
23823
23973
  productName: string;
23824
23974
  durationBasis: "none" | "years" | "months" | "weeks" | "days" | "hours" | "monthsE360";
23975
+ tenantLocator: string;
23825
23976
  duration: number;
23826
23977
  quoteLocator: string;
23827
23978
  underwritingStatus: string;
@@ -23840,13 +23991,13 @@ export declare const QuoteUnderwritingResponseSchema: z.ZodObject<z.objectUtil.e
23840
23991
  elementLocator?: string | undefined;
23841
23992
  }[];
23842
23993
  }, {
23843
- tenantLocator: string;
23844
23994
  accountLocator: string;
23845
23995
  startTime: string;
23846
23996
  endTime: string;
23847
23997
  expirationTime: string;
23848
23998
  productName: string;
23849
23999
  durationBasis: "none" | "years" | "months" | "weeks" | "days" | "hours" | "monthsE360";
24000
+ tenantLocator: string;
23850
24001
  duration: number;
23851
24002
  quoteLocator: string;
23852
24003
  underwritingStatus: string;
@@ -24662,9 +24813,9 @@ export declare const segmentResponseSchema: z.ZodObject<{
24662
24813
  staticLocator: string;
24663
24814
  data?: Record<string, any> | undefined;
24664
24815
  coverageTerms?: Record<string, string> | undefined;
24665
- tenantLocator?: string | undefined;
24666
24816
  parentLocator?: string | undefined;
24667
24817
  originalEffectiveTime?: string | undefined;
24818
+ tenantLocator?: string | undefined;
24668
24819
  rootLocator?: string | undefined;
24669
24820
  } & {
24670
24821
  elements?: ({
@@ -24673,9 +24824,9 @@ export declare const segmentResponseSchema: z.ZodObject<{
24673
24824
  staticLocator: string;
24674
24825
  data?: Record<string, any> | undefined;
24675
24826
  coverageTerms?: Record<string, string> | undefined;
24676
- tenantLocator?: string | undefined;
24677
24827
  parentLocator?: string | undefined;
24678
24828
  originalEffectiveTime?: string | undefined;
24829
+ tenantLocator?: string | undefined;
24679
24830
  rootLocator?: string | undefined;
24680
24831
  } & /*elided*/ any)[];
24681
24832
  }, z.ZodTypeDef, {
@@ -24684,9 +24835,9 @@ export declare const segmentResponseSchema: z.ZodObject<{
24684
24835
  staticLocator: string;
24685
24836
  data?: Record<string, any> | undefined;
24686
24837
  coverageTerms?: Record<string, string> | undefined;
24687
- tenantLocator?: string | undefined;
24688
24838
  parentLocator?: string | undefined;
24689
24839
  originalEffectiveTime?: string | undefined;
24840
+ tenantLocator?: string | undefined;
24690
24841
  rootLocator?: string | undefined;
24691
24842
  } & {
24692
24843
  elements?: ({
@@ -24695,9 +24846,9 @@ export declare const segmentResponseSchema: z.ZodObject<{
24695
24846
  staticLocator: string;
24696
24847
  data?: Record<string, any> | undefined;
24697
24848
  coverageTerms?: Record<string, string> | undefined;
24698
- tenantLocator?: string | undefined;
24699
24849
  parentLocator?: string | undefined;
24700
24850
  originalEffectiveTime?: string | undefined;
24851
+ tenantLocator?: string | undefined;
24701
24852
  rootLocator?: string | undefined;
24702
24853
  } & /*elided*/ any)[];
24703
24854
  }>;
@@ -24715,9 +24866,9 @@ export declare const segmentResponseSchema: z.ZodObject<{
24715
24866
  staticLocator: string;
24716
24867
  data?: Record<string, any> | undefined;
24717
24868
  coverageTerms?: Record<string, string> | undefined;
24718
- tenantLocator?: string | undefined;
24719
24869
  parentLocator?: string | undefined;
24720
24870
  originalEffectiveTime?: string | undefined;
24871
+ tenantLocator?: string | undefined;
24721
24872
  rootLocator?: string | undefined;
24722
24873
  } & {
24723
24874
  elements?: ({
@@ -24726,9 +24877,9 @@ export declare const segmentResponseSchema: z.ZodObject<{
24726
24877
  staticLocator: string;
24727
24878
  data?: Record<string, any> | undefined;
24728
24879
  coverageTerms?: Record<string, string> | undefined;
24729
- tenantLocator?: string | undefined;
24730
24880
  parentLocator?: string | undefined;
24731
24881
  originalEffectiveTime?: string | undefined;
24882
+ tenantLocator?: string | undefined;
24732
24883
  rootLocator?: string | undefined;
24733
24884
  } & /*elided*/ any)[];
24734
24885
  };
@@ -24745,9 +24896,9 @@ export declare const segmentResponseSchema: z.ZodObject<{
24745
24896
  staticLocator: string;
24746
24897
  data?: Record<string, any> | undefined;
24747
24898
  coverageTerms?: Record<string, string> | undefined;
24748
- tenantLocator?: string | undefined;
24749
24899
  parentLocator?: string | undefined;
24750
24900
  originalEffectiveTime?: string | undefined;
24901
+ tenantLocator?: string | undefined;
24751
24902
  rootLocator?: string | undefined;
24752
24903
  } & {
24753
24904
  elements?: ({
@@ -24756,9 +24907,9 @@ export declare const segmentResponseSchema: z.ZodObject<{
24756
24907
  staticLocator: string;
24757
24908
  data?: Record<string, any> | undefined;
24758
24909
  coverageTerms?: Record<string, string> | undefined;
24759
- tenantLocator?: string | undefined;
24760
24910
  parentLocator?: string | undefined;
24761
24911
  originalEffectiveTime?: string | undefined;
24912
+ tenantLocator?: string | undefined;
24762
24913
  rootLocator?: string | undefined;
24763
24914
  } & /*elided*/ any)[];
24764
24915
  };
@@ -26321,9 +26472,9 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
26321
26472
  staticLocator: string;
26322
26473
  data?: Record<string, any> | undefined;
26323
26474
  coverageTerms?: Record<string, string> | undefined;
26324
- tenantLocator?: string | undefined;
26325
26475
  parentLocator?: string | undefined;
26326
26476
  originalEffectiveTime?: string | undefined;
26477
+ tenantLocator?: string | undefined;
26327
26478
  rootLocator?: string | undefined;
26328
26479
  } & {
26329
26480
  elements?: ({
@@ -26332,9 +26483,9 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
26332
26483
  staticLocator: string;
26333
26484
  data?: Record<string, any> | undefined;
26334
26485
  coverageTerms?: Record<string, string> | undefined;
26335
- tenantLocator?: string | undefined;
26336
26486
  parentLocator?: string | undefined;
26337
26487
  originalEffectiveTime?: string | undefined;
26488
+ tenantLocator?: string | undefined;
26338
26489
  rootLocator?: string | undefined;
26339
26490
  } & /*elided*/ any)[];
26340
26491
  }, z.ZodTypeDef, {
@@ -26343,9 +26494,9 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
26343
26494
  staticLocator: string;
26344
26495
  data?: Record<string, any> | undefined;
26345
26496
  coverageTerms?: Record<string, string> | undefined;
26346
- tenantLocator?: string | undefined;
26347
26497
  parentLocator?: string | undefined;
26348
26498
  originalEffectiveTime?: string | undefined;
26499
+ tenantLocator?: string | undefined;
26349
26500
  rootLocator?: string | undefined;
26350
26501
  } & {
26351
26502
  elements?: ({
@@ -26354,9 +26505,9 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
26354
26505
  staticLocator: string;
26355
26506
  data?: Record<string, any> | undefined;
26356
26507
  coverageTerms?: Record<string, string> | undefined;
26357
- tenantLocator?: string | undefined;
26358
26508
  parentLocator?: string | undefined;
26359
26509
  originalEffectiveTime?: string | undefined;
26510
+ tenantLocator?: string | undefined;
26360
26511
  rootLocator?: string | undefined;
26361
26512
  } & /*elided*/ any)[];
26362
26513
  }>;
@@ -26374,9 +26525,9 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
26374
26525
  staticLocator: string;
26375
26526
  data?: Record<string, any> | undefined;
26376
26527
  coverageTerms?: Record<string, string> | undefined;
26377
- tenantLocator?: string | undefined;
26378
26528
  parentLocator?: string | undefined;
26379
26529
  originalEffectiveTime?: string | undefined;
26530
+ tenantLocator?: string | undefined;
26380
26531
  rootLocator?: string | undefined;
26381
26532
  } & {
26382
26533
  elements?: ({
@@ -26385,9 +26536,9 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
26385
26536
  staticLocator: string;
26386
26537
  data?: Record<string, any> | undefined;
26387
26538
  coverageTerms?: Record<string, string> | undefined;
26388
- tenantLocator?: string | undefined;
26389
26539
  parentLocator?: string | undefined;
26390
26540
  originalEffectiveTime?: string | undefined;
26541
+ tenantLocator?: string | undefined;
26391
26542
  rootLocator?: string | undefined;
26392
26543
  } & /*elided*/ any)[];
26393
26544
  };
@@ -26404,9 +26555,9 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
26404
26555
  staticLocator: string;
26405
26556
  data?: Record<string, any> | undefined;
26406
26557
  coverageTerms?: Record<string, string> | undefined;
26407
- tenantLocator?: string | undefined;
26408
26558
  parentLocator?: string | undefined;
26409
26559
  originalEffectiveTime?: string | undefined;
26560
+ tenantLocator?: string | undefined;
26410
26561
  rootLocator?: string | undefined;
26411
26562
  } & {
26412
26563
  elements?: ({
@@ -26415,9 +26566,9 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
26415
26566
  staticLocator: string;
26416
26567
  data?: Record<string, any> | undefined;
26417
26568
  coverageTerms?: Record<string, string> | undefined;
26418
- tenantLocator?: string | undefined;
26419
26569
  parentLocator?: string | undefined;
26420
26570
  originalEffectiveTime?: string | undefined;
26571
+ tenantLocator?: string | undefined;
26421
26572
  rootLocator?: string | undefined;
26422
26573
  } & /*elided*/ any)[];
26423
26574
  };
@@ -26439,9 +26590,9 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
26439
26590
  staticLocator: string;
26440
26591
  data?: Record<string, any> | undefined;
26441
26592
  coverageTerms?: Record<string, string> | undefined;
26442
- tenantLocator?: string | undefined;
26443
26593
  parentLocator?: string | undefined;
26444
26594
  originalEffectiveTime?: string | undefined;
26595
+ tenantLocator?: string | undefined;
26445
26596
  rootLocator?: string | undefined;
26446
26597
  } & {
26447
26598
  elements?: ({
@@ -26450,9 +26601,9 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
26450
26601
  staticLocator: string;
26451
26602
  data?: Record<string, any> | undefined;
26452
26603
  coverageTerms?: Record<string, string> | undefined;
26453
- tenantLocator?: string | undefined;
26454
26604
  parentLocator?: string | undefined;
26455
26605
  originalEffectiveTime?: string | undefined;
26606
+ tenantLocator?: string | undefined;
26456
26607
  rootLocator?: string | undefined;
26457
26608
  } & /*elided*/ any)[];
26458
26609
  };
@@ -26495,9 +26646,9 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
26495
26646
  staticLocator: string;
26496
26647
  data?: Record<string, any> | undefined;
26497
26648
  coverageTerms?: Record<string, string> | undefined;
26498
- tenantLocator?: string | undefined;
26499
26649
  parentLocator?: string | undefined;
26500
26650
  originalEffectiveTime?: string | undefined;
26651
+ tenantLocator?: string | undefined;
26501
26652
  rootLocator?: string | undefined;
26502
26653
  } & {
26503
26654
  elements?: ({
@@ -26506,9 +26657,9 @@ export declare const transactionSnapshotResponseSchema: z.ZodObject<{
26506
26657
  staticLocator: string;
26507
26658
  data?: Record<string, any> | undefined;
26508
26659
  coverageTerms?: Record<string, string> | undefined;
26509
- tenantLocator?: string | undefined;
26510
26660
  parentLocator?: string | undefined;
26511
26661
  originalEffectiveTime?: string | undefined;
26662
+ tenantLocator?: string | undefined;
26512
26663
  rootLocator?: string | undefined;
26513
26664
  } & /*elided*/ any)[];
26514
26665
  };
@@ -27358,23 +27509,23 @@ export declare const UserCreateRequestSchema: z.ZodObject<z.objectUtil.extendSha
27358
27509
  roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
27359
27510
  tenants: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
27360
27511
  }>, "strip", z.ZodTypeAny, {
27512
+ email: string;
27361
27513
  userName: string;
27362
27514
  firstName: string;
27363
27515
  lastName: string;
27364
27516
  password: string;
27365
27517
  temporaryPassword: boolean;
27366
- email: string;
27367
- tenants?: string[] | undefined;
27368
27518
  roles?: string[] | undefined;
27519
+ tenants?: string[] | undefined;
27369
27520
  }, {
27521
+ email: string;
27370
27522
  userName: string;
27371
27523
  firstName: string;
27372
27524
  lastName: string;
27373
27525
  password: string;
27374
27526
  temporaryPassword: boolean;
27375
- email: string;
27376
- tenants?: string[] | undefined;
27377
27527
  roles?: string[] | undefined;
27528
+ tenants?: string[] | undefined;
27378
27529
  }>;
27379
27530
 
27380
27531
  export declare type UserId = z.infer<typeof UserIdSchema>;
@@ -27399,13 +27550,10 @@ export declare const UserQualificationsResponseSchema: z.ZodRecord<z.ZodString,
27399
27550
 
27400
27551
  export declare type UserQualificationsUpdateRequest = z.infer<typeof UserQualificationsUpdateRequestSchema>;
27401
27552
 
27402
- export declare const UserQualificationsUpdateRequestSchema: z.ZodObject<z.objectUtil.extendShape<{
27403
- removeQualifications: z.ZodRecord<z.ZodString, z.ZodString>;
27404
- addQualifications: z.ZodRecord<z.ZodString, z.ZodString>;
27405
- }, {
27553
+ export declare const UserQualificationsUpdateRequestSchema: z.ZodObject<{
27406
27554
  addQualifications: z.ZodRecord<z.ZodString, z.ZodString>;
27407
27555
  removeQualifications: z.ZodRecord<z.ZodString, z.ZodString>;
27408
- }>, "strip", z.ZodTypeAny, {
27556
+ }, "strip", z.ZodTypeAny, {
27409
27557
  removeQualifications: Record<string, string>;
27410
27558
  addQualifications: Record<string, string>;
27411
27559
  }, {
@@ -27430,20 +27578,20 @@ export declare const UserResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
27430
27578
  permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
27431
27579
  }>, "strip", z.ZodTypeAny, {
27432
27580
  locator: string;
27581
+ roles: string[];
27582
+ email: string;
27433
27583
  userName: string;
27434
27584
  firstName: string;
27435
27585
  lastName: string;
27436
- email: string;
27437
- roles: string[];
27438
27586
  tenants?: string[] | undefined;
27439
27587
  permissions?: string[] | undefined;
27440
27588
  }, {
27441
27589
  locator: string;
27590
+ roles: string[];
27591
+ email: string;
27442
27592
  userName: string;
27443
27593
  firstName: string;
27444
27594
  lastName: string;
27445
- email: string;
27446
- roles: string[];
27447
27595
  tenants?: string[] | undefined;
27448
27596
  permissions?: string[] | undefined;
27449
27597
  }>;
@@ -27483,17 +27631,17 @@ export declare const UserUpdateRequestSchema: z.ZodObject<{
27483
27631
  roles: z.ZodArray<z.ZodString, "many">;
27484
27632
  tenants: z.ZodArray<z.ZodString, "many">;
27485
27633
  }, "strip", z.ZodTypeAny, {
27634
+ roles: string[];
27486
27635
  tenants: string[];
27487
27636
  permissions: string[];
27488
27637
  firstName: string;
27489
27638
  lastName: string;
27490
- roles: string[];
27491
27639
  }, {
27640
+ roles: string[];
27492
27641
  tenants: string[];
27493
27642
  permissions: string[];
27494
27643
  firstName: string;
27495
27644
  lastName: string;
27496
- roles: string[];
27497
27645
  }>;
27498
27646
 
27499
27647
  export declare const UUIDZ: z.ZodString;
@@ -27658,14 +27806,11 @@ export declare const WorkManagementRefSchema: z.ZodObject<z.objectUtil.extendSha
27658
27806
  defaultDeadlineDays: number;
27659
27807
  blocksUnderwriting: boolean;
27660
27808
  }>>>;
27661
- assignmentRoles: z.ZodRecord<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
27662
- appliesTo: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>, "many">;
27663
- exclusive: z.ZodBoolean;
27664
- qualification: z.ZodRecord<z.ZodString, z.ZodString>;
27665
- }, {
27809
+ assignmentRoles: z.ZodRecord<z.ZodString, z.ZodObject<{
27666
27810
  appliesTo: z.ZodArray<z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>, "many">;
27667
27811
  qualification: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
27668
- }>, "strip", z.ZodTypeAny, {
27812
+ exclusive: z.ZodBoolean;
27813
+ }, "strip", z.ZodTypeAny, {
27669
27814
  appliesTo: ("account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote")[];
27670
27815
  exclusive: boolean;
27671
27816
  qualification?: Record<string, string> | undefined;