@socotra/ec-react-schemas 2.14.2-next.1 → 2.14.2-next.2

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
@@ -1308,6 +1308,363 @@ export declare const ActivityUpdateRequestSchema: z.ZodObject<z.objectUtil.exten
1308
1308
  deadlineTime?: string | undefined;
1309
1309
  }>;
1310
1310
 
1311
+ export declare type ActivityWithUserListResponse = z.infer<typeof ActivityWithUserListResponseSchema>;
1312
+
1313
+ export declare const ActivityWithUserListResponseSchema: z.ZodObject<{
1314
+ listCompleted: z.ZodBoolean;
1315
+ items: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<{
1316
+ locator: z.ZodString;
1317
+ category: z.ZodString;
1318
+ type: z.ZodString;
1319
+ activityState: z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"pastDeadline">, z.ZodLiteral<"completed">, z.ZodLiteral<"cancelled">]>;
1320
+ references: z.ZodArray<z.ZodObject<{
1321
+ referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1322
+ referenceLocator: z.ZodString;
1323
+ }, "strip", z.ZodTypeAny, {
1324
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1325
+ referenceLocator: string;
1326
+ }, {
1327
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1328
+ referenceLocator: string;
1329
+ }>, "many">;
1330
+ underwritingFlagLocators: z.ZodArray<z.ZodString, "many">;
1331
+ deadlineTime: z.ZodOptional<z.ZodString>;
1332
+ assignedTo: z.ZodOptional<z.ZodString>;
1333
+ createdBy: z.ZodString;
1334
+ createdAt: z.ZodString;
1335
+ updatedBy: z.ZodOptional<z.ZodString>;
1336
+ updatedAt: z.ZodOptional<z.ZodString>;
1337
+ }, {
1338
+ locator: z.ZodString;
1339
+ activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1340
+ references: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1341
+ referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1342
+ referenceLocator: z.ZodString;
1343
+ }, {
1344
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1345
+ }>, "strip", z.ZodTypeAny, {
1346
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1347
+ referenceLocator: string;
1348
+ }, {
1349
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1350
+ referenceLocator: string;
1351
+ }>, "many">>;
1352
+ underwritingFlagLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1353
+ deadlineTime: z.ZodOptional<z.ZodString>;
1354
+ assignedTo: z.ZodOptional<z.ZodString>;
1355
+ createdBy: z.ZodString;
1356
+ createdAt: z.ZodString;
1357
+ updatedBy: z.ZodOptional<z.ZodString>;
1358
+ updatedAt: z.ZodOptional<z.ZodString>;
1359
+ }>, "assignedTo">, {
1360
+ assignedTo: z.ZodOptional<z.ZodObject<{
1361
+ locator: z.ZodString;
1362
+ userName: z.ZodString;
1363
+ firstName: z.ZodOptional<z.ZodString>;
1364
+ lastName: z.ZodOptional<z.ZodString>;
1365
+ }, "strip", z.ZodTypeAny, {
1366
+ locator: string;
1367
+ userName: string;
1368
+ firstName?: string | undefined;
1369
+ lastName?: string | undefined;
1370
+ }, {
1371
+ locator: string;
1372
+ userName: string;
1373
+ firstName?: string | undefined;
1374
+ lastName?: string | undefined;
1375
+ }>>;
1376
+ }>, "strip", z.ZodTypeAny, {
1377
+ locator: string;
1378
+ type: string;
1379
+ createdBy: string;
1380
+ category: string;
1381
+ createdAt: string;
1382
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1383
+ updatedBy?: string | undefined;
1384
+ updatedAt?: string | undefined;
1385
+ references?: {
1386
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1387
+ referenceLocator: string;
1388
+ }[] | undefined;
1389
+ deadlineTime?: string | undefined;
1390
+ underwritingFlagLocators?: string[] | undefined;
1391
+ assignedTo?: {
1392
+ locator: string;
1393
+ userName: string;
1394
+ firstName?: string | undefined;
1395
+ lastName?: string | undefined;
1396
+ } | undefined;
1397
+ }, {
1398
+ locator: string;
1399
+ type: string;
1400
+ createdBy: string;
1401
+ category: string;
1402
+ createdAt: string;
1403
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1404
+ updatedBy?: string | undefined;
1405
+ updatedAt?: string | undefined;
1406
+ references?: {
1407
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1408
+ referenceLocator: string;
1409
+ }[] | undefined;
1410
+ deadlineTime?: string | undefined;
1411
+ underwritingFlagLocators?: string[] | undefined;
1412
+ assignedTo?: {
1413
+ locator: string;
1414
+ userName: string;
1415
+ firstName?: string | undefined;
1416
+ lastName?: string | undefined;
1417
+ } | undefined;
1418
+ }>, "many">;
1419
+ }, "strip", z.ZodTypeAny, {
1420
+ items: {
1421
+ locator: string;
1422
+ type: string;
1423
+ createdBy: string;
1424
+ category: string;
1425
+ createdAt: string;
1426
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1427
+ updatedBy?: string | undefined;
1428
+ updatedAt?: string | undefined;
1429
+ references?: {
1430
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1431
+ referenceLocator: string;
1432
+ }[] | undefined;
1433
+ deadlineTime?: string | undefined;
1434
+ underwritingFlagLocators?: string[] | undefined;
1435
+ assignedTo?: {
1436
+ locator: string;
1437
+ userName: string;
1438
+ firstName?: string | undefined;
1439
+ lastName?: string | undefined;
1440
+ } | undefined;
1441
+ }[];
1442
+ listCompleted: boolean;
1443
+ }, {
1444
+ items: {
1445
+ locator: string;
1446
+ type: string;
1447
+ createdBy: string;
1448
+ category: string;
1449
+ createdAt: string;
1450
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1451
+ updatedBy?: string | undefined;
1452
+ updatedAt?: string | undefined;
1453
+ references?: {
1454
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1455
+ referenceLocator: string;
1456
+ }[] | undefined;
1457
+ deadlineTime?: string | undefined;
1458
+ underwritingFlagLocators?: string[] | undefined;
1459
+ assignedTo?: {
1460
+ locator: string;
1461
+ userName: string;
1462
+ firstName?: string | undefined;
1463
+ lastName?: string | undefined;
1464
+ } | undefined;
1465
+ }[];
1466
+ listCompleted: boolean;
1467
+ }>;
1468
+
1469
+ export declare type ActivityWithUserResponse = z.infer<typeof ActivityWithUserResponseSchema>;
1470
+
1471
+ export declare const ActivityWithUserResponseSchema: z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<{
1472
+ locator: z.ZodString;
1473
+ category: z.ZodString;
1474
+ type: z.ZodString;
1475
+ activityState: z.ZodUnion<[z.ZodLiteral<"active">, z.ZodLiteral<"pastDeadline">, z.ZodLiteral<"completed">, z.ZodLiteral<"cancelled">]>;
1476
+ references: z.ZodArray<z.ZodObject<{
1477
+ referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1478
+ referenceLocator: z.ZodString;
1479
+ }, "strip", z.ZodTypeAny, {
1480
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1481
+ referenceLocator: string;
1482
+ }, {
1483
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1484
+ referenceLocator: string;
1485
+ }>, "many">;
1486
+ underwritingFlagLocators: z.ZodArray<z.ZodString, "many">;
1487
+ deadlineTime: z.ZodOptional<z.ZodString>;
1488
+ assignedTo: z.ZodOptional<z.ZodString>;
1489
+ createdBy: z.ZodString;
1490
+ createdAt: z.ZodString;
1491
+ updatedBy: z.ZodOptional<z.ZodString>;
1492
+ updatedAt: z.ZodOptional<z.ZodString>;
1493
+ }, {
1494
+ locator: z.ZodString;
1495
+ activityState: z.ZodEnum<["active", "pastDeadline", "completed", "cancelled"]>;
1496
+ references: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1497
+ referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1498
+ referenceLocator: z.ZodString;
1499
+ }, {
1500
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1501
+ }>, "strip", z.ZodTypeAny, {
1502
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1503
+ referenceLocator: string;
1504
+ }, {
1505
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1506
+ referenceLocator: string;
1507
+ }>, "many">>;
1508
+ underwritingFlagLocators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1509
+ deadlineTime: z.ZodOptional<z.ZodString>;
1510
+ assignedTo: z.ZodOptional<z.ZodString>;
1511
+ createdBy: z.ZodString;
1512
+ createdAt: z.ZodString;
1513
+ updatedBy: z.ZodOptional<z.ZodString>;
1514
+ updatedAt: z.ZodOptional<z.ZodString>;
1515
+ }>, "assignedTo">, {
1516
+ assignedTo: z.ZodOptional<z.ZodObject<{
1517
+ locator: z.ZodString;
1518
+ userName: z.ZodString;
1519
+ firstName: z.ZodOptional<z.ZodString>;
1520
+ lastName: z.ZodOptional<z.ZodString>;
1521
+ }, "strip", z.ZodTypeAny, {
1522
+ locator: string;
1523
+ userName: string;
1524
+ firstName?: string | undefined;
1525
+ lastName?: string | undefined;
1526
+ }, {
1527
+ locator: string;
1528
+ userName: string;
1529
+ firstName?: string | undefined;
1530
+ lastName?: string | undefined;
1531
+ }>>;
1532
+ }>, "strip", z.ZodTypeAny, {
1533
+ locator: string;
1534
+ type: string;
1535
+ createdBy: string;
1536
+ category: string;
1537
+ createdAt: string;
1538
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1539
+ updatedBy?: string | undefined;
1540
+ updatedAt?: string | undefined;
1541
+ references?: {
1542
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1543
+ referenceLocator: string;
1544
+ }[] | undefined;
1545
+ deadlineTime?: string | undefined;
1546
+ underwritingFlagLocators?: string[] | undefined;
1547
+ assignedTo?: {
1548
+ locator: string;
1549
+ userName: string;
1550
+ firstName?: string | undefined;
1551
+ lastName?: string | undefined;
1552
+ } | undefined;
1553
+ }, {
1554
+ locator: string;
1555
+ type: string;
1556
+ createdBy: string;
1557
+ category: string;
1558
+ createdAt: string;
1559
+ activityState: "active" | "pastDeadline" | "completed" | "cancelled";
1560
+ updatedBy?: string | undefined;
1561
+ updatedAt?: string | undefined;
1562
+ references?: {
1563
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1564
+ referenceLocator: string;
1565
+ }[] | undefined;
1566
+ deadlineTime?: string | undefined;
1567
+ underwritingFlagLocators?: string[] | undefined;
1568
+ assignedTo?: {
1569
+ locator: string;
1570
+ userName: string;
1571
+ firstName?: string | undefined;
1572
+ lastName?: string | undefined;
1573
+ } | undefined;
1574
+ }>;
1575
+
1576
+ export declare type AddActivityRequest = z.infer<typeof AddActivityRequestSchema>;
1577
+
1578
+ export declare const AddActivityRequestSchema: z.ZodObject<z.objectUtil.extendShape<{}, z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<{
1579
+ type: z.ZodString;
1580
+ deadlineTime: z.ZodOptional<z.ZodString>;
1581
+ references: z.ZodArray<z.ZodObject<{
1582
+ referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1583
+ referenceLocator: z.ZodString;
1584
+ }, "strip", z.ZodTypeAny, {
1585
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1586
+ referenceLocator: string;
1587
+ }, {
1588
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1589
+ referenceLocator: string;
1590
+ }>, "many">;
1591
+ underwritingFlagLocators: z.ZodArray<z.ZodString, "many">;
1592
+ assignedTo: z.ZodOptional<z.ZodString>;
1593
+ }, {
1594
+ deadlineTime: z.ZodString;
1595
+ references: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1596
+ referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1597
+ referenceLocator: z.ZodString;
1598
+ }, {
1599
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1600
+ }>, "strip", z.ZodTypeAny, {
1601
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1602
+ referenceLocator: string;
1603
+ }, {
1604
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1605
+ referenceLocator: string;
1606
+ }>, "many">;
1607
+ assignedTo: z.ZodOptional<z.ZodString>;
1608
+ }>, "assignedTo">, {
1609
+ diaryNote: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
1610
+ category: z.ZodOptional<z.ZodString>;
1611
+ contents: z.ZodString;
1612
+ }, {}>, "strip", z.ZodTypeAny, {
1613
+ contents: string;
1614
+ category?: string | undefined;
1615
+ }, {
1616
+ contents: string;
1617
+ category?: string | undefined;
1618
+ }>>;
1619
+ userAssignment: z.ZodOptional<z.ZodObject<Omit<z.objectUtil.extendShape<{
1620
+ userLocator: z.ZodString;
1621
+ assignmentRole: z.ZodString;
1622
+ referenceType: z.ZodUnion<[z.ZodLiteral<"account">, z.ZodLiteral<"quickQuote">, z.ZodLiteral<"quote">, z.ZodLiteral<"policy">, z.ZodLiteral<"transaction">, z.ZodLiteral<"invoice">]>;
1623
+ referenceLocator: z.ZodString;
1624
+ }, {
1625
+ userLocator: z.ZodString;
1626
+ referenceType: z.ZodEnum<["account", "quickQuote", "quote", "policy", "transaction", "invoice"]>;
1627
+ }>, "referenceType" | "referenceLocator">, "strip", z.ZodTypeAny, {
1628
+ userLocator: string;
1629
+ assignmentRole: string;
1630
+ }, {
1631
+ userLocator: string;
1632
+ assignmentRole: string;
1633
+ }>>;
1634
+ }>>, "strip", z.ZodTypeAny, {
1635
+ type: string;
1636
+ references: {
1637
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1638
+ referenceLocator: string;
1639
+ }[];
1640
+ deadlineTime: string;
1641
+ underwritingFlagLocators: string[];
1642
+ diaryNote?: {
1643
+ contents: string;
1644
+ category?: string | undefined;
1645
+ } | undefined;
1646
+ userAssignment?: {
1647
+ userLocator: string;
1648
+ assignmentRole: string;
1649
+ } | undefined;
1650
+ }, {
1651
+ type: string;
1652
+ references: {
1653
+ referenceType: "account" | "policy" | "quote" | "invoice" | "transaction" | "quickQuote";
1654
+ referenceLocator: string;
1655
+ }[];
1656
+ deadlineTime: string;
1657
+ underwritingFlagLocators: string[];
1658
+ diaryNote?: {
1659
+ contents: string;
1660
+ category?: string | undefined;
1661
+ } | undefined;
1662
+ userAssignment?: {
1663
+ userLocator: string;
1664
+ assignmentRole: string;
1665
+ } | undefined;
1666
+ }>;
1667
+
1311
1668
  export declare type AddChangeInstructionCreateRequest = z.infer<typeof addChangeInstructionCreateRequestSchema>;
1312
1669
 
1313
1670
  export declare const addChangeInstructionCreateRequestSchema: z.ZodObject<{