@sprucelabs/spruce-calendar-components 32.0.1 → 32.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1790,6 +1790,95 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1790
1790
  interface DidUpdateCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidUpdateCalendarEventEmitTargetAndPayloadSchema> {
1791
1791
  }
1792
1792
  }
1793
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1794
+ interface GetCalendarEmitTarget {
1795
+ 'organizationId': string;
1796
+ 'slug'?: string | undefined | null;
1797
+ 'calendarId'?: string | undefined | null;
1798
+ }
1799
+ interface GetCalendarEmitTargetSchema extends SpruceSchema.Schema {
1800
+ id: 'getCalendarEmitTarget';
1801
+ version: 'v2021_05_19';
1802
+ namespace: 'Calendar';
1803
+ name: '';
1804
+ fields: {
1805
+ /** . */
1806
+ 'organizationId': {
1807
+ type: 'id';
1808
+ isRequired: true;
1809
+ options: undefined;
1810
+ };
1811
+ /** . */
1812
+ 'slug': {
1813
+ type: 'id';
1814
+ options: undefined;
1815
+ };
1816
+ /** . */
1817
+ 'calendarId': {
1818
+ type: 'id';
1819
+ options: undefined;
1820
+ };
1821
+ };
1822
+ }
1823
+ interface GetCalendarEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetSchema> {
1824
+ }
1825
+ }
1826
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1827
+ interface GetCalendarEmitTargetAndPayload {
1828
+ /** Source. */
1829
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1830
+ 'target': SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTarget;
1831
+ }
1832
+ interface GetCalendarEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1833
+ id: 'getCalendarEmitTargetAndPayload';
1834
+ version: 'v2021_05_19';
1835
+ namespace: 'Calendar';
1836
+ name: '';
1837
+ fields: {
1838
+ /** Source. */
1839
+ 'source': {
1840
+ label: 'Source';
1841
+ type: 'schema';
1842
+ options: {
1843
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
1844
+ };
1845
+ };
1846
+ /** . */
1847
+ 'target': {
1848
+ type: 'schema';
1849
+ isRequired: true;
1850
+ options: {
1851
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetSchema;
1852
+ };
1853
+ };
1854
+ };
1855
+ }
1856
+ interface GetCalendarEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetAndPayloadSchema> {
1857
+ }
1858
+ }
1859
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
1860
+ interface GetCalendarResponsePayload {
1861
+ 'calendar': SpruceSchemas.Calendar.v2021_05_19.Calendar;
1862
+ }
1863
+ interface GetCalendarResponsePayloadSchema extends SpruceSchema.Schema {
1864
+ id: 'getCalendarResponsePayload';
1865
+ version: 'v2021_05_19';
1866
+ namespace: 'Calendar';
1867
+ name: '';
1868
+ fields: {
1869
+ /** . */
1870
+ 'calendar': {
1871
+ type: 'schema';
1872
+ isRequired: true;
1873
+ options: {
1874
+ schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
1875
+ };
1876
+ };
1877
+ };
1878
+ }
1879
+ interface GetCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarResponsePayloadSchema> {
1880
+ }
1881
+ }
1793
1882
  namespace SpruceSchemas.Calendar.v2021_05_19 {
1794
1883
  interface GetAvailableTimeSlotsEmitTarget {
1795
1884
  'organizationId'?: string | undefined | null;
@@ -1947,58 +2036,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1947
2036
  interface GetAvailableTimeSlotsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetAvailableTimeSlotsEmitPayloadSchema> {
1948
2037
  }
1949
2038
  }
1950
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1951
- interface TeammatesTimeslots {
1952
- 'personId': string;
1953
- 'startDateTimeMs': number;
1954
- }
1955
- interface TeammatesTimeslotsSchema extends SpruceSchema.Schema {
1956
- id: 'teammatesTimeslots';
1957
- version: 'v2021_05_19';
1958
- namespace: 'Calendar';
1959
- name: '';
1960
- fields: {
1961
- /** . */
1962
- 'personId': {
1963
- type: 'id';
1964
- isRequired: true;
1965
- options: undefined;
1966
- };
1967
- /** . */
1968
- 'startDateTimeMs': {
1969
- type: 'number';
1970
- isRequired: true;
1971
- options: undefined;
1972
- };
1973
- };
1974
- }
1975
- interface TeammatesTimeslotsEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslotsSchema> {
1976
- }
1977
- }
1978
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1979
- interface Timeslots {
1980
- 'slots': SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslots[];
1981
- }
1982
- interface TimeslotsSchema extends SpruceSchema.Schema {
1983
- id: 'timeslots';
1984
- version: 'v2021_05_19';
1985
- namespace: 'Calendar';
1986
- name: '';
1987
- fields: {
1988
- /** . */
1989
- 'slots': {
1990
- type: 'schema';
1991
- isRequired: true;
1992
- isArray: true;
1993
- options: {
1994
- schema: SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslotsSchema;
1995
- };
1996
- };
1997
- };
1998
- }
1999
- interface TimeslotsEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TimeslotsSchema> {
2000
- }
2001
- }
2002
2039
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2003
2040
  interface GetAvailableTimeSlotsResponsePayload {
2004
2041
  'times': SpruceSchemas.Calendar.v2021_05_19.Timeslots[];
@@ -2025,92 +2062,55 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2025
2062
  }
2026
2063
  }
2027
2064
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2028
- interface GetCalendarEmitTarget {
2029
- 'organizationId': string;
2030
- 'slug'?: string | undefined | null;
2031
- 'calendarId'?: string | undefined | null;
2065
+ interface TeammatesTimeslots {
2066
+ 'personId': string;
2067
+ 'startDateTimeMs': number;
2032
2068
  }
2033
- interface GetCalendarEmitTargetSchema extends SpruceSchema.Schema {
2034
- id: 'getCalendarEmitTarget';
2069
+ interface TeammatesTimeslotsSchema extends SpruceSchema.Schema {
2070
+ id: 'teammatesTimeslots';
2035
2071
  version: 'v2021_05_19';
2036
2072
  namespace: 'Calendar';
2037
2073
  name: '';
2038
2074
  fields: {
2039
2075
  /** . */
2040
- 'organizationId': {
2076
+ 'personId': {
2041
2077
  type: 'id';
2042
2078
  isRequired: true;
2043
2079
  options: undefined;
2044
2080
  };
2045
2081
  /** . */
2046
- 'slug': {
2047
- type: 'id';
2048
- options: undefined;
2049
- };
2050
- /** . */
2051
- 'calendarId': {
2052
- type: 'id';
2053
- options: undefined;
2054
- };
2055
- };
2056
- }
2057
- interface GetCalendarEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetSchema> {
2058
- }
2059
- }
2060
- namespace SpruceSchemas.Calendar.v2021_05_19 {
2061
- interface GetCalendarEmitTargetAndPayload {
2062
- /** Source. */
2063
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2064
- 'target': SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTarget;
2065
- }
2066
- interface GetCalendarEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2067
- id: 'getCalendarEmitTargetAndPayload';
2068
- version: 'v2021_05_19';
2069
- namespace: 'Calendar';
2070
- name: '';
2071
- fields: {
2072
- /** Source. */
2073
- 'source': {
2074
- label: 'Source';
2075
- type: 'schema';
2076
- options: {
2077
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
2078
- };
2079
- };
2080
- /** . */
2081
- 'target': {
2082
- type: 'schema';
2082
+ 'startDateTimeMs': {
2083
+ type: 'number';
2083
2084
  isRequired: true;
2084
- options: {
2085
- schema: SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetSchema;
2086
- };
2085
+ options: undefined;
2087
2086
  };
2088
2087
  };
2089
2088
  }
2090
- interface GetCalendarEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetAndPayloadSchema> {
2089
+ interface TeammatesTimeslotsEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslotsSchema> {
2091
2090
  }
2092
2091
  }
2093
2092
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2094
- interface GetCalendarResponsePayload {
2095
- 'calendar': SpruceSchemas.Calendar.v2021_05_19.Calendar;
2093
+ interface Timeslots {
2094
+ 'slots': SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslots[];
2096
2095
  }
2097
- interface GetCalendarResponsePayloadSchema extends SpruceSchema.Schema {
2098
- id: 'getCalendarResponsePayload';
2096
+ interface TimeslotsSchema extends SpruceSchema.Schema {
2097
+ id: 'timeslots';
2099
2098
  version: 'v2021_05_19';
2100
2099
  namespace: 'Calendar';
2101
2100
  name: '';
2102
2101
  fields: {
2103
2102
  /** . */
2104
- 'calendar': {
2103
+ 'slots': {
2105
2104
  type: 'schema';
2106
2105
  isRequired: true;
2106
+ isArray: true;
2107
2107
  options: {
2108
- schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
2108
+ schema: SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslotsSchema;
2109
2109
  };
2110
2110
  };
2111
2111
  };
2112
2112
  }
2113
- interface GetCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarResponsePayloadSchema> {
2113
+ interface TimeslotsEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TimeslotsSchema> {
2114
2114
  }
2115
2115
  }
2116
2116
  namespace SpruceSchemas.Calendar.v2021_05_19 {
@@ -3133,81 +3133,54 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
3133
3133
  }
3134
3134
  }
3135
3135
  namespace SpruceSchemas.Calendar.v2021_05_19 {
3136
- interface UpdatePreferencesEmitTarget {
3137
- 'organizationId': string;
3136
+ interface UpdateCalendarEventEmitTarget {
3137
+ 'organizationId'?: string | undefined | null;
3138
+ 'locationId'?: string | undefined | null;
3139
+ 'calendarEventId': string;
3140
+ 'calendarEventPersonId': string;
3138
3141
  }
3139
- interface UpdatePreferencesEmitTargetSchema extends SpruceSchema.Schema {
3140
- id: 'updatePreferencesEmitTarget';
3142
+ interface UpdateCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
3143
+ id: 'updateCalendarEventEmitTarget';
3141
3144
  version: 'v2021_05_19';
3142
3145
  namespace: 'Calendar';
3143
3146
  name: '';
3144
3147
  fields: {
3145
3148
  /** . */
3146
3149
  'organizationId': {
3150
+ type: 'id';
3151
+ options: undefined;
3152
+ };
3153
+ /** . */
3154
+ 'locationId': {
3155
+ type: 'id';
3156
+ options: undefined;
3157
+ };
3158
+ /** . */
3159
+ 'calendarEventId': {
3160
+ type: 'id';
3161
+ isRequired: true;
3162
+ options: undefined;
3163
+ };
3164
+ /** . */
3165
+ 'calendarEventPersonId': {
3147
3166
  type: 'id';
3148
3167
  isRequired: true;
3149
3168
  options: undefined;
3150
3169
  };
3151
3170
  };
3152
3171
  }
3153
- interface UpdatePreferencesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetSchema> {
3172
+ interface UpdateCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetSchema> {
3154
3173
  }
3155
3174
  }
3156
3175
  namespace SpruceSchemas.Calendar.v2021_05_19 {
3157
- interface UpdatePreferencesEmitPayload {
3158
- 'selectedCalendarIds'?: string[] | undefined | null;
3159
- 'visiblePeopleMode'?: ("me" | "working" | "custom") | undefined | null;
3160
- 'visiblePeopleIds'?: string[] | undefined | null;
3176
+ interface UpdateCalendarEventEmitTargetAndPayload {
3177
+ /** Source. */
3178
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
3179
+ 'target': SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTarget;
3180
+ 'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayload | undefined | null;
3161
3181
  }
3162
- interface UpdatePreferencesEmitPayloadSchema extends SpruceSchema.Schema {
3163
- id: 'updatePreferencesEmitPayload';
3164
- version: 'v2021_05_19';
3165
- namespace: 'Calendar';
3166
- name: '';
3167
- fields: {
3168
- /** . */
3169
- 'selectedCalendarIds': {
3170
- type: 'id';
3171
- isArray: true;
3172
- minArrayLength: 0;
3173
- options: undefined;
3174
- };
3175
- /** . */
3176
- 'visiblePeopleMode': {
3177
- type: 'select';
3178
- options: {
3179
- choices: [{
3180
- "value": "me";
3181
- "label": "Me";
3182
- }, {
3183
- "value": "working";
3184
- "label": "Working";
3185
- }, {
3186
- "value": "custom";
3187
- "label": "Custom";
3188
- }];
3189
- };
3190
- };
3191
- /** . */
3192
- 'visiblePeopleIds': {
3193
- type: 'text';
3194
- isArray: true;
3195
- options: undefined;
3196
- };
3197
- };
3198
- }
3199
- interface UpdatePreferencesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayloadSchema> {
3200
- }
3201
- }
3202
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3203
- interface UpdatePreferencesEmitTargetAndPayload {
3204
- /** Source. */
3205
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
3206
- 'target': SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTarget;
3207
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayload | undefined | null;
3208
- }
3209
- interface UpdatePreferencesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
3210
- id: 'updatePreferencesEmitTargetAndPayload';
3182
+ interface UpdateCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
3183
+ id: 'updateCalendarEventEmitTargetAndPayload';
3211
3184
  version: 'v2021_05_19';
3212
3185
  namespace: 'Calendar';
3213
3186
  name: '';
@@ -3225,587 +3198,399 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
3225
3198
  type: 'schema';
3226
3199
  isRequired: true;
3227
3200
  options: {
3228
- schema: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetSchema;
3201
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetSchema;
3229
3202
  };
3230
3203
  };
3231
3204
  /** . */
3232
3205
  'payload': {
3233
3206
  type: 'schema';
3234
3207
  options: {
3235
- schema: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayloadSchema;
3208
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayloadSchema;
3236
3209
  };
3237
3210
  };
3238
3211
  };
3239
3212
  }
3240
- interface UpdatePreferencesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetAndPayloadSchema> {
3213
+ interface UpdateCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetAndPayloadSchema> {
3241
3214
  }
3242
3215
  }
3243
3216
  namespace SpruceSchemas.Calendar.v2021_05_19 {
3244
- interface UpdatePreferencesResponsePayload {
3245
- 'success': boolean;
3217
+ interface UpdateCalendarEventEmitPayload {
3218
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
3219
+ 'target'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventTarget | undefined | null;
3220
+ 'calendarId'?: string | undefined | null;
3221
+ 'eventTypeSlug'?: string | undefined | null;
3222
+ 'startDateTimeMs'?: SpruceSchema.DateTimeFieldValue | undefined | null;
3223
+ 'isBusy'?: boolean | undefined | null;
3224
+ 'isResizeable'?: boolean | undefined | null;
3225
+ 'style'?: ("draft" | "tentative" | "upcoming" | "unavailable" | "blocked" | "active" | "past" | "warn" | "critical") | undefined | null;
3226
+ 'groupId'?: string | undefined | null;
3227
+ 'timeBlocks'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventTimeBlock[] | undefined | null;
3228
+ 'repeats'?: ("weekly" | "monthly" | "daily") | undefined | null;
3229
+ 'daysOfWeek'?: ("sun" | "mon" | "tue" | "wed" | "thur" | "fri" | "sat")[] | undefined | null;
3230
+ '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;
3231
+ 'repeatsUntil'?: SpruceSchema.DateTimeFieldValue | undefined | null;
3232
+ 'occurrences'?: number | undefined | null;
3233
+ 'interval'?: number | undefined | null;
3234
+ 'nthOccurrences'?: number[] | undefined | null;
3235
+ 'exclusionDates'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDate[] | undefined | null;
3236
+ 'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
3237
+ 'nthInRepeating'?: number | undefined | null;
3238
+ 'totalInRepeating'?: number | undefined | null;
3239
+ 'meta'?: (Record<string, any>) | undefined | null;
3240
+ 'addToExclusionDates'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDate[] | undefined | null;
3241
+ 'dateToUpdate'?: number | undefined | null;
3242
+ 'shouldUpdateAllEventsGoingForward'?: boolean | undefined | null;
3243
+ /** . It will show on this person's calendar going forward! */
3244
+ 'newTargetPersonId'?: string | undefined | null;
3246
3245
  }
3247
- interface UpdatePreferencesResponsePayloadSchema extends SpruceSchema.Schema {
3248
- id: 'updatePreferencesResponsePayload';
3246
+ interface UpdateCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
3247
+ id: 'updateCalendarEventEmitPayload';
3249
3248
  version: 'v2021_05_19';
3250
3249
  namespace: 'Calendar';
3251
3250
  name: '';
3252
3251
  fields: {
3253
3252
  /** . */
3254
- 'success': {
3255
- type: 'boolean';
3256
- isRequired: true;
3253
+ 'source': {
3254
+ type: 'schema';
3255
+ options: {
3256
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
3257
+ };
3258
+ };
3259
+ /** . */
3260
+ 'target': {
3261
+ type: 'schema';
3262
+ options: {
3263
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventTargetSchema;
3264
+ };
3265
+ };
3266
+ /** . */
3267
+ 'calendarId': {
3268
+ type: 'id';
3257
3269
  options: undefined;
3258
3270
  };
3259
- };
3260
- }
3261
- interface UpdatePreferencesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesResponsePayloadSchema> {
3262
- }
3263
- }
3264
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3265
- interface UpsertCalendarEventTypeEmitTarget {
3266
- 'slug': string;
3267
- }
3268
- interface UpsertCalendarEventTypeEmitTargetSchema extends SpruceSchema.Schema {
3269
- id: 'upsertCalendarEventTypeEmitTarget';
3270
- version: 'v2021_05_19';
3271
- namespace: 'Calendar';
3272
- name: '';
3273
- fields: {
3274
3271
  /** . */
3275
- 'slug': {
3272
+ 'eventTypeSlug': {
3276
3273
  type: 'text';
3277
- isRequired: true;
3278
3274
  options: undefined;
3279
3275
  };
3280
- };
3281
- }
3282
- interface UpsertCalendarEventTypeEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTargetSchema> {
3283
- }
3284
- }
3285
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3286
- interface UpsertCalendarEventTypeEmitPayload {
3287
- 'name'?: string | undefined | null;
3288
- 'slug'?: string | undefined | null;
3289
- 'viewControllerId'?: string | undefined | null;
3290
- '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" | "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" | "link-angle" | "link-flat" | "loader" | "location-pin" | "lock" | "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" | "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;
3291
- }
3292
- interface UpsertCalendarEventTypeEmitPayloadSchema extends SpruceSchema.Schema {
3293
- id: 'upsertCalendarEventTypeEmitPayload';
3294
- version: 'v2021_05_19';
3295
- namespace: 'Calendar';
3296
- name: '';
3297
- fields: {
3298
3276
  /** . */
3299
- 'name': {
3300
- type: 'text';
3277
+ 'startDateTimeMs': {
3278
+ type: 'dateTime';
3301
3279
  options: undefined;
3302
3280
  };
3303
3281
  /** . */
3304
- 'slug': {
3305
- type: 'text';
3282
+ 'isBusy': {
3283
+ type: 'boolean';
3306
3284
  options: undefined;
3307
3285
  };
3308
3286
  /** . */
3309
- 'viewControllerId': {
3310
- type: 'id';
3287
+ 'isResizeable': {
3288
+ type: 'boolean';
3311
3289
  options: undefined;
3312
3290
  };
3313
3291
  /** . */
3314
- 'lineIcon': {
3292
+ 'style': {
3315
3293
  type: 'select';
3316
3294
  options: {
3317
3295
  choices: [{
3318
- "value": "add-circle";
3319
- "label": "add-circle";
3296
+ "value": "draft";
3297
+ "label": "Draft";
3320
3298
  }, {
3321
- "value": "add-square";
3322
- "label": "add-square";
3299
+ "value": "tentative";
3300
+ "label": "Tentative";
3323
3301
  }, {
3324
- "value": "add";
3325
- "label": "add";
3302
+ "value": "upcoming";
3303
+ "label": "Upcoming";
3326
3304
  }, {
3327
- "value": "alarm";
3328
- "label": "alarm";
3305
+ "value": "unavailable";
3306
+ "label": "Unavailable";
3329
3307
  }, {
3330
- "value": "arrow-back";
3331
- "label": "arrow-back";
3308
+ "value": "blocked";
3309
+ "label": "Blocked";
3332
3310
  }, {
3333
- "value": "arrow-down-circle";
3334
- "label": "arrow-down-circle";
3311
+ "value": "active";
3312
+ "label": "Active";
3335
3313
  }, {
3336
- "value": "arrow-down";
3337
- "label": "arrow-down";
3314
+ "value": "past";
3315
+ "label": "Past";
3338
3316
  }, {
3339
- "value": "arrow-next";
3340
- "label": "arrow-next";
3317
+ "value": "warn";
3318
+ "label": "Warning";
3341
3319
  }, {
3342
- "value": "arrow-up-circle";
3343
- "label": "arrow-up-circle";
3320
+ "value": "critical";
3321
+ "label": "Critical";
3322
+ }];
3323
+ };
3324
+ };
3325
+ /** . */
3326
+ 'groupId': {
3327
+ type: 'id';
3328
+ options: undefined;
3329
+ };
3330
+ /** . */
3331
+ 'timeBlocks': {
3332
+ type: 'schema';
3333
+ isArray: true;
3334
+ minArrayLength: 1;
3335
+ options: {
3336
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.EventTimeBlockSchema;
3337
+ };
3338
+ };
3339
+ /** . */
3340
+ 'repeats': {
3341
+ type: 'select';
3342
+ options: {
3343
+ choices: [{
3344
+ "value": "weekly";
3345
+ "label": "Weekly";
3344
3346
  }, {
3345
- "value": "arrow-up";
3346
- "label": "arrow-up";
3347
+ "value": "monthly";
3348
+ "label": "Monthly";
3347
3349
  }, {
3348
- "value": "attachment";
3349
- "label": "attachment";
3350
+ "value": "daily";
3351
+ "label": "Daily";
3352
+ }];
3353
+ };
3354
+ };
3355
+ /** . */
3356
+ 'daysOfWeek': {
3357
+ type: 'select';
3358
+ isArray: true;
3359
+ options: {
3360
+ choices: [{
3361
+ "value": "sun";
3362
+ "label": "Sunday";
3350
3363
  }, {
3351
- "value": "award-badge";
3352
- "label": "award-badge";
3364
+ "value": "mon";
3365
+ "label": "Monday";
3353
3366
  }, {
3354
- "value": "binoculars";
3355
- "label": "binoculars";
3367
+ "value": "tue";
3368
+ "label": "Tuesday";
3356
3369
  }, {
3357
- "value": "bolt";
3358
- "label": "bolt";
3370
+ "value": "wed";
3371
+ "label": "Wednesday";
3359
3372
  }, {
3360
- "value": "book-open";
3361
- "label": "book-open";
3373
+ "value": "thur";
3374
+ "label": "Thursday";
3362
3375
  }, {
3363
- "value": "book";
3364
- "label": "book";
3376
+ "value": "fri";
3377
+ "label": "Friday";
3365
3378
  }, {
3366
- "value": "bookmark";
3367
- "label": "bookmark";
3368
- }, {
3369
- "value": "calendar-add";
3370
- "label": "calendar-add";
3371
- }, {
3372
- "value": "calendar";
3373
- "label": "calendar";
3374
- }, {
3375
- "value": "camera";
3376
- "label": "camera";
3377
- }, {
3378
- "value": "cellphone";
3379
- "label": "cellphone";
3380
- }, {
3381
- "value": "checkmark";
3382
- "label": "checkmark";
3383
- }, {
3384
- "value": "chevron-down";
3385
- "label": "chevron-down";
3386
- }, {
3387
- "value": "chevron-left";
3388
- "label": "chevron-left";
3389
- }, {
3390
- "value": "chevron-right";
3391
- "label": "chevron-right";
3392
- }, {
3393
- "value": "chevron-up";
3394
- "label": "chevron-up";
3395
- }, {
3396
- "value": "clipboard";
3397
- "label": "clipboard";
3398
- }, {
3399
- "value": "clock";
3400
- "label": "clock";
3401
- }, {
3402
- "value": "close-circle";
3403
- "label": "close-circle";
3404
- }, {
3405
- "value": "close-square";
3406
- "label": "close-square";
3407
- }, {
3408
- "value": "close";
3409
- "label": "close";
3410
- }, {
3411
- "value": "code";
3412
- "label": "code";
3413
- }, {
3414
- "value": "coffee";
3415
- "label": "coffee";
3416
- }, {
3417
- "value": "command";
3418
- "label": "command";
3419
- }, {
3420
- "value": "corner-down-left";
3421
- "label": "corner-down-left";
3422
- }, {
3423
- "value": "corner-down-right";
3424
- "label": "corner-down-right";
3425
- }, {
3426
- "value": "corner-left-down";
3427
- "label": "corner-left-down";
3428
- }, {
3429
- "value": "corner-left-up";
3430
- "label": "corner-left-up";
3431
- }, {
3432
- "value": "corner-right-down";
3433
- "label": "corner-right-down";
3434
- }, {
3435
- "value": "corner-right-up";
3436
- "label": "corner-right-up";
3437
- }, {
3438
- "value": "corner-up-left";
3439
- "label": "corner-up-left";
3440
- }, {
3441
- "value": "corner-up-right";
3442
- "label": "corner-up-right";
3443
- }, {
3444
- "value": "crop";
3445
- "label": "crop";
3446
- }, {
3447
- "value": "delete";
3448
- "label": "delete";
3449
- }, {
3450
- "value": "document-blank";
3451
- "label": "document-blank";
3452
- }, {
3453
- "value": "document-new";
3454
- "label": "document-new";
3455
- }, {
3456
- "value": "document-text";
3457
- "label": "document-text";
3458
- }, {
3459
- "value": "download-cloud";
3460
- "label": "download-cloud";
3461
- }, {
3462
- "value": "download";
3463
- "label": "download";
3464
- }, {
3465
- "value": "edit-box";
3466
- "label": "edit-box";
3467
- }, {
3468
- "value": "edit-line";
3469
- "label": "edit-line";
3470
- }, {
3471
- "value": "email";
3472
- "label": "email";
3473
- }, {
3474
- "value": "emoji-happy";
3475
- "label": "emoji-happy";
3476
- }, {
3477
- "value": "emoji-sad";
3478
- "label": "emoji-sad";
3479
- }, {
3480
- "value": "external-link";
3481
- "label": "external-link";
3482
- }, {
3483
- "value": "fav-heart";
3484
- "label": "fav-heart";
3485
- }, {
3486
- "value": "flag";
3487
- "label": "flag";
3488
- }, {
3489
- "value": "flip-01";
3490
- "label": "flip-01";
3491
- }, {
3492
- "value": "flip-02";
3493
- "label": "flip-02";
3379
+ "value": "sat";
3380
+ "label": "Saturday";
3381
+ }];
3382
+ };
3383
+ };
3384
+ /** . */
3385
+ 'daysOfMonth': {
3386
+ type: 'select';
3387
+ isArray: true;
3388
+ options: {
3389
+ choices: [{
3390
+ "value": "1";
3391
+ "label": "1";
3494
3392
  }, {
3495
- "value": "folder";
3496
- "label": "folder";
3393
+ "value": "2";
3394
+ "label": "2";
3497
3395
  }, {
3498
- "value": "globe";
3499
- "label": "globe";
3396
+ "value": "3";
3397
+ "label": "3";
3500
3398
  }, {
3501
- "value": "hash-tag";
3502
- "label": "hash-tag";
3399
+ "value": "4";
3400
+ "label": "4";
3503
3401
  }, {
3504
- "value": "headphones";
3505
- "label": "headphones";
3402
+ "value": "5";
3403
+ "label": "5";
3506
3404
  }, {
3507
- "value": "help-buoy";
3508
- "label": "help-buoy";
3405
+ "value": "6";
3406
+ "label": "6";
3509
3407
  }, {
3510
- "value": "help-circle";
3511
- "label": "help-circle";
3408
+ "value": "7";
3409
+ "label": "7";
3512
3410
  }, {
3513
- "value": "home";
3514
- "label": "home";
3411
+ "value": "8";
3412
+ "label": "8";
3515
3413
  }, {
3516
- "value": "info";
3517
- "label": "info";
3414
+ "value": "9";
3415
+ "label": "9";
3518
3416
  }, {
3519
- "value": "jump";
3520
- "label": "jump";
3417
+ "value": "10";
3418
+ "label": "10";
3521
3419
  }, {
3522
- "value": "layers";
3523
- "label": "layers";
3420
+ "value": "11";
3421
+ "label": "11";
3524
3422
  }, {
3525
- "value": "link-angle";
3526
- "label": "link-angle";
3423
+ "value": "12";
3424
+ "label": "12";
3527
3425
  }, {
3528
- "value": "link-flat";
3529
- "label": "link-flat";
3426
+ "value": "13";
3427
+ "label": "13";
3530
3428
  }, {
3531
- "value": "loader";
3532
- "label": "loader";
3429
+ "value": "14";
3430
+ "label": "14";
3533
3431
  }, {
3534
- "value": "location-pin";
3535
- "label": "location-pin";
3432
+ "value": "15";
3433
+ "label": "15";
3536
3434
  }, {
3537
- "value": "lock";
3538
- "label": "lock";
3435
+ "value": "16";
3436
+ "label": "16";
3539
3437
  }, {
3540
- "value": "map";
3541
- "label": "map";
3438
+ "value": "17";
3439
+ "label": "17";
3542
3440
  }, {
3543
- "value": "message-circle";
3544
- "label": "message-circle";
3441
+ "value": "18";
3442
+ "label": "18";
3545
3443
  }, {
3546
- "value": "message-square";
3547
- "label": "message-square";
3444
+ "value": "19";
3445
+ "label": "19";
3548
3446
  }, {
3549
- "value": "mic-off";
3550
- "label": "mic-off";
3447
+ "value": "20";
3448
+ "label": "20";
3551
3449
  }, {
3552
- "value": "mic-on";
3553
- "label": "mic-on";
3450
+ "value": "21";
3451
+ "label": "21";
3554
3452
  }, {
3555
- "value": "minus-circle";
3556
- "label": "minus-circle";
3453
+ "value": "22";
3454
+ "label": "22";
3557
3455
  }, {
3558
- "value": "minus-square";
3559
- "label": "minus-square";
3456
+ "value": "23";
3457
+ "label": "23";
3560
3458
  }, {
3561
- "value": "money-sign";
3562
- "label": "money-sign";
3459
+ "value": "24";
3460
+ "label": "24";
3563
3461
  }, {
3564
- "value": "more-horizontal";
3565
- "label": "more-horizontal";
3462
+ "value": "25";
3463
+ "label": "25";
3566
3464
  }, {
3567
- "value": "more-vertical";
3568
- "label": "more-vertical";
3465
+ "value": "26";
3466
+ "label": "26";
3569
3467
  }, {
3570
- "value": "notification-off";
3571
- "label": "notification-off";
3468
+ "value": "27";
3469
+ "label": "27";
3572
3470
  }, {
3573
- "value": "notification-on";
3574
- "label": "notification-on";
3471
+ "value": "28";
3472
+ "label": "28";
3575
3473
  }, {
3576
- "value": "object";
3577
- "label": "object";
3474
+ "value": "29";
3475
+ "label": "29";
3578
3476
  }, {
3579
- "value": "pause-circle";
3580
- "label": "pause-circle";
3477
+ "value": "30";
3478
+ "label": "30";
3581
3479
  }, {
3582
- "value": "phone-unavailable";
3583
- "label": "phone-unavailable";
3584
- }, {
3585
- "value": "phone";
3586
- "label": "phone";
3587
- }, {
3588
- "value": "photo";
3589
- "label": "photo";
3590
- }, {
3591
- "value": "picked";
3592
- "label": "picked";
3593
- }, {
3594
- "value": "play-circle";
3595
- "label": "play-circle";
3596
- }, {
3597
- "value": "present";
3598
- "label": "present";
3599
- }, {
3600
- "value": "refresh-circle";
3601
- "label": "refresh-circle";
3602
- }, {
3603
- "value": "refresh";
3604
- "label": "refresh";
3605
- }, {
3606
- "value": "repeat";
3607
- "label": "repeat";
3608
- }, {
3609
- "value": "restricted";
3610
- "label": "restricted";
3611
- }, {
3612
- "value": "rotate";
3613
- "label": "rotate";
3614
- }, {
3615
- "value": "search-no";
3616
- "label": "search-no";
3617
- }, {
3618
- "value": "search";
3619
- "label": "search";
3620
- }, {
3621
- "value": "selector-checked";
3622
- "label": "selector-checked";
3623
- }, {
3624
- "value": "selector-circle-filled";
3625
- "label": "selector-circle-filled";
3626
- }, {
3627
- "value": "selector-circle";
3628
- "label": "selector-circle";
3629
- }, {
3630
- "value": "send";
3631
- "label": "send";
3632
- }, {
3633
- "value": "settings-filled";
3634
- "label": "settings-filled";
3635
- }, {
3636
- "value": "settings";
3637
- "label": "settings";
3638
- }, {
3639
- "value": "share";
3640
- "label": "share";
3641
- }, {
3642
- "value": "shopping-bag";
3643
- "label": "shopping-bag";
3644
- }, {
3645
- "value": "shopping-cart";
3646
- "label": "shopping-cart";
3647
- }, {
3648
- "value": "sort-filter-down";
3649
- "label": "sort-filter-down";
3650
- }, {
3651
- "value": "sort-filter-up";
3652
- "label": "sort-filter-up";
3653
- }, {
3654
- "value": "sound-off";
3655
- "label": "sound-off";
3656
- }, {
3657
- "value": "sound-on";
3658
- "label": "sound-on";
3659
- }, {
3660
- "value": "sprucebot";
3661
- "label": "sprucebot";
3662
- }, {
3663
- "value": "star-filled";
3664
- "label": "star-filled";
3665
- }, {
3666
- "value": "star";
3667
- "label": "star";
3668
- }, {
3669
- "value": "sun";
3670
- "label": "sun";
3671
- }, {
3672
- "value": "tag";
3673
- "label": "tag";
3674
- }, {
3675
- "value": "time";
3676
- "label": "time";
3677
- }, {
3678
- "value": "tool";
3679
- "label": "tool";
3680
- }, {
3681
- "value": "trending-down";
3682
- "label": "trending-down";
3683
- }, {
3684
- "value": "trending-up";
3685
- "label": "trending-up";
3686
- }, {
3687
- "value": "triangle";
3688
- "label": "triangle";
3689
- }, {
3690
- "value": "unlock";
3691
- "label": "unlock";
3692
- }, {
3693
- "value": "upload-cloud";
3694
- "label": "upload-cloud";
3695
- }, {
3696
- "value": "upload";
3697
- "label": "upload";
3698
- }, {
3699
- "value": "user-add";
3700
- "label": "user-add";
3701
- }, {
3702
- "value": "user-delete";
3703
- "label": "user-delete";
3704
- }, {
3705
- "value": "user";
3706
- "label": "user";
3707
- }, {
3708
- "value": "users";
3709
- "label": "users";
3710
- }, {
3711
- "value": "video-off";
3712
- "label": "video-off";
3713
- }, {
3714
- "value": "video";
3715
- "label": "video";
3716
- }, {
3717
- "value": "warning";
3718
- "label": "warning";
3719
- }, {
3720
- "value": "wifi";
3721
- "label": "wifi";
3722
- }, {
3723
- "value": "zoom-in";
3724
- "label": "zoom-in";
3725
- }, {
3726
- "value": "zoom-out";
3727
- "label": "zoom-out";
3480
+ "value": "31";
3481
+ "label": "31";
3728
3482
  }];
3729
3483
  };
3730
3484
  };
3731
- };
3732
- }
3733
- interface UpsertCalendarEventTypeEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitPayloadSchema> {
3734
- }
3735
- }
3736
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3737
- interface UpsertCalendarEventTypeEmitTargetAndPayload {
3738
- /** Source. */
3739
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
3740
- 'target': SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTarget;
3741
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitPayload | undefined | null;
3742
- }
3743
- interface UpsertCalendarEventTypeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
3744
- id: 'upsertCalendarEventTypeEmitTargetAndPayload';
3745
- version: 'v2021_05_19';
3746
- namespace: 'Calendar';
3747
- name: '';
3748
- fields: {
3749
- /** Source. */
3750
- 'source': {
3751
- label: 'Source';
3485
+ /** . */
3486
+ 'repeatsUntil': {
3487
+ type: 'dateTime';
3488
+ options: undefined;
3489
+ };
3490
+ /** . */
3491
+ 'occurrences': {
3492
+ type: 'number';
3493
+ options: undefined;
3494
+ };
3495
+ /** . */
3496
+ 'interval': {
3497
+ type: 'number';
3498
+ options: undefined;
3499
+ };
3500
+ /** . */
3501
+ 'nthOccurrences': {
3502
+ type: 'number';
3503
+ isArray: true;
3504
+ options: undefined;
3505
+ };
3506
+ /** . */
3507
+ 'exclusionDates': {
3752
3508
  type: 'schema';
3509
+ isArray: true;
3753
3510
  options: {
3754
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
3511
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDateSchema;
3755
3512
  };
3756
3513
  };
3757
3514
  /** . */
3758
- 'target': {
3759
- type: 'schema';
3760
- isRequired: true;
3515
+ 'dateDeleted': {
3516
+ type: 'dateTime';
3517
+ options: undefined;
3518
+ };
3519
+ /** . */
3520
+ 'nthInRepeating': {
3521
+ type: 'number';
3522
+ options: undefined;
3523
+ };
3524
+ /** . */
3525
+ 'totalInRepeating': {
3526
+ type: 'number';
3527
+ options: undefined;
3528
+ };
3529
+ /** . */
3530
+ 'meta': {
3531
+ type: 'raw';
3761
3532
  options: {
3762
- schema: SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTargetSchema;
3533
+ valueType: `Record<string, any>`;
3763
3534
  };
3764
3535
  };
3765
3536
  /** . */
3766
- 'payload': {
3537
+ 'addToExclusionDates': {
3767
3538
  type: 'schema';
3539
+ isArray: true;
3768
3540
  options: {
3769
- schema: SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitPayloadSchema;
3541
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDateSchema;
3770
3542
  };
3771
3543
  };
3544
+ /** . */
3545
+ 'dateToUpdate': {
3546
+ type: 'number';
3547
+ options: undefined;
3548
+ };
3549
+ /** . */
3550
+ 'shouldUpdateAllEventsGoingForward': {
3551
+ type: 'boolean';
3552
+ options: undefined;
3553
+ };
3554
+ /** . It will show on this person's calendar going forward! */
3555
+ 'newTargetPersonId': {
3556
+ type: 'id';
3557
+ hint: 'It will show on this person\'s calendar going forward!';
3558
+ options: undefined;
3559
+ };
3772
3560
  };
3773
3561
  }
3774
- interface UpsertCalendarEventTypeEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTargetAndPayloadSchema> {
3562
+ interface UpdateCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayloadSchema> {
3775
3563
  }
3776
3564
  }
3777
3565
  namespace SpruceSchemas.Calendar.v2021_05_19 {
3778
- interface UpsertCalendarEventTypeResponsePayload {
3779
- 'calendarEventType': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType;
3566
+ interface UpdateCalendarEventResponsePayload {
3567
+ 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
3780
3568
  }
3781
- interface UpsertCalendarEventTypeResponsePayloadSchema extends SpruceSchema.Schema {
3782
- id: 'upsertCalendarEventTypeResponsePayload';
3569
+ interface UpdateCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
3570
+ id: 'updateCalendarEventResponsePayload';
3783
3571
  version: 'v2021_05_19';
3784
3572
  namespace: 'Calendar';
3785
3573
  name: '';
3786
3574
  fields: {
3787
3575
  /** . */
3788
- 'calendarEventType': {
3576
+ 'calendarEvent': {
3789
3577
  type: 'schema';
3790
3578
  isRequired: true;
3791
3579
  options: {
3792
- schema: SpruceSchemas.Calendar.v2021_05_19.CalendarEventTypeSchema;
3580
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
3793
3581
  };
3794
3582
  };
3795
3583
  };
3796
3584
  }
3797
- interface UpsertCalendarEventTypeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeResponsePayloadSchema> {
3585
+ interface UpdateCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventResponsePayloadSchema> {
3798
3586
  }
3799
3587
  }
3800
3588
  namespace SpruceSchemas.Calendar.v2021_05_19 {
3801
- interface UpdateCalendarEventEmitTarget {
3802
- 'organizationId'?: string | undefined | null;
3803
- 'locationId'?: string | undefined | null;
3804
- 'calendarEventId': string;
3805
- 'calendarEventPersonId': string;
3589
+ interface UpdatePreferencesEmitTarget {
3590
+ 'organizationId': string;
3806
3591
  }
3807
- interface UpdateCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
3808
- id: 'updateCalendarEventEmitTarget';
3592
+ interface UpdatePreferencesEmitTargetSchema extends SpruceSchema.Schema {
3593
+ id: 'updatePreferencesEmitTarget';
3809
3594
  version: 'v2021_05_19';
3810
3595
  namespace: 'Calendar';
3811
3596
  name: '';
@@ -3813,39 +3598,69 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
3813
3598
  /** . */
3814
3599
  'organizationId': {
3815
3600
  type: 'id';
3601
+ isRequired: true;
3816
3602
  options: undefined;
3817
3603
  };
3604
+ };
3605
+ }
3606
+ interface UpdatePreferencesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetSchema> {
3607
+ }
3608
+ }
3609
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
3610
+ interface UpdatePreferencesEmitPayload {
3611
+ 'selectedCalendarIds'?: string[] | undefined | null;
3612
+ 'visiblePeopleMode'?: ("me" | "working" | "custom") | undefined | null;
3613
+ 'visiblePeopleIds'?: string[] | undefined | null;
3614
+ }
3615
+ interface UpdatePreferencesEmitPayloadSchema extends SpruceSchema.Schema {
3616
+ id: 'updatePreferencesEmitPayload';
3617
+ version: 'v2021_05_19';
3618
+ namespace: 'Calendar';
3619
+ name: '';
3620
+ fields: {
3818
3621
  /** . */
3819
- 'locationId': {
3622
+ 'selectedCalendarIds': {
3820
3623
  type: 'id';
3624
+ isArray: true;
3625
+ minArrayLength: 0;
3821
3626
  options: undefined;
3822
3627
  };
3823
3628
  /** . */
3824
- 'calendarEventId': {
3825
- type: 'id';
3826
- isRequired: true;
3827
- options: undefined;
3629
+ 'visiblePeopleMode': {
3630
+ type: 'select';
3631
+ options: {
3632
+ choices: [{
3633
+ "value": "me";
3634
+ "label": "Me";
3635
+ }, {
3636
+ "value": "working";
3637
+ "label": "Working";
3638
+ }, {
3639
+ "value": "custom";
3640
+ "label": "Custom";
3641
+ }];
3642
+ };
3828
3643
  };
3829
3644
  /** . */
3830
- 'calendarEventPersonId': {
3831
- type: 'id';
3832
- isRequired: true;
3645
+ 'visiblePeopleIds': {
3646
+ type: 'text';
3647
+ isArray: true;
3833
3648
  options: undefined;
3834
3649
  };
3835
3650
  };
3836
3651
  }
3837
- interface UpdateCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetSchema> {
3652
+ interface UpdatePreferencesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayloadSchema> {
3838
3653
  }
3839
3654
  }
3840
3655
  namespace SpruceSchemas.Calendar.v2021_05_19 {
3841
- interface UpdateCalendarEventEmitTargetAndPayload {
3656
+ interface UpdatePreferencesEmitTargetAndPayload {
3842
3657
  /** Source. */
3843
3658
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
3844
- 'target': SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTarget;
3845
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayload | undefined | null;
3659
+ 'target': SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTarget;
3660
+ 'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayload | undefined | null;
3846
3661
  }
3847
- interface UpdateCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
3848
- id: 'updateCalendarEventEmitTargetAndPayload';
3662
+ interface UpdatePreferencesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
3663
+ id: 'updatePreferencesEmitTargetAndPayload';
3849
3664
  version: 'v2021_05_19';
3850
3665
  namespace: 'Calendar';
3851
3666
  name: '';
@@ -3863,391 +3678,576 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
3863
3678
  type: 'schema';
3864
3679
  isRequired: true;
3865
3680
  options: {
3866
- schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetSchema;
3681
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetSchema;
3867
3682
  };
3868
3683
  };
3869
3684
  /** . */
3870
3685
  'payload': {
3871
3686
  type: 'schema';
3872
3687
  options: {
3873
- schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayloadSchema;
3688
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayloadSchema;
3874
3689
  };
3875
3690
  };
3876
3691
  };
3877
3692
  }
3878
- interface UpdateCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetAndPayloadSchema> {
3693
+ interface UpdatePreferencesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetAndPayloadSchema> {
3879
3694
  }
3880
3695
  }
3881
3696
  namespace SpruceSchemas.Calendar.v2021_05_19 {
3882
- interface UpdateCalendarEventEmitPayload {
3883
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
3884
- 'target'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventTarget | undefined | null;
3885
- 'calendarId'?: string | undefined | null;
3886
- 'eventTypeSlug'?: string | undefined | null;
3887
- 'startDateTimeMs'?: SpruceSchema.DateTimeFieldValue | undefined | null;
3888
- 'isBusy'?: boolean | undefined | null;
3889
- 'isResizeable'?: boolean | undefined | null;
3890
- 'style'?: ("draft" | "tentative" | "upcoming" | "unavailable" | "blocked" | "active" | "past" | "warn" | "critical") | undefined | null;
3891
- 'groupId'?: string | undefined | null;
3892
- 'timeBlocks'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventTimeBlock[] | undefined | null;
3893
- 'repeats'?: ("weekly" | "monthly" | "daily") | undefined | null;
3894
- 'daysOfWeek'?: ("sun" | "mon" | "tue" | "wed" | "thur" | "fri" | "sat")[] | undefined | null;
3895
- '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;
3896
- 'repeatsUntil'?: SpruceSchema.DateTimeFieldValue | undefined | null;
3897
- 'occurrences'?: number | undefined | null;
3898
- 'interval'?: number | undefined | null;
3899
- 'nthOccurrences'?: number[] | undefined | null;
3900
- 'exclusionDates'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDate[] | undefined | null;
3901
- 'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
3902
- 'nthInRepeating'?: number | undefined | null;
3903
- 'totalInRepeating'?: number | undefined | null;
3904
- 'meta'?: (Record<string, any>) | undefined | null;
3905
- 'addToExclusionDates'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDate[] | undefined | null;
3906
- 'dateToUpdate'?: number | undefined | null;
3907
- 'shouldUpdateAllEventsGoingForward'?: boolean | undefined | null;
3908
- /** . It will show on this person's calendar going forward! */
3909
- 'newTargetPersonId'?: string | undefined | null;
3697
+ interface UpdatePreferencesResponsePayload {
3698
+ 'success': boolean;
3910
3699
  }
3911
- interface UpdateCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
3912
- id: 'updateCalendarEventEmitPayload';
3700
+ interface UpdatePreferencesResponsePayloadSchema extends SpruceSchema.Schema {
3701
+ id: 'updatePreferencesResponsePayload';
3913
3702
  version: 'v2021_05_19';
3914
3703
  namespace: 'Calendar';
3915
3704
  name: '';
3916
3705
  fields: {
3917
3706
  /** . */
3918
- 'source': {
3919
- type: 'schema';
3920
- options: {
3921
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
3922
- };
3923
- };
3924
- /** . */
3925
- 'target': {
3926
- type: 'schema';
3927
- options: {
3928
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventTargetSchema;
3929
- };
3930
- };
3931
- /** . */
3932
- 'calendarId': {
3933
- type: 'id';
3707
+ 'success': {
3708
+ type: 'boolean';
3709
+ isRequired: true;
3934
3710
  options: undefined;
3935
3711
  };
3712
+ };
3713
+ }
3714
+ interface UpdatePreferencesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesResponsePayloadSchema> {
3715
+ }
3716
+ }
3717
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
3718
+ interface UpsertCalendarEventTypeEmitTarget {
3719
+ 'slug': string;
3720
+ }
3721
+ interface UpsertCalendarEventTypeEmitTargetSchema extends SpruceSchema.Schema {
3722
+ id: 'upsertCalendarEventTypeEmitTarget';
3723
+ version: 'v2021_05_19';
3724
+ namespace: 'Calendar';
3725
+ name: '';
3726
+ fields: {
3936
3727
  /** . */
3937
- 'eventTypeSlug': {
3728
+ 'slug': {
3938
3729
  type: 'text';
3730
+ isRequired: true;
3939
3731
  options: undefined;
3940
3732
  };
3733
+ };
3734
+ }
3735
+ interface UpsertCalendarEventTypeEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTargetSchema> {
3736
+ }
3737
+ }
3738
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
3739
+ interface UpsertCalendarEventTypeEmitPayload {
3740
+ 'name'?: string | undefined | null;
3741
+ 'slug'?: string | undefined | null;
3742
+ 'viewControllerId'?: string | undefined | null;
3743
+ '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" | "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" | "link-angle" | "link-flat" | "loader" | "location-pin" | "lock" | "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" | "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;
3744
+ }
3745
+ interface UpsertCalendarEventTypeEmitPayloadSchema extends SpruceSchema.Schema {
3746
+ id: 'upsertCalendarEventTypeEmitPayload';
3747
+ version: 'v2021_05_19';
3748
+ namespace: 'Calendar';
3749
+ name: '';
3750
+ fields: {
3941
3751
  /** . */
3942
- 'startDateTimeMs': {
3943
- type: 'dateTime';
3752
+ 'name': {
3753
+ type: 'text';
3944
3754
  options: undefined;
3945
3755
  };
3946
3756
  /** . */
3947
- 'isBusy': {
3948
- type: 'boolean';
3757
+ 'slug': {
3758
+ type: 'text';
3949
3759
  options: undefined;
3950
3760
  };
3951
3761
  /** . */
3952
- 'isResizeable': {
3953
- type: 'boolean';
3762
+ 'viewControllerId': {
3763
+ type: 'id';
3954
3764
  options: undefined;
3955
3765
  };
3956
3766
  /** . */
3957
- 'style': {
3767
+ 'lineIcon': {
3958
3768
  type: 'select';
3959
3769
  options: {
3960
3770
  choices: [{
3961
- "value": "draft";
3962
- "label": "Draft";
3771
+ "value": "add-circle";
3772
+ "label": "add-circle";
3963
3773
  }, {
3964
- "value": "tentative";
3965
- "label": "Tentative";
3774
+ "value": "add-square";
3775
+ "label": "add-square";
3966
3776
  }, {
3967
- "value": "upcoming";
3968
- "label": "Upcoming";
3777
+ "value": "add";
3778
+ "label": "add";
3969
3779
  }, {
3970
- "value": "unavailable";
3971
- "label": "Unavailable";
3780
+ "value": "alarm";
3781
+ "label": "alarm";
3972
3782
  }, {
3973
- "value": "blocked";
3974
- "label": "Blocked";
3783
+ "value": "arrow-back";
3784
+ "label": "arrow-back";
3975
3785
  }, {
3976
- "value": "active";
3977
- "label": "Active";
3786
+ "value": "arrow-down-circle";
3787
+ "label": "arrow-down-circle";
3978
3788
  }, {
3979
- "value": "past";
3980
- "label": "Past";
3789
+ "value": "arrow-down";
3790
+ "label": "arrow-down";
3981
3791
  }, {
3982
- "value": "warn";
3983
- "label": "Warning";
3792
+ "value": "arrow-next";
3793
+ "label": "arrow-next";
3984
3794
  }, {
3985
- "value": "critical";
3986
- "label": "Critical";
3987
- }];
3988
- };
3989
- };
3990
- /** . */
3991
- 'groupId': {
3992
- type: 'id';
3993
- options: undefined;
3994
- };
3995
- /** . */
3996
- 'timeBlocks': {
3997
- type: 'schema';
3998
- isArray: true;
3999
- minArrayLength: 1;
4000
- options: {
4001
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.EventTimeBlockSchema;
4002
- };
4003
- };
4004
- /** . */
4005
- 'repeats': {
4006
- type: 'select';
4007
- options: {
4008
- choices: [{
4009
- "value": "weekly";
4010
- "label": "Weekly";
3795
+ "value": "arrow-up-circle";
3796
+ "label": "arrow-up-circle";
4011
3797
  }, {
4012
- "value": "monthly";
4013
- "label": "Monthly";
3798
+ "value": "arrow-up";
3799
+ "label": "arrow-up";
4014
3800
  }, {
4015
- "value": "daily";
4016
- "label": "Daily";
4017
- }];
4018
- };
4019
- };
4020
- /** . */
4021
- 'daysOfWeek': {
4022
- type: 'select';
4023
- isArray: true;
4024
- options: {
4025
- choices: [{
4026
- "value": "sun";
4027
- "label": "Sunday";
3801
+ "value": "attachment";
3802
+ "label": "attachment";
4028
3803
  }, {
4029
- "value": "mon";
4030
- "label": "Monday";
3804
+ "value": "award-badge";
3805
+ "label": "award-badge";
4031
3806
  }, {
4032
- "value": "tue";
4033
- "label": "Tuesday";
3807
+ "value": "binoculars";
3808
+ "label": "binoculars";
3809
+ }, {
3810
+ "value": "bolt";
3811
+ "label": "bolt";
3812
+ }, {
3813
+ "value": "book-open";
3814
+ "label": "book-open";
3815
+ }, {
3816
+ "value": "book";
3817
+ "label": "book";
3818
+ }, {
3819
+ "value": "bookmark";
3820
+ "label": "bookmark";
3821
+ }, {
3822
+ "value": "calendar-add";
3823
+ "label": "calendar-add";
3824
+ }, {
3825
+ "value": "calendar";
3826
+ "label": "calendar";
3827
+ }, {
3828
+ "value": "camera";
3829
+ "label": "camera";
3830
+ }, {
3831
+ "value": "cellphone";
3832
+ "label": "cellphone";
3833
+ }, {
3834
+ "value": "checkmark";
3835
+ "label": "checkmark";
3836
+ }, {
3837
+ "value": "chevron-down";
3838
+ "label": "chevron-down";
3839
+ }, {
3840
+ "value": "chevron-left";
3841
+ "label": "chevron-left";
3842
+ }, {
3843
+ "value": "chevron-right";
3844
+ "label": "chevron-right";
3845
+ }, {
3846
+ "value": "chevron-up";
3847
+ "label": "chevron-up";
3848
+ }, {
3849
+ "value": "clipboard";
3850
+ "label": "clipboard";
3851
+ }, {
3852
+ "value": "clock";
3853
+ "label": "clock";
3854
+ }, {
3855
+ "value": "close-circle";
3856
+ "label": "close-circle";
3857
+ }, {
3858
+ "value": "close-square";
3859
+ "label": "close-square";
3860
+ }, {
3861
+ "value": "close";
3862
+ "label": "close";
3863
+ }, {
3864
+ "value": "code";
3865
+ "label": "code";
3866
+ }, {
3867
+ "value": "coffee";
3868
+ "label": "coffee";
3869
+ }, {
3870
+ "value": "command";
3871
+ "label": "command";
3872
+ }, {
3873
+ "value": "corner-down-left";
3874
+ "label": "corner-down-left";
3875
+ }, {
3876
+ "value": "corner-down-right";
3877
+ "label": "corner-down-right";
3878
+ }, {
3879
+ "value": "corner-left-down";
3880
+ "label": "corner-left-down";
3881
+ }, {
3882
+ "value": "corner-left-up";
3883
+ "label": "corner-left-up";
3884
+ }, {
3885
+ "value": "corner-right-down";
3886
+ "label": "corner-right-down";
3887
+ }, {
3888
+ "value": "corner-right-up";
3889
+ "label": "corner-right-up";
3890
+ }, {
3891
+ "value": "corner-up-left";
3892
+ "label": "corner-up-left";
3893
+ }, {
3894
+ "value": "corner-up-right";
3895
+ "label": "corner-up-right";
3896
+ }, {
3897
+ "value": "crop";
3898
+ "label": "crop";
3899
+ }, {
3900
+ "value": "delete";
3901
+ "label": "delete";
3902
+ }, {
3903
+ "value": "document-blank";
3904
+ "label": "document-blank";
3905
+ }, {
3906
+ "value": "document-new";
3907
+ "label": "document-new";
3908
+ }, {
3909
+ "value": "document-text";
3910
+ "label": "document-text";
3911
+ }, {
3912
+ "value": "download-cloud";
3913
+ "label": "download-cloud";
3914
+ }, {
3915
+ "value": "download";
3916
+ "label": "download";
3917
+ }, {
3918
+ "value": "edit-box";
3919
+ "label": "edit-box";
3920
+ }, {
3921
+ "value": "edit-line";
3922
+ "label": "edit-line";
3923
+ }, {
3924
+ "value": "email";
3925
+ "label": "email";
3926
+ }, {
3927
+ "value": "emoji-happy";
3928
+ "label": "emoji-happy";
3929
+ }, {
3930
+ "value": "emoji-sad";
3931
+ "label": "emoji-sad";
3932
+ }, {
3933
+ "value": "external-link";
3934
+ "label": "external-link";
3935
+ }, {
3936
+ "value": "fav-heart";
3937
+ "label": "fav-heart";
3938
+ }, {
3939
+ "value": "flag";
3940
+ "label": "flag";
3941
+ }, {
3942
+ "value": "flip-01";
3943
+ "label": "flip-01";
3944
+ }, {
3945
+ "value": "flip-02";
3946
+ "label": "flip-02";
3947
+ }, {
3948
+ "value": "folder";
3949
+ "label": "folder";
3950
+ }, {
3951
+ "value": "globe";
3952
+ "label": "globe";
3953
+ }, {
3954
+ "value": "hash-tag";
3955
+ "label": "hash-tag";
3956
+ }, {
3957
+ "value": "headphones";
3958
+ "label": "headphones";
3959
+ }, {
3960
+ "value": "help-buoy";
3961
+ "label": "help-buoy";
3962
+ }, {
3963
+ "value": "help-circle";
3964
+ "label": "help-circle";
3965
+ }, {
3966
+ "value": "home";
3967
+ "label": "home";
3968
+ }, {
3969
+ "value": "info";
3970
+ "label": "info";
3971
+ }, {
3972
+ "value": "jump";
3973
+ "label": "jump";
3974
+ }, {
3975
+ "value": "layers";
3976
+ "label": "layers";
3977
+ }, {
3978
+ "value": "link-angle";
3979
+ "label": "link-angle";
3980
+ }, {
3981
+ "value": "link-flat";
3982
+ "label": "link-flat";
3983
+ }, {
3984
+ "value": "loader";
3985
+ "label": "loader";
3986
+ }, {
3987
+ "value": "location-pin";
3988
+ "label": "location-pin";
3989
+ }, {
3990
+ "value": "lock";
3991
+ "label": "lock";
3992
+ }, {
3993
+ "value": "map";
3994
+ "label": "map";
3995
+ }, {
3996
+ "value": "message-circle";
3997
+ "label": "message-circle";
3998
+ }, {
3999
+ "value": "message-square";
4000
+ "label": "message-square";
4001
+ }, {
4002
+ "value": "mic-off";
4003
+ "label": "mic-off";
4004
+ }, {
4005
+ "value": "mic-on";
4006
+ "label": "mic-on";
4007
+ }, {
4008
+ "value": "minus-circle";
4009
+ "label": "minus-circle";
4010
+ }, {
4011
+ "value": "minus-square";
4012
+ "label": "minus-square";
4013
+ }, {
4014
+ "value": "money-sign";
4015
+ "label": "money-sign";
4016
+ }, {
4017
+ "value": "more-horizontal";
4018
+ "label": "more-horizontal";
4019
+ }, {
4020
+ "value": "more-vertical";
4021
+ "label": "more-vertical";
4022
+ }, {
4023
+ "value": "notification-off";
4024
+ "label": "notification-off";
4025
+ }, {
4026
+ "value": "notification-on";
4027
+ "label": "notification-on";
4028
+ }, {
4029
+ "value": "object";
4030
+ "label": "object";
4031
+ }, {
4032
+ "value": "pause-circle";
4033
+ "label": "pause-circle";
4034
+ }, {
4035
+ "value": "phone-unavailable";
4036
+ "label": "phone-unavailable";
4037
+ }, {
4038
+ "value": "phone";
4039
+ "label": "phone";
4040
+ }, {
4041
+ "value": "photo";
4042
+ "label": "photo";
4043
+ }, {
4044
+ "value": "picked";
4045
+ "label": "picked";
4046
+ }, {
4047
+ "value": "play-circle";
4048
+ "label": "play-circle";
4049
+ }, {
4050
+ "value": "present";
4051
+ "label": "present";
4052
+ }, {
4053
+ "value": "refresh-circle";
4054
+ "label": "refresh-circle";
4055
+ }, {
4056
+ "value": "refresh";
4057
+ "label": "refresh";
4058
+ }, {
4059
+ "value": "repeat";
4060
+ "label": "repeat";
4061
+ }, {
4062
+ "value": "restricted";
4063
+ "label": "restricted";
4064
+ }, {
4065
+ "value": "rotate";
4066
+ "label": "rotate";
4067
+ }, {
4068
+ "value": "search-no";
4069
+ "label": "search-no";
4070
+ }, {
4071
+ "value": "search";
4072
+ "label": "search";
4073
+ }, {
4074
+ "value": "selector-checked";
4075
+ "label": "selector-checked";
4034
4076
  }, {
4035
- "value": "wed";
4036
- "label": "Wednesday";
4077
+ "value": "selector-circle-filled";
4078
+ "label": "selector-circle-filled";
4037
4079
  }, {
4038
- "value": "thur";
4039
- "label": "Thursday";
4080
+ "value": "selector-circle";
4081
+ "label": "selector-circle";
4040
4082
  }, {
4041
- "value": "fri";
4042
- "label": "Friday";
4083
+ "value": "send";
4084
+ "label": "send";
4043
4085
  }, {
4044
- "value": "sat";
4045
- "label": "Saturday";
4046
- }];
4047
- };
4048
- };
4049
- /** . */
4050
- 'daysOfMonth': {
4051
- type: 'select';
4052
- isArray: true;
4053
- options: {
4054
- choices: [{
4055
- "value": "1";
4056
- "label": "1";
4086
+ "value": "settings-filled";
4087
+ "label": "settings-filled";
4057
4088
  }, {
4058
- "value": "2";
4059
- "label": "2";
4089
+ "value": "settings";
4090
+ "label": "settings";
4060
4091
  }, {
4061
- "value": "3";
4062
- "label": "3";
4092
+ "value": "share";
4093
+ "label": "share";
4063
4094
  }, {
4064
- "value": "4";
4065
- "label": "4";
4095
+ "value": "shopping-bag";
4096
+ "label": "shopping-bag";
4066
4097
  }, {
4067
- "value": "5";
4068
- "label": "5";
4098
+ "value": "shopping-cart";
4099
+ "label": "shopping-cart";
4069
4100
  }, {
4070
- "value": "6";
4071
- "label": "6";
4101
+ "value": "sort-filter-down";
4102
+ "label": "sort-filter-down";
4072
4103
  }, {
4073
- "value": "7";
4074
- "label": "7";
4104
+ "value": "sort-filter-up";
4105
+ "label": "sort-filter-up";
4075
4106
  }, {
4076
- "value": "8";
4077
- "label": "8";
4107
+ "value": "sound-off";
4108
+ "label": "sound-off";
4078
4109
  }, {
4079
- "value": "9";
4080
- "label": "9";
4110
+ "value": "sound-on";
4111
+ "label": "sound-on";
4081
4112
  }, {
4082
- "value": "10";
4083
- "label": "10";
4113
+ "value": "sprucebot";
4114
+ "label": "sprucebot";
4084
4115
  }, {
4085
- "value": "11";
4086
- "label": "11";
4116
+ "value": "star-filled";
4117
+ "label": "star-filled";
4087
4118
  }, {
4088
- "value": "12";
4089
- "label": "12";
4119
+ "value": "star";
4120
+ "label": "star";
4090
4121
  }, {
4091
- "value": "13";
4092
- "label": "13";
4122
+ "value": "sun";
4123
+ "label": "sun";
4093
4124
  }, {
4094
- "value": "14";
4095
- "label": "14";
4125
+ "value": "tag";
4126
+ "label": "tag";
4096
4127
  }, {
4097
- "value": "15";
4098
- "label": "15";
4128
+ "value": "time";
4129
+ "label": "time";
4099
4130
  }, {
4100
- "value": "16";
4101
- "label": "16";
4131
+ "value": "tool";
4132
+ "label": "tool";
4102
4133
  }, {
4103
- "value": "17";
4104
- "label": "17";
4134
+ "value": "trending-down";
4135
+ "label": "trending-down";
4105
4136
  }, {
4106
- "value": "18";
4107
- "label": "18";
4137
+ "value": "trending-up";
4138
+ "label": "trending-up";
4108
4139
  }, {
4109
- "value": "19";
4110
- "label": "19";
4140
+ "value": "triangle";
4141
+ "label": "triangle";
4111
4142
  }, {
4112
- "value": "20";
4113
- "label": "20";
4143
+ "value": "unlock";
4144
+ "label": "unlock";
4114
4145
  }, {
4115
- "value": "21";
4116
- "label": "21";
4146
+ "value": "upload-cloud";
4147
+ "label": "upload-cloud";
4117
4148
  }, {
4118
- "value": "22";
4119
- "label": "22";
4149
+ "value": "upload";
4150
+ "label": "upload";
4120
4151
  }, {
4121
- "value": "23";
4122
- "label": "23";
4152
+ "value": "user-add";
4153
+ "label": "user-add";
4123
4154
  }, {
4124
- "value": "24";
4125
- "label": "24";
4155
+ "value": "user-delete";
4156
+ "label": "user-delete";
4126
4157
  }, {
4127
- "value": "25";
4128
- "label": "25";
4158
+ "value": "user";
4159
+ "label": "user";
4129
4160
  }, {
4130
- "value": "26";
4131
- "label": "26";
4161
+ "value": "users";
4162
+ "label": "users";
4132
4163
  }, {
4133
- "value": "27";
4134
- "label": "27";
4164
+ "value": "video-off";
4165
+ "label": "video-off";
4135
4166
  }, {
4136
- "value": "28";
4137
- "label": "28";
4167
+ "value": "video";
4168
+ "label": "video";
4138
4169
  }, {
4139
- "value": "29";
4140
- "label": "29";
4170
+ "value": "warning";
4171
+ "label": "warning";
4141
4172
  }, {
4142
- "value": "30";
4143
- "label": "30";
4173
+ "value": "wifi";
4174
+ "label": "wifi";
4144
4175
  }, {
4145
- "value": "31";
4146
- "label": "31";
4176
+ "value": "zoom-in";
4177
+ "label": "zoom-in";
4178
+ }, {
4179
+ "value": "zoom-out";
4180
+ "label": "zoom-out";
4147
4181
  }];
4148
4182
  };
4149
4183
  };
4150
- /** . */
4151
- 'repeatsUntil': {
4152
- type: 'dateTime';
4153
- options: undefined;
4154
- };
4155
- /** . */
4156
- 'occurrences': {
4157
- type: 'number';
4158
- options: undefined;
4159
- };
4160
- /** . */
4161
- 'interval': {
4162
- type: 'number';
4163
- options: undefined;
4164
- };
4165
- /** . */
4166
- 'nthOccurrences': {
4167
- type: 'number';
4168
- isArray: true;
4169
- options: undefined;
4170
- };
4171
- /** . */
4172
- 'exclusionDates': {
4184
+ };
4185
+ }
4186
+ interface UpsertCalendarEventTypeEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitPayloadSchema> {
4187
+ }
4188
+ }
4189
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
4190
+ interface UpsertCalendarEventTypeEmitTargetAndPayload {
4191
+ /** Source. */
4192
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
4193
+ 'target': SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTarget;
4194
+ 'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitPayload | undefined | null;
4195
+ }
4196
+ interface UpsertCalendarEventTypeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4197
+ id: 'upsertCalendarEventTypeEmitTargetAndPayload';
4198
+ version: 'v2021_05_19';
4199
+ namespace: 'Calendar';
4200
+ name: '';
4201
+ fields: {
4202
+ /** Source. */
4203
+ 'source': {
4204
+ label: 'Source';
4173
4205
  type: 'schema';
4174
- isArray: true;
4175
4206
  options: {
4176
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDateSchema;
4207
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
4177
4208
  };
4178
4209
  };
4179
4210
  /** . */
4180
- 'dateDeleted': {
4181
- type: 'dateTime';
4182
- options: undefined;
4183
- };
4184
- /** . */
4185
- 'nthInRepeating': {
4186
- type: 'number';
4187
- options: undefined;
4188
- };
4189
- /** . */
4190
- 'totalInRepeating': {
4191
- type: 'number';
4192
- options: undefined;
4193
- };
4194
- /** . */
4195
- 'meta': {
4196
- type: 'raw';
4211
+ 'target': {
4212
+ type: 'schema';
4213
+ isRequired: true;
4197
4214
  options: {
4198
- valueType: `Record<string, any>`;
4215
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTargetSchema;
4199
4216
  };
4200
4217
  };
4201
4218
  /** . */
4202
- 'addToExclusionDates': {
4219
+ 'payload': {
4203
4220
  type: 'schema';
4204
- isArray: true;
4205
4221
  options: {
4206
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDateSchema;
4222
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitPayloadSchema;
4207
4223
  };
4208
4224
  };
4209
- /** . */
4210
- 'dateToUpdate': {
4211
- type: 'number';
4212
- options: undefined;
4213
- };
4214
- /** . */
4215
- 'shouldUpdateAllEventsGoingForward': {
4216
- type: 'boolean';
4217
- options: undefined;
4218
- };
4219
- /** . It will show on this person's calendar going forward! */
4220
- 'newTargetPersonId': {
4221
- type: 'id';
4222
- hint: 'It will show on this person\'s calendar going forward!';
4223
- options: undefined;
4224
- };
4225
4225
  };
4226
4226
  }
4227
- interface UpdateCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayloadSchema> {
4227
+ interface UpsertCalendarEventTypeEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTargetAndPayloadSchema> {
4228
4228
  }
4229
4229
  }
4230
4230
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4231
- interface UpdateCalendarEventResponsePayload {
4232
- 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
4231
+ interface UpsertCalendarEventTypeResponsePayload {
4232
+ 'calendarEventType': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType;
4233
4233
  }
4234
- interface UpdateCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
4235
- id: 'updateCalendarEventResponsePayload';
4234
+ interface UpsertCalendarEventTypeResponsePayloadSchema extends SpruceSchema.Schema {
4235
+ id: 'upsertCalendarEventTypeResponsePayload';
4236
4236
  version: 'v2021_05_19';
4237
4237
  namespace: 'Calendar';
4238
4238
  name: '';
4239
4239
  fields: {
4240
4240
  /** . */
4241
- 'calendarEvent': {
4241
+ 'calendarEventType': {
4242
4242
  type: 'schema';
4243
4243
  isRequired: true;
4244
4244
  options: {
4245
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
4245
+ schema: SpruceSchemas.Calendar.v2021_05_19.CalendarEventTypeSchema;
4246
4246
  };
4247
4247
  };
4248
4248
  };
4249
4249
  }
4250
- interface UpdateCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventResponsePayloadSchema> {
4250
+ interface UpsertCalendarEventTypeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeResponsePayloadSchema> {
4251
4251
  }
4252
4252
  }
4253
4253
  namespace SpruceSchemas.Calendar.v2021_05_19 {