@sprucelabs/spruce-calendar-components 28.3.90 → 28.3.92
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.
|
@@ -719,38 +719,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
719
719
|
interface UpsertThemeEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeEmitPayloadSchema> {
|
|
720
720
|
}
|
|
721
721
|
}
|
|
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
722
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
755
723
|
interface CancelCalendarEventEmitTarget {
|
|
756
724
|
'locationId': string;
|
|
@@ -2197,174 +2165,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2197
2165
|
interface GetCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventResponsePayloadSchema> {
|
|
2198
2166
|
}
|
|
2199
2167
|
}
|
|
2200
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2201
|
-
interface GetConflictsForTimeRangeEmitTarget {
|
|
2202
|
-
'organizationId': string;
|
|
2203
|
-
'calendarIds': string[];
|
|
2204
|
-
}
|
|
2205
|
-
interface GetConflictsForTimeRangeEmitTargetSchema extends SpruceSchema.Schema {
|
|
2206
|
-
id: 'getConflictsForTimeRangeEmitTarget';
|
|
2207
|
-
version: 'v2021_05_19';
|
|
2208
|
-
namespace: 'Calendar';
|
|
2209
|
-
name: '';
|
|
2210
|
-
fields: {
|
|
2211
|
-
/** . */
|
|
2212
|
-
'organizationId': {
|
|
2213
|
-
type: 'id';
|
|
2214
|
-
isRequired: true;
|
|
2215
|
-
options: undefined;
|
|
2216
|
-
};
|
|
2217
|
-
/** . */
|
|
2218
|
-
'calendarIds': {
|
|
2219
|
-
type: 'id';
|
|
2220
|
-
isRequired: true;
|
|
2221
|
-
isArray: true;
|
|
2222
|
-
options: undefined;
|
|
2223
|
-
};
|
|
2224
|
-
};
|
|
2225
|
-
}
|
|
2226
|
-
interface GetConflictsForTimeRangeEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema> {
|
|
2227
|
-
}
|
|
2228
|
-
}
|
|
2229
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2230
|
-
interface GetConflictsForTimeRangeEmitTargetAndPayload {
|
|
2231
|
-
/** Source. */
|
|
2232
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2233
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTarget;
|
|
2234
|
-
'payload': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayload;
|
|
2235
|
-
}
|
|
2236
|
-
interface GetConflictsForTimeRangeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2237
|
-
id: 'getConflictsForTimeRangeEmitTargetAndPayload';
|
|
2238
|
-
version: 'v2021_05_19';
|
|
2239
|
-
namespace: 'Calendar';
|
|
2240
|
-
name: '';
|
|
2241
|
-
fields: {
|
|
2242
|
-
/** Source. */
|
|
2243
|
-
'source': {
|
|
2244
|
-
label: 'Source';
|
|
2245
|
-
type: 'schema';
|
|
2246
|
-
options: {
|
|
2247
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
2248
|
-
};
|
|
2249
|
-
};
|
|
2250
|
-
/** . */
|
|
2251
|
-
'target': {
|
|
2252
|
-
type: 'schema';
|
|
2253
|
-
isRequired: true;
|
|
2254
|
-
options: {
|
|
2255
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema;
|
|
2256
|
-
};
|
|
2257
|
-
};
|
|
2258
|
-
/** . */
|
|
2259
|
-
'payload': {
|
|
2260
|
-
type: 'schema';
|
|
2261
|
-
isRequired: true;
|
|
2262
|
-
options: {
|
|
2263
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayloadSchema;
|
|
2264
|
-
};
|
|
2265
|
-
};
|
|
2266
|
-
};
|
|
2267
|
-
}
|
|
2268
|
-
interface GetConflictsForTimeRangeEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetAndPayloadSchema> {
|
|
2269
|
-
}
|
|
2270
|
-
}
|
|
2271
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2272
|
-
interface Teammate {
|
|
2273
|
-
'personId': string;
|
|
2274
|
-
'durationMinutes': number;
|
|
2275
|
-
}
|
|
2276
|
-
interface TeammateSchema extends SpruceSchema.Schema {
|
|
2277
|
-
id: 'teammate';
|
|
2278
|
-
version: 'v2021_05_19';
|
|
2279
|
-
namespace: 'Calendar';
|
|
2280
|
-
name: '';
|
|
2281
|
-
fields: {
|
|
2282
|
-
/** . */
|
|
2283
|
-
'personId': {
|
|
2284
|
-
type: 'id';
|
|
2285
|
-
isRequired: true;
|
|
2286
|
-
options: undefined;
|
|
2287
|
-
};
|
|
2288
|
-
/** . */
|
|
2289
|
-
'durationMinutes': {
|
|
2290
|
-
type: 'number';
|
|
2291
|
-
isRequired: true;
|
|
2292
|
-
options: undefined;
|
|
2293
|
-
};
|
|
2294
|
-
};
|
|
2295
|
-
}
|
|
2296
|
-
interface TeammateEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TeammateSchema> {
|
|
2297
|
-
}
|
|
2298
|
-
}
|
|
2299
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2300
|
-
interface GetConflictsForTimeRangeEmitPayload {
|
|
2301
|
-
'startDateTimeMs': number;
|
|
2302
|
-
'teammate': SpruceSchemas.Calendar.v2021_05_19.Teammate;
|
|
2303
|
-
}
|
|
2304
|
-
interface GetConflictsForTimeRangeEmitPayloadSchema extends SpruceSchema.Schema {
|
|
2305
|
-
id: 'getConflictsForTimeRangeEmitPayload';
|
|
2306
|
-
version: 'v2021_05_19';
|
|
2307
|
-
namespace: 'Calendar';
|
|
2308
|
-
name: '';
|
|
2309
|
-
fields: {
|
|
2310
|
-
/** . */
|
|
2311
|
-
'startDateTimeMs': {
|
|
2312
|
-
type: 'number';
|
|
2313
|
-
isRequired: true;
|
|
2314
|
-
options: undefined;
|
|
2315
|
-
};
|
|
2316
|
-
/** . */
|
|
2317
|
-
'teammate': {
|
|
2318
|
-
type: 'schema';
|
|
2319
|
-
isRequired: true;
|
|
2320
|
-
options: {
|
|
2321
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.TeammateSchema;
|
|
2322
|
-
};
|
|
2323
|
-
};
|
|
2324
|
-
};
|
|
2325
|
-
}
|
|
2326
|
-
interface GetConflictsForTimeRangeEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayloadSchema> {
|
|
2327
|
-
}
|
|
2328
|
-
}
|
|
2329
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2330
|
-
interface GetConflictsForTimeRangeResponsePayload {
|
|
2331
|
-
'isAvailable': boolean;
|
|
2332
|
-
'excludedBy'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[] | undefined | null;
|
|
2333
|
-
'overlapsWith'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[] | undefined | null;
|
|
2334
|
-
}
|
|
2335
|
-
interface GetConflictsForTimeRangeResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2336
|
-
id: 'getConflictsForTimeRangeResponsePayload';
|
|
2337
|
-
version: 'v2021_05_19';
|
|
2338
|
-
namespace: 'Calendar';
|
|
2339
|
-
name: '';
|
|
2340
|
-
fields: {
|
|
2341
|
-
/** . */
|
|
2342
|
-
'isAvailable': {
|
|
2343
|
-
type: 'boolean';
|
|
2344
|
-
isRequired: true;
|
|
2345
|
-
options: undefined;
|
|
2346
|
-
};
|
|
2347
|
-
/** . */
|
|
2348
|
-
'excludedBy': {
|
|
2349
|
-
type: 'schema';
|
|
2350
|
-
isArray: true;
|
|
2351
|
-
options: {
|
|
2352
|
-
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2353
|
-
};
|
|
2354
|
-
};
|
|
2355
|
-
/** . */
|
|
2356
|
-
'overlapsWith': {
|
|
2357
|
-
type: 'schema';
|
|
2358
|
-
isArray: true;
|
|
2359
|
-
options: {
|
|
2360
|
-
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2361
|
-
};
|
|
2362
|
-
};
|
|
2363
|
-
};
|
|
2364
|
-
}
|
|
2365
|
-
interface GetConflictsForTimeRangeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeResponsePayloadSchema> {
|
|
2366
|
-
}
|
|
2367
|
-
}
|
|
2368
2168
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2369
2169
|
interface GetPreferencesEmitTarget {
|
|
2370
2170
|
'organizationId': string;
|
|
@@ -2485,6 +2285,38 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2485
2285
|
interface ListCalendarEventTypesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema> {
|
|
2486
2286
|
}
|
|
2487
2287
|
}
|
|
2288
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2289
|
+
interface ListCalendarEventTypesEmitTargetAndPayload {
|
|
2290
|
+
/** Source. */
|
|
2291
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2292
|
+
'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayload | undefined | null;
|
|
2293
|
+
}
|
|
2294
|
+
interface ListCalendarEventTypesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2295
|
+
id: 'listCalendarEventTypesEmitTargetAndPayload';
|
|
2296
|
+
version: 'v2021_05_19';
|
|
2297
|
+
namespace: 'Calendar';
|
|
2298
|
+
name: '';
|
|
2299
|
+
fields: {
|
|
2300
|
+
/** Source. */
|
|
2301
|
+
'source': {
|
|
2302
|
+
label: 'Source';
|
|
2303
|
+
type: 'schema';
|
|
2304
|
+
options: {
|
|
2305
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
2306
|
+
};
|
|
2307
|
+
};
|
|
2308
|
+
/** . */
|
|
2309
|
+
'payload': {
|
|
2310
|
+
type: 'schema';
|
|
2311
|
+
options: {
|
|
2312
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema;
|
|
2313
|
+
};
|
|
2314
|
+
};
|
|
2315
|
+
};
|
|
2316
|
+
}
|
|
2317
|
+
interface ListCalendarEventTypesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitTargetAndPayloadSchema> {
|
|
2318
|
+
}
|
|
2319
|
+
}
|
|
2488
2320
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2489
2321
|
interface ListCalendarEventTypesResponsePayload {
|
|
2490
2322
|
'calendarEventTypes': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType[];
|
|
@@ -2518,12 +2350,70 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2518
2350
|
}
|
|
2519
2351
|
}
|
|
2520
2352
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2521
|
-
interface
|
|
2522
|
-
'
|
|
2523
|
-
'
|
|
2353
|
+
interface Teammate {
|
|
2354
|
+
'personId': string;
|
|
2355
|
+
'durationMinutes': number;
|
|
2524
2356
|
}
|
|
2525
|
-
interface
|
|
2526
|
-
id: '
|
|
2357
|
+
interface TeammateSchema extends SpruceSchema.Schema {
|
|
2358
|
+
id: 'teammate';
|
|
2359
|
+
version: 'v2021_05_19';
|
|
2360
|
+
namespace: 'Calendar';
|
|
2361
|
+
name: '';
|
|
2362
|
+
fields: {
|
|
2363
|
+
/** . */
|
|
2364
|
+
'personId': {
|
|
2365
|
+
type: 'id';
|
|
2366
|
+
isRequired: true;
|
|
2367
|
+
options: undefined;
|
|
2368
|
+
};
|
|
2369
|
+
/** . */
|
|
2370
|
+
'durationMinutes': {
|
|
2371
|
+
type: 'number';
|
|
2372
|
+
isRequired: true;
|
|
2373
|
+
options: undefined;
|
|
2374
|
+
};
|
|
2375
|
+
};
|
|
2376
|
+
}
|
|
2377
|
+
interface TeammateEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TeammateSchema> {
|
|
2378
|
+
}
|
|
2379
|
+
}
|
|
2380
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2381
|
+
interface GetConflictsForTimeRangeEmitPayload {
|
|
2382
|
+
'startDateTimeMs': number;
|
|
2383
|
+
'teammate': SpruceSchemas.Calendar.v2021_05_19.Teammate;
|
|
2384
|
+
}
|
|
2385
|
+
interface GetConflictsForTimeRangeEmitPayloadSchema extends SpruceSchema.Schema {
|
|
2386
|
+
id: 'getConflictsForTimeRangeEmitPayload';
|
|
2387
|
+
version: 'v2021_05_19';
|
|
2388
|
+
namespace: 'Calendar';
|
|
2389
|
+
name: '';
|
|
2390
|
+
fields: {
|
|
2391
|
+
/** . */
|
|
2392
|
+
'startDateTimeMs': {
|
|
2393
|
+
type: 'number';
|
|
2394
|
+
isRequired: true;
|
|
2395
|
+
options: undefined;
|
|
2396
|
+
};
|
|
2397
|
+
/** . */
|
|
2398
|
+
'teammate': {
|
|
2399
|
+
type: 'schema';
|
|
2400
|
+
isRequired: true;
|
|
2401
|
+
options: {
|
|
2402
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.TeammateSchema;
|
|
2403
|
+
};
|
|
2404
|
+
};
|
|
2405
|
+
};
|
|
2406
|
+
}
|
|
2407
|
+
interface GetConflictsForTimeRangeEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayloadSchema> {
|
|
2408
|
+
}
|
|
2409
|
+
}
|
|
2410
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2411
|
+
interface GetConflictsForTimeRangeEmitTarget {
|
|
2412
|
+
'organizationId': string;
|
|
2413
|
+
'calendarIds': string[];
|
|
2414
|
+
}
|
|
2415
|
+
interface GetConflictsForTimeRangeEmitTargetSchema extends SpruceSchema.Schema {
|
|
2416
|
+
id: 'getConflictsForTimeRangeEmitTarget';
|
|
2527
2417
|
version: 'v2021_05_19';
|
|
2528
2418
|
namespace: 'Calendar';
|
|
2529
2419
|
name: '';
|
|
@@ -2531,26 +2421,30 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2531
2421
|
/** . */
|
|
2532
2422
|
'organizationId': {
|
|
2533
2423
|
type: 'id';
|
|
2424
|
+
isRequired: true;
|
|
2534
2425
|
options: undefined;
|
|
2535
2426
|
};
|
|
2536
2427
|
/** . */
|
|
2537
|
-
'
|
|
2428
|
+
'calendarIds': {
|
|
2538
2429
|
type: 'id';
|
|
2430
|
+
isRequired: true;
|
|
2431
|
+
isArray: true;
|
|
2539
2432
|
options: undefined;
|
|
2540
2433
|
};
|
|
2541
2434
|
};
|
|
2542
2435
|
}
|
|
2543
|
-
interface
|
|
2436
|
+
interface GetConflictsForTimeRangeEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema> {
|
|
2544
2437
|
}
|
|
2545
2438
|
}
|
|
2546
2439
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2547
|
-
interface
|
|
2440
|
+
interface GetConflictsForTimeRangeEmitTargetAndPayload {
|
|
2548
2441
|
/** Source. */
|
|
2549
2442
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2550
|
-
'target'
|
|
2443
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTarget;
|
|
2444
|
+
'payload': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayload;
|
|
2551
2445
|
}
|
|
2552
|
-
interface
|
|
2553
|
-
id: '
|
|
2446
|
+
interface GetConflictsForTimeRangeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2447
|
+
id: 'getConflictsForTimeRangeEmitTargetAndPayload';
|
|
2554
2448
|
version: 'v2021_05_19';
|
|
2555
2449
|
namespace: 'Calendar';
|
|
2556
2450
|
name: '';
|
|
@@ -2566,45 +2460,61 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2566
2460
|
/** . */
|
|
2567
2461
|
'target': {
|
|
2568
2462
|
type: 'schema';
|
|
2463
|
+
isRequired: true;
|
|
2569
2464
|
options: {
|
|
2570
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
2465
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema;
|
|
2466
|
+
};
|
|
2467
|
+
};
|
|
2468
|
+
/** . */
|
|
2469
|
+
'payload': {
|
|
2470
|
+
type: 'schema';
|
|
2471
|
+
isRequired: true;
|
|
2472
|
+
options: {
|
|
2473
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayloadSchema;
|
|
2571
2474
|
};
|
|
2572
2475
|
};
|
|
2573
2476
|
};
|
|
2574
2477
|
}
|
|
2575
|
-
interface
|
|
2478
|
+
interface GetConflictsForTimeRangeEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetAndPayloadSchema> {
|
|
2576
2479
|
}
|
|
2577
2480
|
}
|
|
2578
2481
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2579
|
-
interface
|
|
2580
|
-
'
|
|
2581
|
-
'
|
|
2482
|
+
interface GetConflictsForTimeRangeResponsePayload {
|
|
2483
|
+
'isAvailable': boolean;
|
|
2484
|
+
'excludedBy'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[] | undefined | null;
|
|
2485
|
+
'overlapsWith'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[] | undefined | null;
|
|
2582
2486
|
}
|
|
2583
|
-
interface
|
|
2584
|
-
id: '
|
|
2487
|
+
interface GetConflictsForTimeRangeResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2488
|
+
id: 'getConflictsForTimeRangeResponsePayload';
|
|
2585
2489
|
version: 'v2021_05_19';
|
|
2586
2490
|
namespace: 'Calendar';
|
|
2587
2491
|
name: '';
|
|
2588
2492
|
fields: {
|
|
2589
2493
|
/** . */
|
|
2590
|
-
'
|
|
2591
|
-
type: '
|
|
2494
|
+
'isAvailable': {
|
|
2495
|
+
type: 'boolean';
|
|
2592
2496
|
isRequired: true;
|
|
2497
|
+
options: undefined;
|
|
2498
|
+
};
|
|
2499
|
+
/** . */
|
|
2500
|
+
'excludedBy': {
|
|
2501
|
+
type: 'schema';
|
|
2593
2502
|
isArray: true;
|
|
2594
|
-
minArrayLength: 0;
|
|
2595
2503
|
options: {
|
|
2596
|
-
schema: SpruceSchemas.
|
|
2504
|
+
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2597
2505
|
};
|
|
2598
2506
|
};
|
|
2599
2507
|
/** . */
|
|
2600
|
-
'
|
|
2601
|
-
type: '
|
|
2602
|
-
|
|
2603
|
-
options:
|
|
2508
|
+
'overlapsWith': {
|
|
2509
|
+
type: 'schema';
|
|
2510
|
+
isArray: true;
|
|
2511
|
+
options: {
|
|
2512
|
+
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2513
|
+
};
|
|
2604
2514
|
};
|
|
2605
2515
|
};
|
|
2606
2516
|
}
|
|
2607
|
-
interface
|
|
2517
|
+
interface GetConflictsForTimeRangeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeResponsePayloadSchema> {
|
|
2608
2518
|
}
|
|
2609
2519
|
}
|
|
2610
2520
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
@@ -2715,6 +2625,96 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2715
2625
|
interface ListCalendarEventsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsResponsePayloadSchema> {
|
|
2716
2626
|
}
|
|
2717
2627
|
}
|
|
2628
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2629
|
+
interface ListCalendarsEmitTarget {
|
|
2630
|
+
'organizationId'?: string | undefined | null;
|
|
2631
|
+
'calendarPersonId'?: string | undefined | null;
|
|
2632
|
+
}
|
|
2633
|
+
interface ListCalendarsEmitTargetSchema extends SpruceSchema.Schema {
|
|
2634
|
+
id: 'listCalendarsEmitTarget';
|
|
2635
|
+
version: 'v2021_05_19';
|
|
2636
|
+
namespace: 'Calendar';
|
|
2637
|
+
name: '';
|
|
2638
|
+
fields: {
|
|
2639
|
+
/** . */
|
|
2640
|
+
'organizationId': {
|
|
2641
|
+
type: 'id';
|
|
2642
|
+
options: undefined;
|
|
2643
|
+
};
|
|
2644
|
+
/** . */
|
|
2645
|
+
'calendarPersonId': {
|
|
2646
|
+
type: 'id';
|
|
2647
|
+
options: undefined;
|
|
2648
|
+
};
|
|
2649
|
+
};
|
|
2650
|
+
}
|
|
2651
|
+
interface ListCalendarsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema> {
|
|
2652
|
+
}
|
|
2653
|
+
}
|
|
2654
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2655
|
+
interface ListCalendarsEmitTargetAndPayload {
|
|
2656
|
+
/** Source. */
|
|
2657
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2658
|
+
'target'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTarget | undefined | null;
|
|
2659
|
+
}
|
|
2660
|
+
interface ListCalendarsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2661
|
+
id: 'listCalendarsEmitTargetAndPayload';
|
|
2662
|
+
version: 'v2021_05_19';
|
|
2663
|
+
namespace: 'Calendar';
|
|
2664
|
+
name: '';
|
|
2665
|
+
fields: {
|
|
2666
|
+
/** Source. */
|
|
2667
|
+
'source': {
|
|
2668
|
+
label: 'Source';
|
|
2669
|
+
type: 'schema';
|
|
2670
|
+
options: {
|
|
2671
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
2672
|
+
};
|
|
2673
|
+
};
|
|
2674
|
+
/** . */
|
|
2675
|
+
'target': {
|
|
2676
|
+
type: 'schema';
|
|
2677
|
+
options: {
|
|
2678
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema;
|
|
2679
|
+
};
|
|
2680
|
+
};
|
|
2681
|
+
};
|
|
2682
|
+
}
|
|
2683
|
+
interface ListCalendarsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetAndPayloadSchema> {
|
|
2684
|
+
}
|
|
2685
|
+
}
|
|
2686
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2687
|
+
interface ListCalendarsResponsePayload {
|
|
2688
|
+
'calendars': SpruceSchemas.Calendar.v2021_05_19.Calendar[];
|
|
2689
|
+
'count': number;
|
|
2690
|
+
}
|
|
2691
|
+
interface ListCalendarsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2692
|
+
id: 'listCalendarsResponsePayload';
|
|
2693
|
+
version: 'v2021_05_19';
|
|
2694
|
+
namespace: 'Calendar';
|
|
2695
|
+
name: '';
|
|
2696
|
+
fields: {
|
|
2697
|
+
/** . */
|
|
2698
|
+
'calendars': {
|
|
2699
|
+
type: 'schema';
|
|
2700
|
+
isRequired: true;
|
|
2701
|
+
isArray: true;
|
|
2702
|
+
minArrayLength: 0;
|
|
2703
|
+
options: {
|
|
2704
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
|
|
2705
|
+
};
|
|
2706
|
+
};
|
|
2707
|
+
/** . */
|
|
2708
|
+
'count': {
|
|
2709
|
+
type: 'number';
|
|
2710
|
+
isRequired: true;
|
|
2711
|
+
options: undefined;
|
|
2712
|
+
};
|
|
2713
|
+
};
|
|
2714
|
+
}
|
|
2715
|
+
interface ListCalendarsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsResponsePayloadSchema> {
|
|
2716
|
+
}
|
|
2717
|
+
}
|
|
2718
2718
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2719
2719
|
interface RegisterEventToolsEmitTarget {
|
|
2720
2720
|
'organizationId': string;
|
|
@@ -719,38 +719,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
719
719
|
interface UpsertThemeEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeEmitPayloadSchema> {
|
|
720
720
|
}
|
|
721
721
|
}
|
|
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
722
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
755
723
|
interface CancelCalendarEventEmitTarget {
|
|
756
724
|
'locationId': string;
|
|
@@ -2197,174 +2165,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2197
2165
|
interface GetCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventResponsePayloadSchema> {
|
|
2198
2166
|
}
|
|
2199
2167
|
}
|
|
2200
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2201
|
-
interface GetConflictsForTimeRangeEmitTarget {
|
|
2202
|
-
'organizationId': string;
|
|
2203
|
-
'calendarIds': string[];
|
|
2204
|
-
}
|
|
2205
|
-
interface GetConflictsForTimeRangeEmitTargetSchema extends SpruceSchema.Schema {
|
|
2206
|
-
id: 'getConflictsForTimeRangeEmitTarget';
|
|
2207
|
-
version: 'v2021_05_19';
|
|
2208
|
-
namespace: 'Calendar';
|
|
2209
|
-
name: '';
|
|
2210
|
-
fields: {
|
|
2211
|
-
/** . */
|
|
2212
|
-
'organizationId': {
|
|
2213
|
-
type: 'id';
|
|
2214
|
-
isRequired: true;
|
|
2215
|
-
options: undefined;
|
|
2216
|
-
};
|
|
2217
|
-
/** . */
|
|
2218
|
-
'calendarIds': {
|
|
2219
|
-
type: 'id';
|
|
2220
|
-
isRequired: true;
|
|
2221
|
-
isArray: true;
|
|
2222
|
-
options: undefined;
|
|
2223
|
-
};
|
|
2224
|
-
};
|
|
2225
|
-
}
|
|
2226
|
-
interface GetConflictsForTimeRangeEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema> {
|
|
2227
|
-
}
|
|
2228
|
-
}
|
|
2229
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2230
|
-
interface GetConflictsForTimeRangeEmitTargetAndPayload {
|
|
2231
|
-
/** Source. */
|
|
2232
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2233
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTarget;
|
|
2234
|
-
'payload': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayload;
|
|
2235
|
-
}
|
|
2236
|
-
interface GetConflictsForTimeRangeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2237
|
-
id: 'getConflictsForTimeRangeEmitTargetAndPayload';
|
|
2238
|
-
version: 'v2021_05_19';
|
|
2239
|
-
namespace: 'Calendar';
|
|
2240
|
-
name: '';
|
|
2241
|
-
fields: {
|
|
2242
|
-
/** Source. */
|
|
2243
|
-
'source': {
|
|
2244
|
-
label: 'Source';
|
|
2245
|
-
type: 'schema';
|
|
2246
|
-
options: {
|
|
2247
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
2248
|
-
};
|
|
2249
|
-
};
|
|
2250
|
-
/** . */
|
|
2251
|
-
'target': {
|
|
2252
|
-
type: 'schema';
|
|
2253
|
-
isRequired: true;
|
|
2254
|
-
options: {
|
|
2255
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema;
|
|
2256
|
-
};
|
|
2257
|
-
};
|
|
2258
|
-
/** . */
|
|
2259
|
-
'payload': {
|
|
2260
|
-
type: 'schema';
|
|
2261
|
-
isRequired: true;
|
|
2262
|
-
options: {
|
|
2263
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayloadSchema;
|
|
2264
|
-
};
|
|
2265
|
-
};
|
|
2266
|
-
};
|
|
2267
|
-
}
|
|
2268
|
-
interface GetConflictsForTimeRangeEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetAndPayloadSchema> {
|
|
2269
|
-
}
|
|
2270
|
-
}
|
|
2271
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2272
|
-
interface Teammate {
|
|
2273
|
-
'personId': string;
|
|
2274
|
-
'durationMinutes': number;
|
|
2275
|
-
}
|
|
2276
|
-
interface TeammateSchema extends SpruceSchema.Schema {
|
|
2277
|
-
id: 'teammate';
|
|
2278
|
-
version: 'v2021_05_19';
|
|
2279
|
-
namespace: 'Calendar';
|
|
2280
|
-
name: '';
|
|
2281
|
-
fields: {
|
|
2282
|
-
/** . */
|
|
2283
|
-
'personId': {
|
|
2284
|
-
type: 'id';
|
|
2285
|
-
isRequired: true;
|
|
2286
|
-
options: undefined;
|
|
2287
|
-
};
|
|
2288
|
-
/** . */
|
|
2289
|
-
'durationMinutes': {
|
|
2290
|
-
type: 'number';
|
|
2291
|
-
isRequired: true;
|
|
2292
|
-
options: undefined;
|
|
2293
|
-
};
|
|
2294
|
-
};
|
|
2295
|
-
}
|
|
2296
|
-
interface TeammateEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TeammateSchema> {
|
|
2297
|
-
}
|
|
2298
|
-
}
|
|
2299
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2300
|
-
interface GetConflictsForTimeRangeEmitPayload {
|
|
2301
|
-
'startDateTimeMs': number;
|
|
2302
|
-
'teammate': SpruceSchemas.Calendar.v2021_05_19.Teammate;
|
|
2303
|
-
}
|
|
2304
|
-
interface GetConflictsForTimeRangeEmitPayloadSchema extends SpruceSchema.Schema {
|
|
2305
|
-
id: 'getConflictsForTimeRangeEmitPayload';
|
|
2306
|
-
version: 'v2021_05_19';
|
|
2307
|
-
namespace: 'Calendar';
|
|
2308
|
-
name: '';
|
|
2309
|
-
fields: {
|
|
2310
|
-
/** . */
|
|
2311
|
-
'startDateTimeMs': {
|
|
2312
|
-
type: 'number';
|
|
2313
|
-
isRequired: true;
|
|
2314
|
-
options: undefined;
|
|
2315
|
-
};
|
|
2316
|
-
/** . */
|
|
2317
|
-
'teammate': {
|
|
2318
|
-
type: 'schema';
|
|
2319
|
-
isRequired: true;
|
|
2320
|
-
options: {
|
|
2321
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.TeammateSchema;
|
|
2322
|
-
};
|
|
2323
|
-
};
|
|
2324
|
-
};
|
|
2325
|
-
}
|
|
2326
|
-
interface GetConflictsForTimeRangeEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayloadSchema> {
|
|
2327
|
-
}
|
|
2328
|
-
}
|
|
2329
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2330
|
-
interface GetConflictsForTimeRangeResponsePayload {
|
|
2331
|
-
'isAvailable': boolean;
|
|
2332
|
-
'excludedBy'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[] | undefined | null;
|
|
2333
|
-
'overlapsWith'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[] | undefined | null;
|
|
2334
|
-
}
|
|
2335
|
-
interface GetConflictsForTimeRangeResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2336
|
-
id: 'getConflictsForTimeRangeResponsePayload';
|
|
2337
|
-
version: 'v2021_05_19';
|
|
2338
|
-
namespace: 'Calendar';
|
|
2339
|
-
name: '';
|
|
2340
|
-
fields: {
|
|
2341
|
-
/** . */
|
|
2342
|
-
'isAvailable': {
|
|
2343
|
-
type: 'boolean';
|
|
2344
|
-
isRequired: true;
|
|
2345
|
-
options: undefined;
|
|
2346
|
-
};
|
|
2347
|
-
/** . */
|
|
2348
|
-
'excludedBy': {
|
|
2349
|
-
type: 'schema';
|
|
2350
|
-
isArray: true;
|
|
2351
|
-
options: {
|
|
2352
|
-
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2353
|
-
};
|
|
2354
|
-
};
|
|
2355
|
-
/** . */
|
|
2356
|
-
'overlapsWith': {
|
|
2357
|
-
type: 'schema';
|
|
2358
|
-
isArray: true;
|
|
2359
|
-
options: {
|
|
2360
|
-
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2361
|
-
};
|
|
2362
|
-
};
|
|
2363
|
-
};
|
|
2364
|
-
}
|
|
2365
|
-
interface GetConflictsForTimeRangeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeResponsePayloadSchema> {
|
|
2366
|
-
}
|
|
2367
|
-
}
|
|
2368
2168
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2369
2169
|
interface GetPreferencesEmitTarget {
|
|
2370
2170
|
'organizationId': string;
|
|
@@ -2485,6 +2285,38 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2485
2285
|
interface ListCalendarEventTypesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema> {
|
|
2486
2286
|
}
|
|
2487
2287
|
}
|
|
2288
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2289
|
+
interface ListCalendarEventTypesEmitTargetAndPayload {
|
|
2290
|
+
/** Source. */
|
|
2291
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2292
|
+
'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayload | undefined | null;
|
|
2293
|
+
}
|
|
2294
|
+
interface ListCalendarEventTypesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2295
|
+
id: 'listCalendarEventTypesEmitTargetAndPayload';
|
|
2296
|
+
version: 'v2021_05_19';
|
|
2297
|
+
namespace: 'Calendar';
|
|
2298
|
+
name: '';
|
|
2299
|
+
fields: {
|
|
2300
|
+
/** Source. */
|
|
2301
|
+
'source': {
|
|
2302
|
+
label: 'Source';
|
|
2303
|
+
type: 'schema';
|
|
2304
|
+
options: {
|
|
2305
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
2306
|
+
};
|
|
2307
|
+
};
|
|
2308
|
+
/** . */
|
|
2309
|
+
'payload': {
|
|
2310
|
+
type: 'schema';
|
|
2311
|
+
options: {
|
|
2312
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema;
|
|
2313
|
+
};
|
|
2314
|
+
};
|
|
2315
|
+
};
|
|
2316
|
+
}
|
|
2317
|
+
interface ListCalendarEventTypesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitTargetAndPayloadSchema> {
|
|
2318
|
+
}
|
|
2319
|
+
}
|
|
2488
2320
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2489
2321
|
interface ListCalendarEventTypesResponsePayload {
|
|
2490
2322
|
'calendarEventTypes': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType[];
|
|
@@ -2518,12 +2350,70 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2518
2350
|
}
|
|
2519
2351
|
}
|
|
2520
2352
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2521
|
-
interface
|
|
2522
|
-
'
|
|
2523
|
-
'
|
|
2353
|
+
interface Teammate {
|
|
2354
|
+
'personId': string;
|
|
2355
|
+
'durationMinutes': number;
|
|
2524
2356
|
}
|
|
2525
|
-
interface
|
|
2526
|
-
id: '
|
|
2357
|
+
interface TeammateSchema extends SpruceSchema.Schema {
|
|
2358
|
+
id: 'teammate';
|
|
2359
|
+
version: 'v2021_05_19';
|
|
2360
|
+
namespace: 'Calendar';
|
|
2361
|
+
name: '';
|
|
2362
|
+
fields: {
|
|
2363
|
+
/** . */
|
|
2364
|
+
'personId': {
|
|
2365
|
+
type: 'id';
|
|
2366
|
+
isRequired: true;
|
|
2367
|
+
options: undefined;
|
|
2368
|
+
};
|
|
2369
|
+
/** . */
|
|
2370
|
+
'durationMinutes': {
|
|
2371
|
+
type: 'number';
|
|
2372
|
+
isRequired: true;
|
|
2373
|
+
options: undefined;
|
|
2374
|
+
};
|
|
2375
|
+
};
|
|
2376
|
+
}
|
|
2377
|
+
interface TeammateEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TeammateSchema> {
|
|
2378
|
+
}
|
|
2379
|
+
}
|
|
2380
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2381
|
+
interface GetConflictsForTimeRangeEmitPayload {
|
|
2382
|
+
'startDateTimeMs': number;
|
|
2383
|
+
'teammate': SpruceSchemas.Calendar.v2021_05_19.Teammate;
|
|
2384
|
+
}
|
|
2385
|
+
interface GetConflictsForTimeRangeEmitPayloadSchema extends SpruceSchema.Schema {
|
|
2386
|
+
id: 'getConflictsForTimeRangeEmitPayload';
|
|
2387
|
+
version: 'v2021_05_19';
|
|
2388
|
+
namespace: 'Calendar';
|
|
2389
|
+
name: '';
|
|
2390
|
+
fields: {
|
|
2391
|
+
/** . */
|
|
2392
|
+
'startDateTimeMs': {
|
|
2393
|
+
type: 'number';
|
|
2394
|
+
isRequired: true;
|
|
2395
|
+
options: undefined;
|
|
2396
|
+
};
|
|
2397
|
+
/** . */
|
|
2398
|
+
'teammate': {
|
|
2399
|
+
type: 'schema';
|
|
2400
|
+
isRequired: true;
|
|
2401
|
+
options: {
|
|
2402
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.TeammateSchema;
|
|
2403
|
+
};
|
|
2404
|
+
};
|
|
2405
|
+
};
|
|
2406
|
+
}
|
|
2407
|
+
interface GetConflictsForTimeRangeEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayloadSchema> {
|
|
2408
|
+
}
|
|
2409
|
+
}
|
|
2410
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2411
|
+
interface GetConflictsForTimeRangeEmitTarget {
|
|
2412
|
+
'organizationId': string;
|
|
2413
|
+
'calendarIds': string[];
|
|
2414
|
+
}
|
|
2415
|
+
interface GetConflictsForTimeRangeEmitTargetSchema extends SpruceSchema.Schema {
|
|
2416
|
+
id: 'getConflictsForTimeRangeEmitTarget';
|
|
2527
2417
|
version: 'v2021_05_19';
|
|
2528
2418
|
namespace: 'Calendar';
|
|
2529
2419
|
name: '';
|
|
@@ -2531,26 +2421,30 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2531
2421
|
/** . */
|
|
2532
2422
|
'organizationId': {
|
|
2533
2423
|
type: 'id';
|
|
2424
|
+
isRequired: true;
|
|
2534
2425
|
options: undefined;
|
|
2535
2426
|
};
|
|
2536
2427
|
/** . */
|
|
2537
|
-
'
|
|
2428
|
+
'calendarIds': {
|
|
2538
2429
|
type: 'id';
|
|
2430
|
+
isRequired: true;
|
|
2431
|
+
isArray: true;
|
|
2539
2432
|
options: undefined;
|
|
2540
2433
|
};
|
|
2541
2434
|
};
|
|
2542
2435
|
}
|
|
2543
|
-
interface
|
|
2436
|
+
interface GetConflictsForTimeRangeEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema> {
|
|
2544
2437
|
}
|
|
2545
2438
|
}
|
|
2546
2439
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2547
|
-
interface
|
|
2440
|
+
interface GetConflictsForTimeRangeEmitTargetAndPayload {
|
|
2548
2441
|
/** Source. */
|
|
2549
2442
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2550
|
-
'target'
|
|
2443
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTarget;
|
|
2444
|
+
'payload': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayload;
|
|
2551
2445
|
}
|
|
2552
|
-
interface
|
|
2553
|
-
id: '
|
|
2446
|
+
interface GetConflictsForTimeRangeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2447
|
+
id: 'getConflictsForTimeRangeEmitTargetAndPayload';
|
|
2554
2448
|
version: 'v2021_05_19';
|
|
2555
2449
|
namespace: 'Calendar';
|
|
2556
2450
|
name: '';
|
|
@@ -2566,45 +2460,61 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2566
2460
|
/** . */
|
|
2567
2461
|
'target': {
|
|
2568
2462
|
type: 'schema';
|
|
2463
|
+
isRequired: true;
|
|
2569
2464
|
options: {
|
|
2570
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
2465
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema;
|
|
2466
|
+
};
|
|
2467
|
+
};
|
|
2468
|
+
/** . */
|
|
2469
|
+
'payload': {
|
|
2470
|
+
type: 'schema';
|
|
2471
|
+
isRequired: true;
|
|
2472
|
+
options: {
|
|
2473
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayloadSchema;
|
|
2571
2474
|
};
|
|
2572
2475
|
};
|
|
2573
2476
|
};
|
|
2574
2477
|
}
|
|
2575
|
-
interface
|
|
2478
|
+
interface GetConflictsForTimeRangeEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetAndPayloadSchema> {
|
|
2576
2479
|
}
|
|
2577
2480
|
}
|
|
2578
2481
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2579
|
-
interface
|
|
2580
|
-
'
|
|
2581
|
-
'
|
|
2482
|
+
interface GetConflictsForTimeRangeResponsePayload {
|
|
2483
|
+
'isAvailable': boolean;
|
|
2484
|
+
'excludedBy'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[] | undefined | null;
|
|
2485
|
+
'overlapsWith'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[] | undefined | null;
|
|
2582
2486
|
}
|
|
2583
|
-
interface
|
|
2584
|
-
id: '
|
|
2487
|
+
interface GetConflictsForTimeRangeResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2488
|
+
id: 'getConflictsForTimeRangeResponsePayload';
|
|
2585
2489
|
version: 'v2021_05_19';
|
|
2586
2490
|
namespace: 'Calendar';
|
|
2587
2491
|
name: '';
|
|
2588
2492
|
fields: {
|
|
2589
2493
|
/** . */
|
|
2590
|
-
'
|
|
2591
|
-
type: '
|
|
2494
|
+
'isAvailable': {
|
|
2495
|
+
type: 'boolean';
|
|
2592
2496
|
isRequired: true;
|
|
2497
|
+
options: undefined;
|
|
2498
|
+
};
|
|
2499
|
+
/** . */
|
|
2500
|
+
'excludedBy': {
|
|
2501
|
+
type: 'schema';
|
|
2593
2502
|
isArray: true;
|
|
2594
|
-
minArrayLength: 0;
|
|
2595
2503
|
options: {
|
|
2596
|
-
schema: SpruceSchemas.
|
|
2504
|
+
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2597
2505
|
};
|
|
2598
2506
|
};
|
|
2599
2507
|
/** . */
|
|
2600
|
-
'
|
|
2601
|
-
type: '
|
|
2602
|
-
|
|
2603
|
-
options:
|
|
2508
|
+
'overlapsWith': {
|
|
2509
|
+
type: 'schema';
|
|
2510
|
+
isArray: true;
|
|
2511
|
+
options: {
|
|
2512
|
+
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2513
|
+
};
|
|
2604
2514
|
};
|
|
2605
2515
|
};
|
|
2606
2516
|
}
|
|
2607
|
-
interface
|
|
2517
|
+
interface GetConflictsForTimeRangeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeResponsePayloadSchema> {
|
|
2608
2518
|
}
|
|
2609
2519
|
}
|
|
2610
2520
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
@@ -2715,6 +2625,96 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2715
2625
|
interface ListCalendarEventsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsResponsePayloadSchema> {
|
|
2716
2626
|
}
|
|
2717
2627
|
}
|
|
2628
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2629
|
+
interface ListCalendarsEmitTarget {
|
|
2630
|
+
'organizationId'?: string | undefined | null;
|
|
2631
|
+
'calendarPersonId'?: string | undefined | null;
|
|
2632
|
+
}
|
|
2633
|
+
interface ListCalendarsEmitTargetSchema extends SpruceSchema.Schema {
|
|
2634
|
+
id: 'listCalendarsEmitTarget';
|
|
2635
|
+
version: 'v2021_05_19';
|
|
2636
|
+
namespace: 'Calendar';
|
|
2637
|
+
name: '';
|
|
2638
|
+
fields: {
|
|
2639
|
+
/** . */
|
|
2640
|
+
'organizationId': {
|
|
2641
|
+
type: 'id';
|
|
2642
|
+
options: undefined;
|
|
2643
|
+
};
|
|
2644
|
+
/** . */
|
|
2645
|
+
'calendarPersonId': {
|
|
2646
|
+
type: 'id';
|
|
2647
|
+
options: undefined;
|
|
2648
|
+
};
|
|
2649
|
+
};
|
|
2650
|
+
}
|
|
2651
|
+
interface ListCalendarsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema> {
|
|
2652
|
+
}
|
|
2653
|
+
}
|
|
2654
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2655
|
+
interface ListCalendarsEmitTargetAndPayload {
|
|
2656
|
+
/** Source. */
|
|
2657
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2658
|
+
'target'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTarget | undefined | null;
|
|
2659
|
+
}
|
|
2660
|
+
interface ListCalendarsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2661
|
+
id: 'listCalendarsEmitTargetAndPayload';
|
|
2662
|
+
version: 'v2021_05_19';
|
|
2663
|
+
namespace: 'Calendar';
|
|
2664
|
+
name: '';
|
|
2665
|
+
fields: {
|
|
2666
|
+
/** Source. */
|
|
2667
|
+
'source': {
|
|
2668
|
+
label: 'Source';
|
|
2669
|
+
type: 'schema';
|
|
2670
|
+
options: {
|
|
2671
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
2672
|
+
};
|
|
2673
|
+
};
|
|
2674
|
+
/** . */
|
|
2675
|
+
'target': {
|
|
2676
|
+
type: 'schema';
|
|
2677
|
+
options: {
|
|
2678
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema;
|
|
2679
|
+
};
|
|
2680
|
+
};
|
|
2681
|
+
};
|
|
2682
|
+
}
|
|
2683
|
+
interface ListCalendarsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetAndPayloadSchema> {
|
|
2684
|
+
}
|
|
2685
|
+
}
|
|
2686
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2687
|
+
interface ListCalendarsResponsePayload {
|
|
2688
|
+
'calendars': SpruceSchemas.Calendar.v2021_05_19.Calendar[];
|
|
2689
|
+
'count': number;
|
|
2690
|
+
}
|
|
2691
|
+
interface ListCalendarsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2692
|
+
id: 'listCalendarsResponsePayload';
|
|
2693
|
+
version: 'v2021_05_19';
|
|
2694
|
+
namespace: 'Calendar';
|
|
2695
|
+
name: '';
|
|
2696
|
+
fields: {
|
|
2697
|
+
/** . */
|
|
2698
|
+
'calendars': {
|
|
2699
|
+
type: 'schema';
|
|
2700
|
+
isRequired: true;
|
|
2701
|
+
isArray: true;
|
|
2702
|
+
minArrayLength: 0;
|
|
2703
|
+
options: {
|
|
2704
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
|
|
2705
|
+
};
|
|
2706
|
+
};
|
|
2707
|
+
/** . */
|
|
2708
|
+
'count': {
|
|
2709
|
+
type: 'number';
|
|
2710
|
+
isRequired: true;
|
|
2711
|
+
options: undefined;
|
|
2712
|
+
};
|
|
2713
|
+
};
|
|
2714
|
+
}
|
|
2715
|
+
interface ListCalendarsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsResponsePayloadSchema> {
|
|
2716
|
+
}
|
|
2717
|
+
}
|
|
2718
2718
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2719
2719
|
interface RegisterEventToolsEmitTarget {
|
|
2720
2720
|
'organizationId': string;
|