@sprucelabs/spruce-calendar-components 22.10.63 → 22.10.64
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.
|
@@ -709,14 +709,13 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
709
709
|
}
|
|
710
710
|
}
|
|
711
711
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
712
|
-
interface
|
|
712
|
+
interface GetPreferencesEmitTargetAndPayload {
|
|
713
713
|
/** Source. */
|
|
714
714
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
715
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.
|
|
716
|
-
'payload': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayload;
|
|
715
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTarget;
|
|
717
716
|
}
|
|
718
|
-
interface
|
|
719
|
-
id: '
|
|
717
|
+
interface GetPreferencesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
718
|
+
id: 'getPreferencesEmitTargetAndPayload';
|
|
720
719
|
version: 'v2021_05_19';
|
|
721
720
|
namespace: 'Calendar';
|
|
722
721
|
name: '';
|
|
@@ -734,20 +733,12 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
734
733
|
type: 'schema';
|
|
735
734
|
isRequired: true;
|
|
736
735
|
options: {
|
|
737
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
738
|
-
};
|
|
739
|
-
};
|
|
740
|
-
/** . */
|
|
741
|
-
'payload': {
|
|
742
|
-
type: 'schema';
|
|
743
|
-
isRequired: true;
|
|
744
|
-
options: {
|
|
745
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayloadSchema;
|
|
736
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTargetSchema;
|
|
746
737
|
};
|
|
747
738
|
};
|
|
748
739
|
};
|
|
749
740
|
}
|
|
750
|
-
interface
|
|
741
|
+
interface GetPreferencesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTargetAndPayloadSchema> {
|
|
751
742
|
}
|
|
752
743
|
}
|
|
753
744
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
@@ -2350,6 +2341,73 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2350
2341
|
interface GetConflictsForTimeRangeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeResponsePayloadSchema> {
|
|
2351
2342
|
}
|
|
2352
2343
|
}
|
|
2344
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2345
|
+
interface GetPreferencesEmitTarget {
|
|
2346
|
+
'organizationId': string;
|
|
2347
|
+
}
|
|
2348
|
+
interface GetPreferencesEmitTargetSchema extends SpruceSchema.Schema {
|
|
2349
|
+
id: 'getPreferencesEmitTarget';
|
|
2350
|
+
version: 'v2021_05_19';
|
|
2351
|
+
namespace: 'Calendar';
|
|
2352
|
+
name: '';
|
|
2353
|
+
fields: {
|
|
2354
|
+
/** . */
|
|
2355
|
+
'organizationId': {
|
|
2356
|
+
type: 'id';
|
|
2357
|
+
isRequired: true;
|
|
2358
|
+
options: undefined;
|
|
2359
|
+
};
|
|
2360
|
+
};
|
|
2361
|
+
}
|
|
2362
|
+
interface GetPreferencesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTargetSchema> {
|
|
2363
|
+
}
|
|
2364
|
+
}
|
|
2365
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2366
|
+
interface GetPreferencesResponsePayload {
|
|
2367
|
+
'selectedCalendarIds'?: string[] | undefined | null;
|
|
2368
|
+
'visiblePeopleMode'?: ("me" | "working" | "custom") | undefined | null;
|
|
2369
|
+
'visiblePeopleIds'?: string[] | undefined | null;
|
|
2370
|
+
}
|
|
2371
|
+
interface GetPreferencesResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2372
|
+
id: 'getPreferencesResponsePayload';
|
|
2373
|
+
version: 'v2021_05_19';
|
|
2374
|
+
namespace: 'Calendar';
|
|
2375
|
+
name: '';
|
|
2376
|
+
fields: {
|
|
2377
|
+
/** . */
|
|
2378
|
+
'selectedCalendarIds': {
|
|
2379
|
+
type: 'id';
|
|
2380
|
+
isArray: true;
|
|
2381
|
+
minArrayLength: 0;
|
|
2382
|
+
options: undefined;
|
|
2383
|
+
};
|
|
2384
|
+
/** . */
|
|
2385
|
+
'visiblePeopleMode': {
|
|
2386
|
+
type: 'select';
|
|
2387
|
+
options: {
|
|
2388
|
+
choices: [{
|
|
2389
|
+
"value": "me";
|
|
2390
|
+
"label": "Me";
|
|
2391
|
+
}, {
|
|
2392
|
+
"value": "working";
|
|
2393
|
+
"label": "Working";
|
|
2394
|
+
}, {
|
|
2395
|
+
"value": "custom";
|
|
2396
|
+
"label": "Custom";
|
|
2397
|
+
}];
|
|
2398
|
+
};
|
|
2399
|
+
};
|
|
2400
|
+
/** . */
|
|
2401
|
+
'visiblePeopleIds': {
|
|
2402
|
+
type: 'text';
|
|
2403
|
+
isArray: true;
|
|
2404
|
+
options: undefined;
|
|
2405
|
+
};
|
|
2406
|
+
};
|
|
2407
|
+
}
|
|
2408
|
+
interface GetPreferencesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesResponsePayloadSchema> {
|
|
2409
|
+
}
|
|
2410
|
+
}
|
|
2353
2411
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2354
2412
|
interface GetSchedulesEmitTarget {
|
|
2355
2413
|
'organizationId'?: string | undefined | null;
|
|
@@ -2420,59 +2478,14 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2420
2478
|
}
|
|
2421
2479
|
}
|
|
2422
2480
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2423
|
-
interface
|
|
2424
|
-
'events': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[];
|
|
2425
|
-
}
|
|
2426
|
-
interface GetSchedulesResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2427
|
-
id: 'getSchedulesResponsePayload';
|
|
2428
|
-
version: 'v2021_05_19';
|
|
2429
|
-
namespace: 'Calendar';
|
|
2430
|
-
name: '';
|
|
2431
|
-
fields: {
|
|
2432
|
-
/** . */
|
|
2433
|
-
'events': {
|
|
2434
|
-
type: 'schema';
|
|
2435
|
-
isRequired: true;
|
|
2436
|
-
isArray: true;
|
|
2437
|
-
minArrayLength: 0;
|
|
2438
|
-
options: {
|
|
2439
|
-
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2440
|
-
};
|
|
2441
|
-
};
|
|
2442
|
-
};
|
|
2443
|
-
}
|
|
2444
|
-
interface GetSchedulesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesResponsePayloadSchema> {
|
|
2445
|
-
}
|
|
2446
|
-
}
|
|
2447
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2448
|
-
interface GetPreferencesEmitTarget {
|
|
2449
|
-
'organizationId': string;
|
|
2450
|
-
}
|
|
2451
|
-
interface GetPreferencesEmitTargetSchema extends SpruceSchema.Schema {
|
|
2452
|
-
id: 'getPreferencesEmitTarget';
|
|
2453
|
-
version: 'v2021_05_19';
|
|
2454
|
-
namespace: 'Calendar';
|
|
2455
|
-
name: '';
|
|
2456
|
-
fields: {
|
|
2457
|
-
/** . */
|
|
2458
|
-
'organizationId': {
|
|
2459
|
-
type: 'id';
|
|
2460
|
-
isRequired: true;
|
|
2461
|
-
options: undefined;
|
|
2462
|
-
};
|
|
2463
|
-
};
|
|
2464
|
-
}
|
|
2465
|
-
interface GetPreferencesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTargetSchema> {
|
|
2466
|
-
}
|
|
2467
|
-
}
|
|
2468
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2469
|
-
interface GetPreferencesEmitTargetAndPayload {
|
|
2481
|
+
interface GetSchedulesEmitTargetAndPayload {
|
|
2470
2482
|
/** Source. */
|
|
2471
2483
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2472
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.
|
|
2484
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTarget;
|
|
2485
|
+
'payload': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayload;
|
|
2473
2486
|
}
|
|
2474
|
-
interface
|
|
2475
|
-
id: '
|
|
2487
|
+
interface GetSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2488
|
+
id: 'getSchedulesEmitTargetAndPayload';
|
|
2476
2489
|
version: 'v2021_05_19';
|
|
2477
2490
|
namespace: 'Calendar';
|
|
2478
2491
|
name: '';
|
|
@@ -2490,58 +2503,45 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2490
2503
|
type: 'schema';
|
|
2491
2504
|
isRequired: true;
|
|
2492
2505
|
options: {
|
|
2493
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
2506
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema;
|
|
2507
|
+
};
|
|
2508
|
+
};
|
|
2509
|
+
/** . */
|
|
2510
|
+
'payload': {
|
|
2511
|
+
type: 'schema';
|
|
2512
|
+
isRequired: true;
|
|
2513
|
+
options: {
|
|
2514
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitPayloadSchema;
|
|
2494
2515
|
};
|
|
2495
2516
|
};
|
|
2496
2517
|
};
|
|
2497
2518
|
}
|
|
2498
|
-
interface
|
|
2519
|
+
interface GetSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetAndPayloadSchema> {
|
|
2499
2520
|
}
|
|
2500
2521
|
}
|
|
2501
2522
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2502
|
-
interface
|
|
2503
|
-
'
|
|
2504
|
-
'visiblePeopleMode'?: ("me" | "working" | "custom") | undefined | null;
|
|
2505
|
-
'visiblePeopleIds'?: string[] | undefined | null;
|
|
2523
|
+
interface GetSchedulesResponsePayload {
|
|
2524
|
+
'events': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[];
|
|
2506
2525
|
}
|
|
2507
|
-
interface
|
|
2508
|
-
id: '
|
|
2526
|
+
interface GetSchedulesResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2527
|
+
id: 'getSchedulesResponsePayload';
|
|
2509
2528
|
version: 'v2021_05_19';
|
|
2510
2529
|
namespace: 'Calendar';
|
|
2511
2530
|
name: '';
|
|
2512
2531
|
fields: {
|
|
2513
2532
|
/** . */
|
|
2514
|
-
'
|
|
2515
|
-
type: '
|
|
2533
|
+
'events': {
|
|
2534
|
+
type: 'schema';
|
|
2535
|
+
isRequired: true;
|
|
2516
2536
|
isArray: true;
|
|
2517
2537
|
minArrayLength: 0;
|
|
2518
|
-
options: undefined;
|
|
2519
|
-
};
|
|
2520
|
-
/** . */
|
|
2521
|
-
'visiblePeopleMode': {
|
|
2522
|
-
type: 'select';
|
|
2523
2538
|
options: {
|
|
2524
|
-
|
|
2525
|
-
"value": "me";
|
|
2526
|
-
"label": "Me";
|
|
2527
|
-
}, {
|
|
2528
|
-
"value": "working";
|
|
2529
|
-
"label": "Working";
|
|
2530
|
-
}, {
|
|
2531
|
-
"value": "custom";
|
|
2532
|
-
"label": "Custom";
|
|
2533
|
-
}];
|
|
2539
|
+
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2534
2540
|
};
|
|
2535
2541
|
};
|
|
2536
|
-
/** . */
|
|
2537
|
-
'visiblePeopleIds': {
|
|
2538
|
-
type: 'text';
|
|
2539
|
-
isArray: true;
|
|
2540
|
-
options: undefined;
|
|
2541
|
-
};
|
|
2542
2542
|
};
|
|
2543
2543
|
}
|
|
2544
|
-
interface
|
|
2544
|
+
interface GetSchedulesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesResponsePayloadSchema> {
|
|
2545
2545
|
}
|
|
2546
2546
|
}
|
|
2547
2547
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
@@ -2827,12 +2827,11 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2827
2827
|
}
|
|
2828
2828
|
}
|
|
2829
2829
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2830
|
-
interface
|
|
2830
|
+
interface UpdatePreferencesEmitTarget {
|
|
2831
2831
|
'organizationId': string;
|
|
2832
|
-
'calendarEventId': string;
|
|
2833
2832
|
}
|
|
2834
|
-
interface
|
|
2835
|
-
id: '
|
|
2833
|
+
interface UpdatePreferencesEmitTargetSchema extends SpruceSchema.Schema {
|
|
2834
|
+
id: 'updatePreferencesEmitTarget';
|
|
2836
2835
|
version: 'v2021_05_19';
|
|
2837
2836
|
namespace: 'Calendar';
|
|
2838
2837
|
name: '';
|
|
@@ -2843,47 +2842,67 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2843
2842
|
isRequired: true;
|
|
2844
2843
|
options: undefined;
|
|
2845
2844
|
};
|
|
2846
|
-
/** . */
|
|
2847
|
-
'calendarEventId': {
|
|
2848
|
-
type: 'id';
|
|
2849
|
-
isRequired: true;
|
|
2850
|
-
options: undefined;
|
|
2851
|
-
};
|
|
2852
2845
|
};
|
|
2853
2846
|
}
|
|
2854
|
-
interface
|
|
2847
|
+
interface UpdatePreferencesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetSchema> {
|
|
2855
2848
|
}
|
|
2856
2849
|
}
|
|
2857
2850
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2858
|
-
interface
|
|
2859
|
-
'
|
|
2851
|
+
interface UpdatePreferencesEmitPayload {
|
|
2852
|
+
'selectedCalendarIds'?: string[] | undefined | null;
|
|
2853
|
+
'visiblePeopleMode'?: ("me" | "working" | "custom") | undefined | null;
|
|
2854
|
+
'visiblePeopleIds'?: string[] | undefined | null;
|
|
2860
2855
|
}
|
|
2861
|
-
interface
|
|
2862
|
-
id: '
|
|
2856
|
+
interface UpdatePreferencesEmitPayloadSchema extends SpruceSchema.Schema {
|
|
2857
|
+
id: 'updatePreferencesEmitPayload';
|
|
2863
2858
|
version: 'v2021_05_19';
|
|
2864
2859
|
namespace: 'Calendar';
|
|
2865
2860
|
name: '';
|
|
2866
2861
|
fields: {
|
|
2867
2862
|
/** . */
|
|
2868
|
-
'
|
|
2863
|
+
'selectedCalendarIds': {
|
|
2869
2864
|
type: 'id';
|
|
2865
|
+
isArray: true;
|
|
2866
|
+
minArrayLength: 0;
|
|
2867
|
+
options: undefined;
|
|
2868
|
+
};
|
|
2869
|
+
/** . */
|
|
2870
|
+
'visiblePeopleMode': {
|
|
2871
|
+
type: 'select';
|
|
2872
|
+
options: {
|
|
2873
|
+
choices: [{
|
|
2874
|
+
"value": "me";
|
|
2875
|
+
"label": "Me";
|
|
2876
|
+
}, {
|
|
2877
|
+
"value": "working";
|
|
2878
|
+
"label": "Working";
|
|
2879
|
+
}, {
|
|
2880
|
+
"value": "custom";
|
|
2881
|
+
"label": "Custom";
|
|
2882
|
+
}];
|
|
2883
|
+
};
|
|
2884
|
+
};
|
|
2885
|
+
/** . */
|
|
2886
|
+
'visiblePeopleIds': {
|
|
2887
|
+
type: 'text';
|
|
2888
|
+
isArray: true;
|
|
2870
2889
|
options: undefined;
|
|
2871
2890
|
};
|
|
2872
2891
|
};
|
|
2873
2892
|
}
|
|
2874
|
-
interface
|
|
2893
|
+
interface UpdatePreferencesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayloadSchema> {
|
|
2875
2894
|
}
|
|
2876
2895
|
}
|
|
2877
2896
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2878
|
-
interface
|
|
2897
|
+
interface UpdatePreferencesEmitTargetAndPayload {
|
|
2879
2898
|
/** Source. */
|
|
2880
2899
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2881
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.
|
|
2882
|
-
'payload'?: SpruceSchemas.Calendar.v2021_05_19.
|
|
2900
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTarget;
|
|
2901
|
+
'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayload | undefined | null;
|
|
2883
2902
|
}
|
|
2884
|
-
interface
|
|
2885
|
-
id: '
|
|
2886
|
-
version: 'v2021_05_19';
|
|
2903
|
+
interface UpdatePreferencesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2904
|
+
id: 'updatePreferencesEmitTargetAndPayload';
|
|
2905
|
+
version: 'v2021_05_19';
|
|
2887
2906
|
namespace: 'Calendar';
|
|
2888
2907
|
name: '';
|
|
2889
2908
|
fields: {
|
|
@@ -2900,42 +2919,40 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2900
2919
|
type: 'schema';
|
|
2901
2920
|
isRequired: true;
|
|
2902
2921
|
options: {
|
|
2903
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
2922
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetSchema;
|
|
2904
2923
|
};
|
|
2905
2924
|
};
|
|
2906
2925
|
/** . */
|
|
2907
2926
|
'payload': {
|
|
2908
2927
|
type: 'schema';
|
|
2909
2928
|
options: {
|
|
2910
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
2929
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayloadSchema;
|
|
2911
2930
|
};
|
|
2912
2931
|
};
|
|
2913
2932
|
};
|
|
2914
2933
|
}
|
|
2915
|
-
interface
|
|
2934
|
+
interface UpdatePreferencesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetAndPayloadSchema> {
|
|
2916
2935
|
}
|
|
2917
2936
|
}
|
|
2918
2937
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2919
|
-
interface
|
|
2920
|
-
'
|
|
2938
|
+
interface UpdatePreferencesResponsePayload {
|
|
2939
|
+
'success': boolean;
|
|
2921
2940
|
}
|
|
2922
|
-
interface
|
|
2923
|
-
id: '
|
|
2941
|
+
interface UpdatePreferencesResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2942
|
+
id: 'updatePreferencesResponsePayload';
|
|
2924
2943
|
version: 'v2021_05_19';
|
|
2925
2944
|
namespace: 'Calendar';
|
|
2926
2945
|
name: '';
|
|
2927
2946
|
fields: {
|
|
2928
2947
|
/** . */
|
|
2929
|
-
'
|
|
2930
|
-
type: '
|
|
2948
|
+
'success': {
|
|
2949
|
+
type: 'boolean';
|
|
2931
2950
|
isRequired: true;
|
|
2932
|
-
isArray: true;
|
|
2933
|
-
minArrayLength: 0;
|
|
2934
2951
|
options: undefined;
|
|
2935
2952
|
};
|
|
2936
2953
|
};
|
|
2937
2954
|
}
|
|
2938
|
-
interface
|
|
2955
|
+
interface UpdatePreferencesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesResponsePayloadSchema> {
|
|
2939
2956
|
}
|
|
2940
2957
|
}
|
|
2941
2958
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
@@ -3093,836 +3110,262 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
3093
3110
|
}
|
|
3094
3111
|
}
|
|
3095
3112
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
3096
|
-
interface
|
|
3097
|
-
'
|
|
3098
|
-
'locationId'?: string | undefined | null;
|
|
3099
|
-
'calendarEventId': string;
|
|
3100
|
-
'calendarEventPersonId': string;
|
|
3113
|
+
interface UpsertCalendarEventTypeEmitTarget {
|
|
3114
|
+
'slug': string;
|
|
3101
3115
|
}
|
|
3102
|
-
interface
|
|
3103
|
-
id: '
|
|
3116
|
+
interface UpsertCalendarEventTypeEmitTargetSchema extends SpruceSchema.Schema {
|
|
3117
|
+
id: 'upsertCalendarEventTypeEmitTarget';
|
|
3104
3118
|
version: 'v2021_05_19';
|
|
3105
3119
|
namespace: 'Calendar';
|
|
3106
3120
|
name: '';
|
|
3107
3121
|
fields: {
|
|
3108
3122
|
/** . */
|
|
3109
|
-
'
|
|
3110
|
-
type: '
|
|
3111
|
-
options: undefined;
|
|
3112
|
-
};
|
|
3113
|
-
/** . */
|
|
3114
|
-
'locationId': {
|
|
3115
|
-
type: 'id';
|
|
3116
|
-
options: undefined;
|
|
3117
|
-
};
|
|
3118
|
-
/** . */
|
|
3119
|
-
'calendarEventId': {
|
|
3120
|
-
type: 'id';
|
|
3121
|
-
isRequired: true;
|
|
3122
|
-
options: undefined;
|
|
3123
|
-
};
|
|
3124
|
-
/** . */
|
|
3125
|
-
'calendarEventPersonId': {
|
|
3126
|
-
type: 'id';
|
|
3123
|
+
'slug': {
|
|
3124
|
+
type: 'text';
|
|
3127
3125
|
isRequired: true;
|
|
3128
3126
|
options: undefined;
|
|
3129
3127
|
};
|
|
3130
3128
|
};
|
|
3131
3129
|
}
|
|
3132
|
-
interface
|
|
3130
|
+
interface UpsertCalendarEventTypeEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTargetSchema> {
|
|
3133
3131
|
}
|
|
3134
3132
|
}
|
|
3135
3133
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
3136
|
-
interface
|
|
3137
|
-
'
|
|
3138
|
-
'
|
|
3139
|
-
'
|
|
3140
|
-
'
|
|
3141
|
-
'startDateTimeMs'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
3142
|
-
'isBusy'?: boolean | undefined | null;
|
|
3143
|
-
'isResizeable'?: boolean | undefined | null;
|
|
3144
|
-
'style'?: ("draft" | "tentative" | "upcoming" | "unavailable" | "blocked" | "active" | "past" | "warn" | "critical") | undefined | null;
|
|
3145
|
-
'groupId'?: string | undefined | null;
|
|
3146
|
-
'timeBlocks'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventTimeBlock[] | undefined | null;
|
|
3147
|
-
'repeats'?: ("weekly" | "monthly" | "daily") | undefined | null;
|
|
3148
|
-
'daysOfWeek'?: ("sun" | "mon" | "tue" | "wed" | "thur" | "fri" | "sat")[] | undefined | null;
|
|
3149
|
-
'daysOfMonth'?: ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "29" | "30" | "31")[] | undefined | null;
|
|
3150
|
-
'repeatsUntil'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
3151
|
-
'occurrences'?: number | undefined | null;
|
|
3152
|
-
'interval'?: number | undefined | null;
|
|
3153
|
-
'nthOccurrences'?: number[] | undefined | null;
|
|
3154
|
-
'exclusionDates'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDate[] | undefined | null;
|
|
3155
|
-
'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
3156
|
-
'nthInRepeating'?: number | undefined | null;
|
|
3157
|
-
'totalInRepeating'?: number | undefined | null;
|
|
3158
|
-
'addToExclusionDates'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDate[] | undefined | null;
|
|
3159
|
-
'dateToUpdate'?: number | undefined | null;
|
|
3160
|
-
'shouldUpdateAllEventsGoingForward'?: boolean | undefined | null;
|
|
3161
|
-
/** . It will show on this person's calendar going forward! */
|
|
3162
|
-
'newTargetPersonId'?: string | undefined | null;
|
|
3134
|
+
interface UpsertCalendarEventTypeEmitPayload {
|
|
3135
|
+
'name'?: string | undefined | null;
|
|
3136
|
+
'slug'?: string | undefined | null;
|
|
3137
|
+
'viewControllerId'?: string | undefined | null;
|
|
3138
|
+
'lineIcon'?: ("sprucebot" | "add-circle" | "chevron-left" | "document-text" | "link-angle" | "play-circle" | "star" | "add-square" | "chevron-right" | "download-cloud" | "link-flat" | "present" | "sun" | "add" | "chevron-up" | "download" | "loader" | "refresh-circle" | "tag" | "alarm" | "clipboard" | "edit-box" | "location-pin" | "refresh" | "time" | "arrow-back" | "clock" | "edit-line" | "lock" | "repeat" | "tool" | "arrow-down-circle" | "close-circle" | "email" | "map" | "restricted" | "trending-down" | "arrow-down" | "close-square" | "emoji-happy" | "message-circle" | "rotate" | "trending-up" | "arrow-next" | "close" | "emoji-sad" | "message-square" | "search-no" | "triangle" | "arrow-up-circle" | "code" | "external-link" | "mic-off" | "search" | "unlock" | "arrow-up" | "coffee" | "fav-heart" | "mic-on" | "selector-checked" | "upload-cloud" | "attachment" | "command" | "flag" | "minus-circle" | "selector-circle-filled" | "upload" | "award-badge" | "corner-down-left" | "flip-01" | "minus-square" | "selector-circle" | "user-add" | "binoculars" | "corner-down-right" | "flip-02" | "money-sign" | "send" | "user-delete" | "bolt" | "corner-left-down" | "folder" | "more-horizontal" | "settings-filled" | "user" | "book-open" | "corner-left-up" | "globe" | "more-vertical" | "settings" | "users" | "book" | "corner-right-down" | "hash-tag" | "notification-off" | "share" | "video-off" | "bookmark" | "corner-right-up" | "headphones" | "notification-on" | "shopping-bag" | "video" | "calendar-add" | "corner-up-left" | "help-buoy" | "object" | "shopping-cart" | "warning" | "calendar" | "corner-up-right" | "help-circle" | "pause-circle" | "sort-filter-down" | "wifi" | "camera" | "crop" | "home" | "phone-unavailable" | "sort-filter-up" | "zoom-in" | "cellphone" | "delete" | "info" | "phone" | "sound-off" | "zoom-out" | "checkmark" | "document-blank" | "jump" | "photo" | "sound-on" | "chevron-down" | "document-new" | "layers" | "picked" | "star-filled") | undefined | null;
|
|
3163
3139
|
}
|
|
3164
|
-
interface
|
|
3165
|
-
id: '
|
|
3140
|
+
interface UpsertCalendarEventTypeEmitPayloadSchema extends SpruceSchema.Schema {
|
|
3141
|
+
id: 'upsertCalendarEventTypeEmitPayload';
|
|
3166
3142
|
version: 'v2021_05_19';
|
|
3167
3143
|
namespace: 'Calendar';
|
|
3168
3144
|
name: '';
|
|
3169
3145
|
fields: {
|
|
3170
3146
|
/** . */
|
|
3171
|
-
'
|
|
3172
|
-
type: 'schema';
|
|
3173
|
-
options: {
|
|
3174
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
3175
|
-
};
|
|
3176
|
-
};
|
|
3177
|
-
/** . */
|
|
3178
|
-
'target': {
|
|
3179
|
-
type: 'schema';
|
|
3180
|
-
options: {
|
|
3181
|
-
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventTargetSchema;
|
|
3182
|
-
};
|
|
3183
|
-
};
|
|
3184
|
-
/** . */
|
|
3185
|
-
'calendarId': {
|
|
3186
|
-
type: 'id';
|
|
3187
|
-
options: undefined;
|
|
3188
|
-
};
|
|
3189
|
-
/** . */
|
|
3190
|
-
'eventTypeSlug': {
|
|
3147
|
+
'name': {
|
|
3191
3148
|
type: 'text';
|
|
3192
3149
|
options: undefined;
|
|
3193
3150
|
};
|
|
3194
3151
|
/** . */
|
|
3195
|
-
'
|
|
3196
|
-
type: '
|
|
3197
|
-
options: undefined;
|
|
3198
|
-
};
|
|
3199
|
-
/** . */
|
|
3200
|
-
'isBusy': {
|
|
3201
|
-
type: 'boolean';
|
|
3152
|
+
'slug': {
|
|
3153
|
+
type: 'text';
|
|
3202
3154
|
options: undefined;
|
|
3203
3155
|
};
|
|
3204
3156
|
/** . */
|
|
3205
|
-
'
|
|
3206
|
-
type: '
|
|
3157
|
+
'viewControllerId': {
|
|
3158
|
+
type: 'id';
|
|
3207
3159
|
options: undefined;
|
|
3208
3160
|
};
|
|
3209
3161
|
/** . */
|
|
3210
|
-
'
|
|
3162
|
+
'lineIcon': {
|
|
3211
3163
|
type: 'select';
|
|
3212
3164
|
options: {
|
|
3213
3165
|
choices: [{
|
|
3214
|
-
"value": "
|
|
3215
|
-
"label": "
|
|
3166
|
+
"value": "sprucebot";
|
|
3167
|
+
"label": "sprucebot";
|
|
3216
3168
|
}, {
|
|
3217
|
-
"value": "
|
|
3218
|
-
"label": "
|
|
3169
|
+
"value": "add-circle";
|
|
3170
|
+
"label": "add-circle";
|
|
3219
3171
|
}, {
|
|
3220
|
-
"value": "
|
|
3221
|
-
"label": "
|
|
3172
|
+
"value": "chevron-left";
|
|
3173
|
+
"label": "chevron-left";
|
|
3222
3174
|
}, {
|
|
3223
|
-
"value": "
|
|
3224
|
-
"label": "
|
|
3175
|
+
"value": "document-text";
|
|
3176
|
+
"label": "document-text";
|
|
3225
3177
|
}, {
|
|
3226
|
-
"value": "
|
|
3227
|
-
"label": "
|
|
3178
|
+
"value": "link-angle";
|
|
3179
|
+
"label": "link-angle";
|
|
3228
3180
|
}, {
|
|
3229
|
-
"value": "
|
|
3230
|
-
"label": "
|
|
3181
|
+
"value": "play-circle";
|
|
3182
|
+
"label": "play-circle";
|
|
3231
3183
|
}, {
|
|
3232
|
-
"value": "
|
|
3233
|
-
"label": "
|
|
3184
|
+
"value": "star";
|
|
3185
|
+
"label": "star";
|
|
3234
3186
|
}, {
|
|
3235
|
-
"value": "
|
|
3236
|
-
"label": "
|
|
3187
|
+
"value": "add-square";
|
|
3188
|
+
"label": "add-square";
|
|
3237
3189
|
}, {
|
|
3238
|
-
"value": "
|
|
3239
|
-
"label": "
|
|
3240
|
-
}];
|
|
3241
|
-
};
|
|
3242
|
-
};
|
|
3243
|
-
/** . */
|
|
3244
|
-
'groupId': {
|
|
3245
|
-
type: 'id';
|
|
3246
|
-
options: undefined;
|
|
3247
|
-
};
|
|
3248
|
-
/** . */
|
|
3249
|
-
'timeBlocks': {
|
|
3250
|
-
type: 'schema';
|
|
3251
|
-
isArray: true;
|
|
3252
|
-
minArrayLength: 1;
|
|
3253
|
-
options: {
|
|
3254
|
-
schema: SpruceSchemas.CalendarUtils.v2021_05_19.EventTimeBlockSchema;
|
|
3255
|
-
};
|
|
3256
|
-
};
|
|
3257
|
-
/** . */
|
|
3258
|
-
'repeats': {
|
|
3259
|
-
type: 'select';
|
|
3260
|
-
options: {
|
|
3261
|
-
choices: [{
|
|
3262
|
-
"value": "weekly";
|
|
3263
|
-
"label": "Weekly";
|
|
3190
|
+
"value": "chevron-right";
|
|
3191
|
+
"label": "chevron-right";
|
|
3264
3192
|
}, {
|
|
3265
|
-
"value": "
|
|
3266
|
-
"label": "
|
|
3193
|
+
"value": "download-cloud";
|
|
3194
|
+
"label": "download-cloud";
|
|
3267
3195
|
}, {
|
|
3268
|
-
"value": "
|
|
3269
|
-
"label": "
|
|
3270
|
-
}];
|
|
3271
|
-
};
|
|
3272
|
-
};
|
|
3273
|
-
/** . */
|
|
3274
|
-
'daysOfWeek': {
|
|
3275
|
-
type: 'select';
|
|
3276
|
-
isArray: true;
|
|
3277
|
-
options: {
|
|
3278
|
-
choices: [{
|
|
3279
|
-
"value": "sun";
|
|
3280
|
-
"label": "Sunday";
|
|
3196
|
+
"value": "link-flat";
|
|
3197
|
+
"label": "link-flat";
|
|
3281
3198
|
}, {
|
|
3282
|
-
"value": "
|
|
3283
|
-
"label": "
|
|
3199
|
+
"value": "present";
|
|
3200
|
+
"label": "present";
|
|
3284
3201
|
}, {
|
|
3285
|
-
"value": "
|
|
3286
|
-
"label": "
|
|
3202
|
+
"value": "sun";
|
|
3203
|
+
"label": "sun";
|
|
3287
3204
|
}, {
|
|
3288
|
-
"value": "
|
|
3289
|
-
"label": "
|
|
3205
|
+
"value": "add";
|
|
3206
|
+
"label": "add";
|
|
3290
3207
|
}, {
|
|
3291
|
-
"value": "
|
|
3292
|
-
"label": "
|
|
3208
|
+
"value": "chevron-up";
|
|
3209
|
+
"label": "chevron-up";
|
|
3293
3210
|
}, {
|
|
3294
|
-
"value": "
|
|
3295
|
-
"label": "
|
|
3211
|
+
"value": "download";
|
|
3212
|
+
"label": "download";
|
|
3296
3213
|
}, {
|
|
3297
|
-
"value": "
|
|
3298
|
-
"label": "
|
|
3299
|
-
}];
|
|
3300
|
-
};
|
|
3301
|
-
};
|
|
3302
|
-
/** . */
|
|
3303
|
-
'daysOfMonth': {
|
|
3304
|
-
type: 'select';
|
|
3305
|
-
isArray: true;
|
|
3306
|
-
options: {
|
|
3307
|
-
choices: [{
|
|
3308
|
-
"value": "1";
|
|
3309
|
-
"label": "1";
|
|
3214
|
+
"value": "loader";
|
|
3215
|
+
"label": "loader";
|
|
3310
3216
|
}, {
|
|
3311
|
-
"value": "
|
|
3312
|
-
"label": "
|
|
3217
|
+
"value": "refresh-circle";
|
|
3218
|
+
"label": "refresh-circle";
|
|
3313
3219
|
}, {
|
|
3314
|
-
"value": "
|
|
3315
|
-
"label": "
|
|
3220
|
+
"value": "tag";
|
|
3221
|
+
"label": "tag";
|
|
3316
3222
|
}, {
|
|
3317
|
-
"value": "
|
|
3318
|
-
"label": "
|
|
3223
|
+
"value": "alarm";
|
|
3224
|
+
"label": "alarm";
|
|
3319
3225
|
}, {
|
|
3320
|
-
"value": "
|
|
3321
|
-
"label": "
|
|
3226
|
+
"value": "clipboard";
|
|
3227
|
+
"label": "clipboard";
|
|
3322
3228
|
}, {
|
|
3323
|
-
"value": "
|
|
3324
|
-
"label": "
|
|
3229
|
+
"value": "edit-box";
|
|
3230
|
+
"label": "edit-box";
|
|
3325
3231
|
}, {
|
|
3326
|
-
"value": "
|
|
3327
|
-
"label": "
|
|
3232
|
+
"value": "location-pin";
|
|
3233
|
+
"label": "location-pin";
|
|
3328
3234
|
}, {
|
|
3329
|
-
"value": "
|
|
3330
|
-
"label": "
|
|
3235
|
+
"value": "refresh";
|
|
3236
|
+
"label": "refresh";
|
|
3331
3237
|
}, {
|
|
3332
|
-
"value": "
|
|
3333
|
-
"label": "
|
|
3238
|
+
"value": "time";
|
|
3239
|
+
"label": "time";
|
|
3334
3240
|
}, {
|
|
3335
|
-
"value": "
|
|
3336
|
-
"label": "
|
|
3241
|
+
"value": "arrow-back";
|
|
3242
|
+
"label": "arrow-back";
|
|
3337
3243
|
}, {
|
|
3338
|
-
"value": "
|
|
3339
|
-
"label": "
|
|
3244
|
+
"value": "clock";
|
|
3245
|
+
"label": "clock";
|
|
3340
3246
|
}, {
|
|
3341
|
-
"value": "
|
|
3342
|
-
"label": "
|
|
3247
|
+
"value": "edit-line";
|
|
3248
|
+
"label": "edit-line";
|
|
3343
3249
|
}, {
|
|
3344
|
-
"value": "
|
|
3345
|
-
"label": "
|
|
3250
|
+
"value": "lock";
|
|
3251
|
+
"label": "lock";
|
|
3346
3252
|
}, {
|
|
3347
|
-
"value": "
|
|
3348
|
-
"label": "
|
|
3253
|
+
"value": "repeat";
|
|
3254
|
+
"label": "repeat";
|
|
3349
3255
|
}, {
|
|
3350
|
-
"value": "
|
|
3351
|
-
"label": "
|
|
3256
|
+
"value": "tool";
|
|
3257
|
+
"label": "tool";
|
|
3352
3258
|
}, {
|
|
3353
|
-
"value": "
|
|
3354
|
-
"label": "
|
|
3259
|
+
"value": "arrow-down-circle";
|
|
3260
|
+
"label": "arrow-down-circle";
|
|
3355
3261
|
}, {
|
|
3356
|
-
"value": "
|
|
3357
|
-
"label": "
|
|
3262
|
+
"value": "close-circle";
|
|
3263
|
+
"label": "close-circle";
|
|
3358
3264
|
}, {
|
|
3359
|
-
"value": "
|
|
3360
|
-
"label": "
|
|
3265
|
+
"value": "email";
|
|
3266
|
+
"label": "email";
|
|
3361
3267
|
}, {
|
|
3362
|
-
"value": "
|
|
3363
|
-
"label": "
|
|
3268
|
+
"value": "map";
|
|
3269
|
+
"label": "map";
|
|
3364
3270
|
}, {
|
|
3365
|
-
"value": "
|
|
3366
|
-
"label": "
|
|
3271
|
+
"value": "restricted";
|
|
3272
|
+
"label": "restricted";
|
|
3367
3273
|
}, {
|
|
3368
|
-
"value": "
|
|
3369
|
-
"label": "
|
|
3274
|
+
"value": "trending-down";
|
|
3275
|
+
"label": "trending-down";
|
|
3370
3276
|
}, {
|
|
3371
|
-
"value": "
|
|
3372
|
-
"label": "
|
|
3277
|
+
"value": "arrow-down";
|
|
3278
|
+
"label": "arrow-down";
|
|
3373
3279
|
}, {
|
|
3374
|
-
"value": "
|
|
3375
|
-
"label": "
|
|
3280
|
+
"value": "close-square";
|
|
3281
|
+
"label": "close-square";
|
|
3376
3282
|
}, {
|
|
3377
|
-
"value": "
|
|
3378
|
-
"label": "
|
|
3283
|
+
"value": "emoji-happy";
|
|
3284
|
+
"label": "emoji-happy";
|
|
3379
3285
|
}, {
|
|
3380
|
-
"value": "
|
|
3381
|
-
"label": "
|
|
3286
|
+
"value": "message-circle";
|
|
3287
|
+
"label": "message-circle";
|
|
3382
3288
|
}, {
|
|
3383
|
-
"value": "
|
|
3384
|
-
"label": "
|
|
3289
|
+
"value": "rotate";
|
|
3290
|
+
"label": "rotate";
|
|
3385
3291
|
}, {
|
|
3386
|
-
"value": "
|
|
3387
|
-
"label": "
|
|
3292
|
+
"value": "trending-up";
|
|
3293
|
+
"label": "trending-up";
|
|
3388
3294
|
}, {
|
|
3389
|
-
"value": "
|
|
3390
|
-
"label": "
|
|
3295
|
+
"value": "arrow-next";
|
|
3296
|
+
"label": "arrow-next";
|
|
3391
3297
|
}, {
|
|
3392
|
-
"value": "
|
|
3393
|
-
"label": "
|
|
3298
|
+
"value": "close";
|
|
3299
|
+
"label": "close";
|
|
3394
3300
|
}, {
|
|
3395
|
-
"value": "
|
|
3396
|
-
"label": "
|
|
3301
|
+
"value": "emoji-sad";
|
|
3302
|
+
"label": "emoji-sad";
|
|
3397
3303
|
}, {
|
|
3398
|
-
"value": "
|
|
3399
|
-
"label": "
|
|
3400
|
-
}];
|
|
3401
|
-
};
|
|
3402
|
-
};
|
|
3403
|
-
/** . */
|
|
3404
|
-
'repeatsUntil': {
|
|
3405
|
-
type: 'dateTime';
|
|
3406
|
-
options: undefined;
|
|
3407
|
-
};
|
|
3408
|
-
/** . */
|
|
3409
|
-
'occurrences': {
|
|
3410
|
-
type: 'number';
|
|
3411
|
-
options: undefined;
|
|
3412
|
-
};
|
|
3413
|
-
/** . */
|
|
3414
|
-
'interval': {
|
|
3415
|
-
type: 'number';
|
|
3416
|
-
options: undefined;
|
|
3417
|
-
};
|
|
3418
|
-
/** . */
|
|
3419
|
-
'nthOccurrences': {
|
|
3420
|
-
type: 'number';
|
|
3421
|
-
isArray: true;
|
|
3422
|
-
options: undefined;
|
|
3423
|
-
};
|
|
3424
|
-
/** . */
|
|
3425
|
-
'exclusionDates': {
|
|
3426
|
-
type: 'schema';
|
|
3427
|
-
isArray: true;
|
|
3428
|
-
options: {
|
|
3429
|
-
schema: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDateSchema;
|
|
3430
|
-
};
|
|
3431
|
-
};
|
|
3432
|
-
/** . */
|
|
3433
|
-
'dateDeleted': {
|
|
3434
|
-
type: 'dateTime';
|
|
3435
|
-
options: undefined;
|
|
3436
|
-
};
|
|
3437
|
-
/** . */
|
|
3438
|
-
'nthInRepeating': {
|
|
3439
|
-
type: 'number';
|
|
3440
|
-
options: undefined;
|
|
3441
|
-
};
|
|
3442
|
-
/** . */
|
|
3443
|
-
'totalInRepeating': {
|
|
3444
|
-
type: 'number';
|
|
3445
|
-
options: undefined;
|
|
3446
|
-
};
|
|
3447
|
-
/** . */
|
|
3448
|
-
'addToExclusionDates': {
|
|
3449
|
-
type: 'schema';
|
|
3450
|
-
isArray: true;
|
|
3451
|
-
options: {
|
|
3452
|
-
schema: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDateSchema;
|
|
3453
|
-
};
|
|
3454
|
-
};
|
|
3455
|
-
/** . */
|
|
3456
|
-
'dateToUpdate': {
|
|
3457
|
-
type: 'number';
|
|
3458
|
-
options: undefined;
|
|
3459
|
-
};
|
|
3460
|
-
/** . */
|
|
3461
|
-
'shouldUpdateAllEventsGoingForward': {
|
|
3462
|
-
type: 'boolean';
|
|
3463
|
-
options: undefined;
|
|
3464
|
-
};
|
|
3465
|
-
/** . It will show on this person's calendar going forward! */
|
|
3466
|
-
'newTargetPersonId': {
|
|
3467
|
-
type: 'id';
|
|
3468
|
-
hint: 'It will show on this person\'s calendar going forward!';
|
|
3469
|
-
options: undefined;
|
|
3470
|
-
};
|
|
3471
|
-
};
|
|
3472
|
-
}
|
|
3473
|
-
interface UpdateCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayloadSchema> {
|
|
3474
|
-
}
|
|
3475
|
-
}
|
|
3476
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
3477
|
-
interface UpdateCalendarEventEmitTargetAndPayload {
|
|
3478
|
-
/** Source. */
|
|
3479
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
3480
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTarget;
|
|
3481
|
-
'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayload | undefined | null;
|
|
3482
|
-
}
|
|
3483
|
-
interface UpdateCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
3484
|
-
id: 'updateCalendarEventEmitTargetAndPayload';
|
|
3485
|
-
version: 'v2021_05_19';
|
|
3486
|
-
namespace: 'Calendar';
|
|
3487
|
-
name: '';
|
|
3488
|
-
fields: {
|
|
3489
|
-
/** Source. */
|
|
3490
|
-
'source': {
|
|
3491
|
-
label: 'Source';
|
|
3492
|
-
type: 'schema';
|
|
3493
|
-
options: {
|
|
3494
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
3495
|
-
};
|
|
3496
|
-
};
|
|
3497
|
-
/** . */
|
|
3498
|
-
'target': {
|
|
3499
|
-
type: 'schema';
|
|
3500
|
-
isRequired: true;
|
|
3501
|
-
options: {
|
|
3502
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetSchema;
|
|
3503
|
-
};
|
|
3504
|
-
};
|
|
3505
|
-
/** . */
|
|
3506
|
-
'payload': {
|
|
3507
|
-
type: 'schema';
|
|
3508
|
-
options: {
|
|
3509
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayloadSchema;
|
|
3510
|
-
};
|
|
3511
|
-
};
|
|
3512
|
-
};
|
|
3513
|
-
}
|
|
3514
|
-
interface UpdateCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetAndPayloadSchema> {
|
|
3515
|
-
}
|
|
3516
|
-
}
|
|
3517
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
3518
|
-
interface UpdateCalendarEventResponsePayload {
|
|
3519
|
-
'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
|
|
3520
|
-
}
|
|
3521
|
-
interface UpdateCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
|
|
3522
|
-
id: 'updateCalendarEventResponsePayload';
|
|
3523
|
-
version: 'v2021_05_19';
|
|
3524
|
-
namespace: 'Calendar';
|
|
3525
|
-
name: '';
|
|
3526
|
-
fields: {
|
|
3527
|
-
/** . */
|
|
3528
|
-
'calendarEvent': {
|
|
3529
|
-
type: 'schema';
|
|
3530
|
-
isRequired: true;
|
|
3531
|
-
options: {
|
|
3532
|
-
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
3533
|
-
};
|
|
3534
|
-
};
|
|
3535
|
-
};
|
|
3536
|
-
}
|
|
3537
|
-
interface UpdateCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventResponsePayloadSchema> {
|
|
3538
|
-
}
|
|
3539
|
-
}
|
|
3540
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
3541
|
-
interface UpdatePreferencesEmitTarget {
|
|
3542
|
-
'organizationId': string;
|
|
3543
|
-
}
|
|
3544
|
-
interface UpdatePreferencesEmitTargetSchema extends SpruceSchema.Schema {
|
|
3545
|
-
id: 'updatePreferencesEmitTarget';
|
|
3546
|
-
version: 'v2021_05_19';
|
|
3547
|
-
namespace: 'Calendar';
|
|
3548
|
-
name: '';
|
|
3549
|
-
fields: {
|
|
3550
|
-
/** . */
|
|
3551
|
-
'organizationId': {
|
|
3552
|
-
type: 'id';
|
|
3553
|
-
isRequired: true;
|
|
3554
|
-
options: undefined;
|
|
3555
|
-
};
|
|
3556
|
-
};
|
|
3557
|
-
}
|
|
3558
|
-
interface UpdatePreferencesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetSchema> {
|
|
3559
|
-
}
|
|
3560
|
-
}
|
|
3561
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
3562
|
-
interface UpdatePreferencesEmitPayload {
|
|
3563
|
-
'selectedCalendarIds'?: string[] | undefined | null;
|
|
3564
|
-
'visiblePeopleMode'?: ("me" | "working" | "custom") | undefined | null;
|
|
3565
|
-
'visiblePeopleIds'?: string[] | undefined | null;
|
|
3566
|
-
}
|
|
3567
|
-
interface UpdatePreferencesEmitPayloadSchema extends SpruceSchema.Schema {
|
|
3568
|
-
id: 'updatePreferencesEmitPayload';
|
|
3569
|
-
version: 'v2021_05_19';
|
|
3570
|
-
namespace: 'Calendar';
|
|
3571
|
-
name: '';
|
|
3572
|
-
fields: {
|
|
3573
|
-
/** . */
|
|
3574
|
-
'selectedCalendarIds': {
|
|
3575
|
-
type: 'id';
|
|
3576
|
-
isArray: true;
|
|
3577
|
-
minArrayLength: 0;
|
|
3578
|
-
options: undefined;
|
|
3579
|
-
};
|
|
3580
|
-
/** . */
|
|
3581
|
-
'visiblePeopleMode': {
|
|
3582
|
-
type: 'select';
|
|
3583
|
-
options: {
|
|
3584
|
-
choices: [{
|
|
3585
|
-
"value": "me";
|
|
3586
|
-
"label": "Me";
|
|
3304
|
+
"value": "message-square";
|
|
3305
|
+
"label": "message-square";
|
|
3587
3306
|
}, {
|
|
3588
|
-
"value": "
|
|
3589
|
-
"label": "
|
|
3307
|
+
"value": "search-no";
|
|
3308
|
+
"label": "search-no";
|
|
3590
3309
|
}, {
|
|
3591
|
-
"value": "
|
|
3592
|
-
"label": "
|
|
3593
|
-
}];
|
|
3594
|
-
};
|
|
3595
|
-
};
|
|
3596
|
-
/** . */
|
|
3597
|
-
'visiblePeopleIds': {
|
|
3598
|
-
type: 'text';
|
|
3599
|
-
isArray: true;
|
|
3600
|
-
options: undefined;
|
|
3601
|
-
};
|
|
3602
|
-
};
|
|
3603
|
-
}
|
|
3604
|
-
interface UpdatePreferencesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayloadSchema> {
|
|
3605
|
-
}
|
|
3606
|
-
}
|
|
3607
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
3608
|
-
interface UpdatePreferencesEmitTargetAndPayload {
|
|
3609
|
-
/** Source. */
|
|
3610
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
3611
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTarget;
|
|
3612
|
-
'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayload | undefined | null;
|
|
3613
|
-
}
|
|
3614
|
-
interface UpdatePreferencesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
3615
|
-
id: 'updatePreferencesEmitTargetAndPayload';
|
|
3616
|
-
version: 'v2021_05_19';
|
|
3617
|
-
namespace: 'Calendar';
|
|
3618
|
-
name: '';
|
|
3619
|
-
fields: {
|
|
3620
|
-
/** Source. */
|
|
3621
|
-
'source': {
|
|
3622
|
-
label: 'Source';
|
|
3623
|
-
type: 'schema';
|
|
3624
|
-
options: {
|
|
3625
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
3626
|
-
};
|
|
3627
|
-
};
|
|
3628
|
-
/** . */
|
|
3629
|
-
'target': {
|
|
3630
|
-
type: 'schema';
|
|
3631
|
-
isRequired: true;
|
|
3632
|
-
options: {
|
|
3633
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetSchema;
|
|
3634
|
-
};
|
|
3635
|
-
};
|
|
3636
|
-
/** . */
|
|
3637
|
-
'payload': {
|
|
3638
|
-
type: 'schema';
|
|
3639
|
-
options: {
|
|
3640
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitPayloadSchema;
|
|
3641
|
-
};
|
|
3642
|
-
};
|
|
3643
|
-
};
|
|
3644
|
-
}
|
|
3645
|
-
interface UpdatePreferencesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesEmitTargetAndPayloadSchema> {
|
|
3646
|
-
}
|
|
3647
|
-
}
|
|
3648
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
3649
|
-
interface UpdatePreferencesResponsePayload {
|
|
3650
|
-
'success': boolean;
|
|
3651
|
-
}
|
|
3652
|
-
interface UpdatePreferencesResponsePayloadSchema extends SpruceSchema.Schema {
|
|
3653
|
-
id: 'updatePreferencesResponsePayload';
|
|
3654
|
-
version: 'v2021_05_19';
|
|
3655
|
-
namespace: 'Calendar';
|
|
3656
|
-
name: '';
|
|
3657
|
-
fields: {
|
|
3658
|
-
/** . */
|
|
3659
|
-
'success': {
|
|
3660
|
-
type: 'boolean';
|
|
3661
|
-
isRequired: true;
|
|
3662
|
-
options: undefined;
|
|
3663
|
-
};
|
|
3664
|
-
};
|
|
3665
|
-
}
|
|
3666
|
-
interface UpdatePreferencesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdatePreferencesResponsePayloadSchema> {
|
|
3667
|
-
}
|
|
3668
|
-
}
|
|
3669
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
3670
|
-
interface UpsertCalendarEventTypeEmitTarget {
|
|
3671
|
-
'slug': string;
|
|
3672
|
-
}
|
|
3673
|
-
interface UpsertCalendarEventTypeEmitTargetSchema extends SpruceSchema.Schema {
|
|
3674
|
-
id: 'upsertCalendarEventTypeEmitTarget';
|
|
3675
|
-
version: 'v2021_05_19';
|
|
3676
|
-
namespace: 'Calendar';
|
|
3677
|
-
name: '';
|
|
3678
|
-
fields: {
|
|
3679
|
-
/** . */
|
|
3680
|
-
'slug': {
|
|
3681
|
-
type: 'text';
|
|
3682
|
-
isRequired: true;
|
|
3683
|
-
options: undefined;
|
|
3684
|
-
};
|
|
3685
|
-
};
|
|
3686
|
-
}
|
|
3687
|
-
interface UpsertCalendarEventTypeEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTargetSchema> {
|
|
3688
|
-
}
|
|
3689
|
-
}
|
|
3690
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
3691
|
-
interface UpsertCalendarEventTypeEmitPayload {
|
|
3692
|
-
'name'?: string | undefined | null;
|
|
3693
|
-
'slug'?: string | undefined | null;
|
|
3694
|
-
'viewControllerId'?: string | undefined | null;
|
|
3695
|
-
'lineIcon'?: ("sprucebot" | "add-circle" | "chevron-left" | "document-text" | "link-angle" | "play-circle" | "star" | "add-square" | "chevron-right" | "download-cloud" | "link-flat" | "present" | "sun" | "add" | "chevron-up" | "download" | "loader" | "refresh-circle" | "tag" | "alarm" | "clipboard" | "edit-box" | "location-pin" | "refresh" | "time" | "arrow-back" | "clock" | "edit-line" | "lock" | "repeat" | "tool" | "arrow-down-circle" | "close-circle" | "email" | "map" | "restricted" | "trending-down" | "arrow-down" | "close-square" | "emoji-happy" | "message-circle" | "rotate" | "trending-up" | "arrow-next" | "close" | "emoji-sad" | "message-square" | "search-no" | "triangle" | "arrow-up-circle" | "code" | "external-link" | "mic-off" | "search" | "unlock" | "arrow-up" | "coffee" | "fav-heart" | "mic-on" | "selector-checked" | "upload-cloud" | "attachment" | "command" | "flag" | "minus-circle" | "selector-circle-filled" | "upload" | "award-badge" | "corner-down-left" | "flip-01" | "minus-square" | "selector-circle" | "user-add" | "binoculars" | "corner-down-right" | "flip-02" | "money-sign" | "send" | "user-delete" | "bolt" | "corner-left-down" | "folder" | "more-horizontal" | "settings-filled" | "user" | "book-open" | "corner-left-up" | "globe" | "more-vertical" | "settings" | "users" | "book" | "corner-right-down" | "hash-tag" | "notification-off" | "share" | "video-off" | "bookmark" | "corner-right-up" | "headphones" | "notification-on" | "shopping-bag" | "video" | "calendar-add" | "corner-up-left" | "help-buoy" | "object" | "shopping-cart" | "warning" | "calendar" | "corner-up-right" | "help-circle" | "pause-circle" | "sort-filter-down" | "wifi" | "camera" | "crop" | "home" | "phone-unavailable" | "sort-filter-up" | "zoom-in" | "cellphone" | "delete" | "info" | "phone" | "sound-off" | "zoom-out" | "checkmark" | "document-blank" | "jump" | "photo" | "sound-on" | "chevron-down" | "document-new" | "layers" | "picked" | "star-filled") | undefined | null;
|
|
3696
|
-
}
|
|
3697
|
-
interface UpsertCalendarEventTypeEmitPayloadSchema extends SpruceSchema.Schema {
|
|
3698
|
-
id: 'upsertCalendarEventTypeEmitPayload';
|
|
3699
|
-
version: 'v2021_05_19';
|
|
3700
|
-
namespace: 'Calendar';
|
|
3701
|
-
name: '';
|
|
3702
|
-
fields: {
|
|
3703
|
-
/** . */
|
|
3704
|
-
'name': {
|
|
3705
|
-
type: 'text';
|
|
3706
|
-
options: undefined;
|
|
3707
|
-
};
|
|
3708
|
-
/** . */
|
|
3709
|
-
'slug': {
|
|
3710
|
-
type: 'text';
|
|
3711
|
-
options: undefined;
|
|
3712
|
-
};
|
|
3713
|
-
/** . */
|
|
3714
|
-
'viewControllerId': {
|
|
3715
|
-
type: 'id';
|
|
3716
|
-
options: undefined;
|
|
3717
|
-
};
|
|
3718
|
-
/** . */
|
|
3719
|
-
'lineIcon': {
|
|
3720
|
-
type: 'select';
|
|
3721
|
-
options: {
|
|
3722
|
-
choices: [{
|
|
3723
|
-
"value": "sprucebot";
|
|
3724
|
-
"label": "sprucebot";
|
|
3310
|
+
"value": "triangle";
|
|
3311
|
+
"label": "triangle";
|
|
3725
3312
|
}, {
|
|
3726
|
-
"value": "
|
|
3727
|
-
"label": "
|
|
3313
|
+
"value": "arrow-up-circle";
|
|
3314
|
+
"label": "arrow-up-circle";
|
|
3728
3315
|
}, {
|
|
3729
|
-
"value": "
|
|
3730
|
-
"label": "
|
|
3316
|
+
"value": "code";
|
|
3317
|
+
"label": "code";
|
|
3731
3318
|
}, {
|
|
3732
|
-
"value": "
|
|
3733
|
-
"label": "
|
|
3319
|
+
"value": "external-link";
|
|
3320
|
+
"label": "external-link";
|
|
3734
3321
|
}, {
|
|
3735
|
-
"value": "
|
|
3736
|
-
"label": "
|
|
3322
|
+
"value": "mic-off";
|
|
3323
|
+
"label": "mic-off";
|
|
3737
3324
|
}, {
|
|
3738
|
-
"value": "
|
|
3739
|
-
"label": "
|
|
3325
|
+
"value": "search";
|
|
3326
|
+
"label": "search";
|
|
3740
3327
|
}, {
|
|
3741
|
-
"value": "
|
|
3742
|
-
"label": "
|
|
3328
|
+
"value": "unlock";
|
|
3329
|
+
"label": "unlock";
|
|
3743
3330
|
}, {
|
|
3744
|
-
"value": "
|
|
3745
|
-
"label": "
|
|
3331
|
+
"value": "arrow-up";
|
|
3332
|
+
"label": "arrow-up";
|
|
3746
3333
|
}, {
|
|
3747
|
-
"value": "
|
|
3748
|
-
"label": "
|
|
3334
|
+
"value": "coffee";
|
|
3335
|
+
"label": "coffee";
|
|
3749
3336
|
}, {
|
|
3750
|
-
"value": "
|
|
3751
|
-
"label": "
|
|
3337
|
+
"value": "fav-heart";
|
|
3338
|
+
"label": "fav-heart";
|
|
3752
3339
|
}, {
|
|
3753
|
-
"value": "
|
|
3754
|
-
"label": "
|
|
3340
|
+
"value": "mic-on";
|
|
3341
|
+
"label": "mic-on";
|
|
3755
3342
|
}, {
|
|
3756
|
-
"value": "
|
|
3757
|
-
"label": "
|
|
3343
|
+
"value": "selector-checked";
|
|
3344
|
+
"label": "selector-checked";
|
|
3758
3345
|
}, {
|
|
3759
|
-
"value": "
|
|
3760
|
-
"label": "
|
|
3346
|
+
"value": "upload-cloud";
|
|
3347
|
+
"label": "upload-cloud";
|
|
3761
3348
|
}, {
|
|
3762
|
-
"value": "
|
|
3763
|
-
"label": "
|
|
3349
|
+
"value": "attachment";
|
|
3350
|
+
"label": "attachment";
|
|
3764
3351
|
}, {
|
|
3765
|
-
"value": "
|
|
3766
|
-
"label": "
|
|
3352
|
+
"value": "command";
|
|
3353
|
+
"label": "command";
|
|
3767
3354
|
}, {
|
|
3768
|
-
"value": "
|
|
3769
|
-
"label": "
|
|
3355
|
+
"value": "flag";
|
|
3356
|
+
"label": "flag";
|
|
3770
3357
|
}, {
|
|
3771
|
-
"value": "
|
|
3772
|
-
"label": "
|
|
3358
|
+
"value": "minus-circle";
|
|
3359
|
+
"label": "minus-circle";
|
|
3773
3360
|
}, {
|
|
3774
|
-
"value": "
|
|
3775
|
-
"label": "
|
|
3361
|
+
"value": "selector-circle-filled";
|
|
3362
|
+
"label": "selector-circle-filled";
|
|
3776
3363
|
}, {
|
|
3777
|
-
"value": "
|
|
3778
|
-
"label": "
|
|
3364
|
+
"value": "upload";
|
|
3365
|
+
"label": "upload";
|
|
3779
3366
|
}, {
|
|
3780
|
-
"value": "
|
|
3781
|
-
"label": "
|
|
3782
|
-
}, {
|
|
3783
|
-
"value": "clipboard";
|
|
3784
|
-
"label": "clipboard";
|
|
3785
|
-
}, {
|
|
3786
|
-
"value": "edit-box";
|
|
3787
|
-
"label": "edit-box";
|
|
3788
|
-
}, {
|
|
3789
|
-
"value": "location-pin";
|
|
3790
|
-
"label": "location-pin";
|
|
3791
|
-
}, {
|
|
3792
|
-
"value": "refresh";
|
|
3793
|
-
"label": "refresh";
|
|
3794
|
-
}, {
|
|
3795
|
-
"value": "time";
|
|
3796
|
-
"label": "time";
|
|
3797
|
-
}, {
|
|
3798
|
-
"value": "arrow-back";
|
|
3799
|
-
"label": "arrow-back";
|
|
3800
|
-
}, {
|
|
3801
|
-
"value": "clock";
|
|
3802
|
-
"label": "clock";
|
|
3803
|
-
}, {
|
|
3804
|
-
"value": "edit-line";
|
|
3805
|
-
"label": "edit-line";
|
|
3806
|
-
}, {
|
|
3807
|
-
"value": "lock";
|
|
3808
|
-
"label": "lock";
|
|
3809
|
-
}, {
|
|
3810
|
-
"value": "repeat";
|
|
3811
|
-
"label": "repeat";
|
|
3812
|
-
}, {
|
|
3813
|
-
"value": "tool";
|
|
3814
|
-
"label": "tool";
|
|
3815
|
-
}, {
|
|
3816
|
-
"value": "arrow-down-circle";
|
|
3817
|
-
"label": "arrow-down-circle";
|
|
3818
|
-
}, {
|
|
3819
|
-
"value": "close-circle";
|
|
3820
|
-
"label": "close-circle";
|
|
3821
|
-
}, {
|
|
3822
|
-
"value": "email";
|
|
3823
|
-
"label": "email";
|
|
3824
|
-
}, {
|
|
3825
|
-
"value": "map";
|
|
3826
|
-
"label": "map";
|
|
3827
|
-
}, {
|
|
3828
|
-
"value": "restricted";
|
|
3829
|
-
"label": "restricted";
|
|
3830
|
-
}, {
|
|
3831
|
-
"value": "trending-down";
|
|
3832
|
-
"label": "trending-down";
|
|
3833
|
-
}, {
|
|
3834
|
-
"value": "arrow-down";
|
|
3835
|
-
"label": "arrow-down";
|
|
3836
|
-
}, {
|
|
3837
|
-
"value": "close-square";
|
|
3838
|
-
"label": "close-square";
|
|
3839
|
-
}, {
|
|
3840
|
-
"value": "emoji-happy";
|
|
3841
|
-
"label": "emoji-happy";
|
|
3842
|
-
}, {
|
|
3843
|
-
"value": "message-circle";
|
|
3844
|
-
"label": "message-circle";
|
|
3845
|
-
}, {
|
|
3846
|
-
"value": "rotate";
|
|
3847
|
-
"label": "rotate";
|
|
3848
|
-
}, {
|
|
3849
|
-
"value": "trending-up";
|
|
3850
|
-
"label": "trending-up";
|
|
3851
|
-
}, {
|
|
3852
|
-
"value": "arrow-next";
|
|
3853
|
-
"label": "arrow-next";
|
|
3854
|
-
}, {
|
|
3855
|
-
"value": "close";
|
|
3856
|
-
"label": "close";
|
|
3857
|
-
}, {
|
|
3858
|
-
"value": "emoji-sad";
|
|
3859
|
-
"label": "emoji-sad";
|
|
3860
|
-
}, {
|
|
3861
|
-
"value": "message-square";
|
|
3862
|
-
"label": "message-square";
|
|
3863
|
-
}, {
|
|
3864
|
-
"value": "search-no";
|
|
3865
|
-
"label": "search-no";
|
|
3866
|
-
}, {
|
|
3867
|
-
"value": "triangle";
|
|
3868
|
-
"label": "triangle";
|
|
3869
|
-
}, {
|
|
3870
|
-
"value": "arrow-up-circle";
|
|
3871
|
-
"label": "arrow-up-circle";
|
|
3872
|
-
}, {
|
|
3873
|
-
"value": "code";
|
|
3874
|
-
"label": "code";
|
|
3875
|
-
}, {
|
|
3876
|
-
"value": "external-link";
|
|
3877
|
-
"label": "external-link";
|
|
3878
|
-
}, {
|
|
3879
|
-
"value": "mic-off";
|
|
3880
|
-
"label": "mic-off";
|
|
3881
|
-
}, {
|
|
3882
|
-
"value": "search";
|
|
3883
|
-
"label": "search";
|
|
3884
|
-
}, {
|
|
3885
|
-
"value": "unlock";
|
|
3886
|
-
"label": "unlock";
|
|
3887
|
-
}, {
|
|
3888
|
-
"value": "arrow-up";
|
|
3889
|
-
"label": "arrow-up";
|
|
3890
|
-
}, {
|
|
3891
|
-
"value": "coffee";
|
|
3892
|
-
"label": "coffee";
|
|
3893
|
-
}, {
|
|
3894
|
-
"value": "fav-heart";
|
|
3895
|
-
"label": "fav-heart";
|
|
3896
|
-
}, {
|
|
3897
|
-
"value": "mic-on";
|
|
3898
|
-
"label": "mic-on";
|
|
3899
|
-
}, {
|
|
3900
|
-
"value": "selector-checked";
|
|
3901
|
-
"label": "selector-checked";
|
|
3902
|
-
}, {
|
|
3903
|
-
"value": "upload-cloud";
|
|
3904
|
-
"label": "upload-cloud";
|
|
3905
|
-
}, {
|
|
3906
|
-
"value": "attachment";
|
|
3907
|
-
"label": "attachment";
|
|
3908
|
-
}, {
|
|
3909
|
-
"value": "command";
|
|
3910
|
-
"label": "command";
|
|
3911
|
-
}, {
|
|
3912
|
-
"value": "flag";
|
|
3913
|
-
"label": "flag";
|
|
3914
|
-
}, {
|
|
3915
|
-
"value": "minus-circle";
|
|
3916
|
-
"label": "minus-circle";
|
|
3917
|
-
}, {
|
|
3918
|
-
"value": "selector-circle-filled";
|
|
3919
|
-
"label": "selector-circle-filled";
|
|
3920
|
-
}, {
|
|
3921
|
-
"value": "upload";
|
|
3922
|
-
"label": "upload";
|
|
3923
|
-
}, {
|
|
3924
|
-
"value": "award-badge";
|
|
3925
|
-
"label": "award-badge";
|
|
3367
|
+
"value": "award-badge";
|
|
3368
|
+
"label": "award-badge";
|
|
3926
3369
|
}, {
|
|
3927
3370
|
"value": "corner-down-left";
|
|
3928
3371
|
"label": "corner-down-left";
|
|
@@ -4026,180 +3469,737 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4026
3469
|
"value": "shopping-bag";
|
|
4027
3470
|
"label": "shopping-bag";
|
|
4028
3471
|
}, {
|
|
4029
|
-
"value": "video";
|
|
4030
|
-
"label": "video";
|
|
3472
|
+
"value": "video";
|
|
3473
|
+
"label": "video";
|
|
3474
|
+
}, {
|
|
3475
|
+
"value": "calendar-add";
|
|
3476
|
+
"label": "calendar-add";
|
|
3477
|
+
}, {
|
|
3478
|
+
"value": "corner-up-left";
|
|
3479
|
+
"label": "corner-up-left";
|
|
3480
|
+
}, {
|
|
3481
|
+
"value": "help-buoy";
|
|
3482
|
+
"label": "help-buoy";
|
|
3483
|
+
}, {
|
|
3484
|
+
"value": "object";
|
|
3485
|
+
"label": "object";
|
|
3486
|
+
}, {
|
|
3487
|
+
"value": "shopping-cart";
|
|
3488
|
+
"label": "shopping-cart";
|
|
3489
|
+
}, {
|
|
3490
|
+
"value": "warning";
|
|
3491
|
+
"label": "warning";
|
|
3492
|
+
}, {
|
|
3493
|
+
"value": "calendar";
|
|
3494
|
+
"label": "calendar";
|
|
3495
|
+
}, {
|
|
3496
|
+
"value": "corner-up-right";
|
|
3497
|
+
"label": "corner-up-right";
|
|
3498
|
+
}, {
|
|
3499
|
+
"value": "help-circle";
|
|
3500
|
+
"label": "help-circle";
|
|
3501
|
+
}, {
|
|
3502
|
+
"value": "pause-circle";
|
|
3503
|
+
"label": "pause-circle";
|
|
3504
|
+
}, {
|
|
3505
|
+
"value": "sort-filter-down";
|
|
3506
|
+
"label": "sort-filter-down";
|
|
3507
|
+
}, {
|
|
3508
|
+
"value": "wifi";
|
|
3509
|
+
"label": "wifi";
|
|
3510
|
+
}, {
|
|
3511
|
+
"value": "camera";
|
|
3512
|
+
"label": "camera";
|
|
3513
|
+
}, {
|
|
3514
|
+
"value": "crop";
|
|
3515
|
+
"label": "crop";
|
|
3516
|
+
}, {
|
|
3517
|
+
"value": "home";
|
|
3518
|
+
"label": "home";
|
|
3519
|
+
}, {
|
|
3520
|
+
"value": "phone-unavailable";
|
|
3521
|
+
"label": "phone-unavailable";
|
|
3522
|
+
}, {
|
|
3523
|
+
"value": "sort-filter-up";
|
|
3524
|
+
"label": "sort-filter-up";
|
|
3525
|
+
}, {
|
|
3526
|
+
"value": "zoom-in";
|
|
3527
|
+
"label": "zoom-in";
|
|
3528
|
+
}, {
|
|
3529
|
+
"value": "cellphone";
|
|
3530
|
+
"label": "cellphone";
|
|
3531
|
+
}, {
|
|
3532
|
+
"value": "delete";
|
|
3533
|
+
"label": "delete";
|
|
3534
|
+
}, {
|
|
3535
|
+
"value": "info";
|
|
3536
|
+
"label": "info";
|
|
3537
|
+
}, {
|
|
3538
|
+
"value": "phone";
|
|
3539
|
+
"label": "phone";
|
|
3540
|
+
}, {
|
|
3541
|
+
"value": "sound-off";
|
|
3542
|
+
"label": "sound-off";
|
|
3543
|
+
}, {
|
|
3544
|
+
"value": "zoom-out";
|
|
3545
|
+
"label": "zoom-out";
|
|
3546
|
+
}, {
|
|
3547
|
+
"value": "checkmark";
|
|
3548
|
+
"label": "checkmark";
|
|
3549
|
+
}, {
|
|
3550
|
+
"value": "document-blank";
|
|
3551
|
+
"label": "document-blank";
|
|
3552
|
+
}, {
|
|
3553
|
+
"value": "jump";
|
|
3554
|
+
"label": "jump";
|
|
3555
|
+
}, {
|
|
3556
|
+
"value": "photo";
|
|
3557
|
+
"label": "photo";
|
|
3558
|
+
}, {
|
|
3559
|
+
"value": "sound-on";
|
|
3560
|
+
"label": "sound-on";
|
|
3561
|
+
}, {
|
|
3562
|
+
"value": "chevron-down";
|
|
3563
|
+
"label": "chevron-down";
|
|
3564
|
+
}, {
|
|
3565
|
+
"value": "document-new";
|
|
3566
|
+
"label": "document-new";
|
|
3567
|
+
}, {
|
|
3568
|
+
"value": "layers";
|
|
3569
|
+
"label": "layers";
|
|
3570
|
+
}, {
|
|
3571
|
+
"value": "picked";
|
|
3572
|
+
"label": "picked";
|
|
3573
|
+
}, {
|
|
3574
|
+
"value": "star-filled";
|
|
3575
|
+
"label": "star-filled";
|
|
3576
|
+
}];
|
|
3577
|
+
};
|
|
3578
|
+
};
|
|
3579
|
+
};
|
|
3580
|
+
}
|
|
3581
|
+
interface UpsertCalendarEventTypeEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitPayloadSchema> {
|
|
3582
|
+
}
|
|
3583
|
+
}
|
|
3584
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
3585
|
+
interface UpsertCalendarEventTypeEmitTargetAndPayload {
|
|
3586
|
+
/** Source. */
|
|
3587
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
3588
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTarget;
|
|
3589
|
+
'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitPayload | undefined | null;
|
|
3590
|
+
}
|
|
3591
|
+
interface UpsertCalendarEventTypeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
3592
|
+
id: 'upsertCalendarEventTypeEmitTargetAndPayload';
|
|
3593
|
+
version: 'v2021_05_19';
|
|
3594
|
+
namespace: 'Calendar';
|
|
3595
|
+
name: '';
|
|
3596
|
+
fields: {
|
|
3597
|
+
/** Source. */
|
|
3598
|
+
'source': {
|
|
3599
|
+
label: 'Source';
|
|
3600
|
+
type: 'schema';
|
|
3601
|
+
options: {
|
|
3602
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
3603
|
+
};
|
|
3604
|
+
};
|
|
3605
|
+
/** . */
|
|
3606
|
+
'target': {
|
|
3607
|
+
type: 'schema';
|
|
3608
|
+
isRequired: true;
|
|
3609
|
+
options: {
|
|
3610
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTargetSchema;
|
|
3611
|
+
};
|
|
3612
|
+
};
|
|
3613
|
+
/** . */
|
|
3614
|
+
'payload': {
|
|
3615
|
+
type: 'schema';
|
|
3616
|
+
options: {
|
|
3617
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitPayloadSchema;
|
|
3618
|
+
};
|
|
3619
|
+
};
|
|
3620
|
+
};
|
|
3621
|
+
}
|
|
3622
|
+
interface UpsertCalendarEventTypeEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTargetAndPayloadSchema> {
|
|
3623
|
+
}
|
|
3624
|
+
}
|
|
3625
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
3626
|
+
interface UpsertCalendarEventTypeResponsePayload {
|
|
3627
|
+
'calendarEventType': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType;
|
|
3628
|
+
}
|
|
3629
|
+
interface UpsertCalendarEventTypeResponsePayloadSchema extends SpruceSchema.Schema {
|
|
3630
|
+
id: 'upsertCalendarEventTypeResponsePayload';
|
|
3631
|
+
version: 'v2021_05_19';
|
|
3632
|
+
namespace: 'Calendar';
|
|
3633
|
+
name: '';
|
|
3634
|
+
fields: {
|
|
3635
|
+
/** . */
|
|
3636
|
+
'calendarEventType': {
|
|
3637
|
+
type: 'schema';
|
|
3638
|
+
isRequired: true;
|
|
3639
|
+
options: {
|
|
3640
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.CalendarEventTypeSchema;
|
|
3641
|
+
};
|
|
3642
|
+
};
|
|
3643
|
+
};
|
|
3644
|
+
}
|
|
3645
|
+
interface UpsertCalendarEventTypeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeResponsePayloadSchema> {
|
|
3646
|
+
}
|
|
3647
|
+
}
|
|
3648
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
3649
|
+
interface RegisterEventToolsEmitTarget {
|
|
3650
|
+
'organizationId': string;
|
|
3651
|
+
'calendarEventId': string;
|
|
3652
|
+
}
|
|
3653
|
+
interface RegisterEventToolsEmitTargetSchema extends SpruceSchema.Schema {
|
|
3654
|
+
id: 'registerEventToolsEmitTarget';
|
|
3655
|
+
version: 'v2021_05_19';
|
|
3656
|
+
namespace: 'Calendar';
|
|
3657
|
+
name: '';
|
|
3658
|
+
fields: {
|
|
3659
|
+
/** . */
|
|
3660
|
+
'organizationId': {
|
|
3661
|
+
type: 'id';
|
|
3662
|
+
isRequired: true;
|
|
3663
|
+
options: undefined;
|
|
3664
|
+
};
|
|
3665
|
+
/** . */
|
|
3666
|
+
'calendarEventId': {
|
|
3667
|
+
type: 'id';
|
|
3668
|
+
isRequired: true;
|
|
3669
|
+
options: undefined;
|
|
3670
|
+
};
|
|
3671
|
+
};
|
|
3672
|
+
}
|
|
3673
|
+
interface RegisterEventToolsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.RegisterEventToolsEmitTargetSchema> {
|
|
3674
|
+
}
|
|
3675
|
+
}
|
|
3676
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
3677
|
+
interface RegisterEventToolsEmitPayload {
|
|
3678
|
+
'eventTypeSlug'?: string | undefined | null;
|
|
3679
|
+
}
|
|
3680
|
+
interface RegisterEventToolsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
3681
|
+
id: 'registerEventToolsEmitPayload';
|
|
3682
|
+
version: 'v2021_05_19';
|
|
3683
|
+
namespace: 'Calendar';
|
|
3684
|
+
name: '';
|
|
3685
|
+
fields: {
|
|
3686
|
+
/** . */
|
|
3687
|
+
'eventTypeSlug': {
|
|
3688
|
+
type: 'id';
|
|
3689
|
+
options: undefined;
|
|
3690
|
+
};
|
|
3691
|
+
};
|
|
3692
|
+
}
|
|
3693
|
+
interface RegisterEventToolsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.RegisterEventToolsEmitPayloadSchema> {
|
|
3694
|
+
}
|
|
3695
|
+
}
|
|
3696
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
3697
|
+
interface RegisterEventToolsEmitTargetAndPayload {
|
|
3698
|
+
/** Source. */
|
|
3699
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
3700
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.RegisterEventToolsEmitTarget;
|
|
3701
|
+
'payload'?: SpruceSchemas.Calendar.v2021_05_19.RegisterEventToolsEmitPayload | undefined | null;
|
|
3702
|
+
}
|
|
3703
|
+
interface RegisterEventToolsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
3704
|
+
id: 'registerEventToolsEmitTargetAndPayload';
|
|
3705
|
+
version: 'v2021_05_19';
|
|
3706
|
+
namespace: 'Calendar';
|
|
3707
|
+
name: '';
|
|
3708
|
+
fields: {
|
|
3709
|
+
/** Source. */
|
|
3710
|
+
'source': {
|
|
3711
|
+
label: 'Source';
|
|
3712
|
+
type: 'schema';
|
|
3713
|
+
options: {
|
|
3714
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
3715
|
+
};
|
|
3716
|
+
};
|
|
3717
|
+
/** . */
|
|
3718
|
+
'target': {
|
|
3719
|
+
type: 'schema';
|
|
3720
|
+
isRequired: true;
|
|
3721
|
+
options: {
|
|
3722
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.RegisterEventToolsEmitTargetSchema;
|
|
3723
|
+
};
|
|
3724
|
+
};
|
|
3725
|
+
/** . */
|
|
3726
|
+
'payload': {
|
|
3727
|
+
type: 'schema';
|
|
3728
|
+
options: {
|
|
3729
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.RegisterEventToolsEmitPayloadSchema;
|
|
3730
|
+
};
|
|
3731
|
+
};
|
|
3732
|
+
};
|
|
3733
|
+
}
|
|
3734
|
+
interface RegisterEventToolsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.RegisterEventToolsEmitTargetAndPayloadSchema> {
|
|
3735
|
+
}
|
|
3736
|
+
}
|
|
3737
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
3738
|
+
interface RegisterEventToolsResponsePayload {
|
|
3739
|
+
'vcIds': string[];
|
|
3740
|
+
}
|
|
3741
|
+
interface RegisterEventToolsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
3742
|
+
id: 'registerEventToolsResponsePayload';
|
|
3743
|
+
version: 'v2021_05_19';
|
|
3744
|
+
namespace: 'Calendar';
|
|
3745
|
+
name: '';
|
|
3746
|
+
fields: {
|
|
3747
|
+
/** . */
|
|
3748
|
+
'vcIds': {
|
|
3749
|
+
type: 'id';
|
|
3750
|
+
isRequired: true;
|
|
3751
|
+
isArray: true;
|
|
3752
|
+
minArrayLength: 0;
|
|
3753
|
+
options: undefined;
|
|
3754
|
+
};
|
|
3755
|
+
};
|
|
3756
|
+
}
|
|
3757
|
+
interface RegisterEventToolsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.RegisterEventToolsResponsePayloadSchema> {
|
|
3758
|
+
}
|
|
3759
|
+
}
|
|
3760
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
3761
|
+
interface UpdateCalendarEventEmitTarget {
|
|
3762
|
+
'organizationId'?: string | undefined | null;
|
|
3763
|
+
'locationId'?: string | undefined | null;
|
|
3764
|
+
'calendarEventId': string;
|
|
3765
|
+
'calendarEventPersonId': string;
|
|
3766
|
+
}
|
|
3767
|
+
interface UpdateCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
|
|
3768
|
+
id: 'updateCalendarEventEmitTarget';
|
|
3769
|
+
version: 'v2021_05_19';
|
|
3770
|
+
namespace: 'Calendar';
|
|
3771
|
+
name: '';
|
|
3772
|
+
fields: {
|
|
3773
|
+
/** . */
|
|
3774
|
+
'organizationId': {
|
|
3775
|
+
type: 'id';
|
|
3776
|
+
options: undefined;
|
|
3777
|
+
};
|
|
3778
|
+
/** . */
|
|
3779
|
+
'locationId': {
|
|
3780
|
+
type: 'id';
|
|
3781
|
+
options: undefined;
|
|
3782
|
+
};
|
|
3783
|
+
/** . */
|
|
3784
|
+
'calendarEventId': {
|
|
3785
|
+
type: 'id';
|
|
3786
|
+
isRequired: true;
|
|
3787
|
+
options: undefined;
|
|
3788
|
+
};
|
|
3789
|
+
/** . */
|
|
3790
|
+
'calendarEventPersonId': {
|
|
3791
|
+
type: 'id';
|
|
3792
|
+
isRequired: true;
|
|
3793
|
+
options: undefined;
|
|
3794
|
+
};
|
|
3795
|
+
};
|
|
3796
|
+
}
|
|
3797
|
+
interface UpdateCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetSchema> {
|
|
3798
|
+
}
|
|
3799
|
+
}
|
|
3800
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
3801
|
+
interface UpdateCalendarEventEmitTargetAndPayload {
|
|
3802
|
+
/** Source. */
|
|
3803
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
3804
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTarget;
|
|
3805
|
+
'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayload | undefined | null;
|
|
3806
|
+
}
|
|
3807
|
+
interface UpdateCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
3808
|
+
id: 'updateCalendarEventEmitTargetAndPayload';
|
|
3809
|
+
version: 'v2021_05_19';
|
|
3810
|
+
namespace: 'Calendar';
|
|
3811
|
+
name: '';
|
|
3812
|
+
fields: {
|
|
3813
|
+
/** Source. */
|
|
3814
|
+
'source': {
|
|
3815
|
+
label: 'Source';
|
|
3816
|
+
type: 'schema';
|
|
3817
|
+
options: {
|
|
3818
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
3819
|
+
};
|
|
3820
|
+
};
|
|
3821
|
+
/** . */
|
|
3822
|
+
'target': {
|
|
3823
|
+
type: 'schema';
|
|
3824
|
+
isRequired: true;
|
|
3825
|
+
options: {
|
|
3826
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetSchema;
|
|
3827
|
+
};
|
|
3828
|
+
};
|
|
3829
|
+
/** . */
|
|
3830
|
+
'payload': {
|
|
3831
|
+
type: 'schema';
|
|
3832
|
+
options: {
|
|
3833
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayloadSchema;
|
|
3834
|
+
};
|
|
3835
|
+
};
|
|
3836
|
+
};
|
|
3837
|
+
}
|
|
3838
|
+
interface UpdateCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitTargetAndPayloadSchema> {
|
|
3839
|
+
}
|
|
3840
|
+
}
|
|
3841
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
3842
|
+
interface UpdateCalendarEventEmitPayload {
|
|
3843
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
3844
|
+
'target'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventTarget | undefined | null;
|
|
3845
|
+
'calendarId'?: string | undefined | null;
|
|
3846
|
+
'eventTypeSlug'?: string | undefined | null;
|
|
3847
|
+
'startDateTimeMs'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
3848
|
+
'isBusy'?: boolean | undefined | null;
|
|
3849
|
+
'isResizeable'?: boolean | undefined | null;
|
|
3850
|
+
'style'?: ("draft" | "tentative" | "upcoming" | "unavailable" | "blocked" | "active" | "past" | "warn" | "critical") | undefined | null;
|
|
3851
|
+
'groupId'?: string | undefined | null;
|
|
3852
|
+
'timeBlocks'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventTimeBlock[] | undefined | null;
|
|
3853
|
+
'repeats'?: ("weekly" | "monthly" | "daily") | undefined | null;
|
|
3854
|
+
'daysOfWeek'?: ("sun" | "mon" | "tue" | "wed" | "thur" | "fri" | "sat")[] | undefined | null;
|
|
3855
|
+
'daysOfMonth'?: ("1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "29" | "30" | "31")[] | undefined | null;
|
|
3856
|
+
'repeatsUntil'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
3857
|
+
'occurrences'?: number | undefined | null;
|
|
3858
|
+
'interval'?: number | undefined | null;
|
|
3859
|
+
'nthOccurrences'?: number[] | undefined | null;
|
|
3860
|
+
'exclusionDates'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDate[] | undefined | null;
|
|
3861
|
+
'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
3862
|
+
'nthInRepeating'?: number | undefined | null;
|
|
3863
|
+
'totalInRepeating'?: number | undefined | null;
|
|
3864
|
+
'addToExclusionDates'?: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDate[] | undefined | null;
|
|
3865
|
+
'dateToUpdate'?: number | undefined | null;
|
|
3866
|
+
'shouldUpdateAllEventsGoingForward'?: boolean | undefined | null;
|
|
3867
|
+
/** . It will show on this person's calendar going forward! */
|
|
3868
|
+
'newTargetPersonId'?: string | undefined | null;
|
|
3869
|
+
}
|
|
3870
|
+
interface UpdateCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
|
|
3871
|
+
id: 'updateCalendarEventEmitPayload';
|
|
3872
|
+
version: 'v2021_05_19';
|
|
3873
|
+
namespace: 'Calendar';
|
|
3874
|
+
name: '';
|
|
3875
|
+
fields: {
|
|
3876
|
+
/** . */
|
|
3877
|
+
'source': {
|
|
3878
|
+
type: 'schema';
|
|
3879
|
+
options: {
|
|
3880
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
3881
|
+
};
|
|
3882
|
+
};
|
|
3883
|
+
/** . */
|
|
3884
|
+
'target': {
|
|
3885
|
+
type: 'schema';
|
|
3886
|
+
options: {
|
|
3887
|
+
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventTargetSchema;
|
|
3888
|
+
};
|
|
3889
|
+
};
|
|
3890
|
+
/** . */
|
|
3891
|
+
'calendarId': {
|
|
3892
|
+
type: 'id';
|
|
3893
|
+
options: undefined;
|
|
3894
|
+
};
|
|
3895
|
+
/** . */
|
|
3896
|
+
'eventTypeSlug': {
|
|
3897
|
+
type: 'text';
|
|
3898
|
+
options: undefined;
|
|
3899
|
+
};
|
|
3900
|
+
/** . */
|
|
3901
|
+
'startDateTimeMs': {
|
|
3902
|
+
type: 'dateTime';
|
|
3903
|
+
options: undefined;
|
|
3904
|
+
};
|
|
3905
|
+
/** . */
|
|
3906
|
+
'isBusy': {
|
|
3907
|
+
type: 'boolean';
|
|
3908
|
+
options: undefined;
|
|
3909
|
+
};
|
|
3910
|
+
/** . */
|
|
3911
|
+
'isResizeable': {
|
|
3912
|
+
type: 'boolean';
|
|
3913
|
+
options: undefined;
|
|
3914
|
+
};
|
|
3915
|
+
/** . */
|
|
3916
|
+
'style': {
|
|
3917
|
+
type: 'select';
|
|
3918
|
+
options: {
|
|
3919
|
+
choices: [{
|
|
3920
|
+
"value": "draft";
|
|
3921
|
+
"label": "Draft";
|
|
3922
|
+
}, {
|
|
3923
|
+
"value": "tentative";
|
|
3924
|
+
"label": "Tentative";
|
|
3925
|
+
}, {
|
|
3926
|
+
"value": "upcoming";
|
|
3927
|
+
"label": "Upcoming";
|
|
3928
|
+
}, {
|
|
3929
|
+
"value": "unavailable";
|
|
3930
|
+
"label": "Unavailable";
|
|
3931
|
+
}, {
|
|
3932
|
+
"value": "blocked";
|
|
3933
|
+
"label": "Blocked";
|
|
3934
|
+
}, {
|
|
3935
|
+
"value": "active";
|
|
3936
|
+
"label": "Active";
|
|
3937
|
+
}, {
|
|
3938
|
+
"value": "past";
|
|
3939
|
+
"label": "Past";
|
|
3940
|
+
}, {
|
|
3941
|
+
"value": "warn";
|
|
3942
|
+
"label": "Warning";
|
|
3943
|
+
}, {
|
|
3944
|
+
"value": "critical";
|
|
3945
|
+
"label": "Critical";
|
|
3946
|
+
}];
|
|
3947
|
+
};
|
|
3948
|
+
};
|
|
3949
|
+
/** . */
|
|
3950
|
+
'groupId': {
|
|
3951
|
+
type: 'id';
|
|
3952
|
+
options: undefined;
|
|
3953
|
+
};
|
|
3954
|
+
/** . */
|
|
3955
|
+
'timeBlocks': {
|
|
3956
|
+
type: 'schema';
|
|
3957
|
+
isArray: true;
|
|
3958
|
+
minArrayLength: 1;
|
|
3959
|
+
options: {
|
|
3960
|
+
schema: SpruceSchemas.CalendarUtils.v2021_05_19.EventTimeBlockSchema;
|
|
3961
|
+
};
|
|
3962
|
+
};
|
|
3963
|
+
/** . */
|
|
3964
|
+
'repeats': {
|
|
3965
|
+
type: 'select';
|
|
3966
|
+
options: {
|
|
3967
|
+
choices: [{
|
|
3968
|
+
"value": "weekly";
|
|
3969
|
+
"label": "Weekly";
|
|
3970
|
+
}, {
|
|
3971
|
+
"value": "monthly";
|
|
3972
|
+
"label": "Monthly";
|
|
3973
|
+
}, {
|
|
3974
|
+
"value": "daily";
|
|
3975
|
+
"label": "Daily";
|
|
3976
|
+
}];
|
|
3977
|
+
};
|
|
3978
|
+
};
|
|
3979
|
+
/** . */
|
|
3980
|
+
'daysOfWeek': {
|
|
3981
|
+
type: 'select';
|
|
3982
|
+
isArray: true;
|
|
3983
|
+
options: {
|
|
3984
|
+
choices: [{
|
|
3985
|
+
"value": "sun";
|
|
3986
|
+
"label": "Sunday";
|
|
3987
|
+
}, {
|
|
3988
|
+
"value": "mon";
|
|
3989
|
+
"label": "Monday";
|
|
3990
|
+
}, {
|
|
3991
|
+
"value": "tue";
|
|
3992
|
+
"label": "Tuesday";
|
|
4031
3993
|
}, {
|
|
4032
|
-
"value": "
|
|
4033
|
-
"label": "
|
|
3994
|
+
"value": "wed";
|
|
3995
|
+
"label": "Wednesday";
|
|
4034
3996
|
}, {
|
|
4035
|
-
"value": "
|
|
4036
|
-
"label": "
|
|
3997
|
+
"value": "thur";
|
|
3998
|
+
"label": "Thursday";
|
|
4037
3999
|
}, {
|
|
4038
|
-
"value": "
|
|
4039
|
-
"label": "
|
|
4000
|
+
"value": "fri";
|
|
4001
|
+
"label": "Friday";
|
|
4040
4002
|
}, {
|
|
4041
|
-
"value": "
|
|
4042
|
-
"label": "
|
|
4003
|
+
"value": "sat";
|
|
4004
|
+
"label": "Saturday";
|
|
4005
|
+
}];
|
|
4006
|
+
};
|
|
4007
|
+
};
|
|
4008
|
+
/** . */
|
|
4009
|
+
'daysOfMonth': {
|
|
4010
|
+
type: 'select';
|
|
4011
|
+
isArray: true;
|
|
4012
|
+
options: {
|
|
4013
|
+
choices: [{
|
|
4014
|
+
"value": "1";
|
|
4015
|
+
"label": "1";
|
|
4043
4016
|
}, {
|
|
4044
|
-
"value": "
|
|
4045
|
-
"label": "
|
|
4017
|
+
"value": "2";
|
|
4018
|
+
"label": "2";
|
|
4046
4019
|
}, {
|
|
4047
|
-
"value": "
|
|
4048
|
-
"label": "
|
|
4020
|
+
"value": "3";
|
|
4021
|
+
"label": "3";
|
|
4049
4022
|
}, {
|
|
4050
|
-
"value": "
|
|
4051
|
-
"label": "
|
|
4023
|
+
"value": "4";
|
|
4024
|
+
"label": "4";
|
|
4052
4025
|
}, {
|
|
4053
|
-
"value": "
|
|
4054
|
-
"label": "
|
|
4026
|
+
"value": "5";
|
|
4027
|
+
"label": "5";
|
|
4055
4028
|
}, {
|
|
4056
|
-
"value": "
|
|
4057
|
-
"label": "
|
|
4029
|
+
"value": "6";
|
|
4030
|
+
"label": "6";
|
|
4058
4031
|
}, {
|
|
4059
|
-
"value": "
|
|
4060
|
-
"label": "
|
|
4032
|
+
"value": "7";
|
|
4033
|
+
"label": "7";
|
|
4061
4034
|
}, {
|
|
4062
|
-
"value": "
|
|
4063
|
-
"label": "
|
|
4035
|
+
"value": "8";
|
|
4036
|
+
"label": "8";
|
|
4064
4037
|
}, {
|
|
4065
|
-
"value": "
|
|
4066
|
-
"label": "
|
|
4038
|
+
"value": "9";
|
|
4039
|
+
"label": "9";
|
|
4067
4040
|
}, {
|
|
4068
|
-
"value": "
|
|
4069
|
-
"label": "
|
|
4041
|
+
"value": "10";
|
|
4042
|
+
"label": "10";
|
|
4070
4043
|
}, {
|
|
4071
|
-
"value": "
|
|
4072
|
-
"label": "
|
|
4044
|
+
"value": "11";
|
|
4045
|
+
"label": "11";
|
|
4073
4046
|
}, {
|
|
4074
|
-
"value": "
|
|
4075
|
-
"label": "
|
|
4047
|
+
"value": "12";
|
|
4048
|
+
"label": "12";
|
|
4076
4049
|
}, {
|
|
4077
|
-
"value": "
|
|
4078
|
-
"label": "
|
|
4050
|
+
"value": "13";
|
|
4051
|
+
"label": "13";
|
|
4079
4052
|
}, {
|
|
4080
|
-
"value": "
|
|
4081
|
-
"label": "
|
|
4053
|
+
"value": "14";
|
|
4054
|
+
"label": "14";
|
|
4082
4055
|
}, {
|
|
4083
|
-
"value": "
|
|
4084
|
-
"label": "
|
|
4056
|
+
"value": "15";
|
|
4057
|
+
"label": "15";
|
|
4085
4058
|
}, {
|
|
4086
|
-
"value": "
|
|
4087
|
-
"label": "
|
|
4059
|
+
"value": "16";
|
|
4060
|
+
"label": "16";
|
|
4088
4061
|
}, {
|
|
4089
|
-
"value": "
|
|
4090
|
-
"label": "
|
|
4062
|
+
"value": "17";
|
|
4063
|
+
"label": "17";
|
|
4091
4064
|
}, {
|
|
4092
|
-
"value": "
|
|
4093
|
-
"label": "
|
|
4065
|
+
"value": "18";
|
|
4066
|
+
"label": "18";
|
|
4094
4067
|
}, {
|
|
4095
|
-
"value": "
|
|
4096
|
-
"label": "
|
|
4068
|
+
"value": "19";
|
|
4069
|
+
"label": "19";
|
|
4097
4070
|
}, {
|
|
4098
|
-
"value": "
|
|
4099
|
-
"label": "
|
|
4071
|
+
"value": "20";
|
|
4072
|
+
"label": "20";
|
|
4100
4073
|
}, {
|
|
4101
|
-
"value": "
|
|
4102
|
-
"label": "
|
|
4074
|
+
"value": "21";
|
|
4075
|
+
"label": "21";
|
|
4103
4076
|
}, {
|
|
4104
|
-
"value": "
|
|
4105
|
-
"label": "
|
|
4077
|
+
"value": "22";
|
|
4078
|
+
"label": "22";
|
|
4106
4079
|
}, {
|
|
4107
|
-
"value": "
|
|
4108
|
-
"label": "
|
|
4080
|
+
"value": "23";
|
|
4081
|
+
"label": "23";
|
|
4109
4082
|
}, {
|
|
4110
|
-
"value": "
|
|
4111
|
-
"label": "
|
|
4083
|
+
"value": "24";
|
|
4084
|
+
"label": "24";
|
|
4112
4085
|
}, {
|
|
4113
|
-
"value": "
|
|
4114
|
-
"label": "
|
|
4086
|
+
"value": "25";
|
|
4087
|
+
"label": "25";
|
|
4115
4088
|
}, {
|
|
4116
|
-
"value": "
|
|
4117
|
-
"label": "
|
|
4089
|
+
"value": "26";
|
|
4090
|
+
"label": "26";
|
|
4118
4091
|
}, {
|
|
4119
|
-
"value": "
|
|
4120
|
-
"label": "
|
|
4092
|
+
"value": "27";
|
|
4093
|
+
"label": "27";
|
|
4121
4094
|
}, {
|
|
4122
|
-
"value": "
|
|
4123
|
-
"label": "
|
|
4095
|
+
"value": "28";
|
|
4096
|
+
"label": "28";
|
|
4124
4097
|
}, {
|
|
4125
|
-
"value": "
|
|
4126
|
-
"label": "
|
|
4098
|
+
"value": "29";
|
|
4099
|
+
"label": "29";
|
|
4127
4100
|
}, {
|
|
4128
|
-
"value": "
|
|
4129
|
-
"label": "
|
|
4101
|
+
"value": "30";
|
|
4102
|
+
"label": "30";
|
|
4130
4103
|
}, {
|
|
4131
|
-
"value": "
|
|
4132
|
-
"label": "
|
|
4104
|
+
"value": "31";
|
|
4105
|
+
"label": "31";
|
|
4133
4106
|
}];
|
|
4134
4107
|
};
|
|
4135
4108
|
};
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
}
|
|
4141
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
4142
|
-
interface UpsertCalendarEventTypeEmitTargetAndPayload {
|
|
4143
|
-
/** Source. */
|
|
4144
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
4145
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitTarget;
|
|
4146
|
-
'payload'?: SpruceSchemas.Calendar.v2021_05_19.UpsertCalendarEventTypeEmitPayload | undefined | null;
|
|
4147
|
-
}
|
|
4148
|
-
interface UpsertCalendarEventTypeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
4149
|
-
id: 'upsertCalendarEventTypeEmitTargetAndPayload';
|
|
4150
|
-
version: 'v2021_05_19';
|
|
4151
|
-
namespace: 'Calendar';
|
|
4152
|
-
name: '';
|
|
4153
|
-
fields: {
|
|
4154
|
-
/** Source. */
|
|
4155
|
-
'source': {
|
|
4156
|
-
label: 'Source';
|
|
4157
|
-
type: 'schema';
|
|
4158
|
-
options: {
|
|
4159
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
4160
|
-
};
|
|
4109
|
+
/** . */
|
|
4110
|
+
'repeatsUntil': {
|
|
4111
|
+
type: 'dateTime';
|
|
4112
|
+
options: undefined;
|
|
4161
4113
|
};
|
|
4162
4114
|
/** . */
|
|
4163
|
-
'
|
|
4115
|
+
'occurrences': {
|
|
4116
|
+
type: 'number';
|
|
4117
|
+
options: undefined;
|
|
4118
|
+
};
|
|
4119
|
+
/** . */
|
|
4120
|
+
'interval': {
|
|
4121
|
+
type: 'number';
|
|
4122
|
+
options: undefined;
|
|
4123
|
+
};
|
|
4124
|
+
/** . */
|
|
4125
|
+
'nthOccurrences': {
|
|
4126
|
+
type: 'number';
|
|
4127
|
+
isArray: true;
|
|
4128
|
+
options: undefined;
|
|
4129
|
+
};
|
|
4130
|
+
/** . */
|
|
4131
|
+
'exclusionDates': {
|
|
4164
4132
|
type: 'schema';
|
|
4165
|
-
|
|
4133
|
+
isArray: true;
|
|
4166
4134
|
options: {
|
|
4167
|
-
schema: SpruceSchemas.
|
|
4135
|
+
schema: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDateSchema;
|
|
4168
4136
|
};
|
|
4169
4137
|
};
|
|
4170
4138
|
/** . */
|
|
4171
|
-
'
|
|
4139
|
+
'dateDeleted': {
|
|
4140
|
+
type: 'dateTime';
|
|
4141
|
+
options: undefined;
|
|
4142
|
+
};
|
|
4143
|
+
/** . */
|
|
4144
|
+
'nthInRepeating': {
|
|
4145
|
+
type: 'number';
|
|
4146
|
+
options: undefined;
|
|
4147
|
+
};
|
|
4148
|
+
/** . */
|
|
4149
|
+
'totalInRepeating': {
|
|
4150
|
+
type: 'number';
|
|
4151
|
+
options: undefined;
|
|
4152
|
+
};
|
|
4153
|
+
/** . */
|
|
4154
|
+
'addToExclusionDates': {
|
|
4172
4155
|
type: 'schema';
|
|
4156
|
+
isArray: true;
|
|
4173
4157
|
options: {
|
|
4174
|
-
schema: SpruceSchemas.
|
|
4158
|
+
schema: SpruceSchemas.CalendarUtils.v2021_05_19.EventExclusionDateSchema;
|
|
4175
4159
|
};
|
|
4176
4160
|
};
|
|
4161
|
+
/** . */
|
|
4162
|
+
'dateToUpdate': {
|
|
4163
|
+
type: 'number';
|
|
4164
|
+
options: undefined;
|
|
4165
|
+
};
|
|
4166
|
+
/** . */
|
|
4167
|
+
'shouldUpdateAllEventsGoingForward': {
|
|
4168
|
+
type: 'boolean';
|
|
4169
|
+
options: undefined;
|
|
4170
|
+
};
|
|
4171
|
+
/** . It will show on this person's calendar going forward! */
|
|
4172
|
+
'newTargetPersonId': {
|
|
4173
|
+
type: 'id';
|
|
4174
|
+
hint: 'It will show on this person\'s calendar going forward!';
|
|
4175
|
+
options: undefined;
|
|
4176
|
+
};
|
|
4177
4177
|
};
|
|
4178
4178
|
}
|
|
4179
|
-
interface
|
|
4179
|
+
interface UpdateCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventEmitPayloadSchema> {
|
|
4180
4180
|
}
|
|
4181
4181
|
}
|
|
4182
4182
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
4183
|
-
interface
|
|
4184
|
-
'
|
|
4183
|
+
interface UpdateCalendarEventResponsePayload {
|
|
4184
|
+
'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
|
|
4185
4185
|
}
|
|
4186
|
-
interface
|
|
4187
|
-
id: '
|
|
4186
|
+
interface UpdateCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
|
|
4187
|
+
id: 'updateCalendarEventResponsePayload';
|
|
4188
4188
|
version: 'v2021_05_19';
|
|
4189
4189
|
namespace: 'Calendar';
|
|
4190
4190
|
name: '';
|
|
4191
4191
|
fields: {
|
|
4192
4192
|
/** . */
|
|
4193
|
-
'
|
|
4193
|
+
'calendarEvent': {
|
|
4194
4194
|
type: 'schema';
|
|
4195
4195
|
isRequired: true;
|
|
4196
4196
|
options: {
|
|
4197
|
-
schema: SpruceSchemas.
|
|
4197
|
+
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
4198
4198
|
};
|
|
4199
4199
|
};
|
|
4200
4200
|
};
|
|
4201
4201
|
}
|
|
4202
|
-
interface
|
|
4202
|
+
interface UpdateCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventResponsePayloadSchema> {
|
|
4203
4203
|
}
|
|
4204
4204
|
}
|
|
4205
4205
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|