@sprucelabs/spruce-calendar-components 28.3.12 → 28.3.14

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,100 @@ 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 ListCalendarsEmitTargetAndPayload {
723
+ interface ListCalendarEventTypesEmitTargetAndPayload {
724
724
  /** Source. */
725
725
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
726
- 'target'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTarget | undefined | null;
726
+ 'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayload | undefined | null;
727
727
  }
728
- interface ListCalendarsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
729
- id: 'listCalendarsEmitTargetAndPayload';
728
+ interface ListCalendarEventTypesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
729
+ id: 'listCalendarEventTypesEmitTargetAndPayload';
730
+ version: 'v2021_05_19';
731
+ namespace: 'Calendar';
732
+ name: '';
733
+ fields: {
734
+ /** Source. */
735
+ 'source': {
736
+ label: 'Source';
737
+ type: 'schema';
738
+ options: {
739
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
740
+ };
741
+ };
742
+ /** . */
743
+ 'payload': {
744
+ type: 'schema';
745
+ options: {
746
+ schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema;
747
+ };
748
+ };
749
+ };
750
+ }
751
+ interface ListCalendarEventTypesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitTargetAndPayloadSchema> {
752
+ }
753
+ }
754
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
755
+ interface CancelCalendarEventEmitTarget {
756
+ 'locationId': string;
757
+ 'calendarEventId': string;
758
+ }
759
+ interface CancelCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
760
+ id: 'cancelCalendarEventEmitTarget';
761
+ version: 'v2021_05_19';
762
+ namespace: 'Calendar';
763
+ name: '';
764
+ fields: {
765
+ /** . */
766
+ 'locationId': {
767
+ type: 'id';
768
+ isRequired: true;
769
+ options: undefined;
770
+ };
771
+ /** . */
772
+ 'calendarEventId': {
773
+ type: 'id';
774
+ isRequired: true;
775
+ options: undefined;
776
+ };
777
+ };
778
+ }
779
+ interface CancelCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema> {
780
+ }
781
+ }
782
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
783
+ interface CancelCalendarEventEmitPayload {
784
+ 'dateToCancel'?: number | undefined | null;
785
+ 'shouldCancelAllEventsGoingForward'?: boolean | undefined | null;
786
+ }
787
+ interface CancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
788
+ id: 'cancelCalendarEventEmitPayload';
789
+ version: 'v2021_05_19';
790
+ namespace: 'Calendar';
791
+ name: '';
792
+ fields: {
793
+ /** . */
794
+ 'dateToCancel': {
795
+ type: 'number';
796
+ options: undefined;
797
+ };
798
+ /** . */
799
+ 'shouldCancelAllEventsGoingForward': {
800
+ type: 'boolean';
801
+ options: undefined;
802
+ };
803
+ };
804
+ }
805
+ interface CancelCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema> {
806
+ }
807
+ }
808
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
809
+ interface CancelCalendarEventEmitTargetAndPayload {
810
+ /** Source. */
811
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
812
+ 'target': SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTarget;
813
+ 'payload'?: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayload | undefined | null;
814
+ }
815
+ interface CancelCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
816
+ id: 'cancelCalendarEventEmitTargetAndPayload';
730
817
  version: 'v2021_05_19';
731
818
  namespace: 'Calendar';
732
819
  name: '';
@@ -741,14 +828,43 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
741
828
  };
742
829
  /** . */
743
830
  'target': {
831
+ type: 'schema';
832
+ isRequired: true;
833
+ options: {
834
+ schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema;
835
+ };
836
+ };
837
+ /** . */
838
+ 'payload': {
744
839
  type: 'schema';
745
840
  options: {
746
- schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema;
841
+ schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema;
747
842
  };
748
843
  };
749
844
  };
750
845
  }
751
- interface ListCalendarsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetAndPayloadSchema> {
846
+ interface CancelCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetAndPayloadSchema> {
847
+ }
848
+ }
849
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
850
+ interface CancelCalendarEventResponsePayload {
851
+ 'totalDeleted': number;
852
+ }
853
+ interface CancelCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
854
+ id: 'cancelCalendarEventResponsePayload';
855
+ version: 'v2021_05_19';
856
+ namespace: 'Calendar';
857
+ name: '';
858
+ fields: {
859
+ /** . */
860
+ 'totalDeleted': {
861
+ type: 'number';
862
+ isRequired: true;
863
+ options: undefined;
864
+ };
865
+ };
866
+ }
867
+ interface CancelCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventResponsePayloadSchema> {
752
868
  }
753
869
  }
754
870
  namespace SpruceSchemas.Calendar.v2021_05_19 {
@@ -1396,122 +1512,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1396
1512
  interface CreateCalendarEventTypeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CreateCalendarEventTypeResponsePayloadSchema> {
1397
1513
  }
1398
1514
  }
1399
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1400
- interface CancelCalendarEventEmitTarget {
1401
- 'locationId': string;
1402
- 'calendarEventId': string;
1403
- }
1404
- interface CancelCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
1405
- id: 'cancelCalendarEventEmitTarget';
1406
- version: 'v2021_05_19';
1407
- namespace: 'Calendar';
1408
- name: '';
1409
- fields: {
1410
- /** . */
1411
- 'locationId': {
1412
- type: 'id';
1413
- isRequired: true;
1414
- options: undefined;
1415
- };
1416
- /** . */
1417
- 'calendarEventId': {
1418
- type: 'id';
1419
- isRequired: true;
1420
- options: undefined;
1421
- };
1422
- };
1423
- }
1424
- interface CancelCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema> {
1425
- }
1426
- }
1427
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1428
- interface CancelCalendarEventEmitPayload {
1429
- 'dateToCancel'?: number | undefined | null;
1430
- 'shouldCancelAllEventsGoingForward'?: boolean | undefined | null;
1431
- }
1432
- interface CancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
1433
- id: 'cancelCalendarEventEmitPayload';
1434
- version: 'v2021_05_19';
1435
- namespace: 'Calendar';
1436
- name: '';
1437
- fields: {
1438
- /** . */
1439
- 'dateToCancel': {
1440
- type: 'number';
1441
- options: undefined;
1442
- };
1443
- /** . */
1444
- 'shouldCancelAllEventsGoingForward': {
1445
- type: 'boolean';
1446
- options: undefined;
1447
- };
1448
- };
1449
- }
1450
- interface CancelCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema> {
1451
- }
1452
- }
1453
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1454
- interface CancelCalendarEventEmitTargetAndPayload {
1455
- /** Source. */
1456
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1457
- 'target': SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTarget;
1458
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayload | undefined | null;
1459
- }
1460
- interface CancelCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1461
- id: 'cancelCalendarEventEmitTargetAndPayload';
1462
- version: 'v2021_05_19';
1463
- namespace: 'Calendar';
1464
- name: '';
1465
- fields: {
1466
- /** Source. */
1467
- 'source': {
1468
- label: 'Source';
1469
- type: 'schema';
1470
- options: {
1471
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
1472
- };
1473
- };
1474
- /** . */
1475
- 'target': {
1476
- type: 'schema';
1477
- isRequired: true;
1478
- options: {
1479
- schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema;
1480
- };
1481
- };
1482
- /** . */
1483
- 'payload': {
1484
- type: 'schema';
1485
- options: {
1486
- schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema;
1487
- };
1488
- };
1489
- };
1490
- }
1491
- interface CancelCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetAndPayloadSchema> {
1492
- }
1493
- }
1494
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1495
- interface CancelCalendarEventResponsePayload {
1496
- 'totalDeleted': number;
1497
- }
1498
- interface CancelCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
1499
- id: 'cancelCalendarEventResponsePayload';
1500
- version: 'v2021_05_19';
1501
- namespace: 'Calendar';
1502
- name: '';
1503
- fields: {
1504
- /** . */
1505
- 'totalDeleted': {
1506
- type: 'number';
1507
- isRequired: true;
1508
- options: undefined;
1509
- };
1510
- };
1511
- }
1512
- interface CancelCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventResponsePayloadSchema> {
1513
- }
1514
- }
1515
1515
  namespace SpruceSchemas.Calendar.v2021_05_19 {
1516
1516
  interface DeleteCalendarEmitTarget {
1517
1517
  'organizationId': string;
@@ -1791,102 +1791,13 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1791
1791
  }
1792
1792
  }
1793
1793
  namespace SpruceSchemas.Calendar.v2021_05_19 {
1794
- interface GetCalendarEmitTarget {
1795
- 'organizationId': string;
1796
- 'slug'?: string | undefined | null;
1797
- 'calendarId'?: string | undefined | null;
1794
+ interface GetAvailableTimeSlotsEmitTarget {
1795
+ 'organizationId'?: string | undefined | null;
1796
+ 'locationId'?: string | undefined | null;
1797
+ 'calendarIds': string[];
1798
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
- }
1882
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1883
- interface GetAvailableTimeSlotsEmitTarget {
1884
- 'organizationId'?: string | undefined | null;
1885
- 'locationId'?: string | undefined | null;
1886
- 'calendarIds': string[];
1887
- }
1888
- interface GetAvailableTimeSlotsEmitTargetSchema extends SpruceSchema.Schema {
1889
- id: 'getAvailableTimeSlotsEmitTarget';
1799
+ interface GetAvailableTimeSlotsEmitTargetSchema extends SpruceSchema.Schema {
1800
+ id: 'getAvailableTimeSlotsEmitTarget';
1890
1801
  version: 'v2021_05_19';
1891
1802
  namespace: 'Calendar';
1892
1803
  name: '';
@@ -2036,6 +1947,58 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2036
1947
  interface GetAvailableTimeSlotsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetAvailableTimeSlotsEmitPayloadSchema> {
2037
1948
  }
2038
1949
  }
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
+ }
2039
2002
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2040
2003
  interface GetAvailableTimeSlotsResponsePayload {
2041
2004
  'times': SpruceSchemas.Calendar.v2021_05_19.Timeslots[];
@@ -2062,55 +2025,92 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2062
2025
  }
2063
2026
  }
2064
2027
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2065
- interface TeammatesTimeslots {
2066
- 'personId': string;
2067
- 'startDateTimeMs': number;
2028
+ interface GetCalendarEmitTarget {
2029
+ 'organizationId': string;
2030
+ 'slug'?: string | undefined | null;
2031
+ 'calendarId'?: string | undefined | null;
2068
2032
  }
2069
- interface TeammatesTimeslotsSchema extends SpruceSchema.Schema {
2070
- id: 'teammatesTimeslots';
2033
+ interface GetCalendarEmitTargetSchema extends SpruceSchema.Schema {
2034
+ id: 'getCalendarEmitTarget';
2071
2035
  version: 'v2021_05_19';
2072
2036
  namespace: 'Calendar';
2073
2037
  name: '';
2074
2038
  fields: {
2075
2039
  /** . */
2076
- 'personId': {
2040
+ 'organizationId': {
2077
2041
  type: 'id';
2078
2042
  isRequired: true;
2079
2043
  options: undefined;
2080
2044
  };
2081
2045
  /** . */
2082
- 'startDateTimeMs': {
2083
- type: 'number';
2084
- isRequired: true;
2046
+ 'slug': {
2047
+ type: 'id';
2048
+ options: undefined;
2049
+ };
2050
+ /** . */
2051
+ 'calendarId': {
2052
+ type: 'id';
2085
2053
  options: undefined;
2086
2054
  };
2087
2055
  };
2088
2056
  }
2089
- interface TeammatesTimeslotsEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslotsSchema> {
2057
+ interface GetCalendarEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetSchema> {
2090
2058
  }
2091
2059
  }
2092
2060
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2093
- interface Timeslots {
2094
- 'slots': SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslots[];
2061
+ interface GetCalendarEmitTargetAndPayload {
2062
+ /** Source. */
2063
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2064
+ 'target': SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTarget;
2095
2065
  }
2096
- interface TimeslotsSchema extends SpruceSchema.Schema {
2097
- id: 'timeslots';
2066
+ interface GetCalendarEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2067
+ id: 'getCalendarEmitTargetAndPayload';
2098
2068
  version: 'v2021_05_19';
2099
2069
  namespace: 'Calendar';
2100
2070
  name: '';
2101
2071
  fields: {
2072
+ /** Source. */
2073
+ 'source': {
2074
+ label: 'Source';
2075
+ type: 'schema';
2076
+ options: {
2077
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
2078
+ };
2079
+ };
2102
2080
  /** . */
2103
- 'slots': {
2081
+ 'target': {
2104
2082
  type: 'schema';
2105
2083
  isRequired: true;
2106
- isArray: true;
2107
2084
  options: {
2108
- schema: SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslotsSchema;
2085
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetSchema;
2109
2086
  };
2110
2087
  };
2111
2088
  };
2112
2089
  }
2113
- interface TimeslotsEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TimeslotsSchema> {
2090
+ interface GetCalendarEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetAndPayloadSchema> {
2091
+ }
2092
+ }
2093
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
2094
+ interface GetCalendarResponsePayload {
2095
+ 'calendar': SpruceSchemas.Calendar.v2021_05_19.Calendar;
2096
+ }
2097
+ interface GetCalendarResponsePayloadSchema extends SpruceSchema.Schema {
2098
+ id: 'getCalendarResponsePayload';
2099
+ version: 'v2021_05_19';
2100
+ namespace: 'Calendar';
2101
+ name: '';
2102
+ fields: {
2103
+ /** . */
2104
+ 'calendar': {
2105
+ type: 'schema';
2106
+ isRequired: true;
2107
+ options: {
2108
+ schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
2109
+ };
2110
+ };
2111
+ };
2112
+ }
2113
+ interface GetCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarResponsePayloadSchema> {
2114
2114
  }
2115
2115
  }
2116
2116
  namespace SpruceSchemas.Calendar.v2021_05_19 {
@@ -2466,50 +2466,44 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2466
2466
  }
2467
2467
  }
2468
2468
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2469
- interface ListCalendarsEmitTarget {
2470
- 'organizationId'?: string | undefined | null;
2471
- 'calendarPersonId'?: string | undefined | null;
2469
+ interface ListCalendarEventTypesEmitPayload {
2470
+ 'shouldShowOnlyMine'?: boolean | undefined | null;
2472
2471
  }
2473
- interface ListCalendarsEmitTargetSchema extends SpruceSchema.Schema {
2474
- id: 'listCalendarsEmitTarget';
2472
+ interface ListCalendarEventTypesEmitPayloadSchema extends SpruceSchema.Schema {
2473
+ id: 'listCalendarEventTypesEmitPayload';
2475
2474
  version: 'v2021_05_19';
2476
2475
  namespace: 'Calendar';
2477
2476
  name: '';
2478
2477
  fields: {
2479
2478
  /** . */
2480
- 'organizationId': {
2481
- type: 'id';
2482
- options: undefined;
2483
- };
2484
- /** . */
2485
- 'calendarPersonId': {
2486
- type: 'id';
2479
+ 'shouldShowOnlyMine': {
2480
+ type: 'boolean';
2487
2481
  options: undefined;
2488
2482
  };
2489
2483
  };
2490
2484
  }
2491
- interface ListCalendarsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema> {
2485
+ interface ListCalendarEventTypesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema> {
2492
2486
  }
2493
2487
  }
2494
2488
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2495
- interface ListCalendarsResponsePayload {
2496
- 'calendars': SpruceSchemas.Calendar.v2021_05_19.Calendar[];
2489
+ interface ListCalendarEventTypesResponsePayload {
2490
+ 'calendarEventTypes': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType[];
2497
2491
  'count': number;
2498
2492
  }
2499
- interface ListCalendarsResponsePayloadSchema extends SpruceSchema.Schema {
2500
- id: 'listCalendarsResponsePayload';
2493
+ interface ListCalendarEventTypesResponsePayloadSchema extends SpruceSchema.Schema {
2494
+ id: 'listCalendarEventTypesResponsePayload';
2501
2495
  version: 'v2021_05_19';
2502
2496
  namespace: 'Calendar';
2503
2497
  name: '';
2504
2498
  fields: {
2505
2499
  /** . */
2506
- 'calendars': {
2500
+ 'calendarEventTypes': {
2507
2501
  type: 'schema';
2508
2502
  isRequired: true;
2509
2503
  isArray: true;
2510
2504
  minArrayLength: 0;
2511
2505
  options: {
2512
- schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
2506
+ schema: SpruceSchemas.Calendar.v2021_05_19.CalendarEventTypeSchema;
2513
2507
  };
2514
2508
  };
2515
2509
  /** . */
@@ -2520,37 +2514,60 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2520
2514
  };
2521
2515
  };
2522
2516
  }
2523
- interface ListCalendarsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsResponsePayloadSchema> {
2517
+ interface ListCalendarEventTypesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesResponsePayloadSchema> {
2524
2518
  }
2525
2519
  }
2526
2520
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2527
- interface ListCalendarEventTypesEmitPayload {
2528
- 'shouldShowOnlyMine'?: boolean | undefined | null;
2521
+ interface ListCalendarEventsEmitTarget {
2522
+ 'locationId': string;
2529
2523
  }
2530
- interface ListCalendarEventTypesEmitPayloadSchema extends SpruceSchema.Schema {
2531
- id: 'listCalendarEventTypesEmitPayload';
2524
+ interface ListCalendarEventsEmitTargetSchema extends SpruceSchema.Schema {
2525
+ id: 'listCalendarEventsEmitTarget';
2532
2526
  version: 'v2021_05_19';
2533
2527
  namespace: 'Calendar';
2534
2528
  name: '';
2535
2529
  fields: {
2536
2530
  /** . */
2537
- 'shouldShowOnlyMine': {
2538
- type: 'boolean';
2531
+ 'locationId': {
2532
+ type: 'id';
2533
+ isRequired: true;
2539
2534
  options: undefined;
2540
2535
  };
2541
2536
  };
2542
2537
  }
2543
- interface ListCalendarEventTypesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema> {
2538
+ interface ListCalendarEventsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetSchema> {
2544
2539
  }
2545
2540
  }
2546
2541
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2547
- interface ListCalendarEventTypesEmitTargetAndPayload {
2542
+ interface ListCalendarEventsEmitPayload {
2543
+ 'groupIds'?: string[] | undefined | null;
2544
+ }
2545
+ interface ListCalendarEventsEmitPayloadSchema extends SpruceSchema.Schema {
2546
+ id: 'listCalendarEventsEmitPayload';
2547
+ version: 'v2021_05_19';
2548
+ namespace: 'Calendar';
2549
+ name: '';
2550
+ fields: {
2551
+ /** . */
2552
+ 'groupIds': {
2553
+ type: 'id';
2554
+ isArray: true;
2555
+ options: undefined;
2556
+ };
2557
+ };
2558
+ }
2559
+ interface ListCalendarEventsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayloadSchema> {
2560
+ }
2561
+ }
2562
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
2563
+ interface ListCalendarEventsEmitTargetAndPayload {
2548
2564
  /** Source. */
2549
2565
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2550
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayload | undefined | null;
2566
+ 'target': SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTarget;
2567
+ 'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayload | undefined | null;
2551
2568
  }
2552
- interface ListCalendarEventTypesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2553
- id: 'listCalendarEventTypesEmitTargetAndPayload';
2569
+ interface ListCalendarEventsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2570
+ id: 'listCalendarEventsEmitTargetAndPayload';
2554
2571
  version: 'v2021_05_19';
2555
2572
  namespace: 'Calendar';
2556
2573
  name: '';
@@ -2564,100 +2581,84 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2564
2581
  };
2565
2582
  };
2566
2583
  /** . */
2584
+ 'target': {
2585
+ type: 'schema';
2586
+ isRequired: true;
2587
+ options: {
2588
+ schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetSchema;
2589
+ };
2590
+ };
2591
+ /** . */
2567
2592
  'payload': {
2568
2593
  type: 'schema';
2569
2594
  options: {
2570
- schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema;
2595
+ schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayloadSchema;
2571
2596
  };
2572
2597
  };
2573
2598
  };
2574
2599
  }
2575
- interface ListCalendarEventTypesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitTargetAndPayloadSchema> {
2600
+ interface ListCalendarEventsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetAndPayloadSchema> {
2576
2601
  }
2577
2602
  }
2578
2603
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2579
- interface ListCalendarEventTypesResponsePayload {
2580
- 'calendarEventTypes': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType[];
2581
- 'count': number;
2604
+ interface ListCalendarEventsResponsePayload {
2605
+ 'calendarEvents': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[];
2582
2606
  }
2583
- interface ListCalendarEventTypesResponsePayloadSchema extends SpruceSchema.Schema {
2584
- id: 'listCalendarEventTypesResponsePayload';
2607
+ interface ListCalendarEventsResponsePayloadSchema extends SpruceSchema.Schema {
2608
+ id: 'listCalendarEventsResponsePayload';
2585
2609
  version: 'v2021_05_19';
2586
2610
  namespace: 'Calendar';
2587
2611
  name: '';
2588
2612
  fields: {
2589
2613
  /** . */
2590
- 'calendarEventTypes': {
2614
+ 'calendarEvents': {
2591
2615
  type: 'schema';
2592
2616
  isRequired: true;
2593
2617
  isArray: true;
2594
2618
  minArrayLength: 0;
2595
2619
  options: {
2596
- schema: SpruceSchemas.Calendar.v2021_05_19.CalendarEventTypeSchema;
2620
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
2597
2621
  };
2598
2622
  };
2599
- /** . */
2600
- 'count': {
2601
- type: 'number';
2602
- isRequired: true;
2603
- options: undefined;
2604
- };
2605
2623
  };
2606
2624
  }
2607
- interface ListCalendarEventTypesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesResponsePayloadSchema> {
2625
+ interface ListCalendarEventsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsResponsePayloadSchema> {
2608
2626
  }
2609
2627
  }
2610
2628
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2611
- interface ListCalendarEventsEmitTarget {
2612
- 'locationId': string;
2629
+ interface ListCalendarsEmitTarget {
2630
+ 'organizationId'?: string | undefined | null;
2631
+ 'calendarPersonId'?: string | undefined | null;
2613
2632
  }
2614
- interface ListCalendarEventsEmitTargetSchema extends SpruceSchema.Schema {
2615
- id: 'listCalendarEventsEmitTarget';
2633
+ interface ListCalendarsEmitTargetSchema extends SpruceSchema.Schema {
2634
+ id: 'listCalendarsEmitTarget';
2616
2635
  version: 'v2021_05_19';
2617
2636
  namespace: 'Calendar';
2618
2637
  name: '';
2619
2638
  fields: {
2620
2639
  /** . */
2621
- 'locationId': {
2640
+ 'organizationId': {
2622
2641
  type: 'id';
2623
- isRequired: true;
2624
2642
  options: undefined;
2625
2643
  };
2626
- };
2627
- }
2628
- interface ListCalendarEventsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetSchema> {
2629
- }
2630
- }
2631
- namespace SpruceSchemas.Calendar.v2021_05_19 {
2632
- interface ListCalendarEventsEmitPayload {
2633
- 'groupIds'?: string[] | undefined | null;
2634
- }
2635
- interface ListCalendarEventsEmitPayloadSchema extends SpruceSchema.Schema {
2636
- id: 'listCalendarEventsEmitPayload';
2637
- version: 'v2021_05_19';
2638
- namespace: 'Calendar';
2639
- name: '';
2640
- fields: {
2641
2644
  /** . */
2642
- 'groupIds': {
2645
+ 'calendarPersonId': {
2643
2646
  type: 'id';
2644
- isArray: true;
2645
2647
  options: undefined;
2646
2648
  };
2647
2649
  };
2648
2650
  }
2649
- interface ListCalendarEventsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayloadSchema> {
2651
+ interface ListCalendarsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema> {
2650
2652
  }
2651
2653
  }
2652
2654
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2653
- interface ListCalendarEventsEmitTargetAndPayload {
2655
+ interface ListCalendarsEmitTargetAndPayload {
2654
2656
  /** Source. */
2655
2657
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2656
- 'target': SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTarget;
2657
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayload | undefined | null;
2658
+ 'target'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTarget | undefined | null;
2658
2659
  }
2659
- interface ListCalendarEventsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2660
- id: 'listCalendarEventsEmitTargetAndPayload';
2660
+ interface ListCalendarsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2661
+ id: 'listCalendarsEmitTargetAndPayload';
2661
2662
  version: 'v2021_05_19';
2662
2663
  namespace: 'Calendar';
2663
2664
  name: '';
@@ -2672,47 +2673,46 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2672
2673
  };
2673
2674
  /** . */
2674
2675
  'target': {
2675
- type: 'schema';
2676
- isRequired: true;
2677
- options: {
2678
- schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetSchema;
2679
- };
2680
- };
2681
- /** . */
2682
- 'payload': {
2683
2676
  type: 'schema';
2684
2677
  options: {
2685
- schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayloadSchema;
2678
+ schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema;
2686
2679
  };
2687
2680
  };
2688
2681
  };
2689
2682
  }
2690
- interface ListCalendarEventsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetAndPayloadSchema> {
2683
+ interface ListCalendarsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetAndPayloadSchema> {
2691
2684
  }
2692
2685
  }
2693
2686
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2694
- interface ListCalendarEventsResponsePayload {
2695
- 'calendarEvents': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[];
2687
+ interface ListCalendarsResponsePayload {
2688
+ 'calendars': SpruceSchemas.Calendar.v2021_05_19.Calendar[];
2689
+ 'count': number;
2696
2690
  }
2697
- interface ListCalendarEventsResponsePayloadSchema extends SpruceSchema.Schema {
2698
- id: 'listCalendarEventsResponsePayload';
2691
+ interface ListCalendarsResponsePayloadSchema extends SpruceSchema.Schema {
2692
+ id: 'listCalendarsResponsePayload';
2699
2693
  version: 'v2021_05_19';
2700
2694
  namespace: 'Calendar';
2701
2695
  name: '';
2702
2696
  fields: {
2703
2697
  /** . */
2704
- 'calendarEvents': {
2698
+ 'calendars': {
2705
2699
  type: 'schema';
2706
2700
  isRequired: true;
2707
2701
  isArray: true;
2708
2702
  minArrayLength: 0;
2709
2703
  options: {
2710
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
2704
+ schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
2711
2705
  };
2712
2706
  };
2707
+ /** . */
2708
+ 'count': {
2709
+ type: 'number';
2710
+ isRequired: true;
2711
+ options: undefined;
2712
+ };
2713
2713
  };
2714
2714
  }
2715
- interface ListCalendarEventsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsResponsePayloadSchema> {
2715
+ interface ListCalendarsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsResponsePayloadSchema> {
2716
2716
  }
2717
2717
  }
2718
2718
  namespace SpruceSchemas.Calendar.v2021_05_19 {
@@ -4654,37 +4654,49 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4654
4654
  }
4655
4655
  }
4656
4656
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4657
- interface DidCreateCalendarEventEmitPayload {
4658
- 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
4657
+ interface GetSchedulesEmitPayload {
4658
+ 'startDateTimeMs': number;
4659
+ 'endDateTimeMs': number;
4660
+ 'personIds'?: string[] | undefined | null;
4659
4661
  }
4660
- interface DidCreateCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
4661
- id: 'didCreateCalendarEventEmitPayload';
4662
+ interface GetSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
4663
+ id: 'getSchedulesEmitPayload';
4662
4664
  version: 'v2021_05_19';
4663
4665
  namespace: 'Calendar';
4664
4666
  name: '';
4665
4667
  fields: {
4666
4668
  /** . */
4667
- 'calendarEvent': {
4668
- type: 'schema';
4669
+ 'startDateTimeMs': {
4670
+ type: 'number';
4669
4671
  isRequired: true;
4670
- options: {
4671
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
4672
- };
4672
+ options: undefined;
4673
+ };
4674
+ /** . */
4675
+ 'endDateTimeMs': {
4676
+ type: 'number';
4677
+ isRequired: true;
4678
+ options: undefined;
4679
+ };
4680
+ /** . */
4681
+ 'personIds': {
4682
+ type: 'id';
4683
+ isArray: true;
4684
+ options: undefined;
4673
4685
  };
4674
4686
  };
4675
4687
  }
4676
- interface DidCreateCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitPayloadSchema> {
4688
+ interface GetSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayloadSchema> {
4677
4689
  }
4678
4690
  }
4679
4691
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4680
- interface DidCreateCalendarEventEmitTargetAndPayload {
4692
+ interface GetSchedulesEmitTargetAndPayload {
4681
4693
  /** Source. */
4682
4694
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
4683
- 'target': SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitTarget;
4684
- 'payload': SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitPayload;
4695
+ 'target': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTarget;
4696
+ 'payload': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayload;
4685
4697
  }
4686
- interface DidCreateCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4687
- id: 'didCreateCalendarEventEmitTargetAndPayload';
4698
+ interface GetSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4699
+ id: 'getSchedulesEmitTargetAndPayload';
4688
4700
  version: 'v2021_05_19';
4689
4701
  namespace: 'Calendar';
4690
4702
  name: '';
@@ -4702,7 +4714,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4702
4714
  type: 'schema';
4703
4715
  isRequired: true;
4704
4716
  options: {
4705
- schema: SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitTargetSchema;
4717
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema;
4706
4718
  };
4707
4719
  };
4708
4720
  /** . */
@@ -4710,178 +4722,133 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4710
4722
  type: 'schema';
4711
4723
  isRequired: true;
4712
4724
  options: {
4713
- schema: SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitPayloadSchema;
4725
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayloadSchema;
4714
4726
  };
4715
4727
  };
4716
4728
  };
4717
4729
  }
4718
- interface DidCreateCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitTargetAndPayloadSchema> {
4730
+ interface GetSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetAndPayloadSchema> {
4719
4731
  }
4720
4732
  }
4721
4733
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4722
- interface ListPeopleWithoutSchedulesEmitTarget {
4723
- 'locationId': string;
4734
+ interface CreateCalendarEventResponsePayload {
4735
+ 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
4724
4736
  }
4725
- interface ListPeopleWithoutSchedulesEmitTargetSchema extends SpruceSchema.Schema {
4726
- id: 'listPeopleWithoutSchedulesEmitTarget';
4737
+ interface CreateCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
4738
+ id: 'createCalendarEventResponsePayload';
4727
4739
  version: 'v2021_05_19';
4728
4740
  namespace: 'Calendar';
4729
4741
  name: '';
4730
4742
  fields: {
4731
4743
  /** . */
4732
- 'locationId': {
4733
- type: 'id';
4744
+ 'calendarEvent': {
4745
+ type: 'schema';
4734
4746
  isRequired: true;
4735
- options: undefined;
4747
+ options: {
4748
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
4749
+ };
4736
4750
  };
4737
4751
  };
4738
4752
  }
4739
- interface ListPeopleWithoutSchedulesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitTargetSchema> {
4753
+ interface CreateCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CreateCalendarEventResponsePayloadSchema> {
4740
4754
  }
4741
4755
  }
4742
4756
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4743
- interface ListPeopleWithoutSchedulesEmitPayload {
4744
- 'calendarIds': string[];
4757
+ interface DidCreateCalendarEventEmitPayload {
4758
+ 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
4745
4759
  }
4746
- interface ListPeopleWithoutSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
4747
- id: 'listPeopleWithoutSchedulesEmitPayload';
4760
+ interface DidCreateCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
4761
+ id: 'didCreateCalendarEventEmitPayload';
4748
4762
  version: 'v2021_05_19';
4749
4763
  namespace: 'Calendar';
4750
4764
  name: '';
4751
4765
  fields: {
4752
4766
  /** . */
4753
- 'calendarIds': {
4754
- type: 'id';
4767
+ 'calendarEvent': {
4768
+ type: 'schema';
4755
4769
  isRequired: true;
4756
- isArray: true;
4757
- options: undefined;
4770
+ options: {
4771
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
4772
+ };
4758
4773
  };
4759
4774
  };
4760
4775
  }
4761
- interface ListPeopleWithoutSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitPayloadSchema> {
4776
+ interface DidCreateCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitPayloadSchema> {
4762
4777
  }
4763
4778
  }
4764
4779
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4765
- interface ListPeopleWithoutSchedulesEmitTargetAndPayload {
4766
- /** Source. */
4767
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
4768
- 'target': SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitTarget;
4769
- 'payload': SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitPayload;
4780
+ interface GetSchedulesResponsePayload {
4781
+ 'events': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[];
4770
4782
  }
4771
- interface ListPeopleWithoutSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4772
- id: 'listPeopleWithoutSchedulesEmitTargetAndPayload';
4783
+ interface GetSchedulesResponsePayloadSchema extends SpruceSchema.Schema {
4784
+ id: 'getSchedulesResponsePayload';
4773
4785
  version: 'v2021_05_19';
4774
4786
  namespace: 'Calendar';
4775
4787
  name: '';
4776
4788
  fields: {
4777
- /** Source. */
4778
- 'source': {
4779
- label: 'Source';
4780
- type: 'schema';
4781
- options: {
4782
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
4783
- };
4784
- };
4785
4789
  /** . */
4786
- 'target': {
4790
+ 'events': {
4787
4791
  type: 'schema';
4788
4792
  isRequired: true;
4793
+ isArray: true;
4794
+ minArrayLength: 0;
4789
4795
  options: {
4790
- schema: SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitTargetSchema;
4791
- };
4792
- };
4793
- /** . */
4794
- 'payload': {
4795
- type: 'schema';
4796
- isRequired: true;
4797
- options: {
4798
- schema: SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitPayloadSchema;
4796
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
4799
4797
  };
4800
4798
  };
4801
4799
  };
4802
4800
  }
4803
- interface ListPeopleWithoutSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitTargetAndPayloadSchema> {
4801
+ interface GetSchedulesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesResponsePayloadSchema> {
4804
4802
  }
4805
4803
  }
4806
4804
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4807
- interface PersonWithoutSchedule {
4808
- /** Id. */
4809
- 'id': string;
4810
- /** Casual name. The name you can use when talking to this person. */
4811
- 'casualName': string;
4812
- /** Avatar src. */
4813
- 'avatar'?: SpruceSchema.ImageFieldValue | undefined | null;
4805
+ interface GetSchedulesEmitTarget {
4806
+ 'organizationId'?: string | undefined | null;
4807
+ 'locationId'?: string | undefined | null;
4808
+ 'calendarIds': string[];
4814
4809
  }
4815
- interface PersonWithoutScheduleSchema extends SpruceSchema.Schema {
4816
- id: 'person-without-schedule';
4810
+ interface GetSchedulesEmitTargetSchema extends SpruceSchema.Schema {
4811
+ id: 'getSchedulesEmitTarget';
4817
4812
  version: 'v2021_05_19';
4818
4813
  namespace: 'Calendar';
4819
4814
  name: '';
4820
4815
  fields: {
4821
- /** Id. */
4822
- 'id': {
4823
- label: 'Id';
4816
+ /** . */
4817
+ 'organizationId': {
4824
4818
  type: 'id';
4825
- isRequired: true;
4826
4819
  options: undefined;
4827
4820
  };
4828
- /** Casual name. The name you can use when talking to this person. */
4829
- 'casualName': {
4830
- label: 'Casual name';
4831
- type: 'text';
4832
- isRequired: true;
4833
- hint: 'The name you can use when talking to this person.';
4821
+ /** . */
4822
+ 'locationId': {
4823
+ type: 'id';
4834
4824
  options: undefined;
4835
4825
  };
4836
- /** Avatar src. */
4837
- 'avatar': {
4838
- label: 'Avatar src';
4839
- type: 'image';
4840
- options: {
4841
- requiredSizes: ["*"];
4842
- };
4843
- };
4844
- };
4845
- }
4846
- interface PersonWithoutScheduleEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.PersonWithoutScheduleSchema> {
4847
- }
4848
- }
4849
- namespace SpruceSchemas.Calendar.v2021_05_19 {
4850
- interface ListPeopleWithoutSchedulesResponsePayload {
4851
- 'people': SpruceSchemas.Calendar.v2021_05_19.PersonWithoutSchedule[];
4852
- }
4853
- interface ListPeopleWithoutSchedulesResponsePayloadSchema extends SpruceSchema.Schema {
4854
- id: 'listPeopleWithoutSchedulesResponsePayload';
4855
- version: 'v2021_05_19';
4856
- namespace: 'Calendar';
4857
- name: '';
4858
- fields: {
4859
4826
  /** . */
4860
- 'people': {
4861
- type: 'schema';
4827
+ 'calendarIds': {
4828
+ type: 'id';
4862
4829
  isRequired: true;
4863
4830
  isArray: true;
4864
- minArrayLength: 0;
4865
- options: {
4866
- schema: SpruceSchemas.Calendar.v2021_05_19.PersonWithoutScheduleSchema;
4867
- };
4831
+ options: undefined;
4868
4832
  };
4869
4833
  };
4870
4834
  }
4871
- interface ListPeopleWithoutSchedulesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesResponsePayloadSchema> {
4835
+ interface GetSchedulesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema> {
4872
4836
  }
4873
4837
  }
4874
4838
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4875
- interface GetSchedulesEmitPayload {
4839
+ interface SendSchedulesEmitPayload {
4876
4840
  'startDateTimeMs': number;
4877
4841
  'endDateTimeMs': number;
4878
4842
  'personIds'?: string[] | undefined | null;
4843
+ 'chunkingId': string;
4844
+ 'sendToFqen': (EventName);
4879
4845
  }
4880
- interface GetSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
4881
- id: 'getSchedulesEmitPayload';
4846
+ interface SendSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
4847
+ id: 'sendSchedulesEmitPayload';
4882
4848
  version: 'v2021_05_19';
4883
4849
  namespace: 'Calendar';
4884
4850
  name: '';
4851
+ importsWhenRemote: ['import { EventName } from \'@sprucelabs/mercury-types\''];
4885
4852
  fields: {
4886
4853
  /** . */
4887
4854
  'startDateTimeMs': {
@@ -4901,58 +4868,98 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4901
4868
  isArray: true;
4902
4869
  options: undefined;
4903
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
+ };
4904
4885
  };
4905
4886
  }
4906
- interface GetSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayloadSchema> {
4887
+ interface SendSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayloadSchema> {
4907
4888
  }
4908
4889
  }
4909
4890
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4910
- interface GetSchedulesResponsePayload {
4911
- 'events': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[];
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;
4912
4896
  }
4913
- interface GetSchedulesResponsePayloadSchema extends SpruceSchema.Schema {
4914
- id: 'getSchedulesResponsePayload';
4897
+ interface SendSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4898
+ id: 'sendSchedulesEmitTargetAndPayload';
4915
4899
  version: 'v2021_05_19';
4916
4900
  namespace: 'Calendar';
4917
4901
  name: '';
4918
4902
  fields: {
4903
+ /** Source. */
4904
+ 'source': {
4905
+ label: 'Source';
4906
+ type: 'schema';
4907
+ options: {
4908
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
4909
+ };
4910
+ };
4919
4911
  /** . */
4920
- 'events': {
4912
+ 'target': {
4921
4913
  type: 'schema';
4922
4914
  isRequired: true;
4923
- isArray: true;
4924
- minArrayLength: 0;
4925
4915
  options: {
4926
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
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;
4927
4925
  };
4928
4926
  };
4929
4927
  };
4930
4928
  }
4931
- interface GetSchedulesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesResponsePayloadSchema> {
4929
+ interface SendSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitTargetAndPayloadSchema> {
4932
4930
  }
4933
4931
  }
4934
4932
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4935
- interface GetSchedulesEmitTarget {
4936
- 'organizationId'?: string | undefined | null;
4937
- 'locationId'?: string | undefined | null;
4938
- 'calendarIds': string[];
4933
+ interface ListPeopleWithoutSchedulesEmitTarget {
4934
+ 'locationId': string;
4939
4935
  }
4940
- interface GetSchedulesEmitTargetSchema extends SpruceSchema.Schema {
4941
- id: 'getSchedulesEmitTarget';
4936
+ interface ListPeopleWithoutSchedulesEmitTargetSchema extends SpruceSchema.Schema {
4937
+ id: 'listPeopleWithoutSchedulesEmitTarget';
4942
4938
  version: 'v2021_05_19';
4943
4939
  namespace: 'Calendar';
4944
4940
  name: '';
4945
4941
  fields: {
4946
- /** . */
4947
- 'organizationId': {
4948
- type: 'id';
4949
- options: undefined;
4950
- };
4951
4942
  /** . */
4952
4943
  'locationId': {
4953
4944
  type: 'id';
4945
+ isRequired: true;
4954
4946
  options: undefined;
4955
4947
  };
4948
+ };
4949
+ }
4950
+ interface ListPeopleWithoutSchedulesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitTargetSchema> {
4951
+ }
4952
+ }
4953
+ namespace SpruceSchemas.Calendar.v2021_05_19 {
4954
+ interface ListPeopleWithoutSchedulesEmitPayload {
4955
+ 'calendarIds': string[];
4956
+ }
4957
+ interface ListPeopleWithoutSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
4958
+ id: 'listPeopleWithoutSchedulesEmitPayload';
4959
+ version: 'v2021_05_19';
4960
+ namespace: 'Calendar';
4961
+ name: '';
4962
+ fields: {
4956
4963
  /** . */
4957
4964
  'calendarIds': {
4958
4965
  type: 'id';
@@ -4962,18 +4969,18 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4962
4969
  };
4963
4970
  };
4964
4971
  }
4965
- interface GetSchedulesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema> {
4972
+ interface ListPeopleWithoutSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitPayloadSchema> {
4966
4973
  }
4967
4974
  }
4968
4975
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4969
- interface GetSchedulesEmitTargetAndPayload {
4976
+ interface ListPeopleWithoutSchedulesEmitTargetAndPayload {
4970
4977
  /** Source. */
4971
4978
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
4972
- 'target': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTarget;
4973
- 'payload': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayload;
4979
+ 'target': SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitTarget;
4980
+ 'payload': SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitPayload;
4974
4981
  }
4975
- interface GetSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4976
- id: 'getSchedulesEmitTargetAndPayload';
4982
+ interface ListPeopleWithoutSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4983
+ id: 'listPeopleWithoutSchedulesEmitTargetAndPayload';
4977
4984
  version: 'v2021_05_19';
4978
4985
  namespace: 'Calendar';
4979
4986
  name: '';
@@ -4991,7 +4998,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4991
4998
  type: 'schema';
4992
4999
  isRequired: true;
4993
5000
  options: {
4994
- schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema;
5001
+ schema: SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitTargetSchema;
4995
5002
  };
4996
5003
  };
4997
5004
  /** . */
@@ -4999,106 +5006,80 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4999
5006
  type: 'schema';
5000
5007
  isRequired: true;
5001
5008
  options: {
5002
- schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayloadSchema;
5009
+ schema: SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitPayloadSchema;
5003
5010
  };
5004
5011
  };
5005
5012
  };
5006
5013
  }
5007
- interface GetSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetAndPayloadSchema> {
5014
+ interface ListPeopleWithoutSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitTargetAndPayloadSchema> {
5008
5015
  }
5009
5016
  }
5010
5017
  namespace SpruceSchemas.Calendar.v2021_05_19 {
5011
- interface SendSchedulesEmitPayload {
5012
- 'startDateTimeMs': number;
5013
- 'endDateTimeMs': number;
5014
- 'personIds'?: string[] | undefined | null;
5015
- 'chunkingId': string;
5016
- 'sendToFqen': (EventName);
5018
+ interface PersonWithoutSchedule {
5019
+ /** Id. */
5020
+ 'id': string;
5021
+ /** Casual name. The name you can use when talking to this person. */
5022
+ 'casualName': string;
5023
+ /** Avatar src. */
5024
+ 'avatar'?: SpruceSchema.ImageFieldValue | undefined | null;
5017
5025
  }
5018
- interface SendSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
5019
- id: 'sendSchedulesEmitPayload';
5026
+ interface PersonWithoutScheduleSchema extends SpruceSchema.Schema {
5027
+ id: 'person-without-schedule';
5020
5028
  version: 'v2021_05_19';
5021
5029
  namespace: 'Calendar';
5022
5030
  name: '';
5023
- importsWhenRemote: ['import { EventName } from \'@sprucelabs/mercury-types\''];
5024
5031
  fields: {
5025
- /** . */
5026
- 'startDateTimeMs': {
5027
- type: 'number';
5028
- isRequired: true;
5029
- options: undefined;
5030
- };
5031
- /** . */
5032
- 'endDateTimeMs': {
5033
- type: 'number';
5034
- isRequired: true;
5035
- options: undefined;
5036
- };
5037
- /** . */
5038
- 'personIds': {
5032
+ /** Id. */
5033
+ 'id': {
5034
+ label: 'Id';
5039
5035
  type: 'id';
5040
- isArray: true;
5036
+ isRequired: true;
5041
5037
  options: undefined;
5042
5038
  };
5043
- /** . */
5044
- 'chunkingId': {
5045
- type: 'id';
5039
+ /** Casual name. The name you can use when talking to this person. */
5040
+ 'casualName': {
5041
+ label: 'Casual name';
5042
+ type: 'text';
5046
5043
  isRequired: true;
5044
+ hint: 'The name you can use when talking to this person.';
5047
5045
  options: undefined;
5048
5046
  };
5049
- /** . */
5050
- 'sendToFqen': {
5051
- type: 'raw';
5052
- isRequired: true;
5047
+ /** Avatar src. */
5048
+ 'avatar': {
5049
+ label: 'Avatar src';
5050
+ type: 'image';
5053
5051
  options: {
5054
- valueType: `EventName`;
5052
+ requiredSizes: ["*"];
5055
5053
  };
5056
5054
  };
5057
5055
  };
5058
5056
  }
5059
- interface SendSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayloadSchema> {
5057
+ interface PersonWithoutScheduleEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.PersonWithoutScheduleSchema> {
5060
5058
  }
5061
5059
  }
5062
5060
  namespace SpruceSchemas.Calendar.v2021_05_19 {
5063
- interface SendSchedulesEmitTargetAndPayload {
5064
- /** Source. */
5065
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
5066
- 'target': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTarget;
5067
- 'payload': SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayload;
5061
+ interface ListPeopleWithoutSchedulesResponsePayload {
5062
+ 'people': SpruceSchemas.Calendar.v2021_05_19.PersonWithoutSchedule[];
5068
5063
  }
5069
- interface SendSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
5070
- id: 'sendSchedulesEmitTargetAndPayload';
5064
+ interface ListPeopleWithoutSchedulesResponsePayloadSchema extends SpruceSchema.Schema {
5065
+ id: 'listPeopleWithoutSchedulesResponsePayload';
5071
5066
  version: 'v2021_05_19';
5072
5067
  namespace: 'Calendar';
5073
5068
  name: '';
5074
5069
  fields: {
5075
- /** Source. */
5076
- 'source': {
5077
- label: 'Source';
5078
- type: 'schema';
5079
- options: {
5080
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
5081
- };
5082
- };
5083
5070
  /** . */
5084
- 'target': {
5085
- type: 'schema';
5086
- isRequired: true;
5087
- options: {
5088
- schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema;
5089
- };
5090
- };
5091
- /** . */
5092
- 'payload': {
5071
+ 'people': {
5093
5072
  type: 'schema';
5094
5073
  isRequired: true;
5074
+ isArray: true;
5075
+ minArrayLength: 0;
5095
5076
  options: {
5096
- schema: SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayloadSchema;
5077
+ schema: SpruceSchemas.Calendar.v2021_05_19.PersonWithoutScheduleSchema;
5097
5078
  };
5098
5079
  };
5099
5080
  };
5100
5081
  }
5101
- interface SendSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitTargetAndPayloadSchema> {
5082
+ interface ListPeopleWithoutSchedulesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesResponsePayloadSchema> {
5102
5083
  }
5103
5084
  }
5104
5085
  namespace SpruceSchemas.Calendar.v2021_05_19 {
@@ -5128,26 +5109,45 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
5128
5109
  }
5129
5110
  }
5130
5111
  namespace SpruceSchemas.Calendar.v2021_05_19 {
5131
- interface CreateCalendarEventResponsePayload {
5132
- 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
5112
+ interface DidCreateCalendarEventEmitTargetAndPayload {
5113
+ /** Source. */
5114
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
5115
+ 'target': SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitTarget;
5116
+ 'payload': SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitPayload;
5133
5117
  }
5134
- interface CreateCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
5135
- id: 'createCalendarEventResponsePayload';
5118
+ interface DidCreateCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
5119
+ id: 'didCreateCalendarEventEmitTargetAndPayload';
5136
5120
  version: 'v2021_05_19';
5137
5121
  namespace: 'Calendar';
5138
5122
  name: '';
5139
5123
  fields: {
5124
+ /** Source. */
5125
+ 'source': {
5126
+ label: 'Source';
5127
+ type: 'schema';
5128
+ options: {
5129
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
5130
+ };
5131
+ };
5140
5132
  /** . */
5141
- 'calendarEvent': {
5133
+ 'target': {
5142
5134
  type: 'schema';
5143
5135
  isRequired: true;
5144
5136
  options: {
5145
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
5137
+ schema: SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitTargetSchema;
5138
+ };
5139
+ };
5140
+ /** . */
5141
+ 'payload': {
5142
+ type: 'schema';
5143
+ isRequired: true;
5144
+ options: {
5145
+ schema: SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitPayloadSchema;
5146
5146
  };
5147
5147
  };
5148
5148
  };
5149
5149
  }
5150
- interface CreateCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CreateCalendarEventResponsePayloadSchema> {
5150
+ interface DidCreateCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitTargetAndPayloadSchema> {
5151
5151
  }
5152
5152
  }
5153
5153
  namespace SpruceSchemas.Calendar.v2021_05_19 {