@sprucelabs/spruce-calendar-components 28.3.76 → 28.3.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2114,90 +2114,116 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2114
2114
|
}
|
|
2115
2115
|
}
|
|
2116
2116
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2117
|
-
interface
|
|
2118
|
-
'
|
|
2119
|
-
'
|
|
2117
|
+
interface GetCalendarEventEmitTarget {
|
|
2118
|
+
'locationId': string;
|
|
2119
|
+
'calendarEventId': string;
|
|
2120
2120
|
}
|
|
2121
|
-
interface
|
|
2122
|
-
id: '
|
|
2121
|
+
interface GetCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
|
|
2122
|
+
id: 'getCalendarEventEmitTarget';
|
|
2123
2123
|
version: 'v2021_05_19';
|
|
2124
2124
|
namespace: 'Calendar';
|
|
2125
2125
|
name: '';
|
|
2126
2126
|
fields: {
|
|
2127
2127
|
/** . */
|
|
2128
|
-
'
|
|
2128
|
+
'locationId': {
|
|
2129
2129
|
type: 'id';
|
|
2130
2130
|
isRequired: true;
|
|
2131
2131
|
options: undefined;
|
|
2132
2132
|
};
|
|
2133
2133
|
/** . */
|
|
2134
|
-
'
|
|
2134
|
+
'calendarEventId': {
|
|
2135
2135
|
type: 'id';
|
|
2136
2136
|
isRequired: true;
|
|
2137
|
-
isArray: true;
|
|
2138
2137
|
options: undefined;
|
|
2139
2138
|
};
|
|
2140
2139
|
};
|
|
2141
2140
|
}
|
|
2142
|
-
interface
|
|
2141
|
+
interface GetCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetSchema> {
|
|
2143
2142
|
}
|
|
2144
2143
|
}
|
|
2145
2144
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2146
|
-
interface
|
|
2147
|
-
|
|
2148
|
-
'
|
|
2145
|
+
interface GetCalendarEventEmitTargetAndPayload {
|
|
2146
|
+
/** Source. */
|
|
2147
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2148
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTarget;
|
|
2149
2149
|
}
|
|
2150
|
-
interface
|
|
2151
|
-
id: '
|
|
2150
|
+
interface GetCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2151
|
+
id: 'getCalendarEventEmitTargetAndPayload';
|
|
2152
2152
|
version: 'v2021_05_19';
|
|
2153
2153
|
namespace: 'Calendar';
|
|
2154
2154
|
name: '';
|
|
2155
2155
|
fields: {
|
|
2156
|
+
/** Source. */
|
|
2157
|
+
'source': {
|
|
2158
|
+
label: 'Source';
|
|
2159
|
+
type: 'schema';
|
|
2160
|
+
options: {
|
|
2161
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
2162
|
+
};
|
|
2163
|
+
};
|
|
2156
2164
|
/** . */
|
|
2157
|
-
'
|
|
2158
|
-
type: '
|
|
2165
|
+
'target': {
|
|
2166
|
+
type: 'schema';
|
|
2159
2167
|
isRequired: true;
|
|
2160
|
-
options:
|
|
2168
|
+
options: {
|
|
2169
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetSchema;
|
|
2170
|
+
};
|
|
2161
2171
|
};
|
|
2172
|
+
};
|
|
2173
|
+
}
|
|
2174
|
+
interface GetCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetAndPayloadSchema> {
|
|
2175
|
+
}
|
|
2176
|
+
}
|
|
2177
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2178
|
+
interface GetCalendarEventResponsePayload {
|
|
2179
|
+
'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
|
|
2180
|
+
}
|
|
2181
|
+
interface GetCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2182
|
+
id: 'getCalendarEventResponsePayload';
|
|
2183
|
+
version: 'v2021_05_19';
|
|
2184
|
+
namespace: 'Calendar';
|
|
2185
|
+
name: '';
|
|
2186
|
+
fields: {
|
|
2162
2187
|
/** . */
|
|
2163
|
-
'
|
|
2164
|
-
type: '
|
|
2188
|
+
'calendarEvent': {
|
|
2189
|
+
type: 'schema';
|
|
2165
2190
|
isRequired: true;
|
|
2166
|
-
options:
|
|
2191
|
+
options: {
|
|
2192
|
+
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2193
|
+
};
|
|
2167
2194
|
};
|
|
2168
2195
|
};
|
|
2169
2196
|
}
|
|
2170
|
-
interface
|
|
2197
|
+
interface GetCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventResponsePayloadSchema> {
|
|
2171
2198
|
}
|
|
2172
2199
|
}
|
|
2173
2200
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2174
|
-
interface
|
|
2175
|
-
'
|
|
2176
|
-
'
|
|
2201
|
+
interface GetConflictsForTimeRangeEmitTarget {
|
|
2202
|
+
'organizationId': string;
|
|
2203
|
+
'calendarIds': string[];
|
|
2177
2204
|
}
|
|
2178
|
-
interface
|
|
2179
|
-
id: '
|
|
2205
|
+
interface GetConflictsForTimeRangeEmitTargetSchema extends SpruceSchema.Schema {
|
|
2206
|
+
id: 'getConflictsForTimeRangeEmitTarget';
|
|
2180
2207
|
version: 'v2021_05_19';
|
|
2181
2208
|
namespace: 'Calendar';
|
|
2182
2209
|
name: '';
|
|
2183
2210
|
fields: {
|
|
2184
2211
|
/** . */
|
|
2185
|
-
'
|
|
2186
|
-
type: '
|
|
2212
|
+
'organizationId': {
|
|
2213
|
+
type: 'id';
|
|
2187
2214
|
isRequired: true;
|
|
2188
2215
|
options: undefined;
|
|
2189
2216
|
};
|
|
2190
2217
|
/** . */
|
|
2191
|
-
'
|
|
2192
|
-
type: '
|
|
2218
|
+
'calendarIds': {
|
|
2219
|
+
type: 'id';
|
|
2193
2220
|
isRequired: true;
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
};
|
|
2221
|
+
isArray: true;
|
|
2222
|
+
options: undefined;
|
|
2197
2223
|
};
|
|
2198
2224
|
};
|
|
2199
2225
|
}
|
|
2200
|
-
interface
|
|
2226
|
+
interface GetConflictsForTimeRangeEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema> {
|
|
2201
2227
|
}
|
|
2202
2228
|
}
|
|
2203
2229
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
@@ -2243,126 +2269,100 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2243
2269
|
}
|
|
2244
2270
|
}
|
|
2245
2271
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2246
|
-
interface
|
|
2247
|
-
'
|
|
2248
|
-
'
|
|
2249
|
-
'overlapsWith'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[] | undefined | null;
|
|
2272
|
+
interface Teammate {
|
|
2273
|
+
'personId': string;
|
|
2274
|
+
'durationMinutes': number;
|
|
2250
2275
|
}
|
|
2251
|
-
interface
|
|
2252
|
-
id: '
|
|
2276
|
+
interface TeammateSchema extends SpruceSchema.Schema {
|
|
2277
|
+
id: 'teammate';
|
|
2253
2278
|
version: 'v2021_05_19';
|
|
2254
2279
|
namespace: 'Calendar';
|
|
2255
2280
|
name: '';
|
|
2256
2281
|
fields: {
|
|
2257
2282
|
/** . */
|
|
2258
|
-
'
|
|
2259
|
-
type: '
|
|
2283
|
+
'personId': {
|
|
2284
|
+
type: 'id';
|
|
2260
2285
|
isRequired: true;
|
|
2261
2286
|
options: undefined;
|
|
2262
2287
|
};
|
|
2263
2288
|
/** . */
|
|
2264
|
-
'
|
|
2265
|
-
type: '
|
|
2266
|
-
|
|
2267
|
-
options:
|
|
2268
|
-
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2269
|
-
};
|
|
2270
|
-
};
|
|
2271
|
-
/** . */
|
|
2272
|
-
'overlapsWith': {
|
|
2273
|
-
type: 'schema';
|
|
2274
|
-
isArray: true;
|
|
2275
|
-
options: {
|
|
2276
|
-
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2277
|
-
};
|
|
2289
|
+
'durationMinutes': {
|
|
2290
|
+
type: 'number';
|
|
2291
|
+
isRequired: true;
|
|
2292
|
+
options: undefined;
|
|
2278
2293
|
};
|
|
2279
2294
|
};
|
|
2280
2295
|
}
|
|
2281
|
-
interface
|
|
2296
|
+
interface TeammateEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TeammateSchema> {
|
|
2282
2297
|
}
|
|
2283
2298
|
}
|
|
2284
2299
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2285
|
-
interface
|
|
2286
|
-
'
|
|
2287
|
-
'
|
|
2300
|
+
interface GetConflictsForTimeRangeEmitPayload {
|
|
2301
|
+
'startDateTimeMs': number;
|
|
2302
|
+
'teammate': SpruceSchemas.Calendar.v2021_05_19.Teammate;
|
|
2288
2303
|
}
|
|
2289
|
-
interface
|
|
2290
|
-
id: '
|
|
2304
|
+
interface GetConflictsForTimeRangeEmitPayloadSchema extends SpruceSchema.Schema {
|
|
2305
|
+
id: 'getConflictsForTimeRangeEmitPayload';
|
|
2291
2306
|
version: 'v2021_05_19';
|
|
2292
2307
|
namespace: 'Calendar';
|
|
2293
2308
|
name: '';
|
|
2294
2309
|
fields: {
|
|
2295
2310
|
/** . */
|
|
2296
|
-
'
|
|
2297
|
-
type: '
|
|
2311
|
+
'startDateTimeMs': {
|
|
2312
|
+
type: 'number';
|
|
2298
2313
|
isRequired: true;
|
|
2299
2314
|
options: undefined;
|
|
2300
2315
|
};
|
|
2301
2316
|
/** . */
|
|
2302
|
-
'
|
|
2303
|
-
type: '
|
|
2317
|
+
'teammate': {
|
|
2318
|
+
type: 'schema';
|
|
2304
2319
|
isRequired: true;
|
|
2305
|
-
options:
|
|
2320
|
+
options: {
|
|
2321
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.TeammateSchema;
|
|
2322
|
+
};
|
|
2306
2323
|
};
|
|
2307
2324
|
};
|
|
2308
2325
|
}
|
|
2309
|
-
interface
|
|
2326
|
+
interface GetConflictsForTimeRangeEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayloadSchema> {
|
|
2310
2327
|
}
|
|
2311
2328
|
}
|
|
2312
2329
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2313
|
-
interface
|
|
2314
|
-
|
|
2315
|
-
'
|
|
2316
|
-
'
|
|
2330
|
+
interface GetConflictsForTimeRangeResponsePayload {
|
|
2331
|
+
'isAvailable': boolean;
|
|
2332
|
+
'excludedBy'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[] | undefined | null;
|
|
2333
|
+
'overlapsWith'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[] | undefined | null;
|
|
2317
2334
|
}
|
|
2318
|
-
interface
|
|
2319
|
-
id: '
|
|
2335
|
+
interface GetConflictsForTimeRangeResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2336
|
+
id: 'getConflictsForTimeRangeResponsePayload';
|
|
2320
2337
|
version: 'v2021_05_19';
|
|
2321
2338
|
namespace: 'Calendar';
|
|
2322
2339
|
name: '';
|
|
2323
2340
|
fields: {
|
|
2324
|
-
/**
|
|
2325
|
-
'
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
options:
|
|
2329
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
2330
|
-
};
|
|
2341
|
+
/** . */
|
|
2342
|
+
'isAvailable': {
|
|
2343
|
+
type: 'boolean';
|
|
2344
|
+
isRequired: true;
|
|
2345
|
+
options: undefined;
|
|
2331
2346
|
};
|
|
2332
2347
|
/** . */
|
|
2333
|
-
'
|
|
2348
|
+
'excludedBy': {
|
|
2334
2349
|
type: 'schema';
|
|
2335
|
-
|
|
2350
|
+
isArray: true;
|
|
2336
2351
|
options: {
|
|
2337
|
-
schema: SpruceSchemas.
|
|
2352
|
+
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2338
2353
|
};
|
|
2339
2354
|
};
|
|
2340
|
-
};
|
|
2341
|
-
}
|
|
2342
|
-
interface GetCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetAndPayloadSchema> {
|
|
2343
|
-
}
|
|
2344
|
-
}
|
|
2345
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2346
|
-
interface GetCalendarEventResponsePayload {
|
|
2347
|
-
'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
|
|
2348
|
-
}
|
|
2349
|
-
interface GetCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2350
|
-
id: 'getCalendarEventResponsePayload';
|
|
2351
|
-
version: 'v2021_05_19';
|
|
2352
|
-
namespace: 'Calendar';
|
|
2353
|
-
name: '';
|
|
2354
|
-
fields: {
|
|
2355
2355
|
/** . */
|
|
2356
|
-
'
|
|
2356
|
+
'overlapsWith': {
|
|
2357
2357
|
type: 'schema';
|
|
2358
|
-
|
|
2358
|
+
isArray: true;
|
|
2359
2359
|
options: {
|
|
2360
2360
|
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2361
2361
|
};
|
|
2362
2362
|
};
|
|
2363
2363
|
};
|
|
2364
2364
|
}
|
|
2365
|
-
interface
|
|
2365
|
+
interface GetConflictsForTimeRangeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeResponsePayloadSchema> {
|
|
2366
2366
|
}
|
|
2367
2367
|
}
|
|
2368
2368
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
@@ -2114,90 +2114,116 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2114
2114
|
}
|
|
2115
2115
|
}
|
|
2116
2116
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2117
|
-
interface
|
|
2118
|
-
'
|
|
2119
|
-
'
|
|
2117
|
+
interface GetCalendarEventEmitTarget {
|
|
2118
|
+
'locationId': string;
|
|
2119
|
+
'calendarEventId': string;
|
|
2120
2120
|
}
|
|
2121
|
-
interface
|
|
2122
|
-
id: '
|
|
2121
|
+
interface GetCalendarEventEmitTargetSchema extends SpruceSchema.Schema {
|
|
2122
|
+
id: 'getCalendarEventEmitTarget';
|
|
2123
2123
|
version: 'v2021_05_19';
|
|
2124
2124
|
namespace: 'Calendar';
|
|
2125
2125
|
name: '';
|
|
2126
2126
|
fields: {
|
|
2127
2127
|
/** . */
|
|
2128
|
-
'
|
|
2128
|
+
'locationId': {
|
|
2129
2129
|
type: 'id';
|
|
2130
2130
|
isRequired: true;
|
|
2131
2131
|
options: undefined;
|
|
2132
2132
|
};
|
|
2133
2133
|
/** . */
|
|
2134
|
-
'
|
|
2134
|
+
'calendarEventId': {
|
|
2135
2135
|
type: 'id';
|
|
2136
2136
|
isRequired: true;
|
|
2137
|
-
isArray: true;
|
|
2138
2137
|
options: undefined;
|
|
2139
2138
|
};
|
|
2140
2139
|
};
|
|
2141
2140
|
}
|
|
2142
|
-
interface
|
|
2141
|
+
interface GetCalendarEventEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetSchema> {
|
|
2143
2142
|
}
|
|
2144
2143
|
}
|
|
2145
2144
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2146
|
-
interface
|
|
2147
|
-
|
|
2148
|
-
'
|
|
2145
|
+
interface GetCalendarEventEmitTargetAndPayload {
|
|
2146
|
+
/** Source. */
|
|
2147
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2148
|
+
'target': SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTarget;
|
|
2149
2149
|
}
|
|
2150
|
-
interface
|
|
2151
|
-
id: '
|
|
2150
|
+
interface GetCalendarEventEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2151
|
+
id: 'getCalendarEventEmitTargetAndPayload';
|
|
2152
2152
|
version: 'v2021_05_19';
|
|
2153
2153
|
namespace: 'Calendar';
|
|
2154
2154
|
name: '';
|
|
2155
2155
|
fields: {
|
|
2156
|
+
/** Source. */
|
|
2157
|
+
'source': {
|
|
2158
|
+
label: 'Source';
|
|
2159
|
+
type: 'schema';
|
|
2160
|
+
options: {
|
|
2161
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
2162
|
+
};
|
|
2163
|
+
};
|
|
2156
2164
|
/** . */
|
|
2157
|
-
'
|
|
2158
|
-
type: '
|
|
2165
|
+
'target': {
|
|
2166
|
+
type: 'schema';
|
|
2159
2167
|
isRequired: true;
|
|
2160
|
-
options:
|
|
2168
|
+
options: {
|
|
2169
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetSchema;
|
|
2170
|
+
};
|
|
2161
2171
|
};
|
|
2172
|
+
};
|
|
2173
|
+
}
|
|
2174
|
+
interface GetCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetAndPayloadSchema> {
|
|
2175
|
+
}
|
|
2176
|
+
}
|
|
2177
|
+
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2178
|
+
interface GetCalendarEventResponsePayload {
|
|
2179
|
+
'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
|
|
2180
|
+
}
|
|
2181
|
+
interface GetCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2182
|
+
id: 'getCalendarEventResponsePayload';
|
|
2183
|
+
version: 'v2021_05_19';
|
|
2184
|
+
namespace: 'Calendar';
|
|
2185
|
+
name: '';
|
|
2186
|
+
fields: {
|
|
2162
2187
|
/** . */
|
|
2163
|
-
'
|
|
2164
|
-
type: '
|
|
2188
|
+
'calendarEvent': {
|
|
2189
|
+
type: 'schema';
|
|
2165
2190
|
isRequired: true;
|
|
2166
|
-
options:
|
|
2191
|
+
options: {
|
|
2192
|
+
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2193
|
+
};
|
|
2167
2194
|
};
|
|
2168
2195
|
};
|
|
2169
2196
|
}
|
|
2170
|
-
interface
|
|
2197
|
+
interface GetCalendarEventResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventResponsePayloadSchema> {
|
|
2171
2198
|
}
|
|
2172
2199
|
}
|
|
2173
2200
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2174
|
-
interface
|
|
2175
|
-
'
|
|
2176
|
-
'
|
|
2201
|
+
interface GetConflictsForTimeRangeEmitTarget {
|
|
2202
|
+
'organizationId': string;
|
|
2203
|
+
'calendarIds': string[];
|
|
2177
2204
|
}
|
|
2178
|
-
interface
|
|
2179
|
-
id: '
|
|
2205
|
+
interface GetConflictsForTimeRangeEmitTargetSchema extends SpruceSchema.Schema {
|
|
2206
|
+
id: 'getConflictsForTimeRangeEmitTarget';
|
|
2180
2207
|
version: 'v2021_05_19';
|
|
2181
2208
|
namespace: 'Calendar';
|
|
2182
2209
|
name: '';
|
|
2183
2210
|
fields: {
|
|
2184
2211
|
/** . */
|
|
2185
|
-
'
|
|
2186
|
-
type: '
|
|
2212
|
+
'organizationId': {
|
|
2213
|
+
type: 'id';
|
|
2187
2214
|
isRequired: true;
|
|
2188
2215
|
options: undefined;
|
|
2189
2216
|
};
|
|
2190
2217
|
/** . */
|
|
2191
|
-
'
|
|
2192
|
-
type: '
|
|
2218
|
+
'calendarIds': {
|
|
2219
|
+
type: 'id';
|
|
2193
2220
|
isRequired: true;
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
};
|
|
2221
|
+
isArray: true;
|
|
2222
|
+
options: undefined;
|
|
2197
2223
|
};
|
|
2198
2224
|
};
|
|
2199
2225
|
}
|
|
2200
|
-
interface
|
|
2226
|
+
interface GetConflictsForTimeRangeEmitTargetEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitTargetSchema> {
|
|
2201
2227
|
}
|
|
2202
2228
|
}
|
|
2203
2229
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
@@ -2243,126 +2269,100 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
2243
2269
|
}
|
|
2244
2270
|
}
|
|
2245
2271
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2246
|
-
interface
|
|
2247
|
-
'
|
|
2248
|
-
'
|
|
2249
|
-
'overlapsWith'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[] | undefined | null;
|
|
2272
|
+
interface Teammate {
|
|
2273
|
+
'personId': string;
|
|
2274
|
+
'durationMinutes': number;
|
|
2250
2275
|
}
|
|
2251
|
-
interface
|
|
2252
|
-
id: '
|
|
2276
|
+
interface TeammateSchema extends SpruceSchema.Schema {
|
|
2277
|
+
id: 'teammate';
|
|
2253
2278
|
version: 'v2021_05_19';
|
|
2254
2279
|
namespace: 'Calendar';
|
|
2255
2280
|
name: '';
|
|
2256
2281
|
fields: {
|
|
2257
2282
|
/** . */
|
|
2258
|
-
'
|
|
2259
|
-
type: '
|
|
2283
|
+
'personId': {
|
|
2284
|
+
type: 'id';
|
|
2260
2285
|
isRequired: true;
|
|
2261
2286
|
options: undefined;
|
|
2262
2287
|
};
|
|
2263
2288
|
/** . */
|
|
2264
|
-
'
|
|
2265
|
-
type: '
|
|
2266
|
-
|
|
2267
|
-
options:
|
|
2268
|
-
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2269
|
-
};
|
|
2270
|
-
};
|
|
2271
|
-
/** . */
|
|
2272
|
-
'overlapsWith': {
|
|
2273
|
-
type: 'schema';
|
|
2274
|
-
isArray: true;
|
|
2275
|
-
options: {
|
|
2276
|
-
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2277
|
-
};
|
|
2289
|
+
'durationMinutes': {
|
|
2290
|
+
type: 'number';
|
|
2291
|
+
isRequired: true;
|
|
2292
|
+
options: undefined;
|
|
2278
2293
|
};
|
|
2279
2294
|
};
|
|
2280
2295
|
}
|
|
2281
|
-
interface
|
|
2296
|
+
interface TeammateEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.TeammateSchema> {
|
|
2282
2297
|
}
|
|
2283
2298
|
}
|
|
2284
2299
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2285
|
-
interface
|
|
2286
|
-
'
|
|
2287
|
-
'
|
|
2300
|
+
interface GetConflictsForTimeRangeEmitPayload {
|
|
2301
|
+
'startDateTimeMs': number;
|
|
2302
|
+
'teammate': SpruceSchemas.Calendar.v2021_05_19.Teammate;
|
|
2288
2303
|
}
|
|
2289
|
-
interface
|
|
2290
|
-
id: '
|
|
2304
|
+
interface GetConflictsForTimeRangeEmitPayloadSchema extends SpruceSchema.Schema {
|
|
2305
|
+
id: 'getConflictsForTimeRangeEmitPayload';
|
|
2291
2306
|
version: 'v2021_05_19';
|
|
2292
2307
|
namespace: 'Calendar';
|
|
2293
2308
|
name: '';
|
|
2294
2309
|
fields: {
|
|
2295
2310
|
/** . */
|
|
2296
|
-
'
|
|
2297
|
-
type: '
|
|
2311
|
+
'startDateTimeMs': {
|
|
2312
|
+
type: 'number';
|
|
2298
2313
|
isRequired: true;
|
|
2299
2314
|
options: undefined;
|
|
2300
2315
|
};
|
|
2301
2316
|
/** . */
|
|
2302
|
-
'
|
|
2303
|
-
type: '
|
|
2317
|
+
'teammate': {
|
|
2318
|
+
type: 'schema';
|
|
2304
2319
|
isRequired: true;
|
|
2305
|
-
options:
|
|
2320
|
+
options: {
|
|
2321
|
+
schema: SpruceSchemas.Calendar.v2021_05_19.TeammateSchema;
|
|
2322
|
+
};
|
|
2306
2323
|
};
|
|
2307
2324
|
};
|
|
2308
2325
|
}
|
|
2309
|
-
interface
|
|
2326
|
+
interface GetConflictsForTimeRangeEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeEmitPayloadSchema> {
|
|
2310
2327
|
}
|
|
2311
2328
|
}
|
|
2312
2329
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2313
|
-
interface
|
|
2314
|
-
|
|
2315
|
-
'
|
|
2316
|
-
'
|
|
2330
|
+
interface GetConflictsForTimeRangeResponsePayload {
|
|
2331
|
+
'isAvailable': boolean;
|
|
2332
|
+
'excludedBy'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[] | undefined | null;
|
|
2333
|
+
'overlapsWith'?: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent[] | undefined | null;
|
|
2317
2334
|
}
|
|
2318
|
-
interface
|
|
2319
|
-
id: '
|
|
2335
|
+
interface GetConflictsForTimeRangeResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2336
|
+
id: 'getConflictsForTimeRangeResponsePayload';
|
|
2320
2337
|
version: 'v2021_05_19';
|
|
2321
2338
|
namespace: 'Calendar';
|
|
2322
2339
|
name: '';
|
|
2323
2340
|
fields: {
|
|
2324
|
-
/**
|
|
2325
|
-
'
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
options:
|
|
2329
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
2330
|
-
};
|
|
2341
|
+
/** . */
|
|
2342
|
+
'isAvailable': {
|
|
2343
|
+
type: 'boolean';
|
|
2344
|
+
isRequired: true;
|
|
2345
|
+
options: undefined;
|
|
2331
2346
|
};
|
|
2332
2347
|
/** . */
|
|
2333
|
-
'
|
|
2348
|
+
'excludedBy': {
|
|
2334
2349
|
type: 'schema';
|
|
2335
|
-
|
|
2350
|
+
isArray: true;
|
|
2336
2351
|
options: {
|
|
2337
|
-
schema: SpruceSchemas.
|
|
2352
|
+
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2338
2353
|
};
|
|
2339
2354
|
};
|
|
2340
|
-
};
|
|
2341
|
-
}
|
|
2342
|
-
interface GetCalendarEventEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetCalendarEventEmitTargetAndPayloadSchema> {
|
|
2343
|
-
}
|
|
2344
|
-
}
|
|
2345
|
-
namespace SpruceSchemas.Calendar.v2021_05_19 {
|
|
2346
|
-
interface GetCalendarEventResponsePayload {
|
|
2347
|
-
'calendarEvent': SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEvent;
|
|
2348
|
-
}
|
|
2349
|
-
interface GetCalendarEventResponsePayloadSchema extends SpruceSchema.Schema {
|
|
2350
|
-
id: 'getCalendarEventResponsePayload';
|
|
2351
|
-
version: 'v2021_05_19';
|
|
2352
|
-
namespace: 'Calendar';
|
|
2353
|
-
name: '';
|
|
2354
|
-
fields: {
|
|
2355
2355
|
/** . */
|
|
2356
|
-
'
|
|
2356
|
+
'overlapsWith': {
|
|
2357
2357
|
type: 'schema';
|
|
2358
|
-
|
|
2358
|
+
isArray: true;
|
|
2359
2359
|
options: {
|
|
2360
2360
|
schema: SpruceSchemas.CalendarUtils.v2021_05_19.CalendarEventSchema;
|
|
2361
2361
|
};
|
|
2362
2362
|
};
|
|
2363
2363
|
};
|
|
2364
2364
|
}
|
|
2365
|
-
interface
|
|
2365
|
+
interface GetConflictsForTimeRangeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Calendar.v2021_05_19.GetConflictsForTimeRangeResponsePayloadSchema> {
|
|
2366
2366
|
}
|
|
2367
2367
|
}
|
|
2368
2368
|
namespace SpruceSchemas.Calendar.v2021_05_19 {
|