@sprucelabs/spruce-calendar-components 31.0.34 → 31.0.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -720,13 +720,13 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
720
720
  }
721
721
  }
722
722
  namespace SpruceSchemas.Calendar.v2021_05_19 {
723
- interface GetPreferencesEmitTargetAndPayload {
723
+ interface ListCalendarEventTypesEmitTargetAndPayload {
724
724
  /** Source. */
725
725
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
726
- 'target': SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTarget;
726
+ 'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayload | undefined | null;
727
727
  }
728
- interface GetPreferencesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
729
- id: 'getPreferencesEmitTargetAndPayload';
728
+ interface ListCalendarEventTypesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
729
+ id: 'listCalendarEventTypesEmitTargetAndPayload';
730
730
  version: 'v2021_05_19';
731
731
  namespace: 'Calendar';
732
732
  name: '';
@@ -740,16 +740,15 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
740
740
  };
741
741
  };
742
742
  /** . */
743
- 'target': {
743
+ 'payload': {
744
744
  type: 'schema';
745
- isRequired: true;
746
745
  options: {
747
- schema: SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTargetSchema;
746
+ schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema;
748
747
  };
749
748
  };
750
749
  };
751
750
  }
752
- interface GetPreferencesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTargetAndPayloadSchema> {
751
+ interface ListCalendarEventTypesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitTargetAndPayloadSchema> {
753
752
  }
754
753
  }
755
754
  namespace SpruceSchemas.Calendar.v2021_05_19 {
@@ -2367,33 +2366,34 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2367
2366
  }
2368
2367
  }
2369
2368
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2370
- interface ListCalendarEventTypesEmitPayload {
2371
- 'shouldShowOnlyMine'?: boolean | undefined | null;
2369
+ interface GetPreferencesEmitTarget {
2370
+ 'organizationId': string;
2372
2371
  }
2373
- interface ListCalendarEventTypesEmitPayloadSchema extends SpruceSchema.Schema {
2374
- id: 'listCalendarEventTypesEmitPayload';
2372
+ interface GetPreferencesEmitTargetSchema extends SpruceSchema.Schema {
2373
+ id: 'getPreferencesEmitTarget';
2375
2374
  version: 'v2021_05_19';
2376
2375
  namespace: 'Calendar';
2377
2376
  name: '';
2378
2377
  fields: {
2379
2378
  /** . */
2380
- 'shouldShowOnlyMine': {
2381
- type: 'boolean';
2379
+ 'organizationId': {
2380
+ type: 'id';
2381
+ isRequired: true;
2382
2382
  options: undefined;
2383
2383
  };
2384
2384
  };
2385
2385
  }
2386
- interface ListCalendarEventTypesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema> {
2386
+ interface GetPreferencesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTargetSchema> {
2387
2387
  }
2388
2388
  }
2389
2389
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2390
- interface ListCalendarEventTypesEmitTargetAndPayload {
2390
+ interface GetPreferencesEmitTargetAndPayload {
2391
2391
  /** Source. */
2392
2392
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2393
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayload | undefined | null;
2393
+ 'target': SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTarget;
2394
2394
  }
2395
- interface ListCalendarEventTypesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2396
- id: 'listCalendarEventTypesEmitTargetAndPayload';
2395
+ interface GetPreferencesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2396
+ id: 'getPreferencesEmitTargetAndPayload';
2397
2397
  version: 'v2021_05_19';
2398
2398
  namespace: 'Calendar';
2399
2399
  name: '';
@@ -2407,114 +2407,114 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2407
2407
  };
2408
2408
  };
2409
2409
  /** . */
2410
- 'payload': {
2410
+ 'target': {
2411
2411
  type: 'schema';
2412
+ isRequired: true;
2412
2413
  options: {
2413
- schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema;
2414
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTargetSchema;
2414
2415
  };
2415
2416
  };
2416
2417
  };
2417
2418
  }
2418
- interface ListCalendarEventTypesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitTargetAndPayloadSchema> {
2419
+ interface GetPreferencesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTargetAndPayloadSchema> {
2419
2420
  }
2420
2421
  }
2421
2422
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2422
- interface ListCalendarEventTypesResponsePayload {
2423
- 'calendarEventTypes': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType[];
2424
- 'count': number;
2423
+ interface GetPreferencesResponsePayload {
2424
+ 'selectedCalendarIds'?: string[] | undefined | null;
2425
+ 'visiblePeopleMode'?: ("me" | "working" | "custom") | undefined | null;
2426
+ 'visiblePeopleIds'?: string[] | undefined | null;
2425
2427
  }
2426
- interface ListCalendarEventTypesResponsePayloadSchema extends SpruceSchema.Schema {
2427
- id: 'listCalendarEventTypesResponsePayload';
2428
+ interface GetPreferencesResponsePayloadSchema extends SpruceSchema.Schema {
2429
+ id: 'getPreferencesResponsePayload';
2428
2430
  version: 'v2021_05_19';
2429
2431
  namespace: 'Calendar';
2430
2432
  name: '';
2431
2433
  fields: {
2432
2434
  /** . */
2433
- 'calendarEventTypes': {
2434
- type: 'schema';
2435
- isRequired: true;
2435
+ 'selectedCalendarIds': {
2436
+ type: 'id';
2436
2437
  isArray: true;
2437
2438
  minArrayLength: 0;
2439
+ options: undefined;
2440
+ };
2441
+ /** . */
2442
+ 'visiblePeopleMode': {
2443
+ type: 'select';
2438
2444
  options: {
2439
- schema: SpruceSchemas.Calendar.v2021_05_19.CalendarEventTypeSchema;
2445
+ choices: [{
2446
+ "value": "me";
2447
+ "label": "Me";
2448
+ }, {
2449
+ "value": "working";
2450
+ "label": "Working";
2451
+ }, {
2452
+ "value": "custom";
2453
+ "label": "Custom";
2454
+ }];
2440
2455
  };
2441
2456
  };
2442
2457
  /** . */
2443
- 'count': {
2444
- type: 'number';
2445
- isRequired: true;
2458
+ 'visiblePeopleIds': {
2459
+ type: 'text';
2460
+ isArray: true;
2446
2461
  options: undefined;
2447
2462
  };
2448
2463
  };
2449
2464
  }
2450
- interface ListCalendarEventTypesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesResponsePayloadSchema> {
2465
+ interface GetPreferencesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesResponsePayloadSchema> {
2451
2466
  }
2452
2467
  }
2453
2468
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2454
- interface GetPreferencesEmitTarget {
2455
- 'organizationId': string;
2469
+ interface ListCalendarEventTypesEmitPayload {
2470
+ 'shouldShowOnlyMine'?: boolean | undefined | null;
2456
2471
  }
2457
- interface GetPreferencesEmitTargetSchema extends SpruceSchema.Schema {
2458
- id: 'getPreferencesEmitTarget';
2472
+ interface ListCalendarEventTypesEmitPayloadSchema extends SpruceSchema.Schema {
2473
+ id: 'listCalendarEventTypesEmitPayload';
2459
2474
  version: 'v2021_05_19';
2460
2475
  namespace: 'Calendar';
2461
2476
  name: '';
2462
2477
  fields: {
2463
2478
  /** . */
2464
- 'organizationId': {
2465
- type: 'id';
2466
- isRequired: true;
2479
+ 'shouldShowOnlyMine': {
2480
+ type: 'boolean';
2467
2481
  options: undefined;
2468
2482
  };
2469
2483
  };
2470
2484
  }
2471
- interface GetPreferencesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTargetSchema> {
2485
+ interface ListCalendarEventTypesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema> {
2472
2486
  }
2473
2487
  }
2474
2488
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2475
- interface GetPreferencesResponsePayload {
2476
- 'selectedCalendarIds'?: string[] | undefined | null;
2477
- 'visiblePeopleMode'?: ("me" | "working" | "custom") | undefined | null;
2478
- 'visiblePeopleIds'?: string[] | undefined | null;
2489
+ interface ListCalendarEventTypesResponsePayload {
2490
+ 'calendarEventTypes': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType[];
2491
+ 'count': number;
2479
2492
  }
2480
- interface GetPreferencesResponsePayloadSchema extends SpruceSchema.Schema {
2481
- id: 'getPreferencesResponsePayload';
2493
+ interface ListCalendarEventTypesResponsePayloadSchema extends SpruceSchema.Schema {
2494
+ id: 'listCalendarEventTypesResponsePayload';
2482
2495
  version: 'v2021_05_19';
2483
2496
  namespace: 'Calendar';
2484
2497
  name: '';
2485
2498
  fields: {
2486
2499
  /** . */
2487
- 'selectedCalendarIds': {
2488
- type: 'id';
2500
+ 'calendarEventTypes': {
2501
+ type: 'schema';
2502
+ isRequired: true;
2489
2503
  isArray: true;
2490
2504
  minArrayLength: 0;
2491
- options: undefined;
2492
- };
2493
- /** . */
2494
- 'visiblePeopleMode': {
2495
- type: 'select';
2496
2505
  options: {
2497
- choices: [{
2498
- "value": "me";
2499
- "label": "Me";
2500
- }, {
2501
- "value": "working";
2502
- "label": "Working";
2503
- }, {
2504
- "value": "custom";
2505
- "label": "Custom";
2506
- }];
2506
+ schema: SpruceSchemas.Calendar.v2021_05_19.CalendarEventTypeSchema;
2507
2507
  };
2508
2508
  };
2509
2509
  /** . */
2510
- 'visiblePeopleIds': {
2511
- type: 'text';
2512
- isArray: true;
2510
+ 'count': {
2511
+ type: 'number';
2512
+ isRequired: true;
2513
2513
  options: undefined;
2514
2514
  };
2515
2515
  };
2516
2516
  }
2517
- interface GetPreferencesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesResponsePayloadSchema> {
2517
+ interface ListCalendarEventTypesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesResponsePayloadSchema> {
2518
2518
  }
2519
2519
  }
2520
2520
  namespace SpruceSchemas.Calendar.v2021_05_19 {
@@ -2979,14 +2979,12 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2979
2979
  }
2980
2980
  }
2981
2981
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2982
- interface UpdateCalendarEventEmitTarget {
2983
- 'organizationId'?: string | undefined | null;
2984
- 'locationId'?: string | undefined | null;
2985
- 'calendarEventId': string;
2986
- 'calendarEventPersonId': string;
2982
+ interface UpdateCalendarEmitTarget {
2983
+ 'organizationId': string;
2984
+ 'calendarId': string;
2987
2985
  }
2988
- interface UpdateCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
2989
- id: 'updateCalendarEventEmitTarget';
2986
+ interface UpdateCalendarEmitTargetSchema extends SpruceSchema.Schema {
2987
+ id: 'updateCalendarEmitTarget';
2990
2988
  version: 'v2021_05_19';
2991
2989
  namespace: 'Calendar';
2992
2990
  name: '';
@@ -2994,39 +2992,91 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2994
2992
  /** . */
2995
2993
  'organizationId': {
2996
2994
  type: 'id';
2995
+ isRequired: true;
2997
2996
  options: undefined;
2998
2997
  };
2999
2998
  /** . */
3000
- 'locationId': {
2999
+ 'calendarId': {
3001
3000
  type: 'id';
3001
+ isRequired: true;
3002
3002
  options: undefined;
3003
3003
  };
3004
+ };
3005
+ }
3006
+ interface UpdateCalendarEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitTargetSchema> {
3007
+ }
3008
+ }
3009
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
3010
+ interface UpdateCalendarEmitPayload {
3011
+ 'slug'?: string | undefined | null;
3012
+ 'title'?: string | undefined | null;
3013
+ 'eventTypes'?: string[] | undefined | null;
3014
+ 'target'?: SpruceSchemas.Calendar.v2021_05_19.CalendarTarget | undefined | null;
3015
+ 'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
3016
+ 'availableTimeSlotBehavior'?: ("include" | "exclude") | undefined | null;
3017
+ }
3018
+ interface UpdateCalendarEmitPayloadSchema extends SpruceSchema.Schema {
3019
+ id: 'updateCalendarEmitPayload';
3020
+ version: 'v2021_05_19';
3021
+ namespace: 'Calendar';
3022
+ name: '';
3023
+ fields: {
3004
3024
  /** . */
3005
- 'calendarEventId': {
3025
+ 'slug': {
3006
3026
  type: 'id';
3007
- isRequired: true;
3008
3027
  options: undefined;
3009
3028
  };
3010
3029
  /** . */
3011
- 'calendarEventPersonId': {
3012
- type: 'id';
3013
- isRequired: true;
3030
+ 'title': {
3031
+ type: 'text';
3032
+ options: undefined;
3033
+ };
3034
+ /** . */
3035
+ 'eventTypes': {
3036
+ type: 'text';
3037
+ isArray: true;
3038
+ minArrayLength: 0;
3039
+ options: undefined;
3040
+ };
3041
+ /** . */
3042
+ 'target': {
3043
+ type: 'schema';
3044
+ options: {
3045
+ schema: SpruceSchemas.Calendar.v2021_05_19.CalendarTargetSchema;
3046
+ };
3047
+ };
3048
+ /** . */
3049
+ 'dateDeleted': {
3050
+ type: 'dateTime';
3014
3051
  options: undefined;
3015
3052
  };
3053
+ /** . */
3054
+ 'availableTimeSlotBehavior': {
3055
+ type: 'select';
3056
+ options: {
3057
+ choices: [{
3058
+ "value": "include";
3059
+ "label": "Include";
3060
+ }, {
3061
+ "value": "exclude";
3062
+ "label": "Exclude";
3063
+ }];
3064
+ };
3065
+ };
3016
3066
  };
3017
3067
  }
3018
- interface UpdateCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetSchema> {
3068
+ interface UpdateCalendarEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitPayloadSchema> {
3019
3069
  }
3020
3070
  }
3021
3071
  namespace SpruceSchemas.Calendar.v2021_05_19 {
3022
- interface UpdateCalendarEventEmitTargetAndPayload {
3072
+ interface UpdateCalendarEmitTargetAndPayload {
3023
3073
  /** Source. */
3024
3074
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
3025
- 'target': SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTarget;
3026
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayload | undefined | null;
3075
+ 'target': SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitTarget;
3076
+ 'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitPayload | undefined | null;
3027
3077
  }
3028
- interface UpdateCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
3029
- id: 'updateCalendarEventEmitTargetAndPayload';
3078
+ interface UpdateCalendarEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
3079
+ id: 'updateCalendarEmitTargetAndPayload';
3030
3080
  version: 'v2021_05_19';
3031
3081
  namespace: 'Calendar';
3032
3082
  name: '';
@@ -3044,44 +3094,148 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
3044
3094
  type: 'schema';
3045
3095
  isRequired: true;
3046
3096
  options: {
3047
- schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetSchema;
3097
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitTargetSchema;
3048
3098
  };
3049
3099
  };
3050
3100
  /** . */
3051
3101
  'payload': {
3052
3102
  type: 'schema';
3053
3103
  options: {
3054
- schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayloadSchema;
3104
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitPayloadSchema;
3055
3105
  };
3056
3106
  };
3057
3107
  };
3058
3108
  }
3059
- interface UpdateCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetAndPayloadSchema> {
3109
+ interface UpdateCalendarEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitTargetAndPayloadSchema> {
3060
3110
  }
3061
3111
  }
3062
3112
  namespace SpruceSchemas.Calendar.v2021_05_19 {
3063
- interface UpdateCalendarEventEmitPayload {
3064
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
3065
- 'target'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventTarget | undefined | null;
3066
- 'calendarId'?: string | undefined | null;
3067
- 'eventTypeSlug'?: string | undefined | null;
3068
- 'startDateTimeMs'?: SpruceSchema.DateTimeFieldValue | undefined | null;
3069
- 'isBusy'?: boolean | undefined | null;
3070
- 'isResizeable'?: boolean | undefined | null;
3071
- 'style'?: ("draft" | "tentative" | "upcoming" | "unavailable" | "blocked" | "active" | "past" | "warn" | "critical") | undefined | null;
3072
- 'groupId'?: string | undefined | null;
3073
- 'timeBlocks'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventTimeBlock[] | undefined | null;
3074
- 'repeats'?: ("weekly" | "monthly" | "daily") | undefined | null;
3075
- 'daysOfWeek'?: ("sun" | "mon" | "tue" | "wed" | "thur" | "fri" | "sat")[] | undefined | null;
3076
- '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;
3077
- 'repeatsUntil'?: SpruceSchema.DateTimeFieldValue | undefined | null;
3078
- 'occurrences'?: number | undefined | null;
3079
- 'interval'?: number | undefined | null;
3080
- 'nthOccurrences'?: number[] | undefined | null;
3081
- 'exclusionDates'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDate[] | undefined | null;
3082
- 'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
3083
- 'nthInRepeating'?: number | undefined | null;
3084
- 'totalInRepeating'?: number | undefined | null;
3113
+ interface UpdateCalendarResponsePayload {
3114
+ 'calendar': SpruceSchemas.Calendar.v2021_05_19.Calendar;
3115
+ }
3116
+ interface UpdateCalendarResponsePayloadSchema extends SpruceSchema.Schema {
3117
+ id: 'updateCalendarResponsePayload';
3118
+ version: 'v2021_05_19';
3119
+ namespace: 'Calendar';
3120
+ name: '';
3121
+ fields: {
3122
+ /** . */
3123
+ 'calendar': {
3124
+ type: 'schema';
3125
+ isRequired: true;
3126
+ options: {
3127
+ schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
3128
+ };
3129
+ };
3130
+ };
3131
+ }
3132
+ interface UpdateCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarResponsePayloadSchema> {
3133
+ }
3134
+ }
3135
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
3136
+ interface UpdateCalendarEventEmitTarget {
3137
+ 'organizationId'?: string | undefined | null;
3138
+ 'locationId'?: string | undefined | null;
3139
+ 'calendarEventId': string;
3140
+ 'calendarEventPersonId': string;
3141
+ }
3142
+ interface UpdateCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
3143
+ id: 'updateCalendarEventEmitTarget';
3144
+ version: 'v2021_05_19';
3145
+ namespace: 'Calendar';
3146
+ name: '';
3147
+ fields: {
3148
+ /** . */
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': {
3166
+ type: 'id';
3167
+ isRequired: true;
3168
+ options: undefined;
3169
+ };
3170
+ };
3171
+ }
3172
+ interface UpdateCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetSchema> {
3173
+ }
3174
+ }
3175
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
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;
3181
+ }
3182
+ interface UpdateCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
3183
+ id: 'updateCalendarEventEmitTargetAndPayload';
3184
+ version: 'v2021_05_19';
3185
+ namespace: 'Calendar';
3186
+ name: '';
3187
+ fields: {
3188
+ /** Source. */
3189
+ 'source': {
3190
+ label: 'Source';
3191
+ type: 'schema';
3192
+ options: {
3193
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
3194
+ };
3195
+ };
3196
+ /** . */
3197
+ 'target': {
3198
+ type: 'schema';
3199
+ isRequired: true;
3200
+ options: {
3201
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetSchema;
3202
+ };
3203
+ };
3204
+ /** . */
3205
+ 'payload': {
3206
+ type: 'schema';
3207
+ options: {
3208
+ schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayloadSchema;
3209
+ };
3210
+ };
3211
+ };
3212
+ }
3213
+ interface UpdateCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetAndPayloadSchema> {
3214
+ }
3215
+ }
3216
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
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;
3085
3239
  'meta'?: (Record<string, any>) | undefined | null;
3086
3240
  'addToExclusionDates'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDate[] | undefined | null;
3087
3241
  'dateToUpdate'?: number | undefined | null;
@@ -3431,160 +3585,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
3431
3585
  interface UpdateCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventResponsePayloadSchema> {
3432
3586
  }
3433
3587
  }
3434
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3435
- interface UpdateCalendarEmitTarget {
3436
- 'organizationId': string;
3437
- 'calendarId': string;
3438
- }
3439
- interface UpdateCalendarEmitTargetSchema extends SpruceSchema.Schema {
3440
- id: 'updateCalendarEmitTarget';
3441
- version: 'v2021_05_19';
3442
- namespace: 'Calendar';
3443
- name: '';
3444
- fields: {
3445
- /** . */
3446
- 'organizationId': {
3447
- type: 'id';
3448
- isRequired: true;
3449
- options: undefined;
3450
- };
3451
- /** . */
3452
- 'calendarId': {
3453
- type: 'id';
3454
- isRequired: true;
3455
- options: undefined;
3456
- };
3457
- };
3458
- }
3459
- interface UpdateCalendarEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitTargetSchema> {
3460
- }
3461
- }
3462
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3463
- interface UpdateCalendarEmitPayload {
3464
- 'slug'?: string | undefined | null;
3465
- 'title'?: string | undefined | null;
3466
- 'eventTypes'?: string[] | undefined | null;
3467
- 'target'?: SpruceSchemas.Calendar.v2021_05_19.CalendarTarget | undefined | null;
3468
- 'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
3469
- 'availableTimeSlotBehavior'?: ("include" | "exclude") | undefined | null;
3470
- }
3471
- interface UpdateCalendarEmitPayloadSchema extends SpruceSchema.Schema {
3472
- id: 'updateCalendarEmitPayload';
3473
- version: 'v2021_05_19';
3474
- namespace: 'Calendar';
3475
- name: '';
3476
- fields: {
3477
- /** . */
3478
- 'slug': {
3479
- type: 'id';
3480
- options: undefined;
3481
- };
3482
- /** . */
3483
- 'title': {
3484
- type: 'text';
3485
- options: undefined;
3486
- };
3487
- /** . */
3488
- 'eventTypes': {
3489
- type: 'text';
3490
- isArray: true;
3491
- minArrayLength: 0;
3492
- options: undefined;
3493
- };
3494
- /** . */
3495
- 'target': {
3496
- type: 'schema';
3497
- options: {
3498
- schema: SpruceSchemas.Calendar.v2021_05_19.CalendarTargetSchema;
3499
- };
3500
- };
3501
- /** . */
3502
- 'dateDeleted': {
3503
- type: 'dateTime';
3504
- options: undefined;
3505
- };
3506
- /** . */
3507
- 'availableTimeSlotBehavior': {
3508
- type: 'select';
3509
- options: {
3510
- choices: [{
3511
- "value": "include";
3512
- "label": "Include";
3513
- }, {
3514
- "value": "exclude";
3515
- "label": "Exclude";
3516
- }];
3517
- };
3518
- };
3519
- };
3520
- }
3521
- interface UpdateCalendarEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitPayloadSchema> {
3522
- }
3523
- }
3524
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3525
- interface UpdateCalendarEmitTargetAndPayload {
3526
- /** Source. */
3527
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
3528
- 'target': SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitTarget;
3529
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitPayload | undefined | null;
3530
- }
3531
- interface UpdateCalendarEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
3532
- id: 'updateCalendarEmitTargetAndPayload';
3533
- version: 'v2021_05_19';
3534
- namespace: 'Calendar';
3535
- name: '';
3536
- fields: {
3537
- /** Source. */
3538
- 'source': {
3539
- label: 'Source';
3540
- type: 'schema';
3541
- options: {
3542
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
3543
- };
3544
- };
3545
- /** . */
3546
- 'target': {
3547
- type: 'schema';
3548
- isRequired: true;
3549
- options: {
3550
- schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitTargetSchema;
3551
- };
3552
- };
3553
- /** . */
3554
- 'payload': {
3555
- type: 'schema';
3556
- options: {
3557
- schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitPayloadSchema;
3558
- };
3559
- };
3560
- };
3561
- }
3562
- interface UpdateCalendarEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEmitTargetAndPayloadSchema> {
3563
- }
3564
- }
3565
- namespace SpruceSchemas.Calendar.v2021_05_19 {
3566
- interface UpdateCalendarResponsePayload {
3567
- 'calendar': SpruceSchemas.Calendar.v2021_05_19.Calendar;
3568
- }
3569
- interface UpdateCalendarResponsePayloadSchema extends SpruceSchema.Schema {
3570
- id: 'updateCalendarResponsePayload';
3571
- version: 'v2021_05_19';
3572
- namespace: 'Calendar';
3573
- name: '';
3574
- fields: {
3575
- /** . */
3576
- 'calendar': {
3577
- type: 'schema';
3578
- isRequired: true;
3579
- options: {
3580
- schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
3581
- };
3582
- };
3583
- };
3584
- }
3585
- interface UpdateCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarResponsePayloadSchema> {
3586
- }
3587
- }
3588
3588
  namespace SpruceSchemas.Calendar.v2021_05_19 {
3589
3589
  interface UpdatePreferencesEmitTarget {
3590
3590
  'organizationId': string;
@@ -4801,6 +4801,134 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4801
4801
  interface GetSchedulesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesResponsePayloadSchema> {
4802
4802
  }
4803
4803
  }
4804
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
4805
+ interface GetSchedulesEmitTarget {
4806
+ 'organizationId'?: string | undefined | null;
4807
+ 'locationId'?: string | undefined | null;
4808
+ 'calendarIds': string[];
4809
+ }
4810
+ interface GetSchedulesEmitTargetSchema extends SpruceSchema.Schema {
4811
+ id: 'getSchedulesEmitTarget';
4812
+ version: 'v2021_05_19';
4813
+ namespace: 'Calendar';
4814
+ name: '';
4815
+ fields: {
4816
+ /** . */
4817
+ 'organizationId': {
4818
+ type: 'id';
4819
+ options: undefined;
4820
+ };
4821
+ /** . */
4822
+ 'locationId': {
4823
+ type: 'id';
4824
+ options: undefined;
4825
+ };
4826
+ /** . */
4827
+ 'calendarIds': {
4828
+ type: 'id';
4829
+ isRequired: true;
4830
+ isArray: true;
4831
+ options: undefined;
4832
+ };
4833
+ };
4834
+ }
4835
+ interface GetSchedulesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema> {
4836
+ }
4837
+ }
4838
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
4839
+ interface SendSchedulesEmitPayload {
4840
+ 'startDateTimeMs': number;
4841
+ 'endDateTimeMs': number;
4842
+ 'personIds'?: string[] | undefined | null;
4843
+ 'chunkingId': string;
4844
+ 'sendToFqen': (EventName);
4845
+ }
4846
+ interface SendSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
4847
+ id: 'sendSchedulesEmitPayload';
4848
+ version: 'v2021_05_19';
4849
+ namespace: 'Calendar';
4850
+ name: '';
4851
+ importsWhenRemote: ['import { EventName } from \'@sprucelabs/mercury-types\''];
4852
+ fields: {
4853
+ /** . */
4854
+ 'startDateTimeMs': {
4855
+ type: 'number';
4856
+ isRequired: true;
4857
+ options: undefined;
4858
+ };
4859
+ /** . */
4860
+ 'endDateTimeMs': {
4861
+ type: 'number';
4862
+ isRequired: true;
4863
+ options: undefined;
4864
+ };
4865
+ /** . */
4866
+ 'personIds': {
4867
+ type: 'id';
4868
+ isArray: true;
4869
+ options: undefined;
4870
+ };
4871
+ /** . */
4872
+ 'chunkingId': {
4873
+ type: 'id';
4874
+ isRequired: true;
4875
+ options: undefined;
4876
+ };
4877
+ /** . */
4878
+ 'sendToFqen': {
4879
+ type: 'raw';
4880
+ isRequired: true;
4881
+ options: {
4882
+ valueType: `EventName`;
4883
+ };
4884
+ };
4885
+ };
4886
+ }
4887
+ interface SendSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayloadSchema> {
4888
+ }
4889
+ }
4890
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
4891
+ interface SendSchedulesEmitTargetAndPayload {
4892
+ /** Source. */
4893
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
4894
+ 'target': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTarget;
4895
+ 'payload': SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayload;
4896
+ }
4897
+ interface SendSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4898
+ id: 'sendSchedulesEmitTargetAndPayload';
4899
+ version: 'v2021_05_19';
4900
+ namespace: 'Calendar';
4901
+ name: '';
4902
+ fields: {
4903
+ /** Source. */
4904
+ 'source': {
4905
+ label: 'Source';
4906
+ type: 'schema';
4907
+ options: {
4908
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
4909
+ };
4910
+ };
4911
+ /** . */
4912
+ 'target': {
4913
+ type: 'schema';
4914
+ isRequired: true;
4915
+ options: {
4916
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema;
4917
+ };
4918
+ };
4919
+ /** . */
4920
+ 'payload': {
4921
+ type: 'schema';
4922
+ isRequired: true;
4923
+ options: {
4924
+ schema: SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayloadSchema;
4925
+ };
4926
+ };
4927
+ };
4928
+ }
4929
+ interface SendSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitTargetAndPayloadSchema> {
4930
+ }
4931
+ }
4804
4932
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4805
4933
  interface ListPeopleWithoutSchedulesEmitTarget {
4806
4934
  'locationId': string;
@@ -4954,134 +5082,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4954
5082
  interface ListPeopleWithoutSchedulesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesResponsePayloadSchema> {
4955
5083
  }
4956
5084
  }
4957
- namespace SpruceSchemas.Calendar.v2021_05_19 {
4958
- interface GetSchedulesEmitTarget {
4959
- 'organizationId'?: string | undefined | null;
4960
- 'locationId'?: string | undefined | null;
4961
- 'calendarIds': string[];
4962
- }
4963
- interface GetSchedulesEmitTargetSchema extends SpruceSchema.Schema {
4964
- id: 'getSchedulesEmitTarget';
4965
- version: 'v2021_05_19';
4966
- namespace: 'Calendar';
4967
- name: '';
4968
- fields: {
4969
- /** . */
4970
- 'organizationId': {
4971
- type: 'id';
4972
- options: undefined;
4973
- };
4974
- /** . */
4975
- 'locationId': {
4976
- type: 'id';
4977
- options: undefined;
4978
- };
4979
- /** . */
4980
- 'calendarIds': {
4981
- type: 'id';
4982
- isRequired: true;
4983
- isArray: true;
4984
- options: undefined;
4985
- };
4986
- };
4987
- }
4988
- interface GetSchedulesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema> {
4989
- }
4990
- }
4991
- namespace SpruceSchemas.Calendar.v2021_05_19 {
4992
- interface SendSchedulesEmitPayload {
4993
- 'startDateTimeMs': number;
4994
- 'endDateTimeMs': number;
4995
- 'personIds'?: string[] | undefined | null;
4996
- 'chunkingId': string;
4997
- 'sendToFqen': (EventName);
4998
- }
4999
- interface SendSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
5000
- id: 'sendSchedulesEmitPayload';
5001
- version: 'v2021_05_19';
5002
- namespace: 'Calendar';
5003
- name: '';
5004
- importsWhenRemote: ['import { EventName } from \'@sprucelabs/mercury-types\''];
5005
- fields: {
5006
- /** . */
5007
- 'startDateTimeMs': {
5008
- type: 'number';
5009
- isRequired: true;
5010
- options: undefined;
5011
- };
5012
- /** . */
5013
- 'endDateTimeMs': {
5014
- type: 'number';
5015
- isRequired: true;
5016
- options: undefined;
5017
- };
5018
- /** . */
5019
- 'personIds': {
5020
- type: 'id';
5021
- isArray: true;
5022
- options: undefined;
5023
- };
5024
- /** . */
5025
- 'chunkingId': {
5026
- type: 'id';
5027
- isRequired: true;
5028
- options: undefined;
5029
- };
5030
- /** . */
5031
- 'sendToFqen': {
5032
- type: 'raw';
5033
- isRequired: true;
5034
- options: {
5035
- valueType: `EventName`;
5036
- };
5037
- };
5038
- };
5039
- }
5040
- interface SendSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayloadSchema> {
5041
- }
5042
- }
5043
- namespace SpruceSchemas.Calendar.v2021_05_19 {
5044
- interface SendSchedulesEmitTargetAndPayload {
5045
- /** Source. */
5046
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
5047
- 'target': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTarget;
5048
- 'payload': SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayload;
5049
- }
5050
- interface SendSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
5051
- id: 'sendSchedulesEmitTargetAndPayload';
5052
- version: 'v2021_05_19';
5053
- namespace: 'Calendar';
5054
- name: '';
5055
- fields: {
5056
- /** Source. */
5057
- 'source': {
5058
- label: 'Source';
5059
- type: 'schema';
5060
- options: {
5061
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
5062
- };
5063
- };
5064
- /** . */
5065
- 'target': {
5066
- type: 'schema';
5067
- isRequired: true;
5068
- options: {
5069
- schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema;
5070
- };
5071
- };
5072
- /** . */
5073
- 'payload': {
5074
- type: 'schema';
5075
- isRequired: true;
5076
- options: {
5077
- schema: SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayloadSchema;
5078
- };
5079
- };
5080
- };
5081
- }
5082
- interface SendSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitTargetAndPayloadSchema> {
5083
- }
5084
- }
5085
5085
  namespace SpruceSchemas.Calendar.v2021_05_19 {
5086
5086
  interface CalendarTarget {
5087
5087
  'organizationId'?: string | undefined | null;