@sprucelabs/spruce-calendar-components 22.6.24 → 22.6.27
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.
|
@@ -1507,108 +1507,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
1507
1507
|
interface CreateCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CreateCalendarResponsePayloadSchema> {
|
|
1508
1508
|
}
|
|
1509
1509
|
}
|
|
1510
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1511
|
-
interface DidCancelCalendarEventEmitTarget {
|
|
1512
|
-
'locationId': string;
|
|
1513
|
-
'calendarEventId': string;
|
|
1514
|
-
}
|
|
1515
|
-
interface DidCancelCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
|
|
1516
|
-
id: 'didCancelCalendarEventEmitTarget';
|
|
1517
|
-
version: 'v2021_05_19';
|
|
1518
|
-
namespace: 'Calendar';
|
|
1519
|
-
name: '';
|
|
1520
|
-
fields: {
|
|
1521
|
-
/** . */
|
|
1522
|
-
'locationId': {
|
|
1523
|
-
type: 'id';
|
|
1524
|
-
isRequired: true;
|
|
1525
|
-
options: undefined;
|
|
1526
|
-
};
|
|
1527
|
-
/** . */
|
|
1528
|
-
'calendarEventId': {
|
|
1529
|
-
type: 'id';
|
|
1530
|
-
isRequired: true;
|
|
1531
|
-
options: undefined;
|
|
1532
|
-
};
|
|
1533
|
-
};
|
|
1534
|
-
}
|
|
1535
|
-
interface DidCancelCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitTargetSchema> {
|
|
1536
|
-
}
|
|
1537
|
-
}
|
|
1538
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1539
|
-
interface DidCancelCalendarEventEmitPayload {
|
|
1540
|
-
'cancelStrategy': ("only-this-one" | "all-going-forward" | "all");
|
|
1541
|
-
}
|
|
1542
|
-
interface DidCancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1543
|
-
id: 'didCancelCalendarEventEmitPayload';
|
|
1544
|
-
version: 'v2021_05_19';
|
|
1545
|
-
namespace: 'Calendar';
|
|
1546
|
-
name: '';
|
|
1547
|
-
fields: {
|
|
1548
|
-
/** . */
|
|
1549
|
-
'cancelStrategy': {
|
|
1550
|
-
type: 'select';
|
|
1551
|
-
isRequired: true;
|
|
1552
|
-
options: {
|
|
1553
|
-
choices: [{
|
|
1554
|
-
"value": "only-this-one";
|
|
1555
|
-
"label": "Specific dates";
|
|
1556
|
-
}, {
|
|
1557
|
-
"value": "all-going-forward";
|
|
1558
|
-
"label": "This and all going forward";
|
|
1559
|
-
}, {
|
|
1560
|
-
"value": "all";
|
|
1561
|
-
"label": "All";
|
|
1562
|
-
}];
|
|
1563
|
-
};
|
|
1564
|
-
};
|
|
1565
|
-
};
|
|
1566
|
-
}
|
|
1567
|
-
interface DidCancelCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitPayloadSchema> {
|
|
1568
|
-
}
|
|
1569
|
-
}
|
|
1570
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1571
|
-
interface DidCancelCalendarEventEmitTargetAndPayload {
|
|
1572
|
-
/** Source. */
|
|
1573
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1574
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitTarget;
|
|
1575
|
-
'payload': SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitPayload;
|
|
1576
|
-
}
|
|
1577
|
-
interface DidCancelCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1578
|
-
id: 'didCancelCalendarEventEmitTargetAndPayload';
|
|
1579
|
-
version: 'v2021_05_19';
|
|
1580
|
-
namespace: 'Calendar';
|
|
1581
|
-
name: '';
|
|
1582
|
-
fields: {
|
|
1583
|
-
/** Source. */
|
|
1584
|
-
'source': {
|
|
1585
|
-
label: 'Source';
|
|
1586
|
-
type: 'schema';
|
|
1587
|
-
options: {
|
|
1588
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1589
|
-
};
|
|
1590
|
-
};
|
|
1591
|
-
/** . */
|
|
1592
|
-
'target': {
|
|
1593
|
-
type: 'schema';
|
|
1594
|
-
isRequired: true;
|
|
1595
|
-
options: {
|
|
1596
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitTargetSchema;
|
|
1597
|
-
};
|
|
1598
|
-
};
|
|
1599
|
-
/** . */
|
|
1600
|
-
'payload': {
|
|
1601
|
-
type: 'schema';
|
|
1602
|
-
isRequired: true;
|
|
1603
|
-
options: {
|
|
1604
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitPayloadSchema;
|
|
1605
|
-
};
|
|
1606
|
-
};
|
|
1607
|
-
};
|
|
1608
|
-
}
|
|
1609
|
-
interface DidCancelCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitTargetAndPayloadSchema> {
|
|
1610
|
-
}
|
|
1611
|
-
}
|
|
1612
1510
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1613
1511
|
interface DeleteCalendarEmitTarget {
|
|
1614
1512
|
'organizationId': string;
|
|
@@ -1776,6 +1674,108 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
1776
1674
|
interface DidUpdateCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidUpdateCalendarEventEmitTargetAndPayloadSchema> {
|
|
1777
1675
|
}
|
|
1778
1676
|
}
|
|
1677
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1678
|
+
interface DidCancelCalendarEventEmitTarget {
|
|
1679
|
+
'locationId': string;
|
|
1680
|
+
'calendarEventId': string;
|
|
1681
|
+
}
|
|
1682
|
+
interface DidCancelCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
|
|
1683
|
+
id: 'didCancelCalendarEventEmitTarget';
|
|
1684
|
+
version: 'v2021_05_19';
|
|
1685
|
+
namespace: 'Calendar';
|
|
1686
|
+
name: '';
|
|
1687
|
+
fields: {
|
|
1688
|
+
/** . */
|
|
1689
|
+
'locationId': {
|
|
1690
|
+
type: 'id';
|
|
1691
|
+
isRequired: true;
|
|
1692
|
+
options: undefined;
|
|
1693
|
+
};
|
|
1694
|
+
/** . */
|
|
1695
|
+
'calendarEventId': {
|
|
1696
|
+
type: 'id';
|
|
1697
|
+
isRequired: true;
|
|
1698
|
+
options: undefined;
|
|
1699
|
+
};
|
|
1700
|
+
};
|
|
1701
|
+
}
|
|
1702
|
+
interface DidCancelCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitTargetSchema> {
|
|
1703
|
+
}
|
|
1704
|
+
}
|
|
1705
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1706
|
+
interface DidCancelCalendarEventEmitPayload {
|
|
1707
|
+
'cancelStrategy': ("only-this-one" | "all-going-forward" | "all");
|
|
1708
|
+
}
|
|
1709
|
+
interface DidCancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1710
|
+
id: 'didCancelCalendarEventEmitPayload';
|
|
1711
|
+
version: 'v2021_05_19';
|
|
1712
|
+
namespace: 'Calendar';
|
|
1713
|
+
name: '';
|
|
1714
|
+
fields: {
|
|
1715
|
+
/** . */
|
|
1716
|
+
'cancelStrategy': {
|
|
1717
|
+
type: 'select';
|
|
1718
|
+
isRequired: true;
|
|
1719
|
+
options: {
|
|
1720
|
+
choices: [{
|
|
1721
|
+
"value": "only-this-one";
|
|
1722
|
+
"label": "Specific dates";
|
|
1723
|
+
}, {
|
|
1724
|
+
"value": "all-going-forward";
|
|
1725
|
+
"label": "This and all going forward";
|
|
1726
|
+
}, {
|
|
1727
|
+
"value": "all";
|
|
1728
|
+
"label": "All";
|
|
1729
|
+
}];
|
|
1730
|
+
};
|
|
1731
|
+
};
|
|
1732
|
+
};
|
|
1733
|
+
}
|
|
1734
|
+
interface DidCancelCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitPayloadSchema> {
|
|
1735
|
+
}
|
|
1736
|
+
}
|
|
1737
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1738
|
+
interface DidCancelCalendarEventEmitTargetAndPayload {
|
|
1739
|
+
/** Source. */
|
|
1740
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1741
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitTarget;
|
|
1742
|
+
'payload': SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitPayload;
|
|
1743
|
+
}
|
|
1744
|
+
interface DidCancelCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1745
|
+
id: 'didCancelCalendarEventEmitTargetAndPayload';
|
|
1746
|
+
version: 'v2021_05_19';
|
|
1747
|
+
namespace: 'Calendar';
|
|
1748
|
+
name: '';
|
|
1749
|
+
fields: {
|
|
1750
|
+
/** Source. */
|
|
1751
|
+
'source': {
|
|
1752
|
+
label: 'Source';
|
|
1753
|
+
type: 'schema';
|
|
1754
|
+
options: {
|
|
1755
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1756
|
+
};
|
|
1757
|
+
};
|
|
1758
|
+
/** . */
|
|
1759
|
+
'target': {
|
|
1760
|
+
type: 'schema';
|
|
1761
|
+
isRequired: true;
|
|
1762
|
+
options: {
|
|
1763
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitTargetSchema;
|
|
1764
|
+
};
|
|
1765
|
+
};
|
|
1766
|
+
/** . */
|
|
1767
|
+
'payload': {
|
|
1768
|
+
type: 'schema';
|
|
1769
|
+
isRequired: true;
|
|
1770
|
+
options: {
|
|
1771
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitPayloadSchema;
|
|
1772
|
+
};
|
|
1773
|
+
};
|
|
1774
|
+
};
|
|
1775
|
+
}
|
|
1776
|
+
interface DidCancelCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitTargetAndPayloadSchema> {
|
|
1777
|
+
}
|
|
1778
|
+
}
|
|
1779
1779
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1780
1780
|
interface GetAvailableTimeSlotsEmitTarget {
|
|
1781
1781
|
'organizationId'?: string | undefined | null;
|
|
@@ -2667,39 +2667,56 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2667
2667
|
}
|
|
2668
2668
|
}
|
|
2669
2669
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2670
|
-
interface
|
|
2671
|
-
'
|
|
2672
|
-
'calendarPersonId'?: string | undefined | null;
|
|
2670
|
+
interface ListCalendarEventsEmitTarget {
|
|
2671
|
+
'locationId': string;
|
|
2673
2672
|
}
|
|
2674
|
-
interface
|
|
2675
|
-
id: '
|
|
2673
|
+
interface ListCalendarEventsEmitTargetSchema extends SpruceSchema.Schema {
|
|
2674
|
+
id: 'listCalendarEventsEmitTarget';
|
|
2676
2675
|
version: 'v2021_05_19';
|
|
2677
2676
|
namespace: 'Calendar';
|
|
2678
2677
|
name: '';
|
|
2679
2678
|
fields: {
|
|
2680
2679
|
/** . */
|
|
2681
|
-
'
|
|
2680
|
+
'locationId': {
|
|
2682
2681
|
type: 'id';
|
|
2682
|
+
isRequired: true;
|
|
2683
2683
|
options: undefined;
|
|
2684
2684
|
};
|
|
2685
|
+
};
|
|
2686
|
+
}
|
|
2687
|
+
interface ListCalendarEventsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetSchema> {
|
|
2688
|
+
}
|
|
2689
|
+
}
|
|
2690
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2691
|
+
interface ListCalendarEventsEmitPayload {
|
|
2692
|
+
'groupIds'?: string[] | undefined | null;
|
|
2693
|
+
}
|
|
2694
|
+
interface ListCalendarEventsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
2695
|
+
id: 'listCalendarEventsEmitPayload';
|
|
2696
|
+
version: 'v2021_05_19';
|
|
2697
|
+
namespace: 'Calendar';
|
|
2698
|
+
name: '';
|
|
2699
|
+
fields: {
|
|
2685
2700
|
/** . */
|
|
2686
|
-
'
|
|
2701
|
+
'groupIds': {
|
|
2687
2702
|
type: 'id';
|
|
2703
|
+
isArray: true;
|
|
2688
2704
|
options: undefined;
|
|
2689
2705
|
};
|
|
2690
2706
|
};
|
|
2691
2707
|
}
|
|
2692
|
-
interface
|
|
2708
|
+
interface ListCalendarEventsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayloadSchema> {
|
|
2693
2709
|
}
|
|
2694
2710
|
}
|
|
2695
2711
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2696
|
-
interface
|
|
2712
|
+
interface ListCalendarEventsEmitTargetAndPayload {
|
|
2697
2713
|
/** Source. */
|
|
2698
2714
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2699
|
-
'target'
|
|
2715
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTarget;
|
|
2716
|
+
'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayload | undefined | null;
|
|
2700
2717
|
}
|
|
2701
|
-
interface
|
|
2702
|
-
id: '
|
|
2718
|
+
interface ListCalendarEventsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2719
|
+
id: 'listCalendarEventsEmitTargetAndPayload';
|
|
2703
2720
|
version: 'v2021_05_19';
|
|
2704
2721
|
namespace: 'Calendar';
|
|
2705
2722
|
name: '';
|
|
@@ -2715,98 +2732,82 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2715
2732
|
/** . */
|
|
2716
2733
|
'target': {
|
|
2717
2734
|
type: 'schema';
|
|
2735
|
+
isRequired: true;
|
|
2718
2736
|
options: {
|
|
2719
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
2737
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetSchema;
|
|
2738
|
+
};
|
|
2739
|
+
};
|
|
2740
|
+
/** . */
|
|
2741
|
+
'payload': {
|
|
2742
|
+
type: 'schema';
|
|
2743
|
+
options: {
|
|
2744
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayloadSchema;
|
|
2720
2745
|
};
|
|
2721
2746
|
};
|
|
2722
2747
|
};
|
|
2723
2748
|
}
|
|
2724
|
-
interface
|
|
2749
|
+
interface ListCalendarEventsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetAndPayloadSchema> {
|
|
2725
2750
|
}
|
|
2726
2751
|
}
|
|
2727
2752
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2728
|
-
interface
|
|
2729
|
-
'
|
|
2730
|
-
'count': number;
|
|
2753
|
+
interface ListCalendarEventsResponsePayload {
|
|
2754
|
+
'calendarEvents': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[];
|
|
2731
2755
|
}
|
|
2732
|
-
interface
|
|
2733
|
-
id: '
|
|
2756
|
+
interface ListCalendarEventsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2757
|
+
id: 'listCalendarEventsResponsePayload';
|
|
2734
2758
|
version: 'v2021_05_19';
|
|
2735
2759
|
namespace: 'Calendar';
|
|
2736
2760
|
name: '';
|
|
2737
2761
|
fields: {
|
|
2738
2762
|
/** . */
|
|
2739
|
-
'
|
|
2763
|
+
'calendarEvents': {
|
|
2740
2764
|
type: 'schema';
|
|
2741
2765
|
isRequired: true;
|
|
2742
2766
|
isArray: true;
|
|
2743
2767
|
minArrayLength: 0;
|
|
2744
2768
|
options: {
|
|
2745
|
-
schema: SpruceSchemas.
|
|
2769
|
+
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2746
2770
|
};
|
|
2747
2771
|
};
|
|
2748
|
-
/** . */
|
|
2749
|
-
'count': {
|
|
2750
|
-
type: 'number';
|
|
2751
|
-
isRequired: true;
|
|
2752
|
-
options: undefined;
|
|
2753
|
-
};
|
|
2754
2772
|
};
|
|
2755
2773
|
}
|
|
2756
|
-
interface
|
|
2774
|
+
interface ListCalendarEventsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsResponsePayloadSchema> {
|
|
2757
2775
|
}
|
|
2758
2776
|
}
|
|
2759
2777
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2760
|
-
interface
|
|
2761
|
-
'
|
|
2778
|
+
interface ListCalendarsEmitTarget {
|
|
2779
|
+
'organizationId'?: string | undefined | null;
|
|
2780
|
+
'calendarPersonId'?: string | undefined | null;
|
|
2762
2781
|
}
|
|
2763
|
-
interface
|
|
2764
|
-
id: '
|
|
2782
|
+
interface ListCalendarsEmitTargetSchema extends SpruceSchema.Schema {
|
|
2783
|
+
id: 'listCalendarsEmitTarget';
|
|
2765
2784
|
version: 'v2021_05_19';
|
|
2766
2785
|
namespace: 'Calendar';
|
|
2767
2786
|
name: '';
|
|
2768
2787
|
fields: {
|
|
2769
2788
|
/** . */
|
|
2770
|
-
'
|
|
2789
|
+
'organizationId': {
|
|
2771
2790
|
type: 'id';
|
|
2772
|
-
isRequired: true;
|
|
2773
2791
|
options: undefined;
|
|
2774
2792
|
};
|
|
2775
|
-
};
|
|
2776
|
-
}
|
|
2777
|
-
interface ListCalendarEventsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetSchema> {
|
|
2778
|
-
}
|
|
2779
|
-
}
|
|
2780
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2781
|
-
interface ListCalendarEventsEmitPayload {
|
|
2782
|
-
'groupIds'?: string[] | undefined | null;
|
|
2783
|
-
}
|
|
2784
|
-
interface ListCalendarEventsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
2785
|
-
id: 'listCalendarEventsEmitPayload';
|
|
2786
|
-
version: 'v2021_05_19';
|
|
2787
|
-
namespace: 'Calendar';
|
|
2788
|
-
name: '';
|
|
2789
|
-
fields: {
|
|
2790
2793
|
/** . */
|
|
2791
|
-
'
|
|
2794
|
+
'calendarPersonId': {
|
|
2792
2795
|
type: 'id';
|
|
2793
|
-
isArray: true;
|
|
2794
2796
|
options: undefined;
|
|
2795
2797
|
};
|
|
2796
2798
|
};
|
|
2797
2799
|
}
|
|
2798
|
-
interface
|
|
2800
|
+
interface ListCalendarsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema> {
|
|
2799
2801
|
}
|
|
2800
2802
|
}
|
|
2801
2803
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2802
|
-
interface
|
|
2804
|
+
interface ListCalendarsEmitTargetAndPayload {
|
|
2803
2805
|
/** Source. */
|
|
2804
2806
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2805
|
-
'target'
|
|
2806
|
-
'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayload | undefined | null;
|
|
2807
|
+
'target'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTarget | undefined | null;
|
|
2807
2808
|
}
|
|
2808
|
-
interface
|
|
2809
|
-
id: '
|
|
2809
|
+
interface ListCalendarsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2810
|
+
id: 'listCalendarsEmitTargetAndPayload';
|
|
2810
2811
|
version: 'v2021_05_19';
|
|
2811
2812
|
namespace: 'Calendar';
|
|
2812
2813
|
name: '';
|
|
@@ -2822,46 +2823,45 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2822
2823
|
/** . */
|
|
2823
2824
|
'target': {
|
|
2824
2825
|
type: 'schema';
|
|
2825
|
-
isRequired: true;
|
|
2826
2826
|
options: {
|
|
2827
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
2828
|
-
};
|
|
2829
|
-
};
|
|
2830
|
-
/** . */
|
|
2831
|
-
'payload': {
|
|
2832
|
-
type: 'schema';
|
|
2833
|
-
options: {
|
|
2834
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayloadSchema;
|
|
2827
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema;
|
|
2835
2828
|
};
|
|
2836
2829
|
};
|
|
2837
2830
|
};
|
|
2838
2831
|
}
|
|
2839
|
-
interface
|
|
2832
|
+
interface ListCalendarsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetAndPayloadSchema> {
|
|
2840
2833
|
}
|
|
2841
2834
|
}
|
|
2842
2835
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2843
|
-
interface
|
|
2844
|
-
'
|
|
2836
|
+
interface ListCalendarsResponsePayload {
|
|
2837
|
+
'calendars': SpruceSchemas.Calendar.v2021_05_19.Calendar[];
|
|
2838
|
+
'count': number;
|
|
2845
2839
|
}
|
|
2846
|
-
interface
|
|
2847
|
-
id: '
|
|
2840
|
+
interface ListCalendarsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2841
|
+
id: 'listCalendarsResponsePayload';
|
|
2848
2842
|
version: 'v2021_05_19';
|
|
2849
2843
|
namespace: 'Calendar';
|
|
2850
2844
|
name: '';
|
|
2851
2845
|
fields: {
|
|
2852
2846
|
/** . */
|
|
2853
|
-
'
|
|
2847
|
+
'calendars': {
|
|
2854
2848
|
type: 'schema';
|
|
2855
2849
|
isRequired: true;
|
|
2856
2850
|
isArray: true;
|
|
2857
2851
|
minArrayLength: 0;
|
|
2858
2852
|
options: {
|
|
2859
|
-
schema: SpruceSchemas.
|
|
2853
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
|
|
2860
2854
|
};
|
|
2861
2855
|
};
|
|
2856
|
+
/** . */
|
|
2857
|
+
'count': {
|
|
2858
|
+
type: 'number';
|
|
2859
|
+
isRequired: true;
|
|
2860
|
+
options: undefined;
|
|
2861
|
+
};
|
|
2862
2862
|
};
|
|
2863
2863
|
}
|
|
2864
|
-
interface
|
|
2864
|
+
interface ListCalendarsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsResponsePayloadSchema> {
|
|
2865
2865
|
}
|
|
2866
2866
|
}
|
|
2867
2867
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
@@ -1507,108 +1507,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
1507
1507
|
interface CreateCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.CreateCalendarResponsePayloadSchema> {
|
|
1508
1508
|
}
|
|
1509
1509
|
}
|
|
1510
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1511
|
-
interface DidCancelCalendarEventEmitTarget {
|
|
1512
|
-
'locationId': string;
|
|
1513
|
-
'calendarEventId': string;
|
|
1514
|
-
}
|
|
1515
|
-
interface DidCancelCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
|
|
1516
|
-
id: 'didCancelCalendarEventEmitTarget';
|
|
1517
|
-
version: 'v2021_05_19';
|
|
1518
|
-
namespace: 'Calendar';
|
|
1519
|
-
name: '';
|
|
1520
|
-
fields: {
|
|
1521
|
-
/** . */
|
|
1522
|
-
'locationId': {
|
|
1523
|
-
type: 'id';
|
|
1524
|
-
isRequired: true;
|
|
1525
|
-
options: undefined;
|
|
1526
|
-
};
|
|
1527
|
-
/** . */
|
|
1528
|
-
'calendarEventId': {
|
|
1529
|
-
type: 'id';
|
|
1530
|
-
isRequired: true;
|
|
1531
|
-
options: undefined;
|
|
1532
|
-
};
|
|
1533
|
-
};
|
|
1534
|
-
}
|
|
1535
|
-
interface DidCancelCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitTargetSchema> {
|
|
1536
|
-
}
|
|
1537
|
-
}
|
|
1538
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1539
|
-
interface DidCancelCalendarEventEmitPayload {
|
|
1540
|
-
'cancelStrategy': ("only-this-one" | "all-going-forward" | "all");
|
|
1541
|
-
}
|
|
1542
|
-
interface DidCancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1543
|
-
id: 'didCancelCalendarEventEmitPayload';
|
|
1544
|
-
version: 'v2021_05_19';
|
|
1545
|
-
namespace: 'Calendar';
|
|
1546
|
-
name: '';
|
|
1547
|
-
fields: {
|
|
1548
|
-
/** . */
|
|
1549
|
-
'cancelStrategy': {
|
|
1550
|
-
type: 'select';
|
|
1551
|
-
isRequired: true;
|
|
1552
|
-
options: {
|
|
1553
|
-
choices: [{
|
|
1554
|
-
"value": "only-this-one";
|
|
1555
|
-
"label": "Specific dates";
|
|
1556
|
-
}, {
|
|
1557
|
-
"value": "all-going-forward";
|
|
1558
|
-
"label": "This and all going forward";
|
|
1559
|
-
}, {
|
|
1560
|
-
"value": "all";
|
|
1561
|
-
"label": "All";
|
|
1562
|
-
}];
|
|
1563
|
-
};
|
|
1564
|
-
};
|
|
1565
|
-
};
|
|
1566
|
-
}
|
|
1567
|
-
interface DidCancelCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitPayloadSchema> {
|
|
1568
|
-
}
|
|
1569
|
-
}
|
|
1570
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1571
|
-
interface DidCancelCalendarEventEmitTargetAndPayload {
|
|
1572
|
-
/** Source. */
|
|
1573
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1574
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitTarget;
|
|
1575
|
-
'payload': SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitPayload;
|
|
1576
|
-
}
|
|
1577
|
-
interface DidCancelCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1578
|
-
id: 'didCancelCalendarEventEmitTargetAndPayload';
|
|
1579
|
-
version: 'v2021_05_19';
|
|
1580
|
-
namespace: 'Calendar';
|
|
1581
|
-
name: '';
|
|
1582
|
-
fields: {
|
|
1583
|
-
/** Source. */
|
|
1584
|
-
'source': {
|
|
1585
|
-
label: 'Source';
|
|
1586
|
-
type: 'schema';
|
|
1587
|
-
options: {
|
|
1588
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1589
|
-
};
|
|
1590
|
-
};
|
|
1591
|
-
/** . */
|
|
1592
|
-
'target': {
|
|
1593
|
-
type: 'schema';
|
|
1594
|
-
isRequired: true;
|
|
1595
|
-
options: {
|
|
1596
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitTargetSchema;
|
|
1597
|
-
};
|
|
1598
|
-
};
|
|
1599
|
-
/** . */
|
|
1600
|
-
'payload': {
|
|
1601
|
-
type: 'schema';
|
|
1602
|
-
isRequired: true;
|
|
1603
|
-
options: {
|
|
1604
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitPayloadSchema;
|
|
1605
|
-
};
|
|
1606
|
-
};
|
|
1607
|
-
};
|
|
1608
|
-
}
|
|
1609
|
-
interface DidCancelCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitTargetAndPayloadSchema> {
|
|
1610
|
-
}
|
|
1611
|
-
}
|
|
1612
1510
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1613
1511
|
interface DeleteCalendarEmitTarget {
|
|
1614
1512
|
'organizationId': string;
|
|
@@ -1776,6 +1674,108 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
1776
1674
|
interface DidUpdateCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidUpdateCalendarEventEmitTargetAndPayloadSchema> {
|
|
1777
1675
|
}
|
|
1778
1676
|
}
|
|
1677
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1678
|
+
interface DidCancelCalendarEventEmitTarget {
|
|
1679
|
+
'locationId': string;
|
|
1680
|
+
'calendarEventId': string;
|
|
1681
|
+
}
|
|
1682
|
+
interface DidCancelCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
|
|
1683
|
+
id: 'didCancelCalendarEventEmitTarget';
|
|
1684
|
+
version: 'v2021_05_19';
|
|
1685
|
+
namespace: 'Calendar';
|
|
1686
|
+
name: '';
|
|
1687
|
+
fields: {
|
|
1688
|
+
/** . */
|
|
1689
|
+
'locationId': {
|
|
1690
|
+
type: 'id';
|
|
1691
|
+
isRequired: true;
|
|
1692
|
+
options: undefined;
|
|
1693
|
+
};
|
|
1694
|
+
/** . */
|
|
1695
|
+
'calendarEventId': {
|
|
1696
|
+
type: 'id';
|
|
1697
|
+
isRequired: true;
|
|
1698
|
+
options: undefined;
|
|
1699
|
+
};
|
|
1700
|
+
};
|
|
1701
|
+
}
|
|
1702
|
+
interface DidCancelCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitTargetSchema> {
|
|
1703
|
+
}
|
|
1704
|
+
}
|
|
1705
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1706
|
+
interface DidCancelCalendarEventEmitPayload {
|
|
1707
|
+
'cancelStrategy': ("only-this-one" | "all-going-forward" | "all");
|
|
1708
|
+
}
|
|
1709
|
+
interface DidCancelCalendarEventEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1710
|
+
id: 'didCancelCalendarEventEmitPayload';
|
|
1711
|
+
version: 'v2021_05_19';
|
|
1712
|
+
namespace: 'Calendar';
|
|
1713
|
+
name: '';
|
|
1714
|
+
fields: {
|
|
1715
|
+
/** . */
|
|
1716
|
+
'cancelStrategy': {
|
|
1717
|
+
type: 'select';
|
|
1718
|
+
isRequired: true;
|
|
1719
|
+
options: {
|
|
1720
|
+
choices: [{
|
|
1721
|
+
"value": "only-this-one";
|
|
1722
|
+
"label": "Specific dates";
|
|
1723
|
+
}, {
|
|
1724
|
+
"value": "all-going-forward";
|
|
1725
|
+
"label": "This and all going forward";
|
|
1726
|
+
}, {
|
|
1727
|
+
"value": "all";
|
|
1728
|
+
"label": "All";
|
|
1729
|
+
}];
|
|
1730
|
+
};
|
|
1731
|
+
};
|
|
1732
|
+
};
|
|
1733
|
+
}
|
|
1734
|
+
interface DidCancelCalendarEventEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitPayloadSchema> {
|
|
1735
|
+
}
|
|
1736
|
+
}
|
|
1737
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1738
|
+
interface DidCancelCalendarEventEmitTargetAndPayload {
|
|
1739
|
+
/** Source. */
|
|
1740
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1741
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitTarget;
|
|
1742
|
+
'payload': SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitPayload;
|
|
1743
|
+
}
|
|
1744
|
+
interface DidCancelCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1745
|
+
id: 'didCancelCalendarEventEmitTargetAndPayload';
|
|
1746
|
+
version: 'v2021_05_19';
|
|
1747
|
+
namespace: 'Calendar';
|
|
1748
|
+
name: '';
|
|
1749
|
+
fields: {
|
|
1750
|
+
/** Source. */
|
|
1751
|
+
'source': {
|
|
1752
|
+
label: 'Source';
|
|
1753
|
+
type: 'schema';
|
|
1754
|
+
options: {
|
|
1755
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1756
|
+
};
|
|
1757
|
+
};
|
|
1758
|
+
/** . */
|
|
1759
|
+
'target': {
|
|
1760
|
+
type: 'schema';
|
|
1761
|
+
isRequired: true;
|
|
1762
|
+
options: {
|
|
1763
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitTargetSchema;
|
|
1764
|
+
};
|
|
1765
|
+
};
|
|
1766
|
+
/** . */
|
|
1767
|
+
'payload': {
|
|
1768
|
+
type: 'schema';
|
|
1769
|
+
isRequired: true;
|
|
1770
|
+
options: {
|
|
1771
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitPayloadSchema;
|
|
1772
|
+
};
|
|
1773
|
+
};
|
|
1774
|
+
};
|
|
1775
|
+
}
|
|
1776
|
+
interface DidCancelCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DidCancelCalendarEventEmitTargetAndPayloadSchema> {
|
|
1777
|
+
}
|
|
1778
|
+
}
|
|
1779
1779
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1780
1780
|
interface GetAvailableTimeSlotsEmitTarget {
|
|
1781
1781
|
'organizationId'?: string | undefined | null;
|
|
@@ -2667,39 +2667,56 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2667
2667
|
}
|
|
2668
2668
|
}
|
|
2669
2669
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2670
|
-
interface
|
|
2671
|
-
'
|
|
2672
|
-
'calendarPersonId'?: string | undefined | null;
|
|
2670
|
+
interface ListCalendarEventsEmitTarget {
|
|
2671
|
+
'locationId': string;
|
|
2673
2672
|
}
|
|
2674
|
-
interface
|
|
2675
|
-
id: '
|
|
2673
|
+
interface ListCalendarEventsEmitTargetSchema extends SpruceSchema.Schema {
|
|
2674
|
+
id: 'listCalendarEventsEmitTarget';
|
|
2676
2675
|
version: 'v2021_05_19';
|
|
2677
2676
|
namespace: 'Calendar';
|
|
2678
2677
|
name: '';
|
|
2679
2678
|
fields: {
|
|
2680
2679
|
/** . */
|
|
2681
|
-
'
|
|
2680
|
+
'locationId': {
|
|
2682
2681
|
type: 'id';
|
|
2682
|
+
isRequired: true;
|
|
2683
2683
|
options: undefined;
|
|
2684
2684
|
};
|
|
2685
|
+
};
|
|
2686
|
+
}
|
|
2687
|
+
interface ListCalendarEventsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetSchema> {
|
|
2688
|
+
}
|
|
2689
|
+
}
|
|
2690
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2691
|
+
interface ListCalendarEventsEmitPayload {
|
|
2692
|
+
'groupIds'?: string[] | undefined | null;
|
|
2693
|
+
}
|
|
2694
|
+
interface ListCalendarEventsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
2695
|
+
id: 'listCalendarEventsEmitPayload';
|
|
2696
|
+
version: 'v2021_05_19';
|
|
2697
|
+
namespace: 'Calendar';
|
|
2698
|
+
name: '';
|
|
2699
|
+
fields: {
|
|
2685
2700
|
/** . */
|
|
2686
|
-
'
|
|
2701
|
+
'groupIds': {
|
|
2687
2702
|
type: 'id';
|
|
2703
|
+
isArray: true;
|
|
2688
2704
|
options: undefined;
|
|
2689
2705
|
};
|
|
2690
2706
|
};
|
|
2691
2707
|
}
|
|
2692
|
-
interface
|
|
2708
|
+
interface ListCalendarEventsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayloadSchema> {
|
|
2693
2709
|
}
|
|
2694
2710
|
}
|
|
2695
2711
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2696
|
-
interface
|
|
2712
|
+
interface ListCalendarEventsEmitTargetAndPayload {
|
|
2697
2713
|
/** Source. */
|
|
2698
2714
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2699
|
-
'target'
|
|
2715
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTarget;
|
|
2716
|
+
'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayload | undefined | null;
|
|
2700
2717
|
}
|
|
2701
|
-
interface
|
|
2702
|
-
id: '
|
|
2718
|
+
interface ListCalendarEventsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2719
|
+
id: 'listCalendarEventsEmitTargetAndPayload';
|
|
2703
2720
|
version: 'v2021_05_19';
|
|
2704
2721
|
namespace: 'Calendar';
|
|
2705
2722
|
name: '';
|
|
@@ -2715,98 +2732,82 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2715
2732
|
/** . */
|
|
2716
2733
|
'target': {
|
|
2717
2734
|
type: 'schema';
|
|
2735
|
+
isRequired: true;
|
|
2718
2736
|
options: {
|
|
2719
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
2737
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetSchema;
|
|
2738
|
+
};
|
|
2739
|
+
};
|
|
2740
|
+
/** . */
|
|
2741
|
+
'payload': {
|
|
2742
|
+
type: 'schema';
|
|
2743
|
+
options: {
|
|
2744
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayloadSchema;
|
|
2720
2745
|
};
|
|
2721
2746
|
};
|
|
2722
2747
|
};
|
|
2723
2748
|
}
|
|
2724
|
-
interface
|
|
2749
|
+
interface ListCalendarEventsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetAndPayloadSchema> {
|
|
2725
2750
|
}
|
|
2726
2751
|
}
|
|
2727
2752
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2728
|
-
interface
|
|
2729
|
-
'
|
|
2730
|
-
'count': number;
|
|
2753
|
+
interface ListCalendarEventsResponsePayload {
|
|
2754
|
+
'calendarEvents': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[];
|
|
2731
2755
|
}
|
|
2732
|
-
interface
|
|
2733
|
-
id: '
|
|
2756
|
+
interface ListCalendarEventsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2757
|
+
id: 'listCalendarEventsResponsePayload';
|
|
2734
2758
|
version: 'v2021_05_19';
|
|
2735
2759
|
namespace: 'Calendar';
|
|
2736
2760
|
name: '';
|
|
2737
2761
|
fields: {
|
|
2738
2762
|
/** . */
|
|
2739
|
-
'
|
|
2763
|
+
'calendarEvents': {
|
|
2740
2764
|
type: 'schema';
|
|
2741
2765
|
isRequired: true;
|
|
2742
2766
|
isArray: true;
|
|
2743
2767
|
minArrayLength: 0;
|
|
2744
2768
|
options: {
|
|
2745
|
-
schema: SpruceSchemas.
|
|
2769
|
+
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2746
2770
|
};
|
|
2747
2771
|
};
|
|
2748
|
-
/** . */
|
|
2749
|
-
'count': {
|
|
2750
|
-
type: 'number';
|
|
2751
|
-
isRequired: true;
|
|
2752
|
-
options: undefined;
|
|
2753
|
-
};
|
|
2754
2772
|
};
|
|
2755
2773
|
}
|
|
2756
|
-
interface
|
|
2774
|
+
interface ListCalendarEventsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsResponsePayloadSchema> {
|
|
2757
2775
|
}
|
|
2758
2776
|
}
|
|
2759
2777
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2760
|
-
interface
|
|
2761
|
-
'
|
|
2778
|
+
interface ListCalendarsEmitTarget {
|
|
2779
|
+
'organizationId'?: string | undefined | null;
|
|
2780
|
+
'calendarPersonId'?: string | undefined | null;
|
|
2762
2781
|
}
|
|
2763
|
-
interface
|
|
2764
|
-
id: '
|
|
2782
|
+
interface ListCalendarsEmitTargetSchema extends SpruceSchema.Schema {
|
|
2783
|
+
id: 'listCalendarsEmitTarget';
|
|
2765
2784
|
version: 'v2021_05_19';
|
|
2766
2785
|
namespace: 'Calendar';
|
|
2767
2786
|
name: '';
|
|
2768
2787
|
fields: {
|
|
2769
2788
|
/** . */
|
|
2770
|
-
'
|
|
2789
|
+
'organizationId': {
|
|
2771
2790
|
type: 'id';
|
|
2772
|
-
isRequired: true;
|
|
2773
2791
|
options: undefined;
|
|
2774
2792
|
};
|
|
2775
|
-
};
|
|
2776
|
-
}
|
|
2777
|
-
interface ListCalendarEventsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetSchema> {
|
|
2778
|
-
}
|
|
2779
|
-
}
|
|
2780
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2781
|
-
interface ListCalendarEventsEmitPayload {
|
|
2782
|
-
'groupIds'?: string[] | undefined | null;
|
|
2783
|
-
}
|
|
2784
|
-
interface ListCalendarEventsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
2785
|
-
id: 'listCalendarEventsEmitPayload';
|
|
2786
|
-
version: 'v2021_05_19';
|
|
2787
|
-
namespace: 'Calendar';
|
|
2788
|
-
name: '';
|
|
2789
|
-
fields: {
|
|
2790
2793
|
/** . */
|
|
2791
|
-
'
|
|
2794
|
+
'calendarPersonId': {
|
|
2792
2795
|
type: 'id';
|
|
2793
|
-
isArray: true;
|
|
2794
2796
|
options: undefined;
|
|
2795
2797
|
};
|
|
2796
2798
|
};
|
|
2797
2799
|
}
|
|
2798
|
-
interface
|
|
2800
|
+
interface ListCalendarsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema> {
|
|
2799
2801
|
}
|
|
2800
2802
|
}
|
|
2801
2803
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2802
|
-
interface
|
|
2804
|
+
interface ListCalendarsEmitTargetAndPayload {
|
|
2803
2805
|
/** Source. */
|
|
2804
2806
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2805
|
-
'target'
|
|
2806
|
-
'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayload | undefined | null;
|
|
2807
|
+
'target'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTarget | undefined | null;
|
|
2807
2808
|
}
|
|
2808
|
-
interface
|
|
2809
|
-
id: '
|
|
2809
|
+
interface ListCalendarsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2810
|
+
id: 'listCalendarsEmitTargetAndPayload';
|
|
2810
2811
|
version: 'v2021_05_19';
|
|
2811
2812
|
namespace: 'Calendar';
|
|
2812
2813
|
name: '';
|
|
@@ -2822,46 +2823,45 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2822
2823
|
/** . */
|
|
2823
2824
|
'target': {
|
|
2824
2825
|
type: 'schema';
|
|
2825
|
-
isRequired: true;
|
|
2826
2826
|
options: {
|
|
2827
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
2828
|
-
};
|
|
2829
|
-
};
|
|
2830
|
-
/** . */
|
|
2831
|
-
'payload': {
|
|
2832
|
-
type: 'schema';
|
|
2833
|
-
options: {
|
|
2834
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayloadSchema;
|
|
2827
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema;
|
|
2835
2828
|
};
|
|
2836
2829
|
};
|
|
2837
2830
|
};
|
|
2838
2831
|
}
|
|
2839
|
-
interface
|
|
2832
|
+
interface ListCalendarsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetAndPayloadSchema> {
|
|
2840
2833
|
}
|
|
2841
2834
|
}
|
|
2842
2835
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2843
|
-
interface
|
|
2844
|
-
'
|
|
2836
|
+
interface ListCalendarsResponsePayload {
|
|
2837
|
+
'calendars': SpruceSchemas.Calendar.v2021_05_19.Calendar[];
|
|
2838
|
+
'count': number;
|
|
2845
2839
|
}
|
|
2846
|
-
interface
|
|
2847
|
-
id: '
|
|
2840
|
+
interface ListCalendarsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2841
|
+
id: 'listCalendarsResponsePayload';
|
|
2848
2842
|
version: 'v2021_05_19';
|
|
2849
2843
|
namespace: 'Calendar';
|
|
2850
2844
|
name: '';
|
|
2851
2845
|
fields: {
|
|
2852
2846
|
/** . */
|
|
2853
|
-
'
|
|
2847
|
+
'calendars': {
|
|
2854
2848
|
type: 'schema';
|
|
2855
2849
|
isRequired: true;
|
|
2856
2850
|
isArray: true;
|
|
2857
2851
|
minArrayLength: 0;
|
|
2858
2852
|
options: {
|
|
2859
|
-
schema: SpruceSchemas.
|
|
2853
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
|
|
2860
2854
|
};
|
|
2861
2855
|
};
|
|
2856
|
+
/** . */
|
|
2857
|
+
'count': {
|
|
2858
|
+
type: 'number';
|
|
2859
|
+
isRequired: true;
|
|
2860
|
+
options: undefined;
|
|
2861
|
+
};
|
|
2862
2862
|
};
|
|
2863
2863
|
}
|
|
2864
|
-
interface
|
|
2864
|
+
interface ListCalendarsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsResponsePayloadSchema> {
|
|
2865
2865
|
}
|
|
2866
2866
|
}
|
|
2867
2867
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|