@sprucelabs/spruce-calendar-components 28.3.11 → 28.3.12

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,100 +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 ListCalendarEventTypesEmitTargetAndPayload {
724
- /** Source. */
725
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
726
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayload | undefined | null;
727
- }
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 {
723
+ interface ListCalendarsEmitTargetAndPayload {
810
724
  /** Source. */
811
725
  '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;
726
+ 'target'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTarget | undefined | null;
814
727
  }
815
- interface CancelCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
816
- id: 'cancelCalendarEventEmitTargetAndPayload';
728
+ interface ListCalendarsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
729
+ id: 'listCalendarsEmitTargetAndPayload';
817
730
  version: 'v2021_05_19';
818
731
  namespace: 'Calendar';
819
732
  name: '';
@@ -828,43 +741,14 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
828
741
  };
829
742
  /** . */
830
743
  'target': {
831
- type: 'schema';
832
- isRequired: true;
833
- options: {
834
- schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema;
835
- };
836
- };
837
- /** . */
838
- 'payload': {
839
744
  type: 'schema';
840
745
  options: {
841
- schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema;
746
+ schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema;
842
747
  };
843
748
  };
844
749
  };
845
750
  }
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> {
751
+ interface ListCalendarsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetAndPayloadSchema> {
868
752
  }
869
753
  }
870
754
  namespace SpruceSchemas.Calendar.v2021_05_19 {
@@ -1512,6 +1396,122 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1512
1396
  interface CreateCalendarEventTypeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CreateCalendarEventTypeResponsePayloadSchema> {
1513
1397
  }
1514
1398
  }
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,13 +1791,102 @@ 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 GetAvailableTimeSlotsEmitTarget {
1795
- 'organizationId'?: string | undefined | null;
1796
- 'locationId'?: string | undefined | null;
1797
- 'calendarIds': string[];
1794
+ interface GetCalendarEmitTarget {
1795
+ 'organizationId': string;
1796
+ 'slug'?: string | undefined | null;
1797
+ 'calendarId'?: string | undefined | null;
1798
1798
  }
1799
- interface GetAvailableTimeSlotsEmitTargetSchema extends SpruceSchema.Schema {
1800
- id: 'getAvailableTimeSlotsEmitTarget';
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';
1801
1890
  version: 'v2021_05_19';
1802
1891
  namespace: 'Calendar';
1803
1892
  name: '';
@@ -1947,58 +2036,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
1947
2036
  interface GetAvailableTimeSlotsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetAvailableTimeSlotsEmitPayloadSchema> {
1948
2037
  }
1949
2038
  }
1950
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1951
- interface TeammatesTimeslots {
1952
- 'personId': string;
1953
- 'startDateTimeMs': number;
1954
- }
1955
- interface TeammatesTimeslotsSchema extends SpruceSchema.Schema {
1956
- id: 'teammatesTimeslots';
1957
- version: 'v2021_05_19';
1958
- namespace: 'Calendar';
1959
- name: '';
1960
- fields: {
1961
- /** . */
1962
- 'personId': {
1963
- type: 'id';
1964
- isRequired: true;
1965
- options: undefined;
1966
- };
1967
- /** . */
1968
- 'startDateTimeMs': {
1969
- type: 'number';
1970
- isRequired: true;
1971
- options: undefined;
1972
- };
1973
- };
1974
- }
1975
- interface TeammatesTimeslotsEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslotsSchema> {
1976
- }
1977
- }
1978
- namespace SpruceSchemas.Calendar.v2021_05_19 {
1979
- interface Timeslots {
1980
- 'slots': SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslots[];
1981
- }
1982
- interface TimeslotsSchema extends SpruceSchema.Schema {
1983
- id: 'timeslots';
1984
- version: 'v2021_05_19';
1985
- namespace: 'Calendar';
1986
- name: '';
1987
- fields: {
1988
- /** . */
1989
- 'slots': {
1990
- type: 'schema';
1991
- isRequired: true;
1992
- isArray: true;
1993
- options: {
1994
- schema: SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslotsSchema;
1995
- };
1996
- };
1997
- };
1998
- }
1999
- interface TimeslotsEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TimeslotsSchema> {
2000
- }
2001
- }
2002
2039
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2003
2040
  interface GetAvailableTimeSlotsResponsePayload {
2004
2041
  'times': SpruceSchemas.Calendar.v2021_05_19.Timeslots[];
@@ -2025,92 +2062,55 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2025
2062
  }
2026
2063
  }
2027
2064
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2028
- interface GetCalendarEmitTarget {
2029
- 'organizationId': string;
2030
- 'slug'?: string | undefined | null;
2031
- 'calendarId'?: string | undefined | null;
2065
+ interface TeammatesTimeslots {
2066
+ 'personId': string;
2067
+ 'startDateTimeMs': number;
2032
2068
  }
2033
- interface GetCalendarEmitTargetSchema extends SpruceSchema.Schema {
2034
- id: 'getCalendarEmitTarget';
2069
+ interface TeammatesTimeslotsSchema extends SpruceSchema.Schema {
2070
+ id: 'teammatesTimeslots';
2035
2071
  version: 'v2021_05_19';
2036
2072
  namespace: 'Calendar';
2037
2073
  name: '';
2038
2074
  fields: {
2039
2075
  /** . */
2040
- 'organizationId': {
2076
+ 'personId': {
2041
2077
  type: 'id';
2042
2078
  isRequired: true;
2043
2079
  options: undefined;
2044
2080
  };
2045
2081
  /** . */
2046
- 'slug': {
2047
- type: 'id';
2048
- options: undefined;
2049
- };
2050
- /** . */
2051
- 'calendarId': {
2052
- type: 'id';
2053
- options: undefined;
2054
- };
2055
- };
2056
- }
2057
- interface GetCalendarEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetSchema> {
2058
- }
2059
- }
2060
- namespace SpruceSchemas.Calendar.v2021_05_19 {
2061
- interface GetCalendarEmitTargetAndPayload {
2062
- /** Source. */
2063
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2064
- 'target': SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTarget;
2065
- }
2066
- interface GetCalendarEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2067
- id: 'getCalendarEmitTargetAndPayload';
2068
- version: 'v2021_05_19';
2069
- namespace: 'Calendar';
2070
- name: '';
2071
- fields: {
2072
- /** Source. */
2073
- 'source': {
2074
- label: 'Source';
2075
- type: 'schema';
2076
- options: {
2077
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
2078
- };
2079
- };
2080
- /** . */
2081
- 'target': {
2082
- type: 'schema';
2082
+ 'startDateTimeMs': {
2083
+ type: 'number';
2083
2084
  isRequired: true;
2084
- options: {
2085
- schema: SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetSchema;
2086
- };
2085
+ options: undefined;
2087
2086
  };
2088
2087
  };
2089
2088
  }
2090
- interface GetCalendarEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetAndPayloadSchema> {
2089
+ interface TeammatesTimeslotsEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslotsSchema> {
2091
2090
  }
2092
2091
  }
2093
2092
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2094
- interface GetCalendarResponsePayload {
2095
- 'calendar': SpruceSchemas.Calendar.v2021_05_19.Calendar;
2093
+ interface Timeslots {
2094
+ 'slots': SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslots[];
2096
2095
  }
2097
- interface GetCalendarResponsePayloadSchema extends SpruceSchema.Schema {
2098
- id: 'getCalendarResponsePayload';
2096
+ interface TimeslotsSchema extends SpruceSchema.Schema {
2097
+ id: 'timeslots';
2099
2098
  version: 'v2021_05_19';
2100
2099
  namespace: 'Calendar';
2101
2100
  name: '';
2102
2101
  fields: {
2103
2102
  /** . */
2104
- 'calendar': {
2103
+ 'slots': {
2105
2104
  type: 'schema';
2106
2105
  isRequired: true;
2106
+ isArray: true;
2107
2107
  options: {
2108
- schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
2108
+ schema: SpruceSchemas.Calendar.v2021_05_19.TeammatesTimeslotsSchema;
2109
2109
  };
2110
2110
  };
2111
2111
  };
2112
2112
  }
2113
- interface GetCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarResponsePayloadSchema> {
2113
+ interface TimeslotsEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TimeslotsSchema> {
2114
2114
  }
2115
2115
  }
2116
2116
  namespace SpruceSchemas.Calendar.v2021_05_19 {
@@ -2466,44 +2466,50 @@ 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 ListCalendarEventTypesEmitPayload {
2470
- 'shouldShowOnlyMine'?: boolean | undefined | null;
2469
+ interface ListCalendarsEmitTarget {
2470
+ 'organizationId'?: string | undefined | null;
2471
+ 'calendarPersonId'?: string | undefined | null;
2471
2472
  }
2472
- interface ListCalendarEventTypesEmitPayloadSchema extends SpruceSchema.Schema {
2473
- id: 'listCalendarEventTypesEmitPayload';
2473
+ interface ListCalendarsEmitTargetSchema extends SpruceSchema.Schema {
2474
+ id: 'listCalendarsEmitTarget';
2474
2475
  version: 'v2021_05_19';
2475
2476
  namespace: 'Calendar';
2476
2477
  name: '';
2477
2478
  fields: {
2478
2479
  /** . */
2479
- 'shouldShowOnlyMine': {
2480
- type: 'boolean';
2480
+ 'organizationId': {
2481
+ type: 'id';
2482
+ options: undefined;
2483
+ };
2484
+ /** . */
2485
+ 'calendarPersonId': {
2486
+ type: 'id';
2481
2487
  options: undefined;
2482
2488
  };
2483
2489
  };
2484
2490
  }
2485
- interface ListCalendarEventTypesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema> {
2491
+ interface ListCalendarsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema> {
2486
2492
  }
2487
2493
  }
2488
2494
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2489
- interface ListCalendarEventTypesResponsePayload {
2490
- 'calendarEventTypes': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType[];
2495
+ interface ListCalendarsResponsePayload {
2496
+ 'calendars': SpruceSchemas.Calendar.v2021_05_19.Calendar[];
2491
2497
  'count': number;
2492
2498
  }
2493
- interface ListCalendarEventTypesResponsePayloadSchema extends SpruceSchema.Schema {
2494
- id: 'listCalendarEventTypesResponsePayload';
2499
+ interface ListCalendarsResponsePayloadSchema extends SpruceSchema.Schema {
2500
+ id: 'listCalendarsResponsePayload';
2495
2501
  version: 'v2021_05_19';
2496
2502
  namespace: 'Calendar';
2497
2503
  name: '';
2498
2504
  fields: {
2499
2505
  /** . */
2500
- 'calendarEventTypes': {
2506
+ 'calendars': {
2501
2507
  type: 'schema';
2502
2508
  isRequired: true;
2503
2509
  isArray: true;
2504
2510
  minArrayLength: 0;
2505
2511
  options: {
2506
- schema: SpruceSchemas.Calendar.v2021_05_19.CalendarEventTypeSchema;
2512
+ schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
2507
2513
  };
2508
2514
  };
2509
2515
  /** . */
@@ -2514,60 +2520,37 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2514
2520
  };
2515
2521
  };
2516
2522
  }
2517
- interface ListCalendarEventTypesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesResponsePayloadSchema> {
2523
+ interface ListCalendarsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsResponsePayloadSchema> {
2518
2524
  }
2519
2525
  }
2520
2526
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2521
- interface ListCalendarEventsEmitTarget {
2522
- 'locationId': string;
2527
+ interface ListCalendarEventTypesEmitPayload {
2528
+ 'shouldShowOnlyMine'?: boolean | undefined | null;
2523
2529
  }
2524
- interface ListCalendarEventsEmitTargetSchema extends SpruceSchema.Schema {
2525
- id: 'listCalendarEventsEmitTarget';
2530
+ interface ListCalendarEventTypesEmitPayloadSchema extends SpruceSchema.Schema {
2531
+ id: 'listCalendarEventTypesEmitPayload';
2526
2532
  version: 'v2021_05_19';
2527
2533
  namespace: 'Calendar';
2528
2534
  name: '';
2529
2535
  fields: {
2530
2536
  /** . */
2531
- 'locationId': {
2532
- type: 'id';
2533
- isRequired: true;
2534
- options: undefined;
2535
- };
2536
- };
2537
- }
2538
- interface ListCalendarEventsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetSchema> {
2539
- }
2540
- }
2541
- namespace SpruceSchemas.Calendar.v2021_05_19 {
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;
2537
+ 'shouldShowOnlyMine': {
2538
+ type: 'boolean';
2555
2539
  options: undefined;
2556
2540
  };
2557
2541
  };
2558
2542
  }
2559
- interface ListCalendarEventsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayloadSchema> {
2543
+ interface ListCalendarEventTypesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema> {
2560
2544
  }
2561
2545
  }
2562
2546
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2563
- interface ListCalendarEventsEmitTargetAndPayload {
2547
+ interface ListCalendarEventTypesEmitTargetAndPayload {
2564
2548
  /** Source. */
2565
2549
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2566
- 'target': SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTarget;
2567
- 'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayload | undefined | null;
2550
+ 'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayload | undefined | null;
2568
2551
  }
2569
- interface ListCalendarEventsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2570
- id: 'listCalendarEventsEmitTargetAndPayload';
2552
+ interface ListCalendarEventTypesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2553
+ id: 'listCalendarEventTypesEmitTargetAndPayload';
2571
2554
  version: 'v2021_05_19';
2572
2555
  namespace: 'Calendar';
2573
2556
  name: '';
@@ -2581,84 +2564,100 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2581
2564
  };
2582
2565
  };
2583
2566
  /** . */
2584
- 'target': {
2585
- type: 'schema';
2586
- isRequired: true;
2587
- options: {
2588
- schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetSchema;
2589
- };
2590
- };
2591
- /** . */
2592
2567
  'payload': {
2593
2568
  type: 'schema';
2594
2569
  options: {
2595
- schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayloadSchema;
2570
+ schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema;
2596
2571
  };
2597
2572
  };
2598
2573
  };
2599
2574
  }
2600
- interface ListCalendarEventsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetAndPayloadSchema> {
2575
+ interface ListCalendarEventTypesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitTargetAndPayloadSchema> {
2601
2576
  }
2602
2577
  }
2603
2578
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2604
- interface ListCalendarEventsResponsePayload {
2605
- 'calendarEvents': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[];
2579
+ interface ListCalendarEventTypesResponsePayload {
2580
+ 'calendarEventTypes': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType[];
2581
+ 'count': number;
2606
2582
  }
2607
- interface ListCalendarEventsResponsePayloadSchema extends SpruceSchema.Schema {
2608
- id: 'listCalendarEventsResponsePayload';
2583
+ interface ListCalendarEventTypesResponsePayloadSchema extends SpruceSchema.Schema {
2584
+ id: 'listCalendarEventTypesResponsePayload';
2609
2585
  version: 'v2021_05_19';
2610
2586
  namespace: 'Calendar';
2611
2587
  name: '';
2612
2588
  fields: {
2613
2589
  /** . */
2614
- 'calendarEvents': {
2590
+ 'calendarEventTypes': {
2615
2591
  type: 'schema';
2616
2592
  isRequired: true;
2617
2593
  isArray: true;
2618
2594
  minArrayLength: 0;
2619
2595
  options: {
2620
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
2596
+ schema: SpruceSchemas.Calendar.v2021_05_19.CalendarEventTypeSchema;
2621
2597
  };
2622
2598
  };
2599
+ /** . */
2600
+ 'count': {
2601
+ type: 'number';
2602
+ isRequired: true;
2603
+ options: undefined;
2604
+ };
2623
2605
  };
2624
2606
  }
2625
- interface ListCalendarEventsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsResponsePayloadSchema> {
2607
+ interface ListCalendarEventTypesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesResponsePayloadSchema> {
2626
2608
  }
2627
2609
  }
2628
2610
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2629
- interface ListCalendarsEmitTarget {
2630
- 'organizationId'?: string | undefined | null;
2631
- 'calendarPersonId'?: string | undefined | null;
2611
+ interface ListCalendarEventsEmitTarget {
2612
+ 'locationId': string;
2632
2613
  }
2633
- interface ListCalendarsEmitTargetSchema extends SpruceSchema.Schema {
2634
- id: 'listCalendarsEmitTarget';
2614
+ interface ListCalendarEventsEmitTargetSchema extends SpruceSchema.Schema {
2615
+ id: 'listCalendarEventsEmitTarget';
2635
2616
  version: 'v2021_05_19';
2636
2617
  namespace: 'Calendar';
2637
2618
  name: '';
2638
2619
  fields: {
2639
2620
  /** . */
2640
- 'organizationId': {
2621
+ 'locationId': {
2641
2622
  type: 'id';
2623
+ isRequired: true;
2642
2624
  options: undefined;
2643
2625
  };
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: {
2644
2641
  /** . */
2645
- 'calendarPersonId': {
2642
+ 'groupIds': {
2646
2643
  type: 'id';
2644
+ isArray: true;
2647
2645
  options: undefined;
2648
2646
  };
2649
2647
  };
2650
2648
  }
2651
- interface ListCalendarsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema> {
2649
+ interface ListCalendarEventsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayloadSchema> {
2652
2650
  }
2653
2651
  }
2654
2652
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2655
- interface ListCalendarsEmitTargetAndPayload {
2653
+ interface ListCalendarEventsEmitTargetAndPayload {
2656
2654
  /** Source. */
2657
2655
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
2658
- 'target'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTarget | undefined | null;
2656
+ 'target': SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTarget;
2657
+ 'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayload | undefined | null;
2659
2658
  }
2660
- interface ListCalendarsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2661
- id: 'listCalendarsEmitTargetAndPayload';
2659
+ interface ListCalendarEventsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
2660
+ id: 'listCalendarEventsEmitTargetAndPayload';
2662
2661
  version: 'v2021_05_19';
2663
2662
  namespace: 'Calendar';
2664
2663
  name: '';
@@ -2673,46 +2672,47 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
2673
2672
  };
2674
2673
  /** . */
2675
2674
  'target': {
2675
+ type: 'schema';
2676
+ isRequired: true;
2677
+ options: {
2678
+ schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetSchema;
2679
+ };
2680
+ };
2681
+ /** . */
2682
+ 'payload': {
2676
2683
  type: 'schema';
2677
2684
  options: {
2678
- schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema;
2685
+ schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayloadSchema;
2679
2686
  };
2680
2687
  };
2681
2688
  };
2682
2689
  }
2683
- interface ListCalendarsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetAndPayloadSchema> {
2690
+ interface ListCalendarEventsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetAndPayloadSchema> {
2684
2691
  }
2685
2692
  }
2686
2693
  namespace SpruceSchemas.Calendar.v2021_05_19 {
2687
- interface ListCalendarsResponsePayload {
2688
- 'calendars': SpruceSchemas.Calendar.v2021_05_19.Calendar[];
2689
- 'count': number;
2694
+ interface ListCalendarEventsResponsePayload {
2695
+ 'calendarEvents': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[];
2690
2696
  }
2691
- interface ListCalendarsResponsePayloadSchema extends SpruceSchema.Schema {
2692
- id: 'listCalendarsResponsePayload';
2697
+ interface ListCalendarEventsResponsePayloadSchema extends SpruceSchema.Schema {
2698
+ id: 'listCalendarEventsResponsePayload';
2693
2699
  version: 'v2021_05_19';
2694
2700
  namespace: 'Calendar';
2695
2701
  name: '';
2696
2702
  fields: {
2697
2703
  /** . */
2698
- 'calendars': {
2704
+ 'calendarEvents': {
2699
2705
  type: 'schema';
2700
2706
  isRequired: true;
2701
2707
  isArray: true;
2702
2708
  minArrayLength: 0;
2703
2709
  options: {
2704
- schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
2710
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
2705
2711
  };
2706
2712
  };
2707
- /** . */
2708
- 'count': {
2709
- type: 'number';
2710
- isRequired: true;
2711
- options: undefined;
2712
- };
2713
2713
  };
2714
2714
  }
2715
- interface ListCalendarsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsResponsePayloadSchema> {
2715
+ interface ListCalendarEventsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsResponsePayloadSchema> {
2716
2716
  }
2717
2717
  }
2718
2718
  namespace SpruceSchemas.Calendar.v2021_05_19 {
@@ -4654,49 +4654,37 @@ 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 GetSchedulesEmitPayload {
4658
- 'startDateTimeMs': number;
4659
- 'endDateTimeMs': number;
4660
- 'personIds'?: string[] | undefined | null;
4657
+ interface DidCreateCalendarEventEmitPayload {
4658
+ 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
4661
4659
  }
4662
- interface GetSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
4663
- id: 'getSchedulesEmitPayload';
4660
+ interface DidCreateCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
4661
+ id: 'didCreateCalendarEventEmitPayload';
4664
4662
  version: 'v2021_05_19';
4665
4663
  namespace: 'Calendar';
4666
4664
  name: '';
4667
4665
  fields: {
4668
4666
  /** . */
4669
- 'startDateTimeMs': {
4670
- type: 'number';
4671
- isRequired: true;
4672
- options: undefined;
4673
- };
4674
- /** . */
4675
- 'endDateTimeMs': {
4676
- type: 'number';
4667
+ 'calendarEvent': {
4668
+ type: 'schema';
4677
4669
  isRequired: true;
4678
- options: undefined;
4679
- };
4680
- /** . */
4681
- 'personIds': {
4682
- type: 'id';
4683
- isArray: true;
4684
- options: undefined;
4670
+ options: {
4671
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
4672
+ };
4685
4673
  };
4686
4674
  };
4687
4675
  }
4688
- interface GetSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayloadSchema> {
4676
+ interface DidCreateCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitPayloadSchema> {
4689
4677
  }
4690
4678
  }
4691
4679
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4692
- interface GetSchedulesEmitTargetAndPayload {
4680
+ interface DidCreateCalendarEventEmitTargetAndPayload {
4693
4681
  /** Source. */
4694
4682
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
4695
- 'target': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTarget;
4696
- 'payload': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayload;
4683
+ 'target': SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitTarget;
4684
+ 'payload': SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitPayload;
4697
4685
  }
4698
- interface GetSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4699
- id: 'getSchedulesEmitTargetAndPayload';
4686
+ interface DidCreateCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4687
+ id: 'didCreateCalendarEventEmitTargetAndPayload';
4700
4688
  version: 'v2021_05_19';
4701
4689
  namespace: 'Calendar';
4702
4690
  name: '';
@@ -4714,7 +4702,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4714
4702
  type: 'schema';
4715
4703
  isRequired: true;
4716
4704
  options: {
4717
- schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema;
4705
+ schema: SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitTargetSchema;
4718
4706
  };
4719
4707
  };
4720
4708
  /** . */
@@ -4722,133 +4710,178 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4722
4710
  type: 'schema';
4723
4711
  isRequired: true;
4724
4712
  options: {
4725
- schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayloadSchema;
4713
+ schema: SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitPayloadSchema;
4726
4714
  };
4727
4715
  };
4728
4716
  };
4729
4717
  }
4730
- interface GetSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetAndPayloadSchema> {
4718
+ interface DidCreateCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitTargetAndPayloadSchema> {
4731
4719
  }
4732
4720
  }
4733
4721
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4734
- interface CreateCalendarEventResponsePayload {
4735
- 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
4722
+ interface ListPeopleWithoutSchedulesEmitTarget {
4723
+ 'locationId': string;
4736
4724
  }
4737
- interface CreateCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
4738
- id: 'createCalendarEventResponsePayload';
4725
+ interface ListPeopleWithoutSchedulesEmitTargetSchema extends SpruceSchema.Schema {
4726
+ id: 'listPeopleWithoutSchedulesEmitTarget';
4739
4727
  version: 'v2021_05_19';
4740
4728
  namespace: 'Calendar';
4741
4729
  name: '';
4742
4730
  fields: {
4743
4731
  /** . */
4744
- 'calendarEvent': {
4745
- type: 'schema';
4732
+ 'locationId': {
4733
+ type: 'id';
4746
4734
  isRequired: true;
4747
- options: {
4748
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
4749
- };
4735
+ options: undefined;
4750
4736
  };
4751
4737
  };
4752
4738
  }
4753
- interface CreateCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CreateCalendarEventResponsePayloadSchema> {
4739
+ interface ListPeopleWithoutSchedulesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitTargetSchema> {
4754
4740
  }
4755
4741
  }
4756
4742
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4757
- interface DidCreateCalendarEventEmitPayload {
4758
- 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
4743
+ interface ListPeopleWithoutSchedulesEmitPayload {
4744
+ 'calendarIds': string[];
4759
4745
  }
4760
- interface DidCreateCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
4761
- id: 'didCreateCalendarEventEmitPayload';
4746
+ interface ListPeopleWithoutSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
4747
+ id: 'listPeopleWithoutSchedulesEmitPayload';
4762
4748
  version: 'v2021_05_19';
4763
4749
  namespace: 'Calendar';
4764
4750
  name: '';
4765
4751
  fields: {
4766
4752
  /** . */
4767
- 'calendarEvent': {
4768
- type: 'schema';
4753
+ 'calendarIds': {
4754
+ type: 'id';
4769
4755
  isRequired: true;
4770
- options: {
4771
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
4772
- };
4756
+ isArray: true;
4757
+ options: undefined;
4773
4758
  };
4774
4759
  };
4775
4760
  }
4776
- interface DidCreateCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitPayloadSchema> {
4761
+ interface ListPeopleWithoutSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitPayloadSchema> {
4777
4762
  }
4778
4763
  }
4779
4764
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4780
- interface GetSchedulesResponsePayload {
4781
- 'events': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[];
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;
4782
4770
  }
4783
- interface GetSchedulesResponsePayloadSchema extends SpruceSchema.Schema {
4784
- id: 'getSchedulesResponsePayload';
4771
+ interface ListPeopleWithoutSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4772
+ id: 'listPeopleWithoutSchedulesEmitTargetAndPayload';
4785
4773
  version: 'v2021_05_19';
4786
4774
  namespace: 'Calendar';
4787
4775
  name: '';
4788
4776
  fields: {
4777
+ /** Source. */
4778
+ 'source': {
4779
+ label: 'Source';
4780
+ type: 'schema';
4781
+ options: {
4782
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
4783
+ };
4784
+ };
4789
4785
  /** . */
4790
- 'events': {
4786
+ 'target': {
4791
4787
  type: 'schema';
4792
4788
  isRequired: true;
4793
- isArray: true;
4794
- minArrayLength: 0;
4795
4789
  options: {
4796
- schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
4790
+ schema: SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitTargetSchema;
4797
4791
  };
4798
4792
  };
4799
- };
4800
- }
4801
- interface GetSchedulesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesResponsePayloadSchema> {
4793
+ /** . */
4794
+ 'payload': {
4795
+ type: 'schema';
4796
+ isRequired: true;
4797
+ options: {
4798
+ schema: SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitPayloadSchema;
4799
+ };
4800
+ };
4801
+ };
4802
+ }
4803
+ interface ListPeopleWithoutSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitTargetAndPayloadSchema> {
4802
4804
  }
4803
4805
  }
4804
4806
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4805
- interface GetSchedulesEmitTarget {
4806
- 'organizationId'?: string | undefined | null;
4807
- 'locationId'?: string | undefined | null;
4808
- 'calendarIds': string[];
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;
4809
4814
  }
4810
- interface GetSchedulesEmitTargetSchema extends SpruceSchema.Schema {
4811
- id: 'getSchedulesEmitTarget';
4815
+ interface PersonWithoutScheduleSchema extends SpruceSchema.Schema {
4816
+ id: 'person-without-schedule';
4812
4817
  version: 'v2021_05_19';
4813
4818
  namespace: 'Calendar';
4814
4819
  name: '';
4815
4820
  fields: {
4816
- /** . */
4817
- 'organizationId': {
4821
+ /** Id. */
4822
+ 'id': {
4823
+ label: 'Id';
4818
4824
  type: 'id';
4825
+ isRequired: true;
4819
4826
  options: undefined;
4820
4827
  };
4821
- /** . */
4822
- 'locationId': {
4823
- type: 'id';
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.';
4824
4834
  options: undefined;
4825
4835
  };
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: {
4826
4859
  /** . */
4827
- 'calendarIds': {
4828
- type: 'id';
4860
+ 'people': {
4861
+ type: 'schema';
4829
4862
  isRequired: true;
4830
4863
  isArray: true;
4831
- options: undefined;
4864
+ minArrayLength: 0;
4865
+ options: {
4866
+ schema: SpruceSchemas.Calendar.v2021_05_19.PersonWithoutScheduleSchema;
4867
+ };
4832
4868
  };
4833
4869
  };
4834
4870
  }
4835
- interface GetSchedulesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema> {
4871
+ interface ListPeopleWithoutSchedulesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesResponsePayloadSchema> {
4836
4872
  }
4837
4873
  }
4838
4874
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4839
- interface SendSchedulesEmitPayload {
4875
+ interface GetSchedulesEmitPayload {
4840
4876
  'startDateTimeMs': number;
4841
4877
  'endDateTimeMs': number;
4842
4878
  'personIds'?: string[] | undefined | null;
4843
- 'chunkingId': string;
4844
- 'sendToFqen': (EventName);
4845
4879
  }
4846
- interface SendSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
4847
- id: 'sendSchedulesEmitPayload';
4880
+ interface GetSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
4881
+ id: 'getSchedulesEmitPayload';
4848
4882
  version: 'v2021_05_19';
4849
4883
  namespace: 'Calendar';
4850
4884
  name: '';
4851
- importsWhenRemote: ['import { EventName } from \'@sprucelabs/mercury-types\''];
4852
4885
  fields: {
4853
4886
  /** . */
4854
4887
  'startDateTimeMs': {
@@ -4868,98 +4901,58 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4868
4901
  isArray: true;
4869
4902
  options: undefined;
4870
4903
  };
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
4904
  };
4886
4905
  }
4887
- interface SendSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayloadSchema> {
4906
+ interface GetSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayloadSchema> {
4888
4907
  }
4889
4908
  }
4890
4909
  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;
4910
+ interface GetSchedulesResponsePayload {
4911
+ 'events': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[];
4896
4912
  }
4897
- interface SendSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4898
- id: 'sendSchedulesEmitTargetAndPayload';
4913
+ interface GetSchedulesResponsePayloadSchema extends SpruceSchema.Schema {
4914
+ id: 'getSchedulesResponsePayload';
4899
4915
  version: 'v2021_05_19';
4900
4916
  namespace: 'Calendar';
4901
4917
  name: '';
4902
4918
  fields: {
4903
- /** Source. */
4904
- 'source': {
4905
- label: 'Source';
4906
- type: 'schema';
4907
- options: {
4908
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
4909
- };
4910
- };
4911
4919
  /** . */
4912
- 'target': {
4913
- type: 'schema';
4914
- isRequired: true;
4915
- options: {
4916
- schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema;
4917
- };
4918
- };
4919
- /** . */
4920
- 'payload': {
4920
+ 'events': {
4921
4921
  type: 'schema';
4922
4922
  isRequired: true;
4923
+ isArray: true;
4924
+ minArrayLength: 0;
4923
4925
  options: {
4924
- schema: SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayloadSchema;
4926
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
4925
4927
  };
4926
4928
  };
4927
4929
  };
4928
4930
  }
4929
- interface SendSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitTargetAndPayloadSchema> {
4931
+ interface GetSchedulesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesResponsePayloadSchema> {
4930
4932
  }
4931
4933
  }
4932
4934
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4933
- interface ListPeopleWithoutSchedulesEmitTarget {
4934
- 'locationId': string;
4935
+ interface GetSchedulesEmitTarget {
4936
+ 'organizationId'?: string | undefined | null;
4937
+ 'locationId'?: string | undefined | null;
4938
+ 'calendarIds': string[];
4935
4939
  }
4936
- interface ListPeopleWithoutSchedulesEmitTargetSchema extends SpruceSchema.Schema {
4937
- id: 'listPeopleWithoutSchedulesEmitTarget';
4940
+ interface GetSchedulesEmitTargetSchema extends SpruceSchema.Schema {
4941
+ id: 'getSchedulesEmitTarget';
4938
4942
  version: 'v2021_05_19';
4939
4943
  namespace: 'Calendar';
4940
4944
  name: '';
4941
4945
  fields: {
4946
+ /** . */
4947
+ 'organizationId': {
4948
+ type: 'id';
4949
+ options: undefined;
4950
+ };
4942
4951
  /** . */
4943
4952
  'locationId': {
4944
4953
  type: 'id';
4945
- isRequired: true;
4946
4954
  options: undefined;
4947
4955
  };
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: {
4963
4956
  /** . */
4964
4957
  'calendarIds': {
4965
4958
  type: 'id';
@@ -4969,18 +4962,18 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4969
4962
  };
4970
4963
  };
4971
4964
  }
4972
- interface ListPeopleWithoutSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitPayloadSchema> {
4965
+ interface GetSchedulesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema> {
4973
4966
  }
4974
4967
  }
4975
4968
  namespace SpruceSchemas.Calendar.v2021_05_19 {
4976
- interface ListPeopleWithoutSchedulesEmitTargetAndPayload {
4969
+ interface GetSchedulesEmitTargetAndPayload {
4977
4970
  /** Source. */
4978
4971
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
4979
- 'target': SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitTarget;
4980
- 'payload': SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitPayload;
4972
+ 'target': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTarget;
4973
+ 'payload': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayload;
4981
4974
  }
4982
- interface ListPeopleWithoutSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4983
- id: 'listPeopleWithoutSchedulesEmitTargetAndPayload';
4975
+ interface GetSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
4976
+ id: 'getSchedulesEmitTargetAndPayload';
4984
4977
  version: 'v2021_05_19';
4985
4978
  namespace: 'Calendar';
4986
4979
  name: '';
@@ -4998,7 +4991,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4998
4991
  type: 'schema';
4999
4992
  isRequired: true;
5000
4993
  options: {
5001
- schema: SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitTargetSchema;
4994
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema;
5002
4995
  };
5003
4996
  };
5004
4997
  /** . */
@@ -5006,80 +4999,106 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
5006
4999
  type: 'schema';
5007
5000
  isRequired: true;
5008
5001
  options: {
5009
- schema: SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitPayloadSchema;
5002
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayloadSchema;
5010
5003
  };
5011
5004
  };
5012
5005
  };
5013
5006
  }
5014
- interface ListPeopleWithoutSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesEmitTargetAndPayloadSchema> {
5007
+ interface GetSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetAndPayloadSchema> {
5015
5008
  }
5016
5009
  }
5017
5010
  namespace SpruceSchemas.Calendar.v2021_05_19 {
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;
5011
+ interface SendSchedulesEmitPayload {
5012
+ 'startDateTimeMs': number;
5013
+ 'endDateTimeMs': number;
5014
+ 'personIds'?: string[] | undefined | null;
5015
+ 'chunkingId': string;
5016
+ 'sendToFqen': (EventName);
5025
5017
  }
5026
- interface PersonWithoutScheduleSchema extends SpruceSchema.Schema {
5027
- id: 'person-without-schedule';
5018
+ interface SendSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
5019
+ id: 'sendSchedulesEmitPayload';
5028
5020
  version: 'v2021_05_19';
5029
5021
  namespace: 'Calendar';
5030
5022
  name: '';
5023
+ importsWhenRemote: ['import { EventName } from \'@sprucelabs/mercury-types\''];
5031
5024
  fields: {
5032
- /** Id. */
5033
- 'id': {
5034
- label: 'Id';
5035
- type: 'id';
5025
+ /** . */
5026
+ 'startDateTimeMs': {
5027
+ type: 'number';
5036
5028
  isRequired: true;
5037
5029
  options: undefined;
5038
5030
  };
5039
- /** Casual name. The name you can use when talking to this person. */
5040
- 'casualName': {
5041
- label: 'Casual name';
5042
- type: 'text';
5031
+ /** . */
5032
+ 'endDateTimeMs': {
5033
+ type: 'number';
5043
5034
  isRequired: true;
5044
- hint: 'The name you can use when talking to this person.';
5045
5035
  options: undefined;
5046
5036
  };
5047
- /** Avatar src. */
5048
- 'avatar': {
5049
- label: 'Avatar src';
5050
- type: 'image';
5037
+ /** . */
5038
+ 'personIds': {
5039
+ type: 'id';
5040
+ isArray: true;
5041
+ options: undefined;
5042
+ };
5043
+ /** . */
5044
+ 'chunkingId': {
5045
+ type: 'id';
5046
+ isRequired: true;
5047
+ options: undefined;
5048
+ };
5049
+ /** . */
5050
+ 'sendToFqen': {
5051
+ type: 'raw';
5052
+ isRequired: true;
5051
5053
  options: {
5052
- requiredSizes: ["*"];
5054
+ valueType: `EventName`;
5053
5055
  };
5054
5056
  };
5055
5057
  };
5056
5058
  }
5057
- interface PersonWithoutScheduleEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.PersonWithoutScheduleSchema> {
5059
+ interface SendSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayloadSchema> {
5058
5060
  }
5059
5061
  }
5060
5062
  namespace SpruceSchemas.Calendar.v2021_05_19 {
5061
- interface ListPeopleWithoutSchedulesResponsePayload {
5062
- 'people': SpruceSchemas.Calendar.v2021_05_19.PersonWithoutSchedule[];
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;
5063
5068
  }
5064
- interface ListPeopleWithoutSchedulesResponsePayloadSchema extends SpruceSchema.Schema {
5065
- id: 'listPeopleWithoutSchedulesResponsePayload';
5069
+ interface SendSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
5070
+ id: 'sendSchedulesEmitTargetAndPayload';
5066
5071
  version: 'v2021_05_19';
5067
5072
  namespace: 'Calendar';
5068
5073
  name: '';
5069
5074
  fields: {
5075
+ /** Source. */
5076
+ 'source': {
5077
+ label: 'Source';
5078
+ type: 'schema';
5079
+ options: {
5080
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
5081
+ };
5082
+ };
5070
5083
  /** . */
5071
- 'people': {
5084
+ 'target': {
5072
5085
  type: 'schema';
5073
5086
  isRequired: true;
5074
- isArray: true;
5075
- minArrayLength: 0;
5076
5087
  options: {
5077
- schema: SpruceSchemas.Calendar.v2021_05_19.PersonWithoutScheduleSchema;
5088
+ schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema;
5089
+ };
5090
+ };
5091
+ /** . */
5092
+ 'payload': {
5093
+ type: 'schema';
5094
+ isRequired: true;
5095
+ options: {
5096
+ schema: SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayloadSchema;
5078
5097
  };
5079
5098
  };
5080
5099
  };
5081
5100
  }
5082
- interface ListPeopleWithoutSchedulesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesResponsePayloadSchema> {
5101
+ interface SendSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitTargetAndPayloadSchema> {
5083
5102
  }
5084
5103
  }
5085
5104
  namespace SpruceSchemas.Calendar.v2021_05_19 {
@@ -5109,45 +5128,26 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
5109
5128
  }
5110
5129
  }
5111
5130
  namespace SpruceSchemas.Calendar.v2021_05_19 {
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;
5131
+ interface CreateCalendarEventResponsePayload {
5132
+ 'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
5117
5133
  }
5118
- interface DidCreateCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
5119
- id: 'didCreateCalendarEventEmitTargetAndPayload';
5134
+ interface CreateCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
5135
+ id: 'createCalendarEventResponsePayload';
5120
5136
  version: 'v2021_05_19';
5121
5137
  namespace: 'Calendar';
5122
5138
  name: '';
5123
5139
  fields: {
5124
- /** Source. */
5125
- 'source': {
5126
- label: 'Source';
5127
- type: 'schema';
5128
- options: {
5129
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
5130
- };
5131
- };
5132
5140
  /** . */
5133
- 'target': {
5134
- type: 'schema';
5135
- isRequired: true;
5136
- options: {
5137
- schema: SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitTargetSchema;
5138
- };
5139
- };
5140
- /** . */
5141
- 'payload': {
5141
+ 'calendarEvent': {
5142
5142
  type: 'schema';
5143
5143
  isRequired: true;
5144
5144
  options: {
5145
- schema: SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitPayloadSchema;
5145
+ schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
5146
5146
  };
5147
5147
  };
5148
5148
  };
5149
5149
  }
5150
- interface DidCreateCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCreateCalendarEventEmitTargetAndPayloadSchema> {
5150
+ interface CreateCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CreateCalendarEventResponsePayloadSchema> {
5151
5151
  }
5152
5152
  }
5153
5153
  namespace SpruceSchemas.Calendar.v2021_05_19 {