@sprucelabs/spruce-file-utils 15.1.15 → 15.1.17
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.
- package/build/.spruce/schemas/schemas.types.d.ts +1338 -0
- package/build/.spruce/schemas/schemas.types.js +7 -0
- package/build/esm/.spruce/schemas/schemas.types.d.ts +1338 -0
- package/build/esm/.spruce/schemas/schemas.types.js +5 -0
- package/build/esm/files.types.d.ts +2 -5
- package/build/esm/files.types.js +1 -1
- package/build/esm/index-module.d.ts +1 -1
- package/build/esm/index-module.js +0 -1
- package/build/esm/uploading/MockChunkingUploader.js +1 -1
- package/build/files.types.d.ts +2 -5
- package/build/files.types.js +1 -0
- package/build/index-module.d.ts +1 -1
- package/build/index-module.js +0 -1
- package/build/uploading/MockChunkingUploader.js +1 -1
- package/package.json +6 -1
@@ -0,0 +1,1338 @@
|
|
1
|
+
export { SpruceSchemas } from '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schemas.types';
|
2
|
+
import { default as SchemaEntity } from '@sprucelabs/schema';
|
3
|
+
import * as SpruceSchema from '@sprucelabs/schema';
|
4
|
+
import '@sprucelabs/spruce-event-utils';
|
5
|
+
import { SkillViewControllerId } from '@sprucelabs/heartwood-view-controllers';
|
6
|
+
declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schemas.types' {
|
7
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
8
|
+
interface DidRegisterSkillViewsEmitTarget {
|
9
|
+
'personId': string;
|
10
|
+
}
|
11
|
+
interface DidRegisterSkillViewsEmitTargetSchema extends SpruceSchema.Schema {
|
12
|
+
id: 'didRegisterSkillViewsEmitTarget';
|
13
|
+
version: 'v2021_02_11';
|
14
|
+
namespace: 'Heartwood';
|
15
|
+
name: '';
|
16
|
+
fields: {
|
17
|
+
/** . */
|
18
|
+
'personId': {
|
19
|
+
type: 'id';
|
20
|
+
isRequired: true;
|
21
|
+
options: undefined;
|
22
|
+
};
|
23
|
+
};
|
24
|
+
}
|
25
|
+
interface DidRegisterSkillViewsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.DidRegisterSkillViewsEmitTargetSchema> {
|
26
|
+
}
|
27
|
+
}
|
28
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
29
|
+
interface DidRegisterSkillViewsEmitPayload {
|
30
|
+
/** View namespace. */
|
31
|
+
'namespace': string;
|
32
|
+
}
|
33
|
+
interface DidRegisterSkillViewsEmitPayloadSchema extends SpruceSchema.Schema {
|
34
|
+
id: 'didRegisterSkillViewsEmitPayload';
|
35
|
+
version: 'v2021_02_11';
|
36
|
+
namespace: 'Heartwood';
|
37
|
+
name: '';
|
38
|
+
fields: {
|
39
|
+
/** View namespace. */
|
40
|
+
'namespace': {
|
41
|
+
label: 'View namespace';
|
42
|
+
type: 'text';
|
43
|
+
isRequired: true;
|
44
|
+
options: undefined;
|
45
|
+
};
|
46
|
+
};
|
47
|
+
}
|
48
|
+
interface DidRegisterSkillViewsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.DidRegisterSkillViewsEmitPayloadSchema> {
|
49
|
+
}
|
50
|
+
}
|
51
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
52
|
+
interface DidRegisterSkillViewsEmitTargetAndPayload {
|
53
|
+
/** Source. */
|
54
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
55
|
+
'target': SpruceSchemas.Heartwood.v2021_02_11.DidRegisterSkillViewsEmitTarget;
|
56
|
+
'payload': SpruceSchemas.Heartwood.v2021_02_11.DidRegisterSkillViewsEmitPayload;
|
57
|
+
}
|
58
|
+
interface DidRegisterSkillViewsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
59
|
+
id: 'didRegisterSkillViewsEmitTargetAndPayload';
|
60
|
+
version: 'v2021_02_11';
|
61
|
+
namespace: 'Heartwood';
|
62
|
+
name: '';
|
63
|
+
fields: {
|
64
|
+
/** Source. */
|
65
|
+
'source': {
|
66
|
+
label: 'Source';
|
67
|
+
type: 'schema';
|
68
|
+
options: {
|
69
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
70
|
+
};
|
71
|
+
};
|
72
|
+
/** . */
|
73
|
+
'target': {
|
74
|
+
type: 'schema';
|
75
|
+
isRequired: true;
|
76
|
+
options: {
|
77
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.DidRegisterSkillViewsEmitTargetSchema;
|
78
|
+
};
|
79
|
+
};
|
80
|
+
/** . */
|
81
|
+
'payload': {
|
82
|
+
type: 'schema';
|
83
|
+
isRequired: true;
|
84
|
+
options: {
|
85
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.DidRegisterSkillViewsEmitPayloadSchema;
|
86
|
+
};
|
87
|
+
};
|
88
|
+
};
|
89
|
+
}
|
90
|
+
interface DidRegisterSkillViewsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.DidRegisterSkillViewsEmitTargetAndPayloadSchema> {
|
91
|
+
}
|
92
|
+
}
|
93
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
94
|
+
interface GenerateUrlEmitTarget {
|
95
|
+
/** Skill View Id. */
|
96
|
+
'skillViewId'?: (SkillViewControllerId) | undefined | null;
|
97
|
+
}
|
98
|
+
interface GenerateUrlEmitTargetSchema extends SpruceSchema.Schema {
|
99
|
+
id: 'generateUrlEmitTarget';
|
100
|
+
version: 'v2021_02_11';
|
101
|
+
namespace: 'Heartwood';
|
102
|
+
name: '';
|
103
|
+
importsWhenRemote: ['import { SkillViewControllerId } from \'@sprucelabs/heartwood-view-controllers\''];
|
104
|
+
fields: {
|
105
|
+
/** Skill View Id. */
|
106
|
+
'skillViewId': {
|
107
|
+
label: 'Skill View Id';
|
108
|
+
type: 'raw';
|
109
|
+
options: {
|
110
|
+
valueType: `SkillViewControllerId`;
|
111
|
+
};
|
112
|
+
};
|
113
|
+
};
|
114
|
+
}
|
115
|
+
interface GenerateUrlEmitTargetEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.GenerateUrlEmitTargetSchema> {
|
116
|
+
}
|
117
|
+
}
|
118
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
119
|
+
interface GenerateUrlEmitPayload {
|
120
|
+
/** Load args. */
|
121
|
+
'args'?: (Record<string, any>) | undefined | null;
|
122
|
+
}
|
123
|
+
interface GenerateUrlEmitPayloadSchema extends SpruceSchema.Schema {
|
124
|
+
id: 'generateUrlEmitPayload';
|
125
|
+
version: 'v2021_02_11';
|
126
|
+
namespace: 'Heartwood';
|
127
|
+
name: '';
|
128
|
+
fields: {
|
129
|
+
/** Load args. */
|
130
|
+
'args': {
|
131
|
+
label: 'Load args';
|
132
|
+
type: 'raw';
|
133
|
+
options: {
|
134
|
+
valueType: `Record<string, any>`;
|
135
|
+
};
|
136
|
+
};
|
137
|
+
};
|
138
|
+
}
|
139
|
+
interface GenerateUrlEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.GenerateUrlEmitPayloadSchema> {
|
140
|
+
}
|
141
|
+
}
|
142
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
143
|
+
interface GenerateUrlEmitTargetAndPayload {
|
144
|
+
/** Source. */
|
145
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
146
|
+
'target'?: SpruceSchemas.Heartwood.v2021_02_11.GenerateUrlEmitTarget | undefined | null;
|
147
|
+
'payload'?: SpruceSchemas.Heartwood.v2021_02_11.GenerateUrlEmitPayload | undefined | null;
|
148
|
+
}
|
149
|
+
interface GenerateUrlEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
150
|
+
id: 'generateUrlEmitTargetAndPayload';
|
151
|
+
version: 'v2021_02_11';
|
152
|
+
namespace: 'Heartwood';
|
153
|
+
name: '';
|
154
|
+
fields: {
|
155
|
+
/** Source. */
|
156
|
+
'source': {
|
157
|
+
label: 'Source';
|
158
|
+
type: 'schema';
|
159
|
+
options: {
|
160
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
161
|
+
};
|
162
|
+
};
|
163
|
+
/** . */
|
164
|
+
'target': {
|
165
|
+
type: 'schema';
|
166
|
+
options: {
|
167
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.GenerateUrlEmitTargetSchema;
|
168
|
+
};
|
169
|
+
};
|
170
|
+
/** . */
|
171
|
+
'payload': {
|
172
|
+
type: 'schema';
|
173
|
+
options: {
|
174
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.GenerateUrlEmitPayloadSchema;
|
175
|
+
};
|
176
|
+
};
|
177
|
+
};
|
178
|
+
}
|
179
|
+
interface GenerateUrlEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.GenerateUrlEmitTargetAndPayloadSchema> {
|
180
|
+
}
|
181
|
+
}
|
182
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
183
|
+
interface GenerateUrlResponsePayload {
|
184
|
+
/** Url. */
|
185
|
+
'url': string;
|
186
|
+
}
|
187
|
+
interface GenerateUrlResponsePayloadSchema extends SpruceSchema.Schema {
|
188
|
+
id: 'generateUrlResponsePayload';
|
189
|
+
version: 'v2021_02_11';
|
190
|
+
namespace: 'Heartwood';
|
191
|
+
name: '';
|
192
|
+
fields: {
|
193
|
+
/** Url. */
|
194
|
+
'url': {
|
195
|
+
label: 'Url';
|
196
|
+
type: 'text';
|
197
|
+
isRequired: true;
|
198
|
+
options: undefined;
|
199
|
+
};
|
200
|
+
};
|
201
|
+
}
|
202
|
+
interface GenerateUrlResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.GenerateUrlResponsePayloadSchema> {
|
203
|
+
}
|
204
|
+
}
|
205
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
206
|
+
interface GetActiveThemeEmitTarget {
|
207
|
+
'organizationId': string;
|
208
|
+
}
|
209
|
+
interface GetActiveThemeEmitTargetSchema extends SpruceSchema.Schema {
|
210
|
+
id: 'getActiveThemeEmitTarget';
|
211
|
+
version: 'v2021_02_11';
|
212
|
+
namespace: 'Heartwood';
|
213
|
+
name: '';
|
214
|
+
fields: {
|
215
|
+
/** . */
|
216
|
+
'organizationId': {
|
217
|
+
type: 'id';
|
218
|
+
isRequired: true;
|
219
|
+
options: undefined;
|
220
|
+
};
|
221
|
+
};
|
222
|
+
}
|
223
|
+
interface GetActiveThemeEmitTargetEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.GetActiveThemeEmitTargetSchema> {
|
224
|
+
}
|
225
|
+
}
|
226
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
227
|
+
interface GetActiveThemeEmitTargetAndPayload {
|
228
|
+
/** Source. */
|
229
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
230
|
+
'target': SpruceSchemas.Heartwood.v2021_02_11.GetActiveThemeEmitTarget;
|
231
|
+
}
|
232
|
+
interface GetActiveThemeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
233
|
+
id: 'getActiveThemeEmitTargetAndPayload';
|
234
|
+
version: 'v2021_02_11';
|
235
|
+
namespace: 'Heartwood';
|
236
|
+
name: '';
|
237
|
+
fields: {
|
238
|
+
/** Source. */
|
239
|
+
'source': {
|
240
|
+
label: 'Source';
|
241
|
+
type: 'schema';
|
242
|
+
options: {
|
243
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
244
|
+
};
|
245
|
+
};
|
246
|
+
/** . */
|
247
|
+
'target': {
|
248
|
+
type: 'schema';
|
249
|
+
isRequired: true;
|
250
|
+
options: {
|
251
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.GetActiveThemeEmitTargetSchema;
|
252
|
+
};
|
253
|
+
};
|
254
|
+
};
|
255
|
+
}
|
256
|
+
interface GetActiveThemeEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.GetActiveThemeEmitTargetAndPayloadSchema> {
|
257
|
+
}
|
258
|
+
}
|
259
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
260
|
+
interface GetActiveThemeResponsePayload {
|
261
|
+
'theme'?: SpruceSchemas.Heartwood.v2021_02_11.Theme | undefined | null;
|
262
|
+
}
|
263
|
+
interface GetActiveThemeResponsePayloadSchema extends SpruceSchema.Schema {
|
264
|
+
id: 'getActiveThemeResponsePayload';
|
265
|
+
version: 'v2021_02_11';
|
266
|
+
namespace: 'Heartwood';
|
267
|
+
name: '';
|
268
|
+
fields: {
|
269
|
+
/** . */
|
270
|
+
'theme': {
|
271
|
+
type: 'schema';
|
272
|
+
options: {
|
273
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.ThemeSchema;
|
274
|
+
};
|
275
|
+
};
|
276
|
+
};
|
277
|
+
}
|
278
|
+
interface GetActiveThemeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.GetActiveThemeResponsePayloadSchema> {
|
279
|
+
}
|
280
|
+
}
|
281
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
282
|
+
interface GetViewControllersEmitTarget {
|
283
|
+
'namespace': string;
|
284
|
+
}
|
285
|
+
interface GetViewControllersEmitTargetSchema extends SpruceSchema.Schema {
|
286
|
+
id: 'getViewControllersEmitTarget';
|
287
|
+
version: 'v2021_02_11';
|
288
|
+
namespace: 'Heartwood';
|
289
|
+
name: '';
|
290
|
+
fields: {
|
291
|
+
/** . */
|
292
|
+
'namespace': {
|
293
|
+
type: 'text';
|
294
|
+
isRequired: true;
|
295
|
+
options: undefined;
|
296
|
+
};
|
297
|
+
};
|
298
|
+
}
|
299
|
+
interface GetViewControllersEmitTargetEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.GetViewControllersEmitTargetSchema> {
|
300
|
+
}
|
301
|
+
}
|
302
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
303
|
+
interface GetSkillViewsEmitTargetAndPayload {
|
304
|
+
/** Source. */
|
305
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
306
|
+
'target': SpruceSchemas.Heartwood.v2021_02_11.GetViewControllersEmitTarget;
|
307
|
+
}
|
308
|
+
interface GetSkillViewsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
309
|
+
id: 'getSkillViewsEmitTargetAndPayload';
|
310
|
+
version: 'v2021_02_11';
|
311
|
+
namespace: 'Heartwood';
|
312
|
+
name: '';
|
313
|
+
fields: {
|
314
|
+
/** Source. */
|
315
|
+
'source': {
|
316
|
+
label: 'Source';
|
317
|
+
type: 'schema';
|
318
|
+
options: {
|
319
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
320
|
+
};
|
321
|
+
};
|
322
|
+
/** . */
|
323
|
+
'target': {
|
324
|
+
type: 'schema';
|
325
|
+
isRequired: true;
|
326
|
+
options: {
|
327
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.GetViewControllersEmitTargetSchema;
|
328
|
+
};
|
329
|
+
};
|
330
|
+
};
|
331
|
+
}
|
332
|
+
interface GetSkillViewsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.GetSkillViewsEmitTargetAndPayloadSchema> {
|
333
|
+
}
|
334
|
+
}
|
335
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
336
|
+
interface GetSkillViewsResponsePayload {
|
337
|
+
'id': string;
|
338
|
+
'ids': string[];
|
339
|
+
'source'?: string | undefined | null;
|
340
|
+
'sourceUrl'?: string | undefined | null;
|
341
|
+
'theme'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Theme | undefined | null;
|
342
|
+
}
|
343
|
+
interface GetSkillViewsResponsePayloadSchema extends SpruceSchema.Schema {
|
344
|
+
id: 'getSkillViewsResponsePayload';
|
345
|
+
version: 'v2021_02_11';
|
346
|
+
namespace: 'Heartwood';
|
347
|
+
name: '';
|
348
|
+
fields: {
|
349
|
+
/** . */
|
350
|
+
'id': {
|
351
|
+
type: 'id';
|
352
|
+
isRequired: true;
|
353
|
+
options: undefined;
|
354
|
+
};
|
355
|
+
/** . */
|
356
|
+
'ids': {
|
357
|
+
type: 'text';
|
358
|
+
isRequired: true;
|
359
|
+
isArray: true;
|
360
|
+
options: undefined;
|
361
|
+
};
|
362
|
+
/** . */
|
363
|
+
'source': {
|
364
|
+
type: 'text';
|
365
|
+
options: undefined;
|
366
|
+
};
|
367
|
+
/** . */
|
368
|
+
'sourceUrl': {
|
369
|
+
type: 'text';
|
370
|
+
options: undefined;
|
371
|
+
};
|
372
|
+
/** . */
|
373
|
+
'theme': {
|
374
|
+
type: 'schema';
|
375
|
+
options: {
|
376
|
+
schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeSchema;
|
377
|
+
};
|
378
|
+
};
|
379
|
+
};
|
380
|
+
}
|
381
|
+
interface GetSkillViewsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.GetSkillViewsResponsePayloadSchema> {
|
382
|
+
}
|
383
|
+
}
|
384
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
385
|
+
interface ListViewsResult {
|
386
|
+
'namespace': string;
|
387
|
+
/** Skill view ids. For now this is every view, but soon will be only skill views */
|
388
|
+
'svcIds': string[];
|
389
|
+
/** View ids. For now this is every view, but soon will be only views (not skill views) */
|
390
|
+
'vcIds': string[];
|
391
|
+
}
|
392
|
+
interface ListViewsResultSchema extends SpruceSchema.Schema {
|
393
|
+
id: 'listViewsResult';
|
394
|
+
version: 'v2021_02_11';
|
395
|
+
namespace: 'Heartwood';
|
396
|
+
name: '';
|
397
|
+
fields: {
|
398
|
+
/** . */
|
399
|
+
'namespace': {
|
400
|
+
type: 'text';
|
401
|
+
isRequired: true;
|
402
|
+
options: undefined;
|
403
|
+
};
|
404
|
+
/** Skill view ids. For now this is every view, but soon will be only skill views */
|
405
|
+
'svcIds': {
|
406
|
+
label: 'Skill view ids';
|
407
|
+
type: 'id';
|
408
|
+
isRequired: true;
|
409
|
+
hint: 'For now this is every view, but soon will be only skill views';
|
410
|
+
isArray: true;
|
411
|
+
minArrayLength: 0;
|
412
|
+
options: undefined;
|
413
|
+
};
|
414
|
+
/** View ids. For now this is every view, but soon will be only views (not skill views) */
|
415
|
+
'vcIds': {
|
416
|
+
label: 'View ids';
|
417
|
+
type: 'id';
|
418
|
+
isRequired: true;
|
419
|
+
hint: 'For now this is every view, but soon will be only views (not skill views)';
|
420
|
+
isArray: true;
|
421
|
+
minArrayLength: 0;
|
422
|
+
options: undefined;
|
423
|
+
};
|
424
|
+
};
|
425
|
+
}
|
426
|
+
interface ListViewsResultEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.ListViewsResultSchema> {
|
427
|
+
}
|
428
|
+
}
|
429
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
430
|
+
interface ListViewsResponsePayload {
|
431
|
+
'views': SpruceSchemas.Heartwood.v2021_02_11.ListViewsResult[];
|
432
|
+
}
|
433
|
+
interface ListViewsResponsePayloadSchema extends SpruceSchema.Schema {
|
434
|
+
id: 'listViewsResponsePayload';
|
435
|
+
version: 'v2021_02_11';
|
436
|
+
namespace: 'Heartwood';
|
437
|
+
name: '';
|
438
|
+
fields: {
|
439
|
+
/** . */
|
440
|
+
'views': {
|
441
|
+
type: 'schema';
|
442
|
+
isRequired: true;
|
443
|
+
isArray: true;
|
444
|
+
minArrayLength: 0;
|
445
|
+
options: {
|
446
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.ListViewsResultSchema;
|
447
|
+
};
|
448
|
+
};
|
449
|
+
};
|
450
|
+
}
|
451
|
+
interface ListViewsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.ListViewsResponsePayloadSchema> {
|
452
|
+
}
|
453
|
+
}
|
454
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
455
|
+
interface RegisterDashboardCardsResponsePayload {
|
456
|
+
'vcIds': string[];
|
457
|
+
}
|
458
|
+
interface RegisterDashboardCardsResponsePayloadSchema extends SpruceSchema.Schema {
|
459
|
+
id: 'registerDashboardCardsResponsePayload';
|
460
|
+
version: 'v2021_02_11';
|
461
|
+
namespace: 'Heartwood';
|
462
|
+
name: '';
|
463
|
+
fields: {
|
464
|
+
/** . */
|
465
|
+
'vcIds': {
|
466
|
+
type: 'id';
|
467
|
+
isRequired: true;
|
468
|
+
isArray: true;
|
469
|
+
minArrayLength: 0;
|
470
|
+
options: undefined;
|
471
|
+
};
|
472
|
+
};
|
473
|
+
}
|
474
|
+
interface RegisterDashboardCardsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.RegisterDashboardCardsResponsePayloadSchema> {
|
475
|
+
}
|
476
|
+
}
|
477
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
478
|
+
interface RegisterSkillViewsEmitPayload {
|
479
|
+
'ids': string[];
|
480
|
+
'source'?: string | undefined | null;
|
481
|
+
'sourceUrl'?: string | undefined | null;
|
482
|
+
'theme'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Theme | undefined | null;
|
483
|
+
}
|
484
|
+
interface RegisterSkillViewsEmitPayloadSchema extends SpruceSchema.Schema {
|
485
|
+
id: 'registerSkillViewsEmitPayload';
|
486
|
+
version: 'v2021_02_11';
|
487
|
+
namespace: 'Heartwood';
|
488
|
+
name: '';
|
489
|
+
fields: {
|
490
|
+
/** . */
|
491
|
+
'ids': {
|
492
|
+
type: 'text';
|
493
|
+
isRequired: true;
|
494
|
+
isArray: true;
|
495
|
+
options: undefined;
|
496
|
+
};
|
497
|
+
/** . */
|
498
|
+
'source': {
|
499
|
+
type: 'text';
|
500
|
+
options: undefined;
|
501
|
+
};
|
502
|
+
/** . */
|
503
|
+
'sourceUrl': {
|
504
|
+
type: 'text';
|
505
|
+
options: undefined;
|
506
|
+
};
|
507
|
+
/** . */
|
508
|
+
'theme': {
|
509
|
+
type: 'schema';
|
510
|
+
options: {
|
511
|
+
schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeSchema;
|
512
|
+
};
|
513
|
+
};
|
514
|
+
};
|
515
|
+
}
|
516
|
+
interface RegisterSkillViewsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.RegisterSkillViewsEmitPayloadSchema> {
|
517
|
+
}
|
518
|
+
}
|
519
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
520
|
+
interface RegisterSkillViewsEmitTargetAndPayload {
|
521
|
+
/** Source. */
|
522
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
523
|
+
'payload': SpruceSchemas.Heartwood.v2021_02_11.RegisterSkillViewsEmitPayload;
|
524
|
+
}
|
525
|
+
interface RegisterSkillViewsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
526
|
+
id: 'registerSkillViewsEmitTargetAndPayload';
|
527
|
+
version: 'v2021_02_11';
|
528
|
+
namespace: 'Heartwood';
|
529
|
+
name: '';
|
530
|
+
fields: {
|
531
|
+
/** Source. */
|
532
|
+
'source': {
|
533
|
+
label: 'Source';
|
534
|
+
type: 'schema';
|
535
|
+
options: {
|
536
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
537
|
+
};
|
538
|
+
};
|
539
|
+
/** . */
|
540
|
+
'payload': {
|
541
|
+
type: 'schema';
|
542
|
+
isRequired: true;
|
543
|
+
options: {
|
544
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.RegisterSkillViewsEmitPayloadSchema;
|
545
|
+
};
|
546
|
+
};
|
547
|
+
};
|
548
|
+
}
|
549
|
+
interface RegisterSkillViewsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.RegisterSkillViewsEmitTargetAndPayloadSchema> {
|
550
|
+
}
|
551
|
+
}
|
552
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
553
|
+
interface RegisterSkillViewsResponsePayload {
|
554
|
+
/** . Views that were registered. Will match the number of ids you sent. */
|
555
|
+
'totalRegistered': number;
|
556
|
+
}
|
557
|
+
interface RegisterSkillViewsResponsePayloadSchema extends SpruceSchema.Schema {
|
558
|
+
id: 'registerSkillViewsResponsePayload';
|
559
|
+
version: 'v2021_02_11';
|
560
|
+
namespace: 'Heartwood';
|
561
|
+
name: '';
|
562
|
+
fields: {
|
563
|
+
/** . Views that were registered. Will match the number of ids you sent. */
|
564
|
+
'totalRegistered': {
|
565
|
+
type: 'number';
|
566
|
+
isRequired: true;
|
567
|
+
hint: 'Views that were registered. Will match the number of ids you sent.';
|
568
|
+
options: undefined;
|
569
|
+
};
|
570
|
+
};
|
571
|
+
}
|
572
|
+
interface RegisterSkillViewsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.RegisterSkillViewsResponsePayloadSchema> {
|
573
|
+
}
|
574
|
+
}
|
575
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
576
|
+
interface UpsertThemeEmitTarget {
|
577
|
+
'organizationId': string;
|
578
|
+
}
|
579
|
+
interface UpsertThemeEmitTargetSchema extends SpruceSchema.Schema {
|
580
|
+
id: 'upsertThemeEmitTarget';
|
581
|
+
version: 'v2021_02_11';
|
582
|
+
namespace: 'Heartwood';
|
583
|
+
name: '';
|
584
|
+
fields: {
|
585
|
+
/** . */
|
586
|
+
'organizationId': {
|
587
|
+
type: 'id';
|
588
|
+
isRequired: true;
|
589
|
+
options: undefined;
|
590
|
+
};
|
591
|
+
};
|
592
|
+
}
|
593
|
+
interface UpsertThemeEmitTargetEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeEmitTargetSchema> {
|
594
|
+
}
|
595
|
+
}
|
596
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
597
|
+
interface UpsertThemeEmitPayload {
|
598
|
+
'theme': SpruceSchemas.Heartwood.v2021_02_11.Theme;
|
599
|
+
}
|
600
|
+
interface UpsertThemeEmitPayloadSchema extends SpruceSchema.Schema {
|
601
|
+
id: 'upsertThemeEmitPayload';
|
602
|
+
version: 'v2021_02_11';
|
603
|
+
namespace: 'Heartwood';
|
604
|
+
name: '';
|
605
|
+
fields: {
|
606
|
+
/** . */
|
607
|
+
'theme': {
|
608
|
+
type: 'schema';
|
609
|
+
isRequired: true;
|
610
|
+
options: {
|
611
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.ThemeSchema;
|
612
|
+
};
|
613
|
+
};
|
614
|
+
};
|
615
|
+
}
|
616
|
+
interface UpsertThemeEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeEmitPayloadSchema> {
|
617
|
+
}
|
618
|
+
}
|
619
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
620
|
+
interface UpsertThemeEmitTargetAndPayload {
|
621
|
+
/** Source. */
|
622
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
623
|
+
'target': SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeEmitTarget;
|
624
|
+
'payload': SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeEmitPayload;
|
625
|
+
}
|
626
|
+
interface UpsertThemeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
627
|
+
id: 'upsertThemeEmitTargetAndPayload';
|
628
|
+
version: 'v2021_02_11';
|
629
|
+
namespace: 'Heartwood';
|
630
|
+
name: '';
|
631
|
+
fields: {
|
632
|
+
/** Source. */
|
633
|
+
'source': {
|
634
|
+
label: 'Source';
|
635
|
+
type: 'schema';
|
636
|
+
options: {
|
637
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
638
|
+
};
|
639
|
+
};
|
640
|
+
/** . */
|
641
|
+
'target': {
|
642
|
+
type: 'schema';
|
643
|
+
isRequired: true;
|
644
|
+
options: {
|
645
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeEmitTargetSchema;
|
646
|
+
};
|
647
|
+
};
|
648
|
+
/** . */
|
649
|
+
'payload': {
|
650
|
+
type: 'schema';
|
651
|
+
isRequired: true;
|
652
|
+
options: {
|
653
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeEmitPayloadSchema;
|
654
|
+
};
|
655
|
+
};
|
656
|
+
};
|
657
|
+
}
|
658
|
+
interface UpsertThemeEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeEmitTargetAndPayloadSchema> {
|
659
|
+
}
|
660
|
+
}
|
661
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
662
|
+
interface Theme {
|
663
|
+
'slug': string;
|
664
|
+
'name': string;
|
665
|
+
'props': SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeProps;
|
666
|
+
}
|
667
|
+
interface ThemeSchema extends SpruceSchema.Schema {
|
668
|
+
id: 'theme';
|
669
|
+
version: 'v2021_02_11';
|
670
|
+
namespace: 'Heartwood';
|
671
|
+
name: 'Theme';
|
672
|
+
fields: {
|
673
|
+
/** . */
|
674
|
+
'slug': {
|
675
|
+
type: 'id';
|
676
|
+
isRequired: true;
|
677
|
+
options: undefined;
|
678
|
+
};
|
679
|
+
/** . */
|
680
|
+
'name': {
|
681
|
+
type: 'text';
|
682
|
+
isRequired: true;
|
683
|
+
options: undefined;
|
684
|
+
};
|
685
|
+
/** . */
|
686
|
+
'props': {
|
687
|
+
type: 'schema';
|
688
|
+
isRequired: true;
|
689
|
+
options: {
|
690
|
+
schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemePropsSchema;
|
691
|
+
};
|
692
|
+
};
|
693
|
+
};
|
694
|
+
}
|
695
|
+
interface ThemeEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.ThemeSchema> {
|
696
|
+
}
|
697
|
+
}
|
698
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
699
|
+
interface UpsertThemeResponsePayload {
|
700
|
+
'theme': SpruceSchemas.Heartwood.v2021_02_11.Theme;
|
701
|
+
}
|
702
|
+
interface UpsertThemeResponsePayloadSchema extends SpruceSchema.Schema {
|
703
|
+
id: 'upsertThemeResponsePayload';
|
704
|
+
version: 'v2021_02_11';
|
705
|
+
namespace: 'Heartwood';
|
706
|
+
name: '';
|
707
|
+
fields: {
|
708
|
+
/** . */
|
709
|
+
'theme': {
|
710
|
+
type: 'schema';
|
711
|
+
isRequired: true;
|
712
|
+
options: {
|
713
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.ThemeSchema;
|
714
|
+
};
|
715
|
+
};
|
716
|
+
};
|
717
|
+
}
|
718
|
+
interface UpsertThemeResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeResponsePayloadSchema> {
|
719
|
+
}
|
720
|
+
}
|
721
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
722
|
+
interface GetUploadEndpointResponsePayload {
|
723
|
+
/** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
|
724
|
+
'restEndpointUrl'?: string | undefined | null;
|
725
|
+
}
|
726
|
+
interface GetUploadEndpointResponsePayloadSchema extends SpruceSchema.Schema {
|
727
|
+
id: 'getUploadEndpointResponsePayload';
|
728
|
+
version: 'v2022_05_13';
|
729
|
+
namespace: 'Files';
|
730
|
+
name: '';
|
731
|
+
fields: {
|
732
|
+
/** . The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client. */
|
733
|
+
'restEndpointUrl': {
|
734
|
+
type: 'text';
|
735
|
+
hint: 'The REST endpoint URL to user when uploading a file. If not set, you must use upload using the Mercury Client.';
|
736
|
+
options: undefined;
|
737
|
+
};
|
738
|
+
};
|
739
|
+
}
|
740
|
+
interface GetUploadEndpointResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetUploadEndpointResponsePayloadSchema> {
|
741
|
+
}
|
742
|
+
}
|
743
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
744
|
+
interface UploadEmitTarget {
|
745
|
+
'locationId'?: string | undefined | null;
|
746
|
+
'organizationId'?: string | undefined | null;
|
747
|
+
'filePersonId'?: string | undefined | null;
|
748
|
+
}
|
749
|
+
interface UploadEmitTargetSchema extends SpruceSchema.Schema {
|
750
|
+
id: 'uploadEmitTarget';
|
751
|
+
version: 'v2022_05_13';
|
752
|
+
namespace: 'Files';
|
753
|
+
name: '';
|
754
|
+
fields: {
|
755
|
+
/** . */
|
756
|
+
'locationId': {
|
757
|
+
type: 'id';
|
758
|
+
options: undefined;
|
759
|
+
};
|
760
|
+
/** . */
|
761
|
+
'organizationId': {
|
762
|
+
type: 'id';
|
763
|
+
options: undefined;
|
764
|
+
};
|
765
|
+
/** . */
|
766
|
+
'filePersonId': {
|
767
|
+
type: 'text';
|
768
|
+
options: undefined;
|
769
|
+
};
|
770
|
+
};
|
771
|
+
}
|
772
|
+
interface UploadEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.UploadEmitTargetSchema> {
|
773
|
+
}
|
774
|
+
}
|
775
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
776
|
+
interface UploadEmitPayload {
|
777
|
+
'base64Body': string;
|
778
|
+
'name': string;
|
779
|
+
}
|
780
|
+
interface UploadEmitPayloadSchema extends SpruceSchema.Schema {
|
781
|
+
id: 'uploadEmitPayload';
|
782
|
+
version: 'v2022_05_13';
|
783
|
+
namespace: 'Files';
|
784
|
+
name: '';
|
785
|
+
fields: {
|
786
|
+
/** . */
|
787
|
+
'base64Body': {
|
788
|
+
type: 'text';
|
789
|
+
isRequired: true;
|
790
|
+
options: undefined;
|
791
|
+
};
|
792
|
+
/** . */
|
793
|
+
'name': {
|
794
|
+
type: 'text';
|
795
|
+
isRequired: true;
|
796
|
+
options: undefined;
|
797
|
+
};
|
798
|
+
};
|
799
|
+
}
|
800
|
+
interface UploadEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.UploadEmitPayloadSchema> {
|
801
|
+
}
|
802
|
+
}
|
803
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
804
|
+
interface UploadEmitTargetAndPayload {
|
805
|
+
/** Source. */
|
806
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
807
|
+
'target'?: SpruceSchemas.Files.v2022_05_13.UploadEmitTarget | undefined | null;
|
808
|
+
'payload': SpruceSchemas.Files.v2022_05_13.UploadEmitPayload;
|
809
|
+
}
|
810
|
+
interface UploadEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
811
|
+
id: 'uploadEmitTargetAndPayload';
|
812
|
+
version: 'v2022_05_13';
|
813
|
+
namespace: 'Files';
|
814
|
+
name: '';
|
815
|
+
fields: {
|
816
|
+
/** Source. */
|
817
|
+
'source': {
|
818
|
+
label: 'Source';
|
819
|
+
type: 'schema';
|
820
|
+
options: {
|
821
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
822
|
+
};
|
823
|
+
};
|
824
|
+
/** . */
|
825
|
+
'target': {
|
826
|
+
type: 'schema';
|
827
|
+
options: {
|
828
|
+
schema: SpruceSchemas.Files.v2022_05_13.UploadEmitTargetSchema;
|
829
|
+
};
|
830
|
+
};
|
831
|
+
/** . */
|
832
|
+
'payload': {
|
833
|
+
type: 'schema';
|
834
|
+
isRequired: true;
|
835
|
+
options: {
|
836
|
+
schema: SpruceSchemas.Files.v2022_05_13.UploadEmitPayloadSchema;
|
837
|
+
};
|
838
|
+
};
|
839
|
+
};
|
840
|
+
}
|
841
|
+
interface UploadEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.UploadEmitTargetAndPayloadSchema> {
|
842
|
+
}
|
843
|
+
}
|
844
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
845
|
+
interface UploadResponsePayload {
|
846
|
+
'file': SpruceSchemas.Files.v2022_05_13.UploadedFile;
|
847
|
+
}
|
848
|
+
interface UploadResponsePayloadSchema extends SpruceSchema.Schema {
|
849
|
+
id: 'uploadResponsePayload';
|
850
|
+
version: 'v2022_05_13';
|
851
|
+
namespace: 'Files';
|
852
|
+
name: '';
|
853
|
+
fields: {
|
854
|
+
/** . */
|
855
|
+
'file': {
|
856
|
+
type: 'schema';
|
857
|
+
isRequired: true;
|
858
|
+
options: {
|
859
|
+
schema: SpruceSchemas.Files.v2022_05_13.UploadedFileSchema;
|
860
|
+
};
|
861
|
+
};
|
862
|
+
};
|
863
|
+
}
|
864
|
+
interface UploadResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.UploadResponsePayloadSchema> {
|
865
|
+
}
|
866
|
+
}
|
867
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
868
|
+
interface GetSettingsStatusEmitTarget {
|
869
|
+
'organizationId': string;
|
870
|
+
}
|
871
|
+
interface GetSettingsStatusEmitTargetSchema extends SpruceSchema.Schema {
|
872
|
+
id: 'getSettingsStatusEmitTarget';
|
873
|
+
version: 'v2022_05_13';
|
874
|
+
namespace: 'Files';
|
875
|
+
name: '';
|
876
|
+
fields: {
|
877
|
+
/** . */
|
878
|
+
'organizationId': {
|
879
|
+
type: 'id';
|
880
|
+
isRequired: true;
|
881
|
+
options: undefined;
|
882
|
+
};
|
883
|
+
};
|
884
|
+
}
|
885
|
+
interface GetSettingsStatusEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema> {
|
886
|
+
}
|
887
|
+
}
|
888
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
889
|
+
interface GetSettingsStatusResponsePayload {
|
890
|
+
'didSupplyS3Creds': boolean;
|
891
|
+
}
|
892
|
+
interface GetSettingsStatusResponsePayloadSchema extends SpruceSchema.Schema {
|
893
|
+
id: 'getSettingsStatusResponsePayload';
|
894
|
+
version: 'v2022_05_13';
|
895
|
+
namespace: 'Files';
|
896
|
+
name: '';
|
897
|
+
fields: {
|
898
|
+
/** . */
|
899
|
+
'didSupplyS3Creds': {
|
900
|
+
type: 'boolean';
|
901
|
+
isRequired: true;
|
902
|
+
options: undefined;
|
903
|
+
};
|
904
|
+
};
|
905
|
+
}
|
906
|
+
interface GetSettingsStatusResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusResponsePayloadSchema> {
|
907
|
+
}
|
908
|
+
}
|
909
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
910
|
+
interface GetSettingsStatusEmitTargetAndPayload {
|
911
|
+
/** Source. */
|
912
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
913
|
+
'target': SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTarget;
|
914
|
+
}
|
915
|
+
interface GetSettingsStatusEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
916
|
+
id: 'getSettingsStatusEmitTargetAndPayload';
|
917
|
+
version: 'v2022_05_13';
|
918
|
+
namespace: 'Files';
|
919
|
+
name: '';
|
920
|
+
fields: {
|
921
|
+
/** Source. */
|
922
|
+
'source': {
|
923
|
+
label: 'Source';
|
924
|
+
type: 'schema';
|
925
|
+
options: {
|
926
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
927
|
+
};
|
928
|
+
};
|
929
|
+
/** . */
|
930
|
+
'target': {
|
931
|
+
type: 'schema';
|
932
|
+
isRequired: true;
|
933
|
+
options: {
|
934
|
+
schema: SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetSchema;
|
935
|
+
};
|
936
|
+
};
|
937
|
+
};
|
938
|
+
}
|
939
|
+
interface GetSettingsStatusEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.GetSettingsStatusEmitTargetAndPayloadSchema> {
|
940
|
+
}
|
941
|
+
}
|
942
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
943
|
+
interface SaveSettingsEmitTarget {
|
944
|
+
'organizationId': string;
|
945
|
+
}
|
946
|
+
interface SaveSettingsEmitTargetSchema extends SpruceSchema.Schema {
|
947
|
+
id: 'saveSettingsEmitTarget';
|
948
|
+
version: 'v2022_05_13';
|
949
|
+
namespace: 'Files';
|
950
|
+
name: '';
|
951
|
+
fields: {
|
952
|
+
/** . */
|
953
|
+
'organizationId': {
|
954
|
+
type: 'id';
|
955
|
+
isRequired: true;
|
956
|
+
options: undefined;
|
957
|
+
};
|
958
|
+
};
|
959
|
+
}
|
960
|
+
interface SaveSettingsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetSchema> {
|
961
|
+
}
|
962
|
+
}
|
963
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
964
|
+
interface SaveSettingsEmitPayload {
|
965
|
+
'awsAccessKeyId': string;
|
966
|
+
'awsSecretAccessKey': string;
|
967
|
+
'awsS3Bucket': string;
|
968
|
+
}
|
969
|
+
interface SaveSettingsEmitPayloadSchema extends SpruceSchema.Schema {
|
970
|
+
id: 'saveSettingsEmitPayload';
|
971
|
+
version: 'v2022_05_13';
|
972
|
+
namespace: 'Files';
|
973
|
+
name: '';
|
974
|
+
fields: {
|
975
|
+
/** . */
|
976
|
+
'awsAccessKeyId': {
|
977
|
+
type: 'id';
|
978
|
+
isRequired: true;
|
979
|
+
options: undefined;
|
980
|
+
};
|
981
|
+
/** . */
|
982
|
+
'awsSecretAccessKey': {
|
983
|
+
type: 'text';
|
984
|
+
isRequired: true;
|
985
|
+
options: undefined;
|
986
|
+
};
|
987
|
+
/** . */
|
988
|
+
'awsS3Bucket': {
|
989
|
+
type: 'text';
|
990
|
+
isRequired: true;
|
991
|
+
options: undefined;
|
992
|
+
};
|
993
|
+
};
|
994
|
+
}
|
995
|
+
interface SaveSettingsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema> {
|
996
|
+
}
|
997
|
+
}
|
998
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
999
|
+
interface SaveSettingsEmitTargetAndPayload {
|
1000
|
+
/** Source. */
|
1001
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
1002
|
+
'target': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTarget;
|
1003
|
+
'payload': SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayload;
|
1004
|
+
}
|
1005
|
+
interface SaveSettingsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
1006
|
+
id: 'saveSettingsEmitTargetAndPayload';
|
1007
|
+
version: 'v2022_05_13';
|
1008
|
+
namespace: 'Files';
|
1009
|
+
name: '';
|
1010
|
+
fields: {
|
1011
|
+
/** Source. */
|
1012
|
+
'source': {
|
1013
|
+
label: 'Source';
|
1014
|
+
type: 'schema';
|
1015
|
+
options: {
|
1016
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
1017
|
+
};
|
1018
|
+
};
|
1019
|
+
/** . */
|
1020
|
+
'target': {
|
1021
|
+
type: 'schema';
|
1022
|
+
isRequired: true;
|
1023
|
+
options: {
|
1024
|
+
schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetSchema;
|
1025
|
+
};
|
1026
|
+
};
|
1027
|
+
/** . */
|
1028
|
+
'payload': {
|
1029
|
+
type: 'schema';
|
1030
|
+
isRequired: true;
|
1031
|
+
options: {
|
1032
|
+
schema: SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitPayloadSchema;
|
1033
|
+
};
|
1034
|
+
};
|
1035
|
+
};
|
1036
|
+
}
|
1037
|
+
interface SaveSettingsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsEmitTargetAndPayloadSchema> {
|
1038
|
+
}
|
1039
|
+
}
|
1040
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
1041
|
+
interface SaveSettingsResponsePayload {
|
1042
|
+
'wasSuccessful': boolean;
|
1043
|
+
}
|
1044
|
+
interface SaveSettingsResponsePayloadSchema extends SpruceSchema.Schema {
|
1045
|
+
id: 'saveSettingsResponsePayload';
|
1046
|
+
version: 'v2022_05_13';
|
1047
|
+
namespace: 'Files';
|
1048
|
+
name: '';
|
1049
|
+
fields: {
|
1050
|
+
/** . */
|
1051
|
+
'wasSuccessful': {
|
1052
|
+
type: 'boolean';
|
1053
|
+
isRequired: true;
|
1054
|
+
options: undefined;
|
1055
|
+
};
|
1056
|
+
};
|
1057
|
+
}
|
1058
|
+
interface SaveSettingsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SaveSettingsResponsePayloadSchema> {
|
1059
|
+
}
|
1060
|
+
}
|
1061
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
1062
|
+
interface UploadedFile {
|
1063
|
+
'id': string;
|
1064
|
+
'uri': string;
|
1065
|
+
'type': string;
|
1066
|
+
}
|
1067
|
+
interface UploadedFileSchema extends SpruceSchema.Schema {
|
1068
|
+
id: 'uploadedFile';
|
1069
|
+
version: 'v2022_05_13';
|
1070
|
+
namespace: 'Files';
|
1071
|
+
name: 'Uploaded file';
|
1072
|
+
fields: {
|
1073
|
+
/** . */
|
1074
|
+
'id': {
|
1075
|
+
type: 'id';
|
1076
|
+
isRequired: true;
|
1077
|
+
options: undefined;
|
1078
|
+
};
|
1079
|
+
/** . */
|
1080
|
+
'uri': {
|
1081
|
+
type: 'text';
|
1082
|
+
isRequired: true;
|
1083
|
+
options: undefined;
|
1084
|
+
};
|
1085
|
+
/** . */
|
1086
|
+
'type': {
|
1087
|
+
type: 'text';
|
1088
|
+
isRequired: true;
|
1089
|
+
options: undefined;
|
1090
|
+
};
|
1091
|
+
};
|
1092
|
+
}
|
1093
|
+
interface UploadedFileEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.UploadedFileSchema> {
|
1094
|
+
}
|
1095
|
+
}
|
1096
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
1097
|
+
interface SettingsTarget {
|
1098
|
+
'organizationId': string;
|
1099
|
+
}
|
1100
|
+
interface SettingsTargetSchema extends SpruceSchema.Schema {
|
1101
|
+
id: 'settingsTarget';
|
1102
|
+
version: 'v2022_05_13';
|
1103
|
+
namespace: 'Files';
|
1104
|
+
name: '';
|
1105
|
+
fields: {
|
1106
|
+
/** . */
|
1107
|
+
'organizationId': {
|
1108
|
+
type: 'id';
|
1109
|
+
isRequired: true;
|
1110
|
+
options: undefined;
|
1111
|
+
};
|
1112
|
+
};
|
1113
|
+
}
|
1114
|
+
interface SettingsTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SettingsTargetSchema> {
|
1115
|
+
}
|
1116
|
+
}
|
1117
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
1118
|
+
interface Settings {
|
1119
|
+
'id': string;
|
1120
|
+
/** AWS Access Key ID. */
|
1121
|
+
'awsAccessKeyId': string;
|
1122
|
+
/** AWS Secret Access Key. */
|
1123
|
+
'awsSecretAccessKey': string;
|
1124
|
+
/** AWS S3 Bucket. */
|
1125
|
+
'awsS3Bucket': string;
|
1126
|
+
'target'?: SpruceSchemas.Files.v2022_05_13.SettingsTarget | undefined | null;
|
1127
|
+
}
|
1128
|
+
interface SettingsSchema extends SpruceSchema.Schema {
|
1129
|
+
id: 'settings';
|
1130
|
+
version: 'v2022_05_13';
|
1131
|
+
namespace: 'Files';
|
1132
|
+
name: 'Settings';
|
1133
|
+
fields: {
|
1134
|
+
/** . */
|
1135
|
+
'id': {
|
1136
|
+
type: 'id';
|
1137
|
+
isRequired: true;
|
1138
|
+
options: undefined;
|
1139
|
+
};
|
1140
|
+
/** AWS Access Key ID. */
|
1141
|
+
'awsAccessKeyId': {
|
1142
|
+
label: 'AWS Access Key ID';
|
1143
|
+
type: 'text';
|
1144
|
+
isRequired: true;
|
1145
|
+
options: undefined;
|
1146
|
+
};
|
1147
|
+
/** AWS Secret Access Key. */
|
1148
|
+
'awsSecretAccessKey': {
|
1149
|
+
label: 'AWS Secret Access Key';
|
1150
|
+
type: 'text';
|
1151
|
+
isRequired: true;
|
1152
|
+
options: undefined;
|
1153
|
+
};
|
1154
|
+
/** AWS S3 Bucket. */
|
1155
|
+
'awsS3Bucket': {
|
1156
|
+
label: 'AWS S3 Bucket';
|
1157
|
+
type: 'text';
|
1158
|
+
isRequired: true;
|
1159
|
+
options: undefined;
|
1160
|
+
};
|
1161
|
+
/** . */
|
1162
|
+
'target': {
|
1163
|
+
type: 'schema';
|
1164
|
+
isPrivate: true;
|
1165
|
+
options: {
|
1166
|
+
schema: SpruceSchemas.Files.v2022_05_13.SettingsTargetSchema;
|
1167
|
+
};
|
1168
|
+
};
|
1169
|
+
};
|
1170
|
+
}
|
1171
|
+
interface SettingsEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.SettingsSchema> {
|
1172
|
+
}
|
1173
|
+
}
|
1174
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
1175
|
+
interface UploadEventTarget {
|
1176
|
+
'filePersonId'?: string | undefined | null;
|
1177
|
+
'locationId'?: string | undefined | null;
|
1178
|
+
'personId'?: string | undefined | null;
|
1179
|
+
'organizationId'?: string | undefined | null;
|
1180
|
+
'skillId'?: string | undefined | null;
|
1181
|
+
'roleId'?: string | undefined | null;
|
1182
|
+
}
|
1183
|
+
interface UploadEventTargetSchema extends SpruceSchema.Schema {
|
1184
|
+
id: 'uploadEventTarget';
|
1185
|
+
version: 'v2022_05_13';
|
1186
|
+
namespace: 'Files';
|
1187
|
+
name: '';
|
1188
|
+
fields: {
|
1189
|
+
/** . */
|
1190
|
+
'filePersonId': {
|
1191
|
+
type: 'text';
|
1192
|
+
options: undefined;
|
1193
|
+
};
|
1194
|
+
/** . */
|
1195
|
+
'locationId': {
|
1196
|
+
type: 'id';
|
1197
|
+
options: undefined;
|
1198
|
+
};
|
1199
|
+
/** . */
|
1200
|
+
'personId': {
|
1201
|
+
type: 'id';
|
1202
|
+
options: undefined;
|
1203
|
+
};
|
1204
|
+
/** . */
|
1205
|
+
'organizationId': {
|
1206
|
+
type: 'id';
|
1207
|
+
options: undefined;
|
1208
|
+
};
|
1209
|
+
/** . */
|
1210
|
+
'skillId': {
|
1211
|
+
type: 'id';
|
1212
|
+
options: undefined;
|
1213
|
+
};
|
1214
|
+
/** . */
|
1215
|
+
'roleId': {
|
1216
|
+
type: 'id';
|
1217
|
+
options: undefined;
|
1218
|
+
};
|
1219
|
+
};
|
1220
|
+
}
|
1221
|
+
interface UploadEventTargetEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.UploadEventTargetSchema> {
|
1222
|
+
}
|
1223
|
+
}
|
1224
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
1225
|
+
interface UploadEventSource {
|
1226
|
+
'locationId'?: string | undefined | null;
|
1227
|
+
'personId'?: string | undefined | null;
|
1228
|
+
'organizationId'?: string | undefined | null;
|
1229
|
+
'skillId'?: string | undefined | null;
|
1230
|
+
'roleId'?: string | undefined | null;
|
1231
|
+
/** Proxy token. */
|
1232
|
+
'proxyToken'?: string | undefined | null;
|
1233
|
+
}
|
1234
|
+
interface UploadEventSourceSchema extends SpruceSchema.Schema {
|
1235
|
+
id: 'uploadEventSource';
|
1236
|
+
version: 'v2022_05_13';
|
1237
|
+
namespace: 'Files';
|
1238
|
+
name: '';
|
1239
|
+
fields: {
|
1240
|
+
/** . */
|
1241
|
+
'locationId': {
|
1242
|
+
type: 'id';
|
1243
|
+
options: undefined;
|
1244
|
+
};
|
1245
|
+
/** . */
|
1246
|
+
'personId': {
|
1247
|
+
type: 'id';
|
1248
|
+
options: undefined;
|
1249
|
+
};
|
1250
|
+
/** . */
|
1251
|
+
'organizationId': {
|
1252
|
+
type: 'id';
|
1253
|
+
options: undefined;
|
1254
|
+
};
|
1255
|
+
/** . */
|
1256
|
+
'skillId': {
|
1257
|
+
type: 'id';
|
1258
|
+
options: undefined;
|
1259
|
+
};
|
1260
|
+
/** . */
|
1261
|
+
'roleId': {
|
1262
|
+
type: 'id';
|
1263
|
+
options: undefined;
|
1264
|
+
};
|
1265
|
+
/** Proxy token. */
|
1266
|
+
'proxyToken': {
|
1267
|
+
label: 'Proxy token';
|
1268
|
+
type: 'id';
|
1269
|
+
options: undefined;
|
1270
|
+
};
|
1271
|
+
};
|
1272
|
+
}
|
1273
|
+
interface UploadEventSourceEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.UploadEventSourceSchema> {
|
1274
|
+
}
|
1275
|
+
}
|
1276
|
+
namespace SpruceSchemas.Files.v2022_05_13 {
|
1277
|
+
interface File {
|
1278
|
+
'id': string;
|
1279
|
+
'name': string;
|
1280
|
+
'type': string;
|
1281
|
+
'uri': string;
|
1282
|
+
'source': SpruceSchemas.Files.v2022_05_13.UploadEventSource;
|
1283
|
+
'target': SpruceSchemas.Files.v2022_05_13.UploadEventTarget;
|
1284
|
+
}
|
1285
|
+
interface FileSchema extends SpruceSchema.Schema {
|
1286
|
+
id: 'file';
|
1287
|
+
version: 'v2022_05_13';
|
1288
|
+
namespace: 'Files';
|
1289
|
+
name: 'File';
|
1290
|
+
fields: {
|
1291
|
+
/** . */
|
1292
|
+
'id': {
|
1293
|
+
type: 'id';
|
1294
|
+
isRequired: true;
|
1295
|
+
options: undefined;
|
1296
|
+
};
|
1297
|
+
/** . */
|
1298
|
+
'name': {
|
1299
|
+
type: 'text';
|
1300
|
+
isRequired: true;
|
1301
|
+
options: undefined;
|
1302
|
+
};
|
1303
|
+
/** . */
|
1304
|
+
'type': {
|
1305
|
+
type: 'text';
|
1306
|
+
isRequired: true;
|
1307
|
+
options: undefined;
|
1308
|
+
};
|
1309
|
+
/** . */
|
1310
|
+
'uri': {
|
1311
|
+
type: 'text';
|
1312
|
+
isRequired: true;
|
1313
|
+
options: undefined;
|
1314
|
+
};
|
1315
|
+
/** . */
|
1316
|
+
'source': {
|
1317
|
+
type: 'schema';
|
1318
|
+
isPrivate: true;
|
1319
|
+
isRequired: true;
|
1320
|
+
options: {
|
1321
|
+
schema: SpruceSchemas.Files.v2022_05_13.UploadEventSourceSchema;
|
1322
|
+
};
|
1323
|
+
};
|
1324
|
+
/** . */
|
1325
|
+
'target': {
|
1326
|
+
type: 'schema';
|
1327
|
+
isPrivate: true;
|
1328
|
+
isRequired: true;
|
1329
|
+
options: {
|
1330
|
+
schema: SpruceSchemas.Files.v2022_05_13.UploadEventTargetSchema;
|
1331
|
+
};
|
1332
|
+
};
|
1333
|
+
};
|
1334
|
+
}
|
1335
|
+
interface FileEntity extends SchemaEntity<SpruceSchemas.Files.v2022_05_13.FileSchema> {
|
1336
|
+
}
|
1337
|
+
}
|
1338
|
+
}
|