@sprucelabs/mercury-core-events 18.0.31 → 18.0.32

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.
@@ -5,14 +5,41 @@ import '@sprucelabs/spruce-event-utils';
5
5
  import '@sprucelabs/mercury-types';
6
6
  declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schemas.types' {
7
7
  namespace SpruceSchemas.Mercury.v2020_12_25 {
8
- interface ListPeopleEmitTargetAndPayload {
8
+ interface DidInstallEmitTarget {
9
+ 'organizationId': string;
10
+ 'skillId': string;
11
+ }
12
+ interface DidInstallEmitTargetSchema extends SpruceSchema.Schema {
13
+ id: 'didInstallEmitTarget';
14
+ version: 'v2020_12_25';
15
+ namespace: 'Mercury';
16
+ name: '';
17
+ fields: {
18
+ /** . */
19
+ 'organizationId': {
20
+ type: 'id';
21
+ isRequired: true;
22
+ options: undefined;
23
+ };
24
+ /** . */
25
+ 'skillId': {
26
+ type: 'id';
27
+ isRequired: true;
28
+ options: undefined;
29
+ };
30
+ };
31
+ }
32
+ interface DidInstallEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema> {
33
+ }
34
+ }
35
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
36
+ interface DidInstallEmitTargetAndPayload {
9
37
  /** Source. */
10
38
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
11
- 'target'?: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitTarget | undefined | null;
12
- 'payload'?: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitPayload | undefined | null;
39
+ 'target': SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTarget;
13
40
  }
14
- interface ListPeopleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
15
- id: 'listPeopleEmitTargetAndPayload';
41
+ interface DidInstallEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
42
+ id: 'didInstallEmitTargetAndPayload';
16
43
  version: 'v2020_12_25';
17
44
  namespace: 'Mercury';
18
45
  name: '';
@@ -28,29 +55,36 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
28
55
  /** . */
29
56
  'target': {
30
57
  type: 'schema';
58
+ isRequired: true;
31
59
  options: {
32
- schema: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitTargetSchema;
33
- };
34
- };
35
- /** . */
36
- 'payload': {
37
- type: 'schema';
38
- options: {
39
- schema: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitPayloadSchema;
60
+ schema: SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema;
40
61
  };
41
62
  };
42
63
  };
43
64
  }
44
- interface ListPeopleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitTargetAndPayloadSchema> {
65
+ interface DidInstallEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetAndPayloadSchema> {
45
66
  }
46
67
  }
47
68
  namespace SpruceSchemas.Mercury.v2020_12_25 {
48
- interface AddRoleEmitTarget {
49
- 'organizationId'?: string | undefined | null;
69
+ interface DidInstallResponsePayload {
70
+ }
71
+ interface DidInstallResponsePayloadSchema extends SpruceSchema.Schema {
72
+ id: 'didInstallResponsePayload';
73
+ version: 'v2020_12_25';
74
+ namespace: 'Mercury';
75
+ name: '';
76
+ fields: {};
77
+ }
78
+ interface DidInstallResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallResponsePayloadSchema> {
79
+ }
80
+ }
81
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
82
+ interface DidJoinOrganizationEmitTarget {
83
+ 'organizationId': string;
50
84
  'locationId'?: string | undefined | null;
51
85
  }
52
- interface AddRoleEmitTargetSchema extends SpruceSchema.Schema {
53
- id: 'addRoleEmitTarget';
86
+ interface DidJoinOrganizationEmitTargetSchema extends SpruceSchema.Schema {
87
+ id: 'didJoinOrganizationEmitTarget';
54
88
  version: 'v2020_12_25';
55
89
  namespace: 'Mercury';
56
90
  name: '';
@@ -58,6 +92,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
58
92
  /** . */
59
93
  'organizationId': {
60
94
  type: 'id';
95
+ isRequired: true;
61
96
  options: undefined;
62
97
  };
63
98
  /** . */
@@ -67,16 +102,17 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
67
102
  };
68
103
  };
69
104
  }
70
- interface AddRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema> {
105
+ interface DidJoinOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema> {
71
106
  }
72
107
  }
73
108
  namespace SpruceSchemas.Mercury.v2020_12_25 {
74
- interface AddRoleEmitPayload {
109
+ interface DidJoinOrganizationEmitPayload {
75
110
  'personId': string;
76
111
  'roleId': string;
112
+ 'isFirstRole': boolean;
77
113
  }
78
- interface AddRoleEmitPayloadSchema extends SpruceSchema.Schema {
79
- id: 'addRoleEmitPayload';
114
+ interface DidJoinOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
115
+ id: 'didJoinOrganizationEmitPayload';
80
116
  version: 'v2020_12_25';
81
117
  namespace: 'Mercury';
82
118
  name: '';
@@ -93,20 +129,26 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
93
129
  isRequired: true;
94
130
  options: undefined;
95
131
  };
132
+ /** . */
133
+ 'isFirstRole': {
134
+ type: 'boolean';
135
+ isRequired: true;
136
+ options: undefined;
137
+ };
96
138
  };
97
139
  }
98
- interface AddRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema> {
140
+ interface DidJoinOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema> {
99
141
  }
100
142
  }
101
143
  namespace SpruceSchemas.Mercury.v2020_12_25 {
102
- interface AddRoleEmitTargetAndPayload {
144
+ interface DidJoinOrganizationEmitTargetAndPayload {
103
145
  /** Source. */
104
146
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
105
- 'target'?: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTarget | undefined | null;
106
- 'payload': SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayload;
147
+ 'target': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTarget;
148
+ 'payload': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayload;
107
149
  }
108
- interface AddRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
109
- id: 'addRoleEmitTargetAndPayload';
150
+ interface DidJoinOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
151
+ id: 'didJoinOrganizationEmitTargetAndPayload';
110
152
  version: 'v2020_12_25';
111
153
  namespace: 'Mercury';
112
154
  name: '';
@@ -122,8 +164,9 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
122
164
  /** . */
123
165
  'target': {
124
166
  type: 'schema';
167
+ isRequired: true;
125
168
  options: {
126
- schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema;
169
+ schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema;
127
170
  };
128
171
  };
129
172
  /** . */
@@ -131,238 +174,235 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
131
174
  type: 'schema';
132
175
  isRequired: true;
133
176
  options: {
134
- schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema;
177
+ schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema;
135
178
  };
136
179
  };
137
180
  };
138
181
  }
139
- interface AddRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetAndPayloadSchema> {
140
- }
141
- }
142
- namespace SpruceSchemas.Mercury.v2020_12_25 {
143
- interface AddRoleResponsePayload {
144
- }
145
- interface AddRoleResponsePayloadSchema extends SpruceSchema.Schema {
146
- id: 'addRoleResponsePayload';
147
- version: 'v2020_12_25';
148
- namespace: 'Mercury';
149
- name: '';
150
- fields: {};
151
- }
152
- interface AddRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleResponsePayloadSchema> {
182
+ interface DidJoinOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetAndPayloadSchema> {
153
183
  }
154
184
  }
155
185
  namespace SpruceSchemas.Mercury.v2020_12_25 {
156
- interface AuthenticateEmitPayload {
157
- 'token'?: string | undefined | null;
158
- 'skillId'?: string | undefined | null;
159
- 'apiKey'?: string | undefined | null;
186
+ interface MessageTemplateAddons {
187
+ 'nextINeedYouTo'?: string[] | undefined | null;
188
+ 'youShouldKnowThat'?: string[] | undefined | null;
189
+ 'links'?: SpruceSchemas.Spruce.v2020_07_22.Link[] | undefined | null;
160
190
  }
161
- interface AuthenticateEmitPayloadSchema extends SpruceSchema.Schema {
162
- id: 'authenticateEmitPayload';
191
+ interface MessageTemplateAddonsSchema extends SpruceSchema.Schema {
192
+ id: 'messageTemplateAddons';
163
193
  version: 'v2020_12_25';
164
194
  namespace: 'Mercury';
165
195
  name: '';
166
196
  fields: {
167
197
  /** . */
168
- 'token': {
198
+ 'nextINeedYouTo': {
169
199
  type: 'text';
200
+ isArray: true;
170
201
  options: undefined;
171
202
  };
172
203
  /** . */
173
- 'skillId': {
204
+ 'youShouldKnowThat': {
174
205
  type: 'text';
206
+ isArray: true;
175
207
  options: undefined;
176
208
  };
177
209
  /** . */
178
- 'apiKey': {
179
- type: 'text';
180
- options: undefined;
210
+ 'links': {
211
+ type: 'schema';
212
+ isArray: true;
213
+ minArrayLength: 0;
214
+ options: {
215
+ schema: SpruceSchemas.Spruce.v2020_07_22.LinkSchema;
216
+ };
181
217
  };
182
218
  };
183
219
  }
184
- interface AuthenticateEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema> {
220
+ interface MessageTemplateAddonsEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema> {
185
221
  }
186
222
  }
187
223
  namespace SpruceSchemas.Mercury.v2020_12_25 {
188
- interface AuthenticateEmitTargetAndPayload {
189
- /** Source. */
190
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
191
- 'payload'?: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayload | undefined | null;
224
+ interface DidJoinOrganizationResponsePayload {
225
+ 'messaging'?: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddons | undefined | null;
192
226
  }
193
- interface AuthenticateEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
194
- id: 'authenticateEmitTargetAndPayload';
227
+ interface DidJoinOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
228
+ id: 'didJoinOrganizationResponsePayload';
195
229
  version: 'v2020_12_25';
196
230
  namespace: 'Mercury';
197
231
  name: '';
198
232
  fields: {
199
- /** Source. */
200
- 'source': {
201
- label: 'Source';
202
- type: 'schema';
203
- options: {
204
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
205
- };
206
- };
207
233
  /** . */
208
- 'payload': {
234
+ 'messaging': {
209
235
  type: 'schema';
210
236
  options: {
211
- schema: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema;
237
+ schema: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema;
212
238
  };
213
239
  };
214
240
  };
215
241
  }
216
- interface AuthenticateEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitTargetAndPayloadSchema> {
242
+ interface DidJoinOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationResponsePayloadSchema> {
217
243
  }
218
244
  }
219
245
  namespace SpruceSchemas.Mercury.v2020_12_25 {
220
- interface ConfirmPinRespondPayload {
221
- 'person': SpruceSchemas.Spruce.v2020_07_22.Person;
222
- 'token': string;
246
+ interface DidLeaveOrganizationEmitTarget {
247
+ 'organizationId': string;
248
+ 'locationId'?: string | undefined | null;
223
249
  }
224
- interface ConfirmPinRespondPayloadSchema extends SpruceSchema.Schema {
225
- id: 'confirmPinRespondPayload';
250
+ interface DidLeaveOrganizationEmitTargetSchema extends SpruceSchema.Schema {
251
+ id: 'didLeaveOrganizationEmitTarget';
226
252
  version: 'v2020_12_25';
227
253
  namespace: 'Mercury';
228
254
  name: '';
229
255
  fields: {
230
256
  /** . */
231
- 'person': {
232
- type: 'schema';
257
+ 'organizationId': {
258
+ type: 'id';
233
259
  isRequired: true;
234
- options: {
235
- schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
236
- };
260
+ options: undefined;
237
261
  };
238
262
  /** . */
239
- 'token': {
240
- type: 'text';
241
- isRequired: true;
263
+ 'locationId': {
264
+ type: 'id';
242
265
  options: undefined;
243
266
  };
244
267
  };
245
268
  }
246
- interface ConfirmPinRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinRespondPayloadSchema> {
269
+ interface DidLeaveOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema> {
247
270
  }
248
271
  }
249
272
  namespace SpruceSchemas.Mercury.v2020_12_25 {
250
- interface AuthSchema {
251
- 'person'?: SpruceSchemas.Spruce.v2020_07_22.Person | undefined | null;
252
- 'skill'?: SpruceSchemas.Spruce.v2020_07_22.Skill | undefined | null;
273
+ interface DidLeaveOrganizationEmitPayload {
274
+ 'personId': string;
275
+ 'roleId': string;
276
+ 'isLastRole': boolean;
253
277
  }
254
- interface AuthSchemaSchema extends SpruceSchema.Schema {
255
- id: 'authSchema';
278
+ interface DidLeaveOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
279
+ id: 'didLeaveOrganizationEmitPayload';
256
280
  version: 'v2020_12_25';
257
281
  namespace: 'Mercury';
258
282
  name: '';
259
283
  fields: {
260
284
  /** . */
261
- 'person': {
262
- type: 'schema';
263
- options: {
264
- schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
265
- };
285
+ 'personId': {
286
+ type: 'id';
287
+ isRequired: true;
288
+ options: undefined;
266
289
  };
267
290
  /** . */
268
- 'skill': {
269
- type: 'schema';
270
- options: {
271
- schema: SpruceSchemas.Spruce.v2020_07_22.SkillSchema;
272
- };
291
+ 'roleId': {
292
+ type: 'id';
293
+ isRequired: true;
294
+ options: undefined;
295
+ };
296
+ /** . */
297
+ 'isLastRole': {
298
+ type: 'boolean';
299
+ isRequired: true;
300
+ options: undefined;
273
301
  };
274
302
  };
275
303
  }
276
- interface AuthSchemaEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema> {
304
+ interface DidLeaveOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema> {
277
305
  }
278
306
  }
279
307
  namespace SpruceSchemas.Mercury.v2020_12_25 {
280
- interface AuthenticateResponsePayload {
281
- 'type': ("authenticated" | "anonymous");
282
- 'auth': SpruceSchemas.Mercury.v2020_12_25.AuthSchema;
308
+ interface DidLeaveOrganizationEmitTargetAndPayload {
309
+ /** Source. */
310
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
311
+ 'target': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTarget;
312
+ 'payload': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayload;
283
313
  }
284
- interface AuthenticateResponsePayloadSchema extends SpruceSchema.Schema {
285
- id: 'authenticateResponsePayload';
314
+ interface DidLeaveOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
315
+ id: 'didLeaveOrganizationEmitTargetAndPayload';
286
316
  version: 'v2020_12_25';
287
317
  namespace: 'Mercury';
288
318
  name: '';
289
319
  fields: {
290
- /** . */
291
- 'type': {
292
- type: 'select';
293
- isRequired: true;
320
+ /** Source. */
321
+ 'source': {
322
+ label: 'Source';
323
+ type: 'schema';
294
324
  options: {
295
- choices: [{
296
- "value": "authenticated";
297
- "label": "Authenticated";
298
- }, {
299
- "value": "anonymous";
300
- "label": "Anonymous";
301
- }];
325
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
302
326
  };
303
327
  };
304
328
  /** . */
305
- 'auth': {
329
+ 'target': {
306
330
  type: 'schema';
307
331
  isRequired: true;
308
332
  options: {
309
- schema: SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema;
333
+ schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema;
334
+ };
335
+ };
336
+ /** . */
337
+ 'payload': {
338
+ type: 'schema';
339
+ isRequired: true;
340
+ options: {
341
+ schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema;
310
342
  };
311
343
  };
312
344
  };
313
345
  }
314
- interface AuthenticateResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateResponsePayloadSchema> {
346
+ interface DidLeaveOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetAndPayloadSchema> {
315
347
  }
316
348
  }
317
349
  namespace SpruceSchemas.Mercury.v2020_12_25 {
318
- interface CanListenEmitPayload {
319
- 'authorizerStatuses'?: ("clockedIn" | "clockedOut" | "onPrem" | "offPrem") | undefined | null;
320
- 'fullyQualifiedEventName': string;
350
+ interface DidLeaveOrganizationResponsePayload {
321
351
  }
322
- interface CanListenEmitPayloadSchema extends SpruceSchema.Schema {
323
- id: 'canListenEmitPayload';
352
+ interface DidLeaveOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
353
+ id: 'didLeaveOrganizationResponsePayload';
354
+ version: 'v2020_12_25';
355
+ namespace: 'Mercury';
356
+ name: '';
357
+ fields: {};
358
+ }
359
+ interface DidLeaveOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationResponsePayloadSchema> {
360
+ }
361
+ }
362
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
363
+ interface DidMessageEmitPayload {
364
+ 'message': SpruceSchemas.Spruce.v2020_07_22.Message;
365
+ 'conversationState'?: string | undefined | null;
366
+ 'topic'?: string | undefined | null;
367
+ }
368
+ interface DidMessageEmitPayloadSchema extends SpruceSchema.Schema {
369
+ id: 'didMessageEmitPayload';
324
370
  version: 'v2020_12_25';
325
371
  namespace: 'Mercury';
326
372
  name: '';
327
373
  fields: {
328
374
  /** . */
329
- 'authorizerStatuses': {
330
- type: 'select';
375
+ 'message': {
376
+ type: 'schema';
377
+ isRequired: true;
331
378
  options: {
332
- choices: [{
333
- "label": "Clocked in";
334
- "value": "clockedIn";
335
- }, {
336
- "label": "Clocked out";
337
- "value": "clockedOut";
338
- }, {
339
- "label": "On premises";
340
- "value": "onPrem";
341
- }, {
342
- "label": "Off premises";
343
- "value": "offPrem";
344
- }];
379
+ schema: SpruceSchemas.Spruce.v2020_07_22.MessageSchema;
345
380
  };
346
381
  };
347
382
  /** . */
348
- 'fullyQualifiedEventName': {
383
+ 'conversationState': {
384
+ type: 'text';
385
+ options: undefined;
386
+ };
387
+ /** . */
388
+ 'topic': {
349
389
  type: 'text';
350
- isRequired: true;
351
390
  options: undefined;
352
391
  };
353
392
  };
354
393
  }
355
- interface CanListenEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema> {
394
+ interface DidMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema> {
356
395
  }
357
396
  }
358
397
  namespace SpruceSchemas.Mercury.v2020_12_25 {
359
- interface CanListenEmitTargetAndPayload {
398
+ interface DidMessageEmitTargetAndPayload {
360
399
  /** Source. */
361
400
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
362
- 'payload': SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayload;
401
+ 'target'?: SpruceSchemas.Spruce.v2020_07_22.MessageTarget | undefined | null;
402
+ 'payload': SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayload;
363
403
  }
364
- interface CanListenEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
365
- id: 'canListenEmitTargetAndPayload';
404
+ interface DidMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
405
+ id: 'didMessageEmitTargetAndPayload';
366
406
  version: 'v2020_12_25';
367
407
  namespace: 'Mercury';
368
408
  name: '';
@@ -376,74 +416,155 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
376
416
  };
377
417
  };
378
418
  /** . */
419
+ 'target': {
420
+ type: 'schema';
421
+ options: {
422
+ schema: SpruceSchemas.Spruce.v2020_07_22.MessageTargetSchema;
423
+ };
424
+ };
425
+ /** . */
379
426
  'payload': {
380
427
  type: 'schema';
381
428
  isRequired: true;
382
429
  options: {
383
- schema: SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema;
430
+ schema: SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema;
384
431
  };
385
432
  };
386
433
  };
387
434
  }
388
- interface CanListenEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitTargetAndPayloadSchema> {
435
+ interface DidMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitTargetAndPayloadSchema> {
389
436
  }
390
437
  }
391
438
  namespace SpruceSchemas.Mercury.v2020_12_25 {
392
- interface CanListenResponsePayload {
393
- 'can'?: boolean | undefined | null;
439
+ interface ConversationTopic {
440
+ 'key': string;
441
+ 'confidence': number;
442
+ 'label': string;
394
443
  }
395
- interface CanListenResponsePayloadSchema extends SpruceSchema.Schema {
396
- id: 'canListenResponsePayload';
444
+ interface ConversationTopicSchema extends SpruceSchema.Schema {
445
+ id: 'conversationTopic';
397
446
  version: 'v2020_12_25';
398
447
  namespace: 'Mercury';
399
448
  name: '';
400
449
  fields: {
401
450
  /** . */
402
- 'can': {
403
- type: 'boolean';
451
+ 'key': {
452
+ type: 'text';
453
+ isRequired: true;
454
+ options: undefined;
455
+ };
456
+ /** . */
457
+ 'confidence': {
458
+ type: 'number';
459
+ isRequired: true;
460
+ options: undefined;
461
+ };
462
+ /** . */
463
+ 'label': {
464
+ type: 'text';
465
+ isRequired: true;
404
466
  options: undefined;
405
467
  };
406
468
  };
407
469
  }
408
- interface CanListenResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenResponsePayloadSchema> {
470
+ interface ConversationTopicEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema> {
409
471
  }
410
472
  }
411
473
  namespace SpruceSchemas.Mercury.v2020_12_25 {
412
- interface ConfirmPinEmitPayload {
413
- 'challenge': string;
414
- 'pin': string;
474
+ interface DidMessageResponsePayload {
475
+ 'transitionConversationTo'?: ("greeting" | "discovery" | "topic" | "closing") | undefined | null;
476
+ 'repairs'?: string[] | undefined | null;
477
+ 'topicChangers'?: string[] | undefined | null;
478
+ 'utterance'?: string | undefined | null;
479
+ 'suggestedTopics'?: SpruceSchemas.Mercury.v2020_12_25.ConversationTopic[] | undefined | null;
415
480
  }
416
- interface ConfirmPinEmitPayloadSchema extends SpruceSchema.Schema {
417
- id: 'confirmPinEmitPayload';
481
+ interface DidMessageResponsePayloadSchema extends SpruceSchema.Schema {
482
+ id: 'didMessageResponsePayload';
418
483
  version: 'v2020_12_25';
419
484
  namespace: 'Mercury';
420
485
  name: '';
421
486
  fields: {
422
487
  /** . */
423
- 'challenge': {
488
+ 'transitionConversationTo': {
489
+ type: 'select';
490
+ options: {
491
+ choices: [{
492
+ "label": "Greeting";
493
+ "value": "greeting";
494
+ }, {
495
+ "label": "Discovery";
496
+ "value": "discovery";
497
+ }, {
498
+ "label": "Topic";
499
+ "value": "topic";
500
+ }, {
501
+ "label": "Closing";
502
+ "value": "closing";
503
+ }];
504
+ };
505
+ };
506
+ /** . */
507
+ 'repairs': {
424
508
  type: 'text';
425
- isRequired: true;
509
+ isArray: true;
426
510
  options: undefined;
427
511
  };
428
512
  /** . */
429
- 'pin': {
513
+ 'topicChangers': {
514
+ type: 'text';
515
+ isArray: true;
516
+ options: undefined;
517
+ };
518
+ /** . */
519
+ 'utterance': {
430
520
  type: 'text';
431
- isRequired: true;
432
521
  options: undefined;
433
522
  };
523
+ /** . */
524
+ 'suggestedTopics': {
525
+ type: 'schema';
526
+ isArray: true;
527
+ options: {
528
+ schema: SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema;
529
+ };
530
+ };
434
531
  };
435
532
  }
436
- interface ConfirmPinEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema> {
533
+ interface DidMessageResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageResponsePayloadSchema> {
437
534
  }
438
535
  }
439
536
  namespace SpruceSchemas.Mercury.v2020_12_25 {
440
- interface ConfirmPinEmitTargetAndPayload {
537
+ interface DidSignupEmitPayload {
538
+ 'person': SpruceSchemas.Spruce.v2020_07_22.Person;
539
+ }
540
+ interface DidSignupEmitPayloadSchema extends SpruceSchema.Schema {
541
+ id: 'didSignupEmitPayload';
542
+ version: 'v2020_12_25';
543
+ namespace: 'Mercury';
544
+ name: '';
545
+ fields: {
546
+ /** . */
547
+ 'person': {
548
+ type: 'schema';
549
+ isRequired: true;
550
+ options: {
551
+ schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
552
+ };
553
+ };
554
+ };
555
+ }
556
+ interface DidSignupEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema> {
557
+ }
558
+ }
559
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
560
+ interface DidSignupEmitTargetAndPayload {
441
561
  /** Source. */
442
562
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
443
- 'payload': SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayload;
563
+ 'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
564
+ 'payload': SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayload;
444
565
  }
445
- interface ConfirmPinEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
446
- id: 'confirmPinEmitTargetAndPayload';
566
+ interface DidSignupEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
567
+ id: 'didSignupEmitTargetAndPayload';
447
568
  version: 'v2020_12_25';
448
569
  namespace: 'Mercury';
449
570
  name: '';
@@ -457,224 +578,816 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
457
578
  };
458
579
  };
459
580
  /** . */
581
+ 'target': {
582
+ type: 'schema';
583
+ options: {
584
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
585
+ };
586
+ };
587
+ /** . */
460
588
  'payload': {
461
589
  type: 'schema';
462
590
  isRequired: true;
463
591
  options: {
464
- schema: SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema;
592
+ schema: SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema;
465
593
  };
466
594
  };
467
595
  };
468
596
  }
469
- interface ConfirmPinEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitTargetAndPayloadSchema> {
597
+ interface DidSignupEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitTargetAndPayloadSchema> {
470
598
  }
471
599
  }
472
600
  namespace SpruceSchemas.Mercury.v2020_12_25 {
473
- interface CreateLocationEmitTarget {
474
- 'organizationId': string;
601
+ interface DidUpdateFeedEmitTarget {
602
+ 'locationId'?: string | undefined | null;
603
+ 'organizationId'?: string | undefined | null;
604
+ 'skillId'?: string | undefined | null;
475
605
  }
476
- interface CreateLocationEmitTargetSchema extends SpruceSchema.Schema {
477
- id: 'createLocationEmitTarget';
606
+ interface DidUpdateFeedEmitTargetSchema extends SpruceSchema.Schema {
607
+ id: 'didUpdateFeedEmitTarget';
478
608
  version: 'v2020_12_25';
479
609
  namespace: 'Mercury';
480
610
  name: '';
481
611
  fields: {
612
+ /** . */
613
+ 'locationId': {
614
+ type: 'id';
615
+ options: undefined;
616
+ };
482
617
  /** . */
483
618
  'organizationId': {
484
619
  type: 'id';
485
- isRequired: true;
620
+ options: undefined;
621
+ };
622
+ /** . */
623
+ 'skillId': {
624
+ type: 'id';
486
625
  options: undefined;
487
626
  };
488
627
  };
489
628
  }
490
- interface CreateLocationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CreateLocationEmitTargetSchema> {
629
+ interface DidUpdateFeedEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetSchema> {
491
630
  }
492
631
  }
493
632
  namespace SpruceSchemas.Mercury.v2020_12_25 {
494
- interface CreateLocationEmitPayload {
495
- /** Name. */
496
- 'name': string;
497
- /** Store number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
498
- 'num'?: string | undefined | null;
499
- /** Public. Is this location viewable by guests? */
500
- 'isPublic'?: boolean | undefined | null;
501
- /** Main Phone. */
502
- 'phone'?: string | undefined | null;
503
- /** Timezone. */
504
- 'timezone'?: ("Pacific/Niue" | "Pacific/Pago_Pago" | "Pacific/Rarotonga" | "Pacific/Honolulu" | "Pacific/Tahiti" | "Pacific/Marquesas" | "Pacific/Gambier" | "America/Adak" | "America/Anchorage" | "America/Juneau" | "America/Metlakatla" | "America/Nome" | "America/Sitka" | "America/Yakutat" | "Pacific/Pitcairn" | "America/Hermosillo" | "America/Dawson_Creek" | "America/Fort_Nelson" | "America/Phoenix" | "America/Los_Angeles" | "America/Tijuana" | "America/Vancouver" | "America/Dawson" | "America/Whitehorse" | "America/Belize" | "America/Costa_Rica" | "America/El_Salvador" | "America/Guatemala" | "America/Managua" | "America/Regina" | "America/Swift_Current" | "America/Tegucigalpa" | "Pacific/Easter" | "Pacific/Galapagos" | "America/Chihuahua" | "America/Mazatlan" | "America/Boise" | "America/Cambridge_Bay" | "America/Denver" | "America/Edmonton" | "America/Inuvik" | "America/Ojinaga" | "America/Yellowknife" | "America/Eirunepe" | "America/Rio_Branco" | "America/Bahia_Banderas" | "America/North_Dakota/Beulah" | "America/North_Dakota/Center" | "America/Chicago" | "America/Indiana/Knox" | "America/Matamoros" | "America/Menominee" | "America/Merida" | "America/Mexico_City" | "America/Monterrey" | "America/North_Dakota/New_Salem" | "America/Rainy_River" | "America/Rankin_Inlet" | "America/Resolute" | "America/Indiana/Tell_City" | "America/Winnipeg" | "America/Bogota" | "America/Cancun" | "America/Jamaica" | "America/Panama" | "America/Guayaquil" | "America/Lima" | "America/Boa_Vista" | "America/Campo_Grande" | "America/Cuiaba" | "America/Manaus" | "America/Porto_Velho" | "America/Barbados" | "America/Martinique" | "America/Puerto_Rico" | "America/Santo_Domingo" | "America/La_Paz" | "America/Santiago" | "America/Havana" | "America/Detroit" | "America/Grand_Turk" | "America/Indiana/Indianapolis" | "America/Iqaluit" | "America/Kentucky/Louisville" | "America/Indiana/Marengo" | "America/Kentucky/Monticello" | "America/New_York" | "America/Nipigon" | "America/Pangnirtung" | "America/Indiana/Petersburg" | "America/Port-au-Prince" | "America/Thunder_Bay" | "America/Toronto" | "America/Indiana/Vevay" | "America/Indiana/Vincennes" | "America/Indiana/Winamac" | "America/Guyana" | "America/Asuncion" | "America/Caracas" | "America/Argentina/Buenos_Aires" | "America/Argentina/Catamarca" | "America/Argentina/Cordoba" | "America/Argentina/Jujuy" | "America/Argentina/La_Rioja" | "America/Argentina/Mendoza" | "America/Argentina/Rio_Gallegos" | "America/Argentina/Salta" | "America/Argentina/San_Juan" | "America/Argentina/San_Luis" | "America/Argentina/Tucuman" | "America/Argentina/Ushuaia" | "Atlantic/Bermuda" | "America/Glace_Bay" | "America/Goose_Bay" | "America/Halifax" | "America/Moncton" | "America/Thule" | "America/Araguaina" | "America/Bahia" | "America/Belem" | "America/Fortaleza" | "America/Maceio" | "America/Recife" | "America/Santarem" | "America/Sao_Paulo" | "Atlantic/Stanley" | "America/Cayenne" | "Antarctica/Palmer" | "America/Punta_Arenas" | "Antarctica/Rothera" | "America/Paramaribo" | "America/Montevideo" | "America/St_Johns" | "America/Noronha" | "Atlantic/South_Georgia" | "America/Miquelon" | "America/Nuuk" | "Atlantic/Cape_Verde" | "Atlantic/Azores" | "UTC" | "America/Scoresbysund" | "Etc/GMT" | "Africa/Abidjan" | "Africa/Bissau" | "America/Danmarkshavn" | "Africa/Monrovia" | "Atlantic/Reykjavik" | "Africa/Sao_Tome" | "Africa/Algiers" | "Africa/Tunis" | "Europe/Dublin" | "Africa/Casablanca" | "Europe/London" | "Africa/Lagos" | "Africa/Ndjamena" | "Atlantic/Canary" | "Atlantic/Faroe" | "Europe/Lisbon" | "Atlantic/Madeira" | "Africa/El_Aaiun" | "Africa/Juba" | "Africa/Khartoum" | "Africa/Maputo" | "Africa/Windhoek" | "Europe/Amsterdam" | "Europe/Andorra" | "Europe/Belgrade" | "Europe/Berlin" | "Europe/Brussels" | "Europe/Budapest" | "Africa/Ceuta" | "Europe/Copenhagen" | "Europe/Gibraltar" | "Europe/Luxembourg" | "Europe/Madrid" | "Europe/Malta" | "Europe/Monaco" | "Europe/Oslo" | "Europe/Paris" | "Europe/Prague" | "Europe/Rome" | "Europe/Stockholm" | "Europe/Tirane" | "Europe/Vienna" | "Europe/Warsaw" | "Europe/Zurich" | "Africa/Cairo" | "Europe/Kaliningrad" | "Africa/Tripoli" | "Africa/Johannesburg" | "Antarctica/Troll" | "Asia/Baghdad" | "Asia/Qatar" | "Asia/Riyadh" | "Africa/Nairobi" | "Asia/Amman" | "Europe/Athens" | "Asia/Beirut" | "Europe/Bucharest" | "Europe/Chisinau" | "Asia/Damascus" | "Asia/Gaza" | "Asia/Hebron" | "Europe/Helsinki" | "Europe/Kiev" | "Asia/Nicosia" | "Europe/Riga" | "Europe/Sofia" | "Europe/Tallinn" | "Europe/Uzhgorod" | "Europe/Vilnius" | "Europe/Zaporozhye" | "Asia/Famagusta" | "Asia/Jerusalem" | "Europe/Kirov" | "Europe/Minsk" | "Europe/Moscow" | "Europe/Simferopol" | "Europe/Istanbul" | "Europe/Volgograd" | "Asia/Yerevan" | "Europe/Astrakhan" | "Asia/Baku" | "Asia/Tbilisi" | "Asia/Dubai" | "Indian/Mauritius" | "Indian/Reunion" | "Europe/Samara" | "Europe/Saratov" | "Indian/Mahe" | "Europe/Ulyanovsk" | "Asia/Kabul" | "Asia/Tehran" | "Indian/Kerguelen" | "Indian/Maldives" | "Antarctica/Mawson" | "Asia/Karachi" | "Asia/Dushanbe" | "Asia/Ashgabat" | "Asia/Samarkand" | "Asia/Tashkent" | "Asia/Aqtau" | "Asia/Aqtobe" | "Asia/Atyrau" | "Asia/Oral" | "Asia/Qyzylorda" | "Asia/Yekaterinburg" | "Asia/Colombo" | "Asia/Kolkata" | "Asia/Kathmandu" | "Asia/Dhaka" | "Asia/Thimphu" | "Asia/Almaty" | "Asia/Qostanay" | "Indian/Chagos" | "Asia/Bishkek" | "Asia/Omsk" | "Asia/Urumqi" | "Antarctica/Vostok" | "Indian/Cocos" | "Asia/Yangon" | "Asia/Barnaul" | "Indian/Christmas" | "Antarctica/Davis" | "Asia/Hovd" | "Asia/Bangkok" | "Asia/Ho_Chi_Minh" | "Asia/Krasnoyarsk" | "Asia/Novokuznetsk" | "Asia/Novosibirsk" | "Asia/Tomsk" | "Asia/Jakarta" | "Asia/Pontianak" | "Australia/Perth" | "Asia/Brunei" | "Asia/Makassar" | "Asia/Macau" | "Asia/Shanghai" | "Asia/Hong_Kong" | "Asia/Irkutsk" | "Asia/Kuala_Lumpur" | "Asia/Kuching" | "Asia/Manila" | "Asia/Singapore" | "Asia/Taipei" | "Asia/Choibalsan" | "Asia/Ulaanbaatar" | "Australia/Eucla" | "Asia/Dili" | "Asia/Jayapura" | "Asia/Tokyo" | "Asia/Pyongyang" | "Asia/Seoul" | "Pacific/Palau" | "Asia/Chita" | "Asia/Khandyga" | "Asia/Yakutsk" | "Australia/Darwin" | "Australia/Adelaide" | "Australia/Broken_Hill" | "Australia/Brisbane" | "Australia/Lindeman" | "Pacific/Guam" | "Pacific/Chuuk" | "Australia/Hobart" | "Antarctica/Macquarie" | "Australia/Melbourne" | "Australia/Sydney" | "Pacific/Port_Moresby" | "Asia/Ust-Nera" | "Asia/Vladivostok" | "Australia/Lord_Howe" | "Pacific/Bougainville" | "Antarctica/Casey" | "Pacific/Kosrae" | "Asia/Magadan" | "Pacific/Noumea" | "Pacific/Norfolk" | "Pacific/Pohnpei" | "Asia/Sakhalin" | "Pacific/Guadalcanal" | "Asia/Srednekolymsk" | "Pacific/Efate" | "Asia/Anadyr" | "Pacific/Fiji" | "Pacific/Tarawa" | "Pacific/Kwajalein" | "Pacific/Majuro" | "Pacific/Nauru" | "Pacific/Auckland" | "Asia/Kamchatka" | "Pacific/Funafuti" | "Pacific/Wake" | "Pacific/Wallis" | "Pacific/Chatham" | "Pacific/Apia" | "Pacific/Fakaofo" | "Pacific/Tongatapu" | "Pacific/Kiritimati") | undefined | null;
505
- /** Address. */
506
- 'address': SpruceSchema.AddressFieldValue;
507
- 'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
508
- 'slug'?: string | undefined | null;
633
+ interface DidUpdateFeedEmitPayload {
634
+ 'item': SpruceSchemas.Spruce.v2020_07_22.FeedItem;
509
635
  }
510
- interface CreateLocationEmitPayloadSchema extends SpruceSchema.Schema {
511
- id: 'createLocationEmitPayload';
636
+ interface DidUpdateFeedEmitPayloadSchema extends SpruceSchema.Schema {
637
+ id: 'didUpdateFeedEmitPayload';
512
638
  version: 'v2020_12_25';
513
639
  namespace: 'Mercury';
514
640
  name: '';
515
641
  fields: {
516
- /** Name. */
517
- 'name': {
518
- label: 'Name';
519
- type: 'text';
642
+ /** . */
643
+ 'item': {
644
+ type: 'schema';
645
+ isRequired: true;
646
+ options: {
647
+ schema: SpruceSchemas.Spruce.v2020_07_22.FeedItemSchema;
648
+ };
649
+ };
650
+ };
651
+ }
652
+ interface DidUpdateFeedEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema> {
653
+ }
654
+ }
655
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
656
+ interface DidUpdateFeedEmitTargetAndPayload {
657
+ /** Source. */
658
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
659
+ 'target'?: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTarget | undefined | null;
660
+ 'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayload;
661
+ }
662
+ interface DidUpdateFeedEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
663
+ id: 'didUpdateFeedEmitTargetAndPayload';
664
+ version: 'v2020_12_25';
665
+ namespace: 'Mercury';
666
+ name: '';
667
+ fields: {
668
+ /** Source. */
669
+ 'source': {
670
+ label: 'Source';
671
+ type: 'schema';
672
+ options: {
673
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
674
+ };
675
+ };
676
+ /** . */
677
+ 'target': {
678
+ type: 'schema';
679
+ options: {
680
+ schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetSchema;
681
+ };
682
+ };
683
+ /** . */
684
+ 'payload': {
685
+ type: 'schema';
686
+ isRequired: true;
687
+ options: {
688
+ schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema;
689
+ };
690
+ };
691
+ };
692
+ }
693
+ interface DidUpdateFeedEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetAndPayloadSchema> {
694
+ }
695
+ }
696
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
697
+ interface DidUpdatePersonEmitPayload {
698
+ 'person': SpruceSchemas.Spruce.v2020_07_22.Person;
699
+ }
700
+ interface DidUpdatePersonEmitPayloadSchema extends SpruceSchema.Schema {
701
+ id: 'didUpdatePersonEmitPayload';
702
+ version: 'v2020_12_25';
703
+ namespace: 'Mercury';
704
+ name: '';
705
+ fields: {
706
+ /** . */
707
+ 'person': {
708
+ type: 'schema';
709
+ isRequired: true;
710
+ options: {
711
+ schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
712
+ };
713
+ };
714
+ };
715
+ }
716
+ interface DidUpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema> {
717
+ }
718
+ }
719
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
720
+ interface DidUpdatePersonEmitTargetAndPayload {
721
+ /** Source. */
722
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
723
+ 'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
724
+ 'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayload;
725
+ }
726
+ interface DidUpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
727
+ id: 'didUpdatePersonEmitTargetAndPayload';
728
+ version: 'v2020_12_25';
729
+ namespace: 'Mercury';
730
+ name: '';
731
+ fields: {
732
+ /** Source. */
733
+ 'source': {
734
+ label: 'Source';
735
+ type: 'schema';
736
+ options: {
737
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
738
+ };
739
+ };
740
+ /** . */
741
+ 'target': {
742
+ type: 'schema';
743
+ options: {
744
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
745
+ };
746
+ };
747
+ /** . */
748
+ 'payload': {
749
+ type: 'schema';
520
750
  isRequired: true;
751
+ options: {
752
+ schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema;
753
+ };
754
+ };
755
+ };
756
+ }
757
+ interface DidUpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitTargetAndPayloadSchema> {
758
+ }
759
+ }
760
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
761
+ interface AddRoleEmitTarget {
762
+ 'organizationId'?: string | undefined | null;
763
+ 'locationId'?: string | undefined | null;
764
+ }
765
+ interface AddRoleEmitTargetSchema extends SpruceSchema.Schema {
766
+ id: 'addRoleEmitTarget';
767
+ version: 'v2020_12_25';
768
+ namespace: 'Mercury';
769
+ name: '';
770
+ fields: {
771
+ /** . */
772
+ 'organizationId': {
773
+ type: 'id';
521
774
  options: undefined;
522
775
  };
523
- /** Store number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
524
- 'num': {
525
- label: 'Store number';
526
- type: 'text';
527
- hint: 'You can use other symbols, like # or dashes. #123 or 32-US-5';
776
+ /** . */
777
+ 'locationId': {
778
+ type: 'id';
528
779
  options: undefined;
529
780
  };
530
- /** Public. Is this location viewable by guests? */
531
- 'isPublic': {
532
- label: 'Public';
533
- type: 'boolean';
534
- hint: 'Is this location viewable by guests?';
535
- defaultValue: false;
781
+ };
782
+ }
783
+ interface AddRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema> {
784
+ }
785
+ }
786
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
787
+ interface AddRoleEmitPayload {
788
+ 'personId': string;
789
+ 'roleId': string;
790
+ }
791
+ interface AddRoleEmitPayloadSchema extends SpruceSchema.Schema {
792
+ id: 'addRoleEmitPayload';
793
+ version: 'v2020_12_25';
794
+ namespace: 'Mercury';
795
+ name: '';
796
+ fields: {
797
+ /** . */
798
+ 'personId': {
799
+ type: 'id';
800
+ isRequired: true;
536
801
  options: undefined;
537
802
  };
538
- /** Main Phone. */
539
- 'phone': {
540
- label: 'Main Phone';
541
- type: 'phone';
803
+ /** . */
804
+ 'roleId': {
805
+ type: 'id';
806
+ isRequired: true;
542
807
  options: undefined;
543
808
  };
544
- /** Timezone. */
545
- 'timezone': {
546
- label: 'Timezone';
547
- type: 'select';
809
+ };
810
+ }
811
+ interface AddRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema> {
812
+ }
813
+ }
814
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
815
+ interface AddRoleEmitTargetAndPayload {
816
+ /** Source. */
817
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
818
+ 'target'?: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTarget | undefined | null;
819
+ 'payload': SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayload;
820
+ }
821
+ interface AddRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
822
+ id: 'addRoleEmitTargetAndPayload';
823
+ version: 'v2020_12_25';
824
+ namespace: 'Mercury';
825
+ name: '';
826
+ fields: {
827
+ /** Source. */
828
+ 'source': {
829
+ label: 'Source';
830
+ type: 'schema';
548
831
  options: {
549
- choices: [{
550
- "value": "Pacific/Niue";
551
- "label": "Niue Time";
552
- }, {
553
- "value": "Pacific/Pago_Pago";
554
- "label": "Samoa Standard Time";
555
- }, {
556
- "value": "Pacific/Rarotonga";
557
- "label": "Cook Islands Standard Time";
558
- }, {
559
- "value": "Pacific/Honolulu";
560
- "label": "Hawaii-Aleutian Standard Time";
561
- }, {
562
- "value": "Pacific/Tahiti";
563
- "label": "Tahiti Time";
564
- }, {
565
- "value": "Pacific/Marquesas";
566
- "label": "Marquesas Time";
567
- }, {
568
- "value": "Pacific/Gambier";
569
- "label": "Gambier Time";
570
- }, {
571
- "value": "America/Adak";
572
- "label": "Hawaii-Aleutian Time (Adak)";
573
- }, {
574
- "value": "America/Anchorage";
575
- "label": "Alaska Time - Anchorage";
576
- }, {
577
- "value": "America/Juneau";
578
- "label": "Alaska Time - Juneau";
579
- }, {
580
- "value": "America/Metlakatla";
581
- "label": "Alaska Time - Metlakatla";
582
- }, {
583
- "value": "America/Nome";
584
- "label": "Alaska Time - Nome";
585
- }, {
586
- "value": "America/Sitka";
587
- "label": "Alaska Time - Sitka";
588
- }, {
589
- "value": "America/Yakutat";
590
- "label": "Alaska Time - Yakutat";
591
- }, {
592
- "value": "Pacific/Pitcairn";
593
- "label": "Pitcairn Time";
594
- }, {
595
- "value": "America/Hermosillo";
596
- "label": "Mexican Pacific Standard Time";
597
- }, {
598
- "value": "America/Dawson_Creek";
599
- "label": "Mountain Standard Time - Dawson Creek";
600
- }, {
601
- "value": "America/Fort_Nelson";
602
- "label": "Mountain Standard Time - Fort Nelson";
603
- }, {
604
- "value": "America/Phoenix";
605
- "label": "Mountain Standard Time - Phoenix";
606
- }, {
607
- "value": "America/Los_Angeles";
608
- "label": "Pacific Time - Los Angeles";
609
- }, {
610
- "value": "America/Tijuana";
611
- "label": "Pacific Time - Tijuana";
612
- }, {
613
- "value": "America/Vancouver";
614
- "label": "Pacific Time - Vancouver";
615
- }, {
616
- "value": "America/Dawson";
617
- "label": "Yukon Time - Dawson";
618
- }, {
619
- "value": "America/Whitehorse";
620
- "label": "Yukon Time - Whitehorse";
621
- }, {
622
- "value": "America/Belize";
623
- "label": "Central Standard Time - Belize";
624
- }, {
625
- "value": "America/Costa_Rica";
626
- "label": "Central Standard Time - Costa Rica";
627
- }, {
628
- "value": "America/El_Salvador";
629
- "label": "Central Standard Time - El Salvador";
630
- }, {
631
- "value": "America/Guatemala";
632
- "label": "Central Standard Time - Guatemala";
633
- }, {
634
- "value": "America/Managua";
635
- "label": "Central Standard Time - Managua";
636
- }, {
637
- "value": "America/Regina";
638
- "label": "Central Standard Time - Regina";
639
- }, {
640
- "value": "America/Swift_Current";
641
- "label": "Central Standard Time - Swift Current";
642
- }, {
643
- "value": "America/Tegucigalpa";
644
- "label": "Central Standard Time - Tegucigalpa";
645
- }, {
646
- "value": "Pacific/Easter";
647
- "label": "Easter Island Time";
648
- }, {
649
- "value": "Pacific/Galapagos";
650
- "label": "Galapagos Time";
651
- }, {
652
- "value": "America/Chihuahua";
653
- "label": "Mexican Pacific Time - Chihuahua";
832
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
833
+ };
834
+ };
835
+ /** . */
836
+ 'target': {
837
+ type: 'schema';
838
+ options: {
839
+ schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema;
840
+ };
841
+ };
842
+ /** . */
843
+ 'payload': {
844
+ type: 'schema';
845
+ isRequired: true;
846
+ options: {
847
+ schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema;
848
+ };
849
+ };
850
+ };
851
+ }
852
+ interface AddRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetAndPayloadSchema> {
853
+ }
854
+ }
855
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
856
+ interface AddRoleResponsePayload {
857
+ }
858
+ interface AddRoleResponsePayloadSchema extends SpruceSchema.Schema {
859
+ id: 'addRoleResponsePayload';
860
+ version: 'v2020_12_25';
861
+ namespace: 'Mercury';
862
+ name: '';
863
+ fields: {};
864
+ }
865
+ interface AddRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleResponsePayloadSchema> {
866
+ }
867
+ }
868
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
869
+ interface AuthenticateEmitPayload {
870
+ 'token'?: string | undefined | null;
871
+ 'skillId'?: string | undefined | null;
872
+ 'apiKey'?: string | undefined | null;
873
+ }
874
+ interface AuthenticateEmitPayloadSchema extends SpruceSchema.Schema {
875
+ id: 'authenticateEmitPayload';
876
+ version: 'v2020_12_25';
877
+ namespace: 'Mercury';
878
+ name: '';
879
+ fields: {
880
+ /** . */
881
+ 'token': {
882
+ type: 'text';
883
+ options: undefined;
884
+ };
885
+ /** . */
886
+ 'skillId': {
887
+ type: 'text';
888
+ options: undefined;
889
+ };
890
+ /** . */
891
+ 'apiKey': {
892
+ type: 'text';
893
+ options: undefined;
894
+ };
895
+ };
896
+ }
897
+ interface AuthenticateEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema> {
898
+ }
899
+ }
900
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
901
+ interface AuthenticateEmitTargetAndPayload {
902
+ /** Source. */
903
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
904
+ 'payload'?: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayload | undefined | null;
905
+ }
906
+ interface AuthenticateEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
907
+ id: 'authenticateEmitTargetAndPayload';
908
+ version: 'v2020_12_25';
909
+ namespace: 'Mercury';
910
+ name: '';
911
+ fields: {
912
+ /** Source. */
913
+ 'source': {
914
+ label: 'Source';
915
+ type: 'schema';
916
+ options: {
917
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
918
+ };
919
+ };
920
+ /** . */
921
+ 'payload': {
922
+ type: 'schema';
923
+ options: {
924
+ schema: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema;
925
+ };
926
+ };
927
+ };
928
+ }
929
+ interface AuthenticateEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitTargetAndPayloadSchema> {
930
+ }
931
+ }
932
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
933
+ interface AuthSchema {
934
+ 'person'?: SpruceSchemas.Spruce.v2020_07_22.Person | undefined | null;
935
+ 'skill'?: SpruceSchemas.Spruce.v2020_07_22.Skill | undefined | null;
936
+ }
937
+ interface AuthSchemaSchema extends SpruceSchema.Schema {
938
+ id: 'authSchema';
939
+ version: 'v2020_12_25';
940
+ namespace: 'Mercury';
941
+ name: '';
942
+ fields: {
943
+ /** . */
944
+ 'person': {
945
+ type: 'schema';
946
+ options: {
947
+ schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
948
+ };
949
+ };
950
+ /** . */
951
+ 'skill': {
952
+ type: 'schema';
953
+ options: {
954
+ schema: SpruceSchemas.Spruce.v2020_07_22.SkillSchema;
955
+ };
956
+ };
957
+ };
958
+ }
959
+ interface AuthSchemaEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema> {
960
+ }
961
+ }
962
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
963
+ interface AuthenticateResponsePayload {
964
+ 'type': ("authenticated" | "anonymous");
965
+ 'auth': SpruceSchemas.Mercury.v2020_12_25.AuthSchema;
966
+ }
967
+ interface AuthenticateResponsePayloadSchema extends SpruceSchema.Schema {
968
+ id: 'authenticateResponsePayload';
969
+ version: 'v2020_12_25';
970
+ namespace: 'Mercury';
971
+ name: '';
972
+ fields: {
973
+ /** . */
974
+ 'type': {
975
+ type: 'select';
976
+ isRequired: true;
977
+ options: {
978
+ choices: [{
979
+ "value": "authenticated";
980
+ "label": "Authenticated";
654
981
  }, {
655
- "value": "America/Mazatlan";
656
- "label": "Mexican Pacific Time - Mazatlan";
982
+ "value": "anonymous";
983
+ "label": "Anonymous";
984
+ }];
985
+ };
986
+ };
987
+ /** . */
988
+ 'auth': {
989
+ type: 'schema';
990
+ isRequired: true;
991
+ options: {
992
+ schema: SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema;
993
+ };
994
+ };
995
+ };
996
+ }
997
+ interface AuthenticateResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateResponsePayloadSchema> {
998
+ }
999
+ }
1000
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
1001
+ interface CanListenEmitPayload {
1002
+ 'authorizerStatuses'?: ("clockedIn" | "clockedOut" | "onPrem" | "offPrem") | undefined | null;
1003
+ 'fullyQualifiedEventName': string;
1004
+ }
1005
+ interface CanListenEmitPayloadSchema extends SpruceSchema.Schema {
1006
+ id: 'canListenEmitPayload';
1007
+ version: 'v2020_12_25';
1008
+ namespace: 'Mercury';
1009
+ name: '';
1010
+ fields: {
1011
+ /** . */
1012
+ 'authorizerStatuses': {
1013
+ type: 'select';
1014
+ options: {
1015
+ choices: [{
1016
+ "label": "Clocked in";
1017
+ "value": "clockedIn";
657
1018
  }, {
658
- "value": "America/Boise";
659
- "label": "Mountain Time - Boise";
1019
+ "label": "Clocked out";
1020
+ "value": "clockedOut";
660
1021
  }, {
661
- "value": "America/Cambridge_Bay";
662
- "label": "Mountain Time - Cambridge Bay";
1022
+ "label": "On premises";
1023
+ "value": "onPrem";
663
1024
  }, {
664
- "value": "America/Denver";
665
- "label": "Mountain Time - Denver";
666
- }, {
667
- "value": "America/Edmonton";
668
- "label": "Mountain Time - Edmonton";
1025
+ "label": "Off premises";
1026
+ "value": "offPrem";
1027
+ }];
1028
+ };
1029
+ };
1030
+ /** . */
1031
+ 'fullyQualifiedEventName': {
1032
+ type: 'text';
1033
+ isRequired: true;
1034
+ options: undefined;
1035
+ };
1036
+ };
1037
+ }
1038
+ interface CanListenEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema> {
1039
+ }
1040
+ }
1041
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
1042
+ interface CanListenEmitTargetAndPayload {
1043
+ /** Source. */
1044
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1045
+ 'payload': SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayload;
1046
+ }
1047
+ interface CanListenEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1048
+ id: 'canListenEmitTargetAndPayload';
1049
+ version: 'v2020_12_25';
1050
+ namespace: 'Mercury';
1051
+ name: '';
1052
+ fields: {
1053
+ /** Source. */
1054
+ 'source': {
1055
+ label: 'Source';
1056
+ type: 'schema';
1057
+ options: {
1058
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
1059
+ };
1060
+ };
1061
+ /** . */
1062
+ 'payload': {
1063
+ type: 'schema';
1064
+ isRequired: true;
1065
+ options: {
1066
+ schema: SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema;
1067
+ };
1068
+ };
1069
+ };
1070
+ }
1071
+ interface CanListenEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitTargetAndPayloadSchema> {
1072
+ }
1073
+ }
1074
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
1075
+ interface CanListenResponsePayload {
1076
+ 'can'?: boolean | undefined | null;
1077
+ }
1078
+ interface CanListenResponsePayloadSchema extends SpruceSchema.Schema {
1079
+ id: 'canListenResponsePayload';
1080
+ version: 'v2020_12_25';
1081
+ namespace: 'Mercury';
1082
+ name: '';
1083
+ fields: {
1084
+ /** . */
1085
+ 'can': {
1086
+ type: 'boolean';
1087
+ options: undefined;
1088
+ };
1089
+ };
1090
+ }
1091
+ interface CanListenResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenResponsePayloadSchema> {
1092
+ }
1093
+ }
1094
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
1095
+ interface ConfirmPinEmitPayload {
1096
+ 'challenge': string;
1097
+ 'pin': string;
1098
+ }
1099
+ interface ConfirmPinEmitPayloadSchema extends SpruceSchema.Schema {
1100
+ id: 'confirmPinEmitPayload';
1101
+ version: 'v2020_12_25';
1102
+ namespace: 'Mercury';
1103
+ name: '';
1104
+ fields: {
1105
+ /** . */
1106
+ 'challenge': {
1107
+ type: 'text';
1108
+ isRequired: true;
1109
+ options: undefined;
1110
+ };
1111
+ /** . */
1112
+ 'pin': {
1113
+ type: 'text';
1114
+ isRequired: true;
1115
+ options: undefined;
1116
+ };
1117
+ };
1118
+ }
1119
+ interface ConfirmPinEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema> {
1120
+ }
1121
+ }
1122
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
1123
+ interface ConfirmPinEmitTargetAndPayload {
1124
+ /** Source. */
1125
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
1126
+ 'payload': SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayload;
1127
+ }
1128
+ interface ConfirmPinEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
1129
+ id: 'confirmPinEmitTargetAndPayload';
1130
+ version: 'v2020_12_25';
1131
+ namespace: 'Mercury';
1132
+ name: '';
1133
+ fields: {
1134
+ /** Source. */
1135
+ 'source': {
1136
+ label: 'Source';
1137
+ type: 'schema';
1138
+ options: {
1139
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
1140
+ };
1141
+ };
1142
+ /** . */
1143
+ 'payload': {
1144
+ type: 'schema';
1145
+ isRequired: true;
1146
+ options: {
1147
+ schema: SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema;
1148
+ };
1149
+ };
1150
+ };
1151
+ }
1152
+ interface ConfirmPinEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitTargetAndPayloadSchema> {
1153
+ }
1154
+ }
1155
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
1156
+ interface ConfirmPinRespondPayload {
1157
+ 'person': SpruceSchemas.Spruce.v2020_07_22.Person;
1158
+ 'token': string;
1159
+ }
1160
+ interface ConfirmPinRespondPayloadSchema extends SpruceSchema.Schema {
1161
+ id: 'confirmPinRespondPayload';
1162
+ version: 'v2020_12_25';
1163
+ namespace: 'Mercury';
1164
+ name: '';
1165
+ fields: {
1166
+ /** . */
1167
+ 'person': {
1168
+ type: 'schema';
1169
+ isRequired: true;
1170
+ options: {
1171
+ schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
1172
+ };
1173
+ };
1174
+ /** . */
1175
+ 'token': {
1176
+ type: 'text';
1177
+ isRequired: true;
1178
+ options: undefined;
1179
+ };
1180
+ };
1181
+ }
1182
+ interface ConfirmPinRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinRespondPayloadSchema> {
1183
+ }
1184
+ }
1185
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
1186
+ interface CreateLocationEmitTarget {
1187
+ 'organizationId': string;
1188
+ }
1189
+ interface CreateLocationEmitTargetSchema extends SpruceSchema.Schema {
1190
+ id: 'createLocationEmitTarget';
1191
+ version: 'v2020_12_25';
1192
+ namespace: 'Mercury';
1193
+ name: '';
1194
+ fields: {
1195
+ /** . */
1196
+ 'organizationId': {
1197
+ type: 'id';
1198
+ isRequired: true;
1199
+ options: undefined;
1200
+ };
1201
+ };
1202
+ }
1203
+ interface CreateLocationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CreateLocationEmitTargetSchema> {
1204
+ }
1205
+ }
1206
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
1207
+ interface CreateLocationEmitPayload {
1208
+ /** Name. */
1209
+ 'name': string;
1210
+ /** Store number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
1211
+ 'num'?: string | undefined | null;
1212
+ /** Public. Is this location viewable by guests? */
1213
+ 'isPublic'?: boolean | undefined | null;
1214
+ /** Main Phone. */
1215
+ 'phone'?: string | undefined | null;
1216
+ /** Timezone. */
1217
+ 'timezone'?: ("Pacific/Niue" | "Pacific/Pago_Pago" | "Pacific/Rarotonga" | "Pacific/Honolulu" | "Pacific/Tahiti" | "Pacific/Marquesas" | "Pacific/Gambier" | "America/Adak" | "America/Anchorage" | "America/Juneau" | "America/Metlakatla" | "America/Nome" | "America/Sitka" | "America/Yakutat" | "Pacific/Pitcairn" | "America/Hermosillo" | "America/Dawson_Creek" | "America/Fort_Nelson" | "America/Phoenix" | "America/Los_Angeles" | "America/Tijuana" | "America/Vancouver" | "America/Dawson" | "America/Whitehorse" | "America/Belize" | "America/Costa_Rica" | "America/El_Salvador" | "America/Guatemala" | "America/Managua" | "America/Regina" | "America/Swift_Current" | "America/Tegucigalpa" | "Pacific/Easter" | "Pacific/Galapagos" | "America/Chihuahua" | "America/Mazatlan" | "America/Boise" | "America/Cambridge_Bay" | "America/Denver" | "America/Edmonton" | "America/Inuvik" | "America/Ojinaga" | "America/Yellowknife" | "America/Eirunepe" | "America/Rio_Branco" | "America/Bahia_Banderas" | "America/North_Dakota/Beulah" | "America/North_Dakota/Center" | "America/Chicago" | "America/Indiana/Knox" | "America/Matamoros" | "America/Menominee" | "America/Merida" | "America/Mexico_City" | "America/Monterrey" | "America/North_Dakota/New_Salem" | "America/Rainy_River" | "America/Rankin_Inlet" | "America/Resolute" | "America/Indiana/Tell_City" | "America/Winnipeg" | "America/Bogota" | "America/Cancun" | "America/Jamaica" | "America/Panama" | "America/Guayaquil" | "America/Lima" | "America/Boa_Vista" | "America/Campo_Grande" | "America/Cuiaba" | "America/Manaus" | "America/Porto_Velho" | "America/Barbados" | "America/Martinique" | "America/Puerto_Rico" | "America/Santo_Domingo" | "America/La_Paz" | "America/Santiago" | "America/Havana" | "America/Detroit" | "America/Grand_Turk" | "America/Indiana/Indianapolis" | "America/Iqaluit" | "America/Kentucky/Louisville" | "America/Indiana/Marengo" | "America/Kentucky/Monticello" | "America/New_York" | "America/Nipigon" | "America/Pangnirtung" | "America/Indiana/Petersburg" | "America/Port-au-Prince" | "America/Thunder_Bay" | "America/Toronto" | "America/Indiana/Vevay" | "America/Indiana/Vincennes" | "America/Indiana/Winamac" | "America/Guyana" | "America/Asuncion" | "America/Caracas" | "America/Argentina/Buenos_Aires" | "America/Argentina/Catamarca" | "America/Argentina/Cordoba" | "America/Argentina/Jujuy" | "America/Argentina/La_Rioja" | "America/Argentina/Mendoza" | "America/Argentina/Rio_Gallegos" | "America/Argentina/Salta" | "America/Argentina/San_Juan" | "America/Argentina/San_Luis" | "America/Argentina/Tucuman" | "America/Argentina/Ushuaia" | "Atlantic/Bermuda" | "America/Glace_Bay" | "America/Goose_Bay" | "America/Halifax" | "America/Moncton" | "America/Thule" | "America/Araguaina" | "America/Bahia" | "America/Belem" | "America/Fortaleza" | "America/Maceio" | "America/Recife" | "America/Santarem" | "America/Sao_Paulo" | "Atlantic/Stanley" | "America/Cayenne" | "Antarctica/Palmer" | "America/Punta_Arenas" | "Antarctica/Rothera" | "America/Paramaribo" | "America/Montevideo" | "America/St_Johns" | "America/Noronha" | "Atlantic/South_Georgia" | "America/Miquelon" | "America/Nuuk" | "Atlantic/Cape_Verde" | "Atlantic/Azores" | "UTC" | "America/Scoresbysund" | "Etc/GMT" | "Africa/Abidjan" | "Africa/Bissau" | "America/Danmarkshavn" | "Africa/Monrovia" | "Atlantic/Reykjavik" | "Africa/Sao_Tome" | "Africa/Algiers" | "Africa/Tunis" | "Europe/Dublin" | "Africa/Casablanca" | "Europe/London" | "Africa/Lagos" | "Africa/Ndjamena" | "Atlantic/Canary" | "Atlantic/Faroe" | "Europe/Lisbon" | "Atlantic/Madeira" | "Africa/El_Aaiun" | "Africa/Juba" | "Africa/Khartoum" | "Africa/Maputo" | "Africa/Windhoek" | "Europe/Amsterdam" | "Europe/Andorra" | "Europe/Belgrade" | "Europe/Berlin" | "Europe/Brussels" | "Europe/Budapest" | "Africa/Ceuta" | "Europe/Copenhagen" | "Europe/Gibraltar" | "Europe/Luxembourg" | "Europe/Madrid" | "Europe/Malta" | "Europe/Monaco" | "Europe/Oslo" | "Europe/Paris" | "Europe/Prague" | "Europe/Rome" | "Europe/Stockholm" | "Europe/Tirane" | "Europe/Vienna" | "Europe/Warsaw" | "Europe/Zurich" | "Africa/Cairo" | "Europe/Kaliningrad" | "Africa/Tripoli" | "Africa/Johannesburg" | "Antarctica/Troll" | "Asia/Baghdad" | "Asia/Qatar" | "Asia/Riyadh" | "Africa/Nairobi" | "Asia/Amman" | "Europe/Athens" | "Asia/Beirut" | "Europe/Bucharest" | "Europe/Chisinau" | "Asia/Damascus" | "Asia/Gaza" | "Asia/Hebron" | "Europe/Helsinki" | "Europe/Kiev" | "Asia/Nicosia" | "Europe/Riga" | "Europe/Sofia" | "Europe/Tallinn" | "Europe/Uzhgorod" | "Europe/Vilnius" | "Europe/Zaporozhye" | "Asia/Famagusta" | "Asia/Jerusalem" | "Europe/Kirov" | "Europe/Minsk" | "Europe/Moscow" | "Europe/Simferopol" | "Europe/Istanbul" | "Europe/Volgograd" | "Asia/Yerevan" | "Europe/Astrakhan" | "Asia/Baku" | "Asia/Tbilisi" | "Asia/Dubai" | "Indian/Mauritius" | "Indian/Reunion" | "Europe/Samara" | "Europe/Saratov" | "Indian/Mahe" | "Europe/Ulyanovsk" | "Asia/Kabul" | "Asia/Tehran" | "Indian/Kerguelen" | "Indian/Maldives" | "Antarctica/Mawson" | "Asia/Karachi" | "Asia/Dushanbe" | "Asia/Ashgabat" | "Asia/Samarkand" | "Asia/Tashkent" | "Asia/Aqtau" | "Asia/Aqtobe" | "Asia/Atyrau" | "Asia/Oral" | "Asia/Qyzylorda" | "Asia/Yekaterinburg" | "Asia/Colombo" | "Asia/Kolkata" | "Asia/Kathmandu" | "Asia/Dhaka" | "Asia/Thimphu" | "Asia/Almaty" | "Asia/Qostanay" | "Indian/Chagos" | "Asia/Bishkek" | "Asia/Omsk" | "Asia/Urumqi" | "Antarctica/Vostok" | "Indian/Cocos" | "Asia/Yangon" | "Asia/Barnaul" | "Indian/Christmas" | "Antarctica/Davis" | "Asia/Hovd" | "Asia/Bangkok" | "Asia/Ho_Chi_Minh" | "Asia/Krasnoyarsk" | "Asia/Novokuznetsk" | "Asia/Novosibirsk" | "Asia/Tomsk" | "Asia/Jakarta" | "Asia/Pontianak" | "Australia/Perth" | "Asia/Brunei" | "Asia/Makassar" | "Asia/Macau" | "Asia/Shanghai" | "Asia/Hong_Kong" | "Asia/Irkutsk" | "Asia/Kuala_Lumpur" | "Asia/Kuching" | "Asia/Manila" | "Asia/Singapore" | "Asia/Taipei" | "Asia/Choibalsan" | "Asia/Ulaanbaatar" | "Australia/Eucla" | "Asia/Dili" | "Asia/Jayapura" | "Asia/Tokyo" | "Asia/Pyongyang" | "Asia/Seoul" | "Pacific/Palau" | "Asia/Chita" | "Asia/Khandyga" | "Asia/Yakutsk" | "Australia/Darwin" | "Australia/Adelaide" | "Australia/Broken_Hill" | "Australia/Brisbane" | "Australia/Lindeman" | "Pacific/Guam" | "Pacific/Chuuk" | "Australia/Hobart" | "Antarctica/Macquarie" | "Australia/Melbourne" | "Australia/Sydney" | "Pacific/Port_Moresby" | "Asia/Ust-Nera" | "Asia/Vladivostok" | "Australia/Lord_Howe" | "Pacific/Bougainville" | "Antarctica/Casey" | "Pacific/Kosrae" | "Asia/Magadan" | "Pacific/Noumea" | "Pacific/Norfolk" | "Pacific/Pohnpei" | "Asia/Sakhalin" | "Pacific/Guadalcanal" | "Asia/Srednekolymsk" | "Pacific/Efate" | "Asia/Anadyr" | "Pacific/Fiji" | "Pacific/Tarawa" | "Pacific/Kwajalein" | "Pacific/Majuro" | "Pacific/Nauru" | "Pacific/Auckland" | "Asia/Kamchatka" | "Pacific/Funafuti" | "Pacific/Wake" | "Pacific/Wallis" | "Pacific/Chatham" | "Pacific/Apia" | "Pacific/Fakaofo" | "Pacific/Tongatapu" | "Pacific/Kiritimati") | undefined | null;
1218
+ /** Address. */
1219
+ 'address': SpruceSchema.AddressFieldValue;
1220
+ 'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
1221
+ 'slug'?: string | undefined | null;
1222
+ }
1223
+ interface CreateLocationEmitPayloadSchema extends SpruceSchema.Schema {
1224
+ id: 'createLocationEmitPayload';
1225
+ version: 'v2020_12_25';
1226
+ namespace: 'Mercury';
1227
+ name: '';
1228
+ fields: {
1229
+ /** Name. */
1230
+ 'name': {
1231
+ label: 'Name';
1232
+ type: 'text';
1233
+ isRequired: true;
1234
+ options: undefined;
1235
+ };
1236
+ /** Store number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
1237
+ 'num': {
1238
+ label: 'Store number';
1239
+ type: 'text';
1240
+ hint: 'You can use other symbols, like # or dashes. #123 or 32-US-5';
1241
+ options: undefined;
1242
+ };
1243
+ /** Public. Is this location viewable by guests? */
1244
+ 'isPublic': {
1245
+ label: 'Public';
1246
+ type: 'boolean';
1247
+ hint: 'Is this location viewable by guests?';
1248
+ defaultValue: false;
1249
+ options: undefined;
1250
+ };
1251
+ /** Main Phone. */
1252
+ 'phone': {
1253
+ label: 'Main Phone';
1254
+ type: 'phone';
1255
+ options: undefined;
1256
+ };
1257
+ /** Timezone. */
1258
+ 'timezone': {
1259
+ label: 'Timezone';
1260
+ type: 'select';
1261
+ options: {
1262
+ choices: [{
1263
+ "value": "Pacific/Niue";
1264
+ "label": "Niue Time";
669
1265
  }, {
670
- "value": "America/Inuvik";
671
- "label": "Mountain Time - Inuvik";
1266
+ "value": "Pacific/Pago_Pago";
1267
+ "label": "Samoa Standard Time";
672
1268
  }, {
673
- "value": "America/Ojinaga";
674
- "label": "Mountain Time - Ojinaga";
1269
+ "value": "Pacific/Rarotonga";
1270
+ "label": "Cook Islands Standard Time";
675
1271
  }, {
676
- "value": "America/Yellowknife";
677
- "label": "Mountain Time - Yellowknife";
1272
+ "value": "Pacific/Honolulu";
1273
+ "label": "Hawaii-Aleutian Standard Time";
1274
+ }, {
1275
+ "value": "Pacific/Tahiti";
1276
+ "label": "Tahiti Time";
1277
+ }, {
1278
+ "value": "Pacific/Marquesas";
1279
+ "label": "Marquesas Time";
1280
+ }, {
1281
+ "value": "Pacific/Gambier";
1282
+ "label": "Gambier Time";
1283
+ }, {
1284
+ "value": "America/Adak";
1285
+ "label": "Hawaii-Aleutian Time (Adak)";
1286
+ }, {
1287
+ "value": "America/Anchorage";
1288
+ "label": "Alaska Time - Anchorage";
1289
+ }, {
1290
+ "value": "America/Juneau";
1291
+ "label": "Alaska Time - Juneau";
1292
+ }, {
1293
+ "value": "America/Metlakatla";
1294
+ "label": "Alaska Time - Metlakatla";
1295
+ }, {
1296
+ "value": "America/Nome";
1297
+ "label": "Alaska Time - Nome";
1298
+ }, {
1299
+ "value": "America/Sitka";
1300
+ "label": "Alaska Time - Sitka";
1301
+ }, {
1302
+ "value": "America/Yakutat";
1303
+ "label": "Alaska Time - Yakutat";
1304
+ }, {
1305
+ "value": "Pacific/Pitcairn";
1306
+ "label": "Pitcairn Time";
1307
+ }, {
1308
+ "value": "America/Hermosillo";
1309
+ "label": "Mexican Pacific Standard Time";
1310
+ }, {
1311
+ "value": "America/Dawson_Creek";
1312
+ "label": "Mountain Standard Time - Dawson Creek";
1313
+ }, {
1314
+ "value": "America/Fort_Nelson";
1315
+ "label": "Mountain Standard Time - Fort Nelson";
1316
+ }, {
1317
+ "value": "America/Phoenix";
1318
+ "label": "Mountain Standard Time - Phoenix";
1319
+ }, {
1320
+ "value": "America/Los_Angeles";
1321
+ "label": "Pacific Time - Los Angeles";
1322
+ }, {
1323
+ "value": "America/Tijuana";
1324
+ "label": "Pacific Time - Tijuana";
1325
+ }, {
1326
+ "value": "America/Vancouver";
1327
+ "label": "Pacific Time - Vancouver";
1328
+ }, {
1329
+ "value": "America/Dawson";
1330
+ "label": "Yukon Time - Dawson";
1331
+ }, {
1332
+ "value": "America/Whitehorse";
1333
+ "label": "Yukon Time - Whitehorse";
1334
+ }, {
1335
+ "value": "America/Belize";
1336
+ "label": "Central Standard Time - Belize";
1337
+ }, {
1338
+ "value": "America/Costa_Rica";
1339
+ "label": "Central Standard Time - Costa Rica";
1340
+ }, {
1341
+ "value": "America/El_Salvador";
1342
+ "label": "Central Standard Time - El Salvador";
1343
+ }, {
1344
+ "value": "America/Guatemala";
1345
+ "label": "Central Standard Time - Guatemala";
1346
+ }, {
1347
+ "value": "America/Managua";
1348
+ "label": "Central Standard Time - Managua";
1349
+ }, {
1350
+ "value": "America/Regina";
1351
+ "label": "Central Standard Time - Regina";
1352
+ }, {
1353
+ "value": "America/Swift_Current";
1354
+ "label": "Central Standard Time - Swift Current";
1355
+ }, {
1356
+ "value": "America/Tegucigalpa";
1357
+ "label": "Central Standard Time - Tegucigalpa";
1358
+ }, {
1359
+ "value": "Pacific/Easter";
1360
+ "label": "Easter Island Time";
1361
+ }, {
1362
+ "value": "Pacific/Galapagos";
1363
+ "label": "Galapagos Time";
1364
+ }, {
1365
+ "value": "America/Chihuahua";
1366
+ "label": "Mexican Pacific Time - Chihuahua";
1367
+ }, {
1368
+ "value": "America/Mazatlan";
1369
+ "label": "Mexican Pacific Time - Mazatlan";
1370
+ }, {
1371
+ "value": "America/Boise";
1372
+ "label": "Mountain Time - Boise";
1373
+ }, {
1374
+ "value": "America/Cambridge_Bay";
1375
+ "label": "Mountain Time - Cambridge Bay";
1376
+ }, {
1377
+ "value": "America/Denver";
1378
+ "label": "Mountain Time - Denver";
1379
+ }, {
1380
+ "value": "America/Edmonton";
1381
+ "label": "Mountain Time - Edmonton";
1382
+ }, {
1383
+ "value": "America/Inuvik";
1384
+ "label": "Mountain Time - Inuvik";
1385
+ }, {
1386
+ "value": "America/Ojinaga";
1387
+ "label": "Mountain Time - Ojinaga";
1388
+ }, {
1389
+ "value": "America/Yellowknife";
1390
+ "label": "Mountain Time - Yellowknife";
678
1391
  }, {
679
1392
  "value": "America/Eirunepe";
680
1393
  "label": "Acre Standard Time - Eirunepe";
@@ -3660,6 +4373,32 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
3660
4373
  interface GetEventContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetEventContractsResponsePayloadSchema> {
3661
4374
  }
3662
4375
  }
4376
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
4377
+ interface GetFeedEmitTarget {
4378
+ 'locationId'?: string | undefined | null;
4379
+ 'organizationId'?: string | undefined | null;
4380
+ }
4381
+ interface GetFeedEmitTargetSchema extends SpruceSchema.Schema {
4382
+ id: 'getFeedEmitTarget';
4383
+ version: 'v2020_12_25';
4384
+ namespace: 'Mercury';
4385
+ name: '';
4386
+ fields: {
4387
+ /** . */
4388
+ 'locationId': {
4389
+ type: 'id';
4390
+ options: undefined;
4391
+ };
4392
+ /** . */
4393
+ 'organizationId': {
4394
+ type: 'id';
4395
+ options: undefined;
4396
+ };
4397
+ };
4398
+ }
4399
+ interface GetFeedEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitTargetSchema> {
4400
+ }
4401
+ }
3663
4402
  namespace SpruceSchemas.Mercury.v2020_12_25 {
3664
4403
  interface GetFeedPagingRequest {
3665
4404
  'next'?: string | undefined | null;
@@ -3749,32 +4488,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
3749
4488
  interface GetFeedEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitPayloadSchema> {
3750
4489
  }
3751
4490
  }
3752
- namespace SpruceSchemas.Mercury.v2020_12_25 {
3753
- interface GetFeedEmitTarget {
3754
- 'locationId'?: string | undefined | null;
3755
- 'organizationId'?: string | undefined | null;
3756
- }
3757
- interface GetFeedEmitTargetSchema extends SpruceSchema.Schema {
3758
- id: 'getFeedEmitTarget';
3759
- version: 'v2020_12_25';
3760
- namespace: 'Mercury';
3761
- name: '';
3762
- fields: {
3763
- /** . */
3764
- 'locationId': {
3765
- type: 'id';
3766
- options: undefined;
3767
- };
3768
- /** . */
3769
- 'organizationId': {
3770
- type: 'id';
3771
- options: undefined;
3772
- };
3773
- };
3774
- }
3775
- interface GetFeedEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitTargetSchema> {
3776
- }
3777
- }
3778
4491
  namespace SpruceSchemas.Mercury.v2020_12_25 {
3779
4492
  interface GetFeedEmitTargetAndPayload {
3780
4493
  /** Source. */
@@ -4313,29 +5026,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4313
5026
  interface GetResolvedPermissionsContractEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetResolvedPermissionsContractEmitTargetAndPayloadSchema> {
4314
5027
  }
4315
5028
  }
4316
- namespace SpruceSchemas.Mercury.v2020_12_25 {
4317
- interface GetResolvedPermissionsContractRespondPayload {
4318
- 'resolvedContract': SpruceSchemas.Mercury.v2020_12_25.ResolvedContract;
4319
- }
4320
- interface GetResolvedPermissionsContractRespondPayloadSchema extends SpruceSchema.Schema {
4321
- id: 'getResolvedPermissionsContractRespondPayload';
4322
- version: 'v2020_12_25';
4323
- namespace: 'Mercury';
4324
- name: '';
4325
- fields: {
4326
- /** . */
4327
- 'resolvedContract': {
4328
- type: 'schema';
4329
- isRequired: true;
4330
- options: {
4331
- schema: SpruceSchemas.Mercury.v2020_12_25.ResolvedContractSchema;
4332
- };
4333
- };
4334
- };
4335
- }
4336
- interface GetResolvedPermissionsContractRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetResolvedPermissionsContractRespondPayloadSchema> {
4337
- }
4338
- }
4339
5029
  namespace SpruceSchemas.Mercury.v2020_12_25 {
4340
5030
  interface ResolvedContractPermission {
4341
5031
  'id': string;
@@ -4405,6 +5095,29 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
4405
5095
  interface ResolvedContractEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ResolvedContractSchema> {
4406
5096
  }
4407
5097
  }
5098
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
5099
+ interface GetResolvedPermissionsContractRespondPayload {
5100
+ 'resolvedContract': SpruceSchemas.Mercury.v2020_12_25.ResolvedContract;
5101
+ }
5102
+ interface GetResolvedPermissionsContractRespondPayloadSchema extends SpruceSchema.Schema {
5103
+ id: 'getResolvedPermissionsContractRespondPayload';
5104
+ version: 'v2020_12_25';
5105
+ namespace: 'Mercury';
5106
+ name: '';
5107
+ fields: {
5108
+ /** . */
5109
+ 'resolvedContract': {
5110
+ type: 'schema';
5111
+ isRequired: true;
5112
+ options: {
5113
+ schema: SpruceSchemas.Mercury.v2020_12_25.ResolvedContractSchema;
5114
+ };
5115
+ };
5116
+ };
5117
+ }
5118
+ interface GetResolvedPermissionsContractRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetResolvedPermissionsContractRespondPayloadSchema> {
5119
+ }
5120
+ }
4408
5121
  namespace SpruceSchemas.Mercury.v2020_12_25 {
4409
5122
  interface GetRoleEmitTarget {
4410
5123
  'roleId': string;
@@ -5067,35 +5780,88 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
5067
5780
  }
5068
5781
  }
5069
5782
  namespace SpruceSchemas.Mercury.v2020_12_25 {
5070
- interface ListLocationsEmitTarget {
5071
- 'organizationId'?: string | undefined | null;
5072
- 'locationIds'?: string[] | undefined | null;
5783
+ interface ListOrganizationsEmitTargetAndPayload {
5784
+ /** Source. */
5785
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
5786
+ 'target'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTarget | undefined | null;
5787
+ 'payload'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayload | undefined | null;
5073
5788
  }
5074
- interface ListLocationsEmitTargetSchema extends SpruceSchema.Schema {
5075
- id: 'listLocationsEmitTarget';
5789
+ interface ListOrganizationsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
5790
+ id: 'listOrganizationsEmitTargetAndPayload';
5076
5791
  version: 'v2020_12_25';
5077
5792
  namespace: 'Mercury';
5078
5793
  name: '';
5079
5794
  fields: {
5795
+ /** Source. */
5796
+ 'source': {
5797
+ label: 'Source';
5798
+ type: 'schema';
5799
+ options: {
5800
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
5801
+ };
5802
+ };
5080
5803
  /** . */
5081
- 'organizationId': {
5082
- type: 'id';
5083
- options: undefined;
5804
+ 'target': {
5805
+ type: 'schema';
5806
+ options: {
5807
+ schema: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTargetSchema;
5808
+ };
5084
5809
  };
5085
5810
  /** . */
5086
- 'locationIds': {
5087
- type: 'id';
5088
- isArray: true;
5089
- options: undefined;
5811
+ 'payload': {
5812
+ type: 'schema';
5813
+ options: {
5814
+ schema: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayloadSchema;
5815
+ };
5090
5816
  };
5091
5817
  };
5092
5818
  }
5093
- interface ListLocationsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitTargetSchema> {
5819
+ interface ListOrganizationsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrganizationsEmitTargetAndPayloadSchema> {
5094
5820
  }
5095
5821
  }
5096
5822
  namespace SpruceSchemas.Mercury.v2020_12_25 {
5097
- interface ListLocationsEmitPayload {
5098
- 'shouldOnlyShowWhereIAmEmployed'?: boolean | undefined | null;
5823
+ interface ListOrgsEmitPayload {
5824
+ 'shouldOnlyShowMine'?: boolean | undefined | null;
5825
+ 'shouldOnlyShowWhereIAmEmployed'?: boolean | undefined | null;
5826
+ 'shouldIncludePrivateOrganizations'?: boolean | undefined | null;
5827
+ 'paging'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequest | undefined | null;
5828
+ }
5829
+ interface ListOrgsEmitPayloadSchema extends SpruceSchema.Schema {
5830
+ id: 'listOrgsEmitPayload';
5831
+ version: 'v2020_12_25';
5832
+ namespace: 'Mercury';
5833
+ name: '';
5834
+ fields: {
5835
+ /** . */
5836
+ 'shouldOnlyShowMine': {
5837
+ type: 'boolean';
5838
+ options: undefined;
5839
+ };
5840
+ /** . */
5841
+ 'shouldOnlyShowWhereIAmEmployed': {
5842
+ type: 'boolean';
5843
+ options: undefined;
5844
+ };
5845
+ /** . */
5846
+ 'shouldIncludePrivateOrganizations': {
5847
+ type: 'boolean';
5848
+ options: undefined;
5849
+ };
5850
+ /** . */
5851
+ 'paging': {
5852
+ type: 'schema';
5853
+ options: {
5854
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequestSchema;
5855
+ };
5856
+ };
5857
+ };
5858
+ }
5859
+ interface ListOrgsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayloadSchema> {
5860
+ }
5861
+ }
5862
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
5863
+ interface ListLocationsEmitPayload {
5864
+ 'shouldOnlyShowWhereIAmEmployed'?: boolean | undefined | null;
5099
5865
  'paging'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequest | undefined | null;
5100
5866
  }
5101
5867
  interface ListLocationsEmitPayloadSchema extends SpruceSchema.Schema {
@@ -5121,6 +5887,33 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
5121
5887
  interface ListLocationsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitPayloadSchema> {
5122
5888
  }
5123
5889
  }
5890
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
5891
+ interface ListLocationsEmitTarget {
5892
+ 'organizationId'?: string | undefined | null;
5893
+ 'locationIds'?: string[] | undefined | null;
5894
+ }
5895
+ interface ListLocationsEmitTargetSchema extends SpruceSchema.Schema {
5896
+ id: 'listLocationsEmitTarget';
5897
+ version: 'v2020_12_25';
5898
+ namespace: 'Mercury';
5899
+ name: '';
5900
+ fields: {
5901
+ /** . */
5902
+ 'organizationId': {
5903
+ type: 'id';
5904
+ options: undefined;
5905
+ };
5906
+ /** . */
5907
+ 'locationIds': {
5908
+ type: 'id';
5909
+ isArray: true;
5910
+ options: undefined;
5911
+ };
5912
+ };
5913
+ }
5914
+ interface ListLocationsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitTargetSchema> {
5915
+ }
5916
+ }
5124
5917
  namespace SpruceSchemas.Mercury.v2020_12_25 {
5125
5918
  interface ListLocationsEmitTargetAndPayload {
5126
5919
  /** Source. */
@@ -5208,86 +6001,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
5208
6001
  interface ListOrgsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTargetSchema> {
5209
6002
  }
5210
6003
  }
5211
- namespace SpruceSchemas.Mercury.v2020_12_25 {
5212
- interface ListOrganizationsEmitTargetAndPayload {
5213
- /** Source. */
5214
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
5215
- 'target'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTarget | undefined | null;
5216
- 'payload'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayload | undefined | null;
5217
- }
5218
- interface ListOrganizationsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
5219
- id: 'listOrganizationsEmitTargetAndPayload';
5220
- version: 'v2020_12_25';
5221
- namespace: 'Mercury';
5222
- name: '';
5223
- fields: {
5224
- /** Source. */
5225
- 'source': {
5226
- label: 'Source';
5227
- type: 'schema';
5228
- options: {
5229
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
5230
- };
5231
- };
5232
- /** . */
5233
- 'target': {
5234
- type: 'schema';
5235
- options: {
5236
- schema: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTargetSchema;
5237
- };
5238
- };
5239
- /** . */
5240
- 'payload': {
5241
- type: 'schema';
5242
- options: {
5243
- schema: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayloadSchema;
5244
- };
5245
- };
5246
- };
5247
- }
5248
- interface ListOrganizationsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrganizationsEmitTargetAndPayloadSchema> {
5249
- }
5250
- }
5251
- namespace SpruceSchemas.Mercury.v2020_12_25 {
5252
- interface ListOrgsEmitPayload {
5253
- 'shouldOnlyShowMine'?: boolean | undefined | null;
5254
- 'shouldOnlyShowWhereIAmEmployed'?: boolean | undefined | null;
5255
- 'shouldIncludePrivateOrganizations'?: boolean | undefined | null;
5256
- 'paging'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequest | undefined | null;
5257
- }
5258
- interface ListOrgsEmitPayloadSchema extends SpruceSchema.Schema {
5259
- id: 'listOrgsEmitPayload';
5260
- version: 'v2020_12_25';
5261
- namespace: 'Mercury';
5262
- name: '';
5263
- fields: {
5264
- /** . */
5265
- 'shouldOnlyShowMine': {
5266
- type: 'boolean';
5267
- options: undefined;
5268
- };
5269
- /** . */
5270
- 'shouldOnlyShowWhereIAmEmployed': {
5271
- type: 'boolean';
5272
- options: undefined;
5273
- };
5274
- /** . */
5275
- 'shouldIncludePrivateOrganizations': {
5276
- type: 'boolean';
5277
- options: undefined;
5278
- };
5279
- /** . */
5280
- 'paging': {
5281
- type: 'schema';
5282
- options: {
5283
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequestSchema;
5284
- };
5285
- };
5286
- };
5287
- }
5288
- interface ListOrgsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayloadSchema> {
5289
- }
5290
- }
5291
6004
  namespace SpruceSchemas.Mercury.v2020_12_25 {
5292
6005
  interface ListOrgsResponsePayload {
5293
6006
  'organizations': SpruceSchemas.Spruce.v2020_07_22.Organization[];
@@ -5380,6 +6093,46 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
5380
6093
  interface ListPeopleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitPayloadSchema> {
5381
6094
  }
5382
6095
  }
6096
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
6097
+ interface ListPeopleEmitTargetAndPayload {
6098
+ /** Source. */
6099
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
6100
+ 'target'?: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitTarget | undefined | null;
6101
+ 'payload'?: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitPayload | undefined | null;
6102
+ }
6103
+ interface ListPeopleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
6104
+ id: 'listPeopleEmitTargetAndPayload';
6105
+ version: 'v2020_12_25';
6106
+ namespace: 'Mercury';
6107
+ name: '';
6108
+ fields: {
6109
+ /** Source. */
6110
+ 'source': {
6111
+ label: 'Source';
6112
+ type: 'schema';
6113
+ options: {
6114
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
6115
+ };
6116
+ };
6117
+ /** . */
6118
+ 'target': {
6119
+ type: 'schema';
6120
+ options: {
6121
+ schema: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitTargetSchema;
6122
+ };
6123
+ };
6124
+ /** . */
6125
+ 'payload': {
6126
+ type: 'schema';
6127
+ options: {
6128
+ schema: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitPayloadSchema;
6129
+ };
6130
+ };
6131
+ };
6132
+ }
6133
+ interface ListPeopleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitTargetAndPayloadSchema> {
6134
+ }
6135
+ }
5383
6136
  namespace SpruceSchemas.Mercury.v2020_12_25 {
5384
6137
  interface ListPerson {
5385
6138
  /** Id. */
@@ -7126,39 +7879,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
7126
7879
  interface LogoutResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.LogoutResponsePayloadSchema> {
7127
7880
  }
7128
7881
  }
7129
- namespace SpruceSchemas.Mercury.v2020_12_25 {
7130
- interface RegisterConversationTopicsEmitTargetAndPayload {
7131
- /** Source. */
7132
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
7133
- 'payload': SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitPayload;
7134
- }
7135
- interface RegisterConversationTopicsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
7136
- id: 'registerConversationTopicsEmitTargetAndPayload';
7137
- version: 'v2020_12_25';
7138
- namespace: 'Mercury';
7139
- name: '';
7140
- fields: {
7141
- /** Source. */
7142
- 'source': {
7143
- label: 'Source';
7144
- type: 'schema';
7145
- options: {
7146
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
7147
- };
7148
- };
7149
- /** . */
7150
- 'payload': {
7151
- type: 'schema';
7152
- isRequired: true;
7153
- options: {
7154
- schema: SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitPayloadSchema;
7155
- };
7156
- };
7157
- };
7158
- }
7159
- interface RegisterConversationTopicsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitTargetAndPayloadSchema> {
7160
- }
7161
- }
7162
7882
  namespace SpruceSchemas.Mercury.v2020_12_25 {
7163
7883
  interface RegisterConversationTopicEmitPayloadTopic {
7164
7884
  /** Key. A way to identify this topic, must be unique for your skill. */
@@ -7207,6 +7927,39 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
7207
7927
  interface RegisterConversationTopicsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitPayloadSchema> {
7208
7928
  }
7209
7929
  }
7930
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
7931
+ interface RegisterConversationTopicsEmitTargetAndPayload {
7932
+ /** Source. */
7933
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
7934
+ 'payload': SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitPayload;
7935
+ }
7936
+ interface RegisterConversationTopicsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
7937
+ id: 'registerConversationTopicsEmitTargetAndPayload';
7938
+ version: 'v2020_12_25';
7939
+ namespace: 'Mercury';
7940
+ name: '';
7941
+ fields: {
7942
+ /** Source. */
7943
+ 'source': {
7944
+ label: 'Source';
7945
+ type: 'schema';
7946
+ options: {
7947
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
7948
+ };
7949
+ };
7950
+ /** . */
7951
+ 'payload': {
7952
+ type: 'schema';
7953
+ isRequired: true;
7954
+ options: {
7955
+ schema: SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitPayloadSchema;
7956
+ };
7957
+ };
7958
+ };
7959
+ }
7960
+ interface RegisterConversationTopicsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitTargetAndPayloadSchema> {
7961
+ }
7962
+ }
7210
7963
  namespace SpruceSchemas.Mercury.v2020_12_25 {
7211
7964
  interface RegisterConversationTopicsResponsePayload {
7212
7965
  }
@@ -7788,7 +8541,32 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
7788
8541
  }
7789
8542
  }
7790
8543
  namespace SpruceSchemas.Mercury.v2020_12_25 {
7791
- interface SavePermissionsEmitTargetAndPayload {
8544
+ interface SavePermissionsEmitPayload {
8545
+ 'permissions': SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermission[];
8546
+ }
8547
+ interface SavePermissionsEmitPayloadSchema extends SpruceSchema.Schema {
8548
+ id: 'savePermissionsEmitPayload';
8549
+ version: 'v2020_12_25';
8550
+ namespace: 'Mercury';
8551
+ name: '';
8552
+ fields: {
8553
+ /** . */
8554
+ 'permissions': {
8555
+ type: 'schema';
8556
+ isRequired: true;
8557
+ isArray: true;
8558
+ minArrayLength: 1;
8559
+ options: {
8560
+ schema: SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermissionSchema;
8561
+ };
8562
+ };
8563
+ };
8564
+ }
8565
+ interface SavePermissionsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitPayloadSchema> {
8566
+ }
8567
+ }
8568
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
8569
+ interface SavePermissionsEmitTargetAndPayload {
7792
8570
  /** Source. */
7793
8571
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
7794
8572
  'target': SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitTarget;
@@ -7862,31 +8640,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
7862
8640
  interface SavePermissionsPermissionEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermissionSchema> {
7863
8641
  }
7864
8642
  }
7865
- namespace SpruceSchemas.Mercury.v2020_12_25 {
7866
- interface SavePermissionsEmitPayload {
7867
- 'permissions': SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermission[];
7868
- }
7869
- interface SavePermissionsEmitPayloadSchema extends SpruceSchema.Schema {
7870
- id: 'savePermissionsEmitPayload';
7871
- version: 'v2020_12_25';
7872
- namespace: 'Mercury';
7873
- name: '';
7874
- fields: {
7875
- /** . */
7876
- 'permissions': {
7877
- type: 'schema';
7878
- isRequired: true;
7879
- isArray: true;
7880
- minArrayLength: 1;
7881
- options: {
7882
- schema: SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermissionSchema;
7883
- };
7884
- };
7885
- };
7886
- }
7887
- interface SavePermissionsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitPayloadSchema> {
7888
- }
7889
- }
7890
8643
  namespace SpruceSchemas.Mercury.v2020_12_25 {
7891
8644
  interface SavePermissionsResponsePayload {
7892
8645
  'success': boolean;
@@ -8023,6 +8776,47 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
8023
8776
  interface SendMessageTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema> {
8024
8777
  }
8025
8778
  }
8779
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
8780
+ interface SendMessageEmitTargetAndPayload {
8781
+ /** Source. */
8782
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
8783
+ 'target'?: SpruceSchemas.Mercury.v2020_12_25.SendMessageTarget | undefined | null;
8784
+ 'payload': SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayload;
8785
+ }
8786
+ interface SendMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
8787
+ id: 'sendMessageEmitTargetAndPayload';
8788
+ version: 'v2020_12_25';
8789
+ namespace: 'Mercury';
8790
+ name: '';
8791
+ fields: {
8792
+ /** Source. */
8793
+ 'source': {
8794
+ label: 'Source';
8795
+ type: 'schema';
8796
+ options: {
8797
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
8798
+ };
8799
+ };
8800
+ /** . */
8801
+ 'target': {
8802
+ type: 'schema';
8803
+ options: {
8804
+ schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema;
8805
+ };
8806
+ };
8807
+ /** . */
8808
+ 'payload': {
8809
+ type: 'schema';
8810
+ isRequired: true;
8811
+ options: {
8812
+ schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema;
8813
+ };
8814
+ };
8815
+ };
8816
+ }
8817
+ interface SendMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitTargetAndPayloadSchema> {
8818
+ }
8819
+ }
8026
8820
  namespace SpruceSchemas.Mercury.v2020_12_25 {
8027
8821
  interface SendMessageMessagePayload {
8028
8822
  /** . An arbitrary id that can be used to track this message when being sent and not yet assigned an Id. */
@@ -8130,47 +8924,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
8130
8924
  interface SendMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema> {
8131
8925
  }
8132
8926
  }
8133
- namespace SpruceSchemas.Mercury.v2020_12_25 {
8134
- interface SendMessageEmitTargetAndPayload {
8135
- /** Source. */
8136
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
8137
- 'target'?: SpruceSchemas.Mercury.v2020_12_25.SendMessageTarget | undefined | null;
8138
- 'payload': SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayload;
8139
- }
8140
- interface SendMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
8141
- id: 'sendMessageEmitTargetAndPayload';
8142
- version: 'v2020_12_25';
8143
- namespace: 'Mercury';
8144
- name: '';
8145
- fields: {
8146
- /** Source. */
8147
- 'source': {
8148
- label: 'Source';
8149
- type: 'schema';
8150
- options: {
8151
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
8152
- };
8153
- };
8154
- /** . */
8155
- 'target': {
8156
- type: 'schema';
8157
- options: {
8158
- schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema;
8159
- };
8160
- };
8161
- /** . */
8162
- 'payload': {
8163
- type: 'schema';
8164
- isRequired: true;
8165
- options: {
8166
- schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema;
8167
- };
8168
- };
8169
- };
8170
- }
8171
- interface SendMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitTargetAndPayloadSchema> {
8172
- }
8173
- }
8174
8927
  namespace SpruceSchemas.Mercury.v2020_12_25 {
8175
8928
  interface SendMessageResponsePayload {
8176
8929
  'message': SpruceSchemas.Spruce.v2020_07_22.Message;
@@ -8392,6 +9145,31 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
8392
9145
  interface SyncPermissionContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsEmitPayloadSchema> {
8393
9146
  }
8394
9147
  }
9148
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
9149
+ interface SyncPermissionContractsResponsePayload {
9150
+ 'contractRecords': SpruceSchemas.Mercury.v2020_12_25.FullPermissionContract[];
9151
+ }
9152
+ interface SyncPermissionContractsResponsePayloadSchema extends SpruceSchema.Schema {
9153
+ id: 'syncPermissionContractsResponsePayload';
9154
+ version: 'v2020_12_25';
9155
+ namespace: 'Mercury';
9156
+ name: '';
9157
+ fields: {
9158
+ /** . */
9159
+ 'contractRecords': {
9160
+ type: 'schema';
9161
+ isRequired: true;
9162
+ isArray: true;
9163
+ minArrayLength: 0;
9164
+ options: {
9165
+ schema: SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema;
9166
+ };
9167
+ };
9168
+ };
9169
+ }
9170
+ interface SyncPermissionContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsResponsePayloadSchema> {
9171
+ }
9172
+ }
8395
9173
  namespace SpruceSchemas.Mercury.v2020_12_25 {
8396
9174
  interface SyncPermissionContractsEmitTargetAndPayload {
8397
9175
  /** Source. */
@@ -8477,31 +9255,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
8477
9255
  interface FullPermissionContractEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema> {
8478
9256
  }
8479
9257
  }
8480
- namespace SpruceSchemas.Mercury.v2020_12_25 {
8481
- interface SyncPermissionContractsResponsePayload {
8482
- 'contractRecords': SpruceSchemas.Mercury.v2020_12_25.FullPermissionContract[];
8483
- }
8484
- interface SyncPermissionContractsResponsePayloadSchema extends SpruceSchema.Schema {
8485
- id: 'syncPermissionContractsResponsePayload';
8486
- version: 'v2020_12_25';
8487
- namespace: 'Mercury';
8488
- name: '';
8489
- fields: {
8490
- /** . */
8491
- 'contractRecords': {
8492
- type: 'schema';
8493
- isRequired: true;
8494
- isArray: true;
8495
- minArrayLength: 0;
8496
- options: {
8497
- schema: SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema;
8498
- };
8499
- };
8500
- };
8501
- }
8502
- interface SyncPermissionContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsResponsePayloadSchema> {
8503
- }
8504
- }
8505
9258
  namespace SpruceSchemas.Mercury.v2020_12_25 {
8506
9259
  interface UnInstallSkillEmitTarget {
8507
9260
  'skillId': string;
@@ -11296,872 +12049,77 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
11296
12049
  "value": "Pacific/Tarawa";
11297
12050
  "label": "Gilbert Islands Time";
11298
12051
  }, {
11299
- "value": "Pacific/Kwajalein";
11300
- "label": "Marshall Islands Time - Kwajalein";
11301
- }, {
11302
- "value": "Pacific/Majuro";
11303
- "label": "Marshall Islands Time - Majuro";
11304
- }, {
11305
- "value": "Pacific/Nauru";
11306
- "label": "Nauru Time";
11307
- }, {
11308
- "value": "Pacific/Auckland";
11309
- "label": "New Zealand Time";
11310
- }, {
11311
- "value": "Asia/Kamchatka";
11312
- "label": "Petropavlovsk-Kamchatski Standard Time";
11313
- }, {
11314
- "value": "Pacific/Funafuti";
11315
- "label": "Tuvalu Time";
11316
- }, {
11317
- "value": "Pacific/Wake";
11318
- "label": "Wake Island Time";
11319
- }, {
11320
- "value": "Pacific/Wallis";
11321
- "label": "Wallis & Futuna Time";
11322
- }, {
11323
- "value": "Pacific/Chatham";
11324
- "label": "Chatham Time";
11325
- }, {
11326
- "value": "Pacific/Apia";
11327
- "label": "Apia Standard Time";
11328
- }, {
11329
- "value": "Pacific/Fakaofo";
11330
- "label": "Tokelau Time";
11331
- }, {
11332
- "value": "Pacific/Tongatapu";
11333
- "label": "Tonga Standard Time";
11334
- }, {
11335
- "value": "Pacific/Kiritimati";
11336
- "label": "Line Islands Time";
11337
- }];
11338
- };
11339
- };
11340
- /** Avatar src. */
11341
- 'avatar': {
11342
- label: 'Avatar src';
11343
- type: 'image';
11344
- options: {
11345
- requiredSizes: ["*"];
11346
- };
11347
- };
11348
- /** Phone. A number that can be texted */
11349
- 'phone': {
11350
- label: 'Phone';
11351
- type: 'phone';
11352
- isPrivate: true;
11353
- hint: 'A number that can be texted';
11354
- options: undefined;
11355
- };
11356
- };
11357
- }
11358
- interface UpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema> {
11359
- }
11360
- }
11361
- namespace SpruceSchemas.Mercury.v2020_12_25 {
11362
- interface UpdatePersonEmitTargetAndPayload {
11363
- /** Source. */
11364
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
11365
- 'target'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTarget | undefined | null;
11366
- 'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayload | undefined | null;
11367
- }
11368
- interface UpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
11369
- id: 'updatePersonEmitTargetAndPayload';
11370
- version: 'v2020_12_25';
11371
- namespace: 'Mercury';
11372
- name: '';
11373
- fields: {
11374
- /** Source. */
11375
- 'source': {
11376
- label: 'Source';
11377
- type: 'schema';
11378
- options: {
11379
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
11380
- };
11381
- };
11382
- /** . */
11383
- 'target': {
11384
- type: 'schema';
11385
- options: {
11386
- schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetSchema;
11387
- };
11388
- };
11389
- /** . */
11390
- 'payload': {
11391
- type: 'schema';
11392
- options: {
11393
- schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema;
11394
- };
11395
- };
11396
- };
11397
- }
11398
- interface UpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetAndPayloadSchema> {
11399
- }
11400
- }
11401
- namespace SpruceSchemas.Mercury.v2020_12_25 {
11402
- interface UpdatePersonResponsePayload {
11403
- 'person': SpruceSchemas.Spruce.v2020_07_22.Person;
11404
- }
11405
- interface UpdatePersonResponsePayloadSchema extends SpruceSchema.Schema {
11406
- id: 'updatePersonResponsePayload';
11407
- version: 'v2020_12_25';
11408
- namespace: 'Mercury';
11409
- name: '';
11410
- fields: {
11411
- /** . */
11412
- 'person': {
11413
- type: 'schema';
11414
- isRequired: true;
11415
- options: {
11416
- schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
11417
- };
11418
- };
11419
- };
11420
- }
11421
- interface UpdatePersonResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonResponsePayloadSchema> {
11422
- }
11423
- }
11424
- namespace SpruceSchemas.Mercury.v2020_12_25 {
11425
- interface UpdateRoleEmitTarget {
11426
- 'roleId': string;
11427
- }
11428
- interface UpdateRoleEmitTargetSchema extends SpruceSchema.Schema {
11429
- id: 'updateRoleEmitTarget';
11430
- version: 'v2020_12_25';
11431
- namespace: 'Mercury';
11432
- name: '';
11433
- fields: {
11434
- /** . */
11435
- 'roleId': {
11436
- type: 'id';
11437
- isRequired: true;
11438
- options: undefined;
11439
- };
11440
- };
11441
- }
11442
- interface UpdateRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema> {
11443
- }
11444
- }
11445
- namespace SpruceSchemas.Mercury.v2020_12_25 {
11446
- interface UpdateRoleEmitPayload {
11447
- /** Name. */
11448
- 'name'?: string | undefined | null;
11449
- /** Base. A best practices starting point for a role based on the generalized roles at a company. */
11450
- 'base'?: ("owner" | "groupManager" | "manager" | "teammate" | "anonymous" | "loggedIn" | "guest") | undefined | null;
11451
- /** Description. */
11452
- 'description'?: string | undefined | null;
11453
- 'dateDeleted'?: number | undefined | null;
11454
- 'organizationId'?: string | undefined | null;
11455
- /** Public. Should I let people that are not part of this organization this role? */
11456
- 'isPublic'?: boolean | undefined | null;
11457
- }
11458
- interface UpdateRoleEmitPayloadSchema extends SpruceSchema.Schema {
11459
- id: 'updateRoleEmitPayload';
11460
- version: 'v2020_12_25';
11461
- namespace: 'Mercury';
11462
- name: '';
11463
- fields: {
11464
- /** Name. */
11465
- 'name': {
11466
- label: 'Name';
11467
- type: 'text';
11468
- options: undefined;
11469
- };
11470
- /** Base. A best practices starting point for a role based on the generalized roles at a company. */
11471
- 'base': {
11472
- label: 'Base';
11473
- type: 'select';
11474
- hint: 'A best practices starting point for a role based on the generalized roles at a company.';
11475
- options: {
11476
- choices: [{
11477
- "label": "Owner";
11478
- "value": "owner";
11479
- }, {
11480
- "label": "Group manager";
11481
- "value": "groupManager";
11482
- }, {
11483
- "label": "Manager";
11484
- "value": "manager";
11485
- }, {
11486
- "label": "Teammate";
11487
- "value": "teammate";
11488
- }, {
11489
- "label": "Anonymous";
11490
- "value": "anonymous";
11491
- }, {
11492
- "label": "Logged in";
11493
- "value": "loggedIn";
11494
- }, {
11495
- "label": "Guest";
11496
- "value": "guest";
11497
- }];
11498
- };
11499
- };
11500
- /** Description. */
11501
- 'description': {
11502
- label: 'Description';
11503
- type: 'text';
11504
- options: undefined;
11505
- };
11506
- /** . */
11507
- 'dateDeleted': {
11508
- type: 'number';
11509
- options: undefined;
11510
- };
11511
- /** . */
11512
- 'organizationId': {
11513
- type: 'id';
11514
- options: undefined;
11515
- };
11516
- /** Public. Should I let people that are not part of this organization this role? */
11517
- 'isPublic': {
11518
- label: 'Public';
11519
- type: 'boolean';
11520
- hint: 'Should I let people that are not part of this organization this role?';
11521
- options: undefined;
11522
- };
11523
- };
11524
- }
11525
- interface UpdateRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema> {
11526
- }
11527
- }
11528
- namespace SpruceSchemas.Mercury.v2020_12_25 {
11529
- interface UpdateRoleEmitTargetAndPayload {
11530
- /** Source. */
11531
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
11532
- 'target': SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTarget;
11533
- 'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayload | undefined | null;
11534
- }
11535
- interface UpdateRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
11536
- id: 'updateRoleEmitTargetAndPayload';
11537
- version: 'v2020_12_25';
11538
- namespace: 'Mercury';
11539
- name: '';
11540
- fields: {
11541
- /** Source. */
11542
- 'source': {
11543
- label: 'Source';
11544
- type: 'schema';
11545
- options: {
11546
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
11547
- };
11548
- };
11549
- /** . */
11550
- 'target': {
11551
- type: 'schema';
11552
- isRequired: true;
11553
- options: {
11554
- schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema;
11555
- };
11556
- };
11557
- /** . */
11558
- 'payload': {
11559
- type: 'schema';
11560
- options: {
11561
- schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema;
11562
- };
11563
- };
11564
- };
11565
- }
11566
- interface UpdateRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetAndPayloadSchema> {
11567
- }
11568
- }
11569
- namespace SpruceSchemas.Mercury.v2020_12_25 {
11570
- interface UpdateRoleResponsePayload {
11571
- 'role': SpruceSchemas.Spruce.v2020_07_22.Role;
11572
- }
11573
- interface UpdateRoleResponsePayloadSchema extends SpruceSchema.Schema {
11574
- id: 'updateRoleResponsePayload';
11575
- version: 'v2020_12_25';
11576
- namespace: 'Mercury';
11577
- name: '';
11578
- fields: {
11579
- /** . */
11580
- 'role': {
11581
- type: 'schema';
11582
- isRequired: true;
11583
- options: {
11584
- schema: SpruceSchemas.Spruce.v2020_07_22.RoleSchema;
11585
- };
11586
- };
11587
- };
11588
- }
11589
- interface UpdateRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleResponsePayloadSchema> {
11590
- }
11591
- }
11592
- namespace SpruceSchemas.Mercury.v2020_12_25 {
11593
- interface UpsertPermissionContractEmitTarget {
11594
- 'organizationId': string;
11595
- 'permissionContractId': string;
11596
- 'roleId': string;
11597
- 'skillId'?: string | undefined | null;
11598
- }
11599
- interface UpsertPermissionContractEmitTargetSchema extends SpruceSchema.Schema {
11600
- id: 'upsertPermissionContractEmitTarget';
11601
- version: 'v2020_12_25';
11602
- namespace: 'Mercury';
11603
- name: '';
11604
- fields: {
11605
- /** . */
11606
- 'organizationId': {
11607
- type: 'id';
11608
- isRequired: true;
11609
- options: undefined;
11610
- };
11611
- /** . */
11612
- 'permissionContractId': {
11613
- type: 'id';
11614
- isRequired: true;
11615
- options: undefined;
11616
- };
11617
- /** . */
11618
- 'roleId': {
11619
- type: 'id';
11620
- isRequired: true;
11621
- options: undefined;
11622
- };
11623
- /** . */
11624
- 'skillId': {
11625
- type: 'id';
11626
- options: undefined;
11627
- };
11628
- };
11629
- }
11630
- interface UpsertPermissionContractEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema> {
11631
- }
11632
- }
11633
- namespace SpruceSchemas.Mercury.v2020_12_25 {
11634
- interface UpsertPermissionContractEmitTargetAndPayload {
11635
- /** Source. */
11636
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
11637
- 'target': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTarget;
11638
- 'payload': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayload;
11639
- }
11640
- interface UpsertPermissionContractEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
11641
- id: 'upsertPermissionContractEmitTargetAndPayload';
11642
- version: 'v2020_12_25';
11643
- namespace: 'Mercury';
11644
- name: '';
11645
- fields: {
11646
- /** Source. */
11647
- 'source': {
11648
- label: 'Source';
11649
- type: 'schema';
11650
- options: {
11651
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
11652
- };
11653
- };
11654
- /** . */
11655
- 'target': {
11656
- type: 'schema';
11657
- isRequired: true;
11658
- options: {
11659
- schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema;
11660
- };
11661
- };
11662
- /** . */
11663
- 'payload': {
11664
- type: 'schema';
11665
- isRequired: true;
11666
- options: {
11667
- schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema;
11668
- };
11669
- };
11670
- };
11671
- }
11672
- interface UpsertPermissionContractEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetAndPayloadSchema> {
11673
- }
11674
- }
11675
- namespace SpruceSchemas.Mercury.v2020_12_25 {
11676
- interface UpsertPermissionContractsEmitPayload {
11677
- /** Name. Human readable name for this contract */
11678
- 'name': string;
11679
- /** Description. */
11680
- 'description'?: string | undefined | null;
11681
- /** Require all permissions. */
11682
- 'requireAllPermissions'?: boolean | undefined | null;
11683
- 'permissions': SpruceSchemas.Mercury.v2020_12_25.Permission[];
11684
- }
11685
- interface UpsertPermissionContractsEmitPayloadSchema extends SpruceSchema.Schema {
11686
- id: 'upsertPermissionContractsEmitPayload';
11687
- version: 'v2020_12_25';
11688
- namespace: 'Mercury';
11689
- name: '';
11690
- fields: {
11691
- /** Name. Human readable name for this contract */
11692
- 'name': {
11693
- label: 'Name';
11694
- type: 'text';
11695
- isRequired: true;
11696
- hint: 'Human readable name for this contract';
11697
- options: undefined;
11698
- };
11699
- /** Description. */
11700
- 'description': {
11701
- label: 'Description';
11702
- type: 'text';
11703
- options: undefined;
11704
- };
11705
- /** Require all permissions. */
11706
- 'requireAllPermissions': {
11707
- label: 'Require all permissions';
11708
- type: 'boolean';
11709
- defaultValue: false;
11710
- options: undefined;
11711
- };
11712
- /** . */
11713
- 'permissions': {
11714
- type: 'schema';
11715
- isRequired: true;
11716
- isArray: true;
11717
- minArrayLength: 0;
11718
- options: {
11719
- schema: SpruceSchemas.Mercury.v2020_12_25.PermissionSchema;
11720
- };
11721
- };
11722
- };
11723
- }
11724
- interface UpsertPermissionContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema> {
11725
- }
11726
- }
11727
- namespace SpruceSchemas.Mercury.v2020_12_25 {
11728
- interface UpsertPermissionContractResponsePayload {
11729
- 'permissionContract': SpruceSchemas.Mercury.v2020_12_25.PermissionContract;
11730
- }
11731
- interface UpsertPermissionContractResponsePayloadSchema extends SpruceSchema.Schema {
11732
- id: 'upsertPermissionContractResponsePayload';
11733
- version: 'v2020_12_25';
11734
- namespace: 'Mercury';
11735
- name: '';
11736
- fields: {
11737
- /** . */
11738
- 'permissionContract': {
11739
- type: 'schema';
11740
- isRequired: true;
11741
- options: {
11742
- schema: SpruceSchemas.Mercury.v2020_12_25.PermissionContractSchema;
11743
- };
11744
- };
11745
- };
11746
- }
11747
- interface UpsertPermissionContractResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractResponsePayloadSchema> {
11748
- }
11749
- }
11750
- namespace SpruceSchemas.Mercury.v2020_12_25 {
11751
- interface VoteForFeatureEmitPayload {
11752
- 'featureKey': string;
11753
- 'skillNamespace': string;
11754
- }
11755
- interface VoteForFeatureEmitPayloadSchema extends SpruceSchema.Schema {
11756
- id: 'voteForFeatureEmitPayload';
11757
- version: 'v2020_12_25';
11758
- namespace: 'Mercury';
11759
- name: '';
11760
- fields: {
11761
- /** . */
11762
- 'featureKey': {
11763
- type: 'id';
11764
- isRequired: true;
11765
- options: undefined;
11766
- };
11767
- /** . */
11768
- 'skillNamespace': {
11769
- type: 'id';
11770
- isRequired: true;
11771
- options: undefined;
11772
- };
11773
- };
11774
- }
11775
- interface VoteForFeatureEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema> {
11776
- }
11777
- }
11778
- namespace SpruceSchemas.Mercury.v2020_12_25 {
11779
- interface VoteForFeatureEmitTargetAndPayload {
11780
- /** Source. */
11781
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
11782
- 'payload': SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayload;
11783
- }
11784
- interface VoteForFeatureEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
11785
- id: 'voteForFeatureEmitTargetAndPayload';
11786
- version: 'v2020_12_25';
11787
- namespace: 'Mercury';
11788
- name: '';
11789
- fields: {
11790
- /** Source. */
11791
- 'source': {
11792
- label: 'Source';
11793
- type: 'schema';
11794
- options: {
11795
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
11796
- };
11797
- };
11798
- /** . */
11799
- 'payload': {
11800
- type: 'schema';
11801
- isRequired: true;
11802
- options: {
11803
- schema: SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema;
11804
- };
11805
- };
11806
- };
11807
- }
11808
- interface VoteForFeatureEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitTargetAndPayloadSchema> {
11809
- }
11810
- }
11811
- namespace SpruceSchemas.Mercury.v2020_12_25 {
11812
- interface VoteForFeatureResponsePayload {
11813
- 'totalVotes': number;
11814
- }
11815
- interface VoteForFeatureResponsePayloadSchema extends SpruceSchema.Schema {
11816
- id: 'voteForFeatureResponsePayload';
11817
- version: 'v2020_12_25';
11818
- namespace: 'Mercury';
11819
- name: '';
11820
- fields: {
11821
- /** . */
11822
- 'totalVotes': {
11823
- type: 'number';
11824
- isRequired: true;
11825
- options: undefined;
11826
- };
11827
- };
11828
- }
11829
- interface VoteForFeatureResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureResponsePayloadSchema> {
11830
- }
11831
- }
11832
- namespace SpruceSchemas.Mercury.v2020_12_25 {
11833
- interface WhoamiEmitTargetAndPayload {
11834
- /** Source. */
11835
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
11836
- }
11837
- interface WhoamiEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
11838
- id: 'whoamiEmitTargetAndPayload';
11839
- version: 'v2020_12_25';
11840
- namespace: 'Mercury';
11841
- name: '';
11842
- fields: {
11843
- /** Source. */
11844
- 'source': {
11845
- label: 'Source';
11846
- type: 'schema';
11847
- options: {
11848
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
11849
- };
11850
- };
11851
- };
11852
- }
11853
- interface WhoamiEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.WhoamiEmitTargetAndPayloadSchema> {
11854
- }
11855
- }
11856
- namespace SpruceSchemas.Mercury.v2020_12_25 {
11857
- interface DidInstallEmitTarget {
11858
- 'organizationId': string;
11859
- 'skillId': string;
11860
- }
11861
- interface DidInstallEmitTargetSchema extends SpruceSchema.Schema {
11862
- id: 'didInstallEmitTarget';
11863
- version: 'v2020_12_25';
11864
- namespace: 'Mercury';
11865
- name: '';
11866
- fields: {
11867
- /** . */
11868
- 'organizationId': {
11869
- type: 'id';
11870
- isRequired: true;
11871
- options: undefined;
11872
- };
11873
- /** . */
11874
- 'skillId': {
11875
- type: 'id';
11876
- isRequired: true;
11877
- options: undefined;
11878
- };
11879
- };
11880
- }
11881
- interface DidInstallEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema> {
11882
- }
11883
- }
11884
- namespace SpruceSchemas.Mercury.v2020_12_25 {
11885
- interface DidInstallEmitTargetAndPayload {
11886
- /** Source. */
11887
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
11888
- 'target': SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTarget;
11889
- }
11890
- interface DidInstallEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
11891
- id: 'didInstallEmitTargetAndPayload';
11892
- version: 'v2020_12_25';
11893
- namespace: 'Mercury';
11894
- name: '';
11895
- fields: {
11896
- /** Source. */
11897
- 'source': {
11898
- label: 'Source';
11899
- type: 'schema';
11900
- options: {
11901
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
11902
- };
11903
- };
11904
- /** . */
11905
- 'target': {
11906
- type: 'schema';
11907
- isRequired: true;
11908
- options: {
11909
- schema: SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema;
11910
- };
11911
- };
11912
- };
11913
- }
11914
- interface DidInstallEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetAndPayloadSchema> {
11915
- }
11916
- }
11917
- namespace SpruceSchemas.Mercury.v2020_12_25 {
11918
- interface DidInstallResponsePayload {
11919
- }
11920
- interface DidInstallResponsePayloadSchema extends SpruceSchema.Schema {
11921
- id: 'didInstallResponsePayload';
11922
- version: 'v2020_12_25';
11923
- namespace: 'Mercury';
11924
- name: '';
11925
- fields: {};
11926
- }
11927
- interface DidInstallResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallResponsePayloadSchema> {
11928
- }
11929
- }
11930
- namespace SpruceSchemas.Mercury.v2020_12_25 {
11931
- interface DidJoinOrganizationEmitTarget {
11932
- 'organizationId': string;
11933
- 'locationId'?: string | undefined | null;
11934
- }
11935
- interface DidJoinOrganizationEmitTargetSchema extends SpruceSchema.Schema {
11936
- id: 'didJoinOrganizationEmitTarget';
11937
- version: 'v2020_12_25';
11938
- namespace: 'Mercury';
11939
- name: '';
11940
- fields: {
11941
- /** . */
11942
- 'organizationId': {
11943
- type: 'id';
11944
- isRequired: true;
11945
- options: undefined;
11946
- };
11947
- /** . */
11948
- 'locationId': {
11949
- type: 'id';
11950
- options: undefined;
11951
- };
11952
- };
11953
- }
11954
- interface DidJoinOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema> {
11955
- }
11956
- }
11957
- namespace SpruceSchemas.Mercury.v2020_12_25 {
11958
- interface DidJoinOrganizationEmitPayload {
11959
- 'personId': string;
11960
- 'roleId': string;
11961
- 'isFirstRole': boolean;
11962
- }
11963
- interface DidJoinOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
11964
- id: 'didJoinOrganizationEmitPayload';
11965
- version: 'v2020_12_25';
11966
- namespace: 'Mercury';
11967
- name: '';
11968
- fields: {
11969
- /** . */
11970
- 'personId': {
11971
- type: 'id';
11972
- isRequired: true;
11973
- options: undefined;
11974
- };
11975
- /** . */
11976
- 'roleId': {
11977
- type: 'id';
11978
- isRequired: true;
11979
- options: undefined;
11980
- };
11981
- /** . */
11982
- 'isFirstRole': {
11983
- type: 'boolean';
11984
- isRequired: true;
11985
- options: undefined;
11986
- };
11987
- };
11988
- }
11989
- interface DidJoinOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema> {
11990
- }
11991
- }
11992
- namespace SpruceSchemas.Mercury.v2020_12_25 {
11993
- interface DidJoinOrganizationEmitTargetAndPayload {
11994
- /** Source. */
11995
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
11996
- 'target': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTarget;
11997
- 'payload': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayload;
11998
- }
11999
- interface DidJoinOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
12000
- id: 'didJoinOrganizationEmitTargetAndPayload';
12001
- version: 'v2020_12_25';
12002
- namespace: 'Mercury';
12003
- name: '';
12004
- fields: {
12005
- /** Source. */
12006
- 'source': {
12007
- label: 'Source';
12008
- type: 'schema';
12009
- options: {
12010
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
12011
- };
12012
- };
12013
- /** . */
12014
- 'target': {
12015
- type: 'schema';
12016
- isRequired: true;
12017
- options: {
12018
- schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema;
12019
- };
12020
- };
12021
- /** . */
12022
- 'payload': {
12023
- type: 'schema';
12024
- isRequired: true;
12025
- options: {
12026
- schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema;
12027
- };
12028
- };
12029
- };
12030
- }
12031
- interface DidJoinOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetAndPayloadSchema> {
12032
- }
12033
- }
12034
- namespace SpruceSchemas.Mercury.v2020_12_25 {
12035
- interface MessageTemplateAddons {
12036
- 'nextINeedYouTo'?: string[] | undefined | null;
12037
- 'youShouldKnowThat'?: string[] | undefined | null;
12038
- 'links'?: SpruceSchemas.Spruce.v2020_07_22.Link[] | undefined | null;
12039
- }
12040
- interface MessageTemplateAddonsSchema extends SpruceSchema.Schema {
12041
- id: 'messageTemplateAddons';
12042
- version: 'v2020_12_25';
12043
- namespace: 'Mercury';
12044
- name: '';
12045
- fields: {
12046
- /** . */
12047
- 'nextINeedYouTo': {
12048
- type: 'text';
12049
- isArray: true;
12050
- options: undefined;
12051
- };
12052
- /** . */
12053
- 'youShouldKnowThat': {
12054
- type: 'text';
12055
- isArray: true;
12056
- options: undefined;
12057
- };
12058
- /** . */
12059
- 'links': {
12060
- type: 'schema';
12061
- isArray: true;
12062
- minArrayLength: 0;
12063
- options: {
12064
- schema: SpruceSchemas.Spruce.v2020_07_22.LinkSchema;
12065
- };
12066
- };
12067
- };
12068
- }
12069
- interface MessageTemplateAddonsEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema> {
12070
- }
12071
- }
12072
- namespace SpruceSchemas.Mercury.v2020_12_25 {
12073
- interface DidJoinOrganizationResponsePayload {
12074
- 'messaging'?: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddons | undefined | null;
12075
- }
12076
- interface DidJoinOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
12077
- id: 'didJoinOrganizationResponsePayload';
12078
- version: 'v2020_12_25';
12079
- namespace: 'Mercury';
12080
- name: '';
12081
- fields: {
12082
- /** . */
12083
- 'messaging': {
12084
- type: 'schema';
12085
- options: {
12086
- schema: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema;
12087
- };
12088
- };
12089
- };
12090
- }
12091
- interface DidJoinOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationResponsePayloadSchema> {
12092
- }
12093
- }
12094
- namespace SpruceSchemas.Mercury.v2020_12_25 {
12095
- interface DidLeaveOrganizationEmitTarget {
12096
- 'organizationId': string;
12097
- 'locationId'?: string | undefined | null;
12098
- }
12099
- interface DidLeaveOrganizationEmitTargetSchema extends SpruceSchema.Schema {
12100
- id: 'didLeaveOrganizationEmitTarget';
12101
- version: 'v2020_12_25';
12102
- namespace: 'Mercury';
12103
- name: '';
12104
- fields: {
12105
- /** . */
12106
- 'organizationId': {
12107
- type: 'id';
12108
- isRequired: true;
12109
- options: undefined;
12110
- };
12111
- /** . */
12112
- 'locationId': {
12113
- type: 'id';
12114
- options: undefined;
12115
- };
12116
- };
12117
- }
12118
- interface DidLeaveOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema> {
12119
- }
12120
- }
12121
- namespace SpruceSchemas.Mercury.v2020_12_25 {
12122
- interface DidLeaveOrganizationEmitPayload {
12123
- 'personId': string;
12124
- 'roleId': string;
12125
- 'isLastRole': boolean;
12126
- }
12127
- interface DidLeaveOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
12128
- id: 'didLeaveOrganizationEmitPayload';
12129
- version: 'v2020_12_25';
12130
- namespace: 'Mercury';
12131
- name: '';
12132
- fields: {
12133
- /** . */
12134
- 'personId': {
12135
- type: 'id';
12136
- isRequired: true;
12137
- options: undefined;
12052
+ "value": "Pacific/Kwajalein";
12053
+ "label": "Marshall Islands Time - Kwajalein";
12054
+ }, {
12055
+ "value": "Pacific/Majuro";
12056
+ "label": "Marshall Islands Time - Majuro";
12057
+ }, {
12058
+ "value": "Pacific/Nauru";
12059
+ "label": "Nauru Time";
12060
+ }, {
12061
+ "value": "Pacific/Auckland";
12062
+ "label": "New Zealand Time";
12063
+ }, {
12064
+ "value": "Asia/Kamchatka";
12065
+ "label": "Petropavlovsk-Kamchatski Standard Time";
12066
+ }, {
12067
+ "value": "Pacific/Funafuti";
12068
+ "label": "Tuvalu Time";
12069
+ }, {
12070
+ "value": "Pacific/Wake";
12071
+ "label": "Wake Island Time";
12072
+ }, {
12073
+ "value": "Pacific/Wallis";
12074
+ "label": "Wallis & Futuna Time";
12075
+ }, {
12076
+ "value": "Pacific/Chatham";
12077
+ "label": "Chatham Time";
12078
+ }, {
12079
+ "value": "Pacific/Apia";
12080
+ "label": "Apia Standard Time";
12081
+ }, {
12082
+ "value": "Pacific/Fakaofo";
12083
+ "label": "Tokelau Time";
12084
+ }, {
12085
+ "value": "Pacific/Tongatapu";
12086
+ "label": "Tonga Standard Time";
12087
+ }, {
12088
+ "value": "Pacific/Kiritimati";
12089
+ "label": "Line Islands Time";
12090
+ }];
12091
+ };
12138
12092
  };
12139
- /** . */
12140
- 'roleId': {
12141
- type: 'id';
12142
- isRequired: true;
12143
- options: undefined;
12093
+ /** Avatar src. */
12094
+ 'avatar': {
12095
+ label: 'Avatar src';
12096
+ type: 'image';
12097
+ options: {
12098
+ requiredSizes: ["*"];
12099
+ };
12144
12100
  };
12145
- /** . */
12146
- 'isLastRole': {
12147
- type: 'boolean';
12148
- isRequired: true;
12101
+ /** Phone. A number that can be texted */
12102
+ 'phone': {
12103
+ label: 'Phone';
12104
+ type: 'phone';
12105
+ isPrivate: true;
12106
+ hint: 'A number that can be texted';
12149
12107
  options: undefined;
12150
12108
  };
12151
12109
  };
12152
12110
  }
12153
- interface DidLeaveOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema> {
12111
+ interface UpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema> {
12154
12112
  }
12155
12113
  }
12156
12114
  namespace SpruceSchemas.Mercury.v2020_12_25 {
12157
- interface DidLeaveOrganizationEmitTargetAndPayload {
12115
+ interface UpdatePersonEmitTargetAndPayload {
12158
12116
  /** Source. */
12159
12117
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
12160
- 'target': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTarget;
12161
- 'payload': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayload;
12118
+ 'target'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTarget | undefined | null;
12119
+ 'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayload | undefined | null;
12162
12120
  }
12163
- interface DidLeaveOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
12164
- id: 'didLeaveOrganizationEmitTargetAndPayload';
12121
+ interface UpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
12122
+ id: 'updatePersonEmitTargetAndPayload';
12165
12123
  version: 'v2020_12_25';
12166
12124
  namespace: 'Mercury';
12167
12125
  name: '';
@@ -12177,254 +12135,242 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
12177
12135
  /** . */
12178
12136
  'target': {
12179
12137
  type: 'schema';
12180
- isRequired: true;
12181
12138
  options: {
12182
- schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema;
12139
+ schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetSchema;
12183
12140
  };
12184
12141
  };
12185
12142
  /** . */
12186
12143
  'payload': {
12187
12144
  type: 'schema';
12188
- isRequired: true;
12189
12145
  options: {
12190
- schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema;
12146
+ schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema;
12191
12147
  };
12192
12148
  };
12193
12149
  };
12194
12150
  }
12195
- interface DidLeaveOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetAndPayloadSchema> {
12196
- }
12197
- }
12198
- namespace SpruceSchemas.Mercury.v2020_12_25 {
12199
- interface DidLeaveOrganizationResponsePayload {
12200
- }
12201
- interface DidLeaveOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
12202
- id: 'didLeaveOrganizationResponsePayload';
12203
- version: 'v2020_12_25';
12204
- namespace: 'Mercury';
12205
- name: '';
12206
- fields: {};
12207
- }
12208
- interface DidLeaveOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationResponsePayloadSchema> {
12151
+ interface UpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetAndPayloadSchema> {
12209
12152
  }
12210
12153
  }
12211
12154
  namespace SpruceSchemas.Mercury.v2020_12_25 {
12212
- interface DidMessageEmitPayload {
12213
- 'message': SpruceSchemas.Spruce.v2020_07_22.Message;
12214
- 'conversationState'?: string | undefined | null;
12215
- 'topic'?: string | undefined | null;
12155
+ interface UpdatePersonResponsePayload {
12156
+ 'person': SpruceSchemas.Spruce.v2020_07_22.Person;
12216
12157
  }
12217
- interface DidMessageEmitPayloadSchema extends SpruceSchema.Schema {
12218
- id: 'didMessageEmitPayload';
12158
+ interface UpdatePersonResponsePayloadSchema extends SpruceSchema.Schema {
12159
+ id: 'updatePersonResponsePayload';
12219
12160
  version: 'v2020_12_25';
12220
12161
  namespace: 'Mercury';
12221
12162
  name: '';
12222
12163
  fields: {
12223
12164
  /** . */
12224
- 'message': {
12165
+ 'person': {
12225
12166
  type: 'schema';
12226
12167
  isRequired: true;
12227
12168
  options: {
12228
- schema: SpruceSchemas.Spruce.v2020_07_22.MessageSchema;
12169
+ schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
12229
12170
  };
12230
12171
  };
12231
- /** . */
12232
- 'conversationState': {
12233
- type: 'text';
12234
- options: undefined;
12235
- };
12236
- /** . */
12237
- 'topic': {
12238
- type: 'text';
12239
- options: undefined;
12240
- };
12241
12172
  };
12242
12173
  }
12243
- interface DidMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema> {
12174
+ interface UpdatePersonResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonResponsePayloadSchema> {
12244
12175
  }
12245
12176
  }
12246
12177
  namespace SpruceSchemas.Mercury.v2020_12_25 {
12247
- interface DidMessageEmitTargetAndPayload {
12248
- /** Source. */
12249
- 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
12250
- 'target'?: SpruceSchemas.Spruce.v2020_07_22.MessageTarget | undefined | null;
12251
- 'payload': SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayload;
12178
+ interface UpdateRoleEmitTarget {
12179
+ 'roleId': string;
12252
12180
  }
12253
- interface DidMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
12254
- id: 'didMessageEmitTargetAndPayload';
12181
+ interface UpdateRoleEmitTargetSchema extends SpruceSchema.Schema {
12182
+ id: 'updateRoleEmitTarget';
12255
12183
  version: 'v2020_12_25';
12256
12184
  namespace: 'Mercury';
12257
12185
  name: '';
12258
12186
  fields: {
12259
- /** Source. */
12260
- 'source': {
12261
- label: 'Source';
12262
- type: 'schema';
12263
- options: {
12264
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
12265
- };
12266
- };
12267
- /** . */
12268
- 'target': {
12269
- type: 'schema';
12270
- options: {
12271
- schema: SpruceSchemas.Spruce.v2020_07_22.MessageTargetSchema;
12272
- };
12273
- };
12274
12187
  /** . */
12275
- 'payload': {
12276
- type: 'schema';
12188
+ 'roleId': {
12189
+ type: 'id';
12277
12190
  isRequired: true;
12278
- options: {
12279
- schema: SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema;
12280
- };
12191
+ options: undefined;
12281
12192
  };
12282
12193
  };
12283
12194
  }
12284
- interface DidMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitTargetAndPayloadSchema> {
12195
+ interface UpdateRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema> {
12285
12196
  }
12286
12197
  }
12287
12198
  namespace SpruceSchemas.Mercury.v2020_12_25 {
12288
- interface ConversationTopic {
12289
- 'key': string;
12290
- 'confidence': number;
12291
- 'label': string;
12199
+ interface UpdateRoleEmitPayload {
12200
+ /** Name. */
12201
+ 'name'?: string | undefined | null;
12202
+ /** Base. A best practices starting point for a role based on the generalized roles at a company. */
12203
+ 'base'?: ("owner" | "groupManager" | "manager" | "teammate" | "anonymous" | "loggedIn" | "guest") | undefined | null;
12204
+ /** Description. */
12205
+ 'description'?: string | undefined | null;
12206
+ 'dateDeleted'?: number | undefined | null;
12207
+ 'organizationId'?: string | undefined | null;
12208
+ /** Public. Should I let people that are not part of this organization this role? */
12209
+ 'isPublic'?: boolean | undefined | null;
12292
12210
  }
12293
- interface ConversationTopicSchema extends SpruceSchema.Schema {
12294
- id: 'conversationTopic';
12211
+ interface UpdateRoleEmitPayloadSchema extends SpruceSchema.Schema {
12212
+ id: 'updateRoleEmitPayload';
12295
12213
  version: 'v2020_12_25';
12296
12214
  namespace: 'Mercury';
12297
12215
  name: '';
12298
12216
  fields: {
12299
- /** . */
12300
- 'key': {
12217
+ /** Name. */
12218
+ 'name': {
12219
+ label: 'Name';
12220
+ type: 'text';
12221
+ options: undefined;
12222
+ };
12223
+ /** Base. A best practices starting point for a role based on the generalized roles at a company. */
12224
+ 'base': {
12225
+ label: 'Base';
12226
+ type: 'select';
12227
+ hint: 'A best practices starting point for a role based on the generalized roles at a company.';
12228
+ options: {
12229
+ choices: [{
12230
+ "label": "Owner";
12231
+ "value": "owner";
12232
+ }, {
12233
+ "label": "Group manager";
12234
+ "value": "groupManager";
12235
+ }, {
12236
+ "label": "Manager";
12237
+ "value": "manager";
12238
+ }, {
12239
+ "label": "Teammate";
12240
+ "value": "teammate";
12241
+ }, {
12242
+ "label": "Anonymous";
12243
+ "value": "anonymous";
12244
+ }, {
12245
+ "label": "Logged in";
12246
+ "value": "loggedIn";
12247
+ }, {
12248
+ "label": "Guest";
12249
+ "value": "guest";
12250
+ }];
12251
+ };
12252
+ };
12253
+ /** Description. */
12254
+ 'description': {
12255
+ label: 'Description';
12301
12256
  type: 'text';
12302
- isRequired: true;
12303
12257
  options: undefined;
12304
12258
  };
12305
12259
  /** . */
12306
- 'confidence': {
12260
+ 'dateDeleted': {
12307
12261
  type: 'number';
12308
- isRequired: true;
12309
12262
  options: undefined;
12310
12263
  };
12311
12264
  /** . */
12312
- 'label': {
12313
- type: 'text';
12314
- isRequired: true;
12265
+ 'organizationId': {
12266
+ type: 'id';
12267
+ options: undefined;
12268
+ };
12269
+ /** Public. Should I let people that are not part of this organization this role? */
12270
+ 'isPublic': {
12271
+ label: 'Public';
12272
+ type: 'boolean';
12273
+ hint: 'Should I let people that are not part of this organization this role?';
12315
12274
  options: undefined;
12316
12275
  };
12317
12276
  };
12318
12277
  }
12319
- interface ConversationTopicEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema> {
12278
+ interface UpdateRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema> {
12320
12279
  }
12321
12280
  }
12322
12281
  namespace SpruceSchemas.Mercury.v2020_12_25 {
12323
- interface DidMessageResponsePayload {
12324
- 'transitionConversationTo'?: ("greeting" | "discovery" | "topic" | "closing") | undefined | null;
12325
- 'repairs'?: string[] | undefined | null;
12326
- 'topicChangers'?: string[] | undefined | null;
12327
- 'utterance'?: string | undefined | null;
12328
- 'suggestedTopics'?: SpruceSchemas.Mercury.v2020_12_25.ConversationTopic[] | undefined | null;
12282
+ interface UpdateRoleEmitTargetAndPayload {
12283
+ /** Source. */
12284
+ 'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
12285
+ 'target': SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTarget;
12286
+ 'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayload | undefined | null;
12329
12287
  }
12330
- interface DidMessageResponsePayloadSchema extends SpruceSchema.Schema {
12331
- id: 'didMessageResponsePayload';
12288
+ interface UpdateRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
12289
+ id: 'updateRoleEmitTargetAndPayload';
12332
12290
  version: 'v2020_12_25';
12333
12291
  namespace: 'Mercury';
12334
12292
  name: '';
12335
12293
  fields: {
12336
- /** . */
12337
- 'transitionConversationTo': {
12338
- type: 'select';
12294
+ /** Source. */
12295
+ 'source': {
12296
+ label: 'Source';
12297
+ type: 'schema';
12339
12298
  options: {
12340
- choices: [{
12341
- "label": "Greeting";
12342
- "value": "greeting";
12343
- }, {
12344
- "label": "Discovery";
12345
- "value": "discovery";
12346
- }, {
12347
- "label": "Topic";
12348
- "value": "topic";
12349
- }, {
12350
- "label": "Closing";
12351
- "value": "closing";
12352
- }];
12299
+ schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
12353
12300
  };
12354
12301
  };
12355
12302
  /** . */
12356
- 'repairs': {
12357
- type: 'text';
12358
- isArray: true;
12359
- options: undefined;
12360
- };
12361
- /** . */
12362
- 'topicChangers': {
12363
- type: 'text';
12364
- isArray: true;
12365
- options: undefined;
12366
- };
12367
- /** . */
12368
- 'utterance': {
12369
- type: 'text';
12370
- options: undefined;
12303
+ 'target': {
12304
+ type: 'schema';
12305
+ isRequired: true;
12306
+ options: {
12307
+ schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema;
12308
+ };
12371
12309
  };
12372
12310
  /** . */
12373
- 'suggestedTopics': {
12311
+ 'payload': {
12374
12312
  type: 'schema';
12375
- isArray: true;
12376
12313
  options: {
12377
- schema: SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema;
12314
+ schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema;
12378
12315
  };
12379
12316
  };
12380
12317
  };
12381
12318
  }
12382
- interface DidMessageResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageResponsePayloadSchema> {
12319
+ interface UpdateRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetAndPayloadSchema> {
12383
12320
  }
12384
12321
  }
12385
12322
  namespace SpruceSchemas.Mercury.v2020_12_25 {
12386
- interface DidSignupEmitPayload {
12387
- 'person': SpruceSchemas.Spruce.v2020_07_22.Person;
12323
+ interface UpdateRoleResponsePayload {
12324
+ 'role': SpruceSchemas.Spruce.v2020_07_22.Role;
12388
12325
  }
12389
- interface DidSignupEmitPayloadSchema extends SpruceSchema.Schema {
12390
- id: 'didSignupEmitPayload';
12326
+ interface UpdateRoleResponsePayloadSchema extends SpruceSchema.Schema {
12327
+ id: 'updateRoleResponsePayload';
12391
12328
  version: 'v2020_12_25';
12392
12329
  namespace: 'Mercury';
12393
12330
  name: '';
12394
12331
  fields: {
12395
12332
  /** . */
12396
- 'person': {
12333
+ 'role': {
12397
12334
  type: 'schema';
12398
12335
  isRequired: true;
12399
12336
  options: {
12400
- schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
12337
+ schema: SpruceSchemas.Spruce.v2020_07_22.RoleSchema;
12401
12338
  };
12402
12339
  };
12403
12340
  };
12404
12341
  }
12405
- interface DidSignupEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema> {
12342
+ interface UpdateRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleResponsePayloadSchema> {
12406
12343
  }
12407
12344
  }
12408
12345
  namespace SpruceSchemas.Mercury.v2020_12_25 {
12409
- interface DidUpdateFeedEmitTarget {
12410
- 'locationId'?: string | undefined | null;
12411
- 'organizationId'?: string | undefined | null;
12346
+ interface UpsertPermissionContractEmitTarget {
12347
+ 'organizationId': string;
12348
+ 'permissionContractId': string;
12349
+ 'roleId': string;
12412
12350
  'skillId'?: string | undefined | null;
12413
12351
  }
12414
- interface DidUpdateFeedEmitTargetSchema extends SpruceSchema.Schema {
12415
- id: 'didUpdateFeedEmitTarget';
12352
+ interface UpsertPermissionContractEmitTargetSchema extends SpruceSchema.Schema {
12353
+ id: 'upsertPermissionContractEmitTarget';
12416
12354
  version: 'v2020_12_25';
12417
12355
  namespace: 'Mercury';
12418
12356
  name: '';
12419
12357
  fields: {
12420
12358
  /** . */
12421
- 'locationId': {
12359
+ 'organizationId': {
12422
12360
  type: 'id';
12361
+ isRequired: true;
12423
12362
  options: undefined;
12424
12363
  };
12425
12364
  /** . */
12426
- 'organizationId': {
12365
+ 'permissionContractId': {
12366
+ type: 'id';
12367
+ isRequired: true;
12368
+ options: undefined;
12369
+ };
12370
+ /** . */
12371
+ 'roleId': {
12427
12372
  type: 'id';
12373
+ isRequired: true;
12428
12374
  options: undefined;
12429
12375
  };
12430
12376
  /** . */
@@ -12434,41 +12380,70 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
12434
12380
  };
12435
12381
  };
12436
12382
  }
12437
- interface DidUpdateFeedEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetSchema> {
12383
+ interface UpsertPermissionContractEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema> {
12438
12384
  }
12439
12385
  }
12440
12386
  namespace SpruceSchemas.Mercury.v2020_12_25 {
12441
- interface DidUpdateFeedEmitPayload {
12442
- 'item': SpruceSchemas.Spruce.v2020_07_22.FeedItem;
12387
+ interface UpsertPermissionContractsEmitPayload {
12388
+ /** Name. Human readable name for this contract */
12389
+ 'name': string;
12390
+ /** Description. */
12391
+ 'description'?: string | undefined | null;
12392
+ /** Require all permissions. */
12393
+ 'requireAllPermissions'?: boolean | undefined | null;
12394
+ 'permissions': SpruceSchemas.Mercury.v2020_12_25.Permission[];
12443
12395
  }
12444
- interface DidUpdateFeedEmitPayloadSchema extends SpruceSchema.Schema {
12445
- id: 'didUpdateFeedEmitPayload';
12396
+ interface UpsertPermissionContractsEmitPayloadSchema extends SpruceSchema.Schema {
12397
+ id: 'upsertPermissionContractsEmitPayload';
12446
12398
  version: 'v2020_12_25';
12447
12399
  namespace: 'Mercury';
12448
12400
  name: '';
12449
12401
  fields: {
12402
+ /** Name. Human readable name for this contract */
12403
+ 'name': {
12404
+ label: 'Name';
12405
+ type: 'text';
12406
+ isRequired: true;
12407
+ hint: 'Human readable name for this contract';
12408
+ options: undefined;
12409
+ };
12410
+ /** Description. */
12411
+ 'description': {
12412
+ label: 'Description';
12413
+ type: 'text';
12414
+ options: undefined;
12415
+ };
12416
+ /** Require all permissions. */
12417
+ 'requireAllPermissions': {
12418
+ label: 'Require all permissions';
12419
+ type: 'boolean';
12420
+ defaultValue: false;
12421
+ options: undefined;
12422
+ };
12450
12423
  /** . */
12451
- 'item': {
12424
+ 'permissions': {
12452
12425
  type: 'schema';
12453
12426
  isRequired: true;
12427
+ isArray: true;
12428
+ minArrayLength: 0;
12454
12429
  options: {
12455
- schema: SpruceSchemas.Spruce.v2020_07_22.FeedItemSchema;
12430
+ schema: SpruceSchemas.Mercury.v2020_12_25.PermissionSchema;
12456
12431
  };
12457
12432
  };
12458
12433
  };
12459
12434
  }
12460
- interface DidUpdateFeedEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema> {
12435
+ interface UpsertPermissionContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema> {
12461
12436
  }
12462
12437
  }
12463
12438
  namespace SpruceSchemas.Mercury.v2020_12_25 {
12464
- interface DidUpdateFeedEmitTargetAndPayload {
12439
+ interface UpsertPermissionContractEmitTargetAndPayload {
12465
12440
  /** Source. */
12466
12441
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
12467
- 'target'?: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTarget | undefined | null;
12468
- 'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayload;
12442
+ 'target': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTarget;
12443
+ 'payload': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayload;
12469
12444
  }
12470
- interface DidUpdateFeedEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
12471
- id: 'didUpdateFeedEmitTargetAndPayload';
12445
+ interface UpsertPermissionContractEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
12446
+ id: 'upsertPermissionContractEmitTargetAndPayload';
12472
12447
  version: 'v2020_12_25';
12473
12448
  namespace: 'Mercury';
12474
12449
  name: '';
@@ -12484,8 +12459,9 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
12484
12459
  /** . */
12485
12460
  'target': {
12486
12461
  type: 'schema';
12462
+ isRequired: true;
12487
12463
  options: {
12488
- schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetSchema;
12464
+ schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema;
12489
12465
  };
12490
12466
  };
12491
12467
  /** . */
@@ -12493,23 +12469,73 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
12493
12469
  type: 'schema';
12494
12470
  isRequired: true;
12495
12471
  options: {
12496
- schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema;
12472
+ schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema;
12497
12473
  };
12498
12474
  };
12499
12475
  };
12500
12476
  }
12501
- interface DidUpdateFeedEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetAndPayloadSchema> {
12477
+ interface UpsertPermissionContractEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetAndPayloadSchema> {
12502
12478
  }
12503
12479
  }
12504
12480
  namespace SpruceSchemas.Mercury.v2020_12_25 {
12505
- interface DidSignupEmitTargetAndPayload {
12481
+ interface UpsertPermissionContractResponsePayload {
12482
+ 'permissionContract': SpruceSchemas.Mercury.v2020_12_25.PermissionContract;
12483
+ }
12484
+ interface UpsertPermissionContractResponsePayloadSchema extends SpruceSchema.Schema {
12485
+ id: 'upsertPermissionContractResponsePayload';
12486
+ version: 'v2020_12_25';
12487
+ namespace: 'Mercury';
12488
+ name: '';
12489
+ fields: {
12490
+ /** . */
12491
+ 'permissionContract': {
12492
+ type: 'schema';
12493
+ isRequired: true;
12494
+ options: {
12495
+ schema: SpruceSchemas.Mercury.v2020_12_25.PermissionContractSchema;
12496
+ };
12497
+ };
12498
+ };
12499
+ }
12500
+ interface UpsertPermissionContractResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractResponsePayloadSchema> {
12501
+ }
12502
+ }
12503
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
12504
+ interface VoteForFeatureEmitPayload {
12505
+ 'featureKey': string;
12506
+ 'skillNamespace': string;
12507
+ }
12508
+ interface VoteForFeatureEmitPayloadSchema extends SpruceSchema.Schema {
12509
+ id: 'voteForFeatureEmitPayload';
12510
+ version: 'v2020_12_25';
12511
+ namespace: 'Mercury';
12512
+ name: '';
12513
+ fields: {
12514
+ /** . */
12515
+ 'featureKey': {
12516
+ type: 'id';
12517
+ isRequired: true;
12518
+ options: undefined;
12519
+ };
12520
+ /** . */
12521
+ 'skillNamespace': {
12522
+ type: 'id';
12523
+ isRequired: true;
12524
+ options: undefined;
12525
+ };
12526
+ };
12527
+ }
12528
+ interface VoteForFeatureEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema> {
12529
+ }
12530
+ }
12531
+ namespace SpruceSchemas.Mercury.v2020_12_25 {
12532
+ interface VoteForFeatureEmitTargetAndPayload {
12506
12533
  /** Source. */
12507
12534
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
12508
- 'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
12509
- 'payload': SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayload;
12535
+ 'payload': SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayload;
12510
12536
  }
12511
- interface DidSignupEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
12512
- id: 'didSignupEmitTargetAndPayload';
12537
+ interface VoteForFeatureEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
12538
+ id: 'voteForFeatureEmitTargetAndPayload';
12513
12539
  version: 'v2020_12_25';
12514
12540
  namespace: 'Mercury';
12515
12541
  name: '';
@@ -12523,57 +12549,46 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
12523
12549
  };
12524
12550
  };
12525
12551
  /** . */
12526
- 'target': {
12527
- type: 'schema';
12528
- options: {
12529
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
12530
- };
12531
- };
12532
- /** . */
12533
12552
  'payload': {
12534
12553
  type: 'schema';
12535
12554
  isRequired: true;
12536
12555
  options: {
12537
- schema: SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema;
12556
+ schema: SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema;
12538
12557
  };
12539
12558
  };
12540
12559
  };
12541
12560
  }
12542
- interface DidSignupEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitTargetAndPayloadSchema> {
12561
+ interface VoteForFeatureEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitTargetAndPayloadSchema> {
12543
12562
  }
12544
12563
  }
12545
12564
  namespace SpruceSchemas.Mercury.v2020_12_25 {
12546
- interface DidUpdatePersonEmitPayload {
12547
- 'person': SpruceSchemas.Spruce.v2020_07_22.Person;
12565
+ interface VoteForFeatureResponsePayload {
12566
+ 'totalVotes': number;
12548
12567
  }
12549
- interface DidUpdatePersonEmitPayloadSchema extends SpruceSchema.Schema {
12550
- id: 'didUpdatePersonEmitPayload';
12568
+ interface VoteForFeatureResponsePayloadSchema extends SpruceSchema.Schema {
12569
+ id: 'voteForFeatureResponsePayload';
12551
12570
  version: 'v2020_12_25';
12552
12571
  namespace: 'Mercury';
12553
12572
  name: '';
12554
12573
  fields: {
12555
12574
  /** . */
12556
- 'person': {
12557
- type: 'schema';
12575
+ 'totalVotes': {
12576
+ type: 'number';
12558
12577
  isRequired: true;
12559
- options: {
12560
- schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
12561
- };
12578
+ options: undefined;
12562
12579
  };
12563
12580
  };
12564
12581
  }
12565
- interface DidUpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema> {
12582
+ interface VoteForFeatureResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureResponsePayloadSchema> {
12566
12583
  }
12567
12584
  }
12568
12585
  namespace SpruceSchemas.Mercury.v2020_12_25 {
12569
- interface DidUpdatePersonEmitTargetAndPayload {
12586
+ interface WhoamiEmitTargetAndPayload {
12570
12587
  /** Source. */
12571
12588
  'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
12572
- 'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
12573
- 'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayload;
12574
12589
  }
12575
- interface DidUpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
12576
- id: 'didUpdatePersonEmitTargetAndPayload';
12590
+ interface WhoamiEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
12591
+ id: 'whoamiEmitTargetAndPayload';
12577
12592
  version: 'v2020_12_25';
12578
12593
  namespace: 'Mercury';
12579
12594
  name: '';
@@ -12586,24 +12601,9 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
12586
12601
  schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
12587
12602
  };
12588
12603
  };
12589
- /** . */
12590
- 'target': {
12591
- type: 'schema';
12592
- options: {
12593
- schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
12594
- };
12595
- };
12596
- /** . */
12597
- 'payload': {
12598
- type: 'schema';
12599
- isRequired: true;
12600
- options: {
12601
- schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema;
12602
- };
12603
- };
12604
12604
  };
12605
12605
  }
12606
- interface DidUpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitTargetAndPayloadSchema> {
12606
+ interface WhoamiEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.WhoamiEmitTargetAndPayloadSchema> {
12607
12607
  }
12608
12608
  }
12609
12609
  }