@sprucelabs/spruce-calendar-components 38.1.4 → 38.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -719,60 +719,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
719
719
  interface UpsertThemeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeResponsePayloadSchema> {
720
720
  }
721
721
  }
722
- namespace SpruceSchemas.Calendar.v2021_05_19 {
723
- interface CancelCalendarEventEmitTarget {
724
- 'locationId': string;
725
- 'calendarEventId': string;
726
- }
727
- interface CancelCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
728
- id: 'cancelCalendarEventEmitTarget';
729
- version: 'v2021_05_19';
730
- namespace: 'Calendar';
731
- name: '';
732
- fields: {
733
- /** . */
734
- 'locationId': {
735
- type: 'id';
736
- isRequired: true;
737
- options: undefined;
738
- };
739
- /** . */
740
- 'calendarEventId': {
741
- type: 'id';
742
- isRequired: true;
743
- options: undefined;
744
- };
745
- };
746
- }
747
- interface CancelCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema> {
748
- }
749
- }
750
- namespace SpruceSchemas.Calendar.v2021_05_19 {
751
- interface CancelCalendarEventEmitPayload {
752
- 'dateToCancel'?: number | undefined | null;
753
- 'shouldCancelAllEventsGoingForward'?: boolean | undefined | null;
754
- }
755
- interface CancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
756
- id: 'cancelCalendarEventEmitPayload';
757
- version: 'v2021_05_19';
758
- namespace: 'Calendar';
759
- name: '';
760
- fields: {
761
- /** . */
762
- 'dateToCancel': {
763
- type: 'number';
764
- options: undefined;
765
- };
766
- /** . */
767
- 'shouldCancelAllEventsGoingForward': {
768
- type: 'boolean';
769
- options: undefined;
770
- };
771
- };
772
- }
773
- interface CancelCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema> {
774
- }
775
- }
776
722
  namespace SpruceSchemas.Calendar.v2021_05_19 {
777
723
  interface CancelCalendarEventEmitTargetAndPayload {
778
724
  /** Source. */
@@ -815,93 +761,97 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
815
761
  }
816
762
  }
817
763
  namespace SpruceSchemas.Calendar.v2021_05_19 {
818
- interface CancelCalendarEventResponsePayload {
819
- 'totalDeleted': number;
764
+ interface ListCalendarsEmitTargetAndPayload {
765
+ /** Source. */
766
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
767
+ 'target'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTarget | undefined | null;
820
768
  }
821
- interface CancelCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
822
- id: 'cancelCalendarEventResponsePayload';
769
+ interface ListCalendarsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
770
+ id: 'listCalendarsEmitTargetAndPayload';
823
771
  version: 'v2021_05_19';
824
772
  namespace: 'Calendar';
825
773
  name: '';
826
774
  fields: {
775
+ /** Source. */
776
+ 'source': {
777
+ label: 'Source';
778
+ type: 'schema';
779
+ options: {
780
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
781
+ };
782
+ };
827
783
  /** . */
828
- 'totalDeleted': {
829
- type: 'number';
830
- isRequired: true;
831
- options: undefined;
784
+ 'target': {
785
+ type: 'schema';
786
+ options: {
787
+ schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema;
788
+ };
832
789
  };
833
790
  };
834
791
  }
835
- interface CancelCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventResponsePayloadSchema> {
792
+ interface ListCalendarsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetAndPayloadSchema> {
836
793
  }
837
794
  }
838
795
  namespace SpruceSchemas.Calendar.v2021_05_19 {
839
- interface DeleteCalendarEmitTarget {
840
- 'organizationId': string;
841
- 'calendarId': string;
796
+ interface CancelCalendarEventEmitTarget {
797
+ 'locationId': string;
798
+ 'calendarEventId': string;
842
799
  }
843
- interface DeleteCalendarEmitTargetSchema extends SpruceSchema.Schema {
844
- id: 'deleteCalendarEmitTarget';
800
+ interface CancelCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
801
+ id: 'cancelCalendarEventEmitTarget';
845
802
  version: 'v2021_05_19';
846
803
  namespace: 'Calendar';
847
804
  name: '';
848
805
  fields: {
849
806
  /** . */
850
- 'organizationId': {
807
+ 'locationId': {
851
808
  type: 'id';
852
809
  isRequired: true;
853
810
  options: undefined;
854
811
  };
855
812
  /** . */
856
- 'calendarId': {
813
+ 'calendarEventId': {
857
814
  type: 'id';
858
815
  isRequired: true;
859
816
  options: undefined;
860
817
  };
861
818
  };
862
819
  }
863
- interface DeleteCalendarEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetSchema> {
820
+ interface CancelCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema> {
864
821
  }
865
822
  }
866
823
  namespace SpruceSchemas.Calendar.v2021_05_19 {
867
- interface DeleteCalendarEmitTargetAndPayload {
868
- /** Source. */
869
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
870
- 'target': SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTarget;
824
+ interface CancelCalendarEventEmitPayload {
825
+ 'dateToCancel'?: number | undefined | null;
826
+ 'shouldCancelAllEventsGoingForward'?: boolean | undefined | null;
871
827
  }
872
- interface DeleteCalendarEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
873
- id: 'deleteCalendarEmitTargetAndPayload';
828
+ interface CancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
829
+ id: 'cancelCalendarEventEmitPayload';
874
830
  version: 'v2021_05_19';
875
831
  namespace: 'Calendar';
876
832
  name: '';
877
833
  fields: {
878
- /** Source. */
879
- 'source': {
880
- label: 'Source';
881
- type: 'schema';
882
- options: {
883
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
884
- };
834
+ /** . */
835
+ 'dateToCancel': {
836
+ type: 'number';
837
+ options: undefined;
885
838
  };
886
839
  /** . */
887
- 'target': {
888
- type: 'schema';
889
- isRequired: true;
890
- options: {
891
- schema: SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetSchema;
892
- };
840
+ 'shouldCancelAllEventsGoingForward': {
841
+ type: 'boolean';
842
+ options: undefined;
893
843
  };
894
844
  };
895
845
  }
896
- interface DeleteCalendarEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetAndPayloadSchema> {
846
+ interface CancelCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema> {
897
847
  }
898
848
  }
899
849
  namespace SpruceSchemas.Calendar.v2021_05_19 {
900
- interface DeleteCalendarResponsePayload {
901
- 'totalDeleted'?: number | undefined | null;
850
+ interface CancelCalendarEventResponsePayload {
851
+ 'totalDeleted': number;
902
852
  }
903
- interface DeleteCalendarResponsePayloadSchema extends SpruceSchema.Schema {
904
- id: 'deleteCalendarResponsePayload';
853
+ interface CancelCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
854
+ id: 'cancelCalendarEventResponsePayload';
905
855
  version: 'v2021_05_19';
906
856
  namespace: 'Calendar';
907
857
  name: '';
@@ -909,11 +859,12 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
909
859
  /** . */
910
860
  'totalDeleted': {
911
861
  type: 'number';
862
+ isRequired: true;
912
863
  options: undefined;
913
864
  };
914
865
  };
915
866
  }
916
- interface DeleteCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarResponsePayloadSchema> {
867
+ interface CancelCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventResponsePayloadSchema> {
917
868
  }
918
869
  }
919
870
  namespace SpruceSchemas.Calendar.v2021_05_19 {
@@ -1596,27 +1547,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1596
1547
  interface DidUpdateCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidUpdateCalendarEventEmitPayloadSchema> {
1597
1548
  }
1598
1549
  }
1599
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1600
- interface DidUpdateCalendarEventEmitTarget {
1601
- 'locationId': string;
1602
- }
1603
- interface DidUpdateCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
1604
- id: 'didUpdateCalendarEventEmitTarget';
1605
- version: 'v2021_05_19';
1606
- namespace: 'Calendar';
1607
- name: '';
1608
- fields: {
1609
- /** . */
1610
- 'locationId': {
1611
- type: 'id';
1612
- isRequired: true;
1613
- options: undefined;
1614
- };
1615
- };
1616
- }
1617
- interface DidUpdateCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidUpdateCalendarEventEmitTargetSchema> {
1618
- }
1619
- }
1620
1550
  namespace SpruceSchemas.Calendar.v2021_05_19 {
1621
1551
  interface DidUpdateCalendarEventEmitTargetAndPayload {
1622
1552
  /** Source. */
@@ -1659,6 +1589,29 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1659
1589
  interface DidUpdateCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidUpdateCalendarEventEmitTargetAndPayloadSchema> {
1660
1590
  }
1661
1591
  }
1592
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1593
+ interface GetCalendarEventResponsePayload {
1594
+ 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
1595
+ }
1596
+ interface GetCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
1597
+ id: 'getCalendarEventResponsePayload';
1598
+ version: 'v2021_05_19';
1599
+ namespace: 'Calendar';
1600
+ name: '';
1601
+ fields: {
1602
+ /** . */
1603
+ 'calendarEvent': {
1604
+ type: 'schema';
1605
+ isRequired: true;
1606
+ options: {
1607
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
1608
+ };
1609
+ };
1610
+ };
1611
+ }
1612
+ interface GetCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventResponsePayloadSchema> {
1613
+ }
1614
+ }
1662
1615
  namespace SpruceSchemas.Calendar.v2021_05_19 {
1663
1616
  interface DidCancelCalendarEventEmitTarget {
1664
1617
  'locationId': string;
@@ -2005,46 +1958,62 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2005
1958
  }
2006
1959
  }
2007
1960
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2008
- interface GetCalendarEmitTarget {
2009
- 'organizationId': string;
2010
- 'slug'?: string | undefined | null;
2011
- 'calendarId'?: string | undefined | null;
1961
+ interface DidUpdateCalendarEventEmitTarget {
1962
+ 'locationId': string;
2012
1963
  }
2013
- interface GetCalendarEmitTargetSchema extends SpruceSchema.Schema {
2014
- id: 'getCalendarEmitTarget';
1964
+ interface DidUpdateCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
1965
+ id: 'didUpdateCalendarEventEmitTarget';
2015
1966
  version: 'v2021_05_19';
2016
1967
  namespace: 'Calendar';
2017
1968
  name: '';
2018
1969
  fields: {
2019
1970
  /** . */
2020
- 'organizationId': {
1971
+ 'locationId': {
2021
1972
  type: 'id';
2022
1973
  isRequired: true;
2023
1974
  options: undefined;
2024
1975
  };
1976
+ };
1977
+ }
1978
+ interface DidUpdateCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidUpdateCalendarEventEmitTargetSchema> {
1979
+ }
1980
+ }
1981
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1982
+ interface GetCalendarEventEmitTarget {
1983
+ 'locationId': string;
1984
+ 'calendarEventId': string;
1985
+ }
1986
+ interface GetCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
1987
+ id: 'getCalendarEventEmitTarget';
1988
+ version: 'v2021_05_19';
1989
+ namespace: 'Calendar';
1990
+ name: '';
1991
+ fields: {
2025
1992
  /** . */
2026
- 'slug': {
1993
+ 'locationId': {
2027
1994
  type: 'id';
1995
+ isRequired: true;
2028
1996
  options: undefined;
2029
1997
  };
2030
1998
  /** . */
2031
- 'calendarId': {
1999
+ 'calendarEventId': {
2032
2000
  type: 'id';
2001
+ isRequired: true;
2033
2002
  options: undefined;
2034
2003
  };
2035
2004
  };
2036
2005
  }
2037
- interface GetCalendarEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetSchema> {
2006
+ interface GetCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetSchema> {
2038
2007
  }
2039
2008
  }
2040
2009
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2041
- interface GetCalendarEmitTargetAndPayload {
2010
+ interface GetCalendarEventEmitTargetAndPayload {
2042
2011
  /** Source. */
2043
2012
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2044
- 'target': SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTarget;
2013
+ 'target': SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTarget;
2045
2014
  }
2046
- interface GetCalendarEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2047
- id: 'getCalendarEmitTargetAndPayload';
2015
+ interface GetCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2016
+ id: 'getCalendarEventEmitTargetAndPayload';
2048
2017
  version: 'v2021_05_19';
2049
2018
  namespace: 'Calendar';
2050
2019
  name: '';
@@ -2062,73 +2031,50 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2062
2031
  type: 'schema';
2063
2032
  isRequired: true;
2064
2033
  options: {
2065
- schema: SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetSchema;
2034
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetSchema;
2066
2035
  };
2067
2036
  };
2068
2037
  };
2069
2038
  }
2070
- interface GetCalendarEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetAndPayloadSchema> {
2039
+ interface GetCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetAndPayloadSchema> {
2071
2040
  }
2072
2041
  }
2073
2042
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2074
- interface GetCalendarResponsePayload {
2075
- 'calendar': SpruceSchemas.Calendar.v2021_05_19.Calendar;
2043
+ interface DeleteCalendarEmitTarget {
2044
+ 'organizationId': string;
2045
+ 'calendarId': string;
2076
2046
  }
2077
- interface GetCalendarResponsePayloadSchema extends SpruceSchema.Schema {
2078
- id: 'getCalendarResponsePayload';
2047
+ interface DeleteCalendarEmitTargetSchema extends SpruceSchema.Schema {
2048
+ id: 'deleteCalendarEmitTarget';
2079
2049
  version: 'v2021_05_19';
2080
2050
  namespace: 'Calendar';
2081
2051
  name: '';
2082
2052
  fields: {
2083
2053
  /** . */
2084
- 'calendar': {
2085
- type: 'schema';
2054
+ 'organizationId': {
2055
+ type: 'id';
2086
2056
  isRequired: true;
2087
- options: {
2088
- schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
2089
- };
2090
- };
2091
- };
2092
- }
2093
- interface GetCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarResponsePayloadSchema> {
2094
- }
2095
- }
2096
- namespace SpruceSchemas.Calendar.v2021_05_19 {
2097
- interface GetCalendarEventEmitTarget {
2098
- 'locationId': string;
2099
- 'calendarEventId': string;
2100
- }
2101
- interface GetCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
2102
- id: 'getCalendarEventEmitTarget';
2103
- version: 'v2021_05_19';
2104
- namespace: 'Calendar';
2105
- name: '';
2106
- fields: {
2107
- /** . */
2108
- 'locationId': {
2109
- type: 'id';
2110
- isRequired: true;
2111
- options: undefined;
2057
+ options: undefined;
2112
2058
  };
2113
2059
  /** . */
2114
- 'calendarEventId': {
2060
+ 'calendarId': {
2115
2061
  type: 'id';
2116
2062
  isRequired: true;
2117
2063
  options: undefined;
2118
2064
  };
2119
2065
  };
2120
2066
  }
2121
- interface GetCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetSchema> {
2067
+ interface DeleteCalendarEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetSchema> {
2122
2068
  }
2123
2069
  }
2124
2070
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2125
- interface GetCalendarEventEmitTargetAndPayload {
2071
+ interface DeleteCalendarEmitTargetAndPayload {
2126
2072
  /** Source. */
2127
2073
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2128
- 'target': SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTarget;
2074
+ 'target': SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTarget;
2129
2075
  }
2130
- interface GetCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2131
- id: 'getCalendarEventEmitTargetAndPayload';
2076
+ interface DeleteCalendarEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2077
+ id: 'deleteCalendarEmitTargetAndPayload';
2132
2078
  version: 'v2021_05_19';
2133
2079
  namespace: 'Calendar';
2134
2080
  name: '';
@@ -2146,43 +2092,42 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2146
2092
  type: 'schema';
2147
2093
  isRequired: true;
2148
2094
  options: {
2149
- schema: SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetSchema;
2095
+ schema: SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetSchema;
2150
2096
  };
2151
2097
  };
2152
2098
  };
2153
2099
  }
2154
- interface GetCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetAndPayloadSchema> {
2100
+ interface DeleteCalendarEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetAndPayloadSchema> {
2155
2101
  }
2156
2102
  }
2157
2103
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2158
- interface GetCalendarEventResponsePayload {
2159
- 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
2104
+ interface DeleteCalendarResponsePayload {
2105
+ 'totalDeleted'?: number | undefined | null;
2160
2106
  }
2161
- interface GetCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
2162
- id: 'getCalendarEventResponsePayload';
2107
+ interface DeleteCalendarResponsePayloadSchema extends SpruceSchema.Schema {
2108
+ id: 'deleteCalendarResponsePayload';
2163
2109
  version: 'v2021_05_19';
2164
2110
  namespace: 'Calendar';
2165
2111
  name: '';
2166
2112
  fields: {
2167
2113
  /** . */
2168
- 'calendarEvent': {
2169
- type: 'schema';
2170
- isRequired: true;
2171
- options: {
2172
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
2173
- };
2114
+ 'totalDeleted': {
2115
+ type: 'number';
2116
+ options: undefined;
2174
2117
  };
2175
2118
  };
2176
2119
  }
2177
- interface GetCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventResponsePayloadSchema> {
2120
+ interface DeleteCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarResponsePayloadSchema> {
2178
2121
  }
2179
2122
  }
2180
2123
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2181
- interface GetPreferencesEmitTarget {
2124
+ interface GetCalendarEmitTarget {
2182
2125
  'organizationId': string;
2126
+ 'slug'?: string | undefined | null;
2127
+ 'calendarId'?: string | undefined | null;
2183
2128
  }
2184
- interface GetPreferencesEmitTargetSchema extends SpruceSchema.Schema {
2185
- id: 'getPreferencesEmitTarget';
2129
+ interface GetCalendarEmitTargetSchema extends SpruceSchema.Schema {
2130
+ id: 'getCalendarEmitTarget';
2186
2131
  version: 'v2021_05_19';
2187
2132
  namespace: 'Calendar';
2188
2133
  name: '';
@@ -2193,19 +2138,29 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2193
2138
  isRequired: true;
2194
2139
  options: undefined;
2195
2140
  };
2141
+ /** . */
2142
+ 'slug': {
2143
+ type: 'id';
2144
+ options: undefined;
2145
+ };
2146
+ /** . */
2147
+ 'calendarId': {
2148
+ type: 'id';
2149
+ options: undefined;
2150
+ };
2196
2151
  };
2197
2152
  }
2198
- interface GetPreferencesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTargetSchema> {
2153
+ interface GetCalendarEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetSchema> {
2199
2154
  }
2200
2155
  }
2201
2156
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2202
- interface GetPreferencesEmitTargetAndPayload {
2157
+ interface GetCalendarEmitTargetAndPayload {
2203
2158
  /** Source. */
2204
2159
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2205
- 'target': SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTarget;
2160
+ 'target': SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTarget;
2206
2161
  }
2207
- interface GetPreferencesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2208
- id: 'getPreferencesEmitTargetAndPayload';
2162
+ interface GetCalendarEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2163
+ id: 'getCalendarEmitTargetAndPayload';
2209
2164
  version: 'v2021_05_19';
2210
2165
  namespace: 'Calendar';
2211
2166
  name: '';
@@ -2223,111 +2178,133 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2223
2178
  type: 'schema';
2224
2179
  isRequired: true;
2225
2180
  options: {
2226
- schema: SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTargetSchema;
2181
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetSchema;
2227
2182
  };
2228
2183
  };
2229
2184
  };
2230
2185
  }
2231
- interface GetPreferencesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTargetAndPayloadSchema> {
2186
+ interface GetCalendarEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetAndPayloadSchema> {
2232
2187
  }
2233
2188
  }
2234
2189
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2235
- interface GetPreferencesResponsePayload {
2236
- 'selectedCalendarIds'?: string[] | undefined | null;
2237
- 'visiblePeopleMode'?: ("me" | "working" | "custom") | undefined | null;
2238
- 'visiblePeopleIds'?: string[] | undefined | null;
2190
+ interface GetCalendarResponsePayload {
2191
+ 'calendar': SpruceSchemas.Calendar.v2021_05_19.Calendar;
2239
2192
  }
2240
- interface GetPreferencesResponsePayloadSchema extends SpruceSchema.Schema {
2241
- id: 'getPreferencesResponsePayload';
2193
+ interface GetCalendarResponsePayloadSchema extends SpruceSchema.Schema {
2194
+ id: 'getCalendarResponsePayload';
2242
2195
  version: 'v2021_05_19';
2243
2196
  namespace: 'Calendar';
2244
2197
  name: '';
2245
2198
  fields: {
2246
2199
  /** . */
2247
- 'selectedCalendarIds': {
2248
- type: 'id';
2249
- isArray: true;
2250
- minArrayLength: 0;
2251
- options: undefined;
2252
- };
2253
- /** . */
2254
- 'visiblePeopleMode': {
2255
- type: 'select';
2200
+ 'calendar': {
2201
+ type: 'schema';
2202
+ isRequired: true;
2256
2203
  options: {
2257
- choices: [{
2258
- "value": "me";
2259
- "label": "Me";
2260
- }, {
2261
- "value": "working";
2262
- "label": "Working";
2263
- }, {
2264
- "value": "custom";
2265
- "label": "Custom";
2266
- }];
2204
+ schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
2267
2205
  };
2268
2206
  };
2207
+ };
2208
+ }
2209
+ interface GetCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarResponsePayloadSchema> {
2210
+ }
2211
+ }
2212
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
2213
+ interface GetConflictsForTimeRangeEmitTarget {
2214
+ 'organizationId': string;
2215
+ 'calendarIds': string[];
2216
+ }
2217
+ interface GetConflictsForTimeRangeEmitTargetSchema extends SpruceSchema.Schema {
2218
+ id: 'getConflictsForTimeRangeEmitTarget';
2219
+ version: 'v2021_05_19';
2220
+ namespace: 'Calendar';
2221
+ name: '';
2222
+ fields: {
2223
+ /** . */
2224
+ 'organizationId': {
2225
+ type: 'id';
2226
+ isRequired: true;
2227
+ options: undefined;
2228
+ };
2269
2229
  /** . */
2270
- 'visiblePeopleIds': {
2271
- type: 'text';
2230
+ 'calendarIds': {
2231
+ type: 'id';
2232
+ isRequired: true;
2272
2233
  isArray: true;
2273
2234
  options: undefined;
2274
2235
  };
2275
2236
  };
2276
2237
  }
2277
- interface GetPreferencesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesResponsePayloadSchema> {
2238
+ interface GetConflictsForTimeRangeEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema> {
2278
2239
  }
2279
2240
  }
2280
2241
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2281
- interface ListCalendarEventsEmitTarget {
2282
- 'locationId': string;
2242
+ interface Teammate {
2243
+ 'personId': string;
2244
+ 'durationMinutes': number;
2283
2245
  }
2284
- interface ListCalendarEventsEmitTargetSchema extends SpruceSchema.Schema {
2285
- id: 'listCalendarEventsEmitTarget';
2246
+ interface TeammateSchema extends SpruceSchema.Schema {
2247
+ id: 'teammate';
2286
2248
  version: 'v2021_05_19';
2287
2249
  namespace: 'Calendar';
2288
2250
  name: '';
2289
2251
  fields: {
2290
2252
  /** . */
2291
- 'locationId': {
2253
+ 'personId': {
2292
2254
  type: 'id';
2293
2255
  isRequired: true;
2294
2256
  options: undefined;
2295
2257
  };
2258
+ /** . */
2259
+ 'durationMinutes': {
2260
+ type: 'number';
2261
+ isRequired: true;
2262
+ options: undefined;
2263
+ };
2296
2264
  };
2297
2265
  }
2298
- interface ListCalendarEventsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetSchema> {
2266
+ interface TeammateEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TeammateSchema> {
2299
2267
  }
2300
2268
  }
2301
2269
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2302
- interface ListCalendarEventsEmitPayload {
2303
- 'groupIds'?: string[] | undefined | null;
2270
+ interface GetConflictsForTimeRangeEmitPayload {
2271
+ 'startDateTimeMs': number;
2272
+ 'teammate': SpruceSchemas.Calendar.v2021_05_19.Teammate;
2304
2273
  }
2305
- interface ListCalendarEventsEmitPayloadSchema extends SpruceSchema.Schema {
2306
- id: 'listCalendarEventsEmitPayload';
2274
+ interface GetConflictsForTimeRangeEmitPayloadSchema extends SpruceSchema.Schema {
2275
+ id: 'getConflictsForTimeRangeEmitPayload';
2307
2276
  version: 'v2021_05_19';
2308
2277
  namespace: 'Calendar';
2309
2278
  name: '';
2310
2279
  fields: {
2311
2280
  /** . */
2312
- 'groupIds': {
2313
- type: 'id';
2314
- isArray: true;
2281
+ 'startDateTimeMs': {
2282
+ type: 'number';
2283
+ isRequired: true;
2315
2284
  options: undefined;
2316
2285
  };
2286
+ /** . */
2287
+ 'teammate': {
2288
+ type: 'schema';
2289
+ isRequired: true;
2290
+ options: {
2291
+ schema: SpruceSchemas.Calendar.v2021_05_19.TeammateSchema;
2292
+ };
2293
+ };
2317
2294
  };
2318
2295
  }
2319
- interface ListCalendarEventsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayloadSchema> {
2296
+ interface GetConflictsForTimeRangeEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayloadSchema> {
2320
2297
  }
2321
2298
  }
2322
2299
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2323
- interface ListCalendarEventsEmitTargetAndPayload {
2300
+ interface GetConflictsForTimeRangeEmitTargetAndPayload {
2324
2301
  /** Source. */
2325
2302
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2326
- 'target': SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTarget;
2327
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayload | undefined | null;
2303
+ 'target': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTarget;
2304
+ 'payload': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayload;
2328
2305
  }
2329
- interface ListCalendarEventsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2330
- id: 'listCalendarEventsEmitTargetAndPayload';
2306
+ interface GetConflictsForTimeRangeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2307
+ id: 'getConflictsForTimeRangeEmitTargetAndPayload';
2331
2308
  version: 'v2021_05_19';
2332
2309
  namespace: 'Calendar';
2333
2310
  name: '';
@@ -2345,146 +2322,77 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2345
2322
  type: 'schema';
2346
2323
  isRequired: true;
2347
2324
  options: {
2348
- schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetSchema;
2325
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema;
2349
2326
  };
2350
2327
  };
2351
2328
  /** . */
2352
2329
  'payload': {
2353
2330
  type: 'schema';
2331
+ isRequired: true;
2354
2332
  options: {
2355
- schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayloadSchema;
2333
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayloadSchema;
2356
2334
  };
2357
2335
  };
2358
2336
  };
2359
2337
  }
2360
- interface ListCalendarEventsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetAndPayloadSchema> {
2338
+ interface GetConflictsForTimeRangeEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetAndPayloadSchema> {
2361
2339
  }
2362
2340
  }
2363
2341
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2364
- interface ListCalendarEventsResponsePayload {
2365
- 'calendarEvents': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[];
2342
+ interface GetConflictsForTimeRangeResponsePayload {
2343
+ 'isAvailable': boolean;
2344
+ 'excludedBy'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[] | undefined | null;
2345
+ 'overlapsWith'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[] | undefined | null;
2366
2346
  }
2367
- interface ListCalendarEventsResponsePayloadSchema extends SpruceSchema.Schema {
2368
- id: 'listCalendarEventsResponsePayload';
2347
+ interface GetConflictsForTimeRangeResponsePayloadSchema extends SpruceSchema.Schema {
2348
+ id: 'getConflictsForTimeRangeResponsePayload';
2369
2349
  version: 'v2021_05_19';
2370
2350
  namespace: 'Calendar';
2371
2351
  name: '';
2372
2352
  fields: {
2373
2353
  /** . */
2374
- 'calendarEvents': {
2375
- type: 'schema';
2354
+ 'isAvailable': {
2355
+ type: 'boolean';
2376
2356
  isRequired: true;
2357
+ options: undefined;
2358
+ };
2359
+ /** . */
2360
+ 'excludedBy': {
2361
+ type: 'schema';
2362
+ isArray: true;
2363
+ options: {
2364
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
2365
+ };
2366
+ };
2367
+ /** . */
2368
+ 'overlapsWith': {
2369
+ type: 'schema';
2377
2370
  isArray: true;
2378
- minArrayLength: 0;
2379
2371
  options: {
2380
2372
  schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
2381
2373
  };
2382
2374
  };
2383
2375
  };
2384
2376
  }
2385
- interface ListCalendarEventsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsResponsePayloadSchema> {
2377
+ interface GetConflictsForTimeRangeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeResponsePayloadSchema> {
2386
2378
  }
2387
2379
  }
2388
2380
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2389
- interface ListCalendarEventTypesEmitPayload {
2390
- 'shouldShowOnlyMine'?: boolean | undefined | null;
2381
+ interface RegisterEventToolsEmitTarget {
2382
+ 'organizationId': string;
2383
+ 'calendarEventId': string;
2384
+ 'locationId'?: string | undefined | null;
2391
2385
  }
2392
- interface ListCalendarEventTypesEmitPayloadSchema extends SpruceSchema.Schema {
2393
- id: 'listCalendarEventTypesEmitPayload';
2386
+ interface RegisterEventToolsEmitTargetSchema extends SpruceSchema.Schema {
2387
+ id: 'registerEventToolsEmitTarget';
2394
2388
  version: 'v2021_05_19';
2395
2389
  namespace: 'Calendar';
2396
2390
  name: '';
2397
2391
  fields: {
2398
2392
  /** . */
2399
- 'shouldShowOnlyMine': {
2400
- type: 'boolean';
2401
- options: undefined;
2402
- };
2403
- };
2404
- }
2405
- interface ListCalendarEventTypesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema> {
2406
- }
2407
- }
2408
- namespace SpruceSchemas.Calendar.v2021_05_19 {
2409
- interface ListCalendarEventTypesEmitTargetAndPayload {
2410
- /** Source. */
2411
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2412
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayload | undefined | null;
2413
- }
2414
- interface ListCalendarEventTypesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2415
- id: 'listCalendarEventTypesEmitTargetAndPayload';
2416
- version: 'v2021_05_19';
2417
- namespace: 'Calendar';
2418
- name: '';
2419
- fields: {
2420
- /** Source. */
2421
- 'source': {
2422
- label: 'Source';
2423
- type: 'schema';
2424
- options: {
2425
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
2426
- };
2427
- };
2428
- /** . */
2429
- 'payload': {
2430
- type: 'schema';
2431
- options: {
2432
- schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema;
2433
- };
2434
- };
2435
- };
2436
- }
2437
- interface ListCalendarEventTypesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitTargetAndPayloadSchema> {
2438
- }
2439
- }
2440
- namespace SpruceSchemas.Calendar.v2021_05_19 {
2441
- interface ListCalendarEventTypesResponsePayload {
2442
- 'calendarEventTypes': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType[];
2443
- 'count': number;
2444
- }
2445
- interface ListCalendarEventTypesResponsePayloadSchema extends SpruceSchema.Schema {
2446
- id: 'listCalendarEventTypesResponsePayload';
2447
- version: 'v2021_05_19';
2448
- namespace: 'Calendar';
2449
- name: '';
2450
- fields: {
2451
- /** . */
2452
- 'calendarEventTypes': {
2453
- type: 'schema';
2454
- isRequired: true;
2455
- isArray: true;
2456
- minArrayLength: 0;
2457
- options: {
2458
- schema: SpruceSchemas.Calendar.v2021_05_19.CalendarEventTypeSchema;
2459
- };
2460
- };
2461
- /** . */
2462
- 'count': {
2463
- type: 'number';
2464
- isRequired: true;
2465
- options: undefined;
2466
- };
2467
- };
2468
- }
2469
- interface ListCalendarEventTypesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesResponsePayloadSchema> {
2470
- }
2471
- }
2472
- namespace SpruceSchemas.Calendar.v2021_05_19 {
2473
- interface RegisterEventToolsEmitTarget {
2474
- 'organizationId': string;
2475
- 'calendarEventId': string;
2476
- 'locationId'?: string | undefined | null;
2477
- }
2478
- interface RegisterEventToolsEmitTargetSchema extends SpruceSchema.Schema {
2479
- id: 'registerEventToolsEmitTarget';
2480
- version: 'v2021_05_19';
2481
- namespace: 'Calendar';
2482
- name: '';
2483
- fields: {
2484
- /** . */
2485
- 'organizationId': {
2486
- type: 'id';
2487
- isRequired: true;
2393
+ 'organizationId': {
2394
+ type: 'id';
2395
+ isRequired: true;
2488
2396
  options: undefined;
2489
2397
  };
2490
2398
  /** . */
@@ -2613,38 +2521,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2613
2521
  interface ListCalendarsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema> {
2614
2522
  }
2615
2523
  }
2616
- namespace SpruceSchemas.Calendar.v2021_05_19 {
2617
- interface ListCalendarsEmitTargetAndPayload {
2618
- /** Source. */
2619
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2620
- 'target'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTarget | undefined | null;
2621
- }
2622
- interface ListCalendarsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2623
- id: 'listCalendarsEmitTargetAndPayload';
2624
- version: 'v2021_05_19';
2625
- namespace: 'Calendar';
2626
- name: '';
2627
- fields: {
2628
- /** Source. */
2629
- 'source': {
2630
- label: 'Source';
2631
- type: 'schema';
2632
- options: {
2633
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
2634
- };
2635
- };
2636
- /** . */
2637
- 'target': {
2638
- type: 'schema';
2639
- options: {
2640
- schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema;
2641
- };
2642
- };
2643
- };
2644
- }
2645
- interface ListCalendarsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetAndPayloadSchema> {
2646
- }
2647
- }
2648
2524
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2649
2525
  interface ListCalendarsResponsePayload {
2650
2526
  'calendars': SpruceSchemas.Calendar.v2021_05_19.Calendar[];
@@ -2678,101 +2554,132 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2678
2554
  }
2679
2555
  }
2680
2556
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2681
- interface GetConflictsForTimeRangeEmitTarget {
2682
- 'organizationId': string;
2683
- 'calendarIds': string[];
2557
+ interface ListCalendarEventTypesEmitPayload {
2558
+ 'shouldShowOnlyMine'?: boolean | undefined | null;
2684
2559
  }
2685
- interface GetConflictsForTimeRangeEmitTargetSchema extends SpruceSchema.Schema {
2686
- id: 'getConflictsForTimeRangeEmitTarget';
2560
+ interface ListCalendarEventTypesEmitPayloadSchema extends SpruceSchema.Schema {
2561
+ id: 'listCalendarEventTypesEmitPayload';
2687
2562
  version: 'v2021_05_19';
2688
2563
  namespace: 'Calendar';
2689
2564
  name: '';
2690
2565
  fields: {
2691
2566
  /** . */
2692
- 'organizationId': {
2693
- type: 'id';
2694
- isRequired: true;
2567
+ 'shouldShowOnlyMine': {
2568
+ type: 'boolean';
2695
2569
  options: undefined;
2696
2570
  };
2571
+ };
2572
+ }
2573
+ interface ListCalendarEventTypesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema> {
2574
+ }
2575
+ }
2576
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
2577
+ interface ListCalendarEventTypesEmitTargetAndPayload {
2578
+ /** Source. */
2579
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2580
+ 'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayload | undefined | null;
2581
+ }
2582
+ interface ListCalendarEventTypesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2583
+ id: 'listCalendarEventTypesEmitTargetAndPayload';
2584
+ version: 'v2021_05_19';
2585
+ namespace: 'Calendar';
2586
+ name: '';
2587
+ fields: {
2588
+ /** Source. */
2589
+ 'source': {
2590
+ label: 'Source';
2591
+ type: 'schema';
2592
+ options: {
2593
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
2594
+ };
2595
+ };
2697
2596
  /** . */
2698
- 'calendarIds': {
2699
- type: 'id';
2700
- isRequired: true;
2701
- isArray: true;
2702
- options: undefined;
2597
+ 'payload': {
2598
+ type: 'schema';
2599
+ options: {
2600
+ schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema;
2601
+ };
2703
2602
  };
2704
2603
  };
2705
2604
  }
2706
- interface GetConflictsForTimeRangeEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema> {
2605
+ interface ListCalendarEventTypesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitTargetAndPayloadSchema> {
2707
2606
  }
2708
2607
  }
2709
2608
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2710
- interface Teammate {
2711
- 'personId': string;
2712
- 'durationMinutes': number;
2609
+ interface ListCalendarEventTypesResponsePayload {
2610
+ 'calendarEventTypes': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType[];
2611
+ 'count': number;
2713
2612
  }
2714
- interface TeammateSchema extends SpruceSchema.Schema {
2715
- id: 'teammate';
2613
+ interface ListCalendarEventTypesResponsePayloadSchema extends SpruceSchema.Schema {
2614
+ id: 'listCalendarEventTypesResponsePayload';
2716
2615
  version: 'v2021_05_19';
2717
2616
  namespace: 'Calendar';
2718
2617
  name: '';
2719
2618
  fields: {
2720
2619
  /** . */
2721
- 'personId': {
2722
- type: 'id';
2620
+ 'calendarEventTypes': {
2621
+ type: 'schema';
2723
2622
  isRequired: true;
2724
- options: undefined;
2623
+ isArray: true;
2624
+ minArrayLength: 0;
2625
+ options: {
2626
+ schema: SpruceSchemas.Calendar.v2021_05_19.CalendarEventTypeSchema;
2627
+ };
2725
2628
  };
2726
2629
  /** . */
2727
- 'durationMinutes': {
2630
+ 'count': {
2728
2631
  type: 'number';
2729
2632
  isRequired: true;
2730
2633
  options: undefined;
2731
2634
  };
2732
2635
  };
2733
2636
  }
2734
- interface TeammateEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TeammateSchema> {
2637
+ interface ListCalendarEventTypesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesResponsePayloadSchema> {
2735
2638
  }
2736
2639
  }
2737
2640
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2738
- interface GetConflictsForTimeRangeEmitPayload {
2739
- 'startDateTimeMs': number;
2740
- 'teammate': SpruceSchemas.Calendar.v2021_05_19.Teammate;
2641
+ interface StreamSchedulesEmitTarget {
2642
+ 'locationId': string;
2643
+ 'organizationId'?: string | undefined | null;
2644
+ 'personId': string;
2741
2645
  }
2742
- interface GetConflictsForTimeRangeEmitPayloadSchema extends SpruceSchema.Schema {
2743
- id: 'getConflictsForTimeRangeEmitPayload';
2646
+ interface StreamSchedulesEmitTargetSchema extends SpruceSchema.Schema {
2647
+ id: 'streamSchedulesEmitTarget';
2744
2648
  version: 'v2021_05_19';
2745
2649
  namespace: 'Calendar';
2746
2650
  name: '';
2747
2651
  fields: {
2748
2652
  /** . */
2749
- 'startDateTimeMs': {
2750
- type: 'number';
2653
+ 'locationId': {
2654
+ type: 'id';
2751
2655
  isRequired: true;
2752
2656
  options: undefined;
2753
2657
  };
2754
2658
  /** . */
2755
- 'teammate': {
2756
- type: 'schema';
2659
+ 'organizationId': {
2660
+ type: 'id';
2661
+ options: undefined;
2662
+ };
2663
+ /** . */
2664
+ 'personId': {
2665
+ type: 'id';
2757
2666
  isRequired: true;
2758
- options: {
2759
- schema: SpruceSchemas.Calendar.v2021_05_19.TeammateSchema;
2760
- };
2667
+ options: undefined;
2761
2668
  };
2762
2669
  };
2763
2670
  }
2764
- interface GetConflictsForTimeRangeEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayloadSchema> {
2671
+ interface StreamSchedulesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.StreamSchedulesEmitTargetSchema> {
2765
2672
  }
2766
2673
  }
2767
2674
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2768
- interface GetConflictsForTimeRangeEmitTargetAndPayload {
2675
+ interface StreamSchedulesEmitTargetAndPayload {
2769
2676
  /** Source. */
2770
2677
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2771
- 'target': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTarget;
2772
- 'payload': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayload;
2678
+ 'target': SpruceSchemas.Calendar.v2021_05_19.StreamSchedulesEmitTarget;
2679
+ 'payload': SpruceSchemas.Calendar.v2021_05_19.StreamSchedulesEmitPayload;
2773
2680
  }
2774
- interface GetConflictsForTimeRangeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2775
- id: 'getConflictsForTimeRangeEmitTargetAndPayload';
2681
+ interface StreamSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2682
+ id: 'streamSchedulesEmitTargetAndPayload';
2776
2683
  version: 'v2021_05_19';
2777
2684
  namespace: 'Calendar';
2778
2685
  name: '';
@@ -2790,7 +2697,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2790
2697
  type: 'schema';
2791
2698
  isRequired: true;
2792
2699
  options: {
2793
- schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema;
2700
+ schema: SpruceSchemas.Calendar.v2021_05_19.StreamSchedulesEmitTargetSchema;
2794
2701
  };
2795
2702
  };
2796
2703
  /** . */
@@ -2798,51 +2705,81 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2798
2705
  type: 'schema';
2799
2706
  isRequired: true;
2800
2707
  options: {
2801
- schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayloadSchema;
2708
+ schema: SpruceSchemas.Calendar.v2021_05_19.StreamSchedulesEmitPayloadSchema;
2802
2709
  };
2803
2710
  };
2804
2711
  };
2805
2712
  }
2806
- interface GetConflictsForTimeRangeEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetAndPayloadSchema> {
2713
+ interface StreamSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.StreamSchedulesEmitTargetAndPayloadSchema> {
2807
2714
  }
2808
2715
  }
2809
- namespace SpruceSchemas.Calendar.v2021_05_19 {
2810
- interface GetConflictsForTimeRangeResponsePayload {
2811
- 'isAvailable': boolean;
2812
- 'excludedBy'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[] | undefined | null;
2813
- 'overlapsWith'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[] | undefined | null;
2716
+ namespace SpruceSchemas.MercuryChunkingEmitter.v2023_10_21 {
2717
+ interface ChunkPaging {
2718
+ 'total': number;
2719
+ 'current': number;
2814
2720
  }
2815
- interface GetConflictsForTimeRangeResponsePayloadSchema extends SpruceSchema.Schema {
2816
- id: 'getConflictsForTimeRangeResponsePayload';
2817
- version: 'v2021_05_19';
2818
- namespace: 'Calendar';
2819
- name: '';
2721
+ interface ChunkPagingSchema extends SpruceSchema.Schema {
2722
+ id: 'chunkPaging';
2723
+ version: 'v2023_10_21';
2724
+ namespace: 'MercuryChunkingEmitter';
2725
+ name: 'Chunk Paging';
2820
2726
  fields: {
2821
2727
  /** . */
2822
- 'isAvailable': {
2823
- type: 'boolean';
2728
+ 'total': {
2729
+ type: 'number';
2824
2730
  isRequired: true;
2825
2731
  options: undefined;
2826
2732
  };
2827
2733
  /** . */
2828
- 'excludedBy': {
2734
+ 'current': {
2735
+ type: 'number';
2736
+ isRequired: true;
2737
+ options: undefined;
2738
+ };
2739
+ };
2740
+ }
2741
+ interface ChunkPagingEntity extends SchemaEntity<SpruceSchemas.MercuryChunkingEmitter.v2023_10_21.ChunkPagingSchema> {
2742
+ }
2743
+ }
2744
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
2745
+ interface StreamSchedulesEmitPayload {
2746
+ 'chunkingId': string;
2747
+ 'events': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[];
2748
+ 'chunk': SpruceSchemas.MercuryChunkingEmitter.v2023_10_21.ChunkPaging;
2749
+ }
2750
+ interface StreamSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
2751
+ id: 'streamSchedulesEmitPayload';
2752
+ version: 'v2021_05_19';
2753
+ namespace: 'Calendar';
2754
+ name: '';
2755
+ fields: {
2756
+ /** . */
2757
+ 'chunkingId': {
2758
+ type: 'id';
2759
+ isRequired: true;
2760
+ options: undefined;
2761
+ };
2762
+ /** . */
2763
+ 'events': {
2829
2764
  type: 'schema';
2765
+ isRequired: true;
2830
2766
  isArray: true;
2767
+ minArrayLength: 0;
2831
2768
  options: {
2832
2769
  schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
2833
2770
  };
2834
2771
  };
2835
2772
  /** . */
2836
- 'overlapsWith': {
2773
+ 'chunk': {
2837
2774
  type: 'schema';
2838
- isArray: true;
2775
+ isRequired: true;
2839
2776
  options: {
2840
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
2777
+ schema: SpruceSchemas.MercuryChunkingEmitter.v2023_10_21.ChunkPagingSchema;
2841
2778
  };
2842
2779
  };
2843
2780
  };
2844
2781
  }
2845
- interface GetConflictsForTimeRangeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeResponsePayloadSchema> {
2782
+ interface StreamSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.StreamSchedulesEmitPayloadSchema> {
2846
2783
  }
2847
2784
  }
2848
2785
  namespace SpruceSchemas.Calendar.v2021_05_19 {
@@ -2925,48 +2862,34 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2925
2862
  }
2926
2863
  }
2927
2864
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2928
- interface StreamSchedulesEmitTarget {
2929
- 'locationId': string;
2930
- 'organizationId'?: string | undefined | null;
2931
- 'personId': string;
2865
+ interface GetPreferencesEmitTarget {
2866
+ 'organizationId': string;
2932
2867
  }
2933
- interface StreamSchedulesEmitTargetSchema extends SpruceSchema.Schema {
2934
- id: 'streamSchedulesEmitTarget';
2868
+ interface GetPreferencesEmitTargetSchema extends SpruceSchema.Schema {
2869
+ id: 'getPreferencesEmitTarget';
2935
2870
  version: 'v2021_05_19';
2936
2871
  namespace: 'Calendar';
2937
2872
  name: '';
2938
2873
  fields: {
2939
- /** . */
2940
- 'locationId': {
2941
- type: 'id';
2942
- isRequired: true;
2943
- options: undefined;
2944
- };
2945
2874
  /** . */
2946
2875
  'organizationId': {
2947
- type: 'id';
2948
- options: undefined;
2949
- };
2950
- /** . */
2951
- 'personId': {
2952
2876
  type: 'id';
2953
2877
  isRequired: true;
2954
2878
  options: undefined;
2955
2879
  };
2956
2880
  };
2957
2881
  }
2958
- interface StreamSchedulesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.StreamSchedulesEmitTargetSchema> {
2882
+ interface GetPreferencesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTargetSchema> {
2959
2883
  }
2960
2884
  }
2961
2885
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2962
- interface StreamSchedulesEmitTargetAndPayload {
2886
+ interface GetPreferencesEmitTargetAndPayload {
2963
2887
  /** Source. */
2964
2888
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2965
- 'target': SpruceSchemas.Calendar.v2021_05_19.StreamSchedulesEmitTarget;
2966
- 'payload': SpruceSchemas.Calendar.v2021_05_19.StreamSchedulesEmitPayload;
2889
+ 'target': SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTarget;
2967
2890
  }
2968
- interface StreamSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2969
- id: 'streamSchedulesEmitTargetAndPayload';
2891
+ interface GetPreferencesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2892
+ id: 'getPreferencesEmitTargetAndPayload';
2970
2893
  version: 'v2021_05_19';
2971
2894
  namespace: 'Calendar';
2972
2895
  name: '';
@@ -2984,190 +2907,111 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2984
2907
  type: 'schema';
2985
2908
  isRequired: true;
2986
2909
  options: {
2987
- schema: SpruceSchemas.Calendar.v2021_05_19.StreamSchedulesEmitTargetSchema;
2988
- };
2989
- };
2990
- /** . */
2991
- 'payload': {
2992
- type: 'schema';
2993
- isRequired: true;
2994
- options: {
2995
- schema: SpruceSchemas.Calendar.v2021_05_19.StreamSchedulesEmitPayloadSchema;
2910
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTargetSchema;
2996
2911
  };
2997
2912
  };
2998
2913
  };
2999
2914
  }
3000
- interface StreamSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.StreamSchedulesEmitTargetAndPayloadSchema> {
3001
- }
3002
- }
3003
- namespace SpruceSchemas.MercuryChunkingEmitter.v2023_10_21 {
3004
- interface ChunkPaging {
3005
- 'total': number;
3006
- 'current': number;
3007
- }
3008
- interface ChunkPagingSchema extends SpruceSchema.Schema {
3009
- id: 'chunkPaging';
3010
- version: 'v2023_10_21';
3011
- namespace: 'MercuryChunkingEmitter';
3012
- name: 'Chunk Paging';
3013
- fields: {
3014
- /** . */
3015
- 'total': {
3016
- type: 'number';
3017
- isRequired: true;
3018
- options: undefined;
3019
- };
3020
- /** . */
3021
- 'current': {
3022
- type: 'number';
3023
- isRequired: true;
3024
- options: undefined;
3025
- };
3026
- };
3027
- }
3028
- interface ChunkPagingEntity extends SchemaEntity<SpruceSchemas.MercuryChunkingEmitter.v2023_10_21.ChunkPagingSchema> {
2915
+ interface GetPreferencesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTargetAndPayloadSchema> {
3029
2916
  }
3030
2917
  }
3031
2918
  namespace SpruceSchemas.Calendar.v2021_05_19 {
3032
- interface StreamSchedulesEmitPayload {
3033
- 'chunkingId': string;
3034
- 'events': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[];
3035
- 'chunk': SpruceSchemas.MercuryChunkingEmitter.v2023_10_21.ChunkPaging;
2919
+ interface GetPreferencesResponsePayload {
2920
+ 'selectedCalendarIds'?: string[] | undefined | null;
2921
+ 'visiblePeopleMode'?: ("me" | "working" | "custom") | undefined | null;
2922
+ 'visiblePeopleIds'?: string[] | undefined | null;
3036
2923
  }
3037
- interface StreamSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
3038
- id: 'streamSchedulesEmitPayload';
2924
+ interface GetPreferencesResponsePayloadSchema extends SpruceSchema.Schema {
2925
+ id: 'getPreferencesResponsePayload';
3039
2926
  version: 'v2021_05_19';
3040
2927
  namespace: 'Calendar';
3041
2928
  name: '';
3042
2929
  fields: {
3043
2930
  /** . */
3044
- 'chunkingId': {
2931
+ 'selectedCalendarIds': {
3045
2932
  type: 'id';
3046
- isRequired: true;
2933
+ isArray: true;
2934
+ minArrayLength: 0;
3047
2935
  options: undefined;
3048
2936
  };
3049
2937
  /** . */
3050
- 'events': {
3051
- type: 'schema';
3052
- isRequired: true;
3053
- isArray: true;
3054
- minArrayLength: 0;
2938
+ 'visiblePeopleMode': {
2939
+ type: 'select';
3055
2940
  options: {
3056
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
2941
+ choices: [{
2942
+ "value": "me";
2943
+ "label": "Me";
2944
+ }, {
2945
+ "value": "working";
2946
+ "label": "Working";
2947
+ }, {
2948
+ "value": "custom";
2949
+ "label": "Custom";
2950
+ }];
3057
2951
  };
3058
2952
  };
3059
2953
  /** . */
3060
- 'chunk': {
3061
- type: 'schema';
3062
- isRequired: true;
3063
- options: {
3064
- schema: SpruceSchemas.MercuryChunkingEmitter.v2023_10_21.ChunkPagingSchema;
3065
- };
2954
+ 'visiblePeopleIds': {
2955
+ type: 'text';
2956
+ isArray: true;
2957
+ options: undefined;
3066
2958
  };
3067
2959
  };
3068
2960
  }
3069
- interface StreamSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.StreamSchedulesEmitPayloadSchema> {
2961
+ interface GetPreferencesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesResponsePayloadSchema> {
3070
2962
  }
3071
2963
  }
3072
2964
  namespace SpruceSchemas.Calendar.v2021_05_19 {
3073
- interface UpdateCalendarEmitTarget {
3074
- 'organizationId': string;
3075
- 'calendarId': string;
2965
+ interface ListCalendarEventsEmitTarget {
2966
+ 'locationId': string;
3076
2967
  }
3077
- interface UpdateCalendarEmitTargetSchema extends SpruceSchema.Schema {
3078
- id: 'updateCalendarEmitTarget';
2968
+ interface ListCalendarEventsEmitTargetSchema extends SpruceSchema.Schema {
2969
+ id: 'listCalendarEventsEmitTarget';
3079
2970
  version: 'v2021_05_19';
3080
2971
  namespace: 'Calendar';
3081
2972
  name: '';
3082
2973
  fields: {
3083
2974
  /** . */
3084
- 'organizationId': {
3085
- type: 'id';
3086
- isRequired: true;
3087
- options: undefined;
3088
- };
3089
- /** . */
3090
- 'calendarId': {
2975
+ 'locationId': {
3091
2976
  type: 'id';
3092
2977
  isRequired: true;
3093
2978
  options: undefined;
3094
2979
  };
3095
2980
  };
3096
2981
  }
3097
- interface UpdateCalendarEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitTargetSchema> {
2982
+ interface ListCalendarEventsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetSchema> {
3098
2983
  }
3099
2984
  }
3100
2985
  namespace SpruceSchemas.Calendar.v2021_05_19 {
3101
- interface UpdateCalendarEmitPayload {
3102
- 'slug'?: string | undefined | null;
3103
- 'title'?: string | undefined | null;
3104
- 'eventTypes'?: string[] | undefined | null;
3105
- 'target'?: SpruceSchemas.Calendar.v2021_05_19.CalendarTarget | undefined | null;
3106
- 'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
3107
- 'availableTimeSlotBehavior'?: ("include" | "exclude") | undefined | null;
2986
+ interface ListCalendarEventsEmitPayload {
2987
+ 'groupIds'?: string[] | undefined | null;
3108
2988
  }
3109
- interface UpdateCalendarEmitPayloadSchema extends SpruceSchema.Schema {
3110
- id: 'updateCalendarEmitPayload';
2989
+ interface ListCalendarEventsEmitPayloadSchema extends SpruceSchema.Schema {
2990
+ id: 'listCalendarEventsEmitPayload';
3111
2991
  version: 'v2021_05_19';
3112
2992
  namespace: 'Calendar';
3113
2993
  name: '';
3114
2994
  fields: {
3115
2995
  /** . */
3116
- 'slug': {
2996
+ 'groupIds': {
3117
2997
  type: 'id';
3118
- options: undefined;
3119
- };
3120
- /** . */
3121
- 'title': {
3122
- type: 'text';
3123
- options: undefined;
3124
- };
3125
- /** . */
3126
- 'eventTypes': {
3127
- type: 'text';
3128
2998
  isArray: true;
3129
- minArrayLength: 0;
3130
- options: undefined;
3131
- };
3132
- /** . */
3133
- 'target': {
3134
- type: 'schema';
3135
- options: {
3136
- schema: SpruceSchemas.Calendar.v2021_05_19.CalendarTargetSchema;
3137
- };
3138
- };
3139
- /** . */
3140
- 'dateDeleted': {
3141
- type: 'dateTime';
3142
2999
  options: undefined;
3143
3000
  };
3144
- /** . */
3145
- 'availableTimeSlotBehavior': {
3146
- type: 'select';
3147
- options: {
3148
- choices: [{
3149
- "value": "include";
3150
- "label": "Include";
3151
- }, {
3152
- "value": "exclude";
3153
- "label": "Exclude";
3154
- }];
3155
- };
3156
- };
3157
3001
  };
3158
3002
  }
3159
- interface UpdateCalendarEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitPayloadSchema> {
3003
+ interface ListCalendarEventsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayloadSchema> {
3160
3004
  }
3161
3005
  }
3162
3006
  namespace SpruceSchemas.Calendar.v2021_05_19 {
3163
- interface UpdateCalendarEmitTargetAndPayload {
3007
+ interface ListCalendarEventsEmitTargetAndPayload {
3164
3008
  /** Source. */
3165
3009
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
3166
- 'target': SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitTarget;
3167
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitPayload | undefined | null;
3010
+ 'target': SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTarget;
3011
+ 'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayload | undefined | null;
3168
3012
  }
3169
- interface UpdateCalendarEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
3170
- id: 'updateCalendarEmitTargetAndPayload';
3013
+ interface ListCalendarEventsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
3014
+ id: 'listCalendarEventsEmitTargetAndPayload';
3171
3015
  version: 'v2021_05_19';
3172
3016
  namespace: 'Calendar';
3173
3017
  name: '';
@@ -3185,885 +3029,297 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
3185
3029
  type: 'schema';
3186
3030
  isRequired: true;
3187
3031
  options: {
3188
- schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitTargetSchema;
3032
+ schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetSchema;
3189
3033
  };
3190
3034
  };
3191
3035
  /** . */
3192
3036
  'payload': {
3193
3037
  type: 'schema';
3194
3038
  options: {
3195
- schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitPayloadSchema;
3039
+ schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayloadSchema;
3196
3040
  };
3197
3041
  };
3198
3042
  };
3199
3043
  }
3200
- interface UpdateCalendarEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitTargetAndPayloadSchema> {
3044
+ interface ListCalendarEventsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetAndPayloadSchema> {
3201
3045
  }
3202
3046
  }
3203
3047
  namespace SpruceSchemas.Calendar.v2021_05_19 {
3204
- interface UpdateCalendarResponsePayload {
3205
- 'calendar': SpruceSchemas.Calendar.v2021_05_19.Calendar;
3048
+ interface ListCalendarEventsResponsePayload {
3049
+ 'calendarEvents': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[];
3206
3050
  }
3207
- interface UpdateCalendarResponsePayloadSchema extends SpruceSchema.Schema {
3208
- id: 'updateCalendarResponsePayload';
3051
+ interface ListCalendarEventsResponsePayloadSchema extends SpruceSchema.Schema {
3052
+ id: 'listCalendarEventsResponsePayload';
3209
3053
  version: 'v2021_05_19';
3210
3054
  namespace: 'Calendar';
3211
3055
  name: '';
3212
3056
  fields: {
3213
3057
  /** . */
3214
- 'calendar': {
3058
+ 'calendarEvents': {
3215
3059
  type: 'schema';
3216
3060
  isRequired: true;
3061
+ isArray: true;
3062
+ minArrayLength: 0;
3217
3063
  options: {
3218
- schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
3064
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
3219
3065
  };
3220
3066
  };
3221
3067
  };
3222
3068
  }
3223
- interface UpdateCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarResponsePayloadSchema> {
3069
+ interface ListCalendarEventsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsResponsePayloadSchema> {
3224
3070
  }
3225
3071
  }
3226
3072
  namespace SpruceSchemas.Calendar.v2021_05_19 {
3227
- interface UpdateCalendarEventEmitTarget {
3228
- 'organizationId'?: string | undefined | null;
3229
- 'locationId'?: string | undefined | null;
3230
- 'calendarEventId': string;
3231
- 'calendarEventPersonId': string;
3073
+ interface UpsertCalendarEventTypeEmitTarget {
3074
+ 'slug': string;
3232
3075
  }
3233
- interface UpdateCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
3234
- id: 'updateCalendarEventEmitTarget';
3076
+ interface UpsertCalendarEventTypeEmitTargetSchema extends SpruceSchema.Schema {
3077
+ id: 'upsertCalendarEventTypeEmitTarget';
3235
3078
  version: 'v2021_05_19';
3236
3079
  namespace: 'Calendar';
3237
3080
  name: '';
3238
3081
  fields: {
3239
3082
  /** . */
3240
- 'organizationId': {
3241
- type: 'id';
3242
- options: undefined;
3243
- };
3244
- /** . */
3245
- 'locationId': {
3246
- type: 'id';
3247
- options: undefined;
3248
- };
3249
- /** . */
3250
- 'calendarEventId': {
3251
- type: 'id';
3252
- isRequired: true;
3253
- options: undefined;
3254
- };
3255
- /** . */
3256
- 'calendarEventPersonId': {
3257
- type: 'id';
3083
+ 'slug': {
3084
+ type: 'text';
3258
3085
  isRequired: true;
3259
3086
  options: undefined;
3260
3087
  };
3261
3088
  };
3262
3089
  }
3263
- interface UpdateCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetSchema> {
3090
+ interface UpsertCalendarEventTypeEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTargetSchema> {
3264
3091
  }
3265
3092
  }
3266
3093
  namespace SpruceSchemas.Calendar.v2021_05_19 {
3267
- interface UpdateCalendarEventEmitPayload {
3268
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
3269
- 'target'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventTarget | undefined | null;
3270
- 'calendarId'?: string | undefined | null;
3271
- 'eventTypeSlug'?: string | undefined | null;
3272
- 'startDateTimeMs'?: SpruceSchema.DateTimeFieldValue | undefined | null;
3273
- 'isBusy'?: boolean | undefined | null;
3274
- 'isResizeable'?: boolean | undefined | null;
3275
- 'style'?: ("draft" | "tentative" | "upcoming" | "unavailable" | "blocked" | "active" | "past" | "warn" | "critical") | undefined | null;
3276
- 'groupId'?: string | undefined | null;
3277
- 'timeBlocks'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventTimeBlock[] | undefined | null;
3278
- 'repeats'?: ("weekly" | "monthly" | "daily") | undefined | null;
3279
- 'daysOfWeek'?: ("sun" | "mon" | "tue" | "wed" | "thur" | "fri" | "sat")[] | undefined | null;
3280
- '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;
3281
- 'repeatsUntil'?: SpruceSchema.DateTimeFieldValue | undefined | null;
3282
- 'occurrences'?: number | undefined | null;
3283
- 'interval'?: number | undefined | null;
3284
- 'nthOccurrences'?: number[] | undefined | null;
3285
- 'exclusionDates'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDate[] | undefined | null;
3286
- 'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
3287
- 'nthInRepeating'?: number | undefined | null;
3288
- 'totalInRepeating'?: number | undefined | null;
3289
- 'meta'?: (Record<string, any>) | undefined | null;
3290
- 'venue'?: SpruceSchemas.CalendarUtils.v2021_05_19.Venue | undefined | null;
3291
- 'addToExclusionDates'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDate[] | undefined | null;
3292
- 'dateToUpdate'?: number | undefined | null;
3293
- 'shouldUpdateAllEventsGoingForward'?: boolean | undefined | null;
3294
- /** . It will show on this person's calendar going forward! */
3295
- 'newTargetPersonId'?: string | undefined | null;
3094
+ interface UpsertCalendarEventTypeEmitPayload {
3095
+ 'name'?: string | undefined | null;
3096
+ 'slug'?: string | undefined | null;
3097
+ 'viewControllerId'?: string | undefined | null;
3098
+ 'lineIcon'?: ("add-circle" | "add-square" | "add" | "alarm" | "arrow-back" | "arrow-down-circle" | "arrow-down" | "arrow-next" | "arrow-up-circle" | "arrow-up" | "attachment" | "award-badge" | "binoculars" | "bolt" | "book-open" | "book" | "bookmark" | "calendar-add" | "calendar" | "camera" | "cellphone" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clipboard" | "clock" | "close-circle" | "close-square" | "close" | "code" | "coffee" | "command" | "corner-down-left" | "corner-down-right" | "corner-left-down" | "corner-left-up" | "corner-right-down" | "corner-right-up" | "corner-up-left" | "corner-up-right" | "crop" | "cube" | "delete" | "document-blank" | "document-new" | "document-text" | "download-cloud" | "download" | "edit-box" | "edit-line" | "email" | "emoji-happy" | "emoji-sad" | "external-link" | "fav-heart" | "flag" | "flip-01" | "flip-02" | "folder" | "globe" | "hash-tag" | "headphones" | "help-buoy" | "help-circle" | "home" | "info" | "jump" | "layers" | "bar-graph" | "link-angle" | "link-flat" | "loader" | "location-pin" | "lock" | "logout" | "map" | "message-circle" | "message-square" | "mic-off" | "mic-on" | "minus-circle" | "minus-square" | "money-sign" | "more-horizontal" | "more-vertical" | "notification-off" | "notification-on" | "object" | "pause-circle" | "phone-unavailable" | "phone" | "photo" | "picked" | "pie-chart" | "play-circle" | "present" | "refresh-circle" | "refresh" | "repeat" | "restricted" | "rotate" | "search-no" | "search" | "selector-checked" | "selector-circle-filled" | "selector-circle" | "send" | "settings-filled" | "settings" | "share" | "shopping-bag" | "shopping-cart" | "sort-filter-down" | "sort-filter-up" | "sound-off" | "sound-on" | "sprucebot" | "star-filled" | "star" | "sun" | "tag" | "time" | "tool" | "trending-down" | "trending-up" | "triangle" | "unlock" | "upload-cloud" | "upload" | "user-add" | "user-delete" | "user" | "users" | "video-off" | "video" | "warning" | "wifi" | "zoom-in" | "zoom-out") | undefined | null;
3296
3099
  }
3297
- interface UpdateCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
3298
- id: 'updateCalendarEventEmitPayload';
3100
+ interface UpsertCalendarEventTypeEmitPayloadSchema extends SpruceSchema.Schema {
3101
+ id: 'upsertCalendarEventTypeEmitPayload';
3299
3102
  version: 'v2021_05_19';
3300
3103
  namespace: 'Calendar';
3301
3104
  name: '';
3302
3105
  fields: {
3303
3106
  /** . */
3304
- 'source': {
3305
- type: 'schema';
3306
- options: {
3307
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
3308
- };
3309
- };
3310
- /** . */
3311
- 'target': {
3312
- type: 'schema';
3313
- options: {
3314
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventTargetSchema;
3315
- };
3316
- };
3317
- /** . */
3318
- 'calendarId': {
3319
- type: 'id';
3320
- options: undefined;
3321
- };
3322
- /** . */
3323
- 'eventTypeSlug': {
3107
+ 'name': {
3324
3108
  type: 'text';
3325
3109
  options: undefined;
3326
3110
  };
3327
3111
  /** . */
3328
- 'startDateTimeMs': {
3329
- type: 'dateTime';
3330
- options: undefined;
3331
- };
3332
- /** . */
3333
- 'isBusy': {
3334
- type: 'boolean';
3112
+ 'slug': {
3113
+ type: 'text';
3335
3114
  options: undefined;
3336
3115
  };
3337
3116
  /** . */
3338
- 'isResizeable': {
3339
- type: 'boolean';
3117
+ 'viewControllerId': {
3118
+ type: 'id';
3340
3119
  options: undefined;
3341
3120
  };
3342
3121
  /** . */
3343
- 'style': {
3122
+ 'lineIcon': {
3344
3123
  type: 'select';
3345
3124
  options: {
3346
3125
  choices: [{
3347
- "value": "draft";
3348
- "label": "Draft";
3349
- }, {
3350
- "value": "tentative";
3351
- "label": "Tentative";
3126
+ "value": "add-circle";
3127
+ "label": "add-circle";
3352
3128
  }, {
3353
- "value": "upcoming";
3354
- "label": "Upcoming";
3129
+ "value": "add-square";
3130
+ "label": "add-square";
3355
3131
  }, {
3356
- "value": "unavailable";
3357
- "label": "Unavailable";
3132
+ "value": "add";
3133
+ "label": "add";
3358
3134
  }, {
3359
- "value": "blocked";
3360
- "label": "Blocked";
3135
+ "value": "alarm";
3136
+ "label": "alarm";
3361
3137
  }, {
3362
- "value": "active";
3363
- "label": "Active";
3138
+ "value": "arrow-back";
3139
+ "label": "arrow-back";
3364
3140
  }, {
3365
- "value": "past";
3366
- "label": "Past";
3141
+ "value": "arrow-down-circle";
3142
+ "label": "arrow-down-circle";
3367
3143
  }, {
3368
- "value": "warn";
3369
- "label": "Warning";
3144
+ "value": "arrow-down";
3145
+ "label": "arrow-down";
3370
3146
  }, {
3371
- "value": "critical";
3372
- "label": "Critical";
3373
- }];
3374
- };
3375
- };
3376
- /** . */
3377
- 'groupId': {
3378
- type: 'id';
3379
- options: undefined;
3380
- };
3381
- /** . */
3382
- 'timeBlocks': {
3383
- type: 'schema';
3384
- isArray: true;
3385
- minArrayLength: 1;
3386
- options: {
3387
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.EventTimeBlockSchema;
3388
- };
3389
- };
3390
- /** . */
3391
- 'repeats': {
3392
- type: 'select';
3393
- options: {
3394
- choices: [{
3395
- "value": "weekly";
3396
- "label": "Weekly";
3147
+ "value": "arrow-next";
3148
+ "label": "arrow-next";
3397
3149
  }, {
3398
- "value": "monthly";
3399
- "label": "Monthly";
3150
+ "value": "arrow-up-circle";
3151
+ "label": "arrow-up-circle";
3400
3152
  }, {
3401
- "value": "daily";
3402
- "label": "Daily";
3403
- }];
3404
- };
3405
- };
3406
- /** . */
3407
- 'daysOfWeek': {
3408
- type: 'select';
3409
- isArray: true;
3410
- options: {
3411
- choices: [{
3412
- "value": "sun";
3413
- "label": "Sunday";
3153
+ "value": "arrow-up";
3154
+ "label": "arrow-up";
3414
3155
  }, {
3415
- "value": "mon";
3416
- "label": "Monday";
3156
+ "value": "attachment";
3157
+ "label": "attachment";
3417
3158
  }, {
3418
- "value": "tue";
3419
- "label": "Tuesday";
3159
+ "value": "award-badge";
3160
+ "label": "award-badge";
3420
3161
  }, {
3421
- "value": "wed";
3422
- "label": "Wednesday";
3162
+ "value": "binoculars";
3163
+ "label": "binoculars";
3423
3164
  }, {
3424
- "value": "thur";
3425
- "label": "Thursday";
3165
+ "value": "bolt";
3166
+ "label": "bolt";
3426
3167
  }, {
3427
- "value": "fri";
3428
- "label": "Friday";
3168
+ "value": "book-open";
3169
+ "label": "book-open";
3429
3170
  }, {
3430
- "value": "sat";
3431
- "label": "Saturday";
3432
- }];
3433
- };
3434
- };
3435
- /** . */
3436
- 'daysOfMonth': {
3437
- type: 'select';
3438
- isArray: true;
3439
- options: {
3440
- choices: [{
3441
- "value": "1";
3442
- "label": "1";
3171
+ "value": "book";
3172
+ "label": "book";
3443
3173
  }, {
3444
- "value": "2";
3445
- "label": "2";
3174
+ "value": "bookmark";
3175
+ "label": "bookmark";
3446
3176
  }, {
3447
- "value": "3";
3448
- "label": "3";
3177
+ "value": "calendar-add";
3178
+ "label": "calendar-add";
3449
3179
  }, {
3450
- "value": "4";
3451
- "label": "4";
3180
+ "value": "calendar";
3181
+ "label": "calendar";
3452
3182
  }, {
3453
- "value": "5";
3454
- "label": "5";
3183
+ "value": "camera";
3184
+ "label": "camera";
3455
3185
  }, {
3456
- "value": "6";
3457
- "label": "6";
3186
+ "value": "cellphone";
3187
+ "label": "cellphone";
3458
3188
  }, {
3459
- "value": "7";
3460
- "label": "7";
3189
+ "value": "checkmark";
3190
+ "label": "checkmark";
3461
3191
  }, {
3462
- "value": "8";
3463
- "label": "8";
3192
+ "value": "chevron-down";
3193
+ "label": "chevron-down";
3464
3194
  }, {
3465
- "value": "9";
3466
- "label": "9";
3195
+ "value": "chevron-left";
3196
+ "label": "chevron-left";
3467
3197
  }, {
3468
- "value": "10";
3469
- "label": "10";
3198
+ "value": "chevron-right";
3199
+ "label": "chevron-right";
3470
3200
  }, {
3471
- "value": "11";
3472
- "label": "11";
3201
+ "value": "chevron-up";
3202
+ "label": "chevron-up";
3473
3203
  }, {
3474
- "value": "12";
3475
- "label": "12";
3204
+ "value": "clipboard";
3205
+ "label": "clipboard";
3476
3206
  }, {
3477
- "value": "13";
3478
- "label": "13";
3207
+ "value": "clock";
3208
+ "label": "clock";
3479
3209
  }, {
3480
- "value": "14";
3481
- "label": "14";
3210
+ "value": "close-circle";
3211
+ "label": "close-circle";
3482
3212
  }, {
3483
- "value": "15";
3484
- "label": "15";
3213
+ "value": "close-square";
3214
+ "label": "close-square";
3485
3215
  }, {
3486
- "value": "16";
3487
- "label": "16";
3216
+ "value": "close";
3217
+ "label": "close";
3488
3218
  }, {
3489
- "value": "17";
3490
- "label": "17";
3219
+ "value": "code";
3220
+ "label": "code";
3491
3221
  }, {
3492
- "value": "18";
3493
- "label": "18";
3222
+ "value": "coffee";
3223
+ "label": "coffee";
3494
3224
  }, {
3495
- "value": "19";
3496
- "label": "19";
3225
+ "value": "command";
3226
+ "label": "command";
3497
3227
  }, {
3498
- "value": "20";
3499
- "label": "20";
3228
+ "value": "corner-down-left";
3229
+ "label": "corner-down-left";
3500
3230
  }, {
3501
- "value": "21";
3502
- "label": "21";
3231
+ "value": "corner-down-right";
3232
+ "label": "corner-down-right";
3503
3233
  }, {
3504
- "value": "22";
3505
- "label": "22";
3234
+ "value": "corner-left-down";
3235
+ "label": "corner-left-down";
3506
3236
  }, {
3507
- "value": "23";
3508
- "label": "23";
3237
+ "value": "corner-left-up";
3238
+ "label": "corner-left-up";
3509
3239
  }, {
3510
- "value": "24";
3511
- "label": "24";
3240
+ "value": "corner-right-down";
3241
+ "label": "corner-right-down";
3512
3242
  }, {
3513
- "value": "25";
3514
- "label": "25";
3243
+ "value": "corner-right-up";
3244
+ "label": "corner-right-up";
3515
3245
  }, {
3516
- "value": "26";
3517
- "label": "26";
3246
+ "value": "corner-up-left";
3247
+ "label": "corner-up-left";
3518
3248
  }, {
3519
- "value": "27";
3520
- "label": "27";
3249
+ "value": "corner-up-right";
3250
+ "label": "corner-up-right";
3521
3251
  }, {
3522
- "value": "28";
3523
- "label": "28";
3252
+ "value": "crop";
3253
+ "label": "crop";
3524
3254
  }, {
3525
- "value": "29";
3526
- "label": "29";
3255
+ "value": "cube";
3256
+ "label": "cube";
3527
3257
  }, {
3528
- "value": "30";
3529
- "label": "30";
3258
+ "value": "delete";
3259
+ "label": "delete";
3530
3260
  }, {
3531
- "value": "31";
3532
- "label": "31";
3533
- }];
3534
- };
3535
- };
3536
- /** . */
3537
- 'repeatsUntil': {
3538
- type: 'dateTime';
3539
- options: undefined;
3540
- };
3541
- /** . */
3542
- 'occurrences': {
3543
- type: 'number';
3544
- options: undefined;
3545
- };
3546
- /** . */
3547
- 'interval': {
3548
- type: 'number';
3549
- options: undefined;
3550
- };
3551
- /** . */
3552
- 'nthOccurrences': {
3553
- type: 'number';
3554
- isArray: true;
3555
- options: undefined;
3556
- };
3557
- /** . */
3558
- 'exclusionDates': {
3559
- type: 'schema';
3560
- isArray: true;
3561
- options: {
3562
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDateSchema;
3563
- };
3564
- };
3565
- /** . */
3566
- 'dateDeleted': {
3567
- type: 'dateTime';
3568
- options: undefined;
3569
- };
3570
- /** . */
3571
- 'nthInRepeating': {
3572
- type: 'number';
3573
- options: undefined;
3574
- };
3575
- /** . */
3576
- 'totalInRepeating': {
3577
- type: 'number';
3578
- options: undefined;
3579
- };
3580
- /** . */
3581
- 'meta': {
3582
- type: 'raw';
3583
- options: {
3584
- valueType: `Record<string, any>`;
3585
- };
3586
- };
3587
- /** . */
3588
- 'venue': {
3589
- type: 'schema';
3590
- options: {
3591
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.VenueSchema;
3592
- };
3593
- };
3594
- /** . */
3595
- 'addToExclusionDates': {
3596
- type: 'schema';
3597
- isArray: true;
3598
- options: {
3599
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDateSchema;
3600
- };
3601
- };
3602
- /** . */
3603
- 'dateToUpdate': {
3604
- type: 'number';
3605
- options: undefined;
3606
- };
3607
- /** . */
3608
- 'shouldUpdateAllEventsGoingForward': {
3609
- type: 'boolean';
3610
- options: undefined;
3611
- };
3612
- /** . It will show on this person's calendar going forward! */
3613
- 'newTargetPersonId': {
3614
- type: 'id';
3615
- hint: 'It will show on this person\'s calendar going forward!';
3616
- options: undefined;
3617
- };
3618
- };
3619
- }
3620
- interface UpdateCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayloadSchema> {
3621
- }
3622
- }
3623
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3624
- interface UpdateCalendarEventEmitTargetAndPayload {
3625
- /** Source. */
3626
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
3627
- 'target': SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTarget;
3628
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayload | undefined | null;
3629
- }
3630
- interface UpdateCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
3631
- id: 'updateCalendarEventEmitTargetAndPayload';
3632
- version: 'v2021_05_19';
3633
- namespace: 'Calendar';
3634
- name: '';
3635
- fields: {
3636
- /** Source. */
3637
- 'source': {
3638
- label: 'Source';
3639
- type: 'schema';
3640
- options: {
3641
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
3642
- };
3643
- };
3644
- /** . */
3645
- 'target': {
3646
- type: 'schema';
3647
- isRequired: true;
3648
- options: {
3649
- schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetSchema;
3650
- };
3651
- };
3652
- /** . */
3653
- 'payload': {
3654
- type: 'schema';
3655
- options: {
3656
- schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayloadSchema;
3657
- };
3658
- };
3659
- };
3660
- }
3661
- interface UpdateCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetAndPayloadSchema> {
3662
- }
3663
- }
3664
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3665
- interface UpdateCalendarEventResponsePayload {
3666
- 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
3667
- }
3668
- interface UpdateCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
3669
- id: 'updateCalendarEventResponsePayload';
3670
- version: 'v2021_05_19';
3671
- namespace: 'Calendar';
3672
- name: '';
3673
- fields: {
3674
- /** . */
3675
- 'calendarEvent': {
3676
- type: 'schema';
3677
- isRequired: true;
3678
- options: {
3679
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
3680
- };
3681
- };
3682
- };
3683
- }
3684
- interface UpdateCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventResponsePayloadSchema> {
3685
- }
3686
- }
3687
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3688
- interface UpdatePreferencesEmitTarget {
3689
- 'organizationId': string;
3690
- }
3691
- interface UpdatePreferencesEmitTargetSchema extends SpruceSchema.Schema {
3692
- id: 'updatePreferencesEmitTarget';
3693
- version: 'v2021_05_19';
3694
- namespace: 'Calendar';
3695
- name: '';
3696
- fields: {
3697
- /** . */
3698
- 'organizationId': {
3699
- type: 'id';
3700
- isRequired: true;
3701
- options: undefined;
3702
- };
3703
- };
3704
- }
3705
- interface UpdatePreferencesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetSchema> {
3706
- }
3707
- }
3708
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3709
- interface UpdatePreferencesEmitPayload {
3710
- 'selectedCalendarIds'?: string[] | undefined | null;
3711
- 'visiblePeopleMode'?: ("me" | "working" | "custom") | undefined | null;
3712
- 'visiblePeopleIds'?: string[] | undefined | null;
3713
- }
3714
- interface UpdatePreferencesEmitPayloadSchema extends SpruceSchema.Schema {
3715
- id: 'updatePreferencesEmitPayload';
3716
- version: 'v2021_05_19';
3717
- namespace: 'Calendar';
3718
- name: '';
3719
- fields: {
3720
- /** . */
3721
- 'selectedCalendarIds': {
3722
- type: 'id';
3723
- isArray: true;
3724
- minArrayLength: 0;
3725
- options: undefined;
3726
- };
3727
- /** . */
3728
- 'visiblePeopleMode': {
3729
- type: 'select';
3730
- options: {
3731
- choices: [{
3732
- "value": "me";
3733
- "label": "Me";
3734
- }, {
3735
- "value": "working";
3736
- "label": "Working";
3261
+ "value": "document-blank";
3262
+ "label": "document-blank";
3737
3263
  }, {
3738
- "value": "custom";
3739
- "label": "Custom";
3740
- }];
3741
- };
3742
- };
3743
- /** . */
3744
- 'visiblePeopleIds': {
3745
- type: 'text';
3746
- isArray: true;
3747
- options: undefined;
3748
- };
3749
- };
3750
- }
3751
- interface UpdatePreferencesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayloadSchema> {
3752
- }
3753
- }
3754
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3755
- interface UpdatePreferencesEmitTargetAndPayload {
3756
- /** Source. */
3757
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
3758
- 'target': SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTarget;
3759
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayload | undefined | null;
3760
- }
3761
- interface UpdatePreferencesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
3762
- id: 'updatePreferencesEmitTargetAndPayload';
3763
- version: 'v2021_05_19';
3764
- namespace: 'Calendar';
3765
- name: '';
3766
- fields: {
3767
- /** Source. */
3768
- 'source': {
3769
- label: 'Source';
3770
- type: 'schema';
3771
- options: {
3772
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
3773
- };
3774
- };
3775
- /** . */
3776
- 'target': {
3777
- type: 'schema';
3778
- isRequired: true;
3779
- options: {
3780
- schema: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetSchema;
3781
- };
3782
- };
3783
- /** . */
3784
- 'payload': {
3785
- type: 'schema';
3786
- options: {
3787
- schema: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayloadSchema;
3788
- };
3789
- };
3790
- };
3791
- }
3792
- interface UpdatePreferencesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetAndPayloadSchema> {
3793
- }
3794
- }
3795
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3796
- interface UpdatePreferencesResponsePayload {
3797
- 'success': boolean;
3798
- }
3799
- interface UpdatePreferencesResponsePayloadSchema extends SpruceSchema.Schema {
3800
- id: 'updatePreferencesResponsePayload';
3801
- version: 'v2021_05_19';
3802
- namespace: 'Calendar';
3803
- name: '';
3804
- fields: {
3805
- /** . */
3806
- 'success': {
3807
- type: 'boolean';
3808
- isRequired: true;
3809
- options: undefined;
3810
- };
3811
- };
3812
- }
3813
- interface UpdatePreferencesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesResponsePayloadSchema> {
3814
- }
3815
- }
3816
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3817
- interface UpsertCalendarEventTypeEmitTarget {
3818
- 'slug': string;
3819
- }
3820
- interface UpsertCalendarEventTypeEmitTargetSchema extends SpruceSchema.Schema {
3821
- id: 'upsertCalendarEventTypeEmitTarget';
3822
- version: 'v2021_05_19';
3823
- namespace: 'Calendar';
3824
- name: '';
3825
- fields: {
3826
- /** . */
3827
- 'slug': {
3828
- type: 'text';
3829
- isRequired: true;
3830
- options: undefined;
3831
- };
3832
- };
3833
- }
3834
- interface UpsertCalendarEventTypeEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTargetSchema> {
3835
- }
3836
- }
3837
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3838
- interface UpsertCalendarEventTypeEmitPayload {
3839
- 'name'?: string | undefined | null;
3840
- 'slug'?: string | undefined | null;
3841
- 'viewControllerId'?: string | undefined | null;
3842
- 'lineIcon'?: ("add-circle" | "add-square" | "add" | "alarm" | "arrow-back" | "arrow-down-circle" | "arrow-down" | "arrow-next" | "arrow-up-circle" | "arrow-up" | "attachment" | "award-badge" | "binoculars" | "bolt" | "book-open" | "book" | "bookmark" | "calendar-add" | "calendar" | "camera" | "cellphone" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clipboard" | "clock" | "close-circle" | "close-square" | "close" | "code" | "coffee" | "command" | "corner-down-left" | "corner-down-right" | "corner-left-down" | "corner-left-up" | "corner-right-down" | "corner-right-up" | "corner-up-left" | "corner-up-right" | "crop" | "cube" | "delete" | "document-blank" | "document-new" | "document-text" | "download-cloud" | "download" | "edit-box" | "edit-line" | "email" | "emoji-happy" | "emoji-sad" | "external-link" | "fav-heart" | "flag" | "flip-01" | "flip-02" | "folder" | "globe" | "hash-tag" | "headphones" | "help-buoy" | "help-circle" | "home" | "info" | "jump" | "layers" | "bar-graph" | "link-angle" | "link-flat" | "loader" | "location-pin" | "lock" | "logout" | "map" | "message-circle" | "message-square" | "mic-off" | "mic-on" | "minus-circle" | "minus-square" | "money-sign" | "more-horizontal" | "more-vertical" | "notification-off" | "notification-on" | "object" | "pause-circle" | "phone-unavailable" | "phone" | "photo" | "picked" | "pie-chart" | "play-circle" | "present" | "refresh-circle" | "refresh" | "repeat" | "restricted" | "rotate" | "search-no" | "search" | "selector-checked" | "selector-circle-filled" | "selector-circle" | "send" | "settings-filled" | "settings" | "share" | "shopping-bag" | "shopping-cart" | "sort-filter-down" | "sort-filter-up" | "sound-off" | "sound-on" | "sprucebot" | "star-filled" | "star" | "sun" | "tag" | "time" | "tool" | "trending-down" | "trending-up" | "triangle" | "unlock" | "upload-cloud" | "upload" | "user-add" | "user-delete" | "user" | "users" | "video-off" | "video" | "warning" | "wifi" | "zoom-in" | "zoom-out") | undefined | null;
3843
- }
3844
- interface UpsertCalendarEventTypeEmitPayloadSchema extends SpruceSchema.Schema {
3845
- id: 'upsertCalendarEventTypeEmitPayload';
3846
- version: 'v2021_05_19';
3847
- namespace: 'Calendar';
3848
- name: '';
3849
- fields: {
3850
- /** . */
3851
- 'name': {
3852
- type: 'text';
3853
- options: undefined;
3854
- };
3855
- /** . */
3856
- 'slug': {
3857
- type: 'text';
3858
- options: undefined;
3859
- };
3860
- /** . */
3861
- 'viewControllerId': {
3862
- type: 'id';
3863
- options: undefined;
3864
- };
3865
- /** . */
3866
- 'lineIcon': {
3867
- type: 'select';
3868
- options: {
3869
- choices: [{
3870
- "value": "add-circle";
3871
- "label": "add-circle";
3264
+ "value": "document-new";
3265
+ "label": "document-new";
3872
3266
  }, {
3873
- "value": "add-square";
3874
- "label": "add-square";
3267
+ "value": "document-text";
3268
+ "label": "document-text";
3875
3269
  }, {
3876
- "value": "add";
3877
- "label": "add";
3270
+ "value": "download-cloud";
3271
+ "label": "download-cloud";
3878
3272
  }, {
3879
- "value": "alarm";
3880
- "label": "alarm";
3273
+ "value": "download";
3274
+ "label": "download";
3881
3275
  }, {
3882
- "value": "arrow-back";
3883
- "label": "arrow-back";
3276
+ "value": "edit-box";
3277
+ "label": "edit-box";
3884
3278
  }, {
3885
- "value": "arrow-down-circle";
3886
- "label": "arrow-down-circle";
3279
+ "value": "edit-line";
3280
+ "label": "edit-line";
3887
3281
  }, {
3888
- "value": "arrow-down";
3889
- "label": "arrow-down";
3282
+ "value": "email";
3283
+ "label": "email";
3890
3284
  }, {
3891
- "value": "arrow-next";
3892
- "label": "arrow-next";
3285
+ "value": "emoji-happy";
3286
+ "label": "emoji-happy";
3893
3287
  }, {
3894
- "value": "arrow-up-circle";
3895
- "label": "arrow-up-circle";
3288
+ "value": "emoji-sad";
3289
+ "label": "emoji-sad";
3896
3290
  }, {
3897
- "value": "arrow-up";
3898
- "label": "arrow-up";
3291
+ "value": "external-link";
3292
+ "label": "external-link";
3899
3293
  }, {
3900
- "value": "attachment";
3901
- "label": "attachment";
3294
+ "value": "fav-heart";
3295
+ "label": "fav-heart";
3902
3296
  }, {
3903
- "value": "award-badge";
3904
- "label": "award-badge";
3297
+ "value": "flag";
3298
+ "label": "flag";
3905
3299
  }, {
3906
- "value": "binoculars";
3907
- "label": "binoculars";
3300
+ "value": "flip-01";
3301
+ "label": "flip-01";
3908
3302
  }, {
3909
- "value": "bolt";
3910
- "label": "bolt";
3303
+ "value": "flip-02";
3304
+ "label": "flip-02";
3911
3305
  }, {
3912
- "value": "book-open";
3913
- "label": "book-open";
3306
+ "value": "folder";
3307
+ "label": "folder";
3914
3308
  }, {
3915
- "value": "book";
3916
- "label": "book";
3309
+ "value": "globe";
3310
+ "label": "globe";
3917
3311
  }, {
3918
- "value": "bookmark";
3919
- "label": "bookmark";
3312
+ "value": "hash-tag";
3313
+ "label": "hash-tag";
3920
3314
  }, {
3921
- "value": "calendar-add";
3922
- "label": "calendar-add";
3315
+ "value": "headphones";
3316
+ "label": "headphones";
3923
3317
  }, {
3924
- "value": "calendar";
3925
- "label": "calendar";
3318
+ "value": "help-buoy";
3319
+ "label": "help-buoy";
3926
3320
  }, {
3927
- "value": "camera";
3928
- "label": "camera";
3929
- }, {
3930
- "value": "cellphone";
3931
- "label": "cellphone";
3932
- }, {
3933
- "value": "checkmark";
3934
- "label": "checkmark";
3935
- }, {
3936
- "value": "chevron-down";
3937
- "label": "chevron-down";
3938
- }, {
3939
- "value": "chevron-left";
3940
- "label": "chevron-left";
3941
- }, {
3942
- "value": "chevron-right";
3943
- "label": "chevron-right";
3944
- }, {
3945
- "value": "chevron-up";
3946
- "label": "chevron-up";
3947
- }, {
3948
- "value": "clipboard";
3949
- "label": "clipboard";
3950
- }, {
3951
- "value": "clock";
3952
- "label": "clock";
3953
- }, {
3954
- "value": "close-circle";
3955
- "label": "close-circle";
3956
- }, {
3957
- "value": "close-square";
3958
- "label": "close-square";
3959
- }, {
3960
- "value": "close";
3961
- "label": "close";
3962
- }, {
3963
- "value": "code";
3964
- "label": "code";
3965
- }, {
3966
- "value": "coffee";
3967
- "label": "coffee";
3968
- }, {
3969
- "value": "command";
3970
- "label": "command";
3971
- }, {
3972
- "value": "corner-down-left";
3973
- "label": "corner-down-left";
3974
- }, {
3975
- "value": "corner-down-right";
3976
- "label": "corner-down-right";
3977
- }, {
3978
- "value": "corner-left-down";
3979
- "label": "corner-left-down";
3980
- }, {
3981
- "value": "corner-left-up";
3982
- "label": "corner-left-up";
3983
- }, {
3984
- "value": "corner-right-down";
3985
- "label": "corner-right-down";
3986
- }, {
3987
- "value": "corner-right-up";
3988
- "label": "corner-right-up";
3989
- }, {
3990
- "value": "corner-up-left";
3991
- "label": "corner-up-left";
3992
- }, {
3993
- "value": "corner-up-right";
3994
- "label": "corner-up-right";
3995
- }, {
3996
- "value": "crop";
3997
- "label": "crop";
3998
- }, {
3999
- "value": "cube";
4000
- "label": "cube";
4001
- }, {
4002
- "value": "delete";
4003
- "label": "delete";
4004
- }, {
4005
- "value": "document-blank";
4006
- "label": "document-blank";
4007
- }, {
4008
- "value": "document-new";
4009
- "label": "document-new";
4010
- }, {
4011
- "value": "document-text";
4012
- "label": "document-text";
4013
- }, {
4014
- "value": "download-cloud";
4015
- "label": "download-cloud";
4016
- }, {
4017
- "value": "download";
4018
- "label": "download";
4019
- }, {
4020
- "value": "edit-box";
4021
- "label": "edit-box";
4022
- }, {
4023
- "value": "edit-line";
4024
- "label": "edit-line";
4025
- }, {
4026
- "value": "email";
4027
- "label": "email";
4028
- }, {
4029
- "value": "emoji-happy";
4030
- "label": "emoji-happy";
4031
- }, {
4032
- "value": "emoji-sad";
4033
- "label": "emoji-sad";
4034
- }, {
4035
- "value": "external-link";
4036
- "label": "external-link";
4037
- }, {
4038
- "value": "fav-heart";
4039
- "label": "fav-heart";
4040
- }, {
4041
- "value": "flag";
4042
- "label": "flag";
4043
- }, {
4044
- "value": "flip-01";
4045
- "label": "flip-01";
4046
- }, {
4047
- "value": "flip-02";
4048
- "label": "flip-02";
4049
- }, {
4050
- "value": "folder";
4051
- "label": "folder";
4052
- }, {
4053
- "value": "globe";
4054
- "label": "globe";
4055
- }, {
4056
- "value": "hash-tag";
4057
- "label": "hash-tag";
4058
- }, {
4059
- "value": "headphones";
4060
- "label": "headphones";
4061
- }, {
4062
- "value": "help-buoy";
4063
- "label": "help-buoy";
4064
- }, {
4065
- "value": "help-circle";
4066
- "label": "help-circle";
3321
+ "value": "help-circle";
3322
+ "label": "help-circle";
4067
3323
  }, {
4068
3324
  "value": "home";
4069
3325
  "label": "home";
@@ -4149,163 +3405,907 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4149
3405
  "value": "photo";
4150
3406
  "label": "photo";
4151
3407
  }, {
4152
- "value": "picked";
4153
- "label": "picked";
3408
+ "value": "picked";
3409
+ "label": "picked";
3410
+ }, {
3411
+ "value": "pie-chart";
3412
+ "label": "pie-chart";
3413
+ }, {
3414
+ "value": "play-circle";
3415
+ "label": "play-circle";
3416
+ }, {
3417
+ "value": "present";
3418
+ "label": "present";
3419
+ }, {
3420
+ "value": "refresh-circle";
3421
+ "label": "refresh-circle";
3422
+ }, {
3423
+ "value": "refresh";
3424
+ "label": "refresh";
3425
+ }, {
3426
+ "value": "repeat";
3427
+ "label": "repeat";
3428
+ }, {
3429
+ "value": "restricted";
3430
+ "label": "restricted";
3431
+ }, {
3432
+ "value": "rotate";
3433
+ "label": "rotate";
3434
+ }, {
3435
+ "value": "search-no";
3436
+ "label": "search-no";
3437
+ }, {
3438
+ "value": "search";
3439
+ "label": "search";
3440
+ }, {
3441
+ "value": "selector-checked";
3442
+ "label": "selector-checked";
3443
+ }, {
3444
+ "value": "selector-circle-filled";
3445
+ "label": "selector-circle-filled";
3446
+ }, {
3447
+ "value": "selector-circle";
3448
+ "label": "selector-circle";
3449
+ }, {
3450
+ "value": "send";
3451
+ "label": "send";
3452
+ }, {
3453
+ "value": "settings-filled";
3454
+ "label": "settings-filled";
3455
+ }, {
3456
+ "value": "settings";
3457
+ "label": "settings";
3458
+ }, {
3459
+ "value": "share";
3460
+ "label": "share";
3461
+ }, {
3462
+ "value": "shopping-bag";
3463
+ "label": "shopping-bag";
3464
+ }, {
3465
+ "value": "shopping-cart";
3466
+ "label": "shopping-cart";
3467
+ }, {
3468
+ "value": "sort-filter-down";
3469
+ "label": "sort-filter-down";
3470
+ }, {
3471
+ "value": "sort-filter-up";
3472
+ "label": "sort-filter-up";
3473
+ }, {
3474
+ "value": "sound-off";
3475
+ "label": "sound-off";
3476
+ }, {
3477
+ "value": "sound-on";
3478
+ "label": "sound-on";
3479
+ }, {
3480
+ "value": "sprucebot";
3481
+ "label": "sprucebot";
3482
+ }, {
3483
+ "value": "star-filled";
3484
+ "label": "star-filled";
3485
+ }, {
3486
+ "value": "star";
3487
+ "label": "star";
3488
+ }, {
3489
+ "value": "sun";
3490
+ "label": "sun";
3491
+ }, {
3492
+ "value": "tag";
3493
+ "label": "tag";
3494
+ }, {
3495
+ "value": "time";
3496
+ "label": "time";
3497
+ }, {
3498
+ "value": "tool";
3499
+ "label": "tool";
3500
+ }, {
3501
+ "value": "trending-down";
3502
+ "label": "trending-down";
3503
+ }, {
3504
+ "value": "trending-up";
3505
+ "label": "trending-up";
3506
+ }, {
3507
+ "value": "triangle";
3508
+ "label": "triangle";
3509
+ }, {
3510
+ "value": "unlock";
3511
+ "label": "unlock";
3512
+ }, {
3513
+ "value": "upload-cloud";
3514
+ "label": "upload-cloud";
3515
+ }, {
3516
+ "value": "upload";
3517
+ "label": "upload";
3518
+ }, {
3519
+ "value": "user-add";
3520
+ "label": "user-add";
3521
+ }, {
3522
+ "value": "user-delete";
3523
+ "label": "user-delete";
3524
+ }, {
3525
+ "value": "user";
3526
+ "label": "user";
3527
+ }, {
3528
+ "value": "users";
3529
+ "label": "users";
3530
+ }, {
3531
+ "value": "video-off";
3532
+ "label": "video-off";
3533
+ }, {
3534
+ "value": "video";
3535
+ "label": "video";
3536
+ }, {
3537
+ "value": "warning";
3538
+ "label": "warning";
3539
+ }, {
3540
+ "value": "wifi";
3541
+ "label": "wifi";
3542
+ }, {
3543
+ "value": "zoom-in";
3544
+ "label": "zoom-in";
3545
+ }, {
3546
+ "value": "zoom-out";
3547
+ "label": "zoom-out";
3548
+ }];
3549
+ };
3550
+ };
3551
+ };
3552
+ }
3553
+ interface UpsertCalendarEventTypeEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitPayloadSchema> {
3554
+ }
3555
+ }
3556
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
3557
+ interface UpsertCalendarEventTypeEmitTargetAndPayload {
3558
+ /** Source. */
3559
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
3560
+ 'target': SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTarget;
3561
+ 'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitPayload | undefined | null;
3562
+ }
3563
+ interface UpsertCalendarEventTypeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
3564
+ id: 'upsertCalendarEventTypeEmitTargetAndPayload';
3565
+ version: 'v2021_05_19';
3566
+ namespace: 'Calendar';
3567
+ name: '';
3568
+ fields: {
3569
+ /** Source. */
3570
+ 'source': {
3571
+ label: 'Source';
3572
+ type: 'schema';
3573
+ options: {
3574
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
3575
+ };
3576
+ };
3577
+ /** . */
3578
+ 'target': {
3579
+ type: 'schema';
3580
+ isRequired: true;
3581
+ options: {
3582
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTargetSchema;
3583
+ };
3584
+ };
3585
+ /** . */
3586
+ 'payload': {
3587
+ type: 'schema';
3588
+ options: {
3589
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitPayloadSchema;
3590
+ };
3591
+ };
3592
+ };
3593
+ }
3594
+ interface UpsertCalendarEventTypeEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTargetAndPayloadSchema> {
3595
+ }
3596
+ }
3597
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
3598
+ interface UpsertCalendarEventTypeResponsePayload {
3599
+ 'calendarEventType': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType;
3600
+ }
3601
+ interface UpsertCalendarEventTypeResponsePayloadSchema extends SpruceSchema.Schema {
3602
+ id: 'upsertCalendarEventTypeResponsePayload';
3603
+ version: 'v2021_05_19';
3604
+ namespace: 'Calendar';
3605
+ name: '';
3606
+ fields: {
3607
+ /** . */
3608
+ 'calendarEventType': {
3609
+ type: 'schema';
3610
+ isRequired: true;
3611
+ options: {
3612
+ schema: SpruceSchemas.Calendar.v2021_05_19.CalendarEventTypeSchema;
3613
+ };
3614
+ };
3615
+ };
3616
+ }
3617
+ interface UpsertCalendarEventTypeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeResponsePayloadSchema> {
3618
+ }
3619
+ }
3620
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
3621
+ interface UpdatePreferencesEmitTarget {
3622
+ 'organizationId': string;
3623
+ }
3624
+ interface UpdatePreferencesEmitTargetSchema extends SpruceSchema.Schema {
3625
+ id: 'updatePreferencesEmitTarget';
3626
+ version: 'v2021_05_19';
3627
+ namespace: 'Calendar';
3628
+ name: '';
3629
+ fields: {
3630
+ /** . */
3631
+ 'organizationId': {
3632
+ type: 'id';
3633
+ isRequired: true;
3634
+ options: undefined;
3635
+ };
3636
+ };
3637
+ }
3638
+ interface UpdatePreferencesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetSchema> {
3639
+ }
3640
+ }
3641
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
3642
+ interface UpdatePreferencesEmitPayload {
3643
+ 'selectedCalendarIds'?: string[] | undefined | null;
3644
+ 'visiblePeopleMode'?: ("me" | "working" | "custom") | undefined | null;
3645
+ 'visiblePeopleIds'?: string[] | undefined | null;
3646
+ }
3647
+ interface UpdatePreferencesEmitPayloadSchema extends SpruceSchema.Schema {
3648
+ id: 'updatePreferencesEmitPayload';
3649
+ version: 'v2021_05_19';
3650
+ namespace: 'Calendar';
3651
+ name: '';
3652
+ fields: {
3653
+ /** . */
3654
+ 'selectedCalendarIds': {
3655
+ type: 'id';
3656
+ isArray: true;
3657
+ minArrayLength: 0;
3658
+ options: undefined;
3659
+ };
3660
+ /** . */
3661
+ 'visiblePeopleMode': {
3662
+ type: 'select';
3663
+ options: {
3664
+ choices: [{
3665
+ "value": "me";
3666
+ "label": "Me";
3667
+ }, {
3668
+ "value": "working";
3669
+ "label": "Working";
3670
+ }, {
3671
+ "value": "custom";
3672
+ "label": "Custom";
3673
+ }];
3674
+ };
3675
+ };
3676
+ /** . */
3677
+ 'visiblePeopleIds': {
3678
+ type: 'text';
3679
+ isArray: true;
3680
+ options: undefined;
3681
+ };
3682
+ };
3683
+ }
3684
+ interface UpdatePreferencesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayloadSchema> {
3685
+ }
3686
+ }
3687
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
3688
+ interface UpdatePreferencesEmitTargetAndPayload {
3689
+ /** Source. */
3690
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
3691
+ 'target': SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTarget;
3692
+ 'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayload | undefined | null;
3693
+ }
3694
+ interface UpdatePreferencesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
3695
+ id: 'updatePreferencesEmitTargetAndPayload';
3696
+ version: 'v2021_05_19';
3697
+ namespace: 'Calendar';
3698
+ name: '';
3699
+ fields: {
3700
+ /** Source. */
3701
+ 'source': {
3702
+ label: 'Source';
3703
+ type: 'schema';
3704
+ options: {
3705
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
3706
+ };
3707
+ };
3708
+ /** . */
3709
+ 'target': {
3710
+ type: 'schema';
3711
+ isRequired: true;
3712
+ options: {
3713
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetSchema;
3714
+ };
3715
+ };
3716
+ /** . */
3717
+ 'payload': {
3718
+ type: 'schema';
3719
+ options: {
3720
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayloadSchema;
3721
+ };
3722
+ };
3723
+ };
3724
+ }
3725
+ interface UpdatePreferencesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetAndPayloadSchema> {
3726
+ }
3727
+ }
3728
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
3729
+ interface UpdatePreferencesResponsePayload {
3730
+ 'success': boolean;
3731
+ }
3732
+ interface UpdatePreferencesResponsePayloadSchema extends SpruceSchema.Schema {
3733
+ id: 'updatePreferencesResponsePayload';
3734
+ version: 'v2021_05_19';
3735
+ namespace: 'Calendar';
3736
+ name: '';
3737
+ fields: {
3738
+ /** . */
3739
+ 'success': {
3740
+ type: 'boolean';
3741
+ isRequired: true;
3742
+ options: undefined;
3743
+ };
3744
+ };
3745
+ }
3746
+ interface UpdatePreferencesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesResponsePayloadSchema> {
3747
+ }
3748
+ }
3749
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
3750
+ interface UpdateCalendarEventEmitTarget {
3751
+ 'organizationId'?: string | undefined | null;
3752
+ 'locationId'?: string | undefined | null;
3753
+ 'calendarEventId': string;
3754
+ 'calendarEventPersonId': string;
3755
+ }
3756
+ interface UpdateCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
3757
+ id: 'updateCalendarEventEmitTarget';
3758
+ version: 'v2021_05_19';
3759
+ namespace: 'Calendar';
3760
+ name: '';
3761
+ fields: {
3762
+ /** . */
3763
+ 'organizationId': {
3764
+ type: 'id';
3765
+ options: undefined;
3766
+ };
3767
+ /** . */
3768
+ 'locationId': {
3769
+ type: 'id';
3770
+ options: undefined;
3771
+ };
3772
+ /** . */
3773
+ 'calendarEventId': {
3774
+ type: 'id';
3775
+ isRequired: true;
3776
+ options: undefined;
3777
+ };
3778
+ /** . */
3779
+ 'calendarEventPersonId': {
3780
+ type: 'id';
3781
+ isRequired: true;
3782
+ options: undefined;
3783
+ };
3784
+ };
3785
+ }
3786
+ interface UpdateCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetSchema> {
3787
+ }
3788
+ }
3789
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
3790
+ interface UpdateCalendarEventEmitTargetAndPayload {
3791
+ /** Source. */
3792
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
3793
+ 'target': SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTarget;
3794
+ 'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayload | undefined | null;
3795
+ }
3796
+ interface UpdateCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
3797
+ id: 'updateCalendarEventEmitTargetAndPayload';
3798
+ version: 'v2021_05_19';
3799
+ namespace: 'Calendar';
3800
+ name: '';
3801
+ fields: {
3802
+ /** Source. */
3803
+ 'source': {
3804
+ label: 'Source';
3805
+ type: 'schema';
3806
+ options: {
3807
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
3808
+ };
3809
+ };
3810
+ /** . */
3811
+ 'target': {
3812
+ type: 'schema';
3813
+ isRequired: true;
3814
+ options: {
3815
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetSchema;
3816
+ };
3817
+ };
3818
+ /** . */
3819
+ 'payload': {
3820
+ type: 'schema';
3821
+ options: {
3822
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayloadSchema;
3823
+ };
3824
+ };
3825
+ };
3826
+ }
3827
+ interface UpdateCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetAndPayloadSchema> {
3828
+ }
3829
+ }
3830
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
3831
+ interface UpdateCalendarEventEmitPayload {
3832
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
3833
+ 'target'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventTarget | undefined | null;
3834
+ 'calendarId'?: string | undefined | null;
3835
+ 'eventTypeSlug'?: string | undefined | null;
3836
+ 'startDateTimeMs'?: SpruceSchema.DateTimeFieldValue | undefined | null;
3837
+ 'isBusy'?: boolean | undefined | null;
3838
+ 'isResizeable'?: boolean | undefined | null;
3839
+ 'style'?: ("draft" | "tentative" | "upcoming" | "unavailable" | "blocked" | "active" | "past" | "warn" | "critical") | undefined | null;
3840
+ 'groupId'?: string | undefined | null;
3841
+ 'timeBlocks'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventTimeBlock[] | undefined | null;
3842
+ 'repeats'?: ("weekly" | "monthly" | "daily") | undefined | null;
3843
+ 'daysOfWeek'?: ("sun" | "mon" | "tue" | "wed" | "thur" | "fri" | "sat")[] | undefined | null;
3844
+ '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;
3845
+ 'repeatsUntil'?: SpruceSchema.DateTimeFieldValue | undefined | null;
3846
+ 'occurrences'?: number | undefined | null;
3847
+ 'interval'?: number | undefined | null;
3848
+ 'nthOccurrences'?: number[] | undefined | null;
3849
+ 'exclusionDates'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDate[] | undefined | null;
3850
+ 'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
3851
+ 'nthInRepeating'?: number | undefined | null;
3852
+ 'totalInRepeating'?: number | undefined | null;
3853
+ 'meta'?: (Record<string, any>) | undefined | null;
3854
+ 'venue'?: SpruceSchemas.CalendarUtils.v2021_05_19.Venue | undefined | null;
3855
+ 'addToExclusionDates'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDate[] | undefined | null;
3856
+ 'dateToUpdate'?: number | undefined | null;
3857
+ 'shouldUpdateAllEventsGoingForward'?: boolean | undefined | null;
3858
+ /** . It will show on this person's calendar going forward! */
3859
+ 'newTargetPersonId'?: string | undefined | null;
3860
+ }
3861
+ interface UpdateCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
3862
+ id: 'updateCalendarEventEmitPayload';
3863
+ version: 'v2021_05_19';
3864
+ namespace: 'Calendar';
3865
+ name: '';
3866
+ fields: {
3867
+ /** . */
3868
+ 'source': {
3869
+ type: 'schema';
3870
+ options: {
3871
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
3872
+ };
3873
+ };
3874
+ /** . */
3875
+ 'target': {
3876
+ type: 'schema';
3877
+ options: {
3878
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventTargetSchema;
3879
+ };
3880
+ };
3881
+ /** . */
3882
+ 'calendarId': {
3883
+ type: 'id';
3884
+ options: undefined;
3885
+ };
3886
+ /** . */
3887
+ 'eventTypeSlug': {
3888
+ type: 'text';
3889
+ options: undefined;
3890
+ };
3891
+ /** . */
3892
+ 'startDateTimeMs': {
3893
+ type: 'dateTime';
3894
+ options: undefined;
3895
+ };
3896
+ /** . */
3897
+ 'isBusy': {
3898
+ type: 'boolean';
3899
+ options: undefined;
3900
+ };
3901
+ /** . */
3902
+ 'isResizeable': {
3903
+ type: 'boolean';
3904
+ options: undefined;
3905
+ };
3906
+ /** . */
3907
+ 'style': {
3908
+ type: 'select';
3909
+ options: {
3910
+ choices: [{
3911
+ "value": "draft";
3912
+ "label": "Draft";
3913
+ }, {
3914
+ "value": "tentative";
3915
+ "label": "Tentative";
4154
3916
  }, {
4155
- "value": "pie-chart";
4156
- "label": "pie-chart";
3917
+ "value": "upcoming";
3918
+ "label": "Upcoming";
4157
3919
  }, {
4158
- "value": "play-circle";
4159
- "label": "play-circle";
3920
+ "value": "unavailable";
3921
+ "label": "Unavailable";
4160
3922
  }, {
4161
- "value": "present";
4162
- "label": "present";
3923
+ "value": "blocked";
3924
+ "label": "Blocked";
4163
3925
  }, {
4164
- "value": "refresh-circle";
4165
- "label": "refresh-circle";
3926
+ "value": "active";
3927
+ "label": "Active";
4166
3928
  }, {
4167
- "value": "refresh";
4168
- "label": "refresh";
3929
+ "value": "past";
3930
+ "label": "Past";
4169
3931
  }, {
4170
- "value": "repeat";
4171
- "label": "repeat";
3932
+ "value": "warn";
3933
+ "label": "Warning";
4172
3934
  }, {
4173
- "value": "restricted";
4174
- "label": "restricted";
3935
+ "value": "critical";
3936
+ "label": "Critical";
3937
+ }];
3938
+ };
3939
+ };
3940
+ /** . */
3941
+ 'groupId': {
3942
+ type: 'id';
3943
+ options: undefined;
3944
+ };
3945
+ /** . */
3946
+ 'timeBlocks': {
3947
+ type: 'schema';
3948
+ isArray: true;
3949
+ minArrayLength: 1;
3950
+ options: {
3951
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.EventTimeBlockSchema;
3952
+ };
3953
+ };
3954
+ /** . */
3955
+ 'repeats': {
3956
+ type: 'select';
3957
+ options: {
3958
+ choices: [{
3959
+ "value": "weekly";
3960
+ "label": "Weekly";
4175
3961
  }, {
4176
- "value": "rotate";
4177
- "label": "rotate";
3962
+ "value": "monthly";
3963
+ "label": "Monthly";
4178
3964
  }, {
4179
- "value": "search-no";
4180
- "label": "search-no";
3965
+ "value": "daily";
3966
+ "label": "Daily";
3967
+ }];
3968
+ };
3969
+ };
3970
+ /** . */
3971
+ 'daysOfWeek': {
3972
+ type: 'select';
3973
+ isArray: true;
3974
+ options: {
3975
+ choices: [{
3976
+ "value": "sun";
3977
+ "label": "Sunday";
4181
3978
  }, {
4182
- "value": "search";
4183
- "label": "search";
3979
+ "value": "mon";
3980
+ "label": "Monday";
4184
3981
  }, {
4185
- "value": "selector-checked";
4186
- "label": "selector-checked";
3982
+ "value": "tue";
3983
+ "label": "Tuesday";
4187
3984
  }, {
4188
- "value": "selector-circle-filled";
4189
- "label": "selector-circle-filled";
3985
+ "value": "wed";
3986
+ "label": "Wednesday";
4190
3987
  }, {
4191
- "value": "selector-circle";
4192
- "label": "selector-circle";
3988
+ "value": "thur";
3989
+ "label": "Thursday";
4193
3990
  }, {
4194
- "value": "send";
4195
- "label": "send";
3991
+ "value": "fri";
3992
+ "label": "Friday";
4196
3993
  }, {
4197
- "value": "settings-filled";
4198
- "label": "settings-filled";
3994
+ "value": "sat";
3995
+ "label": "Saturday";
3996
+ }];
3997
+ };
3998
+ };
3999
+ /** . */
4000
+ 'daysOfMonth': {
4001
+ type: 'select';
4002
+ isArray: true;
4003
+ options: {
4004
+ choices: [{
4005
+ "value": "1";
4006
+ "label": "1";
4199
4007
  }, {
4200
- "value": "settings";
4201
- "label": "settings";
4008
+ "value": "2";
4009
+ "label": "2";
4202
4010
  }, {
4203
- "value": "share";
4204
- "label": "share";
4011
+ "value": "3";
4012
+ "label": "3";
4205
4013
  }, {
4206
- "value": "shopping-bag";
4207
- "label": "shopping-bag";
4014
+ "value": "4";
4015
+ "label": "4";
4208
4016
  }, {
4209
- "value": "shopping-cart";
4210
- "label": "shopping-cart";
4017
+ "value": "5";
4018
+ "label": "5";
4211
4019
  }, {
4212
- "value": "sort-filter-down";
4213
- "label": "sort-filter-down";
4020
+ "value": "6";
4021
+ "label": "6";
4214
4022
  }, {
4215
- "value": "sort-filter-up";
4216
- "label": "sort-filter-up";
4023
+ "value": "7";
4024
+ "label": "7";
4217
4025
  }, {
4218
- "value": "sound-off";
4219
- "label": "sound-off";
4026
+ "value": "8";
4027
+ "label": "8";
4220
4028
  }, {
4221
- "value": "sound-on";
4222
- "label": "sound-on";
4029
+ "value": "9";
4030
+ "label": "9";
4223
4031
  }, {
4224
- "value": "sprucebot";
4225
- "label": "sprucebot";
4032
+ "value": "10";
4033
+ "label": "10";
4226
4034
  }, {
4227
- "value": "star-filled";
4228
- "label": "star-filled";
4035
+ "value": "11";
4036
+ "label": "11";
4229
4037
  }, {
4230
- "value": "star";
4231
- "label": "star";
4038
+ "value": "12";
4039
+ "label": "12";
4232
4040
  }, {
4233
- "value": "sun";
4234
- "label": "sun";
4041
+ "value": "13";
4042
+ "label": "13";
4235
4043
  }, {
4236
- "value": "tag";
4237
- "label": "tag";
4044
+ "value": "14";
4045
+ "label": "14";
4238
4046
  }, {
4239
- "value": "time";
4240
- "label": "time";
4047
+ "value": "15";
4048
+ "label": "15";
4241
4049
  }, {
4242
- "value": "tool";
4243
- "label": "tool";
4050
+ "value": "16";
4051
+ "label": "16";
4244
4052
  }, {
4245
- "value": "trending-down";
4246
- "label": "trending-down";
4053
+ "value": "17";
4054
+ "label": "17";
4247
4055
  }, {
4248
- "value": "trending-up";
4249
- "label": "trending-up";
4056
+ "value": "18";
4057
+ "label": "18";
4250
4058
  }, {
4251
- "value": "triangle";
4252
- "label": "triangle";
4059
+ "value": "19";
4060
+ "label": "19";
4253
4061
  }, {
4254
- "value": "unlock";
4255
- "label": "unlock";
4062
+ "value": "20";
4063
+ "label": "20";
4256
4064
  }, {
4257
- "value": "upload-cloud";
4258
- "label": "upload-cloud";
4065
+ "value": "21";
4066
+ "label": "21";
4259
4067
  }, {
4260
- "value": "upload";
4261
- "label": "upload";
4068
+ "value": "22";
4069
+ "label": "22";
4262
4070
  }, {
4263
- "value": "user-add";
4264
- "label": "user-add";
4071
+ "value": "23";
4072
+ "label": "23";
4265
4073
  }, {
4266
- "value": "user-delete";
4267
- "label": "user-delete";
4074
+ "value": "24";
4075
+ "label": "24";
4268
4076
  }, {
4269
- "value": "user";
4270
- "label": "user";
4077
+ "value": "25";
4078
+ "label": "25";
4271
4079
  }, {
4272
- "value": "users";
4273
- "label": "users";
4080
+ "value": "26";
4081
+ "label": "26";
4274
4082
  }, {
4275
- "value": "video-off";
4276
- "label": "video-off";
4083
+ "value": "27";
4084
+ "label": "27";
4277
4085
  }, {
4278
- "value": "video";
4279
- "label": "video";
4086
+ "value": "28";
4087
+ "label": "28";
4280
4088
  }, {
4281
- "value": "warning";
4282
- "label": "warning";
4089
+ "value": "29";
4090
+ "label": "29";
4283
4091
  }, {
4284
- "value": "wifi";
4285
- "label": "wifi";
4092
+ "value": "30";
4093
+ "label": "30";
4286
4094
  }, {
4287
- "value": "zoom-in";
4288
- "label": "zoom-in";
4095
+ "value": "31";
4096
+ "label": "31";
4097
+ }];
4098
+ };
4099
+ };
4100
+ /** . */
4101
+ 'repeatsUntil': {
4102
+ type: 'dateTime';
4103
+ options: undefined;
4104
+ };
4105
+ /** . */
4106
+ 'occurrences': {
4107
+ type: 'number';
4108
+ options: undefined;
4109
+ };
4110
+ /** . */
4111
+ 'interval': {
4112
+ type: 'number';
4113
+ options: undefined;
4114
+ };
4115
+ /** . */
4116
+ 'nthOccurrences': {
4117
+ type: 'number';
4118
+ isArray: true;
4119
+ options: undefined;
4120
+ };
4121
+ /** . */
4122
+ 'exclusionDates': {
4123
+ type: 'schema';
4124
+ isArray: true;
4125
+ options: {
4126
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDateSchema;
4127
+ };
4128
+ };
4129
+ /** . */
4130
+ 'dateDeleted': {
4131
+ type: 'dateTime';
4132
+ options: undefined;
4133
+ };
4134
+ /** . */
4135
+ 'nthInRepeating': {
4136
+ type: 'number';
4137
+ options: undefined;
4138
+ };
4139
+ /** . */
4140
+ 'totalInRepeating': {
4141
+ type: 'number';
4142
+ options: undefined;
4143
+ };
4144
+ /** . */
4145
+ 'meta': {
4146
+ type: 'raw';
4147
+ options: {
4148
+ valueType: `Record<string, any>`;
4149
+ };
4150
+ };
4151
+ /** . */
4152
+ 'venue': {
4153
+ type: 'schema';
4154
+ options: {
4155
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.VenueSchema;
4156
+ };
4157
+ };
4158
+ /** . */
4159
+ 'addToExclusionDates': {
4160
+ type: 'schema';
4161
+ isArray: true;
4162
+ options: {
4163
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDateSchema;
4164
+ };
4165
+ };
4166
+ /** . */
4167
+ 'dateToUpdate': {
4168
+ type: 'number';
4169
+ options: undefined;
4170
+ };
4171
+ /** . */
4172
+ 'shouldUpdateAllEventsGoingForward': {
4173
+ type: 'boolean';
4174
+ options: undefined;
4175
+ };
4176
+ /** . It will show on this person's calendar going forward! */
4177
+ 'newTargetPersonId': {
4178
+ type: 'id';
4179
+ hint: 'It will show on this person\'s calendar going forward!';
4180
+ options: undefined;
4181
+ };
4182
+ };
4183
+ }
4184
+ interface UpdateCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayloadSchema> {
4185
+ }
4186
+ }
4187
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
4188
+ interface UpdateCalendarEventResponsePayload {
4189
+ 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
4190
+ }
4191
+ interface UpdateCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
4192
+ id: 'updateCalendarEventResponsePayload';
4193
+ version: 'v2021_05_19';
4194
+ namespace: 'Calendar';
4195
+ name: '';
4196
+ fields: {
4197
+ /** . */
4198
+ 'calendarEvent': {
4199
+ type: 'schema';
4200
+ isRequired: true;
4201
+ options: {
4202
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
4203
+ };
4204
+ };
4205
+ };
4206
+ }
4207
+ interface UpdateCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventResponsePayloadSchema> {
4208
+ }
4209
+ }
4210
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
4211
+ interface UpdateCalendarEmitTarget {
4212
+ 'organizationId': string;
4213
+ 'calendarId': string;
4214
+ }
4215
+ interface UpdateCalendarEmitTargetSchema extends SpruceSchema.Schema {
4216
+ id: 'updateCalendarEmitTarget';
4217
+ version: 'v2021_05_19';
4218
+ namespace: 'Calendar';
4219
+ name: '';
4220
+ fields: {
4221
+ /** . */
4222
+ 'organizationId': {
4223
+ type: 'id';
4224
+ isRequired: true;
4225
+ options: undefined;
4226
+ };
4227
+ /** . */
4228
+ 'calendarId': {
4229
+ type: 'id';
4230
+ isRequired: true;
4231
+ options: undefined;
4232
+ };
4233
+ };
4234
+ }
4235
+ interface UpdateCalendarEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitTargetSchema> {
4236
+ }
4237
+ }
4238
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
4239
+ interface UpdateCalendarEmitPayload {
4240
+ 'slug'?: string | undefined | null;
4241
+ 'title'?: string | undefined | null;
4242
+ 'eventTypes'?: string[] | undefined | null;
4243
+ 'target'?: SpruceSchemas.Calendar.v2021_05_19.CalendarTarget | undefined | null;
4244
+ 'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
4245
+ 'availableTimeSlotBehavior'?: ("include" | "exclude") | undefined | null;
4246
+ }
4247
+ interface UpdateCalendarEmitPayloadSchema extends SpruceSchema.Schema {
4248
+ id: 'updateCalendarEmitPayload';
4249
+ version: 'v2021_05_19';
4250
+ namespace: 'Calendar';
4251
+ name: '';
4252
+ fields: {
4253
+ /** . */
4254
+ 'slug': {
4255
+ type: 'id';
4256
+ options: undefined;
4257
+ };
4258
+ /** . */
4259
+ 'title': {
4260
+ type: 'text';
4261
+ options: undefined;
4262
+ };
4263
+ /** . */
4264
+ 'eventTypes': {
4265
+ type: 'text';
4266
+ isArray: true;
4267
+ minArrayLength: 0;
4268
+ options: undefined;
4269
+ };
4270
+ /** . */
4271
+ 'target': {
4272
+ type: 'schema';
4273
+ options: {
4274
+ schema: SpruceSchemas.Calendar.v2021_05_19.CalendarTargetSchema;
4275
+ };
4276
+ };
4277
+ /** . */
4278
+ 'dateDeleted': {
4279
+ type: 'dateTime';
4280
+ options: undefined;
4281
+ };
4282
+ /** . */
4283
+ 'availableTimeSlotBehavior': {
4284
+ type: 'select';
4285
+ options: {
4286
+ choices: [{
4287
+ "value": "include";
4288
+ "label": "Include";
4289
4289
  }, {
4290
- "value": "zoom-out";
4291
- "label": "zoom-out";
4290
+ "value": "exclude";
4291
+ "label": "Exclude";
4292
4292
  }];
4293
4293
  };
4294
4294
  };
4295
4295
  };
4296
4296
  }
4297
- interface UpsertCalendarEventTypeEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitPayloadSchema> {
4297
+ interface UpdateCalendarEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitPayloadSchema> {
4298
4298
  }
4299
4299
  }
4300
4300
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4301
- interface UpsertCalendarEventTypeEmitTargetAndPayload {
4301
+ interface UpdateCalendarEmitTargetAndPayload {
4302
4302
  /** Source. */
4303
4303
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
4304
- 'target': SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTarget;
4305
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitPayload | undefined | null;
4304
+ 'target': SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitTarget;
4305
+ 'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitPayload | undefined | null;
4306
4306
  }
4307
- interface UpsertCalendarEventTypeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4308
- id: 'upsertCalendarEventTypeEmitTargetAndPayload';
4307
+ interface UpdateCalendarEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4308
+ id: 'updateCalendarEmitTargetAndPayload';
4309
4309
  version: 'v2021_05_19';
4310
4310
  namespace: 'Calendar';
4311
4311
  name: '';
@@ -4323,42 +4323,42 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4323
4323
  type: 'schema';
4324
4324
  isRequired: true;
4325
4325
  options: {
4326
- schema: SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTargetSchema;
4326
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitTargetSchema;
4327
4327
  };
4328
4328
  };
4329
4329
  /** . */
4330
4330
  'payload': {
4331
4331
  type: 'schema';
4332
4332
  options: {
4333
- schema: SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitPayloadSchema;
4333
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitPayloadSchema;
4334
4334
  };
4335
4335
  };
4336
4336
  };
4337
4337
  }
4338
- interface UpsertCalendarEventTypeEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTargetAndPayloadSchema> {
4338
+ interface UpdateCalendarEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitTargetAndPayloadSchema> {
4339
4339
  }
4340
4340
  }
4341
4341
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4342
- interface UpsertCalendarEventTypeResponsePayload {
4343
- 'calendarEventType': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType;
4342
+ interface UpdateCalendarResponsePayload {
4343
+ 'calendar': SpruceSchemas.Calendar.v2021_05_19.Calendar;
4344
4344
  }
4345
- interface UpsertCalendarEventTypeResponsePayloadSchema extends SpruceSchema.Schema {
4346
- id: 'upsertCalendarEventTypeResponsePayload';
4345
+ interface UpdateCalendarResponsePayloadSchema extends SpruceSchema.Schema {
4346
+ id: 'updateCalendarResponsePayload';
4347
4347
  version: 'v2021_05_19';
4348
4348
  namespace: 'Calendar';
4349
4349
  name: '';
4350
4350
  fields: {
4351
4351
  /** . */
4352
- 'calendarEventType': {
4352
+ 'calendar': {
4353
4353
  type: 'schema';
4354
4354
  isRequired: true;
4355
4355
  options: {
4356
- schema: SpruceSchemas.Calendar.v2021_05_19.CalendarEventTypeSchema;
4356
+ schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
4357
4357
  };
4358
4358
  };
4359
4359
  };
4360
4360
  }
4361
- interface UpsertCalendarEventTypeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeResponsePayloadSchema> {
4361
+ interface UpdateCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarResponsePayloadSchema> {
4362
4362
  }
4363
4363
  }
4364
4364
  namespace SpruceSchemas.Calendar.v2021_05_19 {
@@ -4920,134 +4920,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4920
4920
  interface DidCreateCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitTargetAndPayloadSchema> {
4921
4921
  }
4922
4922
  }
4923
- namespace SpruceSchemas.Calendar.v2021_05_19 {
4924
- interface GetSchedulesEmitTarget {
4925
- 'organizationId'?: string | undefined | null;
4926
- 'locationId'?: string | undefined | null;
4927
- 'calendarIds': string[];
4928
- }
4929
- interface GetSchedulesEmitTargetSchema extends SpruceSchema.Schema {
4930
- id: 'getSchedulesEmitTarget';
4931
- version: 'v2021_05_19';
4932
- namespace: 'Calendar';
4933
- name: '';
4934
- fields: {
4935
- /** . */
4936
- 'organizationId': {
4937
- type: 'id';
4938
- options: undefined;
4939
- };
4940
- /** . */
4941
- 'locationId': {
4942
- type: 'id';
4943
- options: undefined;
4944
- };
4945
- /** . */
4946
- 'calendarIds': {
4947
- type: 'id';
4948
- isRequired: true;
4949
- isArray: true;
4950
- options: undefined;
4951
- };
4952
- };
4953
- }
4954
- interface GetSchedulesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema> {
4955
- }
4956
- }
4957
- namespace SpruceSchemas.Calendar.v2021_05_19 {
4958
- interface SendSchedulesEmitPayload {
4959
- 'startDateTimeMs': number;
4960
- 'endDateTimeMs': number;
4961
- 'personIds'?: string[] | undefined | null;
4962
- 'chunkingId': string;
4963
- 'sendToFqen': (EventName);
4964
- }
4965
- interface SendSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
4966
- id: 'sendSchedulesEmitPayload';
4967
- version: 'v2021_05_19';
4968
- namespace: 'Calendar';
4969
- name: '';
4970
- importsWhenRemote: ['import { EventName } from \'@sprucelabs/mercury-types\''];
4971
- fields: {
4972
- /** . */
4973
- 'startDateTimeMs': {
4974
- type: 'number';
4975
- isRequired: true;
4976
- options: undefined;
4977
- };
4978
- /** . */
4979
- 'endDateTimeMs': {
4980
- type: 'number';
4981
- isRequired: true;
4982
- options: undefined;
4983
- };
4984
- /** . */
4985
- 'personIds': {
4986
- type: 'id';
4987
- isArray: true;
4988
- options: undefined;
4989
- };
4990
- /** . */
4991
- 'chunkingId': {
4992
- type: 'id';
4993
- isRequired: true;
4994
- options: undefined;
4995
- };
4996
- /** . */
4997
- 'sendToFqen': {
4998
- type: 'raw';
4999
- isRequired: true;
5000
- options: {
5001
- valueType: `EventName`;
5002
- };
5003
- };
5004
- };
5005
- }
5006
- interface SendSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayloadSchema> {
5007
- }
5008
- }
5009
- namespace SpruceSchemas.Calendar.v2021_05_19 {
5010
- interface SendSchedulesEmitTargetAndPayload {
5011
- /** Source. */
5012
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
5013
- 'target': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTarget;
5014
- 'payload': SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayload;
5015
- }
5016
- interface SendSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
5017
- id: 'sendSchedulesEmitTargetAndPayload';
5018
- version: 'v2021_05_19';
5019
- namespace: 'Calendar';
5020
- name: '';
5021
- fields: {
5022
- /** Source. */
5023
- 'source': {
5024
- label: 'Source';
5025
- type: 'schema';
5026
- options: {
5027
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
5028
- };
5029
- };
5030
- /** . */
5031
- 'target': {
5032
- type: 'schema';
5033
- isRequired: true;
5034
- options: {
5035
- schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema;
5036
- };
5037
- };
5038
- /** . */
5039
- 'payload': {
5040
- type: 'schema';
5041
- isRequired: true;
5042
- options: {
5043
- schema: SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayloadSchema;
5044
- };
5045
- };
5046
- };
5047
- }
5048
- interface SendSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitTargetAndPayloadSchema> {
5049
- }
5050
- }
5051
4923
  namespace SpruceSchemas.Calendar.v2021_05_19 {
5052
4924
  interface ListPeopleWithoutSchedulesEmitTarget {
5053
4925
  'locationId': string;
@@ -5201,6 +5073,134 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
5201
5073
  interface ListPeopleWithoutSchedulesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesResponsePayloadSchema> {
5202
5074
  }
5203
5075
  }
5076
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
5077
+ interface GetSchedulesEmitTarget {
5078
+ 'organizationId'?: string | undefined | null;
5079
+ 'locationId'?: string | undefined | null;
5080
+ 'calendarIds': string[];
5081
+ }
5082
+ interface GetSchedulesEmitTargetSchema extends SpruceSchema.Schema {
5083
+ id: 'getSchedulesEmitTarget';
5084
+ version: 'v2021_05_19';
5085
+ namespace: 'Calendar';
5086
+ name: '';
5087
+ fields: {
5088
+ /** . */
5089
+ 'organizationId': {
5090
+ type: 'id';
5091
+ options: undefined;
5092
+ };
5093
+ /** . */
5094
+ 'locationId': {
5095
+ type: 'id';
5096
+ options: undefined;
5097
+ };
5098
+ /** . */
5099
+ 'calendarIds': {
5100
+ type: 'id';
5101
+ isRequired: true;
5102
+ isArray: true;
5103
+ options: undefined;
5104
+ };
5105
+ };
5106
+ }
5107
+ interface GetSchedulesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema> {
5108
+ }
5109
+ }
5110
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
5111
+ interface SendSchedulesEmitPayload {
5112
+ 'startDateTimeMs': number;
5113
+ 'endDateTimeMs': number;
5114
+ 'personIds'?: string[] | undefined | null;
5115
+ 'chunkingId': string;
5116
+ 'sendToFqen': (EventName);
5117
+ }
5118
+ interface SendSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
5119
+ id: 'sendSchedulesEmitPayload';
5120
+ version: 'v2021_05_19';
5121
+ namespace: 'Calendar';
5122
+ name: '';
5123
+ importsWhenRemote: ['import { EventName } from \'@sprucelabs/mercury-types\''];
5124
+ fields: {
5125
+ /** . */
5126
+ 'startDateTimeMs': {
5127
+ type: 'number';
5128
+ isRequired: true;
5129
+ options: undefined;
5130
+ };
5131
+ /** . */
5132
+ 'endDateTimeMs': {
5133
+ type: 'number';
5134
+ isRequired: true;
5135
+ options: undefined;
5136
+ };
5137
+ /** . */
5138
+ 'personIds': {
5139
+ type: 'id';
5140
+ isArray: true;
5141
+ options: undefined;
5142
+ };
5143
+ /** . */
5144
+ 'chunkingId': {
5145
+ type: 'id';
5146
+ isRequired: true;
5147
+ options: undefined;
5148
+ };
5149
+ /** . */
5150
+ 'sendToFqen': {
5151
+ type: 'raw';
5152
+ isRequired: true;
5153
+ options: {
5154
+ valueType: `EventName`;
5155
+ };
5156
+ };
5157
+ };
5158
+ }
5159
+ interface SendSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayloadSchema> {
5160
+ }
5161
+ }
5162
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
5163
+ interface SendSchedulesEmitTargetAndPayload {
5164
+ /** Source. */
5165
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
5166
+ 'target': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTarget;
5167
+ 'payload': SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayload;
5168
+ }
5169
+ interface SendSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
5170
+ id: 'sendSchedulesEmitTargetAndPayload';
5171
+ version: 'v2021_05_19';
5172
+ namespace: 'Calendar';
5173
+ name: '';
5174
+ fields: {
5175
+ /** Source. */
5176
+ 'source': {
5177
+ label: 'Source';
5178
+ type: 'schema';
5179
+ options: {
5180
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
5181
+ };
5182
+ };
5183
+ /** . */
5184
+ 'target': {
5185
+ type: 'schema';
5186
+ isRequired: true;
5187
+ options: {
5188
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema;
5189
+ };
5190
+ };
5191
+ /** . */
5192
+ 'payload': {
5193
+ type: 'schema';
5194
+ isRequired: true;
5195
+ options: {
5196
+ schema: SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayloadSchema;
5197
+ };
5198
+ };
5199
+ };
5200
+ }
5201
+ interface SendSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitTargetAndPayloadSchema> {
5202
+ }
5203
+ }
5204
5204
  namespace SpruceSchemas.Calendar.v2021_05_19 {
5205
5205
  interface CalendarTarget {
5206
5206
  'organizationId'?: string | undefined | null;