@sprucelabs/spruce-calendar-components 25.5.0 → 25.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -993,6 +993,87 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
993
993
  interface CreateCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CreateCalendarResponsePayloadSchema> {
994
994
  }
995
995
  }
996
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
997
+ interface DeleteCalendarEmitTarget {
998
+ 'organizationId': string;
999
+ 'calendarId': string;
1000
+ }
1001
+ interface DeleteCalendarEmitTargetSchema extends SpruceSchema.Schema {
1002
+ id: 'deleteCalendarEmitTarget';
1003
+ version: 'v2021_05_19';
1004
+ namespace: 'Calendar';
1005
+ name: '';
1006
+ fields: {
1007
+ /** . */
1008
+ 'organizationId': {
1009
+ type: 'id';
1010
+ isRequired: true;
1011
+ options: undefined;
1012
+ };
1013
+ /** . */
1014
+ 'calendarId': {
1015
+ type: 'id';
1016
+ isRequired: true;
1017
+ options: undefined;
1018
+ };
1019
+ };
1020
+ }
1021
+ interface DeleteCalendarEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetSchema> {
1022
+ }
1023
+ }
1024
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1025
+ interface DeleteCalendarEmitTargetAndPayload {
1026
+ /** Source. */
1027
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1028
+ 'target': SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTarget;
1029
+ }
1030
+ interface DeleteCalendarEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1031
+ id: 'deleteCalendarEmitTargetAndPayload';
1032
+ version: 'v2021_05_19';
1033
+ namespace: 'Calendar';
1034
+ name: '';
1035
+ fields: {
1036
+ /** Source. */
1037
+ 'source': {
1038
+ label: 'Source';
1039
+ type: 'schema';
1040
+ options: {
1041
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
1042
+ };
1043
+ };
1044
+ /** . */
1045
+ 'target': {
1046
+ type: 'schema';
1047
+ isRequired: true;
1048
+ options: {
1049
+ schema: SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetSchema;
1050
+ };
1051
+ };
1052
+ };
1053
+ }
1054
+ interface DeleteCalendarEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetAndPayloadSchema> {
1055
+ }
1056
+ }
1057
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1058
+ interface DeleteCalendarResponsePayload {
1059
+ 'totalDeleted'?: number | undefined | null;
1060
+ }
1061
+ interface DeleteCalendarResponsePayloadSchema extends SpruceSchema.Schema {
1062
+ id: 'deleteCalendarResponsePayload';
1063
+ version: 'v2021_05_19';
1064
+ namespace: 'Calendar';
1065
+ name: '';
1066
+ fields: {
1067
+ /** . */
1068
+ 'totalDeleted': {
1069
+ type: 'number';
1070
+ options: undefined;
1071
+ };
1072
+ };
1073
+ }
1074
+ interface DeleteCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarResponsePayloadSchema> {
1075
+ }
1076
+ }
996
1077
  namespace SpruceSchemas.Calendar.v2021_05_19 {
997
1078
  interface CreateCalendarEventTypeEmitPayload {
998
1079
  'name': string;
@@ -1502,87 +1583,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1502
1583
  interface CreateCalendarEventTypeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CreateCalendarEventTypeResponsePayloadSchema> {
1503
1584
  }
1504
1585
  }
1505
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1506
- interface DeleteCalendarEmitTarget {
1507
- 'organizationId': string;
1508
- 'calendarId': string;
1509
- }
1510
- interface DeleteCalendarEmitTargetSchema extends SpruceSchema.Schema {
1511
- id: 'deleteCalendarEmitTarget';
1512
- version: 'v2021_05_19';
1513
- namespace: 'Calendar';
1514
- name: '';
1515
- fields: {
1516
- /** . */
1517
- 'organizationId': {
1518
- type: 'id';
1519
- isRequired: true;
1520
- options: undefined;
1521
- };
1522
- /** . */
1523
- 'calendarId': {
1524
- type: 'id';
1525
- isRequired: true;
1526
- options: undefined;
1527
- };
1528
- };
1529
- }
1530
- interface DeleteCalendarEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetSchema> {
1531
- }
1532
- }
1533
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1534
- interface DeleteCalendarEmitTargetAndPayload {
1535
- /** Source. */
1536
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1537
- 'target': SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTarget;
1538
- }
1539
- interface DeleteCalendarEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1540
- id: 'deleteCalendarEmitTargetAndPayload';
1541
- version: 'v2021_05_19';
1542
- namespace: 'Calendar';
1543
- name: '';
1544
- fields: {
1545
- /** Source. */
1546
- 'source': {
1547
- label: 'Source';
1548
- type: 'schema';
1549
- options: {
1550
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
1551
- };
1552
- };
1553
- /** . */
1554
- 'target': {
1555
- type: 'schema';
1556
- isRequired: true;
1557
- options: {
1558
- schema: SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetSchema;
1559
- };
1560
- };
1561
- };
1562
- }
1563
- interface DeleteCalendarEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetAndPayloadSchema> {
1564
- }
1565
- }
1566
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1567
- interface DeleteCalendarResponsePayload {
1568
- 'totalDeleted'?: number | undefined | null;
1569
- }
1570
- interface DeleteCalendarResponsePayloadSchema extends SpruceSchema.Schema {
1571
- id: 'deleteCalendarResponsePayload';
1572
- version: 'v2021_05_19';
1573
- namespace: 'Calendar';
1574
- name: '';
1575
- fields: {
1576
- /** . */
1577
- 'totalDeleted': {
1578
- type: 'number';
1579
- options: undefined;
1580
- };
1581
- };
1582
- }
1583
- interface DeleteCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarResponsePayloadSchema> {
1584
- }
1585
- }
1586
1586
  namespace SpruceSchemas.Calendar.v2021_05_19 {
1587
1587
  interface DidCancelCalendarEventEmitTarget {
1588
1588
  'locationId': string;
@@ -1694,92 +1694,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1694
1694
  interface DidCancelCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitTargetAndPayloadSchema> {
1695
1695
  }
1696
1696
  }
1697
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1698
- interface DidUpdateCalendarEventEmitTarget {
1699
- 'locationId': string;
1700
- }
1701
- interface DidUpdateCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
1702
- id: 'didUpdateCalendarEventEmitTarget';
1703
- version: 'v2021_05_19';
1704
- namespace: 'Calendar';
1705
- name: '';
1706
- fields: {
1707
- /** . */
1708
- 'locationId': {
1709
- type: 'id';
1710
- isRequired: true;
1711
- options: undefined;
1712
- };
1713
- };
1714
- }
1715
- interface DidUpdateCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidUpdateCalendarEventEmitTargetSchema> {
1716
- }
1717
- }
1718
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1719
- interface DidUpdateCalendarEventEmitPayload {
1720
- 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
1721
- }
1722
- interface DidUpdateCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
1723
- id: 'didUpdateCalendarEventEmitPayload';
1724
- version: 'v2021_05_19';
1725
- namespace: 'Calendar';
1726
- name: '';
1727
- fields: {
1728
- /** . */
1729
- 'calendarEvent': {
1730
- type: 'schema';
1731
- isRequired: true;
1732
- options: {
1733
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
1734
- };
1735
- };
1736
- };
1737
- }
1738
- interface DidUpdateCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidUpdateCalendarEventEmitPayloadSchema> {
1739
- }
1740
- }
1741
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1742
- interface DidUpdateCalendarEventEmitTargetAndPayload {
1743
- /** Source. */
1744
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1745
- 'target': SpruceSchemas.Calendar.v2021_05_19.DidUpdateCalendarEventEmitTarget;
1746
- 'payload': SpruceSchemas.Calendar.v2021_05_19.DidUpdateCalendarEventEmitPayload;
1747
- }
1748
- interface DidUpdateCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1749
- id: 'didUpdateCalendarEventEmitTargetAndPayload';
1750
- version: 'v2021_05_19';
1751
- namespace: 'Calendar';
1752
- name: '';
1753
- fields: {
1754
- /** Source. */
1755
- 'source': {
1756
- label: 'Source';
1757
- type: 'schema';
1758
- options: {
1759
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
1760
- };
1761
- };
1762
- /** . */
1763
- 'target': {
1764
- type: 'schema';
1765
- isRequired: true;
1766
- options: {
1767
- schema: SpruceSchemas.Calendar.v2021_05_19.DidUpdateCalendarEventEmitTargetSchema;
1768
- };
1769
- };
1770
- /** . */
1771
- 'payload': {
1772
- type: 'schema';
1773
- isRequired: true;
1774
- options: {
1775
- schema: SpruceSchemas.Calendar.v2021_05_19.DidUpdateCalendarEventEmitPayloadSchema;
1776
- };
1777
- };
1778
- };
1779
- }
1780
- interface DidUpdateCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidUpdateCalendarEventEmitTargetAndPayloadSchema> {
1781
- }
1782
- }
1783
1697
  namespace SpruceSchemas.Calendar.v2021_05_19 {
1784
1698
  interface GetAvailableTimeSlotsEmitTarget {
1785
1699
  'organizationId'?: string | undefined | null;
@@ -1938,12 +1852,64 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1938
1852
  }
1939
1853
  }
1940
1854
  namespace SpruceSchemas.Calendar.v2021_05_19 {
1941
- interface GetAvailableTimeSlotsResponsePayload {
1942
- 'times': SpruceSchemas.Calendar.v2021_05_19.Timeslots[];
1855
+ interface TeammatesTimeslots {
1856
+ 'personId': string;
1857
+ 'startDateTimeMs': number;
1943
1858
  }
1944
- interface GetAvailableTimeSlotsResponsePayloadSchema extends SpruceSchema.Schema {
1945
- id: 'getAvailableTimeSlotsResponsePayload';
1946
- version: 'v2021_05_19';
1859
+ interface TeammatesTimeslotsSchema extends SpruceSchema.Schema {
1860
+ id: 'teammatesTimeslots';
1861
+ version: 'v2021_05_19';
1862
+ namespace: 'Calendar';
1863
+ name: '';
1864
+ fields: {
1865
+ /** . */
1866
+ 'personId': {
1867
+ type: 'id';
1868
+ isRequired: true;
1869
+ options: undefined;
1870
+ };
1871
+ /** . */
1872
+ 'startDateTimeMs': {
1873
+ type: 'number';
1874
+ isRequired: true;
1875
+ options: undefined;
1876
+ };
1877
+ };
1878
+ }
1879
+ interface TeammatesTimeslotsEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslotsSchema> {
1880
+ }
1881
+ }
1882
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1883
+ interface Timeslots {
1884
+ 'slots': SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslots[];
1885
+ }
1886
+ interface TimeslotsSchema extends SpruceSchema.Schema {
1887
+ id: 'timeslots';
1888
+ version: 'v2021_05_19';
1889
+ namespace: 'Calendar';
1890
+ name: '';
1891
+ fields: {
1892
+ /** . */
1893
+ 'slots': {
1894
+ type: 'schema';
1895
+ isRequired: true;
1896
+ isArray: true;
1897
+ options: {
1898
+ schema: SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslotsSchema;
1899
+ };
1900
+ };
1901
+ };
1902
+ }
1903
+ interface TimeslotsEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TimeslotsSchema> {
1904
+ }
1905
+ }
1906
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1907
+ interface GetAvailableTimeSlotsResponsePayload {
1908
+ 'times': SpruceSchemas.Calendar.v2021_05_19.Timeslots[];
1909
+ }
1910
+ interface GetAvailableTimeSlotsResponsePayloadSchema extends SpruceSchema.Schema {
1911
+ id: 'getAvailableTimeSlotsResponsePayload';
1912
+ version: 'v2021_05_19';
1947
1913
  namespace: 'Calendar';
1948
1914
  name: '';
1949
1915
  fields: {
@@ -1963,55 +1929,89 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1963
1929
  }
1964
1930
  }
1965
1931
  namespace SpruceSchemas.Calendar.v2021_05_19 {
1966
- interface TeammatesTimeslots {
1967
- 'personId': string;
1968
- 'startDateTimeMs': number;
1932
+ interface DidUpdateCalendarEventEmitTarget {
1933
+ 'locationId': string;
1969
1934
  }
1970
- interface TeammatesTimeslotsSchema extends SpruceSchema.Schema {
1971
- id: 'teammatesTimeslots';
1935
+ interface DidUpdateCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
1936
+ id: 'didUpdateCalendarEventEmitTarget';
1972
1937
  version: 'v2021_05_19';
1973
1938
  namespace: 'Calendar';
1974
1939
  name: '';
1975
1940
  fields: {
1976
1941
  /** . */
1977
- 'personId': {
1942
+ 'locationId': {
1978
1943
  type: 'id';
1979
1944
  isRequired: true;
1980
1945
  options: undefined;
1981
1946
  };
1947
+ };
1948
+ }
1949
+ interface DidUpdateCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidUpdateCalendarEventEmitTargetSchema> {
1950
+ }
1951
+ }
1952
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1953
+ interface DidUpdateCalendarEventEmitPayload {
1954
+ 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
1955
+ }
1956
+ interface DidUpdateCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
1957
+ id: 'didUpdateCalendarEventEmitPayload';
1958
+ version: 'v2021_05_19';
1959
+ namespace: 'Calendar';
1960
+ name: '';
1961
+ fields: {
1982
1962
  /** . */
1983
- 'startDateTimeMs': {
1984
- type: 'number';
1963
+ 'calendarEvent': {
1964
+ type: 'schema';
1985
1965
  isRequired: true;
1986
- options: undefined;
1966
+ options: {
1967
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
1968
+ };
1987
1969
  };
1988
1970
  };
1989
1971
  }
1990
- interface TeammatesTimeslotsEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslotsSchema> {
1972
+ interface DidUpdateCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidUpdateCalendarEventEmitPayloadSchema> {
1991
1973
  }
1992
1974
  }
1993
1975
  namespace SpruceSchemas.Calendar.v2021_05_19 {
1994
- interface Timeslots {
1995
- 'slots': SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslots[];
1976
+ interface DidUpdateCalendarEventEmitTargetAndPayload {
1977
+ /** Source. */
1978
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1979
+ 'target': SpruceSchemas.Calendar.v2021_05_19.DidUpdateCalendarEventEmitTarget;
1980
+ 'payload': SpruceSchemas.Calendar.v2021_05_19.DidUpdateCalendarEventEmitPayload;
1996
1981
  }
1997
- interface TimeslotsSchema extends SpruceSchema.Schema {
1998
- id: 'timeslots';
1982
+ interface DidUpdateCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1983
+ id: 'didUpdateCalendarEventEmitTargetAndPayload';
1999
1984
  version: 'v2021_05_19';
2000
1985
  namespace: 'Calendar';
2001
1986
  name: '';
2002
1987
  fields: {
1988
+ /** Source. */
1989
+ 'source': {
1990
+ label: 'Source';
1991
+ type: 'schema';
1992
+ options: {
1993
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
1994
+ };
1995
+ };
2003
1996
  /** . */
2004
- 'slots': {
1997
+ 'target': {
2005
1998
  type: 'schema';
2006
1999
  isRequired: true;
2007
- isArray: true;
2008
2000
  options: {
2009
- schema: SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslotsSchema;
2001
+ schema: SpruceSchemas.Calendar.v2021_05_19.DidUpdateCalendarEventEmitTargetSchema;
2002
+ };
2003
+ };
2004
+ /** . */
2005
+ 'payload': {
2006
+ type: 'schema';
2007
+ isRequired: true;
2008
+ options: {
2009
+ schema: SpruceSchemas.Calendar.v2021_05_19.DidUpdateCalendarEventEmitPayloadSchema;
2010
2010
  };
2011
2011
  };
2012
2012
  };
2013
2013
  }
2014
- interface TimeslotsEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TimeslotsSchema> {
2014
+ interface DidUpdateCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidUpdateCalendarEventEmitTargetAndPayloadSchema> {
2015
2015
  }
2016
2016
  }
2017
2017
  namespace SpruceSchemas.Calendar.v2021_05_19 {
@@ -2559,56 +2559,39 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2559
2559
  }
2560
2560
  }
2561
2561
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2562
- interface ListCalendarEventsEmitTarget {
2563
- 'locationId': string;
2562
+ interface ListCalendarsEmitTarget {
2563
+ 'organizationId'?: string | undefined | null;
2564
+ 'calendarPersonId'?: string | undefined | null;
2564
2565
  }
2565
- interface ListCalendarEventsEmitTargetSchema extends SpruceSchema.Schema {
2566
- id: 'listCalendarEventsEmitTarget';
2566
+ interface ListCalendarsEmitTargetSchema extends SpruceSchema.Schema {
2567
+ id: 'listCalendarsEmitTarget';
2567
2568
  version: 'v2021_05_19';
2568
2569
  namespace: 'Calendar';
2569
2570
  name: '';
2570
2571
  fields: {
2571
2572
  /** . */
2572
- 'locationId': {
2573
+ 'organizationId': {
2573
2574
  type: 'id';
2574
- isRequired: true;
2575
2575
  options: undefined;
2576
2576
  };
2577
- };
2578
- }
2579
- interface ListCalendarEventsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetSchema> {
2580
- }
2581
- }
2582
- namespace SpruceSchemas.Calendar.v2021_05_19 {
2583
- interface ListCalendarEventsEmitPayload {
2584
- 'groupIds'?: string[] | undefined | null;
2585
- }
2586
- interface ListCalendarEventsEmitPayloadSchema extends SpruceSchema.Schema {
2587
- id: 'listCalendarEventsEmitPayload';
2588
- version: 'v2021_05_19';
2589
- namespace: 'Calendar';
2590
- name: '';
2591
- fields: {
2592
2577
  /** . */
2593
- 'groupIds': {
2578
+ 'calendarPersonId': {
2594
2579
  type: 'id';
2595
- isArray: true;
2596
2580
  options: undefined;
2597
2581
  };
2598
2582
  };
2599
2583
  }
2600
- interface ListCalendarEventsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayloadSchema> {
2584
+ interface ListCalendarsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema> {
2601
2585
  }
2602
2586
  }
2603
2587
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2604
- interface ListCalendarEventsEmitTargetAndPayload {
2588
+ interface ListCalendarsEmitTargetAndPayload {
2605
2589
  /** Source. */
2606
2590
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2607
- 'target': SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTarget;
2608
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayload | undefined | null;
2591
+ 'target'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTarget | undefined | null;
2609
2592
  }
2610
- interface ListCalendarEventsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2611
- id: 'listCalendarEventsEmitTargetAndPayload';
2593
+ interface ListCalendarsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2594
+ id: 'listCalendarsEmitTargetAndPayload';
2612
2595
  version: 'v2021_05_19';
2613
2596
  namespace: 'Calendar';
2614
2597
  name: '';
@@ -2623,104 +2606,187 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2623
2606
  };
2624
2607
  /** . */
2625
2608
  'target': {
2626
- type: 'schema';
2627
- isRequired: true;
2628
- options: {
2629
- schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetSchema;
2630
- };
2631
- };
2632
- /** . */
2633
- 'payload': {
2634
2609
  type: 'schema';
2635
2610
  options: {
2636
- schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayloadSchema;
2611
+ schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema;
2637
2612
  };
2638
2613
  };
2639
2614
  };
2640
2615
  }
2641
- interface ListCalendarEventsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetAndPayloadSchema> {
2616
+ interface ListCalendarsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetAndPayloadSchema> {
2642
2617
  }
2643
2618
  }
2644
2619
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2645
- interface ListCalendarEventsResponsePayload {
2646
- 'calendarEvents': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[];
2620
+ interface ListCalendarsResponsePayload {
2621
+ 'calendars': SpruceSchemas.Calendar.v2021_05_19.Calendar[];
2622
+ 'count': number;
2647
2623
  }
2648
- interface ListCalendarEventsResponsePayloadSchema extends SpruceSchema.Schema {
2649
- id: 'listCalendarEventsResponsePayload';
2624
+ interface ListCalendarsResponsePayloadSchema extends SpruceSchema.Schema {
2625
+ id: 'listCalendarsResponsePayload';
2650
2626
  version: 'v2021_05_19';
2651
2627
  namespace: 'Calendar';
2652
2628
  name: '';
2653
2629
  fields: {
2654
2630
  /** . */
2655
- 'calendarEvents': {
2631
+ 'calendars': {
2656
2632
  type: 'schema';
2657
2633
  isRequired: true;
2658
2634
  isArray: true;
2659
2635
  minArrayLength: 0;
2660
2636
  options: {
2661
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
2637
+ schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
2662
2638
  };
2663
2639
  };
2640
+ /** . */
2641
+ 'count': {
2642
+ type: 'number';
2643
+ isRequired: true;
2644
+ options: undefined;
2645
+ };
2664
2646
  };
2665
2647
  }
2666
- interface ListCalendarEventsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsResponsePayloadSchema> {
2648
+ interface ListCalendarsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsResponsePayloadSchema> {
2667
2649
  }
2668
2650
  }
2669
2651
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2670
- interface UpdateCalendarEmitTarget {
2671
- 'organizationId': string;
2672
- 'calendarId': string;
2652
+ interface ListCalendarEventTypesEmitPayload {
2653
+ 'shouldShowOnlyMine'?: boolean | undefined | null;
2673
2654
  }
2674
- interface UpdateCalendarEmitTargetSchema extends SpruceSchema.Schema {
2675
- id: 'updateCalendarEmitTarget';
2655
+ interface ListCalendarEventTypesEmitPayloadSchema extends SpruceSchema.Schema {
2656
+ id: 'listCalendarEventTypesEmitPayload';
2676
2657
  version: 'v2021_05_19';
2677
2658
  namespace: 'Calendar';
2678
2659
  name: '';
2679
2660
  fields: {
2680
2661
  /** . */
2681
- 'organizationId': {
2682
- type: 'id';
2683
- isRequired: true;
2684
- options: undefined;
2685
- };
2686
- /** . */
2687
- 'calendarId': {
2688
- type: 'id';
2689
- isRequired: true;
2662
+ 'shouldShowOnlyMine': {
2663
+ type: 'boolean';
2690
2664
  options: undefined;
2691
2665
  };
2692
2666
  };
2693
2667
  }
2694
- interface UpdateCalendarEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitTargetSchema> {
2668
+ interface ListCalendarEventTypesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema> {
2695
2669
  }
2696
2670
  }
2697
2671
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2698
- interface UpdateCalendarEmitPayload {
2699
- 'slug'?: string | undefined | null;
2700
- 'title'?: string | undefined | null;
2701
- 'eventTypes'?: string[] | undefined | null;
2702
- 'target'?: SpruceSchemas.Calendar.v2021_05_19.CalendarTarget | undefined | null;
2703
- 'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
2704
- 'availableTimeSlotBehavior'?: ("include" | "exclude") | undefined | null;
2672
+ interface ListCalendarEventTypesEmitTargetAndPayload {
2673
+ /** Source. */
2674
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2675
+ 'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayload | undefined | null;
2705
2676
  }
2706
- interface UpdateCalendarEmitPayloadSchema extends SpruceSchema.Schema {
2707
- id: 'updateCalendarEmitPayload';
2677
+ interface ListCalendarEventTypesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2678
+ id: 'listCalendarEventTypesEmitTargetAndPayload';
2708
2679
  version: 'v2021_05_19';
2709
2680
  namespace: 'Calendar';
2710
2681
  name: '';
2711
2682
  fields: {
2712
- /** . */
2713
- 'slug': {
2714
- type: 'id';
2715
- options: undefined;
2683
+ /** Source. */
2684
+ 'source': {
2685
+ label: 'Source';
2686
+ type: 'schema';
2687
+ options: {
2688
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
2689
+ };
2716
2690
  };
2717
2691
  /** . */
2718
- 'title': {
2719
- type: 'text';
2720
- options: undefined;
2692
+ 'payload': {
2693
+ type: 'schema';
2694
+ options: {
2695
+ schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema;
2696
+ };
2721
2697
  };
2722
- /** . */
2723
- 'eventTypes': {
2698
+ };
2699
+ }
2700
+ interface ListCalendarEventTypesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitTargetAndPayloadSchema> {
2701
+ }
2702
+ }
2703
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
2704
+ interface ListCalendarEventTypesResponsePayload {
2705
+ 'calendarEventTypes': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType[];
2706
+ 'count': number;
2707
+ }
2708
+ interface ListCalendarEventTypesResponsePayloadSchema extends SpruceSchema.Schema {
2709
+ id: 'listCalendarEventTypesResponsePayload';
2710
+ version: 'v2021_05_19';
2711
+ namespace: 'Calendar';
2712
+ name: '';
2713
+ fields: {
2714
+ /** . */
2715
+ 'calendarEventTypes': {
2716
+ type: 'schema';
2717
+ isRequired: true;
2718
+ isArray: true;
2719
+ minArrayLength: 0;
2720
+ options: {
2721
+ schema: SpruceSchemas.Calendar.v2021_05_19.CalendarEventTypeSchema;
2722
+ };
2723
+ };
2724
+ /** . */
2725
+ 'count': {
2726
+ type: 'number';
2727
+ isRequired: true;
2728
+ options: undefined;
2729
+ };
2730
+ };
2731
+ }
2732
+ interface ListCalendarEventTypesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesResponsePayloadSchema> {
2733
+ }
2734
+ }
2735
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
2736
+ interface UpdateCalendarEmitTarget {
2737
+ 'organizationId': string;
2738
+ 'calendarId': string;
2739
+ }
2740
+ interface UpdateCalendarEmitTargetSchema extends SpruceSchema.Schema {
2741
+ id: 'updateCalendarEmitTarget';
2742
+ version: 'v2021_05_19';
2743
+ namespace: 'Calendar';
2744
+ name: '';
2745
+ fields: {
2746
+ /** . */
2747
+ 'organizationId': {
2748
+ type: 'id';
2749
+ isRequired: true;
2750
+ options: undefined;
2751
+ };
2752
+ /** . */
2753
+ 'calendarId': {
2754
+ type: 'id';
2755
+ isRequired: true;
2756
+ options: undefined;
2757
+ };
2758
+ };
2759
+ }
2760
+ interface UpdateCalendarEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitTargetSchema> {
2761
+ }
2762
+ }
2763
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
2764
+ interface UpdateCalendarEmitPayload {
2765
+ 'slug'?: string | undefined | null;
2766
+ 'title'?: string | undefined | null;
2767
+ 'eventTypes'?: string[] | undefined | null;
2768
+ 'target'?: SpruceSchemas.Calendar.v2021_05_19.CalendarTarget | undefined | null;
2769
+ 'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
2770
+ 'availableTimeSlotBehavior'?: ("include" | "exclude") | undefined | null;
2771
+ }
2772
+ interface UpdateCalendarEmitPayloadSchema extends SpruceSchema.Schema {
2773
+ id: 'updateCalendarEmitPayload';
2774
+ version: 'v2021_05_19';
2775
+ namespace: 'Calendar';
2776
+ name: '';
2777
+ fields: {
2778
+ /** . */
2779
+ 'slug': {
2780
+ type: 'id';
2781
+ options: undefined;
2782
+ };
2783
+ /** . */
2784
+ 'title': {
2785
+ type: 'text';
2786
+ options: undefined;
2787
+ };
2788
+ /** . */
2789
+ 'eventTypes': {
2724
2790
  type: 'text';
2725
2791
  isArray: true;
2726
2792
  minArrayLength: 0;
@@ -2939,946 +3005,190 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2939
3005
  }
2940
3006
  }
2941
3007
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2942
- interface ListCalendarsEmitTarget {
2943
- 'organizationId'?: string | undefined | null;
2944
- 'calendarPersonId'?: string | undefined | null;
2945
- }
2946
- interface ListCalendarsEmitTargetSchema extends SpruceSchema.Schema {
2947
- id: 'listCalendarsEmitTarget';
2948
- version: 'v2021_05_19';
2949
- namespace: 'Calendar';
2950
- name: '';
2951
- fields: {
2952
- /** . */
2953
- 'organizationId': {
2954
- type: 'id';
2955
- options: undefined;
2956
- };
2957
- /** . */
2958
- 'calendarPersonId': {
2959
- type: 'id';
2960
- options: undefined;
2961
- };
2962
- };
2963
- }
2964
- interface ListCalendarsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema> {
2965
- }
2966
- }
2967
- namespace SpruceSchemas.Calendar.v2021_05_19 {
2968
- interface ListCalendarsEmitTargetAndPayload {
2969
- /** Source. */
2970
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2971
- 'target'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTarget | undefined | null;
2972
- }
2973
- interface ListCalendarsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2974
- id: 'listCalendarsEmitTargetAndPayload';
2975
- version: 'v2021_05_19';
2976
- namespace: 'Calendar';
2977
- name: '';
2978
- fields: {
2979
- /** Source. */
2980
- 'source': {
2981
- label: 'Source';
2982
- type: 'schema';
2983
- options: {
2984
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
2985
- };
2986
- };
2987
- /** . */
2988
- 'target': {
2989
- type: 'schema';
2990
- options: {
2991
- schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema;
2992
- };
2993
- };
2994
- };
2995
- }
2996
- interface ListCalendarsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetAndPayloadSchema> {
2997
- }
2998
- }
2999
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3000
- interface ListCalendarsResponsePayload {
3001
- 'calendars': SpruceSchemas.Calendar.v2021_05_19.Calendar[];
3002
- 'count': number;
3008
+ interface UpsertCalendarEventTypeEmitTarget {
3009
+ 'slug': string;
3003
3010
  }
3004
- interface ListCalendarsResponsePayloadSchema extends SpruceSchema.Schema {
3005
- id: 'listCalendarsResponsePayload';
3011
+ interface UpsertCalendarEventTypeEmitTargetSchema extends SpruceSchema.Schema {
3012
+ id: 'upsertCalendarEventTypeEmitTarget';
3006
3013
  version: 'v2021_05_19';
3007
3014
  namespace: 'Calendar';
3008
3015
  name: '';
3009
3016
  fields: {
3010
3017
  /** . */
3011
- 'calendars': {
3012
- type: 'schema';
3013
- isRequired: true;
3014
- isArray: true;
3015
- minArrayLength: 0;
3016
- options: {
3017
- schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
3018
- };
3019
- };
3020
- /** . */
3021
- 'count': {
3022
- type: 'number';
3018
+ 'slug': {
3019
+ type: 'text';
3023
3020
  isRequired: true;
3024
3021
  options: undefined;
3025
3022
  };
3026
3023
  };
3027
3024
  }
3028
- interface ListCalendarsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsResponsePayloadSchema> {
3025
+ interface UpsertCalendarEventTypeEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTargetSchema> {
3029
3026
  }
3030
3027
  }
3031
3028
  namespace SpruceSchemas.Calendar.v2021_05_19 {
3032
- interface UpdateCalendarEventEmitTarget {
3033
- 'organizationId'?: string | undefined | null;
3034
- 'locationId'?: string | undefined | null;
3035
- 'calendarEventId': string;
3036
- 'calendarEventPersonId': string;
3029
+ interface UpsertCalendarEventTypeEmitPayload {
3030
+ 'name'?: string | undefined | null;
3031
+ 'slug'?: string | undefined | null;
3032
+ 'viewControllerId'?: string | undefined | null;
3033
+ 'lineIcon'?: ("sprucebot" | "add-circle" | "chevron-left" | "document-text" | "link-angle" | "play-circle" | "star" | "add-square" | "chevron-right" | "download-cloud" | "link-flat" | "present" | "sun" | "add" | "chevron-up" | "download" | "loader" | "refresh-circle" | "tag" | "alarm" | "clipboard" | "edit-box" | "location-pin" | "refresh" | "time" | "arrow-back" | "clock" | "edit-line" | "lock" | "repeat" | "tool" | "arrow-down-circle" | "close-circle" | "email" | "map" | "restricted" | "trending-down" | "arrow-down" | "close-square" | "emoji-happy" | "message-circle" | "rotate" | "trending-up" | "arrow-next" | "close" | "emoji-sad" | "message-square" | "search-no" | "triangle" | "arrow-up-circle" | "code" | "external-link" | "mic-off" | "search" | "unlock" | "arrow-up" | "coffee" | "fav-heart" | "mic-on" | "selector-checked" | "upload-cloud" | "attachment" | "command" | "flag" | "minus-circle" | "selector-circle-filled" | "upload" | "award-badge" | "corner-down-left" | "flip-01" | "minus-square" | "selector-circle" | "user-add" | "binoculars" | "corner-down-right" | "flip-02" | "money-sign" | "send" | "user-delete" | "bolt" | "corner-left-down" | "folder" | "more-horizontal" | "settings-filled" | "user" | "book-open" | "corner-left-up" | "globe" | "more-vertical" | "settings" | "users" | "book" | "corner-right-down" | "hash-tag" | "notification-off" | "share" | "video-off" | "bookmark" | "corner-right-up" | "headphones" | "notification-on" | "shopping-bag" | "video" | "calendar-add" | "corner-up-left" | "help-buoy" | "object" | "shopping-cart" | "warning" | "calendar" | "corner-up-right" | "help-circle" | "pause-circle" | "sort-filter-down" | "wifi" | "camera" | "crop" | "home" | "phone-unavailable" | "sort-filter-up" | "zoom-in" | "cellphone" | "delete" | "info" | "phone" | "sound-off" | "zoom-out" | "checkmark" | "document-blank" | "jump" | "photo" | "sound-on" | "chevron-down" | "document-new" | "layers" | "picked" | "star-filled") | undefined | null;
3037
3034
  }
3038
- interface UpdateCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
3039
- id: 'updateCalendarEventEmitTarget';
3035
+ interface UpsertCalendarEventTypeEmitPayloadSchema extends SpruceSchema.Schema {
3036
+ id: 'upsertCalendarEventTypeEmitPayload';
3040
3037
  version: 'v2021_05_19';
3041
3038
  namespace: 'Calendar';
3042
3039
  name: '';
3043
3040
  fields: {
3044
3041
  /** . */
3045
- 'organizationId': {
3046
- type: 'id';
3047
- options: undefined;
3048
- };
3049
- /** . */
3050
- 'locationId': {
3051
- type: 'id';
3042
+ 'name': {
3043
+ type: 'text';
3052
3044
  options: undefined;
3053
3045
  };
3054
3046
  /** . */
3055
- 'calendarEventId': {
3056
- type: 'id';
3057
- isRequired: true;
3047
+ 'slug': {
3048
+ type: 'text';
3058
3049
  options: undefined;
3059
3050
  };
3060
3051
  /** . */
3061
- 'calendarEventPersonId': {
3052
+ 'viewControllerId': {
3062
3053
  type: 'id';
3063
- isRequired: true;
3064
3054
  options: undefined;
3065
3055
  };
3066
- };
3067
- }
3068
- interface UpdateCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetSchema> {
3069
- }
3070
- }
3071
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3072
- interface UpdateCalendarEventEmitPayload {
3073
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
3074
- 'target'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventTarget | undefined | null;
3075
- 'calendarId'?: string | undefined | null;
3076
- 'eventTypeSlug'?: string | undefined | null;
3077
- 'startDateTimeMs'?: SpruceSchema.DateTimeFieldValue | undefined | null;
3078
- 'isBusy'?: boolean | undefined | null;
3079
- 'isResizeable'?: boolean | undefined | null;
3080
- 'style'?: ("draft" | "tentative" | "upcoming" | "unavailable" | "blocked" | "active" | "past" | "warn" | "critical") | undefined | null;
3081
- 'groupId'?: string | undefined | null;
3082
- 'timeBlocks'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventTimeBlock[] | undefined | null;
3083
- 'repeats'?: ("weekly" | "monthly" | "daily") | undefined | null;
3084
- 'daysOfWeek'?: ("sun" | "mon" | "tue" | "wed" | "thur" | "fri" | "sat")[] | undefined | null;
3085
- 'daysOfMonth'?: ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "29" | "30" | "31")[] | undefined | null;
3086
- 'repeatsUntil'?: SpruceSchema.DateTimeFieldValue | undefined | null;
3087
- 'occurrences'?: number | undefined | null;
3088
- 'interval'?: number | undefined | null;
3089
- 'nthOccurrences'?: number[] | undefined | null;
3090
- 'exclusionDates'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDate[] | undefined | null;
3091
- 'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
3092
- 'nthInRepeating'?: number | undefined | null;
3093
- 'totalInRepeating'?: number | undefined | null;
3094
- 'meta'?: (Record<string, any>) | undefined | null;
3095
- 'addToExclusionDates'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDate[] | undefined | null;
3096
- 'dateToUpdate'?: number | undefined | null;
3097
- 'shouldUpdateAllEventsGoingForward'?: boolean | undefined | null;
3098
- /** . It will show on this person's calendar going forward! */
3099
- 'newTargetPersonId'?: string | undefined | null;
3100
- }
3101
- interface UpdateCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
3102
- id: 'updateCalendarEventEmitPayload';
3103
- version: 'v2021_05_19';
3104
- namespace: 'Calendar';
3105
- name: '';
3106
- fields: {
3107
3056
  /** . */
3108
- 'source': {
3109
- type: 'schema';
3110
- options: {
3111
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
3112
- };
3113
- };
3114
- /** . */
3115
- 'target': {
3116
- type: 'schema';
3117
- options: {
3118
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventTargetSchema;
3119
- };
3120
- };
3121
- /** . */
3122
- 'calendarId': {
3123
- type: 'id';
3124
- options: undefined;
3125
- };
3126
- /** . */
3127
- 'eventTypeSlug': {
3128
- type: 'text';
3129
- options: undefined;
3130
- };
3131
- /** . */
3132
- 'startDateTimeMs': {
3133
- type: 'dateTime';
3134
- options: undefined;
3135
- };
3136
- /** . */
3137
- 'isBusy': {
3138
- type: 'boolean';
3139
- options: undefined;
3140
- };
3141
- /** . */
3142
- 'isResizeable': {
3143
- type: 'boolean';
3144
- options: undefined;
3145
- };
3146
- /** . */
3147
- 'style': {
3148
- type: 'select';
3057
+ 'lineIcon': {
3058
+ type: 'select';
3149
3059
  options: {
3150
3060
  choices: [{
3151
- "value": "draft";
3152
- "label": "Draft";
3061
+ "value": "sprucebot";
3062
+ "label": "sprucebot";
3153
3063
  }, {
3154
- "value": "tentative";
3155
- "label": "Tentative";
3064
+ "value": "add-circle";
3065
+ "label": "add-circle";
3156
3066
  }, {
3157
- "value": "upcoming";
3158
- "label": "Upcoming";
3067
+ "value": "chevron-left";
3068
+ "label": "chevron-left";
3159
3069
  }, {
3160
- "value": "unavailable";
3161
- "label": "Unavailable";
3070
+ "value": "document-text";
3071
+ "label": "document-text";
3162
3072
  }, {
3163
- "value": "blocked";
3164
- "label": "Blocked";
3073
+ "value": "link-angle";
3074
+ "label": "link-angle";
3165
3075
  }, {
3166
- "value": "active";
3167
- "label": "Active";
3076
+ "value": "play-circle";
3077
+ "label": "play-circle";
3168
3078
  }, {
3169
- "value": "past";
3170
- "label": "Past";
3079
+ "value": "star";
3080
+ "label": "star";
3171
3081
  }, {
3172
- "value": "warn";
3173
- "label": "Warning";
3082
+ "value": "add-square";
3083
+ "label": "add-square";
3174
3084
  }, {
3175
- "value": "critical";
3176
- "label": "Critical";
3177
- }];
3178
- };
3179
- };
3180
- /** . */
3181
- 'groupId': {
3182
- type: 'id';
3183
- options: undefined;
3184
- };
3185
- /** . */
3186
- 'timeBlocks': {
3187
- type: 'schema';
3188
- isArray: true;
3189
- minArrayLength: 1;
3190
- options: {
3191
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.EventTimeBlockSchema;
3192
- };
3193
- };
3194
- /** . */
3195
- 'repeats': {
3196
- type: 'select';
3197
- options: {
3198
- choices: [{
3199
- "value": "weekly";
3200
- "label": "Weekly";
3085
+ "value": "chevron-right";
3086
+ "label": "chevron-right";
3201
3087
  }, {
3202
- "value": "monthly";
3203
- "label": "Monthly";
3088
+ "value": "download-cloud";
3089
+ "label": "download-cloud";
3204
3090
  }, {
3205
- "value": "daily";
3206
- "label": "Daily";
3207
- }];
3208
- };
3209
- };
3210
- /** . */
3211
- 'daysOfWeek': {
3212
- type: 'select';
3213
- isArray: true;
3214
- options: {
3215
- choices: [{
3216
- "value": "sun";
3217
- "label": "Sunday";
3091
+ "value": "link-flat";
3092
+ "label": "link-flat";
3218
3093
  }, {
3219
- "value": "mon";
3220
- "label": "Monday";
3094
+ "value": "present";
3095
+ "label": "present";
3221
3096
  }, {
3222
- "value": "tue";
3223
- "label": "Tuesday";
3097
+ "value": "sun";
3098
+ "label": "sun";
3224
3099
  }, {
3225
- "value": "wed";
3226
- "label": "Wednesday";
3100
+ "value": "add";
3101
+ "label": "add";
3227
3102
  }, {
3228
- "value": "thur";
3229
- "label": "Thursday";
3103
+ "value": "chevron-up";
3104
+ "label": "chevron-up";
3230
3105
  }, {
3231
- "value": "fri";
3232
- "label": "Friday";
3106
+ "value": "download";
3107
+ "label": "download";
3233
3108
  }, {
3234
- "value": "sat";
3235
- "label": "Saturday";
3236
- }];
3237
- };
3238
- };
3239
- /** . */
3240
- 'daysOfMonth': {
3241
- type: 'select';
3242
- isArray: true;
3243
- options: {
3244
- choices: [{
3245
- "value": "1";
3246
- "label": "1";
3109
+ "value": "loader";
3110
+ "label": "loader";
3247
3111
  }, {
3248
- "value": "2";
3249
- "label": "2";
3112
+ "value": "refresh-circle";
3113
+ "label": "refresh-circle";
3250
3114
  }, {
3251
- "value": "3";
3252
- "label": "3";
3115
+ "value": "tag";
3116
+ "label": "tag";
3253
3117
  }, {
3254
- "value": "4";
3255
- "label": "4";
3118
+ "value": "alarm";
3119
+ "label": "alarm";
3256
3120
  }, {
3257
- "value": "5";
3258
- "label": "5";
3121
+ "value": "clipboard";
3122
+ "label": "clipboard";
3259
3123
  }, {
3260
- "value": "6";
3261
- "label": "6";
3124
+ "value": "edit-box";
3125
+ "label": "edit-box";
3262
3126
  }, {
3263
- "value": "7";
3264
- "label": "7";
3127
+ "value": "location-pin";
3128
+ "label": "location-pin";
3265
3129
  }, {
3266
- "value": "8";
3267
- "label": "8";
3130
+ "value": "refresh";
3131
+ "label": "refresh";
3268
3132
  }, {
3269
- "value": "9";
3270
- "label": "9";
3133
+ "value": "time";
3134
+ "label": "time";
3271
3135
  }, {
3272
- "value": "10";
3273
- "label": "10";
3136
+ "value": "arrow-back";
3137
+ "label": "arrow-back";
3274
3138
  }, {
3275
- "value": "11";
3276
- "label": "11";
3139
+ "value": "clock";
3140
+ "label": "clock";
3277
3141
  }, {
3278
- "value": "12";
3279
- "label": "12";
3142
+ "value": "edit-line";
3143
+ "label": "edit-line";
3280
3144
  }, {
3281
- "value": "13";
3282
- "label": "13";
3145
+ "value": "lock";
3146
+ "label": "lock";
3283
3147
  }, {
3284
- "value": "14";
3285
- "label": "14";
3148
+ "value": "repeat";
3149
+ "label": "repeat";
3286
3150
  }, {
3287
- "value": "15";
3288
- "label": "15";
3151
+ "value": "tool";
3152
+ "label": "tool";
3289
3153
  }, {
3290
- "value": "16";
3291
- "label": "16";
3154
+ "value": "arrow-down-circle";
3155
+ "label": "arrow-down-circle";
3292
3156
  }, {
3293
- "value": "17";
3294
- "label": "17";
3157
+ "value": "close-circle";
3158
+ "label": "close-circle";
3295
3159
  }, {
3296
- "value": "18";
3297
- "label": "18";
3160
+ "value": "email";
3161
+ "label": "email";
3298
3162
  }, {
3299
- "value": "19";
3300
- "label": "19";
3163
+ "value": "map";
3164
+ "label": "map";
3301
3165
  }, {
3302
- "value": "20";
3303
- "label": "20";
3166
+ "value": "restricted";
3167
+ "label": "restricted";
3304
3168
  }, {
3305
- "value": "21";
3306
- "label": "21";
3169
+ "value": "trending-down";
3170
+ "label": "trending-down";
3307
3171
  }, {
3308
- "value": "22";
3309
- "label": "22";
3172
+ "value": "arrow-down";
3173
+ "label": "arrow-down";
3310
3174
  }, {
3311
- "value": "23";
3312
- "label": "23";
3175
+ "value": "close-square";
3176
+ "label": "close-square";
3313
3177
  }, {
3314
- "value": "24";
3315
- "label": "24";
3178
+ "value": "emoji-happy";
3179
+ "label": "emoji-happy";
3316
3180
  }, {
3317
- "value": "25";
3318
- "label": "25";
3181
+ "value": "message-circle";
3182
+ "label": "message-circle";
3319
3183
  }, {
3320
- "value": "26";
3321
- "label": "26";
3184
+ "value": "rotate";
3185
+ "label": "rotate";
3322
3186
  }, {
3323
- "value": "27";
3324
- "label": "27";
3187
+ "value": "trending-up";
3188
+ "label": "trending-up";
3325
3189
  }, {
3326
- "value": "28";
3327
- "label": "28";
3328
- }, {
3329
- "value": "29";
3330
- "label": "29";
3331
- }, {
3332
- "value": "30";
3333
- "label": "30";
3334
- }, {
3335
- "value": "31";
3336
- "label": "31";
3337
- }];
3338
- };
3339
- };
3340
- /** . */
3341
- 'repeatsUntil': {
3342
- type: 'dateTime';
3343
- options: undefined;
3344
- };
3345
- /** . */
3346
- 'occurrences': {
3347
- type: 'number';
3348
- options: undefined;
3349
- };
3350
- /** . */
3351
- 'interval': {
3352
- type: 'number';
3353
- options: undefined;
3354
- };
3355
- /** . */
3356
- 'nthOccurrences': {
3357
- type: 'number';
3358
- isArray: true;
3359
- options: undefined;
3360
- };
3361
- /** . */
3362
- 'exclusionDates': {
3363
- type: 'schema';
3364
- isArray: true;
3365
- options: {
3366
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDateSchema;
3367
- };
3368
- };
3369
- /** . */
3370
- 'dateDeleted': {
3371
- type: 'dateTime';
3372
- options: undefined;
3373
- };
3374
- /** . */
3375
- 'nthInRepeating': {
3376
- type: 'number';
3377
- options: undefined;
3378
- };
3379
- /** . */
3380
- 'totalInRepeating': {
3381
- type: 'number';
3382
- options: undefined;
3383
- };
3384
- /** . */
3385
- 'meta': {
3386
- type: 'raw';
3387
- options: {
3388
- valueType: `Record<string, any>`;
3389
- };
3390
- };
3391
- /** . */
3392
- 'addToExclusionDates': {
3393
- type: 'schema';
3394
- isArray: true;
3395
- options: {
3396
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDateSchema;
3397
- };
3398
- };
3399
- /** . */
3400
- 'dateToUpdate': {
3401
- type: 'number';
3402
- options: undefined;
3403
- };
3404
- /** . */
3405
- 'shouldUpdateAllEventsGoingForward': {
3406
- type: 'boolean';
3407
- options: undefined;
3408
- };
3409
- /** . It will show on this person's calendar going forward! */
3410
- 'newTargetPersonId': {
3411
- type: 'id';
3412
- hint: 'It will show on this person\'s calendar going forward!';
3413
- options: undefined;
3414
- };
3415
- };
3416
- }
3417
- interface UpdateCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayloadSchema> {
3418
- }
3419
- }
3420
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3421
- interface UpdateCalendarEventEmitTargetAndPayload {
3422
- /** Source. */
3423
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
3424
- 'target': SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTarget;
3425
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayload | undefined | null;
3426
- }
3427
- interface UpdateCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
3428
- id: 'updateCalendarEventEmitTargetAndPayload';
3429
- version: 'v2021_05_19';
3430
- namespace: 'Calendar';
3431
- name: '';
3432
- fields: {
3433
- /** Source. */
3434
- 'source': {
3435
- label: 'Source';
3436
- type: 'schema';
3437
- options: {
3438
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
3439
- };
3440
- };
3441
- /** . */
3442
- 'target': {
3443
- type: 'schema';
3444
- isRequired: true;
3445
- options: {
3446
- schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetSchema;
3447
- };
3448
- };
3449
- /** . */
3450
- 'payload': {
3451
- type: 'schema';
3452
- options: {
3453
- schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayloadSchema;
3454
- };
3455
- };
3456
- };
3457
- }
3458
- interface UpdateCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetAndPayloadSchema> {
3459
- }
3460
- }
3461
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3462
- interface UpdateCalendarEventResponsePayload {
3463
- 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
3464
- }
3465
- interface UpdateCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
3466
- id: 'updateCalendarEventResponsePayload';
3467
- version: 'v2021_05_19';
3468
- namespace: 'Calendar';
3469
- name: '';
3470
- fields: {
3471
- /** . */
3472
- 'calendarEvent': {
3473
- type: 'schema';
3474
- isRequired: true;
3475
- options: {
3476
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
3477
- };
3478
- };
3479
- };
3480
- }
3481
- interface UpdateCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventResponsePayloadSchema> {
3482
- }
3483
- }
3484
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3485
- interface UpdatePreferencesEmitTarget {
3486
- 'organizationId': string;
3487
- }
3488
- interface UpdatePreferencesEmitTargetSchema extends SpruceSchema.Schema {
3489
- id: 'updatePreferencesEmitTarget';
3490
- version: 'v2021_05_19';
3491
- namespace: 'Calendar';
3492
- name: '';
3493
- fields: {
3494
- /** . */
3495
- 'organizationId': {
3496
- type: 'id';
3497
- isRequired: true;
3498
- options: undefined;
3499
- };
3500
- };
3501
- }
3502
- interface UpdatePreferencesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetSchema> {
3503
- }
3504
- }
3505
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3506
- interface UpdatePreferencesEmitPayload {
3507
- 'selectedCalendarIds'?: string[] | undefined | null;
3508
- 'visiblePeopleMode'?: ("me" | "working" | "custom") | undefined | null;
3509
- 'visiblePeopleIds'?: string[] | undefined | null;
3510
- }
3511
- interface UpdatePreferencesEmitPayloadSchema extends SpruceSchema.Schema {
3512
- id: 'updatePreferencesEmitPayload';
3513
- version: 'v2021_05_19';
3514
- namespace: 'Calendar';
3515
- name: '';
3516
- fields: {
3517
- /** . */
3518
- 'selectedCalendarIds': {
3519
- type: 'id';
3520
- isArray: true;
3521
- minArrayLength: 0;
3522
- options: undefined;
3523
- };
3524
- /** . */
3525
- 'visiblePeopleMode': {
3526
- type: 'select';
3527
- options: {
3528
- choices: [{
3529
- "value": "me";
3530
- "label": "Me";
3531
- }, {
3532
- "value": "working";
3533
- "label": "Working";
3534
- }, {
3535
- "value": "custom";
3536
- "label": "Custom";
3537
- }];
3538
- };
3539
- };
3540
- /** . */
3541
- 'visiblePeopleIds': {
3542
- type: 'text';
3543
- isArray: true;
3544
- options: undefined;
3545
- };
3546
- };
3547
- }
3548
- interface UpdatePreferencesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayloadSchema> {
3549
- }
3550
- }
3551
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3552
- interface UpdatePreferencesEmitTargetAndPayload {
3553
- /** Source. */
3554
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
3555
- 'target': SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTarget;
3556
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayload | undefined | null;
3557
- }
3558
- interface UpdatePreferencesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
3559
- id: 'updatePreferencesEmitTargetAndPayload';
3560
- version: 'v2021_05_19';
3561
- namespace: 'Calendar';
3562
- name: '';
3563
- fields: {
3564
- /** Source. */
3565
- 'source': {
3566
- label: 'Source';
3567
- type: 'schema';
3568
- options: {
3569
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
3570
- };
3571
- };
3572
- /** . */
3573
- 'target': {
3574
- type: 'schema';
3575
- isRequired: true;
3576
- options: {
3577
- schema: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetSchema;
3578
- };
3579
- };
3580
- /** . */
3581
- 'payload': {
3582
- type: 'schema';
3583
- options: {
3584
- schema: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayloadSchema;
3585
- };
3586
- };
3587
- };
3588
- }
3589
- interface UpdatePreferencesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetAndPayloadSchema> {
3590
- }
3591
- }
3592
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3593
- interface UpdatePreferencesResponsePayload {
3594
- 'success': boolean;
3595
- }
3596
- interface UpdatePreferencesResponsePayloadSchema extends SpruceSchema.Schema {
3597
- id: 'updatePreferencesResponsePayload';
3598
- version: 'v2021_05_19';
3599
- namespace: 'Calendar';
3600
- name: '';
3601
- fields: {
3602
- /** . */
3603
- 'success': {
3604
- type: 'boolean';
3605
- isRequired: true;
3606
- options: undefined;
3607
- };
3608
- };
3609
- }
3610
- interface UpdatePreferencesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesResponsePayloadSchema> {
3611
- }
3612
- }
3613
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3614
- interface ListCalendarEventTypesEmitPayload {
3615
- 'shouldShowOnlyMine'?: boolean | undefined | null;
3616
- }
3617
- interface ListCalendarEventTypesEmitPayloadSchema extends SpruceSchema.Schema {
3618
- id: 'listCalendarEventTypesEmitPayload';
3619
- version: 'v2021_05_19';
3620
- namespace: 'Calendar';
3621
- name: '';
3622
- fields: {
3623
- /** . */
3624
- 'shouldShowOnlyMine': {
3625
- type: 'boolean';
3626
- options: undefined;
3627
- };
3628
- };
3629
- }
3630
- interface ListCalendarEventTypesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema> {
3631
- }
3632
- }
3633
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3634
- interface ListCalendarEventTypesEmitTargetAndPayload {
3635
- /** Source. */
3636
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
3637
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayload | undefined | null;
3638
- }
3639
- interface ListCalendarEventTypesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
3640
- id: 'listCalendarEventTypesEmitTargetAndPayload';
3641
- version: 'v2021_05_19';
3642
- namespace: 'Calendar';
3643
- name: '';
3644
- fields: {
3645
- /** Source. */
3646
- 'source': {
3647
- label: 'Source';
3648
- type: 'schema';
3649
- options: {
3650
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
3651
- };
3652
- };
3653
- /** . */
3654
- 'payload': {
3655
- type: 'schema';
3656
- options: {
3657
- schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema;
3658
- };
3659
- };
3660
- };
3661
- }
3662
- interface ListCalendarEventTypesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitTargetAndPayloadSchema> {
3663
- }
3664
- }
3665
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3666
- interface ListCalendarEventTypesResponsePayload {
3667
- 'calendarEventTypes': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType[];
3668
- 'count': number;
3669
- }
3670
- interface ListCalendarEventTypesResponsePayloadSchema extends SpruceSchema.Schema {
3671
- id: 'listCalendarEventTypesResponsePayload';
3672
- version: 'v2021_05_19';
3673
- namespace: 'Calendar';
3674
- name: '';
3675
- fields: {
3676
- /** . */
3677
- 'calendarEventTypes': {
3678
- type: 'schema';
3679
- isRequired: true;
3680
- isArray: true;
3681
- minArrayLength: 0;
3682
- options: {
3683
- schema: SpruceSchemas.Calendar.v2021_05_19.CalendarEventTypeSchema;
3684
- };
3685
- };
3686
- /** . */
3687
- 'count': {
3688
- type: 'number';
3689
- isRequired: true;
3690
- options: undefined;
3691
- };
3692
- };
3693
- }
3694
- interface ListCalendarEventTypesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesResponsePayloadSchema> {
3695
- }
3696
- }
3697
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3698
- interface UpsertCalendarEventTypeEmitTarget {
3699
- 'slug': string;
3700
- }
3701
- interface UpsertCalendarEventTypeEmitTargetSchema extends SpruceSchema.Schema {
3702
- id: 'upsertCalendarEventTypeEmitTarget';
3703
- version: 'v2021_05_19';
3704
- namespace: 'Calendar';
3705
- name: '';
3706
- fields: {
3707
- /** . */
3708
- 'slug': {
3709
- type: 'text';
3710
- isRequired: true;
3711
- options: undefined;
3712
- };
3713
- };
3714
- }
3715
- interface UpsertCalendarEventTypeEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTargetSchema> {
3716
- }
3717
- }
3718
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3719
- interface UpsertCalendarEventTypeEmitPayload {
3720
- 'name'?: string | undefined | null;
3721
- 'slug'?: string | undefined | null;
3722
- 'viewControllerId'?: string | undefined | null;
3723
- 'lineIcon'?: ("sprucebot" | "add-circle" | "chevron-left" | "document-text" | "link-angle" | "play-circle" | "star" | "add-square" | "chevron-right" | "download-cloud" | "link-flat" | "present" | "sun" | "add" | "chevron-up" | "download" | "loader" | "refresh-circle" | "tag" | "alarm" | "clipboard" | "edit-box" | "location-pin" | "refresh" | "time" | "arrow-back" | "clock" | "edit-line" | "lock" | "repeat" | "tool" | "arrow-down-circle" | "close-circle" | "email" | "map" | "restricted" | "trending-down" | "arrow-down" | "close-square" | "emoji-happy" | "message-circle" | "rotate" | "trending-up" | "arrow-next" | "close" | "emoji-sad" | "message-square" | "search-no" | "triangle" | "arrow-up-circle" | "code" | "external-link" | "mic-off" | "search" | "unlock" | "arrow-up" | "coffee" | "fav-heart" | "mic-on" | "selector-checked" | "upload-cloud" | "attachment" | "command" | "flag" | "minus-circle" | "selector-circle-filled" | "upload" | "award-badge" | "corner-down-left" | "flip-01" | "minus-square" | "selector-circle" | "user-add" | "binoculars" | "corner-down-right" | "flip-02" | "money-sign" | "send" | "user-delete" | "bolt" | "corner-left-down" | "folder" | "more-horizontal" | "settings-filled" | "user" | "book-open" | "corner-left-up" | "globe" | "more-vertical" | "settings" | "users" | "book" | "corner-right-down" | "hash-tag" | "notification-off" | "share" | "video-off" | "bookmark" | "corner-right-up" | "headphones" | "notification-on" | "shopping-bag" | "video" | "calendar-add" | "corner-up-left" | "help-buoy" | "object" | "shopping-cart" | "warning" | "calendar" | "corner-up-right" | "help-circle" | "pause-circle" | "sort-filter-down" | "wifi" | "camera" | "crop" | "home" | "phone-unavailable" | "sort-filter-up" | "zoom-in" | "cellphone" | "delete" | "info" | "phone" | "sound-off" | "zoom-out" | "checkmark" | "document-blank" | "jump" | "photo" | "sound-on" | "chevron-down" | "document-new" | "layers" | "picked" | "star-filled") | undefined | null;
3724
- }
3725
- interface UpsertCalendarEventTypeEmitPayloadSchema extends SpruceSchema.Schema {
3726
- id: 'upsertCalendarEventTypeEmitPayload';
3727
- version: 'v2021_05_19';
3728
- namespace: 'Calendar';
3729
- name: '';
3730
- fields: {
3731
- /** . */
3732
- 'name': {
3733
- type: 'text';
3734
- options: undefined;
3735
- };
3736
- /** . */
3737
- 'slug': {
3738
- type: 'text';
3739
- options: undefined;
3740
- };
3741
- /** . */
3742
- 'viewControllerId': {
3743
- type: 'id';
3744
- options: undefined;
3745
- };
3746
- /** . */
3747
- 'lineIcon': {
3748
- type: 'select';
3749
- options: {
3750
- choices: [{
3751
- "value": "sprucebot";
3752
- "label": "sprucebot";
3753
- }, {
3754
- "value": "add-circle";
3755
- "label": "add-circle";
3756
- }, {
3757
- "value": "chevron-left";
3758
- "label": "chevron-left";
3759
- }, {
3760
- "value": "document-text";
3761
- "label": "document-text";
3762
- }, {
3763
- "value": "link-angle";
3764
- "label": "link-angle";
3765
- }, {
3766
- "value": "play-circle";
3767
- "label": "play-circle";
3768
- }, {
3769
- "value": "star";
3770
- "label": "star";
3771
- }, {
3772
- "value": "add-square";
3773
- "label": "add-square";
3774
- }, {
3775
- "value": "chevron-right";
3776
- "label": "chevron-right";
3777
- }, {
3778
- "value": "download-cloud";
3779
- "label": "download-cloud";
3780
- }, {
3781
- "value": "link-flat";
3782
- "label": "link-flat";
3783
- }, {
3784
- "value": "present";
3785
- "label": "present";
3786
- }, {
3787
- "value": "sun";
3788
- "label": "sun";
3789
- }, {
3790
- "value": "add";
3791
- "label": "add";
3792
- }, {
3793
- "value": "chevron-up";
3794
- "label": "chevron-up";
3795
- }, {
3796
- "value": "download";
3797
- "label": "download";
3798
- }, {
3799
- "value": "loader";
3800
- "label": "loader";
3801
- }, {
3802
- "value": "refresh-circle";
3803
- "label": "refresh-circle";
3804
- }, {
3805
- "value": "tag";
3806
- "label": "tag";
3807
- }, {
3808
- "value": "alarm";
3809
- "label": "alarm";
3810
- }, {
3811
- "value": "clipboard";
3812
- "label": "clipboard";
3813
- }, {
3814
- "value": "edit-box";
3815
- "label": "edit-box";
3816
- }, {
3817
- "value": "location-pin";
3818
- "label": "location-pin";
3819
- }, {
3820
- "value": "refresh";
3821
- "label": "refresh";
3822
- }, {
3823
- "value": "time";
3824
- "label": "time";
3825
- }, {
3826
- "value": "arrow-back";
3827
- "label": "arrow-back";
3828
- }, {
3829
- "value": "clock";
3830
- "label": "clock";
3831
- }, {
3832
- "value": "edit-line";
3833
- "label": "edit-line";
3834
- }, {
3835
- "value": "lock";
3836
- "label": "lock";
3837
- }, {
3838
- "value": "repeat";
3839
- "label": "repeat";
3840
- }, {
3841
- "value": "tool";
3842
- "label": "tool";
3843
- }, {
3844
- "value": "arrow-down-circle";
3845
- "label": "arrow-down-circle";
3846
- }, {
3847
- "value": "close-circle";
3848
- "label": "close-circle";
3849
- }, {
3850
- "value": "email";
3851
- "label": "email";
3852
- }, {
3853
- "value": "map";
3854
- "label": "map";
3855
- }, {
3856
- "value": "restricted";
3857
- "label": "restricted";
3858
- }, {
3859
- "value": "trending-down";
3860
- "label": "trending-down";
3861
- }, {
3862
- "value": "arrow-down";
3863
- "label": "arrow-down";
3864
- }, {
3865
- "value": "close-square";
3866
- "label": "close-square";
3867
- }, {
3868
- "value": "emoji-happy";
3869
- "label": "emoji-happy";
3870
- }, {
3871
- "value": "message-circle";
3872
- "label": "message-circle";
3873
- }, {
3874
- "value": "rotate";
3875
- "label": "rotate";
3876
- }, {
3877
- "value": "trending-up";
3878
- "label": "trending-up";
3879
- }, {
3880
- "value": "arrow-next";
3881
- "label": "arrow-next";
3190
+ "value": "arrow-next";
3191
+ "label": "arrow-next";
3882
3192
  }, {
3883
3193
  "value": "close";
3884
3194
  "label": "close";
@@ -4015,166 +3325,750 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4015
3325
  "value": "more-vertical";
4016
3326
  "label": "more-vertical";
4017
3327
  }, {
4018
- "value": "settings";
4019
- "label": "settings";
3328
+ "value": "settings";
3329
+ "label": "settings";
3330
+ }, {
3331
+ "value": "users";
3332
+ "label": "users";
3333
+ }, {
3334
+ "value": "book";
3335
+ "label": "book";
3336
+ }, {
3337
+ "value": "corner-right-down";
3338
+ "label": "corner-right-down";
3339
+ }, {
3340
+ "value": "hash-tag";
3341
+ "label": "hash-tag";
3342
+ }, {
3343
+ "value": "notification-off";
3344
+ "label": "notification-off";
3345
+ }, {
3346
+ "value": "share";
3347
+ "label": "share";
3348
+ }, {
3349
+ "value": "video-off";
3350
+ "label": "video-off";
3351
+ }, {
3352
+ "value": "bookmark";
3353
+ "label": "bookmark";
3354
+ }, {
3355
+ "value": "corner-right-up";
3356
+ "label": "corner-right-up";
3357
+ }, {
3358
+ "value": "headphones";
3359
+ "label": "headphones";
3360
+ }, {
3361
+ "value": "notification-on";
3362
+ "label": "notification-on";
3363
+ }, {
3364
+ "value": "shopping-bag";
3365
+ "label": "shopping-bag";
3366
+ }, {
3367
+ "value": "video";
3368
+ "label": "video";
3369
+ }, {
3370
+ "value": "calendar-add";
3371
+ "label": "calendar-add";
3372
+ }, {
3373
+ "value": "corner-up-left";
3374
+ "label": "corner-up-left";
3375
+ }, {
3376
+ "value": "help-buoy";
3377
+ "label": "help-buoy";
3378
+ }, {
3379
+ "value": "object";
3380
+ "label": "object";
3381
+ }, {
3382
+ "value": "shopping-cart";
3383
+ "label": "shopping-cart";
3384
+ }, {
3385
+ "value": "warning";
3386
+ "label": "warning";
3387
+ }, {
3388
+ "value": "calendar";
3389
+ "label": "calendar";
3390
+ }, {
3391
+ "value": "corner-up-right";
3392
+ "label": "corner-up-right";
3393
+ }, {
3394
+ "value": "help-circle";
3395
+ "label": "help-circle";
3396
+ }, {
3397
+ "value": "pause-circle";
3398
+ "label": "pause-circle";
3399
+ }, {
3400
+ "value": "sort-filter-down";
3401
+ "label": "sort-filter-down";
3402
+ }, {
3403
+ "value": "wifi";
3404
+ "label": "wifi";
3405
+ }, {
3406
+ "value": "camera";
3407
+ "label": "camera";
3408
+ }, {
3409
+ "value": "crop";
3410
+ "label": "crop";
3411
+ }, {
3412
+ "value": "home";
3413
+ "label": "home";
3414
+ }, {
3415
+ "value": "phone-unavailable";
3416
+ "label": "phone-unavailable";
3417
+ }, {
3418
+ "value": "sort-filter-up";
3419
+ "label": "sort-filter-up";
3420
+ }, {
3421
+ "value": "zoom-in";
3422
+ "label": "zoom-in";
3423
+ }, {
3424
+ "value": "cellphone";
3425
+ "label": "cellphone";
3426
+ }, {
3427
+ "value": "delete";
3428
+ "label": "delete";
3429
+ }, {
3430
+ "value": "info";
3431
+ "label": "info";
3432
+ }, {
3433
+ "value": "phone";
3434
+ "label": "phone";
3435
+ }, {
3436
+ "value": "sound-off";
3437
+ "label": "sound-off";
3438
+ }, {
3439
+ "value": "zoom-out";
3440
+ "label": "zoom-out";
3441
+ }, {
3442
+ "value": "checkmark";
3443
+ "label": "checkmark";
3444
+ }, {
3445
+ "value": "document-blank";
3446
+ "label": "document-blank";
3447
+ }, {
3448
+ "value": "jump";
3449
+ "label": "jump";
3450
+ }, {
3451
+ "value": "photo";
3452
+ "label": "photo";
3453
+ }, {
3454
+ "value": "sound-on";
3455
+ "label": "sound-on";
3456
+ }, {
3457
+ "value": "chevron-down";
3458
+ "label": "chevron-down";
3459
+ }, {
3460
+ "value": "document-new";
3461
+ "label": "document-new";
3462
+ }, {
3463
+ "value": "layers";
3464
+ "label": "layers";
3465
+ }, {
3466
+ "value": "picked";
3467
+ "label": "picked";
3468
+ }, {
3469
+ "value": "star-filled";
3470
+ "label": "star-filled";
3471
+ }];
3472
+ };
3473
+ };
3474
+ };
3475
+ }
3476
+ interface UpsertCalendarEventTypeEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitPayloadSchema> {
3477
+ }
3478
+ }
3479
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
3480
+ interface UpsertCalendarEventTypeEmitTargetAndPayload {
3481
+ /** Source. */
3482
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
3483
+ 'target': SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTarget;
3484
+ 'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitPayload | undefined | null;
3485
+ }
3486
+ interface UpsertCalendarEventTypeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
3487
+ id: 'upsertCalendarEventTypeEmitTargetAndPayload';
3488
+ version: 'v2021_05_19';
3489
+ namespace: 'Calendar';
3490
+ name: '';
3491
+ fields: {
3492
+ /** Source. */
3493
+ 'source': {
3494
+ label: 'Source';
3495
+ type: 'schema';
3496
+ options: {
3497
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
3498
+ };
3499
+ };
3500
+ /** . */
3501
+ 'target': {
3502
+ type: 'schema';
3503
+ isRequired: true;
3504
+ options: {
3505
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTargetSchema;
3506
+ };
3507
+ };
3508
+ /** . */
3509
+ 'payload': {
3510
+ type: 'schema';
3511
+ options: {
3512
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitPayloadSchema;
3513
+ };
3514
+ };
3515
+ };
3516
+ }
3517
+ interface UpsertCalendarEventTypeEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTargetAndPayloadSchema> {
3518
+ }
3519
+ }
3520
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
3521
+ interface UpsertCalendarEventTypeResponsePayload {
3522
+ 'calendarEventType': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType;
3523
+ }
3524
+ interface UpsertCalendarEventTypeResponsePayloadSchema extends SpruceSchema.Schema {
3525
+ id: 'upsertCalendarEventTypeResponsePayload';
3526
+ version: 'v2021_05_19';
3527
+ namespace: 'Calendar';
3528
+ name: '';
3529
+ fields: {
3530
+ /** . */
3531
+ 'calendarEventType': {
3532
+ type: 'schema';
3533
+ isRequired: true;
3534
+ options: {
3535
+ schema: SpruceSchemas.Calendar.v2021_05_19.CalendarEventTypeSchema;
3536
+ };
3537
+ };
3538
+ };
3539
+ }
3540
+ interface UpsertCalendarEventTypeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeResponsePayloadSchema> {
3541
+ }
3542
+ }
3543
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
3544
+ interface UpdateCalendarEventEmitTarget {
3545
+ 'organizationId'?: string | undefined | null;
3546
+ 'locationId'?: string | undefined | null;
3547
+ 'calendarEventId': string;
3548
+ 'calendarEventPersonId': string;
3549
+ }
3550
+ interface UpdateCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
3551
+ id: 'updateCalendarEventEmitTarget';
3552
+ version: 'v2021_05_19';
3553
+ namespace: 'Calendar';
3554
+ name: '';
3555
+ fields: {
3556
+ /** . */
3557
+ 'organizationId': {
3558
+ type: 'id';
3559
+ options: undefined;
3560
+ };
3561
+ /** . */
3562
+ 'locationId': {
3563
+ type: 'id';
3564
+ options: undefined;
3565
+ };
3566
+ /** . */
3567
+ 'calendarEventId': {
3568
+ type: 'id';
3569
+ isRequired: true;
3570
+ options: undefined;
3571
+ };
3572
+ /** . */
3573
+ 'calendarEventPersonId': {
3574
+ type: 'id';
3575
+ isRequired: true;
3576
+ options: undefined;
3577
+ };
3578
+ };
3579
+ }
3580
+ interface UpdateCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetSchema> {
3581
+ }
3582
+ }
3583
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
3584
+ interface UpdateCalendarEventEmitTargetAndPayload {
3585
+ /** Source. */
3586
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
3587
+ 'target': SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTarget;
3588
+ 'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayload | undefined | null;
3589
+ }
3590
+ interface UpdateCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
3591
+ id: 'updateCalendarEventEmitTargetAndPayload';
3592
+ version: 'v2021_05_19';
3593
+ namespace: 'Calendar';
3594
+ name: '';
3595
+ fields: {
3596
+ /** Source. */
3597
+ 'source': {
3598
+ label: 'Source';
3599
+ type: 'schema';
3600
+ options: {
3601
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
3602
+ };
3603
+ };
3604
+ /** . */
3605
+ 'target': {
3606
+ type: 'schema';
3607
+ isRequired: true;
3608
+ options: {
3609
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetSchema;
3610
+ };
3611
+ };
3612
+ /** . */
3613
+ 'payload': {
3614
+ type: 'schema';
3615
+ options: {
3616
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayloadSchema;
3617
+ };
3618
+ };
3619
+ };
3620
+ }
3621
+ interface UpdateCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetAndPayloadSchema> {
3622
+ }
3623
+ }
3624
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
3625
+ interface UpdateCalendarEventEmitPayload {
3626
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
3627
+ 'target'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventTarget | undefined | null;
3628
+ 'calendarId'?: string | undefined | null;
3629
+ 'eventTypeSlug'?: string | undefined | null;
3630
+ 'startDateTimeMs'?: SpruceSchema.DateTimeFieldValue | undefined | null;
3631
+ 'isBusy'?: boolean | undefined | null;
3632
+ 'isResizeable'?: boolean | undefined | null;
3633
+ 'style'?: ("draft" | "tentative" | "upcoming" | "unavailable" | "blocked" | "active" | "past" | "warn" | "critical") | undefined | null;
3634
+ 'groupId'?: string | undefined | null;
3635
+ 'timeBlocks'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventTimeBlock[] | undefined | null;
3636
+ 'repeats'?: ("weekly" | "monthly" | "daily") | undefined | null;
3637
+ 'daysOfWeek'?: ("sun" | "mon" | "tue" | "wed" | "thur" | "fri" | "sat")[] | undefined | null;
3638
+ 'daysOfMonth'?: ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "29" | "30" | "31")[] | undefined | null;
3639
+ 'repeatsUntil'?: SpruceSchema.DateTimeFieldValue | undefined | null;
3640
+ 'occurrences'?: number | undefined | null;
3641
+ 'interval'?: number | undefined | null;
3642
+ 'nthOccurrences'?: number[] | undefined | null;
3643
+ 'exclusionDates'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDate[] | undefined | null;
3644
+ 'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
3645
+ 'nthInRepeating'?: number | undefined | null;
3646
+ 'totalInRepeating'?: number | undefined | null;
3647
+ 'meta'?: (Record<string, any>) | undefined | null;
3648
+ 'addToExclusionDates'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDate[] | undefined | null;
3649
+ 'dateToUpdate'?: number | undefined | null;
3650
+ 'shouldUpdateAllEventsGoingForward'?: boolean | undefined | null;
3651
+ /** . It will show on this person's calendar going forward! */
3652
+ 'newTargetPersonId'?: string | undefined | null;
3653
+ }
3654
+ interface UpdateCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
3655
+ id: 'updateCalendarEventEmitPayload';
3656
+ version: 'v2021_05_19';
3657
+ namespace: 'Calendar';
3658
+ name: '';
3659
+ fields: {
3660
+ /** . */
3661
+ 'source': {
3662
+ type: 'schema';
3663
+ options: {
3664
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
3665
+ };
3666
+ };
3667
+ /** . */
3668
+ 'target': {
3669
+ type: 'schema';
3670
+ options: {
3671
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventTargetSchema;
3672
+ };
3673
+ };
3674
+ /** . */
3675
+ 'calendarId': {
3676
+ type: 'id';
3677
+ options: undefined;
3678
+ };
3679
+ /** . */
3680
+ 'eventTypeSlug': {
3681
+ type: 'text';
3682
+ options: undefined;
3683
+ };
3684
+ /** . */
3685
+ 'startDateTimeMs': {
3686
+ type: 'dateTime';
3687
+ options: undefined;
3688
+ };
3689
+ /** . */
3690
+ 'isBusy': {
3691
+ type: 'boolean';
3692
+ options: undefined;
3693
+ };
3694
+ /** . */
3695
+ 'isResizeable': {
3696
+ type: 'boolean';
3697
+ options: undefined;
3698
+ };
3699
+ /** . */
3700
+ 'style': {
3701
+ type: 'select';
3702
+ options: {
3703
+ choices: [{
3704
+ "value": "draft";
3705
+ "label": "Draft";
3706
+ }, {
3707
+ "value": "tentative";
3708
+ "label": "Tentative";
4020
3709
  }, {
4021
- "value": "users";
4022
- "label": "users";
3710
+ "value": "upcoming";
3711
+ "label": "Upcoming";
4023
3712
  }, {
4024
- "value": "book";
4025
- "label": "book";
3713
+ "value": "unavailable";
3714
+ "label": "Unavailable";
4026
3715
  }, {
4027
- "value": "corner-right-down";
4028
- "label": "corner-right-down";
3716
+ "value": "blocked";
3717
+ "label": "Blocked";
4029
3718
  }, {
4030
- "value": "hash-tag";
4031
- "label": "hash-tag";
3719
+ "value": "active";
3720
+ "label": "Active";
4032
3721
  }, {
4033
- "value": "notification-off";
4034
- "label": "notification-off";
3722
+ "value": "past";
3723
+ "label": "Past";
4035
3724
  }, {
4036
- "value": "share";
4037
- "label": "share";
3725
+ "value": "warn";
3726
+ "label": "Warning";
4038
3727
  }, {
4039
- "value": "video-off";
4040
- "label": "video-off";
3728
+ "value": "critical";
3729
+ "label": "Critical";
3730
+ }];
3731
+ };
3732
+ };
3733
+ /** . */
3734
+ 'groupId': {
3735
+ type: 'id';
3736
+ options: undefined;
3737
+ };
3738
+ /** . */
3739
+ 'timeBlocks': {
3740
+ type: 'schema';
3741
+ isArray: true;
3742
+ minArrayLength: 1;
3743
+ options: {
3744
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.EventTimeBlockSchema;
3745
+ };
3746
+ };
3747
+ /** . */
3748
+ 'repeats': {
3749
+ type: 'select';
3750
+ options: {
3751
+ choices: [{
3752
+ "value": "weekly";
3753
+ "label": "Weekly";
4041
3754
  }, {
4042
- "value": "bookmark";
4043
- "label": "bookmark";
3755
+ "value": "monthly";
3756
+ "label": "Monthly";
4044
3757
  }, {
4045
- "value": "corner-right-up";
4046
- "label": "corner-right-up";
3758
+ "value": "daily";
3759
+ "label": "Daily";
3760
+ }];
3761
+ };
3762
+ };
3763
+ /** . */
3764
+ 'daysOfWeek': {
3765
+ type: 'select';
3766
+ isArray: true;
3767
+ options: {
3768
+ choices: [{
3769
+ "value": "sun";
3770
+ "label": "Sunday";
4047
3771
  }, {
4048
- "value": "headphones";
4049
- "label": "headphones";
3772
+ "value": "mon";
3773
+ "label": "Monday";
4050
3774
  }, {
4051
- "value": "notification-on";
4052
- "label": "notification-on";
3775
+ "value": "tue";
3776
+ "label": "Tuesday";
4053
3777
  }, {
4054
- "value": "shopping-bag";
4055
- "label": "shopping-bag";
3778
+ "value": "wed";
3779
+ "label": "Wednesday";
4056
3780
  }, {
4057
- "value": "video";
4058
- "label": "video";
3781
+ "value": "thur";
3782
+ "label": "Thursday";
4059
3783
  }, {
4060
- "value": "calendar-add";
4061
- "label": "calendar-add";
3784
+ "value": "fri";
3785
+ "label": "Friday";
4062
3786
  }, {
4063
- "value": "corner-up-left";
4064
- "label": "corner-up-left";
3787
+ "value": "sat";
3788
+ "label": "Saturday";
3789
+ }];
3790
+ };
3791
+ };
3792
+ /** . */
3793
+ 'daysOfMonth': {
3794
+ type: 'select';
3795
+ isArray: true;
3796
+ options: {
3797
+ choices: [{
3798
+ "value": "1";
3799
+ "label": "1";
4065
3800
  }, {
4066
- "value": "help-buoy";
4067
- "label": "help-buoy";
3801
+ "value": "2";
3802
+ "label": "2";
4068
3803
  }, {
4069
- "value": "object";
4070
- "label": "object";
3804
+ "value": "3";
3805
+ "label": "3";
4071
3806
  }, {
4072
- "value": "shopping-cart";
4073
- "label": "shopping-cart";
3807
+ "value": "4";
3808
+ "label": "4";
4074
3809
  }, {
4075
- "value": "warning";
4076
- "label": "warning";
3810
+ "value": "5";
3811
+ "label": "5";
4077
3812
  }, {
4078
- "value": "calendar";
4079
- "label": "calendar";
3813
+ "value": "6";
3814
+ "label": "6";
4080
3815
  }, {
4081
- "value": "corner-up-right";
4082
- "label": "corner-up-right";
3816
+ "value": "7";
3817
+ "label": "7";
4083
3818
  }, {
4084
- "value": "help-circle";
4085
- "label": "help-circle";
3819
+ "value": "8";
3820
+ "label": "8";
4086
3821
  }, {
4087
- "value": "pause-circle";
4088
- "label": "pause-circle";
3822
+ "value": "9";
3823
+ "label": "9";
4089
3824
  }, {
4090
- "value": "sort-filter-down";
4091
- "label": "sort-filter-down";
3825
+ "value": "10";
3826
+ "label": "10";
4092
3827
  }, {
4093
- "value": "wifi";
4094
- "label": "wifi";
3828
+ "value": "11";
3829
+ "label": "11";
4095
3830
  }, {
4096
- "value": "camera";
4097
- "label": "camera";
3831
+ "value": "12";
3832
+ "label": "12";
4098
3833
  }, {
4099
- "value": "crop";
4100
- "label": "crop";
3834
+ "value": "13";
3835
+ "label": "13";
4101
3836
  }, {
4102
- "value": "home";
4103
- "label": "home";
3837
+ "value": "14";
3838
+ "label": "14";
4104
3839
  }, {
4105
- "value": "phone-unavailable";
4106
- "label": "phone-unavailable";
3840
+ "value": "15";
3841
+ "label": "15";
4107
3842
  }, {
4108
- "value": "sort-filter-up";
4109
- "label": "sort-filter-up";
3843
+ "value": "16";
3844
+ "label": "16";
4110
3845
  }, {
4111
- "value": "zoom-in";
4112
- "label": "zoom-in";
3846
+ "value": "17";
3847
+ "label": "17";
4113
3848
  }, {
4114
- "value": "cellphone";
4115
- "label": "cellphone";
3849
+ "value": "18";
3850
+ "label": "18";
4116
3851
  }, {
4117
- "value": "delete";
4118
- "label": "delete";
3852
+ "value": "19";
3853
+ "label": "19";
4119
3854
  }, {
4120
- "value": "info";
4121
- "label": "info";
3855
+ "value": "20";
3856
+ "label": "20";
4122
3857
  }, {
4123
- "value": "phone";
4124
- "label": "phone";
3858
+ "value": "21";
3859
+ "label": "21";
4125
3860
  }, {
4126
- "value": "sound-off";
4127
- "label": "sound-off";
3861
+ "value": "22";
3862
+ "label": "22";
4128
3863
  }, {
4129
- "value": "zoom-out";
4130
- "label": "zoom-out";
3864
+ "value": "23";
3865
+ "label": "23";
4131
3866
  }, {
4132
- "value": "checkmark";
4133
- "label": "checkmark";
3867
+ "value": "24";
3868
+ "label": "24";
4134
3869
  }, {
4135
- "value": "document-blank";
4136
- "label": "document-blank";
3870
+ "value": "25";
3871
+ "label": "25";
4137
3872
  }, {
4138
- "value": "jump";
4139
- "label": "jump";
3873
+ "value": "26";
3874
+ "label": "26";
4140
3875
  }, {
4141
- "value": "photo";
4142
- "label": "photo";
3876
+ "value": "27";
3877
+ "label": "27";
4143
3878
  }, {
4144
- "value": "sound-on";
4145
- "label": "sound-on";
3879
+ "value": "28";
3880
+ "label": "28";
4146
3881
  }, {
4147
- "value": "chevron-down";
4148
- "label": "chevron-down";
3882
+ "value": "29";
3883
+ "label": "29";
4149
3884
  }, {
4150
- "value": "document-new";
4151
- "label": "document-new";
3885
+ "value": "30";
3886
+ "label": "30";
4152
3887
  }, {
4153
- "value": "layers";
4154
- "label": "layers";
3888
+ "value": "31";
3889
+ "label": "31";
3890
+ }];
3891
+ };
3892
+ };
3893
+ /** . */
3894
+ 'repeatsUntil': {
3895
+ type: 'dateTime';
3896
+ options: undefined;
3897
+ };
3898
+ /** . */
3899
+ 'occurrences': {
3900
+ type: 'number';
3901
+ options: undefined;
3902
+ };
3903
+ /** . */
3904
+ 'interval': {
3905
+ type: 'number';
3906
+ options: undefined;
3907
+ };
3908
+ /** . */
3909
+ 'nthOccurrences': {
3910
+ type: 'number';
3911
+ isArray: true;
3912
+ options: undefined;
3913
+ };
3914
+ /** . */
3915
+ 'exclusionDates': {
3916
+ type: 'schema';
3917
+ isArray: true;
3918
+ options: {
3919
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDateSchema;
3920
+ };
3921
+ };
3922
+ /** . */
3923
+ 'dateDeleted': {
3924
+ type: 'dateTime';
3925
+ options: undefined;
3926
+ };
3927
+ /** . */
3928
+ 'nthInRepeating': {
3929
+ type: 'number';
3930
+ options: undefined;
3931
+ };
3932
+ /** . */
3933
+ 'totalInRepeating': {
3934
+ type: 'number';
3935
+ options: undefined;
3936
+ };
3937
+ /** . */
3938
+ 'meta': {
3939
+ type: 'raw';
3940
+ options: {
3941
+ valueType: `Record<string, any>`;
3942
+ };
3943
+ };
3944
+ /** . */
3945
+ 'addToExclusionDates': {
3946
+ type: 'schema';
3947
+ isArray: true;
3948
+ options: {
3949
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDateSchema;
3950
+ };
3951
+ };
3952
+ /** . */
3953
+ 'dateToUpdate': {
3954
+ type: 'number';
3955
+ options: undefined;
3956
+ };
3957
+ /** . */
3958
+ 'shouldUpdateAllEventsGoingForward': {
3959
+ type: 'boolean';
3960
+ options: undefined;
3961
+ };
3962
+ /** . It will show on this person's calendar going forward! */
3963
+ 'newTargetPersonId': {
3964
+ type: 'id';
3965
+ hint: 'It will show on this person\'s calendar going forward!';
3966
+ options: undefined;
3967
+ };
3968
+ };
3969
+ }
3970
+ interface UpdateCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayloadSchema> {
3971
+ }
3972
+ }
3973
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
3974
+ interface UpdateCalendarEventResponsePayload {
3975
+ 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
3976
+ }
3977
+ interface UpdateCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
3978
+ id: 'updateCalendarEventResponsePayload';
3979
+ version: 'v2021_05_19';
3980
+ namespace: 'Calendar';
3981
+ name: '';
3982
+ fields: {
3983
+ /** . */
3984
+ 'calendarEvent': {
3985
+ type: 'schema';
3986
+ isRequired: true;
3987
+ options: {
3988
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
3989
+ };
3990
+ };
3991
+ };
3992
+ }
3993
+ interface UpdateCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventResponsePayloadSchema> {
3994
+ }
3995
+ }
3996
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
3997
+ interface UpdatePreferencesEmitTarget {
3998
+ 'organizationId': string;
3999
+ }
4000
+ interface UpdatePreferencesEmitTargetSchema extends SpruceSchema.Schema {
4001
+ id: 'updatePreferencesEmitTarget';
4002
+ version: 'v2021_05_19';
4003
+ namespace: 'Calendar';
4004
+ name: '';
4005
+ fields: {
4006
+ /** . */
4007
+ 'organizationId': {
4008
+ type: 'id';
4009
+ isRequired: true;
4010
+ options: undefined;
4011
+ };
4012
+ };
4013
+ }
4014
+ interface UpdatePreferencesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetSchema> {
4015
+ }
4016
+ }
4017
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
4018
+ interface UpdatePreferencesEmitPayload {
4019
+ 'selectedCalendarIds'?: string[] | undefined | null;
4020
+ 'visiblePeopleMode'?: ("me" | "working" | "custom") | undefined | null;
4021
+ 'visiblePeopleIds'?: string[] | undefined | null;
4022
+ }
4023
+ interface UpdatePreferencesEmitPayloadSchema extends SpruceSchema.Schema {
4024
+ id: 'updatePreferencesEmitPayload';
4025
+ version: 'v2021_05_19';
4026
+ namespace: 'Calendar';
4027
+ name: '';
4028
+ fields: {
4029
+ /** . */
4030
+ 'selectedCalendarIds': {
4031
+ type: 'id';
4032
+ isArray: true;
4033
+ minArrayLength: 0;
4034
+ options: undefined;
4035
+ };
4036
+ /** . */
4037
+ 'visiblePeopleMode': {
4038
+ type: 'select';
4039
+ options: {
4040
+ choices: [{
4041
+ "value": "me";
4042
+ "label": "Me";
4155
4043
  }, {
4156
- "value": "picked";
4157
- "label": "picked";
4044
+ "value": "working";
4045
+ "label": "Working";
4158
4046
  }, {
4159
- "value": "star-filled";
4160
- "label": "star-filled";
4047
+ "value": "custom";
4048
+ "label": "Custom";
4161
4049
  }];
4162
4050
  };
4163
4051
  };
4052
+ /** . */
4053
+ 'visiblePeopleIds': {
4054
+ type: 'text';
4055
+ isArray: true;
4056
+ options: undefined;
4057
+ };
4164
4058
  };
4165
4059
  }
4166
- interface UpsertCalendarEventTypeEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitPayloadSchema> {
4060
+ interface UpdatePreferencesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayloadSchema> {
4167
4061
  }
4168
4062
  }
4169
4063
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4170
- interface UpsertCalendarEventTypeEmitTargetAndPayload {
4064
+ interface UpdatePreferencesEmitTargetAndPayload {
4171
4065
  /** Source. */
4172
4066
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
4173
- 'target': SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTarget;
4174
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitPayload | undefined | null;
4067
+ 'target': SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTarget;
4068
+ 'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayload | undefined | null;
4175
4069
  }
4176
- interface UpsertCalendarEventTypeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4177
- id: 'upsertCalendarEventTypeEmitTargetAndPayload';
4070
+ interface UpdatePreferencesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4071
+ id: 'updatePreferencesEmitTargetAndPayload';
4178
4072
  version: 'v2021_05_19';
4179
4073
  namespace: 'Calendar';
4180
4074
  name: '';
@@ -4192,42 +4086,148 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4192
4086
  type: 'schema';
4193
4087
  isRequired: true;
4194
4088
  options: {
4195
- schema: SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTargetSchema;
4089
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetSchema;
4196
4090
  };
4197
4091
  };
4198
4092
  /** . */
4199
4093
  'payload': {
4200
4094
  type: 'schema';
4201
4095
  options: {
4202
- schema: SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitPayloadSchema;
4096
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayloadSchema;
4203
4097
  };
4204
4098
  };
4205
4099
  };
4206
4100
  }
4207
- interface UpsertCalendarEventTypeEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTargetAndPayloadSchema> {
4101
+ interface UpdatePreferencesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetAndPayloadSchema> {
4208
4102
  }
4209
4103
  }
4210
4104
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4211
- interface UpsertCalendarEventTypeResponsePayload {
4212
- 'calendarEventType': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType;
4105
+ interface UpdatePreferencesResponsePayload {
4106
+ 'success': boolean;
4213
4107
  }
4214
- interface UpsertCalendarEventTypeResponsePayloadSchema extends SpruceSchema.Schema {
4215
- id: 'upsertCalendarEventTypeResponsePayload';
4108
+ interface UpdatePreferencesResponsePayloadSchema extends SpruceSchema.Schema {
4109
+ id: 'updatePreferencesResponsePayload';
4216
4110
  version: 'v2021_05_19';
4217
4111
  namespace: 'Calendar';
4218
4112
  name: '';
4219
4113
  fields: {
4220
4114
  /** . */
4221
- 'calendarEventType': {
4115
+ 'success': {
4116
+ type: 'boolean';
4117
+ isRequired: true;
4118
+ options: undefined;
4119
+ };
4120
+ };
4121
+ }
4122
+ interface UpdatePreferencesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesResponsePayloadSchema> {
4123
+ }
4124
+ }
4125
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
4126
+ interface ListCalendarEventsEmitTarget {
4127
+ 'locationId': string;
4128
+ }
4129
+ interface ListCalendarEventsEmitTargetSchema extends SpruceSchema.Schema {
4130
+ id: 'listCalendarEventsEmitTarget';
4131
+ version: 'v2021_05_19';
4132
+ namespace: 'Calendar';
4133
+ name: '';
4134
+ fields: {
4135
+ /** . */
4136
+ 'locationId': {
4137
+ type: 'id';
4138
+ isRequired: true;
4139
+ options: undefined;
4140
+ };
4141
+ };
4142
+ }
4143
+ interface ListCalendarEventsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetSchema> {
4144
+ }
4145
+ }
4146
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
4147
+ interface ListCalendarEventsEmitPayload {
4148
+ 'groupIds'?: string[] | undefined | null;
4149
+ }
4150
+ interface ListCalendarEventsEmitPayloadSchema extends SpruceSchema.Schema {
4151
+ id: 'listCalendarEventsEmitPayload';
4152
+ version: 'v2021_05_19';
4153
+ namespace: 'Calendar';
4154
+ name: '';
4155
+ fields: {
4156
+ /** . */
4157
+ 'groupIds': {
4158
+ type: 'id';
4159
+ isArray: true;
4160
+ options: undefined;
4161
+ };
4162
+ };
4163
+ }
4164
+ interface ListCalendarEventsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayloadSchema> {
4165
+ }
4166
+ }
4167
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
4168
+ interface ListCalendarEventsEmitTargetAndPayload {
4169
+ /** Source. */
4170
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
4171
+ 'target': SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTarget;
4172
+ 'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayload | undefined | null;
4173
+ }
4174
+ interface ListCalendarEventsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4175
+ id: 'listCalendarEventsEmitTargetAndPayload';
4176
+ version: 'v2021_05_19';
4177
+ namespace: 'Calendar';
4178
+ name: '';
4179
+ fields: {
4180
+ /** Source. */
4181
+ 'source': {
4182
+ label: 'Source';
4183
+ type: 'schema';
4184
+ options: {
4185
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
4186
+ };
4187
+ };
4188
+ /** . */
4189
+ 'target': {
4222
4190
  type: 'schema';
4223
4191
  isRequired: true;
4224
4192
  options: {
4225
- schema: SpruceSchemas.Calendar.v2021_05_19.CalendarEventTypeSchema;
4193
+ schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetSchema;
4194
+ };
4195
+ };
4196
+ /** . */
4197
+ 'payload': {
4198
+ type: 'schema';
4199
+ options: {
4200
+ schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayloadSchema;
4226
4201
  };
4227
4202
  };
4228
4203
  };
4229
4204
  }
4230
- interface UpsertCalendarEventTypeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeResponsePayloadSchema> {
4205
+ interface ListCalendarEventsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetAndPayloadSchema> {
4206
+ }
4207
+ }
4208
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
4209
+ interface ListCalendarEventsResponsePayload {
4210
+ 'calendarEvents': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[];
4211
+ }
4212
+ interface ListCalendarEventsResponsePayloadSchema extends SpruceSchema.Schema {
4213
+ id: 'listCalendarEventsResponsePayload';
4214
+ version: 'v2021_05_19';
4215
+ namespace: 'Calendar';
4216
+ name: '';
4217
+ fields: {
4218
+ /** . */
4219
+ 'calendarEvents': {
4220
+ type: 'schema';
4221
+ isRequired: true;
4222
+ isArray: true;
4223
+ minArrayLength: 0;
4224
+ options: {
4225
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
4226
+ };
4227
+ };
4228
+ };
4229
+ }
4230
+ interface ListCalendarEventsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsResponsePayloadSchema> {
4231
4231
  }
4232
4232
  }
4233
4233
  namespace SpruceSchemas.Calendar.v2021_05_19 {