@sprucelabs/spruce-calendar-components 28.3.10 → 28.3.12

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.
@@ -720,100 +720,13 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
720
720
  }
721
721
  }
722
722
  namespace SpruceSchemas.Calendar.v2021_05_19 {
723
- interface ListCalendarEventTypesEmitTargetAndPayload {
724
- /** Source. */
725
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
726
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayload | undefined | null;
727
- }
728
- interface ListCalendarEventTypesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
729
- id: 'listCalendarEventTypesEmitTargetAndPayload';
730
- version: 'v2021_05_19';
731
- namespace: 'Calendar';
732
- name: '';
733
- fields: {
734
- /** Source. */
735
- 'source': {
736
- label: 'Source';
737
- type: 'schema';
738
- options: {
739
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
740
- };
741
- };
742
- /** . */
743
- 'payload': {
744
- type: 'schema';
745
- options: {
746
- schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema;
747
- };
748
- };
749
- };
750
- }
751
- interface ListCalendarEventTypesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitTargetAndPayloadSchema> {
752
- }
753
- }
754
- namespace SpruceSchemas.Calendar.v2021_05_19 {
755
- interface CancelCalendarEventEmitTarget {
756
- 'locationId': string;
757
- 'calendarEventId': string;
758
- }
759
- interface CancelCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
760
- id: 'cancelCalendarEventEmitTarget';
761
- version: 'v2021_05_19';
762
- namespace: 'Calendar';
763
- name: '';
764
- fields: {
765
- /** . */
766
- 'locationId': {
767
- type: 'id';
768
- isRequired: true;
769
- options: undefined;
770
- };
771
- /** . */
772
- 'calendarEventId': {
773
- type: 'id';
774
- isRequired: true;
775
- options: undefined;
776
- };
777
- };
778
- }
779
- interface CancelCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema> {
780
- }
781
- }
782
- namespace SpruceSchemas.Calendar.v2021_05_19 {
783
- interface CancelCalendarEventEmitPayload {
784
- 'dateToCancel'?: number | undefined | null;
785
- 'shouldCancelAllEventsGoingForward'?: boolean | undefined | null;
786
- }
787
- interface CancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
788
- id: 'cancelCalendarEventEmitPayload';
789
- version: 'v2021_05_19';
790
- namespace: 'Calendar';
791
- name: '';
792
- fields: {
793
- /** . */
794
- 'dateToCancel': {
795
- type: 'number';
796
- options: undefined;
797
- };
798
- /** . */
799
- 'shouldCancelAllEventsGoingForward': {
800
- type: 'boolean';
801
- options: undefined;
802
- };
803
- };
804
- }
805
- interface CancelCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema> {
806
- }
807
- }
808
- namespace SpruceSchemas.Calendar.v2021_05_19 {
809
- interface CancelCalendarEventEmitTargetAndPayload {
723
+ interface ListCalendarsEmitTargetAndPayload {
810
724
  /** Source. */
811
725
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
812
- 'target': SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTarget;
813
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayload | undefined | null;
726
+ 'target'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTarget | undefined | null;
814
727
  }
815
- interface CancelCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
816
- id: 'cancelCalendarEventEmitTargetAndPayload';
728
+ interface ListCalendarsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
729
+ id: 'listCalendarsEmitTargetAndPayload';
817
730
  version: 'v2021_05_19';
818
731
  namespace: 'Calendar';
819
732
  name: '';
@@ -828,43 +741,14 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
828
741
  };
829
742
  /** . */
830
743
  'target': {
831
- type: 'schema';
832
- isRequired: true;
833
- options: {
834
- schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema;
835
- };
836
- };
837
- /** . */
838
- 'payload': {
839
744
  type: 'schema';
840
745
  options: {
841
- schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema;
746
+ schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema;
842
747
  };
843
748
  };
844
749
  };
845
750
  }
846
- interface CancelCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetAndPayloadSchema> {
847
- }
848
- }
849
- namespace SpruceSchemas.Calendar.v2021_05_19 {
850
- interface CancelCalendarEventResponsePayload {
851
- 'totalDeleted': number;
852
- }
853
- interface CancelCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
854
- id: 'cancelCalendarEventResponsePayload';
855
- version: 'v2021_05_19';
856
- namespace: 'Calendar';
857
- name: '';
858
- fields: {
859
- /** . */
860
- 'totalDeleted': {
861
- type: 'number';
862
- isRequired: true;
863
- options: undefined;
864
- };
865
- };
866
- }
867
- interface CancelCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventResponsePayloadSchema> {
751
+ interface ListCalendarsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetAndPayloadSchema> {
868
752
  }
869
753
  }
870
754
  namespace SpruceSchemas.Calendar.v2021_05_19 {
@@ -1513,41 +1397,68 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1513
1397
  }
1514
1398
  }
1515
1399
  namespace SpruceSchemas.Calendar.v2021_05_19 {
1516
- interface DeleteCalendarEmitTarget {
1517
- 'organizationId': string;
1518
- 'calendarId': string;
1400
+ interface CancelCalendarEventEmitTarget {
1401
+ 'locationId': string;
1402
+ 'calendarEventId': string;
1519
1403
  }
1520
- interface DeleteCalendarEmitTargetSchema extends SpruceSchema.Schema {
1521
- id: 'deleteCalendarEmitTarget';
1404
+ interface CancelCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
1405
+ id: 'cancelCalendarEventEmitTarget';
1522
1406
  version: 'v2021_05_19';
1523
1407
  namespace: 'Calendar';
1524
1408
  name: '';
1525
1409
  fields: {
1526
1410
  /** . */
1527
- 'organizationId': {
1411
+ 'locationId': {
1528
1412
  type: 'id';
1529
1413
  isRequired: true;
1530
1414
  options: undefined;
1531
1415
  };
1532
1416
  /** . */
1533
- 'calendarId': {
1417
+ 'calendarEventId': {
1534
1418
  type: 'id';
1535
1419
  isRequired: true;
1536
1420
  options: undefined;
1537
1421
  };
1538
1422
  };
1539
1423
  }
1540
- interface DeleteCalendarEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetSchema> {
1424
+ interface CancelCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema> {
1541
1425
  }
1542
1426
  }
1543
1427
  namespace SpruceSchemas.Calendar.v2021_05_19 {
1544
- interface DeleteCalendarEmitTargetAndPayload {
1428
+ interface CancelCalendarEventEmitPayload {
1429
+ 'dateToCancel'?: number | undefined | null;
1430
+ 'shouldCancelAllEventsGoingForward'?: boolean | undefined | null;
1431
+ }
1432
+ interface CancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
1433
+ id: 'cancelCalendarEventEmitPayload';
1434
+ version: 'v2021_05_19';
1435
+ namespace: 'Calendar';
1436
+ name: '';
1437
+ fields: {
1438
+ /** . */
1439
+ 'dateToCancel': {
1440
+ type: 'number';
1441
+ options: undefined;
1442
+ };
1443
+ /** . */
1444
+ 'shouldCancelAllEventsGoingForward': {
1445
+ type: 'boolean';
1446
+ options: undefined;
1447
+ };
1448
+ };
1449
+ }
1450
+ interface CancelCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema> {
1451
+ }
1452
+ }
1453
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1454
+ interface CancelCalendarEventEmitTargetAndPayload {
1545
1455
  /** Source. */
1546
1456
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1547
- 'target': SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTarget;
1457
+ 'target': SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTarget;
1458
+ 'payload'?: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayload | undefined | null;
1548
1459
  }
1549
- interface DeleteCalendarEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1550
- id: 'deleteCalendarEmitTargetAndPayload';
1460
+ interface CancelCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1461
+ id: 'cancelCalendarEventEmitTargetAndPayload';
1551
1462
  version: 'v2021_05_19';
1552
1463
  namespace: 'Calendar';
1553
1464
  name: '';
@@ -1565,101 +1476,167 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1565
1476
  type: 'schema';
1566
1477
  isRequired: true;
1567
1478
  options: {
1568
- schema: SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetSchema;
1479
+ schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema;
1569
1480
  };
1570
1481
  };
1571
- };
1572
- }
1573
- interface DeleteCalendarEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetAndPayloadSchema> {
1574
- }
1575
- }
1576
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1577
- interface DeleteCalendarResponsePayload {
1578
- 'totalDeleted'?: number | undefined | null;
1579
- }
1580
- interface DeleteCalendarResponsePayloadSchema extends SpruceSchema.Schema {
1581
- id: 'deleteCalendarResponsePayload';
1582
- version: 'v2021_05_19';
1583
- namespace: 'Calendar';
1584
- name: '';
1585
- fields: {
1586
1482
  /** . */
1587
- 'totalDeleted': {
1588
- type: 'number';
1589
- options: undefined;
1483
+ 'payload': {
1484
+ type: 'schema';
1485
+ options: {
1486
+ schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema;
1487
+ };
1590
1488
  };
1591
1489
  };
1592
1490
  }
1593
- interface DeleteCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarResponsePayloadSchema> {
1491
+ interface CancelCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetAndPayloadSchema> {
1594
1492
  }
1595
1493
  }
1596
1494
  namespace SpruceSchemas.Calendar.v2021_05_19 {
1597
- interface GetCalendarEventResponsePayload {
1598
- 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
1495
+ interface CancelCalendarEventResponsePayload {
1496
+ 'totalDeleted': number;
1599
1497
  }
1600
- interface GetCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
1601
- id: 'getCalendarEventResponsePayload';
1498
+ interface CancelCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
1499
+ id: 'cancelCalendarEventResponsePayload';
1602
1500
  version: 'v2021_05_19';
1603
1501
  namespace: 'Calendar';
1604
1502
  name: '';
1605
1503
  fields: {
1606
1504
  /** . */
1607
- 'calendarEvent': {
1608
- type: 'schema';
1505
+ 'totalDeleted': {
1506
+ type: 'number';
1609
1507
  isRequired: true;
1610
- options: {
1611
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
1612
- };
1508
+ options: undefined;
1613
1509
  };
1614
1510
  };
1615
1511
  }
1616
- interface GetCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventResponsePayloadSchema> {
1512
+ interface CancelCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventResponsePayloadSchema> {
1617
1513
  }
1618
1514
  }
1619
1515
  namespace SpruceSchemas.Calendar.v2021_05_19 {
1620
- interface DidCancelCalendarEventEmitTarget {
1621
- 'locationId': string;
1622
- 'calendarEventId': string;
1516
+ interface DeleteCalendarEmitTarget {
1517
+ 'organizationId': string;
1518
+ 'calendarId': string;
1623
1519
  }
1624
- interface DidCancelCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
1625
- id: 'didCancelCalendarEventEmitTarget';
1520
+ interface DeleteCalendarEmitTargetSchema extends SpruceSchema.Schema {
1521
+ id: 'deleteCalendarEmitTarget';
1626
1522
  version: 'v2021_05_19';
1627
1523
  namespace: 'Calendar';
1628
1524
  name: '';
1629
1525
  fields: {
1630
1526
  /** . */
1631
- 'locationId': {
1527
+ 'organizationId': {
1632
1528
  type: 'id';
1633
1529
  isRequired: true;
1634
1530
  options: undefined;
1635
1531
  };
1636
1532
  /** . */
1637
- 'calendarEventId': {
1533
+ 'calendarId': {
1638
1534
  type: 'id';
1639
1535
  isRequired: true;
1640
1536
  options: undefined;
1641
1537
  };
1642
1538
  };
1643
1539
  }
1644
- interface DidCancelCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitTargetSchema> {
1540
+ interface DeleteCalendarEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetSchema> {
1645
1541
  }
1646
1542
  }
1647
1543
  namespace SpruceSchemas.Calendar.v2021_05_19 {
1648
- interface DidCancelCalendarEventEmitPayload {
1649
- 'cancelStrategy': ("only-this-one" | "all-going-forward" | "all");
1650
- 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
1544
+ interface DeleteCalendarEmitTargetAndPayload {
1545
+ /** Source. */
1546
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1547
+ 'target': SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTarget;
1651
1548
  }
1652
- interface DidCancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
1653
- id: 'didCancelCalendarEventEmitPayload';
1549
+ interface DeleteCalendarEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1550
+ id: 'deleteCalendarEmitTargetAndPayload';
1654
1551
  version: 'v2021_05_19';
1655
1552
  namespace: 'Calendar';
1656
1553
  name: '';
1657
1554
  fields: {
1658
- /** . */
1659
- 'cancelStrategy': {
1660
- type: 'select';
1661
- isRequired: true;
1662
- options: {
1555
+ /** Source. */
1556
+ 'source': {
1557
+ label: 'Source';
1558
+ type: 'schema';
1559
+ options: {
1560
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
1561
+ };
1562
+ };
1563
+ /** . */
1564
+ 'target': {
1565
+ type: 'schema';
1566
+ isRequired: true;
1567
+ options: {
1568
+ schema: SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetSchema;
1569
+ };
1570
+ };
1571
+ };
1572
+ }
1573
+ interface DeleteCalendarEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetAndPayloadSchema> {
1574
+ }
1575
+ }
1576
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1577
+ interface DeleteCalendarResponsePayload {
1578
+ 'totalDeleted'?: number | undefined | null;
1579
+ }
1580
+ interface DeleteCalendarResponsePayloadSchema extends SpruceSchema.Schema {
1581
+ id: 'deleteCalendarResponsePayload';
1582
+ version: 'v2021_05_19';
1583
+ namespace: 'Calendar';
1584
+ name: '';
1585
+ fields: {
1586
+ /** . */
1587
+ 'totalDeleted': {
1588
+ type: 'number';
1589
+ options: undefined;
1590
+ };
1591
+ };
1592
+ }
1593
+ interface DeleteCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarResponsePayloadSchema> {
1594
+ }
1595
+ }
1596
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1597
+ interface DidCancelCalendarEventEmitTarget {
1598
+ 'locationId': string;
1599
+ 'calendarEventId': string;
1600
+ }
1601
+ interface DidCancelCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
1602
+ id: 'didCancelCalendarEventEmitTarget';
1603
+ version: 'v2021_05_19';
1604
+ namespace: 'Calendar';
1605
+ name: '';
1606
+ fields: {
1607
+ /** . */
1608
+ 'locationId': {
1609
+ type: 'id';
1610
+ isRequired: true;
1611
+ options: undefined;
1612
+ };
1613
+ /** . */
1614
+ 'calendarEventId': {
1615
+ type: 'id';
1616
+ isRequired: true;
1617
+ options: undefined;
1618
+ };
1619
+ };
1620
+ }
1621
+ interface DidCancelCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitTargetSchema> {
1622
+ }
1623
+ }
1624
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1625
+ interface DidCancelCalendarEventEmitPayload {
1626
+ 'cancelStrategy': ("only-this-one" | "all-going-forward" | "all");
1627
+ 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
1628
+ }
1629
+ interface DidCancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
1630
+ id: 'didCancelCalendarEventEmitPayload';
1631
+ version: 'v2021_05_19';
1632
+ namespace: 'Calendar';
1633
+ name: '';
1634
+ fields: {
1635
+ /** . */
1636
+ 'cancelStrategy': {
1637
+ type: 'select';
1638
+ isRequired: true;
1639
+ options: {
1663
1640
  choices: [{
1664
1641
  "value": "only-this-one";
1665
1642
  "label": "Specific dates";
@@ -1813,6 +1790,95 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1813
1790
  interface DidUpdateCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidUpdateCalendarEventEmitTargetAndPayloadSchema> {
1814
1791
  }
1815
1792
  }
1793
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1794
+ interface GetCalendarEmitTarget {
1795
+ 'organizationId': string;
1796
+ 'slug'?: string | undefined | null;
1797
+ 'calendarId'?: string | undefined | null;
1798
+ }
1799
+ interface GetCalendarEmitTargetSchema extends SpruceSchema.Schema {
1800
+ id: 'getCalendarEmitTarget';
1801
+ version: 'v2021_05_19';
1802
+ namespace: 'Calendar';
1803
+ name: '';
1804
+ fields: {
1805
+ /** . */
1806
+ 'organizationId': {
1807
+ type: 'id';
1808
+ isRequired: true;
1809
+ options: undefined;
1810
+ };
1811
+ /** . */
1812
+ 'slug': {
1813
+ type: 'id';
1814
+ options: undefined;
1815
+ };
1816
+ /** . */
1817
+ 'calendarId': {
1818
+ type: 'id';
1819
+ options: undefined;
1820
+ };
1821
+ };
1822
+ }
1823
+ interface GetCalendarEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetSchema> {
1824
+ }
1825
+ }
1826
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1827
+ interface GetCalendarEmitTargetAndPayload {
1828
+ /** Source. */
1829
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1830
+ 'target': SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTarget;
1831
+ }
1832
+ interface GetCalendarEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1833
+ id: 'getCalendarEmitTargetAndPayload';
1834
+ version: 'v2021_05_19';
1835
+ namespace: 'Calendar';
1836
+ name: '';
1837
+ fields: {
1838
+ /** Source. */
1839
+ 'source': {
1840
+ label: 'Source';
1841
+ type: 'schema';
1842
+ options: {
1843
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
1844
+ };
1845
+ };
1846
+ /** . */
1847
+ 'target': {
1848
+ type: 'schema';
1849
+ isRequired: true;
1850
+ options: {
1851
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetSchema;
1852
+ };
1853
+ };
1854
+ };
1855
+ }
1856
+ interface GetCalendarEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetAndPayloadSchema> {
1857
+ }
1858
+ }
1859
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1860
+ interface GetCalendarResponsePayload {
1861
+ 'calendar': SpruceSchemas.Calendar.v2021_05_19.Calendar;
1862
+ }
1863
+ interface GetCalendarResponsePayloadSchema extends SpruceSchema.Schema {
1864
+ id: 'getCalendarResponsePayload';
1865
+ version: 'v2021_05_19';
1866
+ namespace: 'Calendar';
1867
+ name: '';
1868
+ fields: {
1869
+ /** . */
1870
+ 'calendar': {
1871
+ type: 'schema';
1872
+ isRequired: true;
1873
+ options: {
1874
+ schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
1875
+ };
1876
+ };
1877
+ };
1878
+ }
1879
+ interface GetCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarResponsePayloadSchema> {
1880
+ }
1881
+ }
1816
1882
  namespace SpruceSchemas.Calendar.v2021_05_19 {
1817
1883
  interface GetAvailableTimeSlotsEmitTarget {
1818
1884
  'organizationId'?: string | undefined | null;
@@ -1970,6 +2036,31 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1970
2036
  interface GetAvailableTimeSlotsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetAvailableTimeSlotsEmitPayloadSchema> {
1971
2037
  }
1972
2038
  }
2039
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
2040
+ interface GetAvailableTimeSlotsResponsePayload {
2041
+ 'times': SpruceSchemas.Calendar.v2021_05_19.Timeslots[];
2042
+ }
2043
+ interface GetAvailableTimeSlotsResponsePayloadSchema extends SpruceSchema.Schema {
2044
+ id: 'getAvailableTimeSlotsResponsePayload';
2045
+ version: 'v2021_05_19';
2046
+ namespace: 'Calendar';
2047
+ name: '';
2048
+ fields: {
2049
+ /** . */
2050
+ 'times': {
2051
+ type: 'schema';
2052
+ isRequired: true;
2053
+ isArray: true;
2054
+ minArrayLength: 0;
2055
+ options: {
2056
+ schema: SpruceSchemas.Calendar.v2021_05_19.TimeslotsSchema;
2057
+ };
2058
+ };
2059
+ };
2060
+ }
2061
+ interface GetAvailableTimeSlotsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetAvailableTimeSlotsResponsePayloadSchema> {
2062
+ }
2063
+ }
1973
2064
  namespace SpruceSchemas.Calendar.v2021_05_19 {
1974
2065
  interface TeammatesTimeslots {
1975
2066
  'personId': string;
@@ -2022,31 +2113,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2022
2113
  interface TimeslotsEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TimeslotsSchema> {
2023
2114
  }
2024
2115
  }
2025
- namespace SpruceSchemas.Calendar.v2021_05_19 {
2026
- interface GetAvailableTimeSlotsResponsePayload {
2027
- 'times': SpruceSchemas.Calendar.v2021_05_19.Timeslots[];
2028
- }
2029
- interface GetAvailableTimeSlotsResponsePayloadSchema extends SpruceSchema.Schema {
2030
- id: 'getAvailableTimeSlotsResponsePayload';
2031
- version: 'v2021_05_19';
2032
- namespace: 'Calendar';
2033
- name: '';
2034
- fields: {
2035
- /** . */
2036
- 'times': {
2037
- type: 'schema';
2038
- isRequired: true;
2039
- isArray: true;
2040
- minArrayLength: 0;
2041
- options: {
2042
- schema: SpruceSchemas.Calendar.v2021_05_19.TimeslotsSchema;
2043
- };
2044
- };
2045
- };
2046
- }
2047
- interface GetAvailableTimeSlotsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetAvailableTimeSlotsResponsePayloadSchema> {
2048
- }
2049
- }
2050
2116
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2051
2117
  interface GetCalendarEventEmitTarget {
2052
2118
  'locationId': string;
@@ -2109,92 +2175,26 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2109
2175
  }
2110
2176
  }
2111
2177
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2112
- interface GetCalendarEmitTarget {
2113
- 'organizationId': string;
2114
- 'slug'?: string | undefined | null;
2115
- 'calendarId'?: string | undefined | null;
2178
+ interface GetCalendarEventResponsePayload {
2179
+ 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
2116
2180
  }
2117
- interface GetCalendarEmitTargetSchema extends SpruceSchema.Schema {
2118
- id: 'getCalendarEmitTarget';
2181
+ interface GetCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
2182
+ id: 'getCalendarEventResponsePayload';
2119
2183
  version: 'v2021_05_19';
2120
2184
  namespace: 'Calendar';
2121
2185
  name: '';
2122
2186
  fields: {
2123
2187
  /** . */
2124
- 'organizationId': {
2125
- type: 'id';
2188
+ 'calendarEvent': {
2189
+ type: 'schema';
2126
2190
  isRequired: true;
2127
- options: undefined;
2128
- };
2129
- /** . */
2130
- 'slug': {
2131
- type: 'id';
2132
- options: undefined;
2133
- };
2134
- /** . */
2135
- 'calendarId': {
2136
- type: 'id';
2137
- options: undefined;
2191
+ options: {
2192
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
2193
+ };
2138
2194
  };
2139
2195
  };
2140
2196
  }
2141
- interface GetCalendarEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetSchema> {
2142
- }
2143
- }
2144
- namespace SpruceSchemas.Calendar.v2021_05_19 {
2145
- interface GetCalendarEmitTargetAndPayload {
2146
- /** Source. */
2147
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2148
- 'target': SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTarget;
2149
- }
2150
- interface GetCalendarEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2151
- id: 'getCalendarEmitTargetAndPayload';
2152
- version: 'v2021_05_19';
2153
- namespace: 'Calendar';
2154
- name: '';
2155
- fields: {
2156
- /** Source. */
2157
- 'source': {
2158
- label: 'Source';
2159
- type: 'schema';
2160
- options: {
2161
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
2162
- };
2163
- };
2164
- /** . */
2165
- 'target': {
2166
- type: 'schema';
2167
- isRequired: true;
2168
- options: {
2169
- schema: SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetSchema;
2170
- };
2171
- };
2172
- };
2173
- }
2174
- interface GetCalendarEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetAndPayloadSchema> {
2175
- }
2176
- }
2177
- namespace SpruceSchemas.Calendar.v2021_05_19 {
2178
- interface GetCalendarResponsePayload {
2179
- 'calendar': SpruceSchemas.Calendar.v2021_05_19.Calendar;
2180
- }
2181
- interface GetCalendarResponsePayloadSchema extends SpruceSchema.Schema {
2182
- id: 'getCalendarResponsePayload';
2183
- version: 'v2021_05_19';
2184
- namespace: 'Calendar';
2185
- name: '';
2186
- fields: {
2187
- /** . */
2188
- 'calendar': {
2189
- type: 'schema';
2190
- isRequired: true;
2191
- options: {
2192
- schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
2193
- };
2194
- };
2195
- };
2196
- }
2197
- interface GetCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarResponsePayloadSchema> {
2197
+ interface GetCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventResponsePayloadSchema> {
2198
2198
  }
2199
2199
  }
2200
2200
  namespace SpruceSchemas.Calendar.v2021_05_19 {
@@ -2465,6 +2465,64 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2465
2465
  interface GetPreferencesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesResponsePayloadSchema> {
2466
2466
  }
2467
2467
  }
2468
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
2469
+ interface ListCalendarsEmitTarget {
2470
+ 'organizationId'?: string | undefined | null;
2471
+ 'calendarPersonId'?: string | undefined | null;
2472
+ }
2473
+ interface ListCalendarsEmitTargetSchema extends SpruceSchema.Schema {
2474
+ id: 'listCalendarsEmitTarget';
2475
+ version: 'v2021_05_19';
2476
+ namespace: 'Calendar';
2477
+ name: '';
2478
+ fields: {
2479
+ /** . */
2480
+ 'organizationId': {
2481
+ type: 'id';
2482
+ options: undefined;
2483
+ };
2484
+ /** . */
2485
+ 'calendarPersonId': {
2486
+ type: 'id';
2487
+ options: undefined;
2488
+ };
2489
+ };
2490
+ }
2491
+ interface ListCalendarsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema> {
2492
+ }
2493
+ }
2494
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
2495
+ interface ListCalendarsResponsePayload {
2496
+ 'calendars': SpruceSchemas.Calendar.v2021_05_19.Calendar[];
2497
+ 'count': number;
2498
+ }
2499
+ interface ListCalendarsResponsePayloadSchema extends SpruceSchema.Schema {
2500
+ id: 'listCalendarsResponsePayload';
2501
+ version: 'v2021_05_19';
2502
+ namespace: 'Calendar';
2503
+ name: '';
2504
+ fields: {
2505
+ /** . */
2506
+ 'calendars': {
2507
+ type: 'schema';
2508
+ isRequired: true;
2509
+ isArray: true;
2510
+ minArrayLength: 0;
2511
+ options: {
2512
+ schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
2513
+ };
2514
+ };
2515
+ /** . */
2516
+ 'count': {
2517
+ type: 'number';
2518
+ isRequired: true;
2519
+ options: undefined;
2520
+ };
2521
+ };
2522
+ }
2523
+ interface ListCalendarsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsResponsePayloadSchema> {
2524
+ }
2525
+ }
2468
2526
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2469
2527
  interface ListCalendarEventTypesEmitPayload {
2470
2528
  'shouldShowOnlyMine'?: boolean | undefined | null;
@@ -2485,6 +2543,38 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2485
2543
  interface ListCalendarEventTypesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema> {
2486
2544
  }
2487
2545
  }
2546
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
2547
+ interface ListCalendarEventTypesEmitTargetAndPayload {
2548
+ /** Source. */
2549
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2550
+ 'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayload | undefined | null;
2551
+ }
2552
+ interface ListCalendarEventTypesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2553
+ id: 'listCalendarEventTypesEmitTargetAndPayload';
2554
+ version: 'v2021_05_19';
2555
+ namespace: 'Calendar';
2556
+ name: '';
2557
+ fields: {
2558
+ /** Source. */
2559
+ 'source': {
2560
+ label: 'Source';
2561
+ type: 'schema';
2562
+ options: {
2563
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
2564
+ };
2565
+ };
2566
+ /** . */
2567
+ 'payload': {
2568
+ type: 'schema';
2569
+ options: {
2570
+ schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema;
2571
+ };
2572
+ };
2573
+ };
2574
+ }
2575
+ interface ListCalendarEventTypesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitTargetAndPayloadSchema> {
2576
+ }
2577
+ }
2488
2578
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2489
2579
  interface ListCalendarEventTypesResponsePayload {
2490
2580
  'calendarEventTypes': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType[];
@@ -2625,96 +2715,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2625
2715
  interface ListCalendarEventsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsResponsePayloadSchema> {
2626
2716
  }
2627
2717
  }
2628
- namespace SpruceSchemas.Calendar.v2021_05_19 {
2629
- interface ListCalendarsEmitTarget {
2630
- 'organizationId'?: string | undefined | null;
2631
- 'calendarPersonId'?: string | undefined | null;
2632
- }
2633
- interface ListCalendarsEmitTargetSchema extends SpruceSchema.Schema {
2634
- id: 'listCalendarsEmitTarget';
2635
- version: 'v2021_05_19';
2636
- namespace: 'Calendar';
2637
- name: '';
2638
- fields: {
2639
- /** . */
2640
- 'organizationId': {
2641
- type: 'id';
2642
- options: undefined;
2643
- };
2644
- /** . */
2645
- 'calendarPersonId': {
2646
- type: 'id';
2647
- options: undefined;
2648
- };
2649
- };
2650
- }
2651
- interface ListCalendarsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema> {
2652
- }
2653
- }
2654
- namespace SpruceSchemas.Calendar.v2021_05_19 {
2655
- interface ListCalendarsEmitTargetAndPayload {
2656
- /** Source. */
2657
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2658
- 'target'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTarget | undefined | null;
2659
- }
2660
- interface ListCalendarsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2661
- id: 'listCalendarsEmitTargetAndPayload';
2662
- version: 'v2021_05_19';
2663
- namespace: 'Calendar';
2664
- name: '';
2665
- fields: {
2666
- /** Source. */
2667
- 'source': {
2668
- label: 'Source';
2669
- type: 'schema';
2670
- options: {
2671
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
2672
- };
2673
- };
2674
- /** . */
2675
- 'target': {
2676
- type: 'schema';
2677
- options: {
2678
- schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema;
2679
- };
2680
- };
2681
- };
2682
- }
2683
- interface ListCalendarsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetAndPayloadSchema> {
2684
- }
2685
- }
2686
- namespace SpruceSchemas.Calendar.v2021_05_19 {
2687
- interface ListCalendarsResponsePayload {
2688
- 'calendars': SpruceSchemas.Calendar.v2021_05_19.Calendar[];
2689
- 'count': number;
2690
- }
2691
- interface ListCalendarsResponsePayloadSchema extends SpruceSchema.Schema {
2692
- id: 'listCalendarsResponsePayload';
2693
- version: 'v2021_05_19';
2694
- namespace: 'Calendar';
2695
- name: '';
2696
- fields: {
2697
- /** . */
2698
- 'calendars': {
2699
- type: 'schema';
2700
- isRequired: true;
2701
- isArray: true;
2702
- minArrayLength: 0;
2703
- options: {
2704
- schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
2705
- };
2706
- };
2707
- /** . */
2708
- 'count': {
2709
- type: 'number';
2710
- isRequired: true;
2711
- options: undefined;
2712
- };
2713
- };
2714
- }
2715
- interface ListCalendarsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsResponsePayloadSchema> {
2716
- }
2717
- }
2718
2718
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2719
2719
  interface RegisterEventToolsEmitTarget {
2720
2720
  'organizationId': string;
@@ -4654,49 +4654,37 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4654
4654
  }
4655
4655
  }
4656
4656
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4657
- interface GetSchedulesEmitPayload {
4658
- 'startDateTimeMs': number;
4659
- 'endDateTimeMs': number;
4660
- 'personIds'?: string[] | undefined | null;
4657
+ interface DidCreateCalendarEventEmitPayload {
4658
+ 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
4661
4659
  }
4662
- interface GetSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
4663
- id: 'getSchedulesEmitPayload';
4660
+ interface DidCreateCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
4661
+ id: 'didCreateCalendarEventEmitPayload';
4664
4662
  version: 'v2021_05_19';
4665
4663
  namespace: 'Calendar';
4666
4664
  name: '';
4667
4665
  fields: {
4668
4666
  /** . */
4669
- 'startDateTimeMs': {
4670
- type: 'number';
4667
+ 'calendarEvent': {
4668
+ type: 'schema';
4671
4669
  isRequired: true;
4672
- options: undefined;
4673
- };
4674
- /** . */
4675
- 'endDateTimeMs': {
4676
- type: 'number';
4677
- isRequired: true;
4678
- options: undefined;
4679
- };
4680
- /** . */
4681
- 'personIds': {
4682
- type: 'id';
4683
- isArray: true;
4684
- options: undefined;
4670
+ options: {
4671
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
4672
+ };
4685
4673
  };
4686
4674
  };
4687
4675
  }
4688
- interface GetSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayloadSchema> {
4676
+ interface DidCreateCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitPayloadSchema> {
4689
4677
  }
4690
4678
  }
4691
4679
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4692
- interface GetSchedulesEmitTargetAndPayload {
4680
+ interface DidCreateCalendarEventEmitTargetAndPayload {
4693
4681
  /** Source. */
4694
4682
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
4695
- 'target': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTarget;
4696
- 'payload': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayload;
4683
+ 'target': SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitTarget;
4684
+ 'payload': SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitPayload;
4697
4685
  }
4698
- interface GetSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4699
- id: 'getSchedulesEmitTargetAndPayload';
4686
+ interface DidCreateCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4687
+ id: 'didCreateCalendarEventEmitTargetAndPayload';
4700
4688
  version: 'v2021_05_19';
4701
4689
  namespace: 'Calendar';
4702
4690
  name: '';
@@ -4714,7 +4702,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4714
4702
  type: 'schema';
4715
4703
  isRequired: true;
4716
4704
  options: {
4717
- schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema;
4705
+ schema: SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitTargetSchema;
4718
4706
  };
4719
4707
  };
4720
4708
  /** . */
@@ -4722,133 +4710,178 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4722
4710
  type: 'schema';
4723
4711
  isRequired: true;
4724
4712
  options: {
4725
- schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayloadSchema;
4713
+ schema: SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitPayloadSchema;
4726
4714
  };
4727
4715
  };
4728
4716
  };
4729
4717
  }
4730
- interface GetSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetAndPayloadSchema> {
4718
+ interface DidCreateCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitTargetAndPayloadSchema> {
4731
4719
  }
4732
4720
  }
4733
4721
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4734
- interface CreateCalendarEventResponsePayload {
4735
- 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
4722
+ interface ListPeopleWithoutSchedulesEmitTarget {
4723
+ 'locationId': string;
4736
4724
  }
4737
- interface CreateCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
4738
- id: 'createCalendarEventResponsePayload';
4725
+ interface ListPeopleWithoutSchedulesEmitTargetSchema extends SpruceSchema.Schema {
4726
+ id: 'listPeopleWithoutSchedulesEmitTarget';
4739
4727
  version: 'v2021_05_19';
4740
4728
  namespace: 'Calendar';
4741
4729
  name: '';
4742
4730
  fields: {
4743
4731
  /** . */
4744
- 'calendarEvent': {
4745
- type: 'schema';
4732
+ 'locationId': {
4733
+ type: 'id';
4746
4734
  isRequired: true;
4747
- options: {
4748
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
4749
- };
4735
+ options: undefined;
4750
4736
  };
4751
4737
  };
4752
4738
  }
4753
- interface CreateCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CreateCalendarEventResponsePayloadSchema> {
4739
+ interface ListPeopleWithoutSchedulesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitTargetSchema> {
4754
4740
  }
4755
4741
  }
4756
4742
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4757
- interface DidCreateCalendarEventEmitPayload {
4758
- 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
4743
+ interface ListPeopleWithoutSchedulesEmitPayload {
4744
+ 'calendarIds': string[];
4759
4745
  }
4760
- interface DidCreateCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
4761
- id: 'didCreateCalendarEventEmitPayload';
4746
+ interface ListPeopleWithoutSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
4747
+ id: 'listPeopleWithoutSchedulesEmitPayload';
4762
4748
  version: 'v2021_05_19';
4763
4749
  namespace: 'Calendar';
4764
4750
  name: '';
4765
4751
  fields: {
4766
4752
  /** . */
4767
- 'calendarEvent': {
4768
- type: 'schema';
4753
+ 'calendarIds': {
4754
+ type: 'id';
4769
4755
  isRequired: true;
4770
- options: {
4771
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
4772
- };
4756
+ isArray: true;
4757
+ options: undefined;
4773
4758
  };
4774
4759
  };
4775
4760
  }
4776
- interface DidCreateCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitPayloadSchema> {
4761
+ interface ListPeopleWithoutSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitPayloadSchema> {
4777
4762
  }
4778
4763
  }
4779
4764
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4780
- interface GetSchedulesResponsePayload {
4781
- 'events': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[];
4765
+ interface ListPeopleWithoutSchedulesEmitTargetAndPayload {
4766
+ /** Source. */
4767
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
4768
+ 'target': SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitTarget;
4769
+ 'payload': SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitPayload;
4782
4770
  }
4783
- interface GetSchedulesResponsePayloadSchema extends SpruceSchema.Schema {
4784
- id: 'getSchedulesResponsePayload';
4771
+ interface ListPeopleWithoutSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4772
+ id: 'listPeopleWithoutSchedulesEmitTargetAndPayload';
4785
4773
  version: 'v2021_05_19';
4786
4774
  namespace: 'Calendar';
4787
4775
  name: '';
4788
4776
  fields: {
4777
+ /** Source. */
4778
+ 'source': {
4779
+ label: 'Source';
4780
+ type: 'schema';
4781
+ options: {
4782
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
4783
+ };
4784
+ };
4789
4785
  /** . */
4790
- 'events': {
4786
+ 'target': {
4791
4787
  type: 'schema';
4792
4788
  isRequired: true;
4793
- isArray: true;
4794
- minArrayLength: 0;
4795
4789
  options: {
4796
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
4790
+ schema: SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitTargetSchema;
4791
+ };
4792
+ };
4793
+ /** . */
4794
+ 'payload': {
4795
+ type: 'schema';
4796
+ isRequired: true;
4797
+ options: {
4798
+ schema: SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitPayloadSchema;
4797
4799
  };
4798
4800
  };
4799
4801
  };
4800
4802
  }
4801
- interface GetSchedulesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesResponsePayloadSchema> {
4803
+ interface ListPeopleWithoutSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitTargetAndPayloadSchema> {
4802
4804
  }
4803
4805
  }
4804
4806
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4805
- interface GetSchedulesEmitTarget {
4806
- 'organizationId'?: string | undefined | null;
4807
- 'locationId'?: string | undefined | null;
4808
- 'calendarIds': string[];
4807
+ interface PersonWithoutSchedule {
4808
+ /** Id. */
4809
+ 'id': string;
4810
+ /** Casual name. The name you can use when talking to this person. */
4811
+ 'casualName': string;
4812
+ /** Avatar src. */
4813
+ 'avatar'?: SpruceSchema.ImageFieldValue | undefined | null;
4809
4814
  }
4810
- interface GetSchedulesEmitTargetSchema extends SpruceSchema.Schema {
4811
- id: 'getSchedulesEmitTarget';
4815
+ interface PersonWithoutScheduleSchema extends SpruceSchema.Schema {
4816
+ id: 'person-without-schedule';
4812
4817
  version: 'v2021_05_19';
4813
4818
  namespace: 'Calendar';
4814
4819
  name: '';
4815
4820
  fields: {
4816
- /** . */
4817
- 'organizationId': {
4821
+ /** Id. */
4822
+ 'id': {
4823
+ label: 'Id';
4818
4824
  type: 'id';
4825
+ isRequired: true;
4819
4826
  options: undefined;
4820
4827
  };
4821
- /** . */
4822
- 'locationId': {
4823
- type: 'id';
4828
+ /** Casual name. The name you can use when talking to this person. */
4829
+ 'casualName': {
4830
+ label: 'Casual name';
4831
+ type: 'text';
4832
+ isRequired: true;
4833
+ hint: 'The name you can use when talking to this person.';
4824
4834
  options: undefined;
4825
4835
  };
4836
+ /** Avatar src. */
4837
+ 'avatar': {
4838
+ label: 'Avatar src';
4839
+ type: 'image';
4840
+ options: {
4841
+ requiredSizes: ["*"];
4842
+ };
4843
+ };
4844
+ };
4845
+ }
4846
+ interface PersonWithoutScheduleEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.PersonWithoutScheduleSchema> {
4847
+ }
4848
+ }
4849
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
4850
+ interface ListPeopleWithoutSchedulesResponsePayload {
4851
+ 'people': SpruceSchemas.Calendar.v2021_05_19.PersonWithoutSchedule[];
4852
+ }
4853
+ interface ListPeopleWithoutSchedulesResponsePayloadSchema extends SpruceSchema.Schema {
4854
+ id: 'listPeopleWithoutSchedulesResponsePayload';
4855
+ version: 'v2021_05_19';
4856
+ namespace: 'Calendar';
4857
+ name: '';
4858
+ fields: {
4826
4859
  /** . */
4827
- 'calendarIds': {
4828
- type: 'id';
4860
+ 'people': {
4861
+ type: 'schema';
4829
4862
  isRequired: true;
4830
4863
  isArray: true;
4831
- options: undefined;
4864
+ minArrayLength: 0;
4865
+ options: {
4866
+ schema: SpruceSchemas.Calendar.v2021_05_19.PersonWithoutScheduleSchema;
4867
+ };
4832
4868
  };
4833
4869
  };
4834
4870
  }
4835
- interface GetSchedulesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema> {
4871
+ interface ListPeopleWithoutSchedulesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesResponsePayloadSchema> {
4836
4872
  }
4837
4873
  }
4838
4874
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4839
- interface SendSchedulesEmitPayload {
4875
+ interface GetSchedulesEmitPayload {
4840
4876
  'startDateTimeMs': number;
4841
4877
  'endDateTimeMs': number;
4842
4878
  'personIds'?: string[] | undefined | null;
4843
- 'chunkingId': string;
4844
- 'sendToFqen': (EventName);
4845
4879
  }
4846
- interface SendSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
4847
- id: 'sendSchedulesEmitPayload';
4880
+ interface GetSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
4881
+ id: 'getSchedulesEmitPayload';
4848
4882
  version: 'v2021_05_19';
4849
4883
  namespace: 'Calendar';
4850
4884
  name: '';
4851
- importsWhenRemote: ['import { EventName } from \'@sprucelabs/mercury-types\''];
4852
4885
  fields: {
4853
4886
  /** . */
4854
4887
  'startDateTimeMs': {
@@ -4868,98 +4901,58 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4868
4901
  isArray: true;
4869
4902
  options: undefined;
4870
4903
  };
4871
- /** . */
4872
- 'chunkingId': {
4873
- type: 'id';
4874
- isRequired: true;
4875
- options: undefined;
4876
- };
4877
- /** . */
4878
- 'sendToFqen': {
4879
- type: 'raw';
4880
- isRequired: true;
4881
- options: {
4882
- valueType: `EventName`;
4883
- };
4884
- };
4885
4904
  };
4886
4905
  }
4887
- interface SendSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayloadSchema> {
4906
+ interface GetSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayloadSchema> {
4888
4907
  }
4889
4908
  }
4890
4909
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4891
- interface SendSchedulesEmitTargetAndPayload {
4892
- /** Source. */
4893
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
4894
- 'target': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTarget;
4895
- 'payload': SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayload;
4910
+ interface GetSchedulesResponsePayload {
4911
+ 'events': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[];
4896
4912
  }
4897
- interface SendSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4898
- id: 'sendSchedulesEmitTargetAndPayload';
4913
+ interface GetSchedulesResponsePayloadSchema extends SpruceSchema.Schema {
4914
+ id: 'getSchedulesResponsePayload';
4899
4915
  version: 'v2021_05_19';
4900
4916
  namespace: 'Calendar';
4901
4917
  name: '';
4902
4918
  fields: {
4903
- /** Source. */
4904
- 'source': {
4905
- label: 'Source';
4906
- type: 'schema';
4907
- options: {
4908
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
4909
- };
4910
- };
4911
4919
  /** . */
4912
- 'target': {
4913
- type: 'schema';
4914
- isRequired: true;
4915
- options: {
4916
- schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema;
4917
- };
4918
- };
4919
- /** . */
4920
- 'payload': {
4920
+ 'events': {
4921
4921
  type: 'schema';
4922
4922
  isRequired: true;
4923
+ isArray: true;
4924
+ minArrayLength: 0;
4923
4925
  options: {
4924
- schema: SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayloadSchema;
4926
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
4925
4927
  };
4926
4928
  };
4927
4929
  };
4928
4930
  }
4929
- interface SendSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitTargetAndPayloadSchema> {
4931
+ interface GetSchedulesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesResponsePayloadSchema> {
4930
4932
  }
4931
4933
  }
4932
4934
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4933
- interface ListPeopleWithoutSchedulesEmitTarget {
4934
- 'locationId': string;
4935
+ interface GetSchedulesEmitTarget {
4936
+ 'organizationId'?: string | undefined | null;
4937
+ 'locationId'?: string | undefined | null;
4938
+ 'calendarIds': string[];
4935
4939
  }
4936
- interface ListPeopleWithoutSchedulesEmitTargetSchema extends SpruceSchema.Schema {
4937
- id: 'listPeopleWithoutSchedulesEmitTarget';
4940
+ interface GetSchedulesEmitTargetSchema extends SpruceSchema.Schema {
4941
+ id: 'getSchedulesEmitTarget';
4938
4942
  version: 'v2021_05_19';
4939
4943
  namespace: 'Calendar';
4940
4944
  name: '';
4941
4945
  fields: {
4946
+ /** . */
4947
+ 'organizationId': {
4948
+ type: 'id';
4949
+ options: undefined;
4950
+ };
4942
4951
  /** . */
4943
4952
  'locationId': {
4944
4953
  type: 'id';
4945
- isRequired: true;
4946
4954
  options: undefined;
4947
4955
  };
4948
- };
4949
- }
4950
- interface ListPeopleWithoutSchedulesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitTargetSchema> {
4951
- }
4952
- }
4953
- namespace SpruceSchemas.Calendar.v2021_05_19 {
4954
- interface ListPeopleWithoutSchedulesEmitPayload {
4955
- 'calendarIds': string[];
4956
- }
4957
- interface ListPeopleWithoutSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
4958
- id: 'listPeopleWithoutSchedulesEmitPayload';
4959
- version: 'v2021_05_19';
4960
- namespace: 'Calendar';
4961
- name: '';
4962
- fields: {
4963
4956
  /** . */
4964
4957
  'calendarIds': {
4965
4958
  type: 'id';
@@ -4969,18 +4962,18 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4969
4962
  };
4970
4963
  };
4971
4964
  }
4972
- interface ListPeopleWithoutSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitPayloadSchema> {
4965
+ interface GetSchedulesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema> {
4973
4966
  }
4974
4967
  }
4975
4968
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4976
- interface ListPeopleWithoutSchedulesEmitTargetAndPayload {
4969
+ interface GetSchedulesEmitTargetAndPayload {
4977
4970
  /** Source. */
4978
4971
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
4979
- 'target': SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitTarget;
4980
- 'payload': SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitPayload;
4972
+ 'target': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTarget;
4973
+ 'payload': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayload;
4981
4974
  }
4982
- interface ListPeopleWithoutSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4983
- id: 'listPeopleWithoutSchedulesEmitTargetAndPayload';
4975
+ interface GetSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4976
+ id: 'getSchedulesEmitTargetAndPayload';
4984
4977
  version: 'v2021_05_19';
4985
4978
  namespace: 'Calendar';
4986
4979
  name: '';
@@ -4998,7 +4991,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4998
4991
  type: 'schema';
4999
4992
  isRequired: true;
5000
4993
  options: {
5001
- schema: SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitTargetSchema;
4994
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema;
5002
4995
  };
5003
4996
  };
5004
4997
  /** . */
@@ -5006,80 +4999,106 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
5006
4999
  type: 'schema';
5007
5000
  isRequired: true;
5008
5001
  options: {
5009
- schema: SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitPayloadSchema;
5002
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayloadSchema;
5010
5003
  };
5011
5004
  };
5012
5005
  };
5013
5006
  }
5014
- interface ListPeopleWithoutSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitTargetAndPayloadSchema> {
5007
+ interface GetSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetAndPayloadSchema> {
5015
5008
  }
5016
5009
  }
5017
5010
  namespace SpruceSchemas.Calendar.v2021_05_19 {
5018
- interface PersonWithoutSchedule {
5019
- /** Id. */
5020
- 'id': string;
5021
- /** Casual name. The name you can use when talking to this person. */
5022
- 'casualName': string;
5023
- /** Avatar src. */
5024
- 'avatar'?: SpruceSchema.ImageFieldValue | undefined | null;
5011
+ interface SendSchedulesEmitPayload {
5012
+ 'startDateTimeMs': number;
5013
+ 'endDateTimeMs': number;
5014
+ 'personIds'?: string[] | undefined | null;
5015
+ 'chunkingId': string;
5016
+ 'sendToFqen': (EventName);
5025
5017
  }
5026
- interface PersonWithoutScheduleSchema extends SpruceSchema.Schema {
5027
- id: 'person-without-schedule';
5018
+ interface SendSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
5019
+ id: 'sendSchedulesEmitPayload';
5028
5020
  version: 'v2021_05_19';
5029
5021
  namespace: 'Calendar';
5030
5022
  name: '';
5023
+ importsWhenRemote: ['import { EventName } from \'@sprucelabs/mercury-types\''];
5031
5024
  fields: {
5032
- /** Id. */
5033
- 'id': {
5034
- label: 'Id';
5035
- type: 'id';
5025
+ /** . */
5026
+ 'startDateTimeMs': {
5027
+ type: 'number';
5036
5028
  isRequired: true;
5037
5029
  options: undefined;
5038
5030
  };
5039
- /** Casual name. The name you can use when talking to this person. */
5040
- 'casualName': {
5041
- label: 'Casual name';
5042
- type: 'text';
5031
+ /** . */
5032
+ 'endDateTimeMs': {
5033
+ type: 'number';
5043
5034
  isRequired: true;
5044
- hint: 'The name you can use when talking to this person.';
5045
5035
  options: undefined;
5046
5036
  };
5047
- /** Avatar src. */
5048
- 'avatar': {
5049
- label: 'Avatar src';
5050
- type: 'image';
5037
+ /** . */
5038
+ 'personIds': {
5039
+ type: 'id';
5040
+ isArray: true;
5041
+ options: undefined;
5042
+ };
5043
+ /** . */
5044
+ 'chunkingId': {
5045
+ type: 'id';
5046
+ isRequired: true;
5047
+ options: undefined;
5048
+ };
5049
+ /** . */
5050
+ 'sendToFqen': {
5051
+ type: 'raw';
5052
+ isRequired: true;
5051
5053
  options: {
5052
- requiredSizes: ["*"];
5054
+ valueType: `EventName`;
5053
5055
  };
5054
5056
  };
5055
5057
  };
5056
5058
  }
5057
- interface PersonWithoutScheduleEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.PersonWithoutScheduleSchema> {
5059
+ interface SendSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayloadSchema> {
5058
5060
  }
5059
5061
  }
5060
5062
  namespace SpruceSchemas.Calendar.v2021_05_19 {
5061
- interface ListPeopleWithoutSchedulesResponsePayload {
5062
- 'people': SpruceSchemas.Calendar.v2021_05_19.PersonWithoutSchedule[];
5063
+ interface SendSchedulesEmitTargetAndPayload {
5064
+ /** Source. */
5065
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
5066
+ 'target': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTarget;
5067
+ 'payload': SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayload;
5063
5068
  }
5064
- interface ListPeopleWithoutSchedulesResponsePayloadSchema extends SpruceSchema.Schema {
5065
- id: 'listPeopleWithoutSchedulesResponsePayload';
5069
+ interface SendSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
5070
+ id: 'sendSchedulesEmitTargetAndPayload';
5066
5071
  version: 'v2021_05_19';
5067
5072
  namespace: 'Calendar';
5068
5073
  name: '';
5069
5074
  fields: {
5075
+ /** Source. */
5076
+ 'source': {
5077
+ label: 'Source';
5078
+ type: 'schema';
5079
+ options: {
5080
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
5081
+ };
5082
+ };
5070
5083
  /** . */
5071
- 'people': {
5084
+ 'target': {
5072
5085
  type: 'schema';
5073
5086
  isRequired: true;
5074
- isArray: true;
5075
- minArrayLength: 0;
5076
5087
  options: {
5077
- schema: SpruceSchemas.Calendar.v2021_05_19.PersonWithoutScheduleSchema;
5088
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema;
5089
+ };
5090
+ };
5091
+ /** . */
5092
+ 'payload': {
5093
+ type: 'schema';
5094
+ isRequired: true;
5095
+ options: {
5096
+ schema: SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayloadSchema;
5078
5097
  };
5079
5098
  };
5080
5099
  };
5081
5100
  }
5082
- interface ListPeopleWithoutSchedulesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesResponsePayloadSchema> {
5101
+ interface SendSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitTargetAndPayloadSchema> {
5083
5102
  }
5084
5103
  }
5085
5104
  namespace SpruceSchemas.Calendar.v2021_05_19 {
@@ -5109,45 +5128,26 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
5109
5128
  }
5110
5129
  }
5111
5130
  namespace SpruceSchemas.Calendar.v2021_05_19 {
5112
- interface DidCreateCalendarEventEmitTargetAndPayload {
5113
- /** Source. */
5114
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
5115
- 'target': SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitTarget;
5116
- 'payload': SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitPayload;
5131
+ interface CreateCalendarEventResponsePayload {
5132
+ 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
5117
5133
  }
5118
- interface DidCreateCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
5119
- id: 'didCreateCalendarEventEmitTargetAndPayload';
5134
+ interface CreateCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
5135
+ id: 'createCalendarEventResponsePayload';
5120
5136
  version: 'v2021_05_19';
5121
5137
  namespace: 'Calendar';
5122
5138
  name: '';
5123
5139
  fields: {
5124
- /** Source. */
5125
- 'source': {
5126
- label: 'Source';
5127
- type: 'schema';
5128
- options: {
5129
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
5130
- };
5131
- };
5132
- /** . */
5133
- 'target': {
5134
- type: 'schema';
5135
- isRequired: true;
5136
- options: {
5137
- schema: SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitTargetSchema;
5138
- };
5139
- };
5140
5140
  /** . */
5141
- 'payload': {
5141
+ 'calendarEvent': {
5142
5142
  type: 'schema';
5143
5143
  isRequired: true;
5144
5144
  options: {
5145
- schema: SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitPayloadSchema;
5145
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
5146
5146
  };
5147
5147
  };
5148
5148
  };
5149
5149
  }
5150
- interface DidCreateCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitTargetAndPayloadSchema> {
5150
+ interface CreateCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CreateCalendarEventResponsePayloadSchema> {
5151
5151
  }
5152
5152
  }
5153
5153
  namespace SpruceSchemas.Calendar.v2021_05_19 {