@sprucelabs/spruce-calendar-components 22.1.6 → 22.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -678,54 +678,69 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
678
678
|
type UpsertThemeResponsePayloadEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeResponsePayloadSchema>;
|
|
679
679
|
}
|
|
680
680
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
681
|
-
interface
|
|
682
|
-
|
|
683
|
-
'
|
|
684
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTarget;
|
|
685
|
-
'payload'?: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayload | undefined | null;
|
|
681
|
+
interface CancelCalendarEventEmitTarget {
|
|
682
|
+
'locationId': string;
|
|
683
|
+
'calendarEventId': string;
|
|
686
684
|
}
|
|
687
|
-
interface
|
|
688
|
-
id: '
|
|
685
|
+
interface CancelCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
|
|
686
|
+
id: 'cancelCalendarEventEmitTarget';
|
|
689
687
|
version: 'v2021_05_19';
|
|
690
688
|
namespace: 'Calendar';
|
|
691
689
|
name: '';
|
|
692
690
|
fields: {
|
|
693
|
-
/**
|
|
694
|
-
'
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
options:
|
|
698
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
699
|
-
};
|
|
691
|
+
/** . */
|
|
692
|
+
'locationId': {
|
|
693
|
+
type: 'id';
|
|
694
|
+
isRequired: true;
|
|
695
|
+
options: undefined;
|
|
700
696
|
};
|
|
701
697
|
/** . */
|
|
702
|
-
'
|
|
703
|
-
type: '
|
|
698
|
+
'calendarEventId': {
|
|
699
|
+
type: 'id';
|
|
704
700
|
isRequired: true;
|
|
705
|
-
options:
|
|
706
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema;
|
|
707
|
-
};
|
|
701
|
+
options: undefined;
|
|
708
702
|
};
|
|
703
|
+
};
|
|
704
|
+
}
|
|
705
|
+
type CancelCalendarEventEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema>;
|
|
706
|
+
}
|
|
707
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
708
|
+
interface CancelCalendarEventEmitPayload {
|
|
709
|
+
'cancelDates'?: SpruceSchemas.Calendar.v2021_05_19.CancelDates[] | undefined | null;
|
|
710
|
+
'cancelFromDate'?: number | undefined | null;
|
|
711
|
+
}
|
|
712
|
+
interface CancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
|
|
713
|
+
id: 'cancelCalendarEventEmitPayload';
|
|
714
|
+
version: 'v2021_05_19';
|
|
715
|
+
namespace: 'Calendar';
|
|
716
|
+
name: '';
|
|
717
|
+
fields: {
|
|
709
718
|
/** . */
|
|
710
|
-
'
|
|
719
|
+
'cancelDates': {
|
|
711
720
|
type: 'schema';
|
|
721
|
+
isArray: true;
|
|
712
722
|
options: {
|
|
713
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
723
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.CancelDatesSchema;
|
|
714
724
|
};
|
|
715
725
|
};
|
|
726
|
+
/** . */
|
|
727
|
+
'cancelFromDate': {
|
|
728
|
+
type: 'number';
|
|
729
|
+
options: undefined;
|
|
730
|
+
};
|
|
716
731
|
};
|
|
717
732
|
}
|
|
718
|
-
type
|
|
733
|
+
type CancelCalendarEventEmitPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema>;
|
|
719
734
|
}
|
|
720
735
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
721
|
-
interface
|
|
736
|
+
interface CancelCalendarEventEmitTargetAndPayload {
|
|
722
737
|
/** Source. */
|
|
723
738
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
724
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.
|
|
725
|
-
'payload'
|
|
739
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTarget;
|
|
740
|
+
'payload'?: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayload | undefined | null;
|
|
726
741
|
}
|
|
727
|
-
interface
|
|
728
|
-
id: '
|
|
742
|
+
interface CancelCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
743
|
+
id: 'cancelCalendarEventEmitTargetAndPayload';
|
|
729
744
|
version: 'v2021_05_19';
|
|
730
745
|
namespace: 'Calendar';
|
|
731
746
|
name: '';
|
|
@@ -743,47 +758,19 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
743
758
|
type: 'schema';
|
|
744
759
|
isRequired: true;
|
|
745
760
|
options: {
|
|
746
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
761
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema;
|
|
747
762
|
};
|
|
748
763
|
};
|
|
749
764
|
/** . */
|
|
750
765
|
'payload': {
|
|
751
766
|
type: 'schema';
|
|
752
|
-
isRequired: true;
|
|
753
767
|
options: {
|
|
754
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
768
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema;
|
|
755
769
|
};
|
|
756
770
|
};
|
|
757
771
|
};
|
|
758
772
|
}
|
|
759
|
-
type
|
|
760
|
-
}
|
|
761
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
762
|
-
interface CancelCalendarEventEmitTarget {
|
|
763
|
-
'locationId': string;
|
|
764
|
-
'calendarEventId': string;
|
|
765
|
-
}
|
|
766
|
-
interface CancelCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
|
|
767
|
-
id: 'cancelCalendarEventEmitTarget';
|
|
768
|
-
version: 'v2021_05_19';
|
|
769
|
-
namespace: 'Calendar';
|
|
770
|
-
name: '';
|
|
771
|
-
fields: {
|
|
772
|
-
/** . */
|
|
773
|
-
'locationId': {
|
|
774
|
-
type: 'id';
|
|
775
|
-
isRequired: true;
|
|
776
|
-
options: undefined;
|
|
777
|
-
};
|
|
778
|
-
/** . */
|
|
779
|
-
'calendarEventId': {
|
|
780
|
-
type: 'id';
|
|
781
|
-
isRequired: true;
|
|
782
|
-
options: undefined;
|
|
783
|
-
};
|
|
784
|
-
};
|
|
785
|
-
}
|
|
786
|
-
type CancelCalendarEventEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema>;
|
|
773
|
+
type CancelCalendarEventEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetAndPayloadSchema>;
|
|
787
774
|
}
|
|
788
775
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
789
776
|
interface CancelDates {
|
|
@@ -819,34 +806,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
819
806
|
}
|
|
820
807
|
type CancelDatesEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelDatesSchema>;
|
|
821
808
|
}
|
|
822
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
823
|
-
interface CancelCalendarEventEmitPayload {
|
|
824
|
-
'cancelDates'?: SpruceSchemas.Calendar.v2021_05_19.CancelDates[] | undefined | null;
|
|
825
|
-
'cancelFromDate'?: number | undefined | null;
|
|
826
|
-
}
|
|
827
|
-
interface CancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
|
|
828
|
-
id: 'cancelCalendarEventEmitPayload';
|
|
829
|
-
version: 'v2021_05_19';
|
|
830
|
-
namespace: 'Calendar';
|
|
831
|
-
name: '';
|
|
832
|
-
fields: {
|
|
833
|
-
/** . */
|
|
834
|
-
'cancelDates': {
|
|
835
|
-
type: 'schema';
|
|
836
|
-
isArray: true;
|
|
837
|
-
options: {
|
|
838
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.CancelDatesSchema;
|
|
839
|
-
};
|
|
840
|
-
};
|
|
841
|
-
/** . */
|
|
842
|
-
'cancelFromDate': {
|
|
843
|
-
type: 'number';
|
|
844
|
-
options: undefined;
|
|
845
|
-
};
|
|
846
|
-
};
|
|
847
|
-
}
|
|
848
|
-
type CancelCalendarEventEmitPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema>;
|
|
849
|
-
}
|
|
850
809
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
851
810
|
interface CancelCalendarEventResponsePayload {
|
|
852
811
|
'totalDeleted': number;
|
|
@@ -1993,40 +1952,40 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
1993
1952
|
type GetAvailableTimeSlotsResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetAvailableTimeSlotsResponsePayloadSchema>;
|
|
1994
1953
|
}
|
|
1995
1954
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1996
|
-
interface
|
|
1997
|
-
'
|
|
1998
|
-
'
|
|
1955
|
+
interface GetCalendarEventEmitTarget {
|
|
1956
|
+
'locationId': string;
|
|
1957
|
+
'calendarEventId': string;
|
|
1999
1958
|
}
|
|
2000
|
-
interface
|
|
2001
|
-
id: '
|
|
1959
|
+
interface GetCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
|
|
1960
|
+
id: 'getCalendarEventEmitTarget';
|
|
2002
1961
|
version: 'v2021_05_19';
|
|
2003
1962
|
namespace: 'Calendar';
|
|
2004
1963
|
name: '';
|
|
2005
1964
|
fields: {
|
|
2006
1965
|
/** . */
|
|
2007
|
-
'
|
|
1966
|
+
'locationId': {
|
|
2008
1967
|
type: 'id';
|
|
2009
1968
|
isRequired: true;
|
|
2010
1969
|
options: undefined;
|
|
2011
1970
|
};
|
|
2012
1971
|
/** . */
|
|
2013
|
-
'
|
|
1972
|
+
'calendarEventId': {
|
|
2014
1973
|
type: 'id';
|
|
2015
1974
|
isRequired: true;
|
|
2016
1975
|
options: undefined;
|
|
2017
1976
|
};
|
|
2018
1977
|
};
|
|
2019
1978
|
}
|
|
2020
|
-
type
|
|
1979
|
+
type GetCalendarEventEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetSchema>;
|
|
2021
1980
|
}
|
|
2022
1981
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2023
|
-
interface
|
|
1982
|
+
interface GetCalendarEventEmitTargetAndPayload {
|
|
2024
1983
|
/** Source. */
|
|
2025
1984
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2026
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.
|
|
1985
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTarget;
|
|
2027
1986
|
}
|
|
2028
|
-
interface
|
|
2029
|
-
id: '
|
|
1987
|
+
interface GetCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1988
|
+
id: 'getCalendarEventEmitTargetAndPayload';
|
|
2030
1989
|
version: 'v2021_05_19';
|
|
2031
1990
|
namespace: 'Calendar';
|
|
2032
1991
|
name: '';
|
|
@@ -2044,70 +2003,72 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2044
2003
|
type: 'schema';
|
|
2045
2004
|
isRequired: true;
|
|
2046
2005
|
options: {
|
|
2047
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
2006
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetSchema;
|
|
2048
2007
|
};
|
|
2049
2008
|
};
|
|
2050
2009
|
};
|
|
2051
2010
|
}
|
|
2052
|
-
type
|
|
2011
|
+
type GetCalendarEventEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetAndPayloadSchema>;
|
|
2053
2012
|
}
|
|
2054
2013
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2055
|
-
interface
|
|
2056
|
-
'
|
|
2014
|
+
interface GetCalendarEventResponsePayload {
|
|
2015
|
+
'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
|
|
2057
2016
|
}
|
|
2058
|
-
interface
|
|
2059
|
-
id: '
|
|
2017
|
+
interface GetCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2018
|
+
id: 'getCalendarEventResponsePayload';
|
|
2060
2019
|
version: 'v2021_05_19';
|
|
2061
2020
|
namespace: 'Calendar';
|
|
2062
2021
|
name: '';
|
|
2063
2022
|
fields: {
|
|
2064
2023
|
/** . */
|
|
2065
|
-
'
|
|
2024
|
+
'calendarEvent': {
|
|
2066
2025
|
type: 'schema';
|
|
2067
2026
|
isRequired: true;
|
|
2068
2027
|
options: {
|
|
2069
|
-
schema: SpruceSchemas.
|
|
2028
|
+
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2070
2029
|
};
|
|
2071
2030
|
};
|
|
2072
2031
|
};
|
|
2073
2032
|
}
|
|
2074
|
-
type
|
|
2033
|
+
type GetCalendarEventResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventResponsePayloadSchema>;
|
|
2075
2034
|
}
|
|
2076
2035
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2077
|
-
interface
|
|
2078
|
-
'
|
|
2079
|
-
'
|
|
2036
|
+
interface GetConflictsForTimeRangeEmitTarget {
|
|
2037
|
+
'organizationId': string;
|
|
2038
|
+
'calendarIds': string[];
|
|
2080
2039
|
}
|
|
2081
|
-
interface
|
|
2082
|
-
id: '
|
|
2040
|
+
interface GetConflictsForTimeRangeEmitTargetSchema extends SpruceSchema.Schema {
|
|
2041
|
+
id: 'getConflictsForTimeRangeEmitTarget';
|
|
2083
2042
|
version: 'v2021_05_19';
|
|
2084
2043
|
namespace: 'Calendar';
|
|
2085
2044
|
name: '';
|
|
2086
2045
|
fields: {
|
|
2087
2046
|
/** . */
|
|
2088
|
-
'
|
|
2047
|
+
'organizationId': {
|
|
2089
2048
|
type: 'id';
|
|
2090
2049
|
isRequired: true;
|
|
2091
2050
|
options: undefined;
|
|
2092
2051
|
};
|
|
2093
2052
|
/** . */
|
|
2094
|
-
'
|
|
2053
|
+
'calendarIds': {
|
|
2095
2054
|
type: 'id';
|
|
2096
2055
|
isRequired: true;
|
|
2056
|
+
isArray: true;
|
|
2097
2057
|
options: undefined;
|
|
2098
2058
|
};
|
|
2099
2059
|
};
|
|
2100
2060
|
}
|
|
2101
|
-
type
|
|
2061
|
+
type GetConflictsForTimeRangeEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema>;
|
|
2102
2062
|
}
|
|
2103
2063
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2104
|
-
interface
|
|
2064
|
+
interface GetConflictsForTimeRangeEmitTargetAndPayload {
|
|
2105
2065
|
/** Source. */
|
|
2106
2066
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2107
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.
|
|
2067
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTarget;
|
|
2068
|
+
'payload': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayload;
|
|
2108
2069
|
}
|
|
2109
|
-
interface
|
|
2110
|
-
id: '
|
|
2070
|
+
interface GetConflictsForTimeRangeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2071
|
+
id: 'getConflictsForTimeRangeEmitTargetAndPayload';
|
|
2111
2072
|
version: 'v2021_05_19';
|
|
2112
2073
|
namespace: 'Calendar';
|
|
2113
2074
|
name: '';
|
|
@@ -2125,62 +2086,20 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2125
2086
|
type: 'schema';
|
|
2126
2087
|
isRequired: true;
|
|
2127
2088
|
options: {
|
|
2128
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
2089
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema;
|
|
2129
2090
|
};
|
|
2130
2091
|
};
|
|
2131
|
-
};
|
|
2132
|
-
}
|
|
2133
|
-
type GetCalendarEventEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetAndPayloadSchema>;
|
|
2134
|
-
}
|
|
2135
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2136
|
-
interface GetCalendarEventResponsePayload {
|
|
2137
|
-
'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
|
|
2138
|
-
}
|
|
2139
|
-
interface GetCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2140
|
-
id: 'getCalendarEventResponsePayload';
|
|
2141
|
-
version: 'v2021_05_19';
|
|
2142
|
-
namespace: 'Calendar';
|
|
2143
|
-
name: '';
|
|
2144
|
-
fields: {
|
|
2145
2092
|
/** . */
|
|
2146
|
-
'
|
|
2093
|
+
'payload': {
|
|
2147
2094
|
type: 'schema';
|
|
2148
2095
|
isRequired: true;
|
|
2149
2096
|
options: {
|
|
2150
|
-
schema: SpruceSchemas.
|
|
2097
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayloadSchema;
|
|
2151
2098
|
};
|
|
2152
2099
|
};
|
|
2153
2100
|
};
|
|
2154
2101
|
}
|
|
2155
|
-
type
|
|
2156
|
-
}
|
|
2157
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2158
|
-
interface GetConflictsForTimeRangeEmitTarget {
|
|
2159
|
-
'organizationId': string;
|
|
2160
|
-
'calendarIds': string[];
|
|
2161
|
-
}
|
|
2162
|
-
interface GetConflictsForTimeRangeEmitTargetSchema extends SpruceSchema.Schema {
|
|
2163
|
-
id: 'getConflictsForTimeRangeEmitTarget';
|
|
2164
|
-
version: 'v2021_05_19';
|
|
2165
|
-
namespace: 'Calendar';
|
|
2166
|
-
name: '';
|
|
2167
|
-
fields: {
|
|
2168
|
-
/** . */
|
|
2169
|
-
'organizationId': {
|
|
2170
|
-
type: 'id';
|
|
2171
|
-
isRequired: true;
|
|
2172
|
-
options: undefined;
|
|
2173
|
-
};
|
|
2174
|
-
/** . */
|
|
2175
|
-
'calendarIds': {
|
|
2176
|
-
type: 'id';
|
|
2177
|
-
isRequired: true;
|
|
2178
|
-
isArray: true;
|
|
2179
|
-
options: undefined;
|
|
2180
|
-
};
|
|
2181
|
-
};
|
|
2182
|
-
}
|
|
2183
|
-
type GetConflictsForTimeRangeEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema>;
|
|
2102
|
+
type GetConflictsForTimeRangeEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetAndPayloadSchema>;
|
|
2184
2103
|
}
|
|
2185
2104
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2186
2105
|
interface Teammate {
|
|
@@ -2277,11 +2196,92 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2277
2196
|
type GetConflictsForTimeRangeResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeResponsePayloadSchema>;
|
|
2278
2197
|
}
|
|
2279
2198
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2280
|
-
interface
|
|
2199
|
+
interface GetCalendarEmitTarget {
|
|
2281
2200
|
'organizationId': string;
|
|
2201
|
+
'slug': string;
|
|
2282
2202
|
}
|
|
2283
|
-
interface
|
|
2284
|
-
id: '
|
|
2203
|
+
interface GetCalendarEmitTargetSchema extends SpruceSchema.Schema {
|
|
2204
|
+
id: 'getCalendarEmitTarget';
|
|
2205
|
+
version: 'v2021_05_19';
|
|
2206
|
+
namespace: 'Calendar';
|
|
2207
|
+
name: '';
|
|
2208
|
+
fields: {
|
|
2209
|
+
/** . */
|
|
2210
|
+
'organizationId': {
|
|
2211
|
+
type: 'id';
|
|
2212
|
+
isRequired: true;
|
|
2213
|
+
options: undefined;
|
|
2214
|
+
};
|
|
2215
|
+
/** . */
|
|
2216
|
+
'slug': {
|
|
2217
|
+
type: 'id';
|
|
2218
|
+
isRequired: true;
|
|
2219
|
+
options: undefined;
|
|
2220
|
+
};
|
|
2221
|
+
};
|
|
2222
|
+
}
|
|
2223
|
+
type GetCalendarEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetSchema>;
|
|
2224
|
+
}
|
|
2225
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2226
|
+
interface GetCalendarEmitTargetAndPayload {
|
|
2227
|
+
/** Source. */
|
|
2228
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2229
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTarget;
|
|
2230
|
+
}
|
|
2231
|
+
interface GetCalendarEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2232
|
+
id: 'getCalendarEmitTargetAndPayload';
|
|
2233
|
+
version: 'v2021_05_19';
|
|
2234
|
+
namespace: 'Calendar';
|
|
2235
|
+
name: '';
|
|
2236
|
+
fields: {
|
|
2237
|
+
/** Source. */
|
|
2238
|
+
'source': {
|
|
2239
|
+
label: 'Source';
|
|
2240
|
+
type: 'schema';
|
|
2241
|
+
options: {
|
|
2242
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
2243
|
+
};
|
|
2244
|
+
};
|
|
2245
|
+
/** . */
|
|
2246
|
+
'target': {
|
|
2247
|
+
type: 'schema';
|
|
2248
|
+
isRequired: true;
|
|
2249
|
+
options: {
|
|
2250
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetSchema;
|
|
2251
|
+
};
|
|
2252
|
+
};
|
|
2253
|
+
};
|
|
2254
|
+
}
|
|
2255
|
+
type GetCalendarEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEmitTargetAndPayloadSchema>;
|
|
2256
|
+
}
|
|
2257
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2258
|
+
interface GetCalendarResponsePayload {
|
|
2259
|
+
'calendar': SpruceSchemas.Calendar.v2021_05_19.Calendar;
|
|
2260
|
+
}
|
|
2261
|
+
interface GetCalendarResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2262
|
+
id: 'getCalendarResponsePayload';
|
|
2263
|
+
version: 'v2021_05_19';
|
|
2264
|
+
namespace: 'Calendar';
|
|
2265
|
+
name: '';
|
|
2266
|
+
fields: {
|
|
2267
|
+
/** . */
|
|
2268
|
+
'calendar': {
|
|
2269
|
+
type: 'schema';
|
|
2270
|
+
isRequired: true;
|
|
2271
|
+
options: {
|
|
2272
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
|
|
2273
|
+
};
|
|
2274
|
+
};
|
|
2275
|
+
};
|
|
2276
|
+
}
|
|
2277
|
+
type GetCalendarResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarResponsePayloadSchema>;
|
|
2278
|
+
}
|
|
2279
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2280
|
+
interface GetPreferencesEmitTarget {
|
|
2281
|
+
'organizationId': string;
|
|
2282
|
+
}
|
|
2283
|
+
interface GetPreferencesEmitTargetSchema extends SpruceSchema.Schema {
|
|
2284
|
+
id: 'getPreferencesEmitTarget';
|
|
2285
2285
|
version: 'v2021_05_19';
|
|
2286
2286
|
namespace: 'Calendar';
|
|
2287
2287
|
name: '';
|
|
@@ -2373,6 +2373,87 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2373
2373
|
}
|
|
2374
2374
|
type GetPreferencesResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesResponsePayloadSchema>;
|
|
2375
2375
|
}
|
|
2376
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2377
|
+
interface ListCalendarEventTypesEmitPayload {
|
|
2378
|
+
'shouldShowOnlyMine'?: boolean | undefined | null;
|
|
2379
|
+
}
|
|
2380
|
+
interface ListCalendarEventTypesEmitPayloadSchema extends SpruceSchema.Schema {
|
|
2381
|
+
id: 'listCalendarEventTypesEmitPayload';
|
|
2382
|
+
version: 'v2021_05_19';
|
|
2383
|
+
namespace: 'Calendar';
|
|
2384
|
+
name: '';
|
|
2385
|
+
fields: {
|
|
2386
|
+
/** . */
|
|
2387
|
+
'shouldShowOnlyMine': {
|
|
2388
|
+
type: 'boolean';
|
|
2389
|
+
options: undefined;
|
|
2390
|
+
};
|
|
2391
|
+
};
|
|
2392
|
+
}
|
|
2393
|
+
type ListCalendarEventTypesEmitPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema>;
|
|
2394
|
+
}
|
|
2395
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2396
|
+
interface ListCalendarEventTypesEmitTargetAndPayload {
|
|
2397
|
+
/** Source. */
|
|
2398
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2399
|
+
'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayload | undefined | null;
|
|
2400
|
+
}
|
|
2401
|
+
interface ListCalendarEventTypesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2402
|
+
id: 'listCalendarEventTypesEmitTargetAndPayload';
|
|
2403
|
+
version: 'v2021_05_19';
|
|
2404
|
+
namespace: 'Calendar';
|
|
2405
|
+
name: '';
|
|
2406
|
+
fields: {
|
|
2407
|
+
/** Source. */
|
|
2408
|
+
'source': {
|
|
2409
|
+
label: 'Source';
|
|
2410
|
+
type: 'schema';
|
|
2411
|
+
options: {
|
|
2412
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
2413
|
+
};
|
|
2414
|
+
};
|
|
2415
|
+
/** . */
|
|
2416
|
+
'payload': {
|
|
2417
|
+
type: 'schema';
|
|
2418
|
+
options: {
|
|
2419
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema;
|
|
2420
|
+
};
|
|
2421
|
+
};
|
|
2422
|
+
};
|
|
2423
|
+
}
|
|
2424
|
+
type ListCalendarEventTypesEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitTargetAndPayloadSchema>;
|
|
2425
|
+
}
|
|
2426
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2427
|
+
interface ListCalendarEventTypesResponsePayload {
|
|
2428
|
+
'calendarEventTypes': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType[];
|
|
2429
|
+
'count': number;
|
|
2430
|
+
}
|
|
2431
|
+
interface ListCalendarEventTypesResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2432
|
+
id: 'listCalendarEventTypesResponsePayload';
|
|
2433
|
+
version: 'v2021_05_19';
|
|
2434
|
+
namespace: 'Calendar';
|
|
2435
|
+
name: '';
|
|
2436
|
+
fields: {
|
|
2437
|
+
/** . */
|
|
2438
|
+
'calendarEventTypes': {
|
|
2439
|
+
type: 'schema';
|
|
2440
|
+
isRequired: true;
|
|
2441
|
+
isArray: true;
|
|
2442
|
+
minArrayLength: 0;
|
|
2443
|
+
options: {
|
|
2444
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.CalendarEventTypeSchema;
|
|
2445
|
+
};
|
|
2446
|
+
};
|
|
2447
|
+
/** . */
|
|
2448
|
+
'count': {
|
|
2449
|
+
type: 'number';
|
|
2450
|
+
isRequired: true;
|
|
2451
|
+
options: undefined;
|
|
2452
|
+
};
|
|
2453
|
+
};
|
|
2454
|
+
}
|
|
2455
|
+
type ListCalendarEventTypesResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesResponsePayloadSchema>;
|
|
2456
|
+
}
|
|
2376
2457
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2377
2458
|
interface GetSchedulesEmitTarget {
|
|
2378
2459
|
'organizationId'?: string | undefined | null;
|
|
@@ -2506,32 +2587,38 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2506
2587
|
type GetSchedulesResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesResponsePayloadSchema>;
|
|
2507
2588
|
}
|
|
2508
2589
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2509
|
-
interface
|
|
2510
|
-
'
|
|
2590
|
+
interface ListCalendarsEmitTarget {
|
|
2591
|
+
'organizationId'?: string | undefined | null;
|
|
2592
|
+
'calendarPersonId'?: string | undefined | null;
|
|
2511
2593
|
}
|
|
2512
|
-
interface
|
|
2513
|
-
id: '
|
|
2594
|
+
interface ListCalendarsEmitTargetSchema extends SpruceSchema.Schema {
|
|
2595
|
+
id: 'listCalendarsEmitTarget';
|
|
2514
2596
|
version: 'v2021_05_19';
|
|
2515
2597
|
namespace: 'Calendar';
|
|
2516
2598
|
name: '';
|
|
2517
2599
|
fields: {
|
|
2518
2600
|
/** . */
|
|
2519
|
-
'
|
|
2520
|
-
type: '
|
|
2601
|
+
'organizationId': {
|
|
2602
|
+
type: 'id';
|
|
2603
|
+
options: undefined;
|
|
2604
|
+
};
|
|
2605
|
+
/** . */
|
|
2606
|
+
'calendarPersonId': {
|
|
2607
|
+
type: 'id';
|
|
2521
2608
|
options: undefined;
|
|
2522
2609
|
};
|
|
2523
2610
|
};
|
|
2524
2611
|
}
|
|
2525
|
-
type
|
|
2612
|
+
type ListCalendarsEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema>;
|
|
2526
2613
|
}
|
|
2527
2614
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2528
|
-
interface
|
|
2615
|
+
interface ListCalendarsEmitTargetAndPayload {
|
|
2529
2616
|
/** Source. */
|
|
2530
2617
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2531
|
-
'
|
|
2618
|
+
'target'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTarget | undefined | null;
|
|
2532
2619
|
}
|
|
2533
|
-
interface
|
|
2534
|
-
id: '
|
|
2620
|
+
interface ListCalendarsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2621
|
+
id: 'listCalendarsEmitTargetAndPayload';
|
|
2535
2622
|
version: 'v2021_05_19';
|
|
2536
2623
|
namespace: 'Calendar';
|
|
2537
2624
|
name: '';
|
|
@@ -2545,35 +2632,35 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2545
2632
|
};
|
|
2546
2633
|
};
|
|
2547
2634
|
/** . */
|
|
2548
|
-
'
|
|
2635
|
+
'target': {
|
|
2549
2636
|
type: 'schema';
|
|
2550
2637
|
options: {
|
|
2551
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
2638
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema;
|
|
2552
2639
|
};
|
|
2553
2640
|
};
|
|
2554
2641
|
};
|
|
2555
2642
|
}
|
|
2556
|
-
type
|
|
2643
|
+
type ListCalendarsEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetAndPayloadSchema>;
|
|
2557
2644
|
}
|
|
2558
2645
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2559
|
-
interface
|
|
2560
|
-
'
|
|
2646
|
+
interface ListCalendarsResponsePayload {
|
|
2647
|
+
'calendars': SpruceSchemas.Calendar.v2021_05_19.Calendar[];
|
|
2561
2648
|
'count': number;
|
|
2562
2649
|
}
|
|
2563
|
-
interface
|
|
2564
|
-
id: '
|
|
2650
|
+
interface ListCalendarsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2651
|
+
id: 'listCalendarsResponsePayload';
|
|
2565
2652
|
version: 'v2021_05_19';
|
|
2566
2653
|
namespace: 'Calendar';
|
|
2567
2654
|
name: '';
|
|
2568
2655
|
fields: {
|
|
2569
2656
|
/** . */
|
|
2570
|
-
'
|
|
2657
|
+
'calendars': {
|
|
2571
2658
|
type: 'schema';
|
|
2572
2659
|
isRequired: true;
|
|
2573
2660
|
isArray: true;
|
|
2574
2661
|
minArrayLength: 0;
|
|
2575
2662
|
options: {
|
|
2576
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
2663
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
|
|
2577
2664
|
};
|
|
2578
2665
|
};
|
|
2579
2666
|
/** . */
|
|
@@ -2584,7 +2671,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2584
2671
|
};
|
|
2585
2672
|
};
|
|
2586
2673
|
}
|
|
2587
|
-
type
|
|
2674
|
+
type ListCalendarsResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsResponsePayloadSchema>;
|
|
2588
2675
|
}
|
|
2589
2676
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2590
2677
|
interface ListCalendarEventsEmitTarget {
|
|
@@ -2690,93 +2777,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2690
2777
|
}
|
|
2691
2778
|
type ListCalendarEventsResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsResponsePayloadSchema>;
|
|
2692
2779
|
}
|
|
2693
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2694
|
-
interface ListCalendarsEmitTarget {
|
|
2695
|
-
'organizationId'?: string | undefined | null;
|
|
2696
|
-
'calendarPersonId'?: string | undefined | null;
|
|
2697
|
-
}
|
|
2698
|
-
interface ListCalendarsEmitTargetSchema extends SpruceSchema.Schema {
|
|
2699
|
-
id: 'listCalendarsEmitTarget';
|
|
2700
|
-
version: 'v2021_05_19';
|
|
2701
|
-
namespace: 'Calendar';
|
|
2702
|
-
name: '';
|
|
2703
|
-
fields: {
|
|
2704
|
-
/** . */
|
|
2705
|
-
'organizationId': {
|
|
2706
|
-
type: 'id';
|
|
2707
|
-
options: undefined;
|
|
2708
|
-
};
|
|
2709
|
-
/** . */
|
|
2710
|
-
'calendarPersonId': {
|
|
2711
|
-
type: 'id';
|
|
2712
|
-
options: undefined;
|
|
2713
|
-
};
|
|
2714
|
-
};
|
|
2715
|
-
}
|
|
2716
|
-
type ListCalendarsEmitTargetEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema>;
|
|
2717
|
-
}
|
|
2718
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2719
|
-
interface ListCalendarsEmitTargetAndPayload {
|
|
2720
|
-
/** Source. */
|
|
2721
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2722
|
-
'target'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTarget | undefined | null;
|
|
2723
|
-
}
|
|
2724
|
-
interface ListCalendarsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2725
|
-
id: 'listCalendarsEmitTargetAndPayload';
|
|
2726
|
-
version: 'v2021_05_19';
|
|
2727
|
-
namespace: 'Calendar';
|
|
2728
|
-
name: '';
|
|
2729
|
-
fields: {
|
|
2730
|
-
/** Source. */
|
|
2731
|
-
'source': {
|
|
2732
|
-
label: 'Source';
|
|
2733
|
-
type: 'schema';
|
|
2734
|
-
options: {
|
|
2735
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
2736
|
-
};
|
|
2737
|
-
};
|
|
2738
|
-
/** . */
|
|
2739
|
-
'target': {
|
|
2740
|
-
type: 'schema';
|
|
2741
|
-
options: {
|
|
2742
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema;
|
|
2743
|
-
};
|
|
2744
|
-
};
|
|
2745
|
-
};
|
|
2746
|
-
}
|
|
2747
|
-
type ListCalendarsEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetAndPayloadSchema>;
|
|
2748
|
-
}
|
|
2749
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2750
|
-
interface ListCalendarsResponsePayload {
|
|
2751
|
-
'calendars': SpruceSchemas.Calendar.v2021_05_19.Calendar[];
|
|
2752
|
-
'count': number;
|
|
2753
|
-
}
|
|
2754
|
-
interface ListCalendarsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2755
|
-
id: 'listCalendarsResponsePayload';
|
|
2756
|
-
version: 'v2021_05_19';
|
|
2757
|
-
namespace: 'Calendar';
|
|
2758
|
-
name: '';
|
|
2759
|
-
fields: {
|
|
2760
|
-
/** . */
|
|
2761
|
-
'calendars': {
|
|
2762
|
-
type: 'schema';
|
|
2763
|
-
isRequired: true;
|
|
2764
|
-
isArray: true;
|
|
2765
|
-
minArrayLength: 0;
|
|
2766
|
-
options: {
|
|
2767
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
|
|
2768
|
-
};
|
|
2769
|
-
};
|
|
2770
|
-
/** . */
|
|
2771
|
-
'count': {
|
|
2772
|
-
type: 'number';
|
|
2773
|
-
isRequired: true;
|
|
2774
|
-
options: undefined;
|
|
2775
|
-
};
|
|
2776
|
-
};
|
|
2777
|
-
}
|
|
2778
|
-
type ListCalendarsResponsePayloadEntity = SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsResponsePayloadSchema>;
|
|
2779
|
-
}
|
|
2780
2780
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2781
2781
|
interface RegisterEventToolsEmitTarget {
|
|
2782
2782
|
'organizationId': string;
|