@sprucelabs/spruce-calendar-components 20.9.18 → 20.9.21

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.
@@ -678,54 +678,69 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
678
678
  type UpsertThemeResponsePayloadEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeResponsePayloadSchema>;
679
679
  }
680
680
  namespace SpruceSchemas.Calendar.v2021_05_19 {
681
- interface CancelCalendarEventEmitTargetAndPayload {
682
- /** Source. */
683
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
684
- 'target': SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTarget;
685
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayload | undefined | null;
681
+ interface CancelCalendarEventEmitTarget {
682
+ 'locationId': string;
683
+ 'calendarEventId': string;
686
684
  }
687
- interface CancelCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
688
- id: 'cancelCalendarEventEmitTargetAndPayload';
685
+ interface CancelCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
686
+ id: 'cancelCalendarEventEmitTarget';
689
687
  version: 'v2021_05_19';
690
688
  namespace: 'Calendar';
691
689
  name: '';
692
690
  fields: {
693
- /** Source. */
694
- 'source': {
695
- label: 'Source';
696
- type: 'schema';
697
- options: {
698
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
699
- };
691
+ /** . */
692
+ 'locationId': {
693
+ type: 'id';
694
+ isRequired: true;
695
+ options: undefined;
700
696
  };
701
697
  /** . */
702
- 'target': {
703
- type: 'schema';
698
+ 'calendarEventId': {
699
+ type: 'id';
704
700
  isRequired: true;
705
- options: {
706
- schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema;
707
- };
701
+ options: undefined;
708
702
  };
703
+ };
704
+ }
705
+ type CancelCalendarEventEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema>;
706
+ }
707
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
708
+ interface CancelCalendarEventEmitPayload {
709
+ 'cancelDates'?: SpruceSchemas.Calendar.v2021_05_19.CancelDates[] | undefined | null;
710
+ 'cancelFromDate'?: number | undefined | null;
711
+ }
712
+ interface CancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
713
+ id: 'cancelCalendarEventEmitPayload';
714
+ version: 'v2021_05_19';
715
+ namespace: 'Calendar';
716
+ name: '';
717
+ fields: {
709
718
  /** . */
710
- 'payload': {
719
+ 'cancelDates': {
711
720
  type: 'schema';
721
+ isArray: true;
712
722
  options: {
713
- schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema;
723
+ schema: SpruceSchemas.Calendar.v2021_05_19.CancelDatesSchema;
714
724
  };
715
725
  };
726
+ /** . */
727
+ 'cancelFromDate': {
728
+ type: 'number';
729
+ options: undefined;
730
+ };
716
731
  };
717
732
  }
718
- type CancelCalendarEventEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetAndPayloadSchema>;
733
+ type CancelCalendarEventEmitPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema>;
719
734
  }
720
735
  namespace SpruceSchemas.Calendar.v2021_05_19 {
721
- interface GetConflictsForTimeRangeEmitTargetAndPayload {
736
+ interface CancelCalendarEventEmitTargetAndPayload {
722
737
  /** Source. */
723
738
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
724
- 'target': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTarget;
725
- 'payload': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayload;
739
+ 'target': SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTarget;
740
+ 'payload'?: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayload | undefined | null;
726
741
  }
727
- interface GetConflictsForTimeRangeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
728
- id: 'getConflictsForTimeRangeEmitTargetAndPayload';
742
+ interface CancelCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
743
+ id: 'cancelCalendarEventEmitTargetAndPayload';
729
744
  version: 'v2021_05_19';
730
745
  namespace: 'Calendar';
731
746
  name: '';
@@ -743,47 +758,19 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
743
758
  type: 'schema';
744
759
  isRequired: true;
745
760
  options: {
746
- schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema;
761
+ schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema;
747
762
  };
748
763
  };
749
764
  /** . */
750
765
  'payload': {
751
766
  type: 'schema';
752
- isRequired: true;
753
767
  options: {
754
- schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayloadSchema;
768
+ schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema;
755
769
  };
756
770
  };
757
771
  };
758
772
  }
759
- type GetConflictsForTimeRangeEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetAndPayloadSchema>;
760
- }
761
- namespace SpruceSchemas.Calendar.v2021_05_19 {
762
- interface CancelCalendarEventEmitTarget {
763
- 'locationId': string;
764
- 'calendarEventId': string;
765
- }
766
- interface CancelCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
767
- id: 'cancelCalendarEventEmitTarget';
768
- version: 'v2021_05_19';
769
- namespace: 'Calendar';
770
- name: '';
771
- fields: {
772
- /** . */
773
- 'locationId': {
774
- type: 'id';
775
- isRequired: true;
776
- options: undefined;
777
- };
778
- /** . */
779
- 'calendarEventId': {
780
- type: 'id';
781
- isRequired: true;
782
- options: undefined;
783
- };
784
- };
785
- }
786
- type CancelCalendarEventEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema>;
773
+ type CancelCalendarEventEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetAndPayloadSchema>;
787
774
  }
788
775
  namespace SpruceSchemas.Calendar.v2021_05_19 {
789
776
  interface CancelDates {
@@ -819,34 +806,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
819
806
  }
820
807
  type CancelDatesEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelDatesSchema>;
821
808
  }
822
- namespace SpruceSchemas.Calendar.v2021_05_19 {
823
- interface CancelCalendarEventEmitPayload {
824
- 'cancelDates'?: SpruceSchemas.Calendar.v2021_05_19.CancelDates[] | undefined | null;
825
- 'cancelFromDate'?: number | undefined | null;
826
- }
827
- interface CancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
828
- id: 'cancelCalendarEventEmitPayload';
829
- version: 'v2021_05_19';
830
- namespace: 'Calendar';
831
- name: '';
832
- fields: {
833
- /** . */
834
- 'cancelDates': {
835
- type: 'schema';
836
- isArray: true;
837
- options: {
838
- schema: SpruceSchemas.Calendar.v2021_05_19.CancelDatesSchema;
839
- };
840
- };
841
- /** . */
842
- 'cancelFromDate': {
843
- type: 'number';
844
- options: undefined;
845
- };
846
- };
847
- }
848
- type CancelCalendarEventEmitPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema>;
849
- }
850
809
  namespace SpruceSchemas.Calendar.v2021_05_19 {
851
810
  interface CancelCalendarEventResponsePayload {
852
811
  'totalDeleted': number;
@@ -1993,40 +1952,40 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1993
1952
  type GetAvailableTimeSlotsResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetAvailableTimeSlotsResponsePayloadSchema>;
1994
1953
  }
1995
1954
  namespace SpruceSchemas.Calendar.v2021_05_19 {
1996
- interface GetCalendarEmitTarget {
1997
- 'organizationId': string;
1998
- 'slug': string;
1955
+ interface GetCalendarEventEmitTarget {
1956
+ 'locationId': string;
1957
+ 'calendarEventId': string;
1999
1958
  }
2000
- interface GetCalendarEmitTargetSchema extends SpruceSchema.Schema {
2001
- id: 'getCalendarEmitTarget';
1959
+ interface GetCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
1960
+ id: 'getCalendarEventEmitTarget';
2002
1961
  version: 'v2021_05_19';
2003
1962
  namespace: 'Calendar';
2004
1963
  name: '';
2005
1964
  fields: {
2006
1965
  /** . */
2007
- 'organizationId': {
1966
+ 'locationId': {
2008
1967
  type: 'id';
2009
1968
  isRequired: true;
2010
1969
  options: undefined;
2011
1970
  };
2012
1971
  /** . */
2013
- 'slug': {
1972
+ 'calendarEventId': {
2014
1973
  type: 'id';
2015
1974
  isRequired: true;
2016
1975
  options: undefined;
2017
1976
  };
2018
1977
  };
2019
1978
  }
2020
- type GetCalendarEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetSchema>;
1979
+ type GetCalendarEventEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetSchema>;
2021
1980
  }
2022
1981
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2023
- interface GetCalendarEmitTargetAndPayload {
1982
+ interface GetCalendarEventEmitTargetAndPayload {
2024
1983
  /** Source. */
2025
1984
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2026
- 'target': SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTarget;
1985
+ 'target': SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTarget;
2027
1986
  }
2028
- interface GetCalendarEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2029
- id: 'getCalendarEmitTargetAndPayload';
1987
+ interface GetCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1988
+ id: 'getCalendarEventEmitTargetAndPayload';
2030
1989
  version: 'v2021_05_19';
2031
1990
  namespace: 'Calendar';
2032
1991
  name: '';
@@ -2044,70 +2003,72 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2044
2003
  type: 'schema';
2045
2004
  isRequired: true;
2046
2005
  options: {
2047
- schema: SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetSchema;
2006
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetSchema;
2048
2007
  };
2049
2008
  };
2050
2009
  };
2051
2010
  }
2052
- type GetCalendarEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetAndPayloadSchema>;
2011
+ type GetCalendarEventEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetAndPayloadSchema>;
2053
2012
  }
2054
2013
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2055
- interface GetCalendarResponsePayload {
2056
- 'calendar': SpruceSchemas.Calendar.v2021_05_19.Calendar;
2014
+ interface GetCalendarEventResponsePayload {
2015
+ 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
2057
2016
  }
2058
- interface GetCalendarResponsePayloadSchema extends SpruceSchema.Schema {
2059
- id: 'getCalendarResponsePayload';
2017
+ interface GetCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
2018
+ id: 'getCalendarEventResponsePayload';
2060
2019
  version: 'v2021_05_19';
2061
2020
  namespace: 'Calendar';
2062
2021
  name: '';
2063
2022
  fields: {
2064
2023
  /** . */
2065
- 'calendar': {
2024
+ 'calendarEvent': {
2066
2025
  type: 'schema';
2067
2026
  isRequired: true;
2068
2027
  options: {
2069
- schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
2028
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
2070
2029
  };
2071
2030
  };
2072
2031
  };
2073
2032
  }
2074
- type GetCalendarResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarResponsePayloadSchema>;
2033
+ type GetCalendarEventResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventResponsePayloadSchema>;
2075
2034
  }
2076
2035
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2077
- interface GetCalendarEventEmitTarget {
2078
- 'locationId': string;
2079
- 'calendarEventId': string;
2036
+ interface GetConflictsForTimeRangeEmitTarget {
2037
+ 'organizationId': string;
2038
+ 'calendarIds': string[];
2080
2039
  }
2081
- interface GetCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
2082
- id: 'getCalendarEventEmitTarget';
2040
+ interface GetConflictsForTimeRangeEmitTargetSchema extends SpruceSchema.Schema {
2041
+ id: 'getConflictsForTimeRangeEmitTarget';
2083
2042
  version: 'v2021_05_19';
2084
2043
  namespace: 'Calendar';
2085
2044
  name: '';
2086
2045
  fields: {
2087
2046
  /** . */
2088
- 'locationId': {
2047
+ 'organizationId': {
2089
2048
  type: 'id';
2090
2049
  isRequired: true;
2091
2050
  options: undefined;
2092
2051
  };
2093
2052
  /** . */
2094
- 'calendarEventId': {
2053
+ 'calendarIds': {
2095
2054
  type: 'id';
2096
2055
  isRequired: true;
2056
+ isArray: true;
2097
2057
  options: undefined;
2098
2058
  };
2099
2059
  };
2100
2060
  }
2101
- type GetCalendarEventEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetSchema>;
2061
+ type GetConflictsForTimeRangeEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema>;
2102
2062
  }
2103
2063
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2104
- interface GetCalendarEventEmitTargetAndPayload {
2064
+ interface GetConflictsForTimeRangeEmitTargetAndPayload {
2105
2065
  /** Source. */
2106
2066
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2107
- 'target': SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTarget;
2067
+ 'target': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTarget;
2068
+ 'payload': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayload;
2108
2069
  }
2109
- interface GetCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2110
- id: 'getCalendarEventEmitTargetAndPayload';
2070
+ interface GetConflictsForTimeRangeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2071
+ id: 'getConflictsForTimeRangeEmitTargetAndPayload';
2111
2072
  version: 'v2021_05_19';
2112
2073
  namespace: 'Calendar';
2113
2074
  name: '';
@@ -2125,62 +2086,20 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2125
2086
  type: 'schema';
2126
2087
  isRequired: true;
2127
2088
  options: {
2128
- schema: SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetSchema;
2089
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema;
2129
2090
  };
2130
2091
  };
2131
- };
2132
- }
2133
- type GetCalendarEventEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetAndPayloadSchema>;
2134
- }
2135
- namespace SpruceSchemas.Calendar.v2021_05_19 {
2136
- interface GetCalendarEventResponsePayload {
2137
- 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
2138
- }
2139
- interface GetCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
2140
- id: 'getCalendarEventResponsePayload';
2141
- version: 'v2021_05_19';
2142
- namespace: 'Calendar';
2143
- name: '';
2144
- fields: {
2145
2092
  /** . */
2146
- 'calendarEvent': {
2093
+ 'payload': {
2147
2094
  type: 'schema';
2148
2095
  isRequired: true;
2149
2096
  options: {
2150
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
2097
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayloadSchema;
2151
2098
  };
2152
2099
  };
2153
2100
  };
2154
2101
  }
2155
- type GetCalendarEventResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventResponsePayloadSchema>;
2156
- }
2157
- namespace SpruceSchemas.Calendar.v2021_05_19 {
2158
- interface GetConflictsForTimeRangeEmitTarget {
2159
- 'organizationId': string;
2160
- 'calendarIds': string[];
2161
- }
2162
- interface GetConflictsForTimeRangeEmitTargetSchema extends SpruceSchema.Schema {
2163
- id: 'getConflictsForTimeRangeEmitTarget';
2164
- version: 'v2021_05_19';
2165
- namespace: 'Calendar';
2166
- name: '';
2167
- fields: {
2168
- /** . */
2169
- 'organizationId': {
2170
- type: 'id';
2171
- isRequired: true;
2172
- options: undefined;
2173
- };
2174
- /** . */
2175
- 'calendarIds': {
2176
- type: 'id';
2177
- isRequired: true;
2178
- isArray: true;
2179
- options: undefined;
2180
- };
2181
- };
2182
- }
2183
- type GetConflictsForTimeRangeEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema>;
2102
+ type GetConflictsForTimeRangeEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetAndPayloadSchema>;
2184
2103
  }
2185
2104
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2186
2105
  interface Teammate {
@@ -2277,13 +2196,12 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2277
2196
  type GetConflictsForTimeRangeResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeResponsePayloadSchema>;
2278
2197
  }
2279
2198
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2280
- interface GetSchedulesEmitTarget {
2281
- 'organizationId'?: string | undefined | null;
2282
- 'locationId'?: string | undefined | null;
2283
- 'calendarIds': string[];
2199
+ interface GetCalendarEmitTarget {
2200
+ 'organizationId': string;
2201
+ 'slug': string;
2284
2202
  }
2285
- interface GetSchedulesEmitTargetSchema extends SpruceSchema.Schema {
2286
- id: 'getSchedulesEmitTarget';
2203
+ interface GetCalendarEmitTargetSchema extends SpruceSchema.Schema {
2204
+ id: 'getCalendarEmitTarget';
2287
2205
  version: 'v2021_05_19';
2288
2206
  namespace: 'Calendar';
2289
2207
  name: '';
@@ -2291,67 +2209,101 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2291
2209
  /** . */
2292
2210
  'organizationId': {
2293
2211
  type: 'id';
2212
+ isRequired: true;
2294
2213
  options: undefined;
2295
2214
  };
2296
2215
  /** . */
2297
- 'locationId': {
2298
- type: 'id';
2299
- options: undefined;
2300
- };
2301
- /** . */
2302
- 'calendarIds': {
2216
+ 'slug': {
2303
2217
  type: 'id';
2304
2218
  isRequired: true;
2305
- isArray: true;
2306
2219
  options: undefined;
2307
2220
  };
2308
2221
  };
2309
2222
  }
2310
- type GetSchedulesEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema>;
2223
+ type GetCalendarEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetSchema>;
2311
2224
  }
2312
2225
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2313
- interface GetSchedulesEmitPayload {
2314
- 'startDateTimeMs': number;
2315
- 'endDateTimeMs': number;
2316
- 'personIds'?: string[] | undefined | null;
2226
+ interface GetCalendarEmitTargetAndPayload {
2227
+ /** Source. */
2228
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2229
+ 'target': SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTarget;
2317
2230
  }
2318
- interface GetSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
2319
- id: 'getSchedulesEmitPayload';
2231
+ interface GetCalendarEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2232
+ id: 'getCalendarEmitTargetAndPayload';
2320
2233
  version: 'v2021_05_19';
2321
2234
  namespace: 'Calendar';
2322
2235
  name: '';
2323
2236
  fields: {
2237
+ /** Source. */
2238
+ 'source': {
2239
+ label: 'Source';
2240
+ type: 'schema';
2241
+ options: {
2242
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
2243
+ };
2244
+ };
2324
2245
  /** . */
2325
- 'startDateTimeMs': {
2326
- type: 'number';
2246
+ 'target': {
2247
+ type: 'schema';
2327
2248
  isRequired: true;
2328
- options: undefined;
2249
+ options: {
2250
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetSchema;
2251
+ };
2329
2252
  };
2253
+ };
2254
+ }
2255
+ type GetCalendarEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetAndPayloadSchema>;
2256
+ }
2257
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
2258
+ interface GetCalendarResponsePayload {
2259
+ 'calendar': SpruceSchemas.Calendar.v2021_05_19.Calendar;
2260
+ }
2261
+ interface GetCalendarResponsePayloadSchema extends SpruceSchema.Schema {
2262
+ id: 'getCalendarResponsePayload';
2263
+ version: 'v2021_05_19';
2264
+ namespace: 'Calendar';
2265
+ name: '';
2266
+ fields: {
2330
2267
  /** . */
2331
- 'endDateTimeMs': {
2332
- type: 'number';
2268
+ 'calendar': {
2269
+ type: 'schema';
2333
2270
  isRequired: true;
2334
- options: undefined;
2271
+ options: {
2272
+ schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
2273
+ };
2335
2274
  };
2275
+ };
2276
+ }
2277
+ type GetCalendarResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarResponsePayloadSchema>;
2278
+ }
2279
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
2280
+ interface GetPreferencesEmitTarget {
2281
+ 'organizationId': string;
2282
+ }
2283
+ interface GetPreferencesEmitTargetSchema extends SpruceSchema.Schema {
2284
+ id: 'getPreferencesEmitTarget';
2285
+ version: 'v2021_05_19';
2286
+ namespace: 'Calendar';
2287
+ name: '';
2288
+ fields: {
2336
2289
  /** . */
2337
- 'personIds': {
2290
+ 'organizationId': {
2338
2291
  type: 'id';
2339
- isArray: true;
2292
+ isRequired: true;
2340
2293
  options: undefined;
2341
2294
  };
2342
2295
  };
2343
2296
  }
2344
- type GetSchedulesEmitPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayloadSchema>;
2297
+ type GetPreferencesEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTargetSchema>;
2345
2298
  }
2346
2299
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2347
- interface GetSchedulesEmitTargetAndPayload {
2300
+ interface GetPreferencesEmitTargetAndPayload {
2348
2301
  /** Source. */
2349
2302
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2350
- 'target': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTarget;
2351
- 'payload': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayload;
2303
+ 'target': SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTarget;
2352
2304
  }
2353
- interface GetSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2354
- id: 'getSchedulesEmitTargetAndPayload';
2305
+ interface GetPreferencesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2306
+ id: 'getPreferencesEmitTargetAndPayload';
2355
2307
  version: 'v2021_05_19';
2356
2308
  namespace: 'Calendar';
2357
2309
  name: '';
@@ -2369,73 +2321,110 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2369
2321
  type: 'schema';
2370
2322
  isRequired: true;
2371
2323
  options: {
2372
- schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema;
2324
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTargetSchema;
2373
2325
  };
2374
2326
  };
2327
+ };
2328
+ }
2329
+ type GetPreferencesEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTargetAndPayloadSchema>;
2330
+ }
2331
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
2332
+ interface GetPreferencesResponsePayload {
2333
+ 'selectedCalendarIds'?: string[] | undefined | null;
2334
+ }
2335
+ interface GetPreferencesResponsePayloadSchema extends SpruceSchema.Schema {
2336
+ id: 'getPreferencesResponsePayload';
2337
+ version: 'v2021_05_19';
2338
+ namespace: 'Calendar';
2339
+ name: '';
2340
+ fields: {
2375
2341
  /** . */
2376
- 'payload': {
2377
- type: 'schema';
2378
- isRequired: true;
2379
- options: {
2380
- schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayloadSchema;
2381
- };
2342
+ 'selectedCalendarIds': {
2343
+ type: 'id';
2344
+ isArray: true;
2345
+ minArrayLength: 0;
2346
+ options: undefined;
2382
2347
  };
2383
2348
  };
2384
2349
  }
2385
- type GetSchedulesEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetAndPayloadSchema>;
2350
+ type GetPreferencesResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesResponsePayloadSchema>;
2386
2351
  }
2387
2352
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2388
- interface GetSchedulesResponsePayload {
2389
- 'events': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[];
2353
+ interface GetSchedulesEmitTarget {
2354
+ 'organizationId'?: string | undefined | null;
2355
+ 'locationId'?: string | undefined | null;
2356
+ 'calendarIds': string[];
2390
2357
  }
2391
- interface GetSchedulesResponsePayloadSchema extends SpruceSchema.Schema {
2392
- id: 'getSchedulesResponsePayload';
2358
+ interface GetSchedulesEmitTargetSchema extends SpruceSchema.Schema {
2359
+ id: 'getSchedulesEmitTarget';
2393
2360
  version: 'v2021_05_19';
2394
2361
  namespace: 'Calendar';
2395
2362
  name: '';
2396
2363
  fields: {
2397
2364
  /** . */
2398
- 'events': {
2399
- type: 'schema';
2365
+ 'organizationId': {
2366
+ type: 'id';
2367
+ options: undefined;
2368
+ };
2369
+ /** . */
2370
+ 'locationId': {
2371
+ type: 'id';
2372
+ options: undefined;
2373
+ };
2374
+ /** . */
2375
+ 'calendarIds': {
2376
+ type: 'id';
2400
2377
  isRequired: true;
2401
2378
  isArray: true;
2402
- minArrayLength: 0;
2403
- options: {
2404
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
2405
- };
2379
+ options: undefined;
2406
2380
  };
2407
2381
  };
2408
2382
  }
2409
- type GetSchedulesResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesResponsePayloadSchema>;
2383
+ type GetSchedulesEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema>;
2410
2384
  }
2411
2385
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2412
- interface GetPreferencesEmitTarget {
2413
- 'organizationId': string;
2386
+ interface GetSchedulesEmitPayload {
2387
+ 'startDateTimeMs': number;
2388
+ 'endDateTimeMs': number;
2389
+ 'personIds'?: string[] | undefined | null;
2414
2390
  }
2415
- interface GetPreferencesEmitTargetSchema extends SpruceSchema.Schema {
2416
- id: 'getPreferencesEmitTarget';
2391
+ interface GetSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
2392
+ id: 'getSchedulesEmitPayload';
2417
2393
  version: 'v2021_05_19';
2418
2394
  namespace: 'Calendar';
2419
2395
  name: '';
2420
2396
  fields: {
2421
2397
  /** . */
2422
- 'organizationId': {
2423
- type: 'id';
2398
+ 'startDateTimeMs': {
2399
+ type: 'number';
2400
+ isRequired: true;
2401
+ options: undefined;
2402
+ };
2403
+ /** . */
2404
+ 'endDateTimeMs': {
2405
+ type: 'number';
2424
2406
  isRequired: true;
2425
2407
  options: undefined;
2426
2408
  };
2409
+ /** . */
2410
+ 'personIds': {
2411
+ type: 'id';
2412
+ isArray: true;
2413
+ options: undefined;
2414
+ };
2427
2415
  };
2428
2416
  }
2429
- type GetPreferencesEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTargetSchema>;
2417
+ type GetSchedulesEmitPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayloadSchema>;
2430
2418
  }
2431
2419
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2432
- interface GetPreferencesEmitTargetAndPayload {
2420
+ interface GetSchedulesEmitTargetAndPayload {
2433
2421
  /** Source. */
2434
2422
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2435
- 'target': SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTarget;
2423
+ 'target': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTarget;
2424
+ 'payload': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayload;
2436
2425
  }
2437
- interface GetPreferencesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2438
- id: 'getPreferencesEmitTargetAndPayload';
2426
+ interface GetSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2427
+ id: 'getSchedulesEmitTargetAndPayload';
2439
2428
  version: 'v2021_05_19';
2440
2429
  namespace: 'Calendar';
2441
2430
  name: '';
@@ -2453,33 +2442,44 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2453
2442
  type: 'schema';
2454
2443
  isRequired: true;
2455
2444
  options: {
2456
- schema: SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTargetSchema;
2445
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema;
2446
+ };
2447
+ };
2448
+ /** . */
2449
+ 'payload': {
2450
+ type: 'schema';
2451
+ isRequired: true;
2452
+ options: {
2453
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayloadSchema;
2457
2454
  };
2458
2455
  };
2459
2456
  };
2460
2457
  }
2461
- type GetPreferencesEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTargetAndPayloadSchema>;
2458
+ type GetSchedulesEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetAndPayloadSchema>;
2462
2459
  }
2463
2460
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2464
- interface GetPreferencesResponsePayload {
2465
- 'selectedCalendarIds'?: string[] | undefined | null;
2461
+ interface GetSchedulesResponsePayload {
2462
+ 'events': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[];
2466
2463
  }
2467
- interface GetPreferencesResponsePayloadSchema extends SpruceSchema.Schema {
2468
- id: 'getPreferencesResponsePayload';
2464
+ interface GetSchedulesResponsePayloadSchema extends SpruceSchema.Schema {
2465
+ id: 'getSchedulesResponsePayload';
2469
2466
  version: 'v2021_05_19';
2470
2467
  namespace: 'Calendar';
2471
2468
  name: '';
2472
2469
  fields: {
2473
2470
  /** . */
2474
- 'selectedCalendarIds': {
2475
- type: 'id';
2471
+ 'events': {
2472
+ type: 'schema';
2473
+ isRequired: true;
2476
2474
  isArray: true;
2477
2475
  minArrayLength: 0;
2478
- options: undefined;
2476
+ options: {
2477
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
2478
+ };
2479
2479
  };
2480
2480
  };
2481
2481
  }
2482
- type GetPreferencesResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesResponsePayloadSchema>;
2482
+ type GetSchedulesResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesResponsePayloadSchema>;
2483
2483
  }
2484
2484
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2485
2485
  interface ListCalendarEventTypesEmitPayload {
@@ -3452,6 +3452,107 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
3452
3452
  }
3453
3453
  type UpdateCalendarEventResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventResponsePayloadSchema>;
3454
3454
  }
3455
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
3456
+ interface UpdatePreferencesEmitTarget {
3457
+ 'organizationId': string;
3458
+ }
3459
+ interface UpdatePreferencesEmitTargetSchema extends SpruceSchema.Schema {
3460
+ id: 'updatePreferencesEmitTarget';
3461
+ version: 'v2021_05_19';
3462
+ namespace: 'Calendar';
3463
+ name: '';
3464
+ fields: {
3465
+ /** . */
3466
+ 'organizationId': {
3467
+ type: 'id';
3468
+ isRequired: true;
3469
+ options: undefined;
3470
+ };
3471
+ };
3472
+ }
3473
+ type UpdatePreferencesEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetSchema>;
3474
+ }
3475
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
3476
+ interface UpdatePreferencesEmitPayload {
3477
+ 'selectedCalendarIds'?: string[] | undefined | null;
3478
+ }
3479
+ interface UpdatePreferencesEmitPayloadSchema extends SpruceSchema.Schema {
3480
+ id: 'updatePreferencesEmitPayload';
3481
+ version: 'v2021_05_19';
3482
+ namespace: 'Calendar';
3483
+ name: '';
3484
+ fields: {
3485
+ /** . */
3486
+ 'selectedCalendarIds': {
3487
+ type: 'id';
3488
+ isArray: true;
3489
+ minArrayLength: 0;
3490
+ options: undefined;
3491
+ };
3492
+ };
3493
+ }
3494
+ type UpdatePreferencesEmitPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayloadSchema>;
3495
+ }
3496
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
3497
+ interface UpdatePreferencesEmitTargetAndPayload {
3498
+ /** Source. */
3499
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
3500
+ 'target': SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTarget;
3501
+ 'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayload | undefined | null;
3502
+ }
3503
+ interface UpdatePreferencesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
3504
+ id: 'updatePreferencesEmitTargetAndPayload';
3505
+ version: 'v2021_05_19';
3506
+ namespace: 'Calendar';
3507
+ name: '';
3508
+ fields: {
3509
+ /** Source. */
3510
+ 'source': {
3511
+ label: 'Source';
3512
+ type: 'schema';
3513
+ options: {
3514
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
3515
+ };
3516
+ };
3517
+ /** . */
3518
+ 'target': {
3519
+ type: 'schema';
3520
+ isRequired: true;
3521
+ options: {
3522
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetSchema;
3523
+ };
3524
+ };
3525
+ /** . */
3526
+ 'payload': {
3527
+ type: 'schema';
3528
+ options: {
3529
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayloadSchema;
3530
+ };
3531
+ };
3532
+ };
3533
+ }
3534
+ type UpdatePreferencesEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetAndPayloadSchema>;
3535
+ }
3536
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
3537
+ interface UpdatePreferencesResponsePayload {
3538
+ 'success': boolean;
3539
+ }
3540
+ interface UpdatePreferencesResponsePayloadSchema extends SpruceSchema.Schema {
3541
+ id: 'updatePreferencesResponsePayload';
3542
+ version: 'v2021_05_19';
3543
+ namespace: 'Calendar';
3544
+ name: '';
3545
+ fields: {
3546
+ /** . */
3547
+ 'success': {
3548
+ type: 'boolean';
3549
+ isRequired: true;
3550
+ options: undefined;
3551
+ };
3552
+ };
3553
+ }
3554
+ type UpdatePreferencesResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesResponsePayloadSchema>;
3555
+ }
3455
3556
  namespace SpruceSchemas.Calendar.v2021_05_19 {
3456
3557
  interface UpsertCalendarEventTypeEmitTarget {
3457
3558
  'slug': string;
@@ -3984,107 +4085,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
3984
4085
  }
3985
4086
  type UpsertCalendarEventTypeResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeResponsePayloadSchema>;
3986
4087
  }
3987
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3988
- interface UpdatePreferencesEmitTarget {
3989
- 'organizationId': string;
3990
- }
3991
- interface UpdatePreferencesEmitTargetSchema extends SpruceSchema.Schema {
3992
- id: 'updatePreferencesEmitTarget';
3993
- version: 'v2021_05_19';
3994
- namespace: 'Calendar';
3995
- name: '';
3996
- fields: {
3997
- /** . */
3998
- 'organizationId': {
3999
- type: 'id';
4000
- isRequired: true;
4001
- options: undefined;
4002
- };
4003
- };
4004
- }
4005
- type UpdatePreferencesEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetSchema>;
4006
- }
4007
- namespace SpruceSchemas.Calendar.v2021_05_19 {
4008
- interface UpdatePreferencesEmitPayload {
4009
- 'selectedCalendarIds'?: string[] | undefined | null;
4010
- }
4011
- interface UpdatePreferencesEmitPayloadSchema extends SpruceSchema.Schema {
4012
- id: 'updatePreferencesEmitPayload';
4013
- version: 'v2021_05_19';
4014
- namespace: 'Calendar';
4015
- name: '';
4016
- fields: {
4017
- /** . */
4018
- 'selectedCalendarIds': {
4019
- type: 'id';
4020
- isArray: true;
4021
- minArrayLength: 0;
4022
- options: undefined;
4023
- };
4024
- };
4025
- }
4026
- type UpdatePreferencesEmitPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayloadSchema>;
4027
- }
4028
- namespace SpruceSchemas.Calendar.v2021_05_19 {
4029
- interface UpdatePreferencesEmitTargetAndPayload {
4030
- /** Source. */
4031
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
4032
- 'target': SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTarget;
4033
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayload | undefined | null;
4034
- }
4035
- interface UpdatePreferencesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4036
- id: 'updatePreferencesEmitTargetAndPayload';
4037
- version: 'v2021_05_19';
4038
- namespace: 'Calendar';
4039
- name: '';
4040
- fields: {
4041
- /** Source. */
4042
- 'source': {
4043
- label: 'Source';
4044
- type: 'schema';
4045
- options: {
4046
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
4047
- };
4048
- };
4049
- /** . */
4050
- 'target': {
4051
- type: 'schema';
4052
- isRequired: true;
4053
- options: {
4054
- schema: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetSchema;
4055
- };
4056
- };
4057
- /** . */
4058
- 'payload': {
4059
- type: 'schema';
4060
- options: {
4061
- schema: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayloadSchema;
4062
- };
4063
- };
4064
- };
4065
- }
4066
- type UpdatePreferencesEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetAndPayloadSchema>;
4067
- }
4068
- namespace SpruceSchemas.Calendar.v2021_05_19 {
4069
- interface UpdatePreferencesResponsePayload {
4070
- 'success': boolean;
4071
- }
4072
- interface UpdatePreferencesResponsePayloadSchema extends SpruceSchema.Schema {
4073
- id: 'updatePreferencesResponsePayload';
4074
- version: 'v2021_05_19';
4075
- namespace: 'Calendar';
4076
- name: '';
4077
- fields: {
4078
- /** . */
4079
- 'success': {
4080
- type: 'boolean';
4081
- isRequired: true;
4082
- options: undefined;
4083
- };
4084
- };
4085
- }
4086
- type UpdatePreferencesResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesResponsePayloadSchema>;
4087
- }
4088
4088
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4089
4089
  interface CreateCalendarEventEmitTarget {
4090
4090
  'organizationId'?: string | undefined | null;