@sprucelabs/spruce-calendar-components 22.3.8 → 22.3.11
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.
- package/build/.spruce/schemas/schemas.types.d.ts +232 -232
- package/build/esm/.spruce/schemas/schemas.types.d.ts +232 -232
- package/build/esm/toolBelt/states/AbstractCalendarEventToolBeltState.d.ts +2 -2
- package/build/toolBelt/states/AbstractCalendarEventToolBeltState.d.ts +2 -2
- package/package.json +1 -1
|
@@ -702,71 +702,55 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
702
702
|
}
|
|
703
703
|
}
|
|
704
704
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
705
|
-
interface
|
|
706
|
-
|
|
707
|
-
'
|
|
705
|
+
interface CancelCalendarEventEmitTargetAndPayload {
|
|
706
|
+
/** Source. */
|
|
707
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
708
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTarget;
|
|
709
|
+
'payload'?: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayload | undefined | null;
|
|
708
710
|
}
|
|
709
|
-
interface
|
|
710
|
-
id: '
|
|
711
|
+
interface CancelCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
712
|
+
id: 'cancelCalendarEventEmitTargetAndPayload';
|
|
711
713
|
version: 'v2021_05_19';
|
|
712
714
|
namespace: 'Calendar';
|
|
713
715
|
name: '';
|
|
714
716
|
fields: {
|
|
715
|
-
/** . */
|
|
716
|
-
'
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
options:
|
|
717
|
+
/** Source. */
|
|
718
|
+
'source': {
|
|
719
|
+
label: 'Source';
|
|
720
|
+
type: 'schema';
|
|
721
|
+
options: {
|
|
722
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
723
|
+
};
|
|
720
724
|
};
|
|
721
725
|
/** . */
|
|
722
|
-
'
|
|
723
|
-
type: '
|
|
726
|
+
'target': {
|
|
727
|
+
type: 'schema';
|
|
724
728
|
isRequired: true;
|
|
725
|
-
options:
|
|
729
|
+
options: {
|
|
730
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema;
|
|
731
|
+
};
|
|
726
732
|
};
|
|
727
|
-
};
|
|
728
|
-
}
|
|
729
|
-
interface CancelCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema> {
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
733
|
-
interface CancelCalendarEventEmitPayload {
|
|
734
|
-
'cancelDates'?: SpruceSchemas.Calendar.v2021_05_19.CancelDates[] | undefined | null;
|
|
735
|
-
'cancelFromDate'?: number | undefined | null;
|
|
736
|
-
}
|
|
737
|
-
interface CancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
|
|
738
|
-
id: 'cancelCalendarEventEmitPayload';
|
|
739
|
-
version: 'v2021_05_19';
|
|
740
|
-
namespace: 'Calendar';
|
|
741
|
-
name: '';
|
|
742
|
-
fields: {
|
|
743
733
|
/** . */
|
|
744
|
-
'
|
|
734
|
+
'payload': {
|
|
745
735
|
type: 'schema';
|
|
746
|
-
isArray: true;
|
|
747
736
|
options: {
|
|
748
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
737
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema;
|
|
749
738
|
};
|
|
750
739
|
};
|
|
751
|
-
/** . */
|
|
752
|
-
'cancelFromDate': {
|
|
753
|
-
type: 'number';
|
|
754
|
-
options: undefined;
|
|
755
|
-
};
|
|
756
740
|
};
|
|
757
741
|
}
|
|
758
|
-
interface
|
|
742
|
+
interface CancelCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetAndPayloadSchema> {
|
|
759
743
|
}
|
|
760
744
|
}
|
|
761
745
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
762
|
-
interface
|
|
746
|
+
interface GetConflictsForTimeRangeEmitTargetAndPayload {
|
|
763
747
|
/** Source. */
|
|
764
748
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
765
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.
|
|
766
|
-
'payload'
|
|
749
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTarget;
|
|
750
|
+
'payload': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayload;
|
|
767
751
|
}
|
|
768
|
-
interface
|
|
769
|
-
id: '
|
|
752
|
+
interface GetConflictsForTimeRangeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
753
|
+
id: 'getConflictsForTimeRangeEmitTargetAndPayload';
|
|
770
754
|
version: 'v2021_05_19';
|
|
771
755
|
namespace: 'Calendar';
|
|
772
756
|
name: '';
|
|
@@ -784,19 +768,48 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
784
768
|
type: 'schema';
|
|
785
769
|
isRequired: true;
|
|
786
770
|
options: {
|
|
787
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
771
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema;
|
|
788
772
|
};
|
|
789
773
|
};
|
|
790
774
|
/** . */
|
|
791
775
|
'payload': {
|
|
792
776
|
type: 'schema';
|
|
777
|
+
isRequired: true;
|
|
793
778
|
options: {
|
|
794
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
779
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayloadSchema;
|
|
795
780
|
};
|
|
796
781
|
};
|
|
797
782
|
};
|
|
798
783
|
}
|
|
799
|
-
interface
|
|
784
|
+
interface GetConflictsForTimeRangeEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetAndPayloadSchema> {
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
788
|
+
interface CancelCalendarEventEmitTarget {
|
|
789
|
+
'locationId': string;
|
|
790
|
+
'calendarEventId': string;
|
|
791
|
+
}
|
|
792
|
+
interface CancelCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
|
|
793
|
+
id: 'cancelCalendarEventEmitTarget';
|
|
794
|
+
version: 'v2021_05_19';
|
|
795
|
+
namespace: 'Calendar';
|
|
796
|
+
name: '';
|
|
797
|
+
fields: {
|
|
798
|
+
/** . */
|
|
799
|
+
'locationId': {
|
|
800
|
+
type: 'id';
|
|
801
|
+
isRequired: true;
|
|
802
|
+
options: undefined;
|
|
803
|
+
};
|
|
804
|
+
/** . */
|
|
805
|
+
'calendarEventId': {
|
|
806
|
+
type: 'id';
|
|
807
|
+
isRequired: true;
|
|
808
|
+
options: undefined;
|
|
809
|
+
};
|
|
810
|
+
};
|
|
811
|
+
}
|
|
812
|
+
interface CancelCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema> {
|
|
800
813
|
}
|
|
801
814
|
}
|
|
802
815
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
@@ -834,6 +847,35 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
834
847
|
interface CancelDatesEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelDatesSchema> {
|
|
835
848
|
}
|
|
836
849
|
}
|
|
850
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
851
|
+
interface CancelCalendarEventEmitPayload {
|
|
852
|
+
'cancelDates'?: SpruceSchemas.Calendar.v2021_05_19.CancelDates[] | undefined | null;
|
|
853
|
+
'cancelFromDate'?: number | undefined | null;
|
|
854
|
+
}
|
|
855
|
+
interface CancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
|
|
856
|
+
id: 'cancelCalendarEventEmitPayload';
|
|
857
|
+
version: 'v2021_05_19';
|
|
858
|
+
namespace: 'Calendar';
|
|
859
|
+
name: '';
|
|
860
|
+
fields: {
|
|
861
|
+
/** . */
|
|
862
|
+
'cancelDates': {
|
|
863
|
+
type: 'schema';
|
|
864
|
+
isArray: true;
|
|
865
|
+
options: {
|
|
866
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.CancelDatesSchema;
|
|
867
|
+
};
|
|
868
|
+
};
|
|
869
|
+
/** . */
|
|
870
|
+
'cancelFromDate': {
|
|
871
|
+
type: 'number';
|
|
872
|
+
options: undefined;
|
|
873
|
+
};
|
|
874
|
+
};
|
|
875
|
+
}
|
|
876
|
+
interface CancelCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema> {
|
|
877
|
+
}
|
|
878
|
+
}
|
|
837
879
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
838
880
|
interface CancelCalendarEventResponsePayload {
|
|
839
881
|
'totalDeleted': number;
|
|
@@ -2088,43 +2130,41 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2088
2130
|
}
|
|
2089
2131
|
}
|
|
2090
2132
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2091
|
-
interface
|
|
2092
|
-
'
|
|
2093
|
-
'
|
|
2133
|
+
interface GetCalendarEventEmitTarget {
|
|
2134
|
+
'locationId': string;
|
|
2135
|
+
'calendarEventId': string;
|
|
2094
2136
|
}
|
|
2095
|
-
interface
|
|
2096
|
-
id: '
|
|
2137
|
+
interface GetCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
|
|
2138
|
+
id: 'getCalendarEventEmitTarget';
|
|
2097
2139
|
version: 'v2021_05_19';
|
|
2098
2140
|
namespace: 'Calendar';
|
|
2099
2141
|
name: '';
|
|
2100
2142
|
fields: {
|
|
2101
2143
|
/** . */
|
|
2102
|
-
'
|
|
2144
|
+
'locationId': {
|
|
2103
2145
|
type: 'id';
|
|
2104
2146
|
isRequired: true;
|
|
2105
2147
|
options: undefined;
|
|
2106
2148
|
};
|
|
2107
2149
|
/** . */
|
|
2108
|
-
'
|
|
2150
|
+
'calendarEventId': {
|
|
2109
2151
|
type: 'id';
|
|
2110
2152
|
isRequired: true;
|
|
2111
|
-
isArray: true;
|
|
2112
2153
|
options: undefined;
|
|
2113
2154
|
};
|
|
2114
2155
|
};
|
|
2115
2156
|
}
|
|
2116
|
-
interface
|
|
2157
|
+
interface GetCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetSchema> {
|
|
2117
2158
|
}
|
|
2118
2159
|
}
|
|
2119
2160
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2120
|
-
interface
|
|
2161
|
+
interface GetCalendarEventEmitTargetAndPayload {
|
|
2121
2162
|
/** Source. */
|
|
2122
2163
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2123
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.
|
|
2124
|
-
'payload': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayload;
|
|
2164
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTarget;
|
|
2125
2165
|
}
|
|
2126
|
-
interface
|
|
2127
|
-
id: '
|
|
2166
|
+
interface GetCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2167
|
+
id: 'getCalendarEventEmitTargetAndPayload';
|
|
2128
2168
|
version: 'v2021_05_19';
|
|
2129
2169
|
namespace: 'Calendar';
|
|
2130
2170
|
name: '';
|
|
@@ -2142,20 +2182,64 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2142
2182
|
type: 'schema';
|
|
2143
2183
|
isRequired: true;
|
|
2144
2184
|
options: {
|
|
2145
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
2185
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetSchema;
|
|
2146
2186
|
};
|
|
2147
2187
|
};
|
|
2188
|
+
};
|
|
2189
|
+
}
|
|
2190
|
+
interface GetCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetAndPayloadSchema> {
|
|
2191
|
+
}
|
|
2192
|
+
}
|
|
2193
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2194
|
+
interface GetCalendarEventResponsePayload {
|
|
2195
|
+
'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
|
|
2196
|
+
}
|
|
2197
|
+
interface GetCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2198
|
+
id: 'getCalendarEventResponsePayload';
|
|
2199
|
+
version: 'v2021_05_19';
|
|
2200
|
+
namespace: 'Calendar';
|
|
2201
|
+
name: '';
|
|
2202
|
+
fields: {
|
|
2148
2203
|
/** . */
|
|
2149
|
-
'
|
|
2204
|
+
'calendarEvent': {
|
|
2150
2205
|
type: 'schema';
|
|
2151
2206
|
isRequired: true;
|
|
2152
2207
|
options: {
|
|
2153
|
-
schema: SpruceSchemas.
|
|
2208
|
+
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2154
2209
|
};
|
|
2155
2210
|
};
|
|
2156
2211
|
};
|
|
2157
2212
|
}
|
|
2158
|
-
interface
|
|
2213
|
+
interface GetCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventResponsePayloadSchema> {
|
|
2214
|
+
}
|
|
2215
|
+
}
|
|
2216
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2217
|
+
interface GetConflictsForTimeRangeEmitTarget {
|
|
2218
|
+
'organizationId': string;
|
|
2219
|
+
'calendarIds': string[];
|
|
2220
|
+
}
|
|
2221
|
+
interface GetConflictsForTimeRangeEmitTargetSchema extends SpruceSchema.Schema {
|
|
2222
|
+
id: 'getConflictsForTimeRangeEmitTarget';
|
|
2223
|
+
version: 'v2021_05_19';
|
|
2224
|
+
namespace: 'Calendar';
|
|
2225
|
+
name: '';
|
|
2226
|
+
fields: {
|
|
2227
|
+
/** . */
|
|
2228
|
+
'organizationId': {
|
|
2229
|
+
type: 'id';
|
|
2230
|
+
isRequired: true;
|
|
2231
|
+
options: undefined;
|
|
2232
|
+
};
|
|
2233
|
+
/** . */
|
|
2234
|
+
'calendarIds': {
|
|
2235
|
+
type: 'id';
|
|
2236
|
+
isRequired: true;
|
|
2237
|
+
isArray: true;
|
|
2238
|
+
options: undefined;
|
|
2239
|
+
};
|
|
2240
|
+
};
|
|
2241
|
+
}
|
|
2242
|
+
interface GetConflictsForTimeRangeEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema> {
|
|
2159
2243
|
}
|
|
2160
2244
|
}
|
|
2161
2245
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
@@ -2255,90 +2339,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2255
2339
|
interface GetConflictsForTimeRangeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeResponsePayloadSchema> {
|
|
2256
2340
|
}
|
|
2257
2341
|
}
|
|
2258
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2259
|
-
interface GetCalendarEventEmitTarget {
|
|
2260
|
-
'locationId': string;
|
|
2261
|
-
'calendarEventId': string;
|
|
2262
|
-
}
|
|
2263
|
-
interface GetCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
|
|
2264
|
-
id: 'getCalendarEventEmitTarget';
|
|
2265
|
-
version: 'v2021_05_19';
|
|
2266
|
-
namespace: 'Calendar';
|
|
2267
|
-
name: '';
|
|
2268
|
-
fields: {
|
|
2269
|
-
/** . */
|
|
2270
|
-
'locationId': {
|
|
2271
|
-
type: 'id';
|
|
2272
|
-
isRequired: true;
|
|
2273
|
-
options: undefined;
|
|
2274
|
-
};
|
|
2275
|
-
/** . */
|
|
2276
|
-
'calendarEventId': {
|
|
2277
|
-
type: 'id';
|
|
2278
|
-
isRequired: true;
|
|
2279
|
-
options: undefined;
|
|
2280
|
-
};
|
|
2281
|
-
};
|
|
2282
|
-
}
|
|
2283
|
-
interface GetCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetSchema> {
|
|
2284
|
-
}
|
|
2285
|
-
}
|
|
2286
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2287
|
-
interface GetCalendarEventEmitTargetAndPayload {
|
|
2288
|
-
/** Source. */
|
|
2289
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2290
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTarget;
|
|
2291
|
-
}
|
|
2292
|
-
interface GetCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2293
|
-
id: 'getCalendarEventEmitTargetAndPayload';
|
|
2294
|
-
version: 'v2021_05_19';
|
|
2295
|
-
namespace: 'Calendar';
|
|
2296
|
-
name: '';
|
|
2297
|
-
fields: {
|
|
2298
|
-
/** Source. */
|
|
2299
|
-
'source': {
|
|
2300
|
-
label: 'Source';
|
|
2301
|
-
type: 'schema';
|
|
2302
|
-
options: {
|
|
2303
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
2304
|
-
};
|
|
2305
|
-
};
|
|
2306
|
-
/** . */
|
|
2307
|
-
'target': {
|
|
2308
|
-
type: 'schema';
|
|
2309
|
-
isRequired: true;
|
|
2310
|
-
options: {
|
|
2311
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetSchema;
|
|
2312
|
-
};
|
|
2313
|
-
};
|
|
2314
|
-
};
|
|
2315
|
-
}
|
|
2316
|
-
interface GetCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetAndPayloadSchema> {
|
|
2317
|
-
}
|
|
2318
|
-
}
|
|
2319
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2320
|
-
interface GetCalendarEventResponsePayload {
|
|
2321
|
-
'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
|
|
2322
|
-
}
|
|
2323
|
-
interface GetCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2324
|
-
id: 'getCalendarEventResponsePayload';
|
|
2325
|
-
version: 'v2021_05_19';
|
|
2326
|
-
namespace: 'Calendar';
|
|
2327
|
-
name: '';
|
|
2328
|
-
fields: {
|
|
2329
|
-
/** . */
|
|
2330
|
-
'calendarEvent': {
|
|
2331
|
-
type: 'schema';
|
|
2332
|
-
isRequired: true;
|
|
2333
|
-
options: {
|
|
2334
|
-
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2335
|
-
};
|
|
2336
|
-
};
|
|
2337
|
-
};
|
|
2338
|
-
}
|
|
2339
|
-
interface GetCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventResponsePayloadSchema> {
|
|
2340
|
-
}
|
|
2341
|
-
}
|
|
2342
2342
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2343
2343
|
interface GetPreferencesEmitTarget {
|
|
2344
2344
|
'organizationId': string;
|
|
@@ -2439,90 +2439,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2439
2439
|
interface GetPreferencesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesResponsePayloadSchema> {
|
|
2440
2440
|
}
|
|
2441
2441
|
}
|
|
2442
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2443
|
-
interface ListCalendarEventTypesEmitPayload {
|
|
2444
|
-
'shouldShowOnlyMine'?: boolean | undefined | null;
|
|
2445
|
-
}
|
|
2446
|
-
interface ListCalendarEventTypesEmitPayloadSchema extends SpruceSchema.Schema {
|
|
2447
|
-
id: 'listCalendarEventTypesEmitPayload';
|
|
2448
|
-
version: 'v2021_05_19';
|
|
2449
|
-
namespace: 'Calendar';
|
|
2450
|
-
name: '';
|
|
2451
|
-
fields: {
|
|
2452
|
-
/** . */
|
|
2453
|
-
'shouldShowOnlyMine': {
|
|
2454
|
-
type: 'boolean';
|
|
2455
|
-
options: undefined;
|
|
2456
|
-
};
|
|
2457
|
-
};
|
|
2458
|
-
}
|
|
2459
|
-
interface ListCalendarEventTypesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema> {
|
|
2460
|
-
}
|
|
2461
|
-
}
|
|
2462
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2463
|
-
interface ListCalendarEventTypesEmitTargetAndPayload {
|
|
2464
|
-
/** Source. */
|
|
2465
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2466
|
-
'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayload | undefined | null;
|
|
2467
|
-
}
|
|
2468
|
-
interface ListCalendarEventTypesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2469
|
-
id: 'listCalendarEventTypesEmitTargetAndPayload';
|
|
2470
|
-
version: 'v2021_05_19';
|
|
2471
|
-
namespace: 'Calendar';
|
|
2472
|
-
name: '';
|
|
2473
|
-
fields: {
|
|
2474
|
-
/** Source. */
|
|
2475
|
-
'source': {
|
|
2476
|
-
label: 'Source';
|
|
2477
|
-
type: 'schema';
|
|
2478
|
-
options: {
|
|
2479
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
2480
|
-
};
|
|
2481
|
-
};
|
|
2482
|
-
/** . */
|
|
2483
|
-
'payload': {
|
|
2484
|
-
type: 'schema';
|
|
2485
|
-
options: {
|
|
2486
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema;
|
|
2487
|
-
};
|
|
2488
|
-
};
|
|
2489
|
-
};
|
|
2490
|
-
}
|
|
2491
|
-
interface ListCalendarEventTypesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitTargetAndPayloadSchema> {
|
|
2492
|
-
}
|
|
2493
|
-
}
|
|
2494
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2495
|
-
interface ListCalendarEventTypesResponsePayload {
|
|
2496
|
-
'calendarEventTypes': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType[];
|
|
2497
|
-
'count': number;
|
|
2498
|
-
}
|
|
2499
|
-
interface ListCalendarEventTypesResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2500
|
-
id: 'listCalendarEventTypesResponsePayload';
|
|
2501
|
-
version: 'v2021_05_19';
|
|
2502
|
-
namespace: 'Calendar';
|
|
2503
|
-
name: '';
|
|
2504
|
-
fields: {
|
|
2505
|
-
/** . */
|
|
2506
|
-
'calendarEventTypes': {
|
|
2507
|
-
type: 'schema';
|
|
2508
|
-
isRequired: true;
|
|
2509
|
-
isArray: true;
|
|
2510
|
-
minArrayLength: 0;
|
|
2511
|
-
options: {
|
|
2512
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.CalendarEventTypeSchema;
|
|
2513
|
-
};
|
|
2514
|
-
};
|
|
2515
|
-
/** . */
|
|
2516
|
-
'count': {
|
|
2517
|
-
type: 'number';
|
|
2518
|
-
isRequired: true;
|
|
2519
|
-
options: undefined;
|
|
2520
|
-
};
|
|
2521
|
-
};
|
|
2522
|
-
}
|
|
2523
|
-
interface ListCalendarEventTypesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesResponsePayloadSchema> {
|
|
2524
|
-
}
|
|
2525
|
-
}
|
|
2526
2442
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2527
2443
|
interface GetSchedulesEmitTarget {
|
|
2528
2444
|
'organizationId'?: string | undefined | null;
|
|
@@ -2659,6 +2575,90 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2659
2575
|
interface GetSchedulesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesResponsePayloadSchema> {
|
|
2660
2576
|
}
|
|
2661
2577
|
}
|
|
2578
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2579
|
+
interface ListCalendarEventTypesEmitPayload {
|
|
2580
|
+
'shouldShowOnlyMine'?: boolean | undefined | null;
|
|
2581
|
+
}
|
|
2582
|
+
interface ListCalendarEventTypesEmitPayloadSchema extends SpruceSchema.Schema {
|
|
2583
|
+
id: 'listCalendarEventTypesEmitPayload';
|
|
2584
|
+
version: 'v2021_05_19';
|
|
2585
|
+
namespace: 'Calendar';
|
|
2586
|
+
name: '';
|
|
2587
|
+
fields: {
|
|
2588
|
+
/** . */
|
|
2589
|
+
'shouldShowOnlyMine': {
|
|
2590
|
+
type: 'boolean';
|
|
2591
|
+
options: undefined;
|
|
2592
|
+
};
|
|
2593
|
+
};
|
|
2594
|
+
}
|
|
2595
|
+
interface ListCalendarEventTypesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema> {
|
|
2596
|
+
}
|
|
2597
|
+
}
|
|
2598
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2599
|
+
interface ListCalendarEventTypesEmitTargetAndPayload {
|
|
2600
|
+
/** Source. */
|
|
2601
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2602
|
+
'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayload | undefined | null;
|
|
2603
|
+
}
|
|
2604
|
+
interface ListCalendarEventTypesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2605
|
+
id: 'listCalendarEventTypesEmitTargetAndPayload';
|
|
2606
|
+
version: 'v2021_05_19';
|
|
2607
|
+
namespace: 'Calendar';
|
|
2608
|
+
name: '';
|
|
2609
|
+
fields: {
|
|
2610
|
+
/** Source. */
|
|
2611
|
+
'source': {
|
|
2612
|
+
label: 'Source';
|
|
2613
|
+
type: 'schema';
|
|
2614
|
+
options: {
|
|
2615
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
2616
|
+
};
|
|
2617
|
+
};
|
|
2618
|
+
/** . */
|
|
2619
|
+
'payload': {
|
|
2620
|
+
type: 'schema';
|
|
2621
|
+
options: {
|
|
2622
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema;
|
|
2623
|
+
};
|
|
2624
|
+
};
|
|
2625
|
+
};
|
|
2626
|
+
}
|
|
2627
|
+
interface ListCalendarEventTypesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitTargetAndPayloadSchema> {
|
|
2628
|
+
}
|
|
2629
|
+
}
|
|
2630
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2631
|
+
interface ListCalendarEventTypesResponsePayload {
|
|
2632
|
+
'calendarEventTypes': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType[];
|
|
2633
|
+
'count': number;
|
|
2634
|
+
}
|
|
2635
|
+
interface ListCalendarEventTypesResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2636
|
+
id: 'listCalendarEventTypesResponsePayload';
|
|
2637
|
+
version: 'v2021_05_19';
|
|
2638
|
+
namespace: 'Calendar';
|
|
2639
|
+
name: '';
|
|
2640
|
+
fields: {
|
|
2641
|
+
/** . */
|
|
2642
|
+
'calendarEventTypes': {
|
|
2643
|
+
type: 'schema';
|
|
2644
|
+
isRequired: true;
|
|
2645
|
+
isArray: true;
|
|
2646
|
+
minArrayLength: 0;
|
|
2647
|
+
options: {
|
|
2648
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.CalendarEventTypeSchema;
|
|
2649
|
+
};
|
|
2650
|
+
};
|
|
2651
|
+
/** . */
|
|
2652
|
+
'count': {
|
|
2653
|
+
type: 'number';
|
|
2654
|
+
isRequired: true;
|
|
2655
|
+
options: undefined;
|
|
2656
|
+
};
|
|
2657
|
+
};
|
|
2658
|
+
}
|
|
2659
|
+
interface ListCalendarEventTypesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesResponsePayloadSchema> {
|
|
2660
|
+
}
|
|
2661
|
+
}
|
|
2662
2662
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2663
2663
|
interface ListCalendarEventsEmitTarget {
|
|
2664
2664
|
'locationId': string;
|
|
@@ -702,71 +702,55 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
702
702
|
}
|
|
703
703
|
}
|
|
704
704
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
705
|
-
interface
|
|
706
|
-
|
|
707
|
-
'
|
|
705
|
+
interface CancelCalendarEventEmitTargetAndPayload {
|
|
706
|
+
/** Source. */
|
|
707
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
708
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTarget;
|
|
709
|
+
'payload'?: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayload | undefined | null;
|
|
708
710
|
}
|
|
709
|
-
interface
|
|
710
|
-
id: '
|
|
711
|
+
interface CancelCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
712
|
+
id: 'cancelCalendarEventEmitTargetAndPayload';
|
|
711
713
|
version: 'v2021_05_19';
|
|
712
714
|
namespace: 'Calendar';
|
|
713
715
|
name: '';
|
|
714
716
|
fields: {
|
|
715
|
-
/** . */
|
|
716
|
-
'
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
options:
|
|
717
|
+
/** Source. */
|
|
718
|
+
'source': {
|
|
719
|
+
label: 'Source';
|
|
720
|
+
type: 'schema';
|
|
721
|
+
options: {
|
|
722
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
723
|
+
};
|
|
720
724
|
};
|
|
721
725
|
/** . */
|
|
722
|
-
'
|
|
723
|
-
type: '
|
|
726
|
+
'target': {
|
|
727
|
+
type: 'schema';
|
|
724
728
|
isRequired: true;
|
|
725
|
-
options:
|
|
729
|
+
options: {
|
|
730
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema;
|
|
731
|
+
};
|
|
726
732
|
};
|
|
727
|
-
};
|
|
728
|
-
}
|
|
729
|
-
interface CancelCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema> {
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
733
|
-
interface CancelCalendarEventEmitPayload {
|
|
734
|
-
'cancelDates'?: SpruceSchemas.Calendar.v2021_05_19.CancelDates[] | undefined | null;
|
|
735
|
-
'cancelFromDate'?: number | undefined | null;
|
|
736
|
-
}
|
|
737
|
-
interface CancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
|
|
738
|
-
id: 'cancelCalendarEventEmitPayload';
|
|
739
|
-
version: 'v2021_05_19';
|
|
740
|
-
namespace: 'Calendar';
|
|
741
|
-
name: '';
|
|
742
|
-
fields: {
|
|
743
733
|
/** . */
|
|
744
|
-
'
|
|
734
|
+
'payload': {
|
|
745
735
|
type: 'schema';
|
|
746
|
-
isArray: true;
|
|
747
736
|
options: {
|
|
748
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
737
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema;
|
|
749
738
|
};
|
|
750
739
|
};
|
|
751
|
-
/** . */
|
|
752
|
-
'cancelFromDate': {
|
|
753
|
-
type: 'number';
|
|
754
|
-
options: undefined;
|
|
755
|
-
};
|
|
756
740
|
};
|
|
757
741
|
}
|
|
758
|
-
interface
|
|
742
|
+
interface CancelCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetAndPayloadSchema> {
|
|
759
743
|
}
|
|
760
744
|
}
|
|
761
745
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
762
|
-
interface
|
|
746
|
+
interface GetConflictsForTimeRangeEmitTargetAndPayload {
|
|
763
747
|
/** Source. */
|
|
764
748
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
765
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.
|
|
766
|
-
'payload'
|
|
749
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTarget;
|
|
750
|
+
'payload': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayload;
|
|
767
751
|
}
|
|
768
|
-
interface
|
|
769
|
-
id: '
|
|
752
|
+
interface GetConflictsForTimeRangeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
753
|
+
id: 'getConflictsForTimeRangeEmitTargetAndPayload';
|
|
770
754
|
version: 'v2021_05_19';
|
|
771
755
|
namespace: 'Calendar';
|
|
772
756
|
name: '';
|
|
@@ -784,19 +768,48 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
784
768
|
type: 'schema';
|
|
785
769
|
isRequired: true;
|
|
786
770
|
options: {
|
|
787
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
771
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema;
|
|
788
772
|
};
|
|
789
773
|
};
|
|
790
774
|
/** . */
|
|
791
775
|
'payload': {
|
|
792
776
|
type: 'schema';
|
|
777
|
+
isRequired: true;
|
|
793
778
|
options: {
|
|
794
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
779
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayloadSchema;
|
|
795
780
|
};
|
|
796
781
|
};
|
|
797
782
|
};
|
|
798
783
|
}
|
|
799
|
-
interface
|
|
784
|
+
interface GetConflictsForTimeRangeEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetAndPayloadSchema> {
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
788
|
+
interface CancelCalendarEventEmitTarget {
|
|
789
|
+
'locationId': string;
|
|
790
|
+
'calendarEventId': string;
|
|
791
|
+
}
|
|
792
|
+
interface CancelCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
|
|
793
|
+
id: 'cancelCalendarEventEmitTarget';
|
|
794
|
+
version: 'v2021_05_19';
|
|
795
|
+
namespace: 'Calendar';
|
|
796
|
+
name: '';
|
|
797
|
+
fields: {
|
|
798
|
+
/** . */
|
|
799
|
+
'locationId': {
|
|
800
|
+
type: 'id';
|
|
801
|
+
isRequired: true;
|
|
802
|
+
options: undefined;
|
|
803
|
+
};
|
|
804
|
+
/** . */
|
|
805
|
+
'calendarEventId': {
|
|
806
|
+
type: 'id';
|
|
807
|
+
isRequired: true;
|
|
808
|
+
options: undefined;
|
|
809
|
+
};
|
|
810
|
+
};
|
|
811
|
+
}
|
|
812
|
+
interface CancelCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema> {
|
|
800
813
|
}
|
|
801
814
|
}
|
|
802
815
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
@@ -834,6 +847,35 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
834
847
|
interface CancelDatesEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelDatesSchema> {
|
|
835
848
|
}
|
|
836
849
|
}
|
|
850
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
851
|
+
interface CancelCalendarEventEmitPayload {
|
|
852
|
+
'cancelDates'?: SpruceSchemas.Calendar.v2021_05_19.CancelDates[] | undefined | null;
|
|
853
|
+
'cancelFromDate'?: number | undefined | null;
|
|
854
|
+
}
|
|
855
|
+
interface CancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
|
|
856
|
+
id: 'cancelCalendarEventEmitPayload';
|
|
857
|
+
version: 'v2021_05_19';
|
|
858
|
+
namespace: 'Calendar';
|
|
859
|
+
name: '';
|
|
860
|
+
fields: {
|
|
861
|
+
/** . */
|
|
862
|
+
'cancelDates': {
|
|
863
|
+
type: 'schema';
|
|
864
|
+
isArray: true;
|
|
865
|
+
options: {
|
|
866
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.CancelDatesSchema;
|
|
867
|
+
};
|
|
868
|
+
};
|
|
869
|
+
/** . */
|
|
870
|
+
'cancelFromDate': {
|
|
871
|
+
type: 'number';
|
|
872
|
+
options: undefined;
|
|
873
|
+
};
|
|
874
|
+
};
|
|
875
|
+
}
|
|
876
|
+
interface CancelCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema> {
|
|
877
|
+
}
|
|
878
|
+
}
|
|
837
879
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
838
880
|
interface CancelCalendarEventResponsePayload {
|
|
839
881
|
'totalDeleted': number;
|
|
@@ -2088,43 +2130,41 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2088
2130
|
}
|
|
2089
2131
|
}
|
|
2090
2132
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2091
|
-
interface
|
|
2092
|
-
'
|
|
2093
|
-
'
|
|
2133
|
+
interface GetCalendarEventEmitTarget {
|
|
2134
|
+
'locationId': string;
|
|
2135
|
+
'calendarEventId': string;
|
|
2094
2136
|
}
|
|
2095
|
-
interface
|
|
2096
|
-
id: '
|
|
2137
|
+
interface GetCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
|
|
2138
|
+
id: 'getCalendarEventEmitTarget';
|
|
2097
2139
|
version: 'v2021_05_19';
|
|
2098
2140
|
namespace: 'Calendar';
|
|
2099
2141
|
name: '';
|
|
2100
2142
|
fields: {
|
|
2101
2143
|
/** . */
|
|
2102
|
-
'
|
|
2144
|
+
'locationId': {
|
|
2103
2145
|
type: 'id';
|
|
2104
2146
|
isRequired: true;
|
|
2105
2147
|
options: undefined;
|
|
2106
2148
|
};
|
|
2107
2149
|
/** . */
|
|
2108
|
-
'
|
|
2150
|
+
'calendarEventId': {
|
|
2109
2151
|
type: 'id';
|
|
2110
2152
|
isRequired: true;
|
|
2111
|
-
isArray: true;
|
|
2112
2153
|
options: undefined;
|
|
2113
2154
|
};
|
|
2114
2155
|
};
|
|
2115
2156
|
}
|
|
2116
|
-
interface
|
|
2157
|
+
interface GetCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetSchema> {
|
|
2117
2158
|
}
|
|
2118
2159
|
}
|
|
2119
2160
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2120
|
-
interface
|
|
2161
|
+
interface GetCalendarEventEmitTargetAndPayload {
|
|
2121
2162
|
/** Source. */
|
|
2122
2163
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2123
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.
|
|
2124
|
-
'payload': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayload;
|
|
2164
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTarget;
|
|
2125
2165
|
}
|
|
2126
|
-
interface
|
|
2127
|
-
id: '
|
|
2166
|
+
interface GetCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2167
|
+
id: 'getCalendarEventEmitTargetAndPayload';
|
|
2128
2168
|
version: 'v2021_05_19';
|
|
2129
2169
|
namespace: 'Calendar';
|
|
2130
2170
|
name: '';
|
|
@@ -2142,20 +2182,64 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2142
2182
|
type: 'schema';
|
|
2143
2183
|
isRequired: true;
|
|
2144
2184
|
options: {
|
|
2145
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
2185
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetSchema;
|
|
2146
2186
|
};
|
|
2147
2187
|
};
|
|
2188
|
+
};
|
|
2189
|
+
}
|
|
2190
|
+
interface GetCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetAndPayloadSchema> {
|
|
2191
|
+
}
|
|
2192
|
+
}
|
|
2193
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2194
|
+
interface GetCalendarEventResponsePayload {
|
|
2195
|
+
'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
|
|
2196
|
+
}
|
|
2197
|
+
interface GetCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2198
|
+
id: 'getCalendarEventResponsePayload';
|
|
2199
|
+
version: 'v2021_05_19';
|
|
2200
|
+
namespace: 'Calendar';
|
|
2201
|
+
name: '';
|
|
2202
|
+
fields: {
|
|
2148
2203
|
/** . */
|
|
2149
|
-
'
|
|
2204
|
+
'calendarEvent': {
|
|
2150
2205
|
type: 'schema';
|
|
2151
2206
|
isRequired: true;
|
|
2152
2207
|
options: {
|
|
2153
|
-
schema: SpruceSchemas.
|
|
2208
|
+
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2154
2209
|
};
|
|
2155
2210
|
};
|
|
2156
2211
|
};
|
|
2157
2212
|
}
|
|
2158
|
-
interface
|
|
2213
|
+
interface GetCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventResponsePayloadSchema> {
|
|
2214
|
+
}
|
|
2215
|
+
}
|
|
2216
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2217
|
+
interface GetConflictsForTimeRangeEmitTarget {
|
|
2218
|
+
'organizationId': string;
|
|
2219
|
+
'calendarIds': string[];
|
|
2220
|
+
}
|
|
2221
|
+
interface GetConflictsForTimeRangeEmitTargetSchema extends SpruceSchema.Schema {
|
|
2222
|
+
id: 'getConflictsForTimeRangeEmitTarget';
|
|
2223
|
+
version: 'v2021_05_19';
|
|
2224
|
+
namespace: 'Calendar';
|
|
2225
|
+
name: '';
|
|
2226
|
+
fields: {
|
|
2227
|
+
/** . */
|
|
2228
|
+
'organizationId': {
|
|
2229
|
+
type: 'id';
|
|
2230
|
+
isRequired: true;
|
|
2231
|
+
options: undefined;
|
|
2232
|
+
};
|
|
2233
|
+
/** . */
|
|
2234
|
+
'calendarIds': {
|
|
2235
|
+
type: 'id';
|
|
2236
|
+
isRequired: true;
|
|
2237
|
+
isArray: true;
|
|
2238
|
+
options: undefined;
|
|
2239
|
+
};
|
|
2240
|
+
};
|
|
2241
|
+
}
|
|
2242
|
+
interface GetConflictsForTimeRangeEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema> {
|
|
2159
2243
|
}
|
|
2160
2244
|
}
|
|
2161
2245
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
@@ -2255,90 +2339,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2255
2339
|
interface GetConflictsForTimeRangeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeResponsePayloadSchema> {
|
|
2256
2340
|
}
|
|
2257
2341
|
}
|
|
2258
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2259
|
-
interface GetCalendarEventEmitTarget {
|
|
2260
|
-
'locationId': string;
|
|
2261
|
-
'calendarEventId': string;
|
|
2262
|
-
}
|
|
2263
|
-
interface GetCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
|
|
2264
|
-
id: 'getCalendarEventEmitTarget';
|
|
2265
|
-
version: 'v2021_05_19';
|
|
2266
|
-
namespace: 'Calendar';
|
|
2267
|
-
name: '';
|
|
2268
|
-
fields: {
|
|
2269
|
-
/** . */
|
|
2270
|
-
'locationId': {
|
|
2271
|
-
type: 'id';
|
|
2272
|
-
isRequired: true;
|
|
2273
|
-
options: undefined;
|
|
2274
|
-
};
|
|
2275
|
-
/** . */
|
|
2276
|
-
'calendarEventId': {
|
|
2277
|
-
type: 'id';
|
|
2278
|
-
isRequired: true;
|
|
2279
|
-
options: undefined;
|
|
2280
|
-
};
|
|
2281
|
-
};
|
|
2282
|
-
}
|
|
2283
|
-
interface GetCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetSchema> {
|
|
2284
|
-
}
|
|
2285
|
-
}
|
|
2286
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2287
|
-
interface GetCalendarEventEmitTargetAndPayload {
|
|
2288
|
-
/** Source. */
|
|
2289
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2290
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTarget;
|
|
2291
|
-
}
|
|
2292
|
-
interface GetCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2293
|
-
id: 'getCalendarEventEmitTargetAndPayload';
|
|
2294
|
-
version: 'v2021_05_19';
|
|
2295
|
-
namespace: 'Calendar';
|
|
2296
|
-
name: '';
|
|
2297
|
-
fields: {
|
|
2298
|
-
/** Source. */
|
|
2299
|
-
'source': {
|
|
2300
|
-
label: 'Source';
|
|
2301
|
-
type: 'schema';
|
|
2302
|
-
options: {
|
|
2303
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
2304
|
-
};
|
|
2305
|
-
};
|
|
2306
|
-
/** . */
|
|
2307
|
-
'target': {
|
|
2308
|
-
type: 'schema';
|
|
2309
|
-
isRequired: true;
|
|
2310
|
-
options: {
|
|
2311
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetSchema;
|
|
2312
|
-
};
|
|
2313
|
-
};
|
|
2314
|
-
};
|
|
2315
|
-
}
|
|
2316
|
-
interface GetCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetAndPayloadSchema> {
|
|
2317
|
-
}
|
|
2318
|
-
}
|
|
2319
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2320
|
-
interface GetCalendarEventResponsePayload {
|
|
2321
|
-
'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
|
|
2322
|
-
}
|
|
2323
|
-
interface GetCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2324
|
-
id: 'getCalendarEventResponsePayload';
|
|
2325
|
-
version: 'v2021_05_19';
|
|
2326
|
-
namespace: 'Calendar';
|
|
2327
|
-
name: '';
|
|
2328
|
-
fields: {
|
|
2329
|
-
/** . */
|
|
2330
|
-
'calendarEvent': {
|
|
2331
|
-
type: 'schema';
|
|
2332
|
-
isRequired: true;
|
|
2333
|
-
options: {
|
|
2334
|
-
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2335
|
-
};
|
|
2336
|
-
};
|
|
2337
|
-
};
|
|
2338
|
-
}
|
|
2339
|
-
interface GetCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventResponsePayloadSchema> {
|
|
2340
|
-
}
|
|
2341
|
-
}
|
|
2342
2342
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2343
2343
|
interface GetPreferencesEmitTarget {
|
|
2344
2344
|
'organizationId': string;
|
|
@@ -2439,90 +2439,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2439
2439
|
interface GetPreferencesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesResponsePayloadSchema> {
|
|
2440
2440
|
}
|
|
2441
2441
|
}
|
|
2442
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2443
|
-
interface ListCalendarEventTypesEmitPayload {
|
|
2444
|
-
'shouldShowOnlyMine'?: boolean | undefined | null;
|
|
2445
|
-
}
|
|
2446
|
-
interface ListCalendarEventTypesEmitPayloadSchema extends SpruceSchema.Schema {
|
|
2447
|
-
id: 'listCalendarEventTypesEmitPayload';
|
|
2448
|
-
version: 'v2021_05_19';
|
|
2449
|
-
namespace: 'Calendar';
|
|
2450
|
-
name: '';
|
|
2451
|
-
fields: {
|
|
2452
|
-
/** . */
|
|
2453
|
-
'shouldShowOnlyMine': {
|
|
2454
|
-
type: 'boolean';
|
|
2455
|
-
options: undefined;
|
|
2456
|
-
};
|
|
2457
|
-
};
|
|
2458
|
-
}
|
|
2459
|
-
interface ListCalendarEventTypesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema> {
|
|
2460
|
-
}
|
|
2461
|
-
}
|
|
2462
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2463
|
-
interface ListCalendarEventTypesEmitTargetAndPayload {
|
|
2464
|
-
/** Source. */
|
|
2465
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2466
|
-
'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayload | undefined | null;
|
|
2467
|
-
}
|
|
2468
|
-
interface ListCalendarEventTypesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2469
|
-
id: 'listCalendarEventTypesEmitTargetAndPayload';
|
|
2470
|
-
version: 'v2021_05_19';
|
|
2471
|
-
namespace: 'Calendar';
|
|
2472
|
-
name: '';
|
|
2473
|
-
fields: {
|
|
2474
|
-
/** Source. */
|
|
2475
|
-
'source': {
|
|
2476
|
-
label: 'Source';
|
|
2477
|
-
type: 'schema';
|
|
2478
|
-
options: {
|
|
2479
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
2480
|
-
};
|
|
2481
|
-
};
|
|
2482
|
-
/** . */
|
|
2483
|
-
'payload': {
|
|
2484
|
-
type: 'schema';
|
|
2485
|
-
options: {
|
|
2486
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema;
|
|
2487
|
-
};
|
|
2488
|
-
};
|
|
2489
|
-
};
|
|
2490
|
-
}
|
|
2491
|
-
interface ListCalendarEventTypesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitTargetAndPayloadSchema> {
|
|
2492
|
-
}
|
|
2493
|
-
}
|
|
2494
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2495
|
-
interface ListCalendarEventTypesResponsePayload {
|
|
2496
|
-
'calendarEventTypes': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType[];
|
|
2497
|
-
'count': number;
|
|
2498
|
-
}
|
|
2499
|
-
interface ListCalendarEventTypesResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2500
|
-
id: 'listCalendarEventTypesResponsePayload';
|
|
2501
|
-
version: 'v2021_05_19';
|
|
2502
|
-
namespace: 'Calendar';
|
|
2503
|
-
name: '';
|
|
2504
|
-
fields: {
|
|
2505
|
-
/** . */
|
|
2506
|
-
'calendarEventTypes': {
|
|
2507
|
-
type: 'schema';
|
|
2508
|
-
isRequired: true;
|
|
2509
|
-
isArray: true;
|
|
2510
|
-
minArrayLength: 0;
|
|
2511
|
-
options: {
|
|
2512
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.CalendarEventTypeSchema;
|
|
2513
|
-
};
|
|
2514
|
-
};
|
|
2515
|
-
/** . */
|
|
2516
|
-
'count': {
|
|
2517
|
-
type: 'number';
|
|
2518
|
-
isRequired: true;
|
|
2519
|
-
options: undefined;
|
|
2520
|
-
};
|
|
2521
|
-
};
|
|
2522
|
-
}
|
|
2523
|
-
interface ListCalendarEventTypesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesResponsePayloadSchema> {
|
|
2524
|
-
}
|
|
2525
|
-
}
|
|
2526
2442
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2527
2443
|
interface GetSchedulesEmitTarget {
|
|
2528
2444
|
'organizationId'?: string | undefined | null;
|
|
@@ -2659,6 +2575,90 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2659
2575
|
interface GetSchedulesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesResponsePayloadSchema> {
|
|
2660
2576
|
}
|
|
2661
2577
|
}
|
|
2578
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2579
|
+
interface ListCalendarEventTypesEmitPayload {
|
|
2580
|
+
'shouldShowOnlyMine'?: boolean | undefined | null;
|
|
2581
|
+
}
|
|
2582
|
+
interface ListCalendarEventTypesEmitPayloadSchema extends SpruceSchema.Schema {
|
|
2583
|
+
id: 'listCalendarEventTypesEmitPayload';
|
|
2584
|
+
version: 'v2021_05_19';
|
|
2585
|
+
namespace: 'Calendar';
|
|
2586
|
+
name: '';
|
|
2587
|
+
fields: {
|
|
2588
|
+
/** . */
|
|
2589
|
+
'shouldShowOnlyMine': {
|
|
2590
|
+
type: 'boolean';
|
|
2591
|
+
options: undefined;
|
|
2592
|
+
};
|
|
2593
|
+
};
|
|
2594
|
+
}
|
|
2595
|
+
interface ListCalendarEventTypesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema> {
|
|
2596
|
+
}
|
|
2597
|
+
}
|
|
2598
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2599
|
+
interface ListCalendarEventTypesEmitTargetAndPayload {
|
|
2600
|
+
/** Source. */
|
|
2601
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2602
|
+
'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayload | undefined | null;
|
|
2603
|
+
}
|
|
2604
|
+
interface ListCalendarEventTypesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2605
|
+
id: 'listCalendarEventTypesEmitTargetAndPayload';
|
|
2606
|
+
version: 'v2021_05_19';
|
|
2607
|
+
namespace: 'Calendar';
|
|
2608
|
+
name: '';
|
|
2609
|
+
fields: {
|
|
2610
|
+
/** Source. */
|
|
2611
|
+
'source': {
|
|
2612
|
+
label: 'Source';
|
|
2613
|
+
type: 'schema';
|
|
2614
|
+
options: {
|
|
2615
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
2616
|
+
};
|
|
2617
|
+
};
|
|
2618
|
+
/** . */
|
|
2619
|
+
'payload': {
|
|
2620
|
+
type: 'schema';
|
|
2621
|
+
options: {
|
|
2622
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema;
|
|
2623
|
+
};
|
|
2624
|
+
};
|
|
2625
|
+
};
|
|
2626
|
+
}
|
|
2627
|
+
interface ListCalendarEventTypesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitTargetAndPayloadSchema> {
|
|
2628
|
+
}
|
|
2629
|
+
}
|
|
2630
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2631
|
+
interface ListCalendarEventTypesResponsePayload {
|
|
2632
|
+
'calendarEventTypes': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType[];
|
|
2633
|
+
'count': number;
|
|
2634
|
+
}
|
|
2635
|
+
interface ListCalendarEventTypesResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2636
|
+
id: 'listCalendarEventTypesResponsePayload';
|
|
2637
|
+
version: 'v2021_05_19';
|
|
2638
|
+
namespace: 'Calendar';
|
|
2639
|
+
name: '';
|
|
2640
|
+
fields: {
|
|
2641
|
+
/** . */
|
|
2642
|
+
'calendarEventTypes': {
|
|
2643
|
+
type: 'schema';
|
|
2644
|
+
isRequired: true;
|
|
2645
|
+
isArray: true;
|
|
2646
|
+
minArrayLength: 0;
|
|
2647
|
+
options: {
|
|
2648
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.CalendarEventTypeSchema;
|
|
2649
|
+
};
|
|
2650
|
+
};
|
|
2651
|
+
/** . */
|
|
2652
|
+
'count': {
|
|
2653
|
+
type: 'number';
|
|
2654
|
+
isRequired: true;
|
|
2655
|
+
options: undefined;
|
|
2656
|
+
};
|
|
2657
|
+
};
|
|
2658
|
+
}
|
|
2659
|
+
interface ListCalendarEventTypesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesResponsePayloadSchema> {
|
|
2660
|
+
}
|
|
2661
|
+
}
|
|
2662
2662
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2663
2663
|
interface ListCalendarEventsEmitTarget {
|
|
2664
2664
|
'locationId': string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SpruceSchemas, ToolBeltState, ViewControllerId } from '@sprucelabs/heartwood-view-controllers';
|
|
2
|
-
import { CalendarTool, CalendarToolBeltContext, CalendarToolBeltStateMachine, CalendarToolOptions, GetPersonFromEventHandler } from '../../types/calendar.types';
|
|
2
|
+
import { CalendarTool, CalendarToolBeltContext, CalendarToolBeltStateMachine, CalendarToolOptions, GetPersonFromEventHandler, UpdateCalendarContextOptions } from '../../types/calendar.types';
|
|
3
3
|
import EventControlsCardViewController from '../../viewControllers/EventControlsCard.vc';
|
|
4
4
|
declare type Tool = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ToolBeltTool;
|
|
5
5
|
export declare type AddToolOptions = Omit<Tool, 'card'> & {
|
|
@@ -23,7 +23,7 @@ export default abstract class AbstractCalendarEventToolBeltState implements Tool
|
|
|
23
23
|
protected buildVcConstructorOptions(id: string): CalendarToolOptions;
|
|
24
24
|
private addVc;
|
|
25
25
|
protected getPersonFromEvent(): ReturnType<GetPersonFromEventHandler>;
|
|
26
|
-
|
|
26
|
+
protected handleUpdateContextFromTool(updates: Partial<CalendarToolBeltContext>, fromToolId: string, options?: UpdateCalendarContextOptions): Promise<boolean>;
|
|
27
27
|
removeTool(id: string): void;
|
|
28
28
|
getPendingContextChanges(): Partial<CalendarToolBeltContext>;
|
|
29
29
|
getVcForTool(toolId: string): CalendarTool | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SpruceSchemas, ToolBeltState, ViewControllerId } from '@sprucelabs/heartwood-view-controllers';
|
|
2
|
-
import { CalendarTool, CalendarToolBeltContext, CalendarToolBeltStateMachine, CalendarToolOptions, GetPersonFromEventHandler } from '../../types/calendar.types';
|
|
2
|
+
import { CalendarTool, CalendarToolBeltContext, CalendarToolBeltStateMachine, CalendarToolOptions, GetPersonFromEventHandler, UpdateCalendarContextOptions } from '../../types/calendar.types';
|
|
3
3
|
import EventControlsCardViewController from '../../viewControllers/EventControlsCard.vc';
|
|
4
4
|
declare type Tool = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ToolBeltTool;
|
|
5
5
|
export declare type AddToolOptions = Omit<Tool, 'card'> & {
|
|
@@ -23,7 +23,7 @@ export default abstract class AbstractCalendarEventToolBeltState implements Tool
|
|
|
23
23
|
protected buildVcConstructorOptions(id: string): CalendarToolOptions;
|
|
24
24
|
private addVc;
|
|
25
25
|
protected getPersonFromEvent(): ReturnType<GetPersonFromEventHandler>;
|
|
26
|
-
|
|
26
|
+
protected handleUpdateContextFromTool(updates: Partial<CalendarToolBeltContext>, fromToolId: string, options?: UpdateCalendarContextOptions): Promise<boolean>;
|
|
27
27
|
removeTool(id: string): void;
|
|
28
28
|
getPendingContextChanges(): Partial<CalendarToolBeltContext>;
|
|
29
29
|
getVcForTool(toolId: string): CalendarTool | undefined;
|