@sprucelabs/spruce-calendar-components 28.3.75 → 28.3.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -720,13 +720,13 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
720
720
|
}
|
|
721
721
|
}
|
|
722
722
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
723
|
-
interface
|
|
723
|
+
interface ListCalendarEventTypesEmitTargetAndPayload {
|
|
724
724
|
/** Source. */
|
|
725
725
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
726
|
-
'
|
|
726
|
+
'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayload | undefined | null;
|
|
727
727
|
}
|
|
728
|
-
interface
|
|
729
|
-
id: '
|
|
728
|
+
interface ListCalendarEventTypesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
729
|
+
id: 'listCalendarEventTypesEmitTargetAndPayload';
|
|
730
730
|
version: 'v2021_05_19';
|
|
731
731
|
namespace: 'Calendar';
|
|
732
732
|
name: '';
|
|
@@ -740,84 +740,118 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
740
740
|
};
|
|
741
741
|
};
|
|
742
742
|
/** . */
|
|
743
|
-
'
|
|
743
|
+
'payload': {
|
|
744
744
|
type: 'schema';
|
|
745
|
-
isRequired: true;
|
|
746
745
|
options: {
|
|
747
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
746
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema;
|
|
748
747
|
};
|
|
749
748
|
};
|
|
750
749
|
};
|
|
751
750
|
}
|
|
752
|
-
interface
|
|
751
|
+
interface ListCalendarEventTypesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitTargetAndPayloadSchema> {
|
|
753
752
|
}
|
|
754
753
|
}
|
|
755
754
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
756
|
-
interface
|
|
757
|
-
|
|
758
|
-
'
|
|
759
|
-
'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayload | undefined | null;
|
|
755
|
+
interface CancelCalendarEventEmitTarget {
|
|
756
|
+
'locationId': string;
|
|
757
|
+
'calendarEventId': string;
|
|
760
758
|
}
|
|
761
|
-
interface
|
|
762
|
-
id: '
|
|
759
|
+
interface CancelCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
|
|
760
|
+
id: 'cancelCalendarEventEmitTarget';
|
|
763
761
|
version: 'v2021_05_19';
|
|
764
762
|
namespace: 'Calendar';
|
|
765
763
|
name: '';
|
|
766
764
|
fields: {
|
|
767
|
-
/**
|
|
768
|
-
'
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
options:
|
|
772
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
773
|
-
};
|
|
765
|
+
/** . */
|
|
766
|
+
'locationId': {
|
|
767
|
+
type: 'id';
|
|
768
|
+
isRequired: true;
|
|
769
|
+
options: undefined;
|
|
774
770
|
};
|
|
775
771
|
/** . */
|
|
776
|
-
'
|
|
777
|
-
type: '
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
};
|
|
772
|
+
'calendarEventId': {
|
|
773
|
+
type: 'id';
|
|
774
|
+
isRequired: true;
|
|
775
|
+
options: undefined;
|
|
781
776
|
};
|
|
782
777
|
};
|
|
783
778
|
}
|
|
784
|
-
interface
|
|
779
|
+
interface CancelCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema> {
|
|
785
780
|
}
|
|
786
781
|
}
|
|
787
782
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
788
|
-
interface
|
|
789
|
-
'
|
|
790
|
-
'
|
|
783
|
+
interface CancelCalendarEventEmitPayload {
|
|
784
|
+
'dateToCancel'?: number | undefined | null;
|
|
785
|
+
'shouldCancelAllEventsGoingForward'?: boolean | undefined | null;
|
|
791
786
|
}
|
|
792
|
-
interface
|
|
793
|
-
id: '
|
|
787
|
+
interface CancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
|
|
788
|
+
id: 'cancelCalendarEventEmitPayload';
|
|
794
789
|
version: 'v2021_05_19';
|
|
795
790
|
namespace: 'Calendar';
|
|
796
791
|
name: '';
|
|
797
792
|
fields: {
|
|
798
793
|
/** . */
|
|
799
|
-
'
|
|
800
|
-
type: '
|
|
801
|
-
isRequired: true;
|
|
794
|
+
'dateToCancel': {
|
|
795
|
+
type: 'number';
|
|
802
796
|
options: undefined;
|
|
803
797
|
};
|
|
804
798
|
/** . */
|
|
805
|
-
'
|
|
806
|
-
type: '
|
|
807
|
-
isRequired: true;
|
|
799
|
+
'shouldCancelAllEventsGoingForward': {
|
|
800
|
+
type: 'boolean';
|
|
808
801
|
options: undefined;
|
|
809
802
|
};
|
|
810
803
|
};
|
|
811
804
|
}
|
|
812
|
-
interface
|
|
805
|
+
interface CancelCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema> {
|
|
813
806
|
}
|
|
814
807
|
}
|
|
815
808
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
816
|
-
interface
|
|
817
|
-
|
|
809
|
+
interface CancelCalendarEventEmitTargetAndPayload {
|
|
810
|
+
/** Source. */
|
|
811
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
812
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTarget;
|
|
813
|
+
'payload'?: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayload | undefined | null;
|
|
818
814
|
}
|
|
819
|
-
interface
|
|
820
|
-
id: '
|
|
815
|
+
interface CancelCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
816
|
+
id: 'cancelCalendarEventEmitTargetAndPayload';
|
|
817
|
+
version: 'v2021_05_19';
|
|
818
|
+
namespace: 'Calendar';
|
|
819
|
+
name: '';
|
|
820
|
+
fields: {
|
|
821
|
+
/** Source. */
|
|
822
|
+
'source': {
|
|
823
|
+
label: 'Source';
|
|
824
|
+
type: 'schema';
|
|
825
|
+
options: {
|
|
826
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
827
|
+
};
|
|
828
|
+
};
|
|
829
|
+
/** . */
|
|
830
|
+
'target': {
|
|
831
|
+
type: 'schema';
|
|
832
|
+
isRequired: true;
|
|
833
|
+
options: {
|
|
834
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema;
|
|
835
|
+
};
|
|
836
|
+
};
|
|
837
|
+
/** . */
|
|
838
|
+
'payload': {
|
|
839
|
+
type: 'schema';
|
|
840
|
+
options: {
|
|
841
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema;
|
|
842
|
+
};
|
|
843
|
+
};
|
|
844
|
+
};
|
|
845
|
+
}
|
|
846
|
+
interface CancelCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetAndPayloadSchema> {
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
850
|
+
interface CancelCalendarEventResponsePayload {
|
|
851
|
+
'totalDeleted': number;
|
|
852
|
+
}
|
|
853
|
+
interface CancelCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
|
|
854
|
+
id: 'cancelCalendarEventResponsePayload';
|
|
821
855
|
version: 'v2021_05_19';
|
|
822
856
|
namespace: 'Calendar';
|
|
823
857
|
name: '';
|
|
@@ -825,11 +859,12 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
825
859
|
/** . */
|
|
826
860
|
'totalDeleted': {
|
|
827
861
|
type: 'number';
|
|
862
|
+
isRequired: true;
|
|
828
863
|
options: undefined;
|
|
829
864
|
};
|
|
830
865
|
};
|
|
831
866
|
}
|
|
832
|
-
interface
|
|
867
|
+
interface CancelCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventResponsePayloadSchema> {
|
|
833
868
|
}
|
|
834
869
|
}
|
|
835
870
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
@@ -968,122 +1003,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
968
1003
|
interface CreateCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CreateCalendarResponsePayloadSchema> {
|
|
969
1004
|
}
|
|
970
1005
|
}
|
|
971
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
972
|
-
interface CancelCalendarEventEmitTarget {
|
|
973
|
-
'locationId': string;
|
|
974
|
-
'calendarEventId': string;
|
|
975
|
-
}
|
|
976
|
-
interface CancelCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
|
|
977
|
-
id: 'cancelCalendarEventEmitTarget';
|
|
978
|
-
version: 'v2021_05_19';
|
|
979
|
-
namespace: 'Calendar';
|
|
980
|
-
name: '';
|
|
981
|
-
fields: {
|
|
982
|
-
/** . */
|
|
983
|
-
'locationId': {
|
|
984
|
-
type: 'id';
|
|
985
|
-
isRequired: true;
|
|
986
|
-
options: undefined;
|
|
987
|
-
};
|
|
988
|
-
/** . */
|
|
989
|
-
'calendarEventId': {
|
|
990
|
-
type: 'id';
|
|
991
|
-
isRequired: true;
|
|
992
|
-
options: undefined;
|
|
993
|
-
};
|
|
994
|
-
};
|
|
995
|
-
}
|
|
996
|
-
interface CancelCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema> {
|
|
997
|
-
}
|
|
998
|
-
}
|
|
999
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1000
|
-
interface CancelCalendarEventEmitPayload {
|
|
1001
|
-
'dateToCancel'?: number | undefined | null;
|
|
1002
|
-
'shouldCancelAllEventsGoingForward'?: boolean | undefined | null;
|
|
1003
|
-
}
|
|
1004
|
-
interface CancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1005
|
-
id: 'cancelCalendarEventEmitPayload';
|
|
1006
|
-
version: 'v2021_05_19';
|
|
1007
|
-
namespace: 'Calendar';
|
|
1008
|
-
name: '';
|
|
1009
|
-
fields: {
|
|
1010
|
-
/** . */
|
|
1011
|
-
'dateToCancel': {
|
|
1012
|
-
type: 'number';
|
|
1013
|
-
options: undefined;
|
|
1014
|
-
};
|
|
1015
|
-
/** . */
|
|
1016
|
-
'shouldCancelAllEventsGoingForward': {
|
|
1017
|
-
type: 'boolean';
|
|
1018
|
-
options: undefined;
|
|
1019
|
-
};
|
|
1020
|
-
};
|
|
1021
|
-
}
|
|
1022
|
-
interface CancelCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema> {
|
|
1023
|
-
}
|
|
1024
|
-
}
|
|
1025
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1026
|
-
interface CancelCalendarEventEmitTargetAndPayload {
|
|
1027
|
-
/** Source. */
|
|
1028
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1029
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTarget;
|
|
1030
|
-
'payload'?: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayload | undefined | null;
|
|
1031
|
-
}
|
|
1032
|
-
interface CancelCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1033
|
-
id: 'cancelCalendarEventEmitTargetAndPayload';
|
|
1034
|
-
version: 'v2021_05_19';
|
|
1035
|
-
namespace: 'Calendar';
|
|
1036
|
-
name: '';
|
|
1037
|
-
fields: {
|
|
1038
|
-
/** Source. */
|
|
1039
|
-
'source': {
|
|
1040
|
-
label: 'Source';
|
|
1041
|
-
type: 'schema';
|
|
1042
|
-
options: {
|
|
1043
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1044
|
-
};
|
|
1045
|
-
};
|
|
1046
|
-
/** . */
|
|
1047
|
-
'target': {
|
|
1048
|
-
type: 'schema';
|
|
1049
|
-
isRequired: true;
|
|
1050
|
-
options: {
|
|
1051
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema;
|
|
1052
|
-
};
|
|
1053
|
-
};
|
|
1054
|
-
/** . */
|
|
1055
|
-
'payload': {
|
|
1056
|
-
type: 'schema';
|
|
1057
|
-
options: {
|
|
1058
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema;
|
|
1059
|
-
};
|
|
1060
|
-
};
|
|
1061
|
-
};
|
|
1062
|
-
}
|
|
1063
|
-
interface CancelCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetAndPayloadSchema> {
|
|
1064
|
-
}
|
|
1065
|
-
}
|
|
1066
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1067
|
-
interface CancelCalendarEventResponsePayload {
|
|
1068
|
-
'totalDeleted': number;
|
|
1069
|
-
}
|
|
1070
|
-
interface CancelCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
|
|
1071
|
-
id: 'cancelCalendarEventResponsePayload';
|
|
1072
|
-
version: 'v2021_05_19';
|
|
1073
|
-
namespace: 'Calendar';
|
|
1074
|
-
name: '';
|
|
1075
|
-
fields: {
|
|
1076
|
-
/** . */
|
|
1077
|
-
'totalDeleted': {
|
|
1078
|
-
type: 'number';
|
|
1079
|
-
isRequired: true;
|
|
1080
|
-
options: undefined;
|
|
1081
|
-
};
|
|
1082
|
-
};
|
|
1083
|
-
}
|
|
1084
|
-
interface CancelCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventResponsePayloadSchema> {
|
|
1085
|
-
}
|
|
1086
|
-
}
|
|
1087
1006
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1088
1007
|
interface CreateCalendarEventTypeEmitPayload {
|
|
1089
1008
|
'name': string;
|
|
@@ -1593,6 +1512,87 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
1593
1512
|
interface CreateCalendarEventTypeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CreateCalendarEventTypeResponsePayloadSchema> {
|
|
1594
1513
|
}
|
|
1595
1514
|
}
|
|
1515
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1516
|
+
interface DeleteCalendarEmitTarget {
|
|
1517
|
+
'organizationId': string;
|
|
1518
|
+
'calendarId': string;
|
|
1519
|
+
}
|
|
1520
|
+
interface DeleteCalendarEmitTargetSchema extends SpruceSchema.Schema {
|
|
1521
|
+
id: 'deleteCalendarEmitTarget';
|
|
1522
|
+
version: 'v2021_05_19';
|
|
1523
|
+
namespace: 'Calendar';
|
|
1524
|
+
name: '';
|
|
1525
|
+
fields: {
|
|
1526
|
+
/** . */
|
|
1527
|
+
'organizationId': {
|
|
1528
|
+
type: 'id';
|
|
1529
|
+
isRequired: true;
|
|
1530
|
+
options: undefined;
|
|
1531
|
+
};
|
|
1532
|
+
/** . */
|
|
1533
|
+
'calendarId': {
|
|
1534
|
+
type: 'id';
|
|
1535
|
+
isRequired: true;
|
|
1536
|
+
options: undefined;
|
|
1537
|
+
};
|
|
1538
|
+
};
|
|
1539
|
+
}
|
|
1540
|
+
interface DeleteCalendarEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetSchema> {
|
|
1541
|
+
}
|
|
1542
|
+
}
|
|
1543
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1544
|
+
interface DeleteCalendarEmitTargetAndPayload {
|
|
1545
|
+
/** Source. */
|
|
1546
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1547
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTarget;
|
|
1548
|
+
}
|
|
1549
|
+
interface DeleteCalendarEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1550
|
+
id: 'deleteCalendarEmitTargetAndPayload';
|
|
1551
|
+
version: 'v2021_05_19';
|
|
1552
|
+
namespace: 'Calendar';
|
|
1553
|
+
name: '';
|
|
1554
|
+
fields: {
|
|
1555
|
+
/** Source. */
|
|
1556
|
+
'source': {
|
|
1557
|
+
label: 'Source';
|
|
1558
|
+
type: 'schema';
|
|
1559
|
+
options: {
|
|
1560
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1561
|
+
};
|
|
1562
|
+
};
|
|
1563
|
+
/** . */
|
|
1564
|
+
'target': {
|
|
1565
|
+
type: 'schema';
|
|
1566
|
+
isRequired: true;
|
|
1567
|
+
options: {
|
|
1568
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetSchema;
|
|
1569
|
+
};
|
|
1570
|
+
};
|
|
1571
|
+
};
|
|
1572
|
+
}
|
|
1573
|
+
interface DeleteCalendarEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetAndPayloadSchema> {
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1577
|
+
interface DeleteCalendarResponsePayload {
|
|
1578
|
+
'totalDeleted'?: number | undefined | null;
|
|
1579
|
+
}
|
|
1580
|
+
interface DeleteCalendarResponsePayloadSchema extends SpruceSchema.Schema {
|
|
1581
|
+
id: 'deleteCalendarResponsePayload';
|
|
1582
|
+
version: 'v2021_05_19';
|
|
1583
|
+
namespace: 'Calendar';
|
|
1584
|
+
name: '';
|
|
1585
|
+
fields: {
|
|
1586
|
+
/** . */
|
|
1587
|
+
'totalDeleted': {
|
|
1588
|
+
type: 'number';
|
|
1589
|
+
options: undefined;
|
|
1590
|
+
};
|
|
1591
|
+
};
|
|
1592
|
+
}
|
|
1593
|
+
interface DeleteCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarResponsePayloadSchema> {
|
|
1594
|
+
}
|
|
1595
|
+
}
|
|
1596
1596
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1597
1597
|
interface DidCancelCalendarEventEmitTarget {
|
|
1598
1598
|
'locationId': string;
|
|
@@ -720,13 +720,13 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
720
720
|
}
|
|
721
721
|
}
|
|
722
722
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
723
|
-
interface
|
|
723
|
+
interface ListCalendarEventTypesEmitTargetAndPayload {
|
|
724
724
|
/** Source. */
|
|
725
725
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
726
|
-
'
|
|
726
|
+
'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayload | undefined | null;
|
|
727
727
|
}
|
|
728
|
-
interface
|
|
729
|
-
id: '
|
|
728
|
+
interface ListCalendarEventTypesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
729
|
+
id: 'listCalendarEventTypesEmitTargetAndPayload';
|
|
730
730
|
version: 'v2021_05_19';
|
|
731
731
|
namespace: 'Calendar';
|
|
732
732
|
name: '';
|
|
@@ -740,84 +740,118 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
740
740
|
};
|
|
741
741
|
};
|
|
742
742
|
/** . */
|
|
743
|
-
'
|
|
743
|
+
'payload': {
|
|
744
744
|
type: 'schema';
|
|
745
|
-
isRequired: true;
|
|
746
745
|
options: {
|
|
747
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
746
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema;
|
|
748
747
|
};
|
|
749
748
|
};
|
|
750
749
|
};
|
|
751
750
|
}
|
|
752
|
-
interface
|
|
751
|
+
interface ListCalendarEventTypesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitTargetAndPayloadSchema> {
|
|
753
752
|
}
|
|
754
753
|
}
|
|
755
754
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
756
|
-
interface
|
|
757
|
-
|
|
758
|
-
'
|
|
759
|
-
'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayload | undefined | null;
|
|
755
|
+
interface CancelCalendarEventEmitTarget {
|
|
756
|
+
'locationId': string;
|
|
757
|
+
'calendarEventId': string;
|
|
760
758
|
}
|
|
761
|
-
interface
|
|
762
|
-
id: '
|
|
759
|
+
interface CancelCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
|
|
760
|
+
id: 'cancelCalendarEventEmitTarget';
|
|
763
761
|
version: 'v2021_05_19';
|
|
764
762
|
namespace: 'Calendar';
|
|
765
763
|
name: '';
|
|
766
764
|
fields: {
|
|
767
|
-
/**
|
|
768
|
-
'
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
options:
|
|
772
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
773
|
-
};
|
|
765
|
+
/** . */
|
|
766
|
+
'locationId': {
|
|
767
|
+
type: 'id';
|
|
768
|
+
isRequired: true;
|
|
769
|
+
options: undefined;
|
|
774
770
|
};
|
|
775
771
|
/** . */
|
|
776
|
-
'
|
|
777
|
-
type: '
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
};
|
|
772
|
+
'calendarEventId': {
|
|
773
|
+
type: 'id';
|
|
774
|
+
isRequired: true;
|
|
775
|
+
options: undefined;
|
|
781
776
|
};
|
|
782
777
|
};
|
|
783
778
|
}
|
|
784
|
-
interface
|
|
779
|
+
interface CancelCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema> {
|
|
785
780
|
}
|
|
786
781
|
}
|
|
787
782
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
788
|
-
interface
|
|
789
|
-
'
|
|
790
|
-
'
|
|
783
|
+
interface CancelCalendarEventEmitPayload {
|
|
784
|
+
'dateToCancel'?: number | undefined | null;
|
|
785
|
+
'shouldCancelAllEventsGoingForward'?: boolean | undefined | null;
|
|
791
786
|
}
|
|
792
|
-
interface
|
|
793
|
-
id: '
|
|
787
|
+
interface CancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
|
|
788
|
+
id: 'cancelCalendarEventEmitPayload';
|
|
794
789
|
version: 'v2021_05_19';
|
|
795
790
|
namespace: 'Calendar';
|
|
796
791
|
name: '';
|
|
797
792
|
fields: {
|
|
798
793
|
/** . */
|
|
799
|
-
'
|
|
800
|
-
type: '
|
|
801
|
-
isRequired: true;
|
|
794
|
+
'dateToCancel': {
|
|
795
|
+
type: 'number';
|
|
802
796
|
options: undefined;
|
|
803
797
|
};
|
|
804
798
|
/** . */
|
|
805
|
-
'
|
|
806
|
-
type: '
|
|
807
|
-
isRequired: true;
|
|
799
|
+
'shouldCancelAllEventsGoingForward': {
|
|
800
|
+
type: 'boolean';
|
|
808
801
|
options: undefined;
|
|
809
802
|
};
|
|
810
803
|
};
|
|
811
804
|
}
|
|
812
|
-
interface
|
|
805
|
+
interface CancelCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema> {
|
|
813
806
|
}
|
|
814
807
|
}
|
|
815
808
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
816
|
-
interface
|
|
817
|
-
|
|
809
|
+
interface CancelCalendarEventEmitTargetAndPayload {
|
|
810
|
+
/** Source. */
|
|
811
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
812
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTarget;
|
|
813
|
+
'payload'?: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayload | undefined | null;
|
|
818
814
|
}
|
|
819
|
-
interface
|
|
820
|
-
id: '
|
|
815
|
+
interface CancelCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
816
|
+
id: 'cancelCalendarEventEmitTargetAndPayload';
|
|
817
|
+
version: 'v2021_05_19';
|
|
818
|
+
namespace: 'Calendar';
|
|
819
|
+
name: '';
|
|
820
|
+
fields: {
|
|
821
|
+
/** Source. */
|
|
822
|
+
'source': {
|
|
823
|
+
label: 'Source';
|
|
824
|
+
type: 'schema';
|
|
825
|
+
options: {
|
|
826
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
827
|
+
};
|
|
828
|
+
};
|
|
829
|
+
/** . */
|
|
830
|
+
'target': {
|
|
831
|
+
type: 'schema';
|
|
832
|
+
isRequired: true;
|
|
833
|
+
options: {
|
|
834
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema;
|
|
835
|
+
};
|
|
836
|
+
};
|
|
837
|
+
/** . */
|
|
838
|
+
'payload': {
|
|
839
|
+
type: 'schema';
|
|
840
|
+
options: {
|
|
841
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema;
|
|
842
|
+
};
|
|
843
|
+
};
|
|
844
|
+
};
|
|
845
|
+
}
|
|
846
|
+
interface CancelCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetAndPayloadSchema> {
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
850
|
+
interface CancelCalendarEventResponsePayload {
|
|
851
|
+
'totalDeleted': number;
|
|
852
|
+
}
|
|
853
|
+
interface CancelCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
|
|
854
|
+
id: 'cancelCalendarEventResponsePayload';
|
|
821
855
|
version: 'v2021_05_19';
|
|
822
856
|
namespace: 'Calendar';
|
|
823
857
|
name: '';
|
|
@@ -825,11 +859,12 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
825
859
|
/** . */
|
|
826
860
|
'totalDeleted': {
|
|
827
861
|
type: 'number';
|
|
862
|
+
isRequired: true;
|
|
828
863
|
options: undefined;
|
|
829
864
|
};
|
|
830
865
|
};
|
|
831
866
|
}
|
|
832
|
-
interface
|
|
867
|
+
interface CancelCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventResponsePayloadSchema> {
|
|
833
868
|
}
|
|
834
869
|
}
|
|
835
870
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
@@ -968,122 +1003,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
968
1003
|
interface CreateCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CreateCalendarResponsePayloadSchema> {
|
|
969
1004
|
}
|
|
970
1005
|
}
|
|
971
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
972
|
-
interface CancelCalendarEventEmitTarget {
|
|
973
|
-
'locationId': string;
|
|
974
|
-
'calendarEventId': string;
|
|
975
|
-
}
|
|
976
|
-
interface CancelCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
|
|
977
|
-
id: 'cancelCalendarEventEmitTarget';
|
|
978
|
-
version: 'v2021_05_19';
|
|
979
|
-
namespace: 'Calendar';
|
|
980
|
-
name: '';
|
|
981
|
-
fields: {
|
|
982
|
-
/** . */
|
|
983
|
-
'locationId': {
|
|
984
|
-
type: 'id';
|
|
985
|
-
isRequired: true;
|
|
986
|
-
options: undefined;
|
|
987
|
-
};
|
|
988
|
-
/** . */
|
|
989
|
-
'calendarEventId': {
|
|
990
|
-
type: 'id';
|
|
991
|
-
isRequired: true;
|
|
992
|
-
options: undefined;
|
|
993
|
-
};
|
|
994
|
-
};
|
|
995
|
-
}
|
|
996
|
-
interface CancelCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema> {
|
|
997
|
-
}
|
|
998
|
-
}
|
|
999
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1000
|
-
interface CancelCalendarEventEmitPayload {
|
|
1001
|
-
'dateToCancel'?: number | undefined | null;
|
|
1002
|
-
'shouldCancelAllEventsGoingForward'?: boolean | undefined | null;
|
|
1003
|
-
}
|
|
1004
|
-
interface CancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1005
|
-
id: 'cancelCalendarEventEmitPayload';
|
|
1006
|
-
version: 'v2021_05_19';
|
|
1007
|
-
namespace: 'Calendar';
|
|
1008
|
-
name: '';
|
|
1009
|
-
fields: {
|
|
1010
|
-
/** . */
|
|
1011
|
-
'dateToCancel': {
|
|
1012
|
-
type: 'number';
|
|
1013
|
-
options: undefined;
|
|
1014
|
-
};
|
|
1015
|
-
/** . */
|
|
1016
|
-
'shouldCancelAllEventsGoingForward': {
|
|
1017
|
-
type: 'boolean';
|
|
1018
|
-
options: undefined;
|
|
1019
|
-
};
|
|
1020
|
-
};
|
|
1021
|
-
}
|
|
1022
|
-
interface CancelCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema> {
|
|
1023
|
-
}
|
|
1024
|
-
}
|
|
1025
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1026
|
-
interface CancelCalendarEventEmitTargetAndPayload {
|
|
1027
|
-
/** Source. */
|
|
1028
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1029
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTarget;
|
|
1030
|
-
'payload'?: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayload | undefined | null;
|
|
1031
|
-
}
|
|
1032
|
-
interface CancelCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1033
|
-
id: 'cancelCalendarEventEmitTargetAndPayload';
|
|
1034
|
-
version: 'v2021_05_19';
|
|
1035
|
-
namespace: 'Calendar';
|
|
1036
|
-
name: '';
|
|
1037
|
-
fields: {
|
|
1038
|
-
/** Source. */
|
|
1039
|
-
'source': {
|
|
1040
|
-
label: 'Source';
|
|
1041
|
-
type: 'schema';
|
|
1042
|
-
options: {
|
|
1043
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1044
|
-
};
|
|
1045
|
-
};
|
|
1046
|
-
/** . */
|
|
1047
|
-
'target': {
|
|
1048
|
-
type: 'schema';
|
|
1049
|
-
isRequired: true;
|
|
1050
|
-
options: {
|
|
1051
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetSchema;
|
|
1052
|
-
};
|
|
1053
|
-
};
|
|
1054
|
-
/** . */
|
|
1055
|
-
'payload': {
|
|
1056
|
-
type: 'schema';
|
|
1057
|
-
options: {
|
|
1058
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitPayloadSchema;
|
|
1059
|
-
};
|
|
1060
|
-
};
|
|
1061
|
-
};
|
|
1062
|
-
}
|
|
1063
|
-
interface CancelCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventEmitTargetAndPayloadSchema> {
|
|
1064
|
-
}
|
|
1065
|
-
}
|
|
1066
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1067
|
-
interface CancelCalendarEventResponsePayload {
|
|
1068
|
-
'totalDeleted': number;
|
|
1069
|
-
}
|
|
1070
|
-
interface CancelCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
|
|
1071
|
-
id: 'cancelCalendarEventResponsePayload';
|
|
1072
|
-
version: 'v2021_05_19';
|
|
1073
|
-
namespace: 'Calendar';
|
|
1074
|
-
name: '';
|
|
1075
|
-
fields: {
|
|
1076
|
-
/** . */
|
|
1077
|
-
'totalDeleted': {
|
|
1078
|
-
type: 'number';
|
|
1079
|
-
isRequired: true;
|
|
1080
|
-
options: undefined;
|
|
1081
|
-
};
|
|
1082
|
-
};
|
|
1083
|
-
}
|
|
1084
|
-
interface CancelCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CancelCalendarEventResponsePayloadSchema> {
|
|
1085
|
-
}
|
|
1086
|
-
}
|
|
1087
1006
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1088
1007
|
interface CreateCalendarEventTypeEmitPayload {
|
|
1089
1008
|
'name': string;
|
|
@@ -1593,6 +1512,87 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
1593
1512
|
interface CreateCalendarEventTypeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CreateCalendarEventTypeResponsePayloadSchema> {
|
|
1594
1513
|
}
|
|
1595
1514
|
}
|
|
1515
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1516
|
+
interface DeleteCalendarEmitTarget {
|
|
1517
|
+
'organizationId': string;
|
|
1518
|
+
'calendarId': string;
|
|
1519
|
+
}
|
|
1520
|
+
interface DeleteCalendarEmitTargetSchema extends SpruceSchema.Schema {
|
|
1521
|
+
id: 'deleteCalendarEmitTarget';
|
|
1522
|
+
version: 'v2021_05_19';
|
|
1523
|
+
namespace: 'Calendar';
|
|
1524
|
+
name: '';
|
|
1525
|
+
fields: {
|
|
1526
|
+
/** . */
|
|
1527
|
+
'organizationId': {
|
|
1528
|
+
type: 'id';
|
|
1529
|
+
isRequired: true;
|
|
1530
|
+
options: undefined;
|
|
1531
|
+
};
|
|
1532
|
+
/** . */
|
|
1533
|
+
'calendarId': {
|
|
1534
|
+
type: 'id';
|
|
1535
|
+
isRequired: true;
|
|
1536
|
+
options: undefined;
|
|
1537
|
+
};
|
|
1538
|
+
};
|
|
1539
|
+
}
|
|
1540
|
+
interface DeleteCalendarEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetSchema> {
|
|
1541
|
+
}
|
|
1542
|
+
}
|
|
1543
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1544
|
+
interface DeleteCalendarEmitTargetAndPayload {
|
|
1545
|
+
/** Source. */
|
|
1546
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1547
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTarget;
|
|
1548
|
+
}
|
|
1549
|
+
interface DeleteCalendarEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1550
|
+
id: 'deleteCalendarEmitTargetAndPayload';
|
|
1551
|
+
version: 'v2021_05_19';
|
|
1552
|
+
namespace: 'Calendar';
|
|
1553
|
+
name: '';
|
|
1554
|
+
fields: {
|
|
1555
|
+
/** Source. */
|
|
1556
|
+
'source': {
|
|
1557
|
+
label: 'Source';
|
|
1558
|
+
type: 'schema';
|
|
1559
|
+
options: {
|
|
1560
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1561
|
+
};
|
|
1562
|
+
};
|
|
1563
|
+
/** . */
|
|
1564
|
+
'target': {
|
|
1565
|
+
type: 'schema';
|
|
1566
|
+
isRequired: true;
|
|
1567
|
+
options: {
|
|
1568
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetSchema;
|
|
1569
|
+
};
|
|
1570
|
+
};
|
|
1571
|
+
};
|
|
1572
|
+
}
|
|
1573
|
+
interface DeleteCalendarEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarEmitTargetAndPayloadSchema> {
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1577
|
+
interface DeleteCalendarResponsePayload {
|
|
1578
|
+
'totalDeleted'?: number | undefined | null;
|
|
1579
|
+
}
|
|
1580
|
+
interface DeleteCalendarResponsePayloadSchema extends SpruceSchema.Schema {
|
|
1581
|
+
id: 'deleteCalendarResponsePayload';
|
|
1582
|
+
version: 'v2021_05_19';
|
|
1583
|
+
namespace: 'Calendar';
|
|
1584
|
+
name: '';
|
|
1585
|
+
fields: {
|
|
1586
|
+
/** . */
|
|
1587
|
+
'totalDeleted': {
|
|
1588
|
+
type: 'number';
|
|
1589
|
+
options: undefined;
|
|
1590
|
+
};
|
|
1591
|
+
};
|
|
1592
|
+
}
|
|
1593
|
+
interface DeleteCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarResponsePayloadSchema> {
|
|
1594
|
+
}
|
|
1595
|
+
}
|
|
1596
1596
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1597
1597
|
interface DidCancelCalendarEventEmitTarget {
|
|
1598
1598
|
'locationId': string;
|