@sprucelabs/spruce-people-utils 0.9.2 → 1.0.2
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 +1817 -0
- package/build/.spruce/schemas/schemas.types.js +5 -0
- package/build/esm/.spruce/schemas/schemas.types.d.ts +1817 -0
- package/build/esm/.spruce/schemas/schemas.types.js +3 -0
- package/build/esm/index-module.d.ts +11 -1
- package/build/esm/index-module.js +2 -1
- package/build/esm/inviting/InvitePersonCard.vc.d.ts +56 -0
- package/build/esm/inviting/InvitePersonCard.vc.js +222 -0
- package/build/esm/types/people.types.d.ts +9 -0
- package/build/esm/types/people.types.js +1 -0
- package/build/esm/viewControllers/PersonSelectInput.vc.d.ts +3 -3
- package/build/esm/viewControllers/PersonSelectInput.vc.js +2 -2
- package/build/esm/viewControllers/searchPeopleToSuggestions.d.ts +4 -0
- package/build/esm/viewControllers/searchPeopleToSuggestions.js +10 -0
- package/build/index-module.d.ts +11 -1
- package/build/index-module.js +4 -2
- package/build/inviting/InvitePersonCard.vc.d.ts +56 -0
- package/build/inviting/InvitePersonCard.vc.js +195 -0
- package/build/types/people.types.d.ts +9 -0
- package/build/types/people.types.js +2 -0
- package/build/viewControllers/PersonSelectInput.vc.d.ts +3 -3
- package/build/viewControllers/PersonSelectInput.vc.js +1 -1
- package/build/viewControllers/searchPeopleToSuggestions.d.ts +4 -0
- package/build/viewControllers/searchPeopleToSuggestions.js +15 -0
- package/package.json +21 -5
|
@@ -0,0 +1,1817 @@
|
|
|
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
|
+
type DidRegisterSkillViewsEmitTargetEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.DidRegisterSkillViewsEmitTargetSchema>;
|
|
26
|
+
}
|
|
27
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
28
|
+
interface DidRegisterSkillViewsEmitPayload {
|
|
29
|
+
/** View namespace. */
|
|
30
|
+
'namespace': string;
|
|
31
|
+
}
|
|
32
|
+
interface DidRegisterSkillViewsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
33
|
+
id: 'didRegisterSkillViewsEmitPayload';
|
|
34
|
+
version: 'v2021_02_11';
|
|
35
|
+
namespace: 'Heartwood';
|
|
36
|
+
name: '';
|
|
37
|
+
fields: {
|
|
38
|
+
/** View namespace. */
|
|
39
|
+
'namespace': {
|
|
40
|
+
label: 'View namespace';
|
|
41
|
+
type: 'text';
|
|
42
|
+
isRequired: true;
|
|
43
|
+
options: undefined;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
type DidRegisterSkillViewsEmitPayloadEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.DidRegisterSkillViewsEmitPayloadSchema>;
|
|
48
|
+
}
|
|
49
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
50
|
+
interface DidRegisterSkillViewsEmitTargetAndPayload {
|
|
51
|
+
/** Source. */
|
|
52
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
53
|
+
'target': SpruceSchemas.Heartwood.v2021_02_11.DidRegisterSkillViewsEmitTarget;
|
|
54
|
+
'payload': SpruceSchemas.Heartwood.v2021_02_11.DidRegisterSkillViewsEmitPayload;
|
|
55
|
+
}
|
|
56
|
+
interface DidRegisterSkillViewsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
57
|
+
id: 'didRegisterSkillViewsEmitTargetAndPayload';
|
|
58
|
+
version: 'v2021_02_11';
|
|
59
|
+
namespace: 'Heartwood';
|
|
60
|
+
name: '';
|
|
61
|
+
fields: {
|
|
62
|
+
/** Source. */
|
|
63
|
+
'source': {
|
|
64
|
+
label: 'Source';
|
|
65
|
+
type: 'schema';
|
|
66
|
+
options: {
|
|
67
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
/** . */
|
|
71
|
+
'target': {
|
|
72
|
+
type: 'schema';
|
|
73
|
+
isRequired: true;
|
|
74
|
+
options: {
|
|
75
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.DidRegisterSkillViewsEmitTargetSchema;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
/** . */
|
|
79
|
+
'payload': {
|
|
80
|
+
type: 'schema';
|
|
81
|
+
isRequired: true;
|
|
82
|
+
options: {
|
|
83
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.DidRegisterSkillViewsEmitPayloadSchema;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
type DidRegisterSkillViewsEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.DidRegisterSkillViewsEmitTargetAndPayloadSchema>;
|
|
89
|
+
}
|
|
90
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
91
|
+
interface GenerateUrlEmitTarget {
|
|
92
|
+
/** Skill View Id. */
|
|
93
|
+
'skillViewId'?: (SkillViewControllerId) | undefined | null;
|
|
94
|
+
}
|
|
95
|
+
interface GenerateUrlEmitTargetSchema extends SpruceSchema.Schema {
|
|
96
|
+
id: 'generateUrlEmitTarget';
|
|
97
|
+
version: 'v2021_02_11';
|
|
98
|
+
namespace: 'Heartwood';
|
|
99
|
+
name: '';
|
|
100
|
+
importsWhenRemote: ['import { SkillViewControllerId } from \'@sprucelabs/heartwood-view-controllers\''];
|
|
101
|
+
fields: {
|
|
102
|
+
/** Skill View Id. */
|
|
103
|
+
'skillViewId': {
|
|
104
|
+
label: 'Skill View Id';
|
|
105
|
+
type: 'raw';
|
|
106
|
+
options: {
|
|
107
|
+
valueType: `SkillViewControllerId`;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
type GenerateUrlEmitTargetEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.GenerateUrlEmitTargetSchema>;
|
|
113
|
+
}
|
|
114
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
115
|
+
interface GenerateUrlEmitPayload {
|
|
116
|
+
/** Load args. */
|
|
117
|
+
'args'?: (Record<string, any>) | undefined | null;
|
|
118
|
+
}
|
|
119
|
+
interface GenerateUrlEmitPayloadSchema extends SpruceSchema.Schema {
|
|
120
|
+
id: 'generateUrlEmitPayload';
|
|
121
|
+
version: 'v2021_02_11';
|
|
122
|
+
namespace: 'Heartwood';
|
|
123
|
+
name: '';
|
|
124
|
+
fields: {
|
|
125
|
+
/** Load args. */
|
|
126
|
+
'args': {
|
|
127
|
+
label: 'Load args';
|
|
128
|
+
type: 'raw';
|
|
129
|
+
options: {
|
|
130
|
+
valueType: `Record<string, any>`;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
type GenerateUrlEmitPayloadEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.GenerateUrlEmitPayloadSchema>;
|
|
136
|
+
}
|
|
137
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
138
|
+
interface GenerateUrlEmitTargetAndPayload {
|
|
139
|
+
/** Source. */
|
|
140
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
141
|
+
'target'?: SpruceSchemas.Heartwood.v2021_02_11.GenerateUrlEmitTarget | undefined | null;
|
|
142
|
+
'payload'?: SpruceSchemas.Heartwood.v2021_02_11.GenerateUrlEmitPayload | undefined | null;
|
|
143
|
+
}
|
|
144
|
+
interface GenerateUrlEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
145
|
+
id: 'generateUrlEmitTargetAndPayload';
|
|
146
|
+
version: 'v2021_02_11';
|
|
147
|
+
namespace: 'Heartwood';
|
|
148
|
+
name: '';
|
|
149
|
+
fields: {
|
|
150
|
+
/** Source. */
|
|
151
|
+
'source': {
|
|
152
|
+
label: 'Source';
|
|
153
|
+
type: 'schema';
|
|
154
|
+
options: {
|
|
155
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
/** . */
|
|
159
|
+
'target': {
|
|
160
|
+
type: 'schema';
|
|
161
|
+
options: {
|
|
162
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.GenerateUrlEmitTargetSchema;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
/** . */
|
|
166
|
+
'payload': {
|
|
167
|
+
type: 'schema';
|
|
168
|
+
options: {
|
|
169
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.GenerateUrlEmitPayloadSchema;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
type GenerateUrlEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.GenerateUrlEmitTargetAndPayloadSchema>;
|
|
175
|
+
}
|
|
176
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
177
|
+
interface GenerateUrlResponsePayload {
|
|
178
|
+
/** Url. */
|
|
179
|
+
'url': string;
|
|
180
|
+
}
|
|
181
|
+
interface GenerateUrlResponsePayloadSchema extends SpruceSchema.Schema {
|
|
182
|
+
id: 'generateUrlResponsePayload';
|
|
183
|
+
version: 'v2021_02_11';
|
|
184
|
+
namespace: 'Heartwood';
|
|
185
|
+
name: '';
|
|
186
|
+
fields: {
|
|
187
|
+
/** Url. */
|
|
188
|
+
'url': {
|
|
189
|
+
label: 'Url';
|
|
190
|
+
type: 'text';
|
|
191
|
+
isRequired: true;
|
|
192
|
+
options: undefined;
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
type GenerateUrlResponsePayloadEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.GenerateUrlResponsePayloadSchema>;
|
|
197
|
+
}
|
|
198
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
199
|
+
interface GetActiveThemeEmitTarget {
|
|
200
|
+
'organizationId': string;
|
|
201
|
+
}
|
|
202
|
+
interface GetActiveThemeEmitTargetSchema extends SpruceSchema.Schema {
|
|
203
|
+
id: 'getActiveThemeEmitTarget';
|
|
204
|
+
version: 'v2021_02_11';
|
|
205
|
+
namespace: 'Heartwood';
|
|
206
|
+
name: '';
|
|
207
|
+
fields: {
|
|
208
|
+
/** . */
|
|
209
|
+
'organizationId': {
|
|
210
|
+
type: 'id';
|
|
211
|
+
isRequired: true;
|
|
212
|
+
options: undefined;
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
}
|
|
216
|
+
type GetActiveThemeEmitTargetEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.GetActiveThemeEmitTargetSchema>;
|
|
217
|
+
}
|
|
218
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
219
|
+
interface GetActiveThemeEmitTargetAndPayload {
|
|
220
|
+
/** Source. */
|
|
221
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
222
|
+
'target': SpruceSchemas.Heartwood.v2021_02_11.GetActiveThemeEmitTarget;
|
|
223
|
+
}
|
|
224
|
+
interface GetActiveThemeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
225
|
+
id: 'getActiveThemeEmitTargetAndPayload';
|
|
226
|
+
version: 'v2021_02_11';
|
|
227
|
+
namespace: 'Heartwood';
|
|
228
|
+
name: '';
|
|
229
|
+
fields: {
|
|
230
|
+
/** Source. */
|
|
231
|
+
'source': {
|
|
232
|
+
label: 'Source';
|
|
233
|
+
type: 'schema';
|
|
234
|
+
options: {
|
|
235
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
/** . */
|
|
239
|
+
'target': {
|
|
240
|
+
type: 'schema';
|
|
241
|
+
isRequired: true;
|
|
242
|
+
options: {
|
|
243
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.GetActiveThemeEmitTargetSchema;
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
type GetActiveThemeEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.GetActiveThemeEmitTargetAndPayloadSchema>;
|
|
249
|
+
}
|
|
250
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
251
|
+
interface GetActiveThemeResponsePayload {
|
|
252
|
+
'theme'?: SpruceSchemas.Heartwood.v2021_02_11.Theme | undefined | null;
|
|
253
|
+
}
|
|
254
|
+
interface GetActiveThemeResponsePayloadSchema extends SpruceSchema.Schema {
|
|
255
|
+
id: 'getActiveThemeResponsePayload';
|
|
256
|
+
version: 'v2021_02_11';
|
|
257
|
+
namespace: 'Heartwood';
|
|
258
|
+
name: '';
|
|
259
|
+
fields: {
|
|
260
|
+
/** . */
|
|
261
|
+
'theme': {
|
|
262
|
+
type: 'schema';
|
|
263
|
+
options: {
|
|
264
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.ThemeSchema;
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
}
|
|
269
|
+
type GetActiveThemeResponsePayloadEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.GetActiveThemeResponsePayloadSchema>;
|
|
270
|
+
}
|
|
271
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
272
|
+
interface GetViewControllersEmitTarget {
|
|
273
|
+
'namespace': string;
|
|
274
|
+
}
|
|
275
|
+
interface GetViewControllersEmitTargetSchema extends SpruceSchema.Schema {
|
|
276
|
+
id: 'getViewControllersEmitTarget';
|
|
277
|
+
version: 'v2021_02_11';
|
|
278
|
+
namespace: 'Heartwood';
|
|
279
|
+
name: '';
|
|
280
|
+
fields: {
|
|
281
|
+
/** . */
|
|
282
|
+
'namespace': {
|
|
283
|
+
type: 'text';
|
|
284
|
+
isRequired: true;
|
|
285
|
+
options: undefined;
|
|
286
|
+
};
|
|
287
|
+
};
|
|
288
|
+
}
|
|
289
|
+
type GetViewControllersEmitTargetEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.GetViewControllersEmitTargetSchema>;
|
|
290
|
+
}
|
|
291
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
292
|
+
interface GetSkillViewsEmitTargetAndPayload {
|
|
293
|
+
/** Source. */
|
|
294
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
295
|
+
'target': SpruceSchemas.Heartwood.v2021_02_11.GetViewControllersEmitTarget;
|
|
296
|
+
}
|
|
297
|
+
interface GetSkillViewsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
298
|
+
id: 'getSkillViewsEmitTargetAndPayload';
|
|
299
|
+
version: 'v2021_02_11';
|
|
300
|
+
namespace: 'Heartwood';
|
|
301
|
+
name: '';
|
|
302
|
+
fields: {
|
|
303
|
+
/** Source. */
|
|
304
|
+
'source': {
|
|
305
|
+
label: 'Source';
|
|
306
|
+
type: 'schema';
|
|
307
|
+
options: {
|
|
308
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
/** . */
|
|
312
|
+
'target': {
|
|
313
|
+
type: 'schema';
|
|
314
|
+
isRequired: true;
|
|
315
|
+
options: {
|
|
316
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.GetViewControllersEmitTargetSchema;
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
}
|
|
321
|
+
type GetSkillViewsEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.GetSkillViewsEmitTargetAndPayloadSchema>;
|
|
322
|
+
}
|
|
323
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
324
|
+
interface GetSkillViewsResponsePayload {
|
|
325
|
+
'id': string;
|
|
326
|
+
'ids': string[];
|
|
327
|
+
'source': string;
|
|
328
|
+
'theme'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Theme | undefined | null;
|
|
329
|
+
}
|
|
330
|
+
interface GetSkillViewsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
331
|
+
id: 'getSkillViewsResponsePayload';
|
|
332
|
+
version: 'v2021_02_11';
|
|
333
|
+
namespace: 'Heartwood';
|
|
334
|
+
name: '';
|
|
335
|
+
fields: {
|
|
336
|
+
/** . */
|
|
337
|
+
'id': {
|
|
338
|
+
type: 'id';
|
|
339
|
+
isRequired: true;
|
|
340
|
+
options: undefined;
|
|
341
|
+
};
|
|
342
|
+
/** . */
|
|
343
|
+
'ids': {
|
|
344
|
+
type: 'text';
|
|
345
|
+
isRequired: true;
|
|
346
|
+
isArray: true;
|
|
347
|
+
options: undefined;
|
|
348
|
+
};
|
|
349
|
+
/** . */
|
|
350
|
+
'source': {
|
|
351
|
+
type: 'text';
|
|
352
|
+
isRequired: true;
|
|
353
|
+
options: undefined;
|
|
354
|
+
};
|
|
355
|
+
/** . */
|
|
356
|
+
'theme': {
|
|
357
|
+
type: 'schema';
|
|
358
|
+
options: {
|
|
359
|
+
schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeSchema;
|
|
360
|
+
};
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
}
|
|
364
|
+
type GetSkillViewsResponsePayloadEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.GetSkillViewsResponsePayloadSchema>;
|
|
365
|
+
}
|
|
366
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
367
|
+
interface ListViewsResult {
|
|
368
|
+
'namespace': string;
|
|
369
|
+
/** Skill view ids. For now this is every view, but soon will be only skill views */
|
|
370
|
+
'svcIds': string[];
|
|
371
|
+
/** View ids. For now this is every view, but soon will be only views (not skill views) */
|
|
372
|
+
'vcIds': string[];
|
|
373
|
+
}
|
|
374
|
+
interface ListViewsResultSchema extends SpruceSchema.Schema {
|
|
375
|
+
id: 'listViewsResult';
|
|
376
|
+
version: 'v2021_02_11';
|
|
377
|
+
namespace: 'Heartwood';
|
|
378
|
+
name: '';
|
|
379
|
+
fields: {
|
|
380
|
+
/** . */
|
|
381
|
+
'namespace': {
|
|
382
|
+
type: 'text';
|
|
383
|
+
isRequired: true;
|
|
384
|
+
options: undefined;
|
|
385
|
+
};
|
|
386
|
+
/** Skill view ids. For now this is every view, but soon will be only skill views */
|
|
387
|
+
'svcIds': {
|
|
388
|
+
label: 'Skill view ids';
|
|
389
|
+
type: 'id';
|
|
390
|
+
isRequired: true;
|
|
391
|
+
hint: 'For now this is every view, but soon will be only skill views';
|
|
392
|
+
isArray: true;
|
|
393
|
+
minArrayLength: 0;
|
|
394
|
+
options: undefined;
|
|
395
|
+
};
|
|
396
|
+
/** View ids. For now this is every view, but soon will be only views (not skill views) */
|
|
397
|
+
'vcIds': {
|
|
398
|
+
label: 'View ids';
|
|
399
|
+
type: 'id';
|
|
400
|
+
isRequired: true;
|
|
401
|
+
hint: 'For now this is every view, but soon will be only views (not skill views)';
|
|
402
|
+
isArray: true;
|
|
403
|
+
minArrayLength: 0;
|
|
404
|
+
options: undefined;
|
|
405
|
+
};
|
|
406
|
+
};
|
|
407
|
+
}
|
|
408
|
+
type ListViewsResultEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.ListViewsResultSchema>;
|
|
409
|
+
}
|
|
410
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
411
|
+
interface ListViewsResponsePayload {
|
|
412
|
+
'views': SpruceSchemas.Heartwood.v2021_02_11.ListViewsResult[];
|
|
413
|
+
}
|
|
414
|
+
interface ListViewsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
415
|
+
id: 'listViewsResponsePayload';
|
|
416
|
+
version: 'v2021_02_11';
|
|
417
|
+
namespace: 'Heartwood';
|
|
418
|
+
name: '';
|
|
419
|
+
fields: {
|
|
420
|
+
/** . */
|
|
421
|
+
'views': {
|
|
422
|
+
type: 'schema';
|
|
423
|
+
isRequired: true;
|
|
424
|
+
isArray: true;
|
|
425
|
+
minArrayLength: 0;
|
|
426
|
+
options: {
|
|
427
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.ListViewsResultSchema;
|
|
428
|
+
};
|
|
429
|
+
};
|
|
430
|
+
};
|
|
431
|
+
}
|
|
432
|
+
type ListViewsResponsePayloadEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.ListViewsResponsePayloadSchema>;
|
|
433
|
+
}
|
|
434
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
435
|
+
interface RegisterDashboardCardsResponsePayload {
|
|
436
|
+
'vcIds': string[];
|
|
437
|
+
}
|
|
438
|
+
interface RegisterDashboardCardsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
439
|
+
id: 'registerDashboardCardsResponsePayload';
|
|
440
|
+
version: 'v2021_02_11';
|
|
441
|
+
namespace: 'Heartwood';
|
|
442
|
+
name: '';
|
|
443
|
+
fields: {
|
|
444
|
+
/** . */
|
|
445
|
+
'vcIds': {
|
|
446
|
+
type: 'id';
|
|
447
|
+
isRequired: true;
|
|
448
|
+
isArray: true;
|
|
449
|
+
minArrayLength: 0;
|
|
450
|
+
options: undefined;
|
|
451
|
+
};
|
|
452
|
+
};
|
|
453
|
+
}
|
|
454
|
+
type RegisterDashboardCardsResponsePayloadEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.RegisterDashboardCardsResponsePayloadSchema>;
|
|
455
|
+
}
|
|
456
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
457
|
+
interface RegisterSkillViewsEmitPayload {
|
|
458
|
+
'ids': string[];
|
|
459
|
+
'source': string;
|
|
460
|
+
'theme'?: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.Theme | undefined | null;
|
|
461
|
+
}
|
|
462
|
+
interface RegisterSkillViewsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
463
|
+
id: 'registerSkillViewsEmitPayload';
|
|
464
|
+
version: 'v2021_02_11';
|
|
465
|
+
namespace: 'Heartwood';
|
|
466
|
+
name: '';
|
|
467
|
+
fields: {
|
|
468
|
+
/** . */
|
|
469
|
+
'ids': {
|
|
470
|
+
type: 'text';
|
|
471
|
+
isRequired: true;
|
|
472
|
+
isArray: true;
|
|
473
|
+
options: undefined;
|
|
474
|
+
};
|
|
475
|
+
/** . */
|
|
476
|
+
'source': {
|
|
477
|
+
type: 'text';
|
|
478
|
+
isRequired: true;
|
|
479
|
+
options: undefined;
|
|
480
|
+
};
|
|
481
|
+
/** . */
|
|
482
|
+
'theme': {
|
|
483
|
+
type: 'schema';
|
|
484
|
+
options: {
|
|
485
|
+
schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeSchema;
|
|
486
|
+
};
|
|
487
|
+
};
|
|
488
|
+
};
|
|
489
|
+
}
|
|
490
|
+
type RegisterSkillViewsEmitPayloadEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.RegisterSkillViewsEmitPayloadSchema>;
|
|
491
|
+
}
|
|
492
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
493
|
+
interface RegisterSkillViewsEmitTargetAndPayload {
|
|
494
|
+
/** Source. */
|
|
495
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
496
|
+
'payload': SpruceSchemas.Heartwood.v2021_02_11.RegisterSkillViewsEmitPayload;
|
|
497
|
+
}
|
|
498
|
+
interface RegisterSkillViewsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
499
|
+
id: 'registerSkillViewsEmitTargetAndPayload';
|
|
500
|
+
version: 'v2021_02_11';
|
|
501
|
+
namespace: 'Heartwood';
|
|
502
|
+
name: '';
|
|
503
|
+
fields: {
|
|
504
|
+
/** Source. */
|
|
505
|
+
'source': {
|
|
506
|
+
label: 'Source';
|
|
507
|
+
type: 'schema';
|
|
508
|
+
options: {
|
|
509
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
510
|
+
};
|
|
511
|
+
};
|
|
512
|
+
/** . */
|
|
513
|
+
'payload': {
|
|
514
|
+
type: 'schema';
|
|
515
|
+
isRequired: true;
|
|
516
|
+
options: {
|
|
517
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.RegisterSkillViewsEmitPayloadSchema;
|
|
518
|
+
};
|
|
519
|
+
};
|
|
520
|
+
};
|
|
521
|
+
}
|
|
522
|
+
type RegisterSkillViewsEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.RegisterSkillViewsEmitTargetAndPayloadSchema>;
|
|
523
|
+
}
|
|
524
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
525
|
+
interface RegisterSkillViewsResponsePayload {
|
|
526
|
+
/** . Views that were registered. Will match the number of ids you sent. */
|
|
527
|
+
'totalRegistered': number;
|
|
528
|
+
}
|
|
529
|
+
interface RegisterSkillViewsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
530
|
+
id: 'registerSkillViewsResponsePayload';
|
|
531
|
+
version: 'v2021_02_11';
|
|
532
|
+
namespace: 'Heartwood';
|
|
533
|
+
name: '';
|
|
534
|
+
fields: {
|
|
535
|
+
/** . Views that were registered. Will match the number of ids you sent. */
|
|
536
|
+
'totalRegistered': {
|
|
537
|
+
type: 'number';
|
|
538
|
+
isRequired: true;
|
|
539
|
+
hint: 'Views that were registered. Will match the number of ids you sent.';
|
|
540
|
+
options: undefined;
|
|
541
|
+
};
|
|
542
|
+
};
|
|
543
|
+
}
|
|
544
|
+
type RegisterSkillViewsResponsePayloadEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.RegisterSkillViewsResponsePayloadSchema>;
|
|
545
|
+
}
|
|
546
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
547
|
+
interface UpsertThemeEmitTarget {
|
|
548
|
+
'organizationId': string;
|
|
549
|
+
}
|
|
550
|
+
interface UpsertThemeEmitTargetSchema extends SpruceSchema.Schema {
|
|
551
|
+
id: 'upsertThemeEmitTarget';
|
|
552
|
+
version: 'v2021_02_11';
|
|
553
|
+
namespace: 'Heartwood';
|
|
554
|
+
name: '';
|
|
555
|
+
fields: {
|
|
556
|
+
/** . */
|
|
557
|
+
'organizationId': {
|
|
558
|
+
type: 'id';
|
|
559
|
+
isRequired: true;
|
|
560
|
+
options: undefined;
|
|
561
|
+
};
|
|
562
|
+
};
|
|
563
|
+
}
|
|
564
|
+
type UpsertThemeEmitTargetEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeEmitTargetSchema>;
|
|
565
|
+
}
|
|
566
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
567
|
+
interface Theme {
|
|
568
|
+
'id': string;
|
|
569
|
+
'props': SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemeProps;
|
|
570
|
+
}
|
|
571
|
+
interface ThemeSchema extends SpruceSchema.Schema {
|
|
572
|
+
id: 'theme';
|
|
573
|
+
version: 'v2021_02_11';
|
|
574
|
+
namespace: 'Heartwood';
|
|
575
|
+
name: 'Theme';
|
|
576
|
+
fields: {
|
|
577
|
+
/** . */
|
|
578
|
+
'id': {
|
|
579
|
+
type: 'id';
|
|
580
|
+
isRequired: true;
|
|
581
|
+
options: undefined;
|
|
582
|
+
};
|
|
583
|
+
/** . */
|
|
584
|
+
'props': {
|
|
585
|
+
type: 'schema';
|
|
586
|
+
isRequired: true;
|
|
587
|
+
options: {
|
|
588
|
+
schema: SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ThemePropsSchema;
|
|
589
|
+
};
|
|
590
|
+
};
|
|
591
|
+
};
|
|
592
|
+
}
|
|
593
|
+
type ThemeEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.ThemeSchema>;
|
|
594
|
+
}
|
|
595
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
596
|
+
interface UpsertThemeEmitPayload {
|
|
597
|
+
'theme': SpruceSchemas.Heartwood.v2021_02_11.Theme;
|
|
598
|
+
}
|
|
599
|
+
interface UpsertThemeEmitPayloadSchema extends SpruceSchema.Schema {
|
|
600
|
+
id: 'upsertThemeEmitPayload';
|
|
601
|
+
version: 'v2021_02_11';
|
|
602
|
+
namespace: 'Heartwood';
|
|
603
|
+
name: '';
|
|
604
|
+
fields: {
|
|
605
|
+
/** . */
|
|
606
|
+
'theme': {
|
|
607
|
+
type: 'schema';
|
|
608
|
+
isRequired: true;
|
|
609
|
+
options: {
|
|
610
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.ThemeSchema;
|
|
611
|
+
};
|
|
612
|
+
};
|
|
613
|
+
};
|
|
614
|
+
}
|
|
615
|
+
type UpsertThemeEmitPayloadEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeEmitPayloadSchema>;
|
|
616
|
+
}
|
|
617
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
618
|
+
interface UpsertThemeEmitTargetAndPayload {
|
|
619
|
+
/** Source. */
|
|
620
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
621
|
+
'target': SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeEmitTarget;
|
|
622
|
+
'payload': SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeEmitPayload;
|
|
623
|
+
}
|
|
624
|
+
interface UpsertThemeEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
625
|
+
id: 'upsertThemeEmitTargetAndPayload';
|
|
626
|
+
version: 'v2021_02_11';
|
|
627
|
+
namespace: 'Heartwood';
|
|
628
|
+
name: '';
|
|
629
|
+
fields: {
|
|
630
|
+
/** Source. */
|
|
631
|
+
'source': {
|
|
632
|
+
label: 'Source';
|
|
633
|
+
type: 'schema';
|
|
634
|
+
options: {
|
|
635
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
636
|
+
};
|
|
637
|
+
};
|
|
638
|
+
/** . */
|
|
639
|
+
'target': {
|
|
640
|
+
type: 'schema';
|
|
641
|
+
isRequired: true;
|
|
642
|
+
options: {
|
|
643
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeEmitTargetSchema;
|
|
644
|
+
};
|
|
645
|
+
};
|
|
646
|
+
/** . */
|
|
647
|
+
'payload': {
|
|
648
|
+
type: 'schema';
|
|
649
|
+
isRequired: true;
|
|
650
|
+
options: {
|
|
651
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeEmitPayloadSchema;
|
|
652
|
+
};
|
|
653
|
+
};
|
|
654
|
+
};
|
|
655
|
+
}
|
|
656
|
+
type UpsertThemeEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeEmitTargetAndPayloadSchema>;
|
|
657
|
+
}
|
|
658
|
+
namespace SpruceSchemas.Heartwood.v2021_02_11 {
|
|
659
|
+
interface UpsertThemeResponsePayload {
|
|
660
|
+
'theme': SpruceSchemas.Heartwood.v2021_02_11.Theme;
|
|
661
|
+
}
|
|
662
|
+
interface UpsertThemeResponsePayloadSchema extends SpruceSchema.Schema {
|
|
663
|
+
id: 'upsertThemeResponsePayload';
|
|
664
|
+
version: 'v2021_02_11';
|
|
665
|
+
namespace: 'Heartwood';
|
|
666
|
+
name: '';
|
|
667
|
+
fields: {
|
|
668
|
+
/** . */
|
|
669
|
+
'theme': {
|
|
670
|
+
type: 'schema';
|
|
671
|
+
isRequired: true;
|
|
672
|
+
options: {
|
|
673
|
+
schema: SpruceSchemas.Heartwood.v2021_02_11.ThemeSchema;
|
|
674
|
+
};
|
|
675
|
+
};
|
|
676
|
+
};
|
|
677
|
+
}
|
|
678
|
+
type UpsertThemeResponsePayloadEntity = SchemaEntity<SpruceSchemas.Heartwood.v2021_02_11.UpsertThemeResponsePayloadSchema>;
|
|
679
|
+
}
|
|
680
|
+
namespace SpruceSchemas.Invite.v2021_12_16 {
|
|
681
|
+
interface AcceptEmitTarget {
|
|
682
|
+
'inviteId': string;
|
|
683
|
+
}
|
|
684
|
+
interface AcceptEmitTargetSchema extends SpruceSchema.Schema {
|
|
685
|
+
id: 'acceptEmitTarget';
|
|
686
|
+
version: 'v2021_12_16';
|
|
687
|
+
namespace: 'Invite';
|
|
688
|
+
name: '';
|
|
689
|
+
fields: {
|
|
690
|
+
/** . */
|
|
691
|
+
'inviteId': {
|
|
692
|
+
type: 'id';
|
|
693
|
+
isRequired: true;
|
|
694
|
+
options: undefined;
|
|
695
|
+
};
|
|
696
|
+
};
|
|
697
|
+
}
|
|
698
|
+
type AcceptEmitTargetEntity = SchemaEntity<SpruceSchemas.Invite.v2021_12_16.AcceptEmitTargetSchema>;
|
|
699
|
+
}
|
|
700
|
+
namespace SpruceSchemas.Invite.v2021_12_16 {
|
|
701
|
+
interface AcceptEmitTargetAndPayload {
|
|
702
|
+
/** Source. */
|
|
703
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
704
|
+
'target': SpruceSchemas.Invite.v2021_12_16.AcceptEmitTarget;
|
|
705
|
+
}
|
|
706
|
+
interface AcceptEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
707
|
+
id: 'acceptEmitTargetAndPayload';
|
|
708
|
+
version: 'v2021_12_16';
|
|
709
|
+
namespace: 'Invite';
|
|
710
|
+
name: '';
|
|
711
|
+
fields: {
|
|
712
|
+
/** Source. */
|
|
713
|
+
'source': {
|
|
714
|
+
label: 'Source';
|
|
715
|
+
type: 'schema';
|
|
716
|
+
options: {
|
|
717
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
718
|
+
};
|
|
719
|
+
};
|
|
720
|
+
/** . */
|
|
721
|
+
'target': {
|
|
722
|
+
type: 'schema';
|
|
723
|
+
isRequired: true;
|
|
724
|
+
options: {
|
|
725
|
+
schema: SpruceSchemas.Invite.v2021_12_16.AcceptEmitTargetSchema;
|
|
726
|
+
};
|
|
727
|
+
};
|
|
728
|
+
};
|
|
729
|
+
}
|
|
730
|
+
type AcceptEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Invite.v2021_12_16.AcceptEmitTargetAndPayloadSchema>;
|
|
731
|
+
}
|
|
732
|
+
namespace SpruceSchemas.Invite.v2021_12_16 {
|
|
733
|
+
interface AcceptResponsePayload {
|
|
734
|
+
'totalAccepted': number;
|
|
735
|
+
}
|
|
736
|
+
interface AcceptResponsePayloadSchema extends SpruceSchema.Schema {
|
|
737
|
+
id: 'acceptResponsePayload';
|
|
738
|
+
version: 'v2021_12_16';
|
|
739
|
+
namespace: 'Invite';
|
|
740
|
+
name: '';
|
|
741
|
+
fields: {
|
|
742
|
+
/** . */
|
|
743
|
+
'totalAccepted': {
|
|
744
|
+
type: 'number';
|
|
745
|
+
isRequired: true;
|
|
746
|
+
options: undefined;
|
|
747
|
+
};
|
|
748
|
+
};
|
|
749
|
+
}
|
|
750
|
+
type AcceptResponsePayloadEntity = SchemaEntity<SpruceSchemas.Invite.v2021_12_16.AcceptResponsePayloadSchema>;
|
|
751
|
+
}
|
|
752
|
+
namespace SpruceSchemas.Invite.v2021_12_16 {
|
|
753
|
+
interface DeleteEmitTarget {
|
|
754
|
+
'inviteId': string;
|
|
755
|
+
}
|
|
756
|
+
interface DeleteEmitTargetSchema extends SpruceSchema.Schema {
|
|
757
|
+
id: 'deleteEmitTarget';
|
|
758
|
+
version: 'v2021_12_16';
|
|
759
|
+
namespace: 'Invite';
|
|
760
|
+
name: '';
|
|
761
|
+
fields: {
|
|
762
|
+
/** . */
|
|
763
|
+
'inviteId': {
|
|
764
|
+
type: 'id';
|
|
765
|
+
isRequired: true;
|
|
766
|
+
options: undefined;
|
|
767
|
+
};
|
|
768
|
+
};
|
|
769
|
+
}
|
|
770
|
+
type DeleteEmitTargetEntity = SchemaEntity<SpruceSchemas.Invite.v2021_12_16.DeleteEmitTargetSchema>;
|
|
771
|
+
}
|
|
772
|
+
namespace SpruceSchemas.Invite.v2021_12_16 {
|
|
773
|
+
interface DeleteEmitTargetAndPayload {
|
|
774
|
+
/** Source. */
|
|
775
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
776
|
+
'target': SpruceSchemas.Invite.v2021_12_16.DeleteEmitTarget;
|
|
777
|
+
}
|
|
778
|
+
interface DeleteEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
779
|
+
id: 'deleteEmitTargetAndPayload';
|
|
780
|
+
version: 'v2021_12_16';
|
|
781
|
+
namespace: 'Invite';
|
|
782
|
+
name: '';
|
|
783
|
+
fields: {
|
|
784
|
+
/** Source. */
|
|
785
|
+
'source': {
|
|
786
|
+
label: 'Source';
|
|
787
|
+
type: 'schema';
|
|
788
|
+
options: {
|
|
789
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
790
|
+
};
|
|
791
|
+
};
|
|
792
|
+
/** . */
|
|
793
|
+
'target': {
|
|
794
|
+
type: 'schema';
|
|
795
|
+
isRequired: true;
|
|
796
|
+
options: {
|
|
797
|
+
schema: SpruceSchemas.Invite.v2021_12_16.DeleteEmitTargetSchema;
|
|
798
|
+
};
|
|
799
|
+
};
|
|
800
|
+
};
|
|
801
|
+
}
|
|
802
|
+
type DeleteEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Invite.v2021_12_16.DeleteEmitTargetAndPayloadSchema>;
|
|
803
|
+
}
|
|
804
|
+
namespace SpruceSchemas.Invite.v2021_12_16 {
|
|
805
|
+
interface DeleteResponsePayload {
|
|
806
|
+
'totalDeleted': number;
|
|
807
|
+
}
|
|
808
|
+
interface DeleteResponsePayloadSchema extends SpruceSchema.Schema {
|
|
809
|
+
id: 'deleteResponsePayload';
|
|
810
|
+
version: 'v2021_12_16';
|
|
811
|
+
namespace: 'Invite';
|
|
812
|
+
name: '';
|
|
813
|
+
fields: {
|
|
814
|
+
/** . */
|
|
815
|
+
'totalDeleted': {
|
|
816
|
+
type: 'number';
|
|
817
|
+
isRequired: true;
|
|
818
|
+
options: undefined;
|
|
819
|
+
};
|
|
820
|
+
};
|
|
821
|
+
}
|
|
822
|
+
type DeleteResponsePayloadEntity = SchemaEntity<SpruceSchemas.Invite.v2021_12_16.DeleteResponsePayloadSchema>;
|
|
823
|
+
}
|
|
824
|
+
namespace SpruceSchemas.Invite.v2021_12_16 {
|
|
825
|
+
interface DidAcceptEmitTarget {
|
|
826
|
+
'personId': string;
|
|
827
|
+
}
|
|
828
|
+
interface DidAcceptEmitTargetSchema extends SpruceSchema.Schema {
|
|
829
|
+
id: 'didAcceptEmitTarget';
|
|
830
|
+
version: 'v2021_12_16';
|
|
831
|
+
namespace: 'Invite';
|
|
832
|
+
name: '';
|
|
833
|
+
fields: {
|
|
834
|
+
/** . */
|
|
835
|
+
'personId': {
|
|
836
|
+
type: 'id';
|
|
837
|
+
isRequired: true;
|
|
838
|
+
options: undefined;
|
|
839
|
+
};
|
|
840
|
+
};
|
|
841
|
+
}
|
|
842
|
+
type DidAcceptEmitTargetEntity = SchemaEntity<SpruceSchemas.Invite.v2021_12_16.DidAcceptEmitTargetSchema>;
|
|
843
|
+
}
|
|
844
|
+
namespace SpruceSchemas.Invite.v2021_12_16 {
|
|
845
|
+
interface DidAcceptEmitPayload {
|
|
846
|
+
'inviteId': string;
|
|
847
|
+
'personId': string;
|
|
848
|
+
}
|
|
849
|
+
interface DidAcceptEmitPayloadSchema extends SpruceSchema.Schema {
|
|
850
|
+
id: 'didAcceptEmitPayload';
|
|
851
|
+
version: 'v2021_12_16';
|
|
852
|
+
namespace: 'Invite';
|
|
853
|
+
name: '';
|
|
854
|
+
fields: {
|
|
855
|
+
/** . */
|
|
856
|
+
'inviteId': {
|
|
857
|
+
type: 'id';
|
|
858
|
+
isRequired: true;
|
|
859
|
+
options: undefined;
|
|
860
|
+
};
|
|
861
|
+
/** . */
|
|
862
|
+
'personId': {
|
|
863
|
+
type: 'id';
|
|
864
|
+
isRequired: true;
|
|
865
|
+
options: undefined;
|
|
866
|
+
};
|
|
867
|
+
};
|
|
868
|
+
}
|
|
869
|
+
type DidAcceptEmitPayloadEntity = SchemaEntity<SpruceSchemas.Invite.v2021_12_16.DidAcceptEmitPayloadSchema>;
|
|
870
|
+
}
|
|
871
|
+
namespace SpruceSchemas.Invite.v2021_12_16 {
|
|
872
|
+
interface DidAcceptEmitTargetAndPayload {
|
|
873
|
+
/** Source. */
|
|
874
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
875
|
+
'target': SpruceSchemas.Invite.v2021_12_16.DidAcceptEmitTarget;
|
|
876
|
+
'payload': SpruceSchemas.Invite.v2021_12_16.DidAcceptEmitPayload;
|
|
877
|
+
}
|
|
878
|
+
interface DidAcceptEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
879
|
+
id: 'didAcceptEmitTargetAndPayload';
|
|
880
|
+
version: 'v2021_12_16';
|
|
881
|
+
namespace: 'Invite';
|
|
882
|
+
name: '';
|
|
883
|
+
fields: {
|
|
884
|
+
/** Source. */
|
|
885
|
+
'source': {
|
|
886
|
+
label: 'Source';
|
|
887
|
+
type: 'schema';
|
|
888
|
+
options: {
|
|
889
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
890
|
+
};
|
|
891
|
+
};
|
|
892
|
+
/** . */
|
|
893
|
+
'target': {
|
|
894
|
+
type: 'schema';
|
|
895
|
+
isRequired: true;
|
|
896
|
+
options: {
|
|
897
|
+
schema: SpruceSchemas.Invite.v2021_12_16.DidAcceptEmitTargetSchema;
|
|
898
|
+
};
|
|
899
|
+
};
|
|
900
|
+
/** . */
|
|
901
|
+
'payload': {
|
|
902
|
+
type: 'schema';
|
|
903
|
+
isRequired: true;
|
|
904
|
+
options: {
|
|
905
|
+
schema: SpruceSchemas.Invite.v2021_12_16.DidAcceptEmitPayloadSchema;
|
|
906
|
+
};
|
|
907
|
+
};
|
|
908
|
+
};
|
|
909
|
+
}
|
|
910
|
+
type DidAcceptEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Invite.v2021_12_16.DidAcceptEmitTargetAndPayloadSchema>;
|
|
911
|
+
}
|
|
912
|
+
namespace SpruceSchemas.Invite.v2021_12_16 {
|
|
913
|
+
interface GetEmitTarget {
|
|
914
|
+
'inviteId': string;
|
|
915
|
+
}
|
|
916
|
+
interface GetEmitTargetSchema extends SpruceSchema.Schema {
|
|
917
|
+
id: 'getEmitTarget';
|
|
918
|
+
version: 'v2021_12_16';
|
|
919
|
+
namespace: 'Invite';
|
|
920
|
+
name: '';
|
|
921
|
+
fields: {
|
|
922
|
+
/** . */
|
|
923
|
+
'inviteId': {
|
|
924
|
+
type: 'id';
|
|
925
|
+
isRequired: true;
|
|
926
|
+
options: undefined;
|
|
927
|
+
};
|
|
928
|
+
};
|
|
929
|
+
}
|
|
930
|
+
type GetEmitTargetEntity = SchemaEntity<SpruceSchemas.Invite.v2021_12_16.GetEmitTargetSchema>;
|
|
931
|
+
}
|
|
932
|
+
namespace SpruceSchemas.Invite.v2021_12_16 {
|
|
933
|
+
interface GetEmitTargetAndPayload {
|
|
934
|
+
/** Source. */
|
|
935
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
936
|
+
'target': SpruceSchemas.Invite.v2021_12_16.GetEmitTarget;
|
|
937
|
+
}
|
|
938
|
+
interface GetEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
939
|
+
id: 'getEmitTargetAndPayload';
|
|
940
|
+
version: 'v2021_12_16';
|
|
941
|
+
namespace: 'Invite';
|
|
942
|
+
name: '';
|
|
943
|
+
fields: {
|
|
944
|
+
/** Source. */
|
|
945
|
+
'source': {
|
|
946
|
+
label: 'Source';
|
|
947
|
+
type: 'schema';
|
|
948
|
+
options: {
|
|
949
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
950
|
+
};
|
|
951
|
+
};
|
|
952
|
+
/** . */
|
|
953
|
+
'target': {
|
|
954
|
+
type: 'schema';
|
|
955
|
+
isRequired: true;
|
|
956
|
+
options: {
|
|
957
|
+
schema: SpruceSchemas.Invite.v2021_12_16.GetEmitTargetSchema;
|
|
958
|
+
};
|
|
959
|
+
};
|
|
960
|
+
};
|
|
961
|
+
}
|
|
962
|
+
type GetEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Invite.v2021_12_16.GetEmitTargetAndPayloadSchema>;
|
|
963
|
+
}
|
|
964
|
+
namespace SpruceSchemas.Invite.v2021_12_16 {
|
|
965
|
+
interface InviteTargetPublicFields {
|
|
966
|
+
/** Phone. This number has to support text messages. Emails and other ways of inviting are coming soon! */
|
|
967
|
+
'phone': string;
|
|
968
|
+
'inviteOrganizationId'?: string | undefined | null;
|
|
969
|
+
'inviteLocationId'?: string | undefined | null;
|
|
970
|
+
'roleId'?: string | undefined | null;
|
|
971
|
+
}
|
|
972
|
+
interface InviteTargetPublicFieldsSchema extends SpruceSchema.Schema {
|
|
973
|
+
id: 'inviteTargetPublicFields';
|
|
974
|
+
version: 'v2021_12_16';
|
|
975
|
+
namespace: 'Invite';
|
|
976
|
+
name: 'inviteTargetPublicFields';
|
|
977
|
+
fields: {
|
|
978
|
+
/** Phone. This number has to support text messages. Emails and other ways of inviting are coming soon! */
|
|
979
|
+
'phone': {
|
|
980
|
+
label: 'Phone';
|
|
981
|
+
type: 'phone';
|
|
982
|
+
isRequired: true;
|
|
983
|
+
hint: 'This number has to support text messages. Emails and other ways of inviting are coming soon!';
|
|
984
|
+
options: undefined;
|
|
985
|
+
};
|
|
986
|
+
/** . */
|
|
987
|
+
'inviteOrganizationId': {
|
|
988
|
+
type: 'id';
|
|
989
|
+
options: undefined;
|
|
990
|
+
};
|
|
991
|
+
/** . */
|
|
992
|
+
'inviteLocationId': {
|
|
993
|
+
type: 'id';
|
|
994
|
+
options: undefined;
|
|
995
|
+
};
|
|
996
|
+
/** . */
|
|
997
|
+
'roleId': {
|
|
998
|
+
type: 'id';
|
|
999
|
+
options: undefined;
|
|
1000
|
+
};
|
|
1001
|
+
};
|
|
1002
|
+
}
|
|
1003
|
+
type InviteTargetPublicFieldsEntity = SchemaEntity<SpruceSchemas.Invite.v2021_12_16.InviteTargetPublicFieldsSchema>;
|
|
1004
|
+
}
|
|
1005
|
+
namespace SpruceSchemas.Invite.v2021_12_16 {
|
|
1006
|
+
interface GetInvite {
|
|
1007
|
+
'id': string;
|
|
1008
|
+
'dateCreated': number;
|
|
1009
|
+
'target'?: SpruceSchemas.Invite.v2021_12_16.InviteTargetPublicFields | undefined | null;
|
|
1010
|
+
/** Status. */
|
|
1011
|
+
'status': ("pending" | "accepted");
|
|
1012
|
+
/** First name. */
|
|
1013
|
+
'firstName'?: string | undefined | null;
|
|
1014
|
+
/** Destination. */
|
|
1015
|
+
'destination': SpruceSchemas.Invite.v2021_12_16.Destination;
|
|
1016
|
+
/** View Context. */
|
|
1017
|
+
'viewContext': SpruceSchemas.Invite.v2021_12_16.ViewContext;
|
|
1018
|
+
/** Message. This is what I'll include in the text message. */
|
|
1019
|
+
'message': string;
|
|
1020
|
+
/** Introduction. */
|
|
1021
|
+
'introduction'?: string | undefined | null;
|
|
1022
|
+
}
|
|
1023
|
+
interface GetInviteSchema extends SpruceSchema.Schema {
|
|
1024
|
+
id: 'getInvite';
|
|
1025
|
+
version: 'v2021_12_16';
|
|
1026
|
+
namespace: 'Invite';
|
|
1027
|
+
name: '';
|
|
1028
|
+
fields: {
|
|
1029
|
+
/** . */
|
|
1030
|
+
'id': {
|
|
1031
|
+
type: 'id';
|
|
1032
|
+
isRequired: true;
|
|
1033
|
+
options: undefined;
|
|
1034
|
+
};
|
|
1035
|
+
/** . */
|
|
1036
|
+
'dateCreated': {
|
|
1037
|
+
type: 'number';
|
|
1038
|
+
isRequired: true;
|
|
1039
|
+
options: undefined;
|
|
1040
|
+
};
|
|
1041
|
+
/** . */
|
|
1042
|
+
'target': {
|
|
1043
|
+
type: 'schema';
|
|
1044
|
+
options: {
|
|
1045
|
+
schema: SpruceSchemas.Invite.v2021_12_16.InviteTargetPublicFieldsSchema;
|
|
1046
|
+
};
|
|
1047
|
+
};
|
|
1048
|
+
/** Status. */
|
|
1049
|
+
'status': {
|
|
1050
|
+
label: 'Status';
|
|
1051
|
+
type: 'select';
|
|
1052
|
+
isRequired: true;
|
|
1053
|
+
options: {
|
|
1054
|
+
choices: [{
|
|
1055
|
+
"label": "Pending";
|
|
1056
|
+
"value": "pending";
|
|
1057
|
+
}, {
|
|
1058
|
+
"label": "Accepted";
|
|
1059
|
+
"value": "accepted";
|
|
1060
|
+
}];
|
|
1061
|
+
};
|
|
1062
|
+
};
|
|
1063
|
+
/** First name. */
|
|
1064
|
+
'firstName': {
|
|
1065
|
+
label: 'First name';
|
|
1066
|
+
type: 'text';
|
|
1067
|
+
options: undefined;
|
|
1068
|
+
};
|
|
1069
|
+
/** Destination. */
|
|
1070
|
+
'destination': {
|
|
1071
|
+
label: 'Destination';
|
|
1072
|
+
type: 'schema';
|
|
1073
|
+
isRequired: true;
|
|
1074
|
+
options: {
|
|
1075
|
+
schema: SpruceSchemas.Invite.v2021_12_16.DestinationSchema;
|
|
1076
|
+
};
|
|
1077
|
+
};
|
|
1078
|
+
/** View Context. */
|
|
1079
|
+
'viewContext': {
|
|
1080
|
+
label: 'View Context';
|
|
1081
|
+
type: 'schema';
|
|
1082
|
+
isRequired: true;
|
|
1083
|
+
options: {
|
|
1084
|
+
schema: SpruceSchemas.Invite.v2021_12_16.ViewContextSchema;
|
|
1085
|
+
};
|
|
1086
|
+
};
|
|
1087
|
+
/** Message. This is what I'll include in the text message. */
|
|
1088
|
+
'message': {
|
|
1089
|
+
label: 'Message';
|
|
1090
|
+
type: 'text';
|
|
1091
|
+
isRequired: true;
|
|
1092
|
+
hint: 'This is what I\'ll include in the text message.';
|
|
1093
|
+
options: undefined;
|
|
1094
|
+
};
|
|
1095
|
+
/** Introduction. */
|
|
1096
|
+
'introduction': {
|
|
1097
|
+
label: 'Introduction';
|
|
1098
|
+
type: 'text';
|
|
1099
|
+
options: undefined;
|
|
1100
|
+
};
|
|
1101
|
+
};
|
|
1102
|
+
}
|
|
1103
|
+
type GetInviteEntity = SchemaEntity<SpruceSchemas.Invite.v2021_12_16.GetInviteSchema>;
|
|
1104
|
+
}
|
|
1105
|
+
namespace SpruceSchemas.Invite.v2021_12_16 {
|
|
1106
|
+
interface GetResponsePayload {
|
|
1107
|
+
'invite': SpruceSchemas.Invite.v2021_12_16.GetInvite;
|
|
1108
|
+
}
|
|
1109
|
+
interface GetResponsePayloadSchema extends SpruceSchema.Schema {
|
|
1110
|
+
id: 'getResponsePayload';
|
|
1111
|
+
version: 'v2021_12_16';
|
|
1112
|
+
namespace: 'Invite';
|
|
1113
|
+
name: '';
|
|
1114
|
+
fields: {
|
|
1115
|
+
/** . */
|
|
1116
|
+
'invite': {
|
|
1117
|
+
type: 'schema';
|
|
1118
|
+
isRequired: true;
|
|
1119
|
+
options: {
|
|
1120
|
+
schema: SpruceSchemas.Invite.v2021_12_16.GetInviteSchema;
|
|
1121
|
+
};
|
|
1122
|
+
};
|
|
1123
|
+
};
|
|
1124
|
+
}
|
|
1125
|
+
type GetResponsePayloadEntity = SchemaEntity<SpruceSchemas.Invite.v2021_12_16.GetResponsePayloadSchema>;
|
|
1126
|
+
}
|
|
1127
|
+
namespace SpruceSchemas.Invite.v2021_12_16 {
|
|
1128
|
+
interface ListEmitPayload {
|
|
1129
|
+
/** Status. */
|
|
1130
|
+
'status': ("pending" | "accepted");
|
|
1131
|
+
}
|
|
1132
|
+
interface ListEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1133
|
+
id: 'listEmitPayload';
|
|
1134
|
+
version: 'v2021_12_16';
|
|
1135
|
+
namespace: 'Invite';
|
|
1136
|
+
name: '';
|
|
1137
|
+
fields: {
|
|
1138
|
+
/** Status. */
|
|
1139
|
+
'status': {
|
|
1140
|
+
label: 'Status';
|
|
1141
|
+
type: 'select';
|
|
1142
|
+
isRequired: true;
|
|
1143
|
+
options: {
|
|
1144
|
+
choices: [{
|
|
1145
|
+
"label": "Pending";
|
|
1146
|
+
"value": "pending";
|
|
1147
|
+
}, {
|
|
1148
|
+
"label": "Accepted";
|
|
1149
|
+
"value": "accepted";
|
|
1150
|
+
}];
|
|
1151
|
+
};
|
|
1152
|
+
};
|
|
1153
|
+
};
|
|
1154
|
+
}
|
|
1155
|
+
type ListEmitPayloadEntity = SchemaEntity<SpruceSchemas.Invite.v2021_12_16.ListEmitPayloadSchema>;
|
|
1156
|
+
}
|
|
1157
|
+
namespace SpruceSchemas.Invite.v2021_12_16 {
|
|
1158
|
+
interface ListEmitTargetAndPayload {
|
|
1159
|
+
/** Source. */
|
|
1160
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1161
|
+
'payload': SpruceSchemas.Invite.v2021_12_16.ListEmitPayload;
|
|
1162
|
+
}
|
|
1163
|
+
interface ListEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1164
|
+
id: 'listEmitTargetAndPayload';
|
|
1165
|
+
version: 'v2021_12_16';
|
|
1166
|
+
namespace: 'Invite';
|
|
1167
|
+
name: '';
|
|
1168
|
+
fields: {
|
|
1169
|
+
/** Source. */
|
|
1170
|
+
'source': {
|
|
1171
|
+
label: 'Source';
|
|
1172
|
+
type: 'schema';
|
|
1173
|
+
options: {
|
|
1174
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1175
|
+
};
|
|
1176
|
+
};
|
|
1177
|
+
/** . */
|
|
1178
|
+
'payload': {
|
|
1179
|
+
type: 'schema';
|
|
1180
|
+
isRequired: true;
|
|
1181
|
+
options: {
|
|
1182
|
+
schema: SpruceSchemas.Invite.v2021_12_16.ListEmitPayloadSchema;
|
|
1183
|
+
};
|
|
1184
|
+
};
|
|
1185
|
+
};
|
|
1186
|
+
}
|
|
1187
|
+
type ListEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Invite.v2021_12_16.ListEmitTargetAndPayloadSchema>;
|
|
1188
|
+
}
|
|
1189
|
+
namespace SpruceSchemas.Invite.v2021_12_16 {
|
|
1190
|
+
interface ListResponsePayload {
|
|
1191
|
+
'invites': SpruceSchemas.Invite.v2021_12_16.ListInvite[];
|
|
1192
|
+
}
|
|
1193
|
+
interface ListResponsePayloadSchema extends SpruceSchema.Schema {
|
|
1194
|
+
id: 'listResponsePayload';
|
|
1195
|
+
version: 'v2021_12_16';
|
|
1196
|
+
namespace: 'Invite';
|
|
1197
|
+
name: '';
|
|
1198
|
+
fields: {
|
|
1199
|
+
/** . */
|
|
1200
|
+
'invites': {
|
|
1201
|
+
type: 'schema';
|
|
1202
|
+
isRequired: true;
|
|
1203
|
+
isArray: true;
|
|
1204
|
+
minArrayLength: 0;
|
|
1205
|
+
options: {
|
|
1206
|
+
schema: SpruceSchemas.Invite.v2021_12_16.ListInviteSchema;
|
|
1207
|
+
};
|
|
1208
|
+
};
|
|
1209
|
+
};
|
|
1210
|
+
}
|
|
1211
|
+
type ListResponsePayloadEntity = SchemaEntity<SpruceSchemas.Invite.v2021_12_16.ListResponsePayloadSchema>;
|
|
1212
|
+
}
|
|
1213
|
+
namespace SpruceSchemas.Invite.v2021_12_16 {
|
|
1214
|
+
interface SendEmitTarget {
|
|
1215
|
+
/** Phone. This number has to support text messages. Emails and other ways of inviting are coming soon! */
|
|
1216
|
+
'phone': string;
|
|
1217
|
+
'inviteOrganizationId'?: string | undefined | null;
|
|
1218
|
+
'inviteLocationId'?: string | undefined | null;
|
|
1219
|
+
'roleId'?: string | undefined | null;
|
|
1220
|
+
}
|
|
1221
|
+
interface SendEmitTargetSchema extends SpruceSchema.Schema {
|
|
1222
|
+
id: 'sendEmitTarget';
|
|
1223
|
+
version: 'v2021_12_16';
|
|
1224
|
+
namespace: 'Invite';
|
|
1225
|
+
name: '';
|
|
1226
|
+
fields: {
|
|
1227
|
+
/** Phone. This number has to support text messages. Emails and other ways of inviting are coming soon! */
|
|
1228
|
+
'phone': {
|
|
1229
|
+
label: 'Phone';
|
|
1230
|
+
type: 'phone';
|
|
1231
|
+
isRequired: true;
|
|
1232
|
+
hint: 'This number has to support text messages. Emails and other ways of inviting are coming soon!';
|
|
1233
|
+
options: undefined;
|
|
1234
|
+
};
|
|
1235
|
+
/** . */
|
|
1236
|
+
'inviteOrganizationId': {
|
|
1237
|
+
type: 'id';
|
|
1238
|
+
options: undefined;
|
|
1239
|
+
};
|
|
1240
|
+
/** . */
|
|
1241
|
+
'inviteLocationId': {
|
|
1242
|
+
type: 'id';
|
|
1243
|
+
options: undefined;
|
|
1244
|
+
};
|
|
1245
|
+
/** . */
|
|
1246
|
+
'roleId': {
|
|
1247
|
+
type: 'id';
|
|
1248
|
+
options: undefined;
|
|
1249
|
+
};
|
|
1250
|
+
};
|
|
1251
|
+
}
|
|
1252
|
+
type SendEmitTargetEntity = SchemaEntity<SpruceSchemas.Invite.v2021_12_16.SendEmitTargetSchema>;
|
|
1253
|
+
}
|
|
1254
|
+
namespace SpruceSchemas.Invite.v2021_12_16 {
|
|
1255
|
+
interface SendEmitPayload {
|
|
1256
|
+
/** First name. */
|
|
1257
|
+
'firstName'?: string | undefined | null;
|
|
1258
|
+
/** Destination. */
|
|
1259
|
+
'destination': SpruceSchemas.Invite.v2021_12_16.Destination;
|
|
1260
|
+
/** Message. This is what I'll include in the text message. */
|
|
1261
|
+
'message': string;
|
|
1262
|
+
/** Introduction. */
|
|
1263
|
+
'introduction'?: string | undefined | null;
|
|
1264
|
+
}
|
|
1265
|
+
interface SendEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1266
|
+
id: 'sendEmitPayload';
|
|
1267
|
+
version: 'v2021_12_16';
|
|
1268
|
+
namespace: 'Invite';
|
|
1269
|
+
name: '';
|
|
1270
|
+
fields: {
|
|
1271
|
+
/** First name. */
|
|
1272
|
+
'firstName': {
|
|
1273
|
+
label: 'First name';
|
|
1274
|
+
type: 'text';
|
|
1275
|
+
options: undefined;
|
|
1276
|
+
};
|
|
1277
|
+
/** Destination. */
|
|
1278
|
+
'destination': {
|
|
1279
|
+
label: 'Destination';
|
|
1280
|
+
type: 'schema';
|
|
1281
|
+
isRequired: true;
|
|
1282
|
+
options: {
|
|
1283
|
+
schema: SpruceSchemas.Invite.v2021_12_16.DestinationSchema;
|
|
1284
|
+
};
|
|
1285
|
+
};
|
|
1286
|
+
/** Message. This is what I'll include in the text message. */
|
|
1287
|
+
'message': {
|
|
1288
|
+
label: 'Message';
|
|
1289
|
+
type: 'text';
|
|
1290
|
+
isRequired: true;
|
|
1291
|
+
hint: 'This is what I\'ll include in the text message.';
|
|
1292
|
+
options: undefined;
|
|
1293
|
+
};
|
|
1294
|
+
/** Introduction. */
|
|
1295
|
+
'introduction': {
|
|
1296
|
+
label: 'Introduction';
|
|
1297
|
+
type: 'text';
|
|
1298
|
+
options: undefined;
|
|
1299
|
+
};
|
|
1300
|
+
};
|
|
1301
|
+
}
|
|
1302
|
+
type SendEmitPayloadEntity = SchemaEntity<SpruceSchemas.Invite.v2021_12_16.SendEmitPayloadSchema>;
|
|
1303
|
+
}
|
|
1304
|
+
namespace SpruceSchemas.Invite.v2021_12_16 {
|
|
1305
|
+
interface ViewContext {
|
|
1306
|
+
'roleName'?: string | undefined | null;
|
|
1307
|
+
}
|
|
1308
|
+
interface ViewContextSchema extends SpruceSchema.Schema {
|
|
1309
|
+
id: 'viewContext';
|
|
1310
|
+
version: 'v2021_12_16';
|
|
1311
|
+
namespace: 'Invite';
|
|
1312
|
+
name: '';
|
|
1313
|
+
fields: {
|
|
1314
|
+
/** . */
|
|
1315
|
+
'roleName': {
|
|
1316
|
+
type: 'text';
|
|
1317
|
+
options: undefined;
|
|
1318
|
+
};
|
|
1319
|
+
};
|
|
1320
|
+
}
|
|
1321
|
+
type ViewContextEntity = SchemaEntity<SpruceSchemas.Invite.v2021_12_16.ViewContextSchema>;
|
|
1322
|
+
}
|
|
1323
|
+
namespace SpruceSchemas.Invite.v2021_12_16 {
|
|
1324
|
+
interface Destination {
|
|
1325
|
+
'id': string;
|
|
1326
|
+
'args'?: (Record<string, any>) | undefined | null;
|
|
1327
|
+
}
|
|
1328
|
+
interface DestinationSchema extends SpruceSchema.Schema {
|
|
1329
|
+
id: 'destination';
|
|
1330
|
+
version: 'v2021_12_16';
|
|
1331
|
+
namespace: 'Invite';
|
|
1332
|
+
name: '';
|
|
1333
|
+
fields: {
|
|
1334
|
+
/** . */
|
|
1335
|
+
'id': {
|
|
1336
|
+
type: 'id';
|
|
1337
|
+
isRequired: true;
|
|
1338
|
+
options: undefined;
|
|
1339
|
+
};
|
|
1340
|
+
/** . */
|
|
1341
|
+
'args': {
|
|
1342
|
+
type: 'raw';
|
|
1343
|
+
options: {
|
|
1344
|
+
valueType: `Record<string, any>`;
|
|
1345
|
+
};
|
|
1346
|
+
};
|
|
1347
|
+
};
|
|
1348
|
+
}
|
|
1349
|
+
type DestinationEntity = SchemaEntity<SpruceSchemas.Invite.v2021_12_16.DestinationSchema>;
|
|
1350
|
+
}
|
|
1351
|
+
namespace SpruceSchemas.Invite.v2021_12_16 {
|
|
1352
|
+
interface ListInvite {
|
|
1353
|
+
'id': string;
|
|
1354
|
+
'dateCreated': number;
|
|
1355
|
+
'target'?: SpruceSchemas.Invite.v2021_12_16.InviteTargetPublicFields | undefined | null;
|
|
1356
|
+
/** Status. */
|
|
1357
|
+
'status': ("pending" | "accepted");
|
|
1358
|
+
/** First name. */
|
|
1359
|
+
'firstName'?: string | undefined | null;
|
|
1360
|
+
/** Destination. */
|
|
1361
|
+
'destination': SpruceSchemas.Invite.v2021_12_16.Destination;
|
|
1362
|
+
/** View Context. */
|
|
1363
|
+
'viewContext': SpruceSchemas.Invite.v2021_12_16.ViewContext;
|
|
1364
|
+
/** Message. This is what I'll include in the text message. */
|
|
1365
|
+
'message': string;
|
|
1366
|
+
/** Introduction. */
|
|
1367
|
+
'introduction'?: string | undefined | null;
|
|
1368
|
+
}
|
|
1369
|
+
interface ListInviteSchema extends SpruceSchema.Schema {
|
|
1370
|
+
id: 'listInvite';
|
|
1371
|
+
version: 'v2021_12_16';
|
|
1372
|
+
namespace: 'Invite';
|
|
1373
|
+
name: '';
|
|
1374
|
+
fields: {
|
|
1375
|
+
/** . */
|
|
1376
|
+
'id': {
|
|
1377
|
+
type: 'id';
|
|
1378
|
+
isRequired: true;
|
|
1379
|
+
options: undefined;
|
|
1380
|
+
};
|
|
1381
|
+
/** . */
|
|
1382
|
+
'dateCreated': {
|
|
1383
|
+
type: 'number';
|
|
1384
|
+
isRequired: true;
|
|
1385
|
+
options: undefined;
|
|
1386
|
+
};
|
|
1387
|
+
/** . */
|
|
1388
|
+
'target': {
|
|
1389
|
+
type: 'schema';
|
|
1390
|
+
options: {
|
|
1391
|
+
schema: SpruceSchemas.Invite.v2021_12_16.InviteTargetPublicFieldsSchema;
|
|
1392
|
+
};
|
|
1393
|
+
};
|
|
1394
|
+
/** Status. */
|
|
1395
|
+
'status': {
|
|
1396
|
+
label: 'Status';
|
|
1397
|
+
type: 'select';
|
|
1398
|
+
isRequired: true;
|
|
1399
|
+
options: {
|
|
1400
|
+
choices: [{
|
|
1401
|
+
"label": "Pending";
|
|
1402
|
+
"value": "pending";
|
|
1403
|
+
}, {
|
|
1404
|
+
"label": "Accepted";
|
|
1405
|
+
"value": "accepted";
|
|
1406
|
+
}];
|
|
1407
|
+
};
|
|
1408
|
+
};
|
|
1409
|
+
/** First name. */
|
|
1410
|
+
'firstName': {
|
|
1411
|
+
label: 'First name';
|
|
1412
|
+
type: 'text';
|
|
1413
|
+
options: undefined;
|
|
1414
|
+
};
|
|
1415
|
+
/** Destination. */
|
|
1416
|
+
'destination': {
|
|
1417
|
+
label: 'Destination';
|
|
1418
|
+
type: 'schema';
|
|
1419
|
+
isRequired: true;
|
|
1420
|
+
options: {
|
|
1421
|
+
schema: SpruceSchemas.Invite.v2021_12_16.DestinationSchema;
|
|
1422
|
+
};
|
|
1423
|
+
};
|
|
1424
|
+
/** View Context. */
|
|
1425
|
+
'viewContext': {
|
|
1426
|
+
label: 'View Context';
|
|
1427
|
+
type: 'schema';
|
|
1428
|
+
isRequired: true;
|
|
1429
|
+
options: {
|
|
1430
|
+
schema: SpruceSchemas.Invite.v2021_12_16.ViewContextSchema;
|
|
1431
|
+
};
|
|
1432
|
+
};
|
|
1433
|
+
/** Message. This is what I'll include in the text message. */
|
|
1434
|
+
'message': {
|
|
1435
|
+
label: 'Message';
|
|
1436
|
+
type: 'text';
|
|
1437
|
+
isRequired: true;
|
|
1438
|
+
hint: 'This is what I\'ll include in the text message.';
|
|
1439
|
+
options: undefined;
|
|
1440
|
+
};
|
|
1441
|
+
/** Introduction. */
|
|
1442
|
+
'introduction': {
|
|
1443
|
+
label: 'Introduction';
|
|
1444
|
+
type: 'text';
|
|
1445
|
+
options: undefined;
|
|
1446
|
+
};
|
|
1447
|
+
};
|
|
1448
|
+
}
|
|
1449
|
+
type ListInviteEntity = SchemaEntity<SpruceSchemas.Invite.v2021_12_16.ListInviteSchema>;
|
|
1450
|
+
}
|
|
1451
|
+
namespace SpruceSchemas.Invite.v2021_12_16 {
|
|
1452
|
+
interface SendInvite {
|
|
1453
|
+
'id': string;
|
|
1454
|
+
'dateCreated': number;
|
|
1455
|
+
/** Status. */
|
|
1456
|
+
'status': ("pending" | "accepted");
|
|
1457
|
+
/** First name. */
|
|
1458
|
+
'firstName'?: string | undefined | null;
|
|
1459
|
+
/** Destination. */
|
|
1460
|
+
'destination': SpruceSchemas.Invite.v2021_12_16.Destination;
|
|
1461
|
+
/** View Context. */
|
|
1462
|
+
'viewContext': SpruceSchemas.Invite.v2021_12_16.ViewContext;
|
|
1463
|
+
/** Message. This is what I'll include in the text message. */
|
|
1464
|
+
'message': string;
|
|
1465
|
+
/** Introduction. */
|
|
1466
|
+
'introduction'?: string | undefined | null;
|
|
1467
|
+
}
|
|
1468
|
+
interface SendInviteSchema extends SpruceSchema.Schema {
|
|
1469
|
+
id: 'sendInvite';
|
|
1470
|
+
version: 'v2021_12_16';
|
|
1471
|
+
namespace: 'Invite';
|
|
1472
|
+
name: '';
|
|
1473
|
+
fields: {
|
|
1474
|
+
/** . */
|
|
1475
|
+
'id': {
|
|
1476
|
+
type: 'id';
|
|
1477
|
+
isRequired: true;
|
|
1478
|
+
options: undefined;
|
|
1479
|
+
};
|
|
1480
|
+
/** . */
|
|
1481
|
+
'dateCreated': {
|
|
1482
|
+
type: 'number';
|
|
1483
|
+
isRequired: true;
|
|
1484
|
+
options: undefined;
|
|
1485
|
+
};
|
|
1486
|
+
/** Status. */
|
|
1487
|
+
'status': {
|
|
1488
|
+
label: 'Status';
|
|
1489
|
+
type: 'select';
|
|
1490
|
+
isRequired: true;
|
|
1491
|
+
options: {
|
|
1492
|
+
choices: [{
|
|
1493
|
+
"label": "Pending";
|
|
1494
|
+
"value": "pending";
|
|
1495
|
+
}, {
|
|
1496
|
+
"label": "Accepted";
|
|
1497
|
+
"value": "accepted";
|
|
1498
|
+
}];
|
|
1499
|
+
};
|
|
1500
|
+
};
|
|
1501
|
+
/** First name. */
|
|
1502
|
+
'firstName': {
|
|
1503
|
+
label: 'First name';
|
|
1504
|
+
type: 'text';
|
|
1505
|
+
options: undefined;
|
|
1506
|
+
};
|
|
1507
|
+
/** Destination. */
|
|
1508
|
+
'destination': {
|
|
1509
|
+
label: 'Destination';
|
|
1510
|
+
type: 'schema';
|
|
1511
|
+
isRequired: true;
|
|
1512
|
+
options: {
|
|
1513
|
+
schema: SpruceSchemas.Invite.v2021_12_16.DestinationSchema;
|
|
1514
|
+
};
|
|
1515
|
+
};
|
|
1516
|
+
/** View Context. */
|
|
1517
|
+
'viewContext': {
|
|
1518
|
+
label: 'View Context';
|
|
1519
|
+
type: 'schema';
|
|
1520
|
+
isRequired: true;
|
|
1521
|
+
options: {
|
|
1522
|
+
schema: SpruceSchemas.Invite.v2021_12_16.ViewContextSchema;
|
|
1523
|
+
};
|
|
1524
|
+
};
|
|
1525
|
+
/** Message. This is what I'll include in the text message. */
|
|
1526
|
+
'message': {
|
|
1527
|
+
label: 'Message';
|
|
1528
|
+
type: 'text';
|
|
1529
|
+
isRequired: true;
|
|
1530
|
+
hint: 'This is what I\'ll include in the text message.';
|
|
1531
|
+
options: undefined;
|
|
1532
|
+
};
|
|
1533
|
+
/** Introduction. */
|
|
1534
|
+
'introduction': {
|
|
1535
|
+
label: 'Introduction';
|
|
1536
|
+
type: 'text';
|
|
1537
|
+
options: undefined;
|
|
1538
|
+
};
|
|
1539
|
+
};
|
|
1540
|
+
}
|
|
1541
|
+
type SendInviteEntity = SchemaEntity<SpruceSchemas.Invite.v2021_12_16.SendInviteSchema>;
|
|
1542
|
+
}
|
|
1543
|
+
namespace SpruceSchemas.Invite.v2021_12_16 {
|
|
1544
|
+
interface SendResponsePayload {
|
|
1545
|
+
'invite': SpruceSchemas.Invite.v2021_12_16.SendInvite;
|
|
1546
|
+
}
|
|
1547
|
+
interface SendResponsePayloadSchema extends SpruceSchema.Schema {
|
|
1548
|
+
id: 'sendResponsePayload';
|
|
1549
|
+
version: 'v2021_12_16';
|
|
1550
|
+
namespace: 'Invite';
|
|
1551
|
+
name: '';
|
|
1552
|
+
fields: {
|
|
1553
|
+
/** . */
|
|
1554
|
+
'invite': {
|
|
1555
|
+
type: 'schema';
|
|
1556
|
+
isRequired: true;
|
|
1557
|
+
options: {
|
|
1558
|
+
schema: SpruceSchemas.Invite.v2021_12_16.SendInviteSchema;
|
|
1559
|
+
};
|
|
1560
|
+
};
|
|
1561
|
+
};
|
|
1562
|
+
}
|
|
1563
|
+
type SendResponsePayloadEntity = SchemaEntity<SpruceSchemas.Invite.v2021_12_16.SendResponsePayloadSchema>;
|
|
1564
|
+
}
|
|
1565
|
+
namespace SpruceSchemas.Invite.v2021_12_16 {
|
|
1566
|
+
interface SendEmitTargetAndPayload {
|
|
1567
|
+
/** Source. */
|
|
1568
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1569
|
+
'target': SpruceSchemas.Invite.v2021_12_16.SendEmitTarget;
|
|
1570
|
+
'payload': SpruceSchemas.Invite.v2021_12_16.SendEmitPayload;
|
|
1571
|
+
}
|
|
1572
|
+
interface SendEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1573
|
+
id: 'sendEmitTargetAndPayload';
|
|
1574
|
+
version: 'v2021_12_16';
|
|
1575
|
+
namespace: 'Invite';
|
|
1576
|
+
name: '';
|
|
1577
|
+
fields: {
|
|
1578
|
+
/** Source. */
|
|
1579
|
+
'source': {
|
|
1580
|
+
label: 'Source';
|
|
1581
|
+
type: 'schema';
|
|
1582
|
+
options: {
|
|
1583
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1584
|
+
};
|
|
1585
|
+
};
|
|
1586
|
+
/** . */
|
|
1587
|
+
'target': {
|
|
1588
|
+
type: 'schema';
|
|
1589
|
+
isRequired: true;
|
|
1590
|
+
options: {
|
|
1591
|
+
schema: SpruceSchemas.Invite.v2021_12_16.SendEmitTargetSchema;
|
|
1592
|
+
};
|
|
1593
|
+
};
|
|
1594
|
+
/** . */
|
|
1595
|
+
'payload': {
|
|
1596
|
+
type: 'schema';
|
|
1597
|
+
isRequired: true;
|
|
1598
|
+
options: {
|
|
1599
|
+
schema: SpruceSchemas.Invite.v2021_12_16.SendEmitPayloadSchema;
|
|
1600
|
+
};
|
|
1601
|
+
};
|
|
1602
|
+
};
|
|
1603
|
+
}
|
|
1604
|
+
type SendEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.Invite.v2021_12_16.SendEmitTargetAndPayloadSchema>;
|
|
1605
|
+
}
|
|
1606
|
+
namespace SpruceSchemas.People.v2022_05_29 {
|
|
1607
|
+
interface SearchEmitTarget {
|
|
1608
|
+
'organizationId': string;
|
|
1609
|
+
}
|
|
1610
|
+
interface SearchEmitTargetSchema extends SpruceSchema.Schema {
|
|
1611
|
+
id: 'searchEmitTarget';
|
|
1612
|
+
version: 'v2022_05_29';
|
|
1613
|
+
namespace: 'People';
|
|
1614
|
+
name: '';
|
|
1615
|
+
fields: {
|
|
1616
|
+
/** . */
|
|
1617
|
+
'organizationId': {
|
|
1618
|
+
type: 'id';
|
|
1619
|
+
isRequired: true;
|
|
1620
|
+
options: undefined;
|
|
1621
|
+
};
|
|
1622
|
+
};
|
|
1623
|
+
}
|
|
1624
|
+
type SearchEmitTargetEntity = SchemaEntity<SpruceSchemas.People.v2022_05_29.SearchEmitTargetSchema>;
|
|
1625
|
+
}
|
|
1626
|
+
namespace SpruceSchemas.People.v2022_05_29 {
|
|
1627
|
+
interface SearchEmitPayload {
|
|
1628
|
+
'query': string;
|
|
1629
|
+
}
|
|
1630
|
+
interface SearchEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1631
|
+
id: 'searchEmitPayload';
|
|
1632
|
+
version: 'v2022_05_29';
|
|
1633
|
+
namespace: 'People';
|
|
1634
|
+
name: '';
|
|
1635
|
+
fields: {
|
|
1636
|
+
/** . */
|
|
1637
|
+
'query': {
|
|
1638
|
+
type: 'text';
|
|
1639
|
+
isRequired: true;
|
|
1640
|
+
options: undefined;
|
|
1641
|
+
};
|
|
1642
|
+
};
|
|
1643
|
+
}
|
|
1644
|
+
type SearchEmitPayloadEntity = SchemaEntity<SpruceSchemas.People.v2022_05_29.SearchEmitPayloadSchema>;
|
|
1645
|
+
}
|
|
1646
|
+
namespace SpruceSchemas.People.v2022_05_29 {
|
|
1647
|
+
interface SearchEmitTargetAndPayload {
|
|
1648
|
+
/** Source. */
|
|
1649
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1650
|
+
'target': SpruceSchemas.People.v2022_05_29.SearchEmitTarget;
|
|
1651
|
+
'payload': SpruceSchemas.People.v2022_05_29.SearchEmitPayload;
|
|
1652
|
+
}
|
|
1653
|
+
interface SearchEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1654
|
+
id: 'searchEmitTargetAndPayload';
|
|
1655
|
+
version: 'v2022_05_29';
|
|
1656
|
+
namespace: 'People';
|
|
1657
|
+
name: '';
|
|
1658
|
+
fields: {
|
|
1659
|
+
/** Source. */
|
|
1660
|
+
'source': {
|
|
1661
|
+
label: 'Source';
|
|
1662
|
+
type: 'schema';
|
|
1663
|
+
options: {
|
|
1664
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1665
|
+
};
|
|
1666
|
+
};
|
|
1667
|
+
/** . */
|
|
1668
|
+
'target': {
|
|
1669
|
+
type: 'schema';
|
|
1670
|
+
isRequired: true;
|
|
1671
|
+
options: {
|
|
1672
|
+
schema: SpruceSchemas.People.v2022_05_29.SearchEmitTargetSchema;
|
|
1673
|
+
};
|
|
1674
|
+
};
|
|
1675
|
+
/** . */
|
|
1676
|
+
'payload': {
|
|
1677
|
+
type: 'schema';
|
|
1678
|
+
isRequired: true;
|
|
1679
|
+
options: {
|
|
1680
|
+
schema: SpruceSchemas.People.v2022_05_29.SearchEmitPayloadSchema;
|
|
1681
|
+
};
|
|
1682
|
+
};
|
|
1683
|
+
};
|
|
1684
|
+
}
|
|
1685
|
+
type SearchEmitTargetAndPayloadEntity = SchemaEntity<SpruceSchemas.People.v2022_05_29.SearchEmitTargetAndPayloadSchema>;
|
|
1686
|
+
}
|
|
1687
|
+
namespace SpruceSchemas.People.v2022_05_29 {
|
|
1688
|
+
interface SearchPerson {
|
|
1689
|
+
'id': string;
|
|
1690
|
+
'fullName': string;
|
|
1691
|
+
'phone': string;
|
|
1692
|
+
}
|
|
1693
|
+
interface SearchPersonSchema extends SpruceSchema.Schema {
|
|
1694
|
+
id: 'searchPerson';
|
|
1695
|
+
version: 'v2022_05_29';
|
|
1696
|
+
namespace: 'People';
|
|
1697
|
+
name: '';
|
|
1698
|
+
fields: {
|
|
1699
|
+
/** . */
|
|
1700
|
+
'id': {
|
|
1701
|
+
type: 'id';
|
|
1702
|
+
isRequired: true;
|
|
1703
|
+
options: undefined;
|
|
1704
|
+
};
|
|
1705
|
+
/** . */
|
|
1706
|
+
'fullName': {
|
|
1707
|
+
type: 'text';
|
|
1708
|
+
isRequired: true;
|
|
1709
|
+
options: undefined;
|
|
1710
|
+
};
|
|
1711
|
+
/** . */
|
|
1712
|
+
'phone': {
|
|
1713
|
+
type: 'phone';
|
|
1714
|
+
isRequired: true;
|
|
1715
|
+
options: undefined;
|
|
1716
|
+
};
|
|
1717
|
+
};
|
|
1718
|
+
}
|
|
1719
|
+
type SearchPersonEntity = SchemaEntity<SpruceSchemas.People.v2022_05_29.SearchPersonSchema>;
|
|
1720
|
+
}
|
|
1721
|
+
namespace SpruceSchemas.People.v2022_05_29 {
|
|
1722
|
+
interface SearchResponsePayload {
|
|
1723
|
+
'people': SpruceSchemas.People.v2022_05_29.SearchPerson[];
|
|
1724
|
+
}
|
|
1725
|
+
interface SearchResponsePayloadSchema extends SpruceSchema.Schema {
|
|
1726
|
+
id: 'searchResponsePayload';
|
|
1727
|
+
version: 'v2022_05_29';
|
|
1728
|
+
namespace: 'People';
|
|
1729
|
+
name: '';
|
|
1730
|
+
fields: {
|
|
1731
|
+
/** . */
|
|
1732
|
+
'people': {
|
|
1733
|
+
type: 'schema';
|
|
1734
|
+
isRequired: true;
|
|
1735
|
+
isArray: true;
|
|
1736
|
+
minArrayLength: 0;
|
|
1737
|
+
options: {
|
|
1738
|
+
schema: SpruceSchemas.People.v2022_05_29.SearchPersonSchema;
|
|
1739
|
+
};
|
|
1740
|
+
};
|
|
1741
|
+
};
|
|
1742
|
+
}
|
|
1743
|
+
type SearchResponsePayloadEntity = SchemaEntity<SpruceSchemas.People.v2022_05_29.SearchResponsePayloadSchema>;
|
|
1744
|
+
}
|
|
1745
|
+
namespace SpruceSchemas.People.v2022_05_29 {
|
|
1746
|
+
interface PersonSource {
|
|
1747
|
+
'personId': string;
|
|
1748
|
+
}
|
|
1749
|
+
interface PersonSourceSchema extends SpruceSchema.Schema {
|
|
1750
|
+
id: 'personSource';
|
|
1751
|
+
version: 'v2022_05_29';
|
|
1752
|
+
namespace: 'People';
|
|
1753
|
+
name: '';
|
|
1754
|
+
fields: {
|
|
1755
|
+
/** . */
|
|
1756
|
+
'personId': {
|
|
1757
|
+
type: 'id';
|
|
1758
|
+
isRequired: true;
|
|
1759
|
+
options: undefined;
|
|
1760
|
+
};
|
|
1761
|
+
};
|
|
1762
|
+
}
|
|
1763
|
+
type PersonSourceEntity = SchemaEntity<SpruceSchemas.People.v2022_05_29.PersonSourceSchema>;
|
|
1764
|
+
}
|
|
1765
|
+
namespace SpruceSchemas.People.v2022_05_29 {
|
|
1766
|
+
interface Person {
|
|
1767
|
+
'id': string;
|
|
1768
|
+
'fullName': string;
|
|
1769
|
+
'phone': string;
|
|
1770
|
+
'organizationIds': string[];
|
|
1771
|
+
'source': SpruceSchemas.People.v2022_05_29.PersonSource;
|
|
1772
|
+
}
|
|
1773
|
+
interface PersonSchema extends SpruceSchema.Schema {
|
|
1774
|
+
id: 'person';
|
|
1775
|
+
version: 'v2022_05_29';
|
|
1776
|
+
namespace: 'People';
|
|
1777
|
+
name: 'Person';
|
|
1778
|
+
fields: {
|
|
1779
|
+
/** . */
|
|
1780
|
+
'id': {
|
|
1781
|
+
type: 'id';
|
|
1782
|
+
isRequired: true;
|
|
1783
|
+
options: undefined;
|
|
1784
|
+
};
|
|
1785
|
+
/** . */
|
|
1786
|
+
'fullName': {
|
|
1787
|
+
type: 'text';
|
|
1788
|
+
isRequired: true;
|
|
1789
|
+
options: undefined;
|
|
1790
|
+
};
|
|
1791
|
+
/** . */
|
|
1792
|
+
'phone': {
|
|
1793
|
+
type: 'phone';
|
|
1794
|
+
isRequired: true;
|
|
1795
|
+
options: undefined;
|
|
1796
|
+
};
|
|
1797
|
+
/** . */
|
|
1798
|
+
'organizationIds': {
|
|
1799
|
+
type: 'text';
|
|
1800
|
+
isRequired: true;
|
|
1801
|
+
isArray: true;
|
|
1802
|
+
minArrayLength: 0;
|
|
1803
|
+
options: undefined;
|
|
1804
|
+
};
|
|
1805
|
+
/** . */
|
|
1806
|
+
'source': {
|
|
1807
|
+
type: 'schema';
|
|
1808
|
+
isRequired: true;
|
|
1809
|
+
options: {
|
|
1810
|
+
schema: SpruceSchemas.People.v2022_05_29.PersonSourceSchema;
|
|
1811
|
+
};
|
|
1812
|
+
};
|
|
1813
|
+
};
|
|
1814
|
+
}
|
|
1815
|
+
type PersonEntity = SchemaEntity<SpruceSchemas.People.v2022_05_29.PersonSchema>;
|
|
1816
|
+
}
|
|
1817
|
+
}
|