@sprucelabs/spruce-calendar-components 28.3.92 → 28.3.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -719,6 +719,39 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
719
719
|
interface UpsertThemeEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeEmitPayloadSchema> {
|
|
720
720
|
}
|
|
721
721
|
}
|
|
722
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
723
|
+
interface GetPreferencesEmitTargetAndPayload {
|
|
724
|
+
/** Source. */
|
|
725
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
726
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTarget;
|
|
727
|
+
}
|
|
728
|
+
interface GetPreferencesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
729
|
+
id: 'getPreferencesEmitTargetAndPayload';
|
|
730
|
+
version: 'v2021_05_19';
|
|
731
|
+
namespace: 'Calendar';
|
|
732
|
+
name: '';
|
|
733
|
+
fields: {
|
|
734
|
+
/** Source. */
|
|
735
|
+
'source': {
|
|
736
|
+
label: 'Source';
|
|
737
|
+
type: 'schema';
|
|
738
|
+
options: {
|
|
739
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
740
|
+
};
|
|
741
|
+
};
|
|
742
|
+
/** . */
|
|
743
|
+
'target': {
|
|
744
|
+
type: 'schema';
|
|
745
|
+
isRequired: true;
|
|
746
|
+
options: {
|
|
747
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTargetSchema;
|
|
748
|
+
};
|
|
749
|
+
};
|
|
750
|
+
};
|
|
751
|
+
}
|
|
752
|
+
interface GetPreferencesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTargetAndPayloadSchema> {
|
|
753
|
+
}
|
|
754
|
+
}
|
|
722
755
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
723
756
|
interface CancelCalendarEventEmitTarget {
|
|
724
757
|
'locationId': string;
|
|
@@ -1561,6 +1594,29 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
1561
1594
|
interface DeleteCalendarResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.DeleteCalendarResponsePayloadSchema> {
|
|
1562
1595
|
}
|
|
1563
1596
|
}
|
|
1597
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1598
|
+
interface GetCalendarEventResponsePayload {
|
|
1599
|
+
'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
|
|
1600
|
+
}
|
|
1601
|
+
interface GetCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
|
|
1602
|
+
id: 'getCalendarEventResponsePayload';
|
|
1603
|
+
version: 'v2021_05_19';
|
|
1604
|
+
namespace: 'Calendar';
|
|
1605
|
+
name: '';
|
|
1606
|
+
fields: {
|
|
1607
|
+
/** . */
|
|
1608
|
+
'calendarEvent': {
|
|
1609
|
+
type: 'schema';
|
|
1610
|
+
isRequired: true;
|
|
1611
|
+
options: {
|
|
1612
|
+
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
1613
|
+
};
|
|
1614
|
+
};
|
|
1615
|
+
};
|
|
1616
|
+
}
|
|
1617
|
+
interface GetCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventResponsePayloadSchema> {
|
|
1618
|
+
}
|
|
1619
|
+
}
|
|
1564
1620
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1565
1621
|
interface DidCancelCalendarEventEmitTarget {
|
|
1566
1622
|
'locationId': string;
|
|
@@ -1992,6 +2048,67 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
1992
2048
|
interface GetAvailableTimeSlotsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetAvailableTimeSlotsResponsePayloadSchema> {
|
|
1993
2049
|
}
|
|
1994
2050
|
}
|
|
2051
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2052
|
+
interface GetCalendarEventEmitTarget {
|
|
2053
|
+
'locationId': string;
|
|
2054
|
+
'calendarEventId': string;
|
|
2055
|
+
}
|
|
2056
|
+
interface GetCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
|
|
2057
|
+
id: 'getCalendarEventEmitTarget';
|
|
2058
|
+
version: 'v2021_05_19';
|
|
2059
|
+
namespace: 'Calendar';
|
|
2060
|
+
name: '';
|
|
2061
|
+
fields: {
|
|
2062
|
+
/** . */
|
|
2063
|
+
'locationId': {
|
|
2064
|
+
type: 'id';
|
|
2065
|
+
isRequired: true;
|
|
2066
|
+
options: undefined;
|
|
2067
|
+
};
|
|
2068
|
+
/** . */
|
|
2069
|
+
'calendarEventId': {
|
|
2070
|
+
type: 'id';
|
|
2071
|
+
isRequired: true;
|
|
2072
|
+
options: undefined;
|
|
2073
|
+
};
|
|
2074
|
+
};
|
|
2075
|
+
}
|
|
2076
|
+
interface GetCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetSchema> {
|
|
2077
|
+
}
|
|
2078
|
+
}
|
|
2079
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2080
|
+
interface GetCalendarEventEmitTargetAndPayload {
|
|
2081
|
+
/** Source. */
|
|
2082
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2083
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTarget;
|
|
2084
|
+
}
|
|
2085
|
+
interface GetCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2086
|
+
id: 'getCalendarEventEmitTargetAndPayload';
|
|
2087
|
+
version: 'v2021_05_19';
|
|
2088
|
+
namespace: 'Calendar';
|
|
2089
|
+
name: '';
|
|
2090
|
+
fields: {
|
|
2091
|
+
/** Source. */
|
|
2092
|
+
'source': {
|
|
2093
|
+
label: 'Source';
|
|
2094
|
+
type: 'schema';
|
|
2095
|
+
options: {
|
|
2096
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
2097
|
+
};
|
|
2098
|
+
};
|
|
2099
|
+
/** . */
|
|
2100
|
+
'target': {
|
|
2101
|
+
type: 'schema';
|
|
2102
|
+
isRequired: true;
|
|
2103
|
+
options: {
|
|
2104
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetSchema;
|
|
2105
|
+
};
|
|
2106
|
+
};
|
|
2107
|
+
};
|
|
2108
|
+
}
|
|
2109
|
+
interface GetCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetAndPayloadSchema> {
|
|
2110
|
+
}
|
|
2111
|
+
}
|
|
1995
2112
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
1996
2113
|
interface GetCalendarEmitTarget {
|
|
1997
2114
|
'organizationId': string;
|
|
@@ -2082,41 +2199,43 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2082
2199
|
}
|
|
2083
2200
|
}
|
|
2084
2201
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2085
|
-
interface
|
|
2086
|
-
'
|
|
2087
|
-
'
|
|
2202
|
+
interface GetConflictsForTimeRangeEmitTarget {
|
|
2203
|
+
'organizationId': string;
|
|
2204
|
+
'calendarIds': string[];
|
|
2088
2205
|
}
|
|
2089
|
-
interface
|
|
2090
|
-
id: '
|
|
2206
|
+
interface GetConflictsForTimeRangeEmitTargetSchema extends SpruceSchema.Schema {
|
|
2207
|
+
id: 'getConflictsForTimeRangeEmitTarget';
|
|
2091
2208
|
version: 'v2021_05_19';
|
|
2092
2209
|
namespace: 'Calendar';
|
|
2093
2210
|
name: '';
|
|
2094
2211
|
fields: {
|
|
2095
2212
|
/** . */
|
|
2096
|
-
'
|
|
2213
|
+
'organizationId': {
|
|
2097
2214
|
type: 'id';
|
|
2098
2215
|
isRequired: true;
|
|
2099
2216
|
options: undefined;
|
|
2100
2217
|
};
|
|
2101
2218
|
/** . */
|
|
2102
|
-
'
|
|
2219
|
+
'calendarIds': {
|
|
2103
2220
|
type: 'id';
|
|
2104
2221
|
isRequired: true;
|
|
2222
|
+
isArray: true;
|
|
2105
2223
|
options: undefined;
|
|
2106
2224
|
};
|
|
2107
2225
|
};
|
|
2108
2226
|
}
|
|
2109
|
-
interface
|
|
2227
|
+
interface GetConflictsForTimeRangeEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema> {
|
|
2110
2228
|
}
|
|
2111
2229
|
}
|
|
2112
2230
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2113
|
-
interface
|
|
2231
|
+
interface GetConflictsForTimeRangeEmitTargetAndPayload {
|
|
2114
2232
|
/** Source. */
|
|
2115
2233
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2116
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.
|
|
2234
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTarget;
|
|
2235
|
+
'payload': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayload;
|
|
2117
2236
|
}
|
|
2118
|
-
interface
|
|
2119
|
-
id: '
|
|
2237
|
+
interface GetConflictsForTimeRangeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2238
|
+
id: 'getConflictsForTimeRangeEmitTargetAndPayload';
|
|
2120
2239
|
version: 'v2021_05_19';
|
|
2121
2240
|
namespace: 'Calendar';
|
|
2122
2241
|
name: '';
|
|
@@ -2134,165 +2253,153 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2134
2253
|
type: 'schema';
|
|
2135
2254
|
isRequired: true;
|
|
2136
2255
|
options: {
|
|
2137
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
2256
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema;
|
|
2257
|
+
};
|
|
2258
|
+
};
|
|
2259
|
+
/** . */
|
|
2260
|
+
'payload': {
|
|
2261
|
+
type: 'schema';
|
|
2262
|
+
isRequired: true;
|
|
2263
|
+
options: {
|
|
2264
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayloadSchema;
|
|
2138
2265
|
};
|
|
2139
2266
|
};
|
|
2140
2267
|
};
|
|
2141
2268
|
}
|
|
2142
|
-
interface
|
|
2269
|
+
interface GetConflictsForTimeRangeEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetAndPayloadSchema> {
|
|
2143
2270
|
}
|
|
2144
2271
|
}
|
|
2145
2272
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2146
|
-
interface
|
|
2147
|
-
'
|
|
2273
|
+
interface Teammate {
|
|
2274
|
+
'personId': string;
|
|
2275
|
+
'durationMinutes': number;
|
|
2148
2276
|
}
|
|
2149
|
-
interface
|
|
2150
|
-
id: '
|
|
2277
|
+
interface TeammateSchema extends SpruceSchema.Schema {
|
|
2278
|
+
id: 'teammate';
|
|
2151
2279
|
version: 'v2021_05_19';
|
|
2152
2280
|
namespace: 'Calendar';
|
|
2153
2281
|
name: '';
|
|
2154
2282
|
fields: {
|
|
2155
2283
|
/** . */
|
|
2156
|
-
'
|
|
2157
|
-
type: '
|
|
2284
|
+
'personId': {
|
|
2285
|
+
type: 'id';
|
|
2158
2286
|
isRequired: true;
|
|
2159
|
-
options:
|
|
2160
|
-
|
|
2161
|
-
|
|
2287
|
+
options: undefined;
|
|
2288
|
+
};
|
|
2289
|
+
/** . */
|
|
2290
|
+
'durationMinutes': {
|
|
2291
|
+
type: 'number';
|
|
2292
|
+
isRequired: true;
|
|
2293
|
+
options: undefined;
|
|
2162
2294
|
};
|
|
2163
2295
|
};
|
|
2164
2296
|
}
|
|
2165
|
-
interface
|
|
2297
|
+
interface TeammateEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TeammateSchema> {
|
|
2166
2298
|
}
|
|
2167
2299
|
}
|
|
2168
2300
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2169
|
-
interface
|
|
2170
|
-
'
|
|
2301
|
+
interface GetConflictsForTimeRangeEmitPayload {
|
|
2302
|
+
'startDateTimeMs': number;
|
|
2303
|
+
'teammate': SpruceSchemas.Calendar.v2021_05_19.Teammate;
|
|
2171
2304
|
}
|
|
2172
|
-
interface
|
|
2173
|
-
id: '
|
|
2305
|
+
interface GetConflictsForTimeRangeEmitPayloadSchema extends SpruceSchema.Schema {
|
|
2306
|
+
id: 'getConflictsForTimeRangeEmitPayload';
|
|
2174
2307
|
version: 'v2021_05_19';
|
|
2175
2308
|
namespace: 'Calendar';
|
|
2176
2309
|
name: '';
|
|
2177
2310
|
fields: {
|
|
2178
2311
|
/** . */
|
|
2179
|
-
'
|
|
2180
|
-
type: '
|
|
2312
|
+
'startDateTimeMs': {
|
|
2313
|
+
type: 'number';
|
|
2181
2314
|
isRequired: true;
|
|
2182
2315
|
options: undefined;
|
|
2183
2316
|
};
|
|
2317
|
+
/** . */
|
|
2318
|
+
'teammate': {
|
|
2319
|
+
type: 'schema';
|
|
2320
|
+
isRequired: true;
|
|
2321
|
+
options: {
|
|
2322
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.TeammateSchema;
|
|
2323
|
+
};
|
|
2324
|
+
};
|
|
2184
2325
|
};
|
|
2185
2326
|
}
|
|
2186
|
-
interface
|
|
2327
|
+
interface GetConflictsForTimeRangeEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayloadSchema> {
|
|
2187
2328
|
}
|
|
2188
2329
|
}
|
|
2189
2330
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2190
|
-
interface
|
|
2191
|
-
|
|
2192
|
-
'
|
|
2193
|
-
'
|
|
2331
|
+
interface GetConflictsForTimeRangeResponsePayload {
|
|
2332
|
+
'isAvailable': boolean;
|
|
2333
|
+
'excludedBy'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[] | undefined | null;
|
|
2334
|
+
'overlapsWith'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[] | undefined | null;
|
|
2194
2335
|
}
|
|
2195
|
-
interface
|
|
2196
|
-
id: '
|
|
2336
|
+
interface GetConflictsForTimeRangeResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2337
|
+
id: 'getConflictsForTimeRangeResponsePayload';
|
|
2197
2338
|
version: 'v2021_05_19';
|
|
2198
2339
|
namespace: 'Calendar';
|
|
2199
2340
|
name: '';
|
|
2200
2341
|
fields: {
|
|
2201
|
-
/**
|
|
2202
|
-
'
|
|
2203
|
-
|
|
2342
|
+
/** . */
|
|
2343
|
+
'isAvailable': {
|
|
2344
|
+
type: 'boolean';
|
|
2345
|
+
isRequired: true;
|
|
2346
|
+
options: undefined;
|
|
2347
|
+
};
|
|
2348
|
+
/** . */
|
|
2349
|
+
'excludedBy': {
|
|
2204
2350
|
type: 'schema';
|
|
2351
|
+
isArray: true;
|
|
2205
2352
|
options: {
|
|
2206
|
-
schema: SpruceSchemas.
|
|
2353
|
+
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2207
2354
|
};
|
|
2208
2355
|
};
|
|
2209
2356
|
/** . */
|
|
2210
|
-
'
|
|
2357
|
+
'overlapsWith': {
|
|
2211
2358
|
type: 'schema';
|
|
2212
|
-
|
|
2359
|
+
isArray: true;
|
|
2213
2360
|
options: {
|
|
2214
|
-
schema: SpruceSchemas.
|
|
2361
|
+
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2215
2362
|
};
|
|
2216
2363
|
};
|
|
2217
2364
|
};
|
|
2218
2365
|
}
|
|
2219
|
-
interface
|
|
2366
|
+
interface GetConflictsForTimeRangeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeResponsePayloadSchema> {
|
|
2220
2367
|
}
|
|
2221
2368
|
}
|
|
2222
2369
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2223
|
-
interface
|
|
2224
|
-
'
|
|
2225
|
-
'
|
|
2226
|
-
'visiblePeopleIds'?: string[] | undefined | null;
|
|
2370
|
+
interface ListCalendarsEmitTarget {
|
|
2371
|
+
'organizationId'?: string | undefined | null;
|
|
2372
|
+
'calendarPersonId'?: string | undefined | null;
|
|
2227
2373
|
}
|
|
2228
|
-
interface
|
|
2229
|
-
id: '
|
|
2374
|
+
interface ListCalendarsEmitTargetSchema extends SpruceSchema.Schema {
|
|
2375
|
+
id: 'listCalendarsEmitTarget';
|
|
2230
2376
|
version: 'v2021_05_19';
|
|
2231
2377
|
namespace: 'Calendar';
|
|
2232
2378
|
name: '';
|
|
2233
2379
|
fields: {
|
|
2234
2380
|
/** . */
|
|
2235
|
-
'
|
|
2381
|
+
'organizationId': {
|
|
2236
2382
|
type: 'id';
|
|
2237
|
-
isArray: true;
|
|
2238
|
-
minArrayLength: 0;
|
|
2239
2383
|
options: undefined;
|
|
2240
2384
|
};
|
|
2241
2385
|
/** . */
|
|
2242
|
-
'
|
|
2243
|
-
type: '
|
|
2244
|
-
options: {
|
|
2245
|
-
choices: [{
|
|
2246
|
-
"value": "me";
|
|
2247
|
-
"label": "Me";
|
|
2248
|
-
}, {
|
|
2249
|
-
"value": "working";
|
|
2250
|
-
"label": "Working";
|
|
2251
|
-
}, {
|
|
2252
|
-
"value": "custom";
|
|
2253
|
-
"label": "Custom";
|
|
2254
|
-
}];
|
|
2255
|
-
};
|
|
2256
|
-
};
|
|
2257
|
-
/** . */
|
|
2258
|
-
'visiblePeopleIds': {
|
|
2259
|
-
type: 'text';
|
|
2260
|
-
isArray: true;
|
|
2261
|
-
options: undefined;
|
|
2262
|
-
};
|
|
2263
|
-
};
|
|
2264
|
-
}
|
|
2265
|
-
interface GetPreferencesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesResponsePayloadSchema> {
|
|
2266
|
-
}
|
|
2267
|
-
}
|
|
2268
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2269
|
-
interface ListCalendarEventTypesEmitPayload {
|
|
2270
|
-
'shouldShowOnlyMine'?: boolean | undefined | null;
|
|
2271
|
-
}
|
|
2272
|
-
interface ListCalendarEventTypesEmitPayloadSchema extends SpruceSchema.Schema {
|
|
2273
|
-
id: 'listCalendarEventTypesEmitPayload';
|
|
2274
|
-
version: 'v2021_05_19';
|
|
2275
|
-
namespace: 'Calendar';
|
|
2276
|
-
name: '';
|
|
2277
|
-
fields: {
|
|
2278
|
-
/** . */
|
|
2279
|
-
'shouldShowOnlyMine': {
|
|
2280
|
-
type: 'boolean';
|
|
2386
|
+
'calendarPersonId': {
|
|
2387
|
+
type: 'id';
|
|
2281
2388
|
options: undefined;
|
|
2282
2389
|
};
|
|
2283
2390
|
};
|
|
2284
2391
|
}
|
|
2285
|
-
interface
|
|
2392
|
+
interface ListCalendarsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema> {
|
|
2286
2393
|
}
|
|
2287
2394
|
}
|
|
2288
2395
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2289
|
-
interface
|
|
2396
|
+
interface ListCalendarsEmitTargetAndPayload {
|
|
2290
2397
|
/** Source. */
|
|
2291
2398
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2292
|
-
'
|
|
2399
|
+
'target'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTarget | undefined | null;
|
|
2293
2400
|
}
|
|
2294
|
-
interface
|
|
2295
|
-
id: '
|
|
2401
|
+
interface ListCalendarsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2402
|
+
id: 'listCalendarsEmitTargetAndPayload';
|
|
2296
2403
|
version: 'v2021_05_19';
|
|
2297
2404
|
namespace: 'Calendar';
|
|
2298
2405
|
name: '';
|
|
@@ -2306,36 +2413,36 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2306
2413
|
};
|
|
2307
2414
|
};
|
|
2308
2415
|
/** . */
|
|
2309
|
-
'
|
|
2416
|
+
'target': {
|
|
2310
2417
|
type: 'schema';
|
|
2311
2418
|
options: {
|
|
2312
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
2419
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetSchema;
|
|
2313
2420
|
};
|
|
2314
2421
|
};
|
|
2315
2422
|
};
|
|
2316
2423
|
}
|
|
2317
|
-
interface
|
|
2424
|
+
interface ListCalendarsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsEmitTargetAndPayloadSchema> {
|
|
2318
2425
|
}
|
|
2319
2426
|
}
|
|
2320
2427
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2321
|
-
interface
|
|
2322
|
-
'
|
|
2428
|
+
interface ListCalendarsResponsePayload {
|
|
2429
|
+
'calendars': SpruceSchemas.Calendar.v2021_05_19.Calendar[];
|
|
2323
2430
|
'count': number;
|
|
2324
2431
|
}
|
|
2325
|
-
interface
|
|
2326
|
-
id: '
|
|
2432
|
+
interface ListCalendarsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2433
|
+
id: 'listCalendarsResponsePayload';
|
|
2327
2434
|
version: 'v2021_05_19';
|
|
2328
2435
|
namespace: 'Calendar';
|
|
2329
2436
|
name: '';
|
|
2330
2437
|
fields: {
|
|
2331
2438
|
/** . */
|
|
2332
|
-
'
|
|
2439
|
+
'calendars': {
|
|
2333
2440
|
type: 'schema';
|
|
2334
2441
|
isRequired: true;
|
|
2335
2442
|
isArray: true;
|
|
2336
2443
|
minArrayLength: 0;
|
|
2337
2444
|
options: {
|
|
2338
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
2445
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.CalendarSchema;
|
|
2339
2446
|
};
|
|
2340
2447
|
};
|
|
2341
2448
|
/** . */
|
|
@@ -2346,74 +2453,15 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2346
2453
|
};
|
|
2347
2454
|
};
|
|
2348
2455
|
}
|
|
2349
|
-
interface
|
|
2350
|
-
}
|
|
2351
|
-
}
|
|
2352
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2353
|
-
interface Teammate {
|
|
2354
|
-
'personId': string;
|
|
2355
|
-
'durationMinutes': number;
|
|
2356
|
-
}
|
|
2357
|
-
interface TeammateSchema extends SpruceSchema.Schema {
|
|
2358
|
-
id: 'teammate';
|
|
2359
|
-
version: 'v2021_05_19';
|
|
2360
|
-
namespace: 'Calendar';
|
|
2361
|
-
name: '';
|
|
2362
|
-
fields: {
|
|
2363
|
-
/** . */
|
|
2364
|
-
'personId': {
|
|
2365
|
-
type: 'id';
|
|
2366
|
-
isRequired: true;
|
|
2367
|
-
options: undefined;
|
|
2368
|
-
};
|
|
2369
|
-
/** . */
|
|
2370
|
-
'durationMinutes': {
|
|
2371
|
-
type: 'number';
|
|
2372
|
-
isRequired: true;
|
|
2373
|
-
options: undefined;
|
|
2374
|
-
};
|
|
2375
|
-
};
|
|
2376
|
-
}
|
|
2377
|
-
interface TeammateEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TeammateSchema> {
|
|
2378
|
-
}
|
|
2379
|
-
}
|
|
2380
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2381
|
-
interface GetConflictsForTimeRangeEmitPayload {
|
|
2382
|
-
'startDateTimeMs': number;
|
|
2383
|
-
'teammate': SpruceSchemas.Calendar.v2021_05_19.Teammate;
|
|
2384
|
-
}
|
|
2385
|
-
interface GetConflictsForTimeRangeEmitPayloadSchema extends SpruceSchema.Schema {
|
|
2386
|
-
id: 'getConflictsForTimeRangeEmitPayload';
|
|
2387
|
-
version: 'v2021_05_19';
|
|
2388
|
-
namespace: 'Calendar';
|
|
2389
|
-
name: '';
|
|
2390
|
-
fields: {
|
|
2391
|
-
/** . */
|
|
2392
|
-
'startDateTimeMs': {
|
|
2393
|
-
type: 'number';
|
|
2394
|
-
isRequired: true;
|
|
2395
|
-
options: undefined;
|
|
2396
|
-
};
|
|
2397
|
-
/** . */
|
|
2398
|
-
'teammate': {
|
|
2399
|
-
type: 'schema';
|
|
2400
|
-
isRequired: true;
|
|
2401
|
-
options: {
|
|
2402
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.TeammateSchema;
|
|
2403
|
-
};
|
|
2404
|
-
};
|
|
2405
|
-
};
|
|
2406
|
-
}
|
|
2407
|
-
interface GetConflictsForTimeRangeEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayloadSchema> {
|
|
2456
|
+
interface ListCalendarsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarsResponsePayloadSchema> {
|
|
2408
2457
|
}
|
|
2409
2458
|
}
|
|
2410
2459
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2411
|
-
interface
|
|
2460
|
+
interface GetPreferencesEmitTarget {
|
|
2412
2461
|
'organizationId': string;
|
|
2413
|
-
'calendarIds': string[];
|
|
2414
2462
|
}
|
|
2415
|
-
interface
|
|
2416
|
-
id: '
|
|
2463
|
+
interface GetPreferencesEmitTargetSchema extends SpruceSchema.Schema {
|
|
2464
|
+
id: 'getPreferencesEmitTarget';
|
|
2417
2465
|
version: 'v2021_05_19';
|
|
2418
2466
|
namespace: 'Calendar';
|
|
2419
2467
|
name: '';
|
|
@@ -2424,241 +2472,85 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2424
2472
|
isRequired: true;
|
|
2425
2473
|
options: undefined;
|
|
2426
2474
|
};
|
|
2427
|
-
/** . */
|
|
2428
|
-
'calendarIds': {
|
|
2429
|
-
type: 'id';
|
|
2430
|
-
isRequired: true;
|
|
2431
|
-
isArray: true;
|
|
2432
|
-
options: undefined;
|
|
2433
|
-
};
|
|
2434
|
-
};
|
|
2435
|
-
}
|
|
2436
|
-
interface GetConflictsForTimeRangeEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema> {
|
|
2437
|
-
}
|
|
2438
|
-
}
|
|
2439
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2440
|
-
interface GetConflictsForTimeRangeEmitTargetAndPayload {
|
|
2441
|
-
/** Source. */
|
|
2442
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2443
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTarget;
|
|
2444
|
-
'payload': SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayload;
|
|
2445
|
-
}
|
|
2446
|
-
interface GetConflictsForTimeRangeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2447
|
-
id: 'getConflictsForTimeRangeEmitTargetAndPayload';
|
|
2448
|
-
version: 'v2021_05_19';
|
|
2449
|
-
namespace: 'Calendar';
|
|
2450
|
-
name: '';
|
|
2451
|
-
fields: {
|
|
2452
|
-
/** Source. */
|
|
2453
|
-
'source': {
|
|
2454
|
-
label: 'Source';
|
|
2455
|
-
type: 'schema';
|
|
2456
|
-
options: {
|
|
2457
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
2458
|
-
};
|
|
2459
|
-
};
|
|
2460
|
-
/** . */
|
|
2461
|
-
'target': {
|
|
2462
|
-
type: 'schema';
|
|
2463
|
-
isRequired: true;
|
|
2464
|
-
options: {
|
|
2465
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema;
|
|
2466
|
-
};
|
|
2467
|
-
};
|
|
2468
|
-
/** . */
|
|
2469
|
-
'payload': {
|
|
2470
|
-
type: 'schema';
|
|
2471
|
-
isRequired: true;
|
|
2472
|
-
options: {
|
|
2473
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayloadSchema;
|
|
2474
|
-
};
|
|
2475
|
-
};
|
|
2476
|
-
};
|
|
2477
|
-
}
|
|
2478
|
-
interface GetConflictsForTimeRangeEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetAndPayloadSchema> {
|
|
2479
|
-
}
|
|
2480
|
-
}
|
|
2481
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2482
|
-
interface GetConflictsForTimeRangeResponsePayload {
|
|
2483
|
-
'isAvailable': boolean;
|
|
2484
|
-
'excludedBy'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[] | undefined | null;
|
|
2485
|
-
'overlapsWith'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[] | undefined | null;
|
|
2486
|
-
}
|
|
2487
|
-
interface GetConflictsForTimeRangeResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2488
|
-
id: 'getConflictsForTimeRangeResponsePayload';
|
|
2489
|
-
version: 'v2021_05_19';
|
|
2490
|
-
namespace: 'Calendar';
|
|
2491
|
-
name: '';
|
|
2492
|
-
fields: {
|
|
2493
|
-
/** . */
|
|
2494
|
-
'isAvailable': {
|
|
2495
|
-
type: 'boolean';
|
|
2496
|
-
isRequired: true;
|
|
2497
|
-
options: undefined;
|
|
2498
|
-
};
|
|
2499
|
-
/** . */
|
|
2500
|
-
'excludedBy': {
|
|
2501
|
-
type: 'schema';
|
|
2502
|
-
isArray: true;
|
|
2503
|
-
options: {
|
|
2504
|
-
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2505
|
-
};
|
|
2506
|
-
};
|
|
2507
|
-
/** . */
|
|
2508
|
-
'overlapsWith': {
|
|
2509
|
-
type: 'schema';
|
|
2510
|
-
isArray: true;
|
|
2511
|
-
options: {
|
|
2512
|
-
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2513
|
-
};
|
|
2514
|
-
};
|
|
2515
|
-
};
|
|
2516
|
-
}
|
|
2517
|
-
interface GetConflictsForTimeRangeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeResponsePayloadSchema> {
|
|
2518
|
-
}
|
|
2519
|
-
}
|
|
2520
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2521
|
-
interface ListCalendarEventsEmitTarget {
|
|
2522
|
-
'locationId': string;
|
|
2523
|
-
}
|
|
2524
|
-
interface ListCalendarEventsEmitTargetSchema extends SpruceSchema.Schema {
|
|
2525
|
-
id: 'listCalendarEventsEmitTarget';
|
|
2526
|
-
version: 'v2021_05_19';
|
|
2527
|
-
namespace: 'Calendar';
|
|
2528
|
-
name: '';
|
|
2529
|
-
fields: {
|
|
2530
|
-
/** . */
|
|
2531
|
-
'locationId': {
|
|
2532
|
-
type: 'id';
|
|
2533
|
-
isRequired: true;
|
|
2534
|
-
options: undefined;
|
|
2535
|
-
};
|
|
2536
2475
|
};
|
|
2537
2476
|
}
|
|
2538
|
-
interface
|
|
2477
|
+
interface GetPreferencesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesEmitTargetSchema> {
|
|
2539
2478
|
}
|
|
2540
2479
|
}
|
|
2541
2480
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2542
|
-
interface
|
|
2543
|
-
'
|
|
2481
|
+
interface GetPreferencesResponsePayload {
|
|
2482
|
+
'selectedCalendarIds'?: string[] | undefined | null;
|
|
2483
|
+
'visiblePeopleMode'?: ("me" | "working" | "custom") | undefined | null;
|
|
2484
|
+
'visiblePeopleIds'?: string[] | undefined | null;
|
|
2544
2485
|
}
|
|
2545
|
-
interface
|
|
2546
|
-
id: '
|
|
2486
|
+
interface GetPreferencesResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2487
|
+
id: 'getPreferencesResponsePayload';
|
|
2547
2488
|
version: 'v2021_05_19';
|
|
2548
2489
|
namespace: 'Calendar';
|
|
2549
2490
|
name: '';
|
|
2550
2491
|
fields: {
|
|
2551
2492
|
/** . */
|
|
2552
|
-
'
|
|
2493
|
+
'selectedCalendarIds': {
|
|
2553
2494
|
type: 'id';
|
|
2554
2495
|
isArray: true;
|
|
2496
|
+
minArrayLength: 0;
|
|
2555
2497
|
options: undefined;
|
|
2556
2498
|
};
|
|
2557
|
-
};
|
|
2558
|
-
}
|
|
2559
|
-
interface ListCalendarEventsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayloadSchema> {
|
|
2560
|
-
}
|
|
2561
|
-
}
|
|
2562
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2563
|
-
interface ListCalendarEventsEmitTargetAndPayload {
|
|
2564
|
-
/** Source. */
|
|
2565
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2566
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTarget;
|
|
2567
|
-
'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayload | undefined | null;
|
|
2568
|
-
}
|
|
2569
|
-
interface ListCalendarEventsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2570
|
-
id: 'listCalendarEventsEmitTargetAndPayload';
|
|
2571
|
-
version: 'v2021_05_19';
|
|
2572
|
-
namespace: 'Calendar';
|
|
2573
|
-
name: '';
|
|
2574
|
-
fields: {
|
|
2575
|
-
/** Source. */
|
|
2576
|
-
'source': {
|
|
2577
|
-
label: 'Source';
|
|
2578
|
-
type: 'schema';
|
|
2579
|
-
options: {
|
|
2580
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
2581
|
-
};
|
|
2582
|
-
};
|
|
2583
|
-
/** . */
|
|
2584
|
-
'target': {
|
|
2585
|
-
type: 'schema';
|
|
2586
|
-
isRequired: true;
|
|
2587
|
-
options: {
|
|
2588
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetSchema;
|
|
2589
|
-
};
|
|
2590
|
-
};
|
|
2591
2499
|
/** . */
|
|
2592
|
-
'
|
|
2593
|
-
type: '
|
|
2500
|
+
'visiblePeopleMode': {
|
|
2501
|
+
type: 'select';
|
|
2594
2502
|
options: {
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
interface ListCalendarEventsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2608
|
-
id: 'listCalendarEventsResponsePayload';
|
|
2609
|
-
version: 'v2021_05_19';
|
|
2610
|
-
namespace: 'Calendar';
|
|
2611
|
-
name: '';
|
|
2612
|
-
fields: {
|
|
2503
|
+
choices: [{
|
|
2504
|
+
"value": "me";
|
|
2505
|
+
"label": "Me";
|
|
2506
|
+
}, {
|
|
2507
|
+
"value": "working";
|
|
2508
|
+
"label": "Working";
|
|
2509
|
+
}, {
|
|
2510
|
+
"value": "custom";
|
|
2511
|
+
"label": "Custom";
|
|
2512
|
+
}];
|
|
2513
|
+
};
|
|
2514
|
+
};
|
|
2613
2515
|
/** . */
|
|
2614
|
-
'
|
|
2615
|
-
type: '
|
|
2616
|
-
isRequired: true;
|
|
2516
|
+
'visiblePeopleIds': {
|
|
2517
|
+
type: 'text';
|
|
2617
2518
|
isArray: true;
|
|
2618
|
-
|
|
2619
|
-
options: {
|
|
2620
|
-
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2621
|
-
};
|
|
2519
|
+
options: undefined;
|
|
2622
2520
|
};
|
|
2623
2521
|
};
|
|
2624
2522
|
}
|
|
2625
|
-
interface
|
|
2523
|
+
interface GetPreferencesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetPreferencesResponsePayloadSchema> {
|
|
2626
2524
|
}
|
|
2627
2525
|
}
|
|
2628
2526
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2629
|
-
interface
|
|
2630
|
-
'
|
|
2631
|
-
'calendarPersonId'?: string | undefined | null;
|
|
2527
|
+
interface ListCalendarEventTypesEmitPayload {
|
|
2528
|
+
'shouldShowOnlyMine'?: boolean | undefined | null;
|
|
2632
2529
|
}
|
|
2633
|
-
interface
|
|
2634
|
-
id: '
|
|
2530
|
+
interface ListCalendarEventTypesEmitPayloadSchema extends SpruceSchema.Schema {
|
|
2531
|
+
id: 'listCalendarEventTypesEmitPayload';
|
|
2635
2532
|
version: 'v2021_05_19';
|
|
2636
2533
|
namespace: 'Calendar';
|
|
2637
2534
|
name: '';
|
|
2638
2535
|
fields: {
|
|
2639
2536
|
/** . */
|
|
2640
|
-
'
|
|
2641
|
-
type: '
|
|
2642
|
-
options: undefined;
|
|
2643
|
-
};
|
|
2644
|
-
/** . */
|
|
2645
|
-
'calendarPersonId': {
|
|
2646
|
-
type: 'id';
|
|
2537
|
+
'shouldShowOnlyMine': {
|
|
2538
|
+
type: 'boolean';
|
|
2647
2539
|
options: undefined;
|
|
2648
2540
|
};
|
|
2649
2541
|
};
|
|
2650
2542
|
}
|
|
2651
|
-
interface
|
|
2543
|
+
interface ListCalendarEventTypesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema> {
|
|
2652
2544
|
}
|
|
2653
2545
|
}
|
|
2654
2546
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2655
|
-
interface
|
|
2547
|
+
interface ListCalendarEventTypesEmitTargetAndPayload {
|
|
2656
2548
|
/** Source. */
|
|
2657
2549
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2658
|
-
'
|
|
2550
|
+
'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayload | undefined | null;
|
|
2659
2551
|
}
|
|
2660
|
-
interface
|
|
2661
|
-
id: '
|
|
2552
|
+
interface ListCalendarEventTypesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2553
|
+
id: 'listCalendarEventTypesEmitTargetAndPayload';
|
|
2662
2554
|
version: 'v2021_05_19';
|
|
2663
2555
|
namespace: 'Calendar';
|
|
2664
2556
|
name: '';
|
|
@@ -2672,36 +2564,36 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2672
2564
|
};
|
|
2673
2565
|
};
|
|
2674
2566
|
/** . */
|
|
2675
|
-
'
|
|
2567
|
+
'payload': {
|
|
2676
2568
|
type: 'schema';
|
|
2677
2569
|
options: {
|
|
2678
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
2570
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitPayloadSchema;
|
|
2679
2571
|
};
|
|
2680
2572
|
};
|
|
2681
2573
|
};
|
|
2682
2574
|
}
|
|
2683
|
-
interface
|
|
2575
|
+
interface ListCalendarEventTypesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesEmitTargetAndPayloadSchema> {
|
|
2684
2576
|
}
|
|
2685
2577
|
}
|
|
2686
2578
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2687
|
-
interface
|
|
2688
|
-
'
|
|
2579
|
+
interface ListCalendarEventTypesResponsePayload {
|
|
2580
|
+
'calendarEventTypes': SpruceSchemas.Calendar.v2021_05_19.CalendarEventType[];
|
|
2689
2581
|
'count': number;
|
|
2690
2582
|
}
|
|
2691
|
-
interface
|
|
2692
|
-
id: '
|
|
2583
|
+
interface ListCalendarEventTypesResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2584
|
+
id: 'listCalendarEventTypesResponsePayload';
|
|
2693
2585
|
version: 'v2021_05_19';
|
|
2694
2586
|
namespace: 'Calendar';
|
|
2695
2587
|
name: '';
|
|
2696
2588
|
fields: {
|
|
2697
2589
|
/** . */
|
|
2698
|
-
'
|
|
2590
|
+
'calendarEventTypes': {
|
|
2699
2591
|
type: 'schema';
|
|
2700
2592
|
isRequired: true;
|
|
2701
2593
|
isArray: true;
|
|
2702
2594
|
minArrayLength: 0;
|
|
2703
2595
|
options: {
|
|
2704
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
2596
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.CalendarEventTypeSchema;
|
|
2705
2597
|
};
|
|
2706
2598
|
};
|
|
2707
2599
|
/** . */
|
|
@@ -2712,72 +2604,60 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2712
2604
|
};
|
|
2713
2605
|
};
|
|
2714
2606
|
}
|
|
2715
|
-
interface
|
|
2607
|
+
interface ListCalendarEventTypesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventTypesResponsePayloadSchema> {
|
|
2716
2608
|
}
|
|
2717
2609
|
}
|
|
2718
2610
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2719
|
-
interface
|
|
2720
|
-
'
|
|
2721
|
-
'calendarEventId': string;
|
|
2722
|
-
'locationId'?: string | undefined | null;
|
|
2611
|
+
interface ListCalendarEventsEmitTarget {
|
|
2612
|
+
'locationId': string;
|
|
2723
2613
|
}
|
|
2724
|
-
interface
|
|
2725
|
-
id: '
|
|
2614
|
+
interface ListCalendarEventsEmitTargetSchema extends SpruceSchema.Schema {
|
|
2615
|
+
id: 'listCalendarEventsEmitTarget';
|
|
2726
2616
|
version: 'v2021_05_19';
|
|
2727
2617
|
namespace: 'Calendar';
|
|
2728
2618
|
name: '';
|
|
2729
2619
|
fields: {
|
|
2730
|
-
/** . */
|
|
2731
|
-
'organizationId': {
|
|
2732
|
-
type: 'id';
|
|
2733
|
-
isRequired: true;
|
|
2734
|
-
options: undefined;
|
|
2735
|
-
};
|
|
2736
|
-
/** . */
|
|
2737
|
-
'calendarEventId': {
|
|
2738
|
-
type: 'id';
|
|
2739
|
-
isRequired: true;
|
|
2740
|
-
options: undefined;
|
|
2741
|
-
};
|
|
2742
2620
|
/** . */
|
|
2743
2621
|
'locationId': {
|
|
2744
2622
|
type: 'id';
|
|
2623
|
+
isRequired: true;
|
|
2745
2624
|
options: undefined;
|
|
2746
2625
|
};
|
|
2747
2626
|
};
|
|
2748
2627
|
}
|
|
2749
|
-
interface
|
|
2628
|
+
interface ListCalendarEventsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetSchema> {
|
|
2750
2629
|
}
|
|
2751
2630
|
}
|
|
2752
2631
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2753
|
-
interface
|
|
2754
|
-
'
|
|
2632
|
+
interface ListCalendarEventsEmitPayload {
|
|
2633
|
+
'groupIds'?: string[] | undefined | null;
|
|
2755
2634
|
}
|
|
2756
|
-
interface
|
|
2757
|
-
id: '
|
|
2635
|
+
interface ListCalendarEventsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
2636
|
+
id: 'listCalendarEventsEmitPayload';
|
|
2758
2637
|
version: 'v2021_05_19';
|
|
2759
2638
|
namespace: 'Calendar';
|
|
2760
2639
|
name: '';
|
|
2761
2640
|
fields: {
|
|
2762
2641
|
/** . */
|
|
2763
|
-
'
|
|
2642
|
+
'groupIds': {
|
|
2764
2643
|
type: 'id';
|
|
2644
|
+
isArray: true;
|
|
2765
2645
|
options: undefined;
|
|
2766
2646
|
};
|
|
2767
2647
|
};
|
|
2768
2648
|
}
|
|
2769
|
-
interface
|
|
2649
|
+
interface ListCalendarEventsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayloadSchema> {
|
|
2770
2650
|
}
|
|
2771
2651
|
}
|
|
2772
2652
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2773
|
-
interface
|
|
2653
|
+
interface ListCalendarEventsEmitTargetAndPayload {
|
|
2774
2654
|
/** Source. */
|
|
2775
2655
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2776
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.
|
|
2777
|
-
'payload'?: SpruceSchemas.Calendar.v2021_05_19.
|
|
2656
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTarget;
|
|
2657
|
+
'payload'?: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayload | undefined | null;
|
|
2778
2658
|
}
|
|
2779
|
-
interface
|
|
2780
|
-
id: '
|
|
2659
|
+
interface ListCalendarEventsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2660
|
+
id: 'listCalendarEventsEmitTargetAndPayload';
|
|
2781
2661
|
version: 'v2021_05_19';
|
|
2782
2662
|
namespace: 'Calendar';
|
|
2783
2663
|
name: '';
|
|
@@ -2795,42 +2675,44 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2795
2675
|
type: 'schema';
|
|
2796
2676
|
isRequired: true;
|
|
2797
2677
|
options: {
|
|
2798
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
2678
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetSchema;
|
|
2799
2679
|
};
|
|
2800
2680
|
};
|
|
2801
2681
|
/** . */
|
|
2802
2682
|
'payload': {
|
|
2803
2683
|
type: 'schema';
|
|
2804
2684
|
options: {
|
|
2805
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.
|
|
2685
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitPayloadSchema;
|
|
2806
2686
|
};
|
|
2807
2687
|
};
|
|
2808
2688
|
};
|
|
2809
2689
|
}
|
|
2810
|
-
interface
|
|
2690
|
+
interface ListCalendarEventsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsEmitTargetAndPayloadSchema> {
|
|
2811
2691
|
}
|
|
2812
2692
|
}
|
|
2813
2693
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2814
|
-
interface
|
|
2815
|
-
'
|
|
2694
|
+
interface ListCalendarEventsResponsePayload {
|
|
2695
|
+
'calendarEvents': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[];
|
|
2816
2696
|
}
|
|
2817
|
-
interface
|
|
2818
|
-
id: '
|
|
2697
|
+
interface ListCalendarEventsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2698
|
+
id: 'listCalendarEventsResponsePayload';
|
|
2819
2699
|
version: 'v2021_05_19';
|
|
2820
2700
|
namespace: 'Calendar';
|
|
2821
2701
|
name: '';
|
|
2822
2702
|
fields: {
|
|
2823
2703
|
/** . */
|
|
2824
|
-
'
|
|
2825
|
-
type: '
|
|
2704
|
+
'calendarEvents': {
|
|
2705
|
+
type: 'schema';
|
|
2826
2706
|
isRequired: true;
|
|
2827
2707
|
isArray: true;
|
|
2828
2708
|
minArrayLength: 0;
|
|
2829
|
-
options:
|
|
2709
|
+
options: {
|
|
2710
|
+
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2711
|
+
};
|
|
2830
2712
|
};
|
|
2831
2713
|
};
|
|
2832
2714
|
}
|
|
2833
|
-
interface
|
|
2715
|
+
interface ListCalendarEventsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListCalendarEventsResponsePayloadSchema> {
|
|
2834
2716
|
}
|
|
2835
2717
|
}
|
|
2836
2718
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
@@ -3585,6 +3467,124 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
3585
3467
|
interface UpdateCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.UpdateCalendarEventResponsePayloadSchema> {
|
|
3586
3468
|
}
|
|
3587
3469
|
}
|
|
3470
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
3471
|
+
interface RegisterEventToolsEmitTarget {
|
|
3472
|
+
'organizationId': string;
|
|
3473
|
+
'calendarEventId': string;
|
|
3474
|
+
'locationId'?: string | undefined | null;
|
|
3475
|
+
}
|
|
3476
|
+
interface RegisterEventToolsEmitTargetSchema extends SpruceSchema.Schema {
|
|
3477
|
+
id: 'registerEventToolsEmitTarget';
|
|
3478
|
+
version: 'v2021_05_19';
|
|
3479
|
+
namespace: 'Calendar';
|
|
3480
|
+
name: '';
|
|
3481
|
+
fields: {
|
|
3482
|
+
/** . */
|
|
3483
|
+
'organizationId': {
|
|
3484
|
+
type: 'id';
|
|
3485
|
+
isRequired: true;
|
|
3486
|
+
options: undefined;
|
|
3487
|
+
};
|
|
3488
|
+
/** . */
|
|
3489
|
+
'calendarEventId': {
|
|
3490
|
+
type: 'id';
|
|
3491
|
+
isRequired: true;
|
|
3492
|
+
options: undefined;
|
|
3493
|
+
};
|
|
3494
|
+
/** . */
|
|
3495
|
+
'locationId': {
|
|
3496
|
+
type: 'id';
|
|
3497
|
+
options: undefined;
|
|
3498
|
+
};
|
|
3499
|
+
};
|
|
3500
|
+
}
|
|
3501
|
+
interface RegisterEventToolsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.RegisterEventToolsEmitTargetSchema> {
|
|
3502
|
+
}
|
|
3503
|
+
}
|
|
3504
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
3505
|
+
interface RegisterEventToolsEmitPayload {
|
|
3506
|
+
'eventTypeSlug'?: string | undefined | null;
|
|
3507
|
+
}
|
|
3508
|
+
interface RegisterEventToolsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
3509
|
+
id: 'registerEventToolsEmitPayload';
|
|
3510
|
+
version: 'v2021_05_19';
|
|
3511
|
+
namespace: 'Calendar';
|
|
3512
|
+
name: '';
|
|
3513
|
+
fields: {
|
|
3514
|
+
/** . */
|
|
3515
|
+
'eventTypeSlug': {
|
|
3516
|
+
type: 'id';
|
|
3517
|
+
options: undefined;
|
|
3518
|
+
};
|
|
3519
|
+
};
|
|
3520
|
+
}
|
|
3521
|
+
interface RegisterEventToolsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.RegisterEventToolsEmitPayloadSchema> {
|
|
3522
|
+
}
|
|
3523
|
+
}
|
|
3524
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
3525
|
+
interface RegisterEventToolsEmitTargetAndPayload {
|
|
3526
|
+
/** Source. */
|
|
3527
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
3528
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.RegisterEventToolsEmitTarget;
|
|
3529
|
+
'payload'?: SpruceSchemas.Calendar.v2021_05_19.RegisterEventToolsEmitPayload | undefined | null;
|
|
3530
|
+
}
|
|
3531
|
+
interface RegisterEventToolsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
3532
|
+
id: 'registerEventToolsEmitTargetAndPayload';
|
|
3533
|
+
version: 'v2021_05_19';
|
|
3534
|
+
namespace: 'Calendar';
|
|
3535
|
+
name: '';
|
|
3536
|
+
fields: {
|
|
3537
|
+
/** Source. */
|
|
3538
|
+
'source': {
|
|
3539
|
+
label: 'Source';
|
|
3540
|
+
type: 'schema';
|
|
3541
|
+
options: {
|
|
3542
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
3543
|
+
};
|
|
3544
|
+
};
|
|
3545
|
+
/** . */
|
|
3546
|
+
'target': {
|
|
3547
|
+
type: 'schema';
|
|
3548
|
+
isRequired: true;
|
|
3549
|
+
options: {
|
|
3550
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.RegisterEventToolsEmitTargetSchema;
|
|
3551
|
+
};
|
|
3552
|
+
};
|
|
3553
|
+
/** . */
|
|
3554
|
+
'payload': {
|
|
3555
|
+
type: 'schema';
|
|
3556
|
+
options: {
|
|
3557
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.RegisterEventToolsEmitPayloadSchema;
|
|
3558
|
+
};
|
|
3559
|
+
};
|
|
3560
|
+
};
|
|
3561
|
+
}
|
|
3562
|
+
interface RegisterEventToolsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.RegisterEventToolsEmitTargetAndPayloadSchema> {
|
|
3563
|
+
}
|
|
3564
|
+
}
|
|
3565
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
3566
|
+
interface RegisterEventToolsResponsePayload {
|
|
3567
|
+
'vcIds': string[];
|
|
3568
|
+
}
|
|
3569
|
+
interface RegisterEventToolsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
3570
|
+
id: 'registerEventToolsResponsePayload';
|
|
3571
|
+
version: 'v2021_05_19';
|
|
3572
|
+
namespace: 'Calendar';
|
|
3573
|
+
name: '';
|
|
3574
|
+
fields: {
|
|
3575
|
+
/** . */
|
|
3576
|
+
'vcIds': {
|
|
3577
|
+
type: 'id';
|
|
3578
|
+
isRequired: true;
|
|
3579
|
+
isArray: true;
|
|
3580
|
+
minArrayLength: 0;
|
|
3581
|
+
options: undefined;
|
|
3582
|
+
};
|
|
3583
|
+
};
|
|
3584
|
+
}
|
|
3585
|
+
interface RegisterEventToolsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.RegisterEventToolsResponsePayloadSchema> {
|
|
3586
|
+
}
|
|
3587
|
+
}
|
|
3588
3588
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
3589
3589
|
interface UpdatePreferencesEmitTarget {
|
|
3590
3590
|
'organizationId': string;
|
|
@@ -4801,134 +4801,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4801
4801
|
interface GetSchedulesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesResponsePayloadSchema> {
|
|
4802
4802
|
}
|
|
4803
4803
|
}
|
|
4804
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
4805
|
-
interface GetSchedulesEmitTarget {
|
|
4806
|
-
'organizationId'?: string | undefined | null;
|
|
4807
|
-
'locationId'?: string | undefined | null;
|
|
4808
|
-
'calendarIds': string[];
|
|
4809
|
-
}
|
|
4810
|
-
interface GetSchedulesEmitTargetSchema extends SpruceSchema.Schema {
|
|
4811
|
-
id: 'getSchedulesEmitTarget';
|
|
4812
|
-
version: 'v2021_05_19';
|
|
4813
|
-
namespace: 'Calendar';
|
|
4814
|
-
name: '';
|
|
4815
|
-
fields: {
|
|
4816
|
-
/** . */
|
|
4817
|
-
'organizationId': {
|
|
4818
|
-
type: 'id';
|
|
4819
|
-
options: undefined;
|
|
4820
|
-
};
|
|
4821
|
-
/** . */
|
|
4822
|
-
'locationId': {
|
|
4823
|
-
type: 'id';
|
|
4824
|
-
options: undefined;
|
|
4825
|
-
};
|
|
4826
|
-
/** . */
|
|
4827
|
-
'calendarIds': {
|
|
4828
|
-
type: 'id';
|
|
4829
|
-
isRequired: true;
|
|
4830
|
-
isArray: true;
|
|
4831
|
-
options: undefined;
|
|
4832
|
-
};
|
|
4833
|
-
};
|
|
4834
|
-
}
|
|
4835
|
-
interface GetSchedulesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema> {
|
|
4836
|
-
}
|
|
4837
|
-
}
|
|
4838
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
4839
|
-
interface SendSchedulesEmitPayload {
|
|
4840
|
-
'startDateTimeMs': number;
|
|
4841
|
-
'endDateTimeMs': number;
|
|
4842
|
-
'personIds'?: string[] | undefined | null;
|
|
4843
|
-
'chunkingId': string;
|
|
4844
|
-
'sendToFqen': (EventName);
|
|
4845
|
-
}
|
|
4846
|
-
interface SendSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
|
|
4847
|
-
id: 'sendSchedulesEmitPayload';
|
|
4848
|
-
version: 'v2021_05_19';
|
|
4849
|
-
namespace: 'Calendar';
|
|
4850
|
-
name: '';
|
|
4851
|
-
importsWhenRemote: ['import { EventName } from \'@sprucelabs/mercury-types\''];
|
|
4852
|
-
fields: {
|
|
4853
|
-
/** . */
|
|
4854
|
-
'startDateTimeMs': {
|
|
4855
|
-
type: 'number';
|
|
4856
|
-
isRequired: true;
|
|
4857
|
-
options: undefined;
|
|
4858
|
-
};
|
|
4859
|
-
/** . */
|
|
4860
|
-
'endDateTimeMs': {
|
|
4861
|
-
type: 'number';
|
|
4862
|
-
isRequired: true;
|
|
4863
|
-
options: undefined;
|
|
4864
|
-
};
|
|
4865
|
-
/** . */
|
|
4866
|
-
'personIds': {
|
|
4867
|
-
type: 'id';
|
|
4868
|
-
isArray: true;
|
|
4869
|
-
options: undefined;
|
|
4870
|
-
};
|
|
4871
|
-
/** . */
|
|
4872
|
-
'chunkingId': {
|
|
4873
|
-
type: 'id';
|
|
4874
|
-
isRequired: true;
|
|
4875
|
-
options: undefined;
|
|
4876
|
-
};
|
|
4877
|
-
/** . */
|
|
4878
|
-
'sendToFqen': {
|
|
4879
|
-
type: 'raw';
|
|
4880
|
-
isRequired: true;
|
|
4881
|
-
options: {
|
|
4882
|
-
valueType: `EventName`;
|
|
4883
|
-
};
|
|
4884
|
-
};
|
|
4885
|
-
};
|
|
4886
|
-
}
|
|
4887
|
-
interface SendSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayloadSchema> {
|
|
4888
|
-
}
|
|
4889
|
-
}
|
|
4890
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
4891
|
-
interface SendSchedulesEmitTargetAndPayload {
|
|
4892
|
-
/** Source. */
|
|
4893
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
4894
|
-
'target': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTarget;
|
|
4895
|
-
'payload': SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayload;
|
|
4896
|
-
}
|
|
4897
|
-
interface SendSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
4898
|
-
id: 'sendSchedulesEmitTargetAndPayload';
|
|
4899
|
-
version: 'v2021_05_19';
|
|
4900
|
-
namespace: 'Calendar';
|
|
4901
|
-
name: '';
|
|
4902
|
-
fields: {
|
|
4903
|
-
/** Source. */
|
|
4904
|
-
'source': {
|
|
4905
|
-
label: 'Source';
|
|
4906
|
-
type: 'schema';
|
|
4907
|
-
options: {
|
|
4908
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
4909
|
-
};
|
|
4910
|
-
};
|
|
4911
|
-
/** . */
|
|
4912
|
-
'target': {
|
|
4913
|
-
type: 'schema';
|
|
4914
|
-
isRequired: true;
|
|
4915
|
-
options: {
|
|
4916
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema;
|
|
4917
|
-
};
|
|
4918
|
-
};
|
|
4919
|
-
/** . */
|
|
4920
|
-
'payload': {
|
|
4921
|
-
type: 'schema';
|
|
4922
|
-
isRequired: true;
|
|
4923
|
-
options: {
|
|
4924
|
-
schema: SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayloadSchema;
|
|
4925
|
-
};
|
|
4926
|
-
};
|
|
4927
|
-
};
|
|
4928
|
-
}
|
|
4929
|
-
interface SendSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitTargetAndPayloadSchema> {
|
|
4930
|
-
}
|
|
4931
|
-
}
|
|
4932
4804
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
4933
4805
|
interface ListPeopleWithoutSchedulesEmitTarget {
|
|
4934
4806
|
'locationId': string;
|
|
@@ -5082,6 +4954,134 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
5082
4954
|
interface ListPeopleWithoutSchedulesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.ListPeopleWithoutSchedulesResponsePayloadSchema> {
|
|
5083
4955
|
}
|
|
5084
4956
|
}
|
|
4957
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
4958
|
+
interface GetSchedulesEmitTarget {
|
|
4959
|
+
'organizationId'?: string | undefined | null;
|
|
4960
|
+
'locationId'?: string | undefined | null;
|
|
4961
|
+
'calendarIds': string[];
|
|
4962
|
+
}
|
|
4963
|
+
interface GetSchedulesEmitTargetSchema extends SpruceSchema.Schema {
|
|
4964
|
+
id: 'getSchedulesEmitTarget';
|
|
4965
|
+
version: 'v2021_05_19';
|
|
4966
|
+
namespace: 'Calendar';
|
|
4967
|
+
name: '';
|
|
4968
|
+
fields: {
|
|
4969
|
+
/** . */
|
|
4970
|
+
'organizationId': {
|
|
4971
|
+
type: 'id';
|
|
4972
|
+
options: undefined;
|
|
4973
|
+
};
|
|
4974
|
+
/** . */
|
|
4975
|
+
'locationId': {
|
|
4976
|
+
type: 'id';
|
|
4977
|
+
options: undefined;
|
|
4978
|
+
};
|
|
4979
|
+
/** . */
|
|
4980
|
+
'calendarIds': {
|
|
4981
|
+
type: 'id';
|
|
4982
|
+
isRequired: true;
|
|
4983
|
+
isArray: true;
|
|
4984
|
+
options: undefined;
|
|
4985
|
+
};
|
|
4986
|
+
};
|
|
4987
|
+
}
|
|
4988
|
+
interface GetSchedulesEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema> {
|
|
4989
|
+
}
|
|
4990
|
+
}
|
|
4991
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
4992
|
+
interface SendSchedulesEmitPayload {
|
|
4993
|
+
'startDateTimeMs': number;
|
|
4994
|
+
'endDateTimeMs': number;
|
|
4995
|
+
'personIds'?: string[] | undefined | null;
|
|
4996
|
+
'chunkingId': string;
|
|
4997
|
+
'sendToFqen': (EventName);
|
|
4998
|
+
}
|
|
4999
|
+
interface SendSchedulesEmitPayloadSchema extends SpruceSchema.Schema {
|
|
5000
|
+
id: 'sendSchedulesEmitPayload';
|
|
5001
|
+
version: 'v2021_05_19';
|
|
5002
|
+
namespace: 'Calendar';
|
|
5003
|
+
name: '';
|
|
5004
|
+
importsWhenRemote: ['import { EventName } from \'@sprucelabs/mercury-types\''];
|
|
5005
|
+
fields: {
|
|
5006
|
+
/** . */
|
|
5007
|
+
'startDateTimeMs': {
|
|
5008
|
+
type: 'number';
|
|
5009
|
+
isRequired: true;
|
|
5010
|
+
options: undefined;
|
|
5011
|
+
};
|
|
5012
|
+
/** . */
|
|
5013
|
+
'endDateTimeMs': {
|
|
5014
|
+
type: 'number';
|
|
5015
|
+
isRequired: true;
|
|
5016
|
+
options: undefined;
|
|
5017
|
+
};
|
|
5018
|
+
/** . */
|
|
5019
|
+
'personIds': {
|
|
5020
|
+
type: 'id';
|
|
5021
|
+
isArray: true;
|
|
5022
|
+
options: undefined;
|
|
5023
|
+
};
|
|
5024
|
+
/** . */
|
|
5025
|
+
'chunkingId': {
|
|
5026
|
+
type: 'id';
|
|
5027
|
+
isRequired: true;
|
|
5028
|
+
options: undefined;
|
|
5029
|
+
};
|
|
5030
|
+
/** . */
|
|
5031
|
+
'sendToFqen': {
|
|
5032
|
+
type: 'raw';
|
|
5033
|
+
isRequired: true;
|
|
5034
|
+
options: {
|
|
5035
|
+
valueType: `EventName`;
|
|
5036
|
+
};
|
|
5037
|
+
};
|
|
5038
|
+
};
|
|
5039
|
+
}
|
|
5040
|
+
interface SendSchedulesEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayloadSchema> {
|
|
5041
|
+
}
|
|
5042
|
+
}
|
|
5043
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
5044
|
+
interface SendSchedulesEmitTargetAndPayload {
|
|
5045
|
+
/** Source. */
|
|
5046
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
5047
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTarget;
|
|
5048
|
+
'payload': SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayload;
|
|
5049
|
+
}
|
|
5050
|
+
interface SendSchedulesEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
5051
|
+
id: 'sendSchedulesEmitTargetAndPayload';
|
|
5052
|
+
version: 'v2021_05_19';
|
|
5053
|
+
namespace: 'Calendar';
|
|
5054
|
+
name: '';
|
|
5055
|
+
fields: {
|
|
5056
|
+
/** Source. */
|
|
5057
|
+
'source': {
|
|
5058
|
+
label: 'Source';
|
|
5059
|
+
type: 'schema';
|
|
5060
|
+
options: {
|
|
5061
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
5062
|
+
};
|
|
5063
|
+
};
|
|
5064
|
+
/** . */
|
|
5065
|
+
'target': {
|
|
5066
|
+
type: 'schema';
|
|
5067
|
+
isRequired: true;
|
|
5068
|
+
options: {
|
|
5069
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.GetSchedulesEmitTargetSchema;
|
|
5070
|
+
};
|
|
5071
|
+
};
|
|
5072
|
+
/** . */
|
|
5073
|
+
'payload': {
|
|
5074
|
+
type: 'schema';
|
|
5075
|
+
isRequired: true;
|
|
5076
|
+
options: {
|
|
5077
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitPayloadSchema;
|
|
5078
|
+
};
|
|
5079
|
+
};
|
|
5080
|
+
};
|
|
5081
|
+
}
|
|
5082
|
+
interface SendSchedulesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.SendSchedulesEmitTargetAndPayloadSchema> {
|
|
5083
|
+
}
|
|
5084
|
+
}
|
|
5085
5085
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
5086
5086
|
interface CalendarTarget {
|
|
5087
5087
|
'organizationId'?: string | undefined | null;
|