@sprucelabs/mercury-core-events 15.4.11 → 15.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/.spruce/schemas/mercury/v2020_12_25/getResolvedPermissionsContractEmitTarget.schema.js +5 -0
- package/build/.spruce/schemas/schemas.types.d.ts +1563 -1557
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/getResolvedPermissionsContractEmitTarget.schema.js +5 -0
- package/build/esm/.spruce/schemas/schemas.types.d.ts +1563 -1557
- package/package.json +4 -4
|
@@ -5,14 +5,13 @@ 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
|
|
8
|
+
interface DidInstallEmitTargetAndPayload {
|
|
9
9
|
/** Source. */
|
|
10
10
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11
|
-
'target'
|
|
12
|
-
'payload'?: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitPayload | undefined | null;
|
|
11
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTarget;
|
|
13
12
|
}
|
|
14
|
-
interface
|
|
15
|
-
id: '
|
|
13
|
+
interface DidInstallEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
14
|
+
id: 'didInstallEmitTargetAndPayload';
|
|
16
15
|
version: 'v2020_12_25';
|
|
17
16
|
namespace: 'Mercury';
|
|
18
17
|
name: '';
|
|
@@ -28,29 +27,105 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
28
27
|
/** . */
|
|
29
28
|
'target': {
|
|
30
29
|
type: 'schema';
|
|
30
|
+
isRequired: true;
|
|
31
31
|
options: {
|
|
32
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
32
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
interface DidInstallEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetAndPayloadSchema> {
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
41
|
+
interface AddRoleEmitTargetAndPayload {
|
|
42
|
+
/** Source. */
|
|
43
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
44
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTarget | undefined | null;
|
|
45
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayload;
|
|
46
|
+
}
|
|
47
|
+
interface AddRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
48
|
+
id: 'addRoleEmitTargetAndPayload';
|
|
49
|
+
version: 'v2020_12_25';
|
|
50
|
+
namespace: 'Mercury';
|
|
51
|
+
name: '';
|
|
52
|
+
fields: {
|
|
53
|
+
/** Source. */
|
|
54
|
+
'source': {
|
|
55
|
+
label: 'Source';
|
|
56
|
+
type: 'schema';
|
|
57
|
+
options: {
|
|
58
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
/** . */
|
|
62
|
+
'target': {
|
|
63
|
+
type: 'schema';
|
|
64
|
+
options: {
|
|
65
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema;
|
|
33
66
|
};
|
|
34
67
|
};
|
|
35
68
|
/** . */
|
|
36
69
|
'payload': {
|
|
37
70
|
type: 'schema';
|
|
71
|
+
isRequired: true;
|
|
38
72
|
options: {
|
|
39
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
73
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema;
|
|
40
74
|
};
|
|
41
75
|
};
|
|
42
76
|
};
|
|
43
77
|
}
|
|
44
|
-
interface
|
|
78
|
+
interface AddRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetAndPayloadSchema> {
|
|
45
79
|
}
|
|
46
80
|
}
|
|
47
81
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
48
|
-
interface
|
|
49
|
-
'organizationId'
|
|
82
|
+
interface DidInstallEmitTarget {
|
|
83
|
+
'organizationId': string;
|
|
84
|
+
'skillId': string;
|
|
85
|
+
}
|
|
86
|
+
interface DidInstallEmitTargetSchema extends SpruceSchema.Schema {
|
|
87
|
+
id: 'didInstallEmitTarget';
|
|
88
|
+
version: 'v2020_12_25';
|
|
89
|
+
namespace: 'Mercury';
|
|
90
|
+
name: '';
|
|
91
|
+
fields: {
|
|
92
|
+
/** . */
|
|
93
|
+
'organizationId': {
|
|
94
|
+
type: 'id';
|
|
95
|
+
isRequired: true;
|
|
96
|
+
options: undefined;
|
|
97
|
+
};
|
|
98
|
+
/** . */
|
|
99
|
+
'skillId': {
|
|
100
|
+
type: 'id';
|
|
101
|
+
isRequired: true;
|
|
102
|
+
options: undefined;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
interface DidInstallEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema> {
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
110
|
+
interface DidInstallResponsePayload {
|
|
111
|
+
}
|
|
112
|
+
interface DidInstallResponsePayloadSchema extends SpruceSchema.Schema {
|
|
113
|
+
id: 'didInstallResponsePayload';
|
|
114
|
+
version: 'v2020_12_25';
|
|
115
|
+
namespace: 'Mercury';
|
|
116
|
+
name: '';
|
|
117
|
+
fields: {};
|
|
118
|
+
}
|
|
119
|
+
interface DidInstallResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallResponsePayloadSchema> {
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
123
|
+
interface DidJoinOrganizationEmitTarget {
|
|
124
|
+
'organizationId': string;
|
|
50
125
|
'locationId'?: string | undefined | null;
|
|
51
126
|
}
|
|
52
|
-
interface
|
|
53
|
-
id: '
|
|
127
|
+
interface DidJoinOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
128
|
+
id: 'didJoinOrganizationEmitTarget';
|
|
54
129
|
version: 'v2020_12_25';
|
|
55
130
|
namespace: 'Mercury';
|
|
56
131
|
name: '';
|
|
@@ -58,6 +133,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
58
133
|
/** . */
|
|
59
134
|
'organizationId': {
|
|
60
135
|
type: 'id';
|
|
136
|
+
isRequired: true;
|
|
61
137
|
options: undefined;
|
|
62
138
|
};
|
|
63
139
|
/** . */
|
|
@@ -67,16 +143,17 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
67
143
|
};
|
|
68
144
|
};
|
|
69
145
|
}
|
|
70
|
-
interface
|
|
146
|
+
interface DidJoinOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema> {
|
|
71
147
|
}
|
|
72
148
|
}
|
|
73
149
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
74
|
-
interface
|
|
150
|
+
interface DidJoinOrganizationEmitPayload {
|
|
75
151
|
'personId': string;
|
|
76
152
|
'roleId': string;
|
|
153
|
+
'isFirstRole': boolean;
|
|
77
154
|
}
|
|
78
|
-
interface
|
|
79
|
-
id: '
|
|
155
|
+
interface DidJoinOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
156
|
+
id: 'didJoinOrganizationEmitPayload';
|
|
80
157
|
version: 'v2020_12_25';
|
|
81
158
|
namespace: 'Mercury';
|
|
82
159
|
name: '';
|
|
@@ -93,20 +170,26 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
93
170
|
isRequired: true;
|
|
94
171
|
options: undefined;
|
|
95
172
|
};
|
|
173
|
+
/** . */
|
|
174
|
+
'isFirstRole': {
|
|
175
|
+
type: 'boolean';
|
|
176
|
+
isRequired: true;
|
|
177
|
+
options: undefined;
|
|
178
|
+
};
|
|
96
179
|
};
|
|
97
180
|
}
|
|
98
|
-
interface
|
|
181
|
+
interface DidJoinOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema> {
|
|
99
182
|
}
|
|
100
183
|
}
|
|
101
184
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
102
|
-
interface
|
|
185
|
+
interface DidJoinOrganizationEmitTargetAndPayload {
|
|
103
186
|
/** Source. */
|
|
104
187
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
105
|
-
'target'
|
|
106
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.
|
|
188
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTarget;
|
|
189
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayload;
|
|
107
190
|
}
|
|
108
|
-
interface
|
|
109
|
-
id: '
|
|
191
|
+
interface DidJoinOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
192
|
+
id: 'didJoinOrganizationEmitTargetAndPayload';
|
|
110
193
|
version: 'v2020_12_25';
|
|
111
194
|
namespace: 'Mercury';
|
|
112
195
|
name: '';
|
|
@@ -122,8 +205,9 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
122
205
|
/** . */
|
|
123
206
|
'target': {
|
|
124
207
|
type: 'schema';
|
|
208
|
+
isRequired: true;
|
|
125
209
|
options: {
|
|
126
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
210
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema;
|
|
127
211
|
};
|
|
128
212
|
};
|
|
129
213
|
/** . */
|
|
@@ -131,238 +215,235 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
131
215
|
type: 'schema';
|
|
132
216
|
isRequired: true;
|
|
133
217
|
options: {
|
|
134
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
218
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema;
|
|
135
219
|
};
|
|
136
220
|
};
|
|
137
221
|
};
|
|
138
222
|
}
|
|
139
|
-
interface
|
|
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> {
|
|
223
|
+
interface DidJoinOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetAndPayloadSchema> {
|
|
153
224
|
}
|
|
154
225
|
}
|
|
155
226
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
156
|
-
interface
|
|
157
|
-
'
|
|
158
|
-
'
|
|
159
|
-
'
|
|
227
|
+
interface MessageTemplateAddons {
|
|
228
|
+
'nextINeedYouTo'?: string[] | undefined | null;
|
|
229
|
+
'youShouldKnowThat'?: string[] | undefined | null;
|
|
230
|
+
'links'?: SpruceSchemas.Spruce.v2020_07_22.Link[] | undefined | null;
|
|
160
231
|
}
|
|
161
|
-
interface
|
|
162
|
-
id: '
|
|
232
|
+
interface MessageTemplateAddonsSchema extends SpruceSchema.Schema {
|
|
233
|
+
id: 'messageTemplateAddons';
|
|
163
234
|
version: 'v2020_12_25';
|
|
164
235
|
namespace: 'Mercury';
|
|
165
236
|
name: '';
|
|
166
237
|
fields: {
|
|
167
238
|
/** . */
|
|
168
|
-
'
|
|
239
|
+
'nextINeedYouTo': {
|
|
169
240
|
type: 'text';
|
|
241
|
+
isArray: true;
|
|
170
242
|
options: undefined;
|
|
171
243
|
};
|
|
172
244
|
/** . */
|
|
173
|
-
'
|
|
245
|
+
'youShouldKnowThat': {
|
|
174
246
|
type: 'text';
|
|
247
|
+
isArray: true;
|
|
175
248
|
options: undefined;
|
|
176
249
|
};
|
|
177
250
|
/** . */
|
|
178
|
-
'
|
|
179
|
-
type: '
|
|
180
|
-
|
|
251
|
+
'links': {
|
|
252
|
+
type: 'schema';
|
|
253
|
+
isArray: true;
|
|
254
|
+
minArrayLength: 0;
|
|
255
|
+
options: {
|
|
256
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.LinkSchema;
|
|
257
|
+
};
|
|
181
258
|
};
|
|
182
259
|
};
|
|
183
260
|
}
|
|
184
|
-
interface
|
|
261
|
+
interface MessageTemplateAddonsEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema> {
|
|
185
262
|
}
|
|
186
263
|
}
|
|
187
264
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
188
|
-
interface
|
|
189
|
-
|
|
190
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
191
|
-
'payload'?: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayload | undefined | null;
|
|
265
|
+
interface DidJoinOrganizationResponsePayload {
|
|
266
|
+
'messaging'?: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddons | undefined | null;
|
|
192
267
|
}
|
|
193
|
-
interface
|
|
194
|
-
id: '
|
|
268
|
+
interface DidJoinOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
269
|
+
id: 'didJoinOrganizationResponsePayload';
|
|
195
270
|
version: 'v2020_12_25';
|
|
196
271
|
namespace: 'Mercury';
|
|
197
272
|
name: '';
|
|
198
273
|
fields: {
|
|
199
|
-
/** Source. */
|
|
200
|
-
'source': {
|
|
201
|
-
label: 'Source';
|
|
202
|
-
type: 'schema';
|
|
203
|
-
options: {
|
|
204
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
205
|
-
};
|
|
206
|
-
};
|
|
207
274
|
/** . */
|
|
208
|
-
'
|
|
275
|
+
'messaging': {
|
|
209
276
|
type: 'schema';
|
|
210
277
|
options: {
|
|
211
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
278
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema;
|
|
212
279
|
};
|
|
213
280
|
};
|
|
214
281
|
};
|
|
215
282
|
}
|
|
216
|
-
interface
|
|
283
|
+
interface DidJoinOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationResponsePayloadSchema> {
|
|
217
284
|
}
|
|
218
285
|
}
|
|
219
286
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
220
|
-
interface
|
|
221
|
-
'
|
|
222
|
-
'
|
|
287
|
+
interface DidLeaveOrganizationEmitTarget {
|
|
288
|
+
'organizationId': string;
|
|
289
|
+
'locationId'?: string | undefined | null;
|
|
223
290
|
}
|
|
224
|
-
interface
|
|
225
|
-
id: '
|
|
291
|
+
interface DidLeaveOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
292
|
+
id: 'didLeaveOrganizationEmitTarget';
|
|
226
293
|
version: 'v2020_12_25';
|
|
227
294
|
namespace: 'Mercury';
|
|
228
295
|
name: '';
|
|
229
296
|
fields: {
|
|
230
297
|
/** . */
|
|
231
|
-
'
|
|
232
|
-
type: '
|
|
298
|
+
'organizationId': {
|
|
299
|
+
type: 'id';
|
|
233
300
|
isRequired: true;
|
|
234
|
-
options:
|
|
235
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
236
|
-
};
|
|
301
|
+
options: undefined;
|
|
237
302
|
};
|
|
238
303
|
/** . */
|
|
239
|
-
'
|
|
240
|
-
type: '
|
|
241
|
-
isRequired: true;
|
|
304
|
+
'locationId': {
|
|
305
|
+
type: 'id';
|
|
242
306
|
options: undefined;
|
|
243
307
|
};
|
|
244
308
|
};
|
|
245
309
|
}
|
|
246
|
-
interface
|
|
310
|
+
interface DidLeaveOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema> {
|
|
247
311
|
}
|
|
248
312
|
}
|
|
249
313
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
250
|
-
interface
|
|
251
|
-
'
|
|
252
|
-
'
|
|
314
|
+
interface DidLeaveOrganizationEmitPayload {
|
|
315
|
+
'personId': string;
|
|
316
|
+
'roleId': string;
|
|
317
|
+
'isLastRole': boolean;
|
|
253
318
|
}
|
|
254
|
-
interface
|
|
255
|
-
id: '
|
|
319
|
+
interface DidLeaveOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
320
|
+
id: 'didLeaveOrganizationEmitPayload';
|
|
256
321
|
version: 'v2020_12_25';
|
|
257
322
|
namespace: 'Mercury';
|
|
258
323
|
name: '';
|
|
259
324
|
fields: {
|
|
260
325
|
/** . */
|
|
261
|
-
'
|
|
262
|
-
type: '
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
};
|
|
326
|
+
'personId': {
|
|
327
|
+
type: 'id';
|
|
328
|
+
isRequired: true;
|
|
329
|
+
options: undefined;
|
|
266
330
|
};
|
|
267
331
|
/** . */
|
|
268
|
-
'
|
|
269
|
-
type: '
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
};
|
|
332
|
+
'roleId': {
|
|
333
|
+
type: 'id';
|
|
334
|
+
isRequired: true;
|
|
335
|
+
options: undefined;
|
|
273
336
|
};
|
|
274
|
-
|
|
337
|
+
/** . */
|
|
338
|
+
'isLastRole': {
|
|
339
|
+
type: 'boolean';
|
|
340
|
+
isRequired: true;
|
|
341
|
+
options: undefined;
|
|
342
|
+
};
|
|
343
|
+
};
|
|
275
344
|
}
|
|
276
|
-
interface
|
|
345
|
+
interface DidLeaveOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema> {
|
|
277
346
|
}
|
|
278
347
|
}
|
|
279
348
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
280
|
-
interface
|
|
281
|
-
|
|
282
|
-
'
|
|
349
|
+
interface DidLeaveOrganizationEmitTargetAndPayload {
|
|
350
|
+
/** Source. */
|
|
351
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
352
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTarget;
|
|
353
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayload;
|
|
283
354
|
}
|
|
284
|
-
interface
|
|
285
|
-
id: '
|
|
355
|
+
interface DidLeaveOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
356
|
+
id: 'didLeaveOrganizationEmitTargetAndPayload';
|
|
286
357
|
version: 'v2020_12_25';
|
|
287
358
|
namespace: 'Mercury';
|
|
288
359
|
name: '';
|
|
289
360
|
fields: {
|
|
361
|
+
/** Source. */
|
|
362
|
+
'source': {
|
|
363
|
+
label: 'Source';
|
|
364
|
+
type: 'schema';
|
|
365
|
+
options: {
|
|
366
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
367
|
+
};
|
|
368
|
+
};
|
|
290
369
|
/** . */
|
|
291
|
-
'
|
|
292
|
-
type: '
|
|
370
|
+
'target': {
|
|
371
|
+
type: 'schema';
|
|
293
372
|
isRequired: true;
|
|
294
373
|
options: {
|
|
295
|
-
|
|
296
|
-
"value": "authenticated";
|
|
297
|
-
"label": "Authenticated";
|
|
298
|
-
}, {
|
|
299
|
-
"value": "anonymous";
|
|
300
|
-
"label": "Anonymous";
|
|
301
|
-
}];
|
|
374
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema;
|
|
302
375
|
};
|
|
303
376
|
};
|
|
304
377
|
/** . */
|
|
305
|
-
'
|
|
378
|
+
'payload': {
|
|
306
379
|
type: 'schema';
|
|
307
380
|
isRequired: true;
|
|
308
381
|
options: {
|
|
309
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
382
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema;
|
|
310
383
|
};
|
|
311
384
|
};
|
|
312
385
|
};
|
|
313
386
|
}
|
|
314
|
-
interface
|
|
387
|
+
interface DidLeaveOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetAndPayloadSchema> {
|
|
315
388
|
}
|
|
316
389
|
}
|
|
317
390
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
318
|
-
interface
|
|
319
|
-
'authorizerStatuses'?: ("clockedIn" | "clockedOut" | "onPrem" | "offPrem") | undefined | null;
|
|
320
|
-
'fullyQualifiedEventName': string;
|
|
391
|
+
interface DidLeaveOrganizationResponsePayload {
|
|
321
392
|
}
|
|
322
|
-
interface
|
|
323
|
-
id: '
|
|
393
|
+
interface DidLeaveOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
394
|
+
id: 'didLeaveOrganizationResponsePayload';
|
|
395
|
+
version: 'v2020_12_25';
|
|
396
|
+
namespace: 'Mercury';
|
|
397
|
+
name: '';
|
|
398
|
+
fields: {};
|
|
399
|
+
}
|
|
400
|
+
interface DidLeaveOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationResponsePayloadSchema> {
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
404
|
+
interface DidMessageEmitPayload {
|
|
405
|
+
'message': SpruceSchemas.Spruce.v2020_07_22.Message;
|
|
406
|
+
'conversationState'?: string | undefined | null;
|
|
407
|
+
'topic'?: string | undefined | null;
|
|
408
|
+
}
|
|
409
|
+
interface DidMessageEmitPayloadSchema extends SpruceSchema.Schema {
|
|
410
|
+
id: 'didMessageEmitPayload';
|
|
324
411
|
version: 'v2020_12_25';
|
|
325
412
|
namespace: 'Mercury';
|
|
326
413
|
name: '';
|
|
327
414
|
fields: {
|
|
328
415
|
/** . */
|
|
329
|
-
'
|
|
330
|
-
type: '
|
|
416
|
+
'message': {
|
|
417
|
+
type: 'schema';
|
|
418
|
+
isRequired: true;
|
|
331
419
|
options: {
|
|
332
|
-
|
|
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
|
-
}];
|
|
420
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.MessageSchema;
|
|
345
421
|
};
|
|
346
422
|
};
|
|
347
423
|
/** . */
|
|
348
|
-
'
|
|
424
|
+
'conversationState': {
|
|
425
|
+
type: 'text';
|
|
426
|
+
options: undefined;
|
|
427
|
+
};
|
|
428
|
+
/** . */
|
|
429
|
+
'topic': {
|
|
349
430
|
type: 'text';
|
|
350
|
-
isRequired: true;
|
|
351
431
|
options: undefined;
|
|
352
432
|
};
|
|
353
433
|
};
|
|
354
434
|
}
|
|
355
|
-
interface
|
|
435
|
+
interface DidMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema> {
|
|
356
436
|
}
|
|
357
437
|
}
|
|
358
438
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
359
|
-
interface
|
|
439
|
+
interface DidMessageEmitTargetAndPayload {
|
|
360
440
|
/** Source. */
|
|
361
441
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
362
|
-
'
|
|
442
|
+
'target'?: SpruceSchemas.Spruce.v2020_07_22.MessageTarget | undefined | null;
|
|
443
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayload;
|
|
363
444
|
}
|
|
364
|
-
interface
|
|
365
|
-
id: '
|
|
445
|
+
interface DidMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
446
|
+
id: 'didMessageEmitTargetAndPayload';
|
|
366
447
|
version: 'v2020_12_25';
|
|
367
448
|
namespace: 'Mercury';
|
|
368
449
|
name: '';
|
|
@@ -376,74 +457,132 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
376
457
|
};
|
|
377
458
|
};
|
|
378
459
|
/** . */
|
|
460
|
+
'target': {
|
|
461
|
+
type: 'schema';
|
|
462
|
+
options: {
|
|
463
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.MessageTargetSchema;
|
|
464
|
+
};
|
|
465
|
+
};
|
|
466
|
+
/** . */
|
|
379
467
|
'payload': {
|
|
380
468
|
type: 'schema';
|
|
381
469
|
isRequired: true;
|
|
382
470
|
options: {
|
|
383
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
471
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema;
|
|
384
472
|
};
|
|
385
473
|
};
|
|
386
474
|
};
|
|
387
475
|
}
|
|
388
|
-
interface
|
|
476
|
+
interface DidMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitTargetAndPayloadSchema> {
|
|
389
477
|
}
|
|
390
478
|
}
|
|
391
479
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
392
|
-
interface
|
|
393
|
-
'
|
|
480
|
+
interface ConversationTopic {
|
|
481
|
+
'key': string;
|
|
482
|
+
'confidence': number;
|
|
483
|
+
'label': string;
|
|
394
484
|
}
|
|
395
|
-
interface
|
|
396
|
-
id: '
|
|
485
|
+
interface ConversationTopicSchema extends SpruceSchema.Schema {
|
|
486
|
+
id: 'conversationTopic';
|
|
397
487
|
version: 'v2020_12_25';
|
|
398
488
|
namespace: 'Mercury';
|
|
399
489
|
name: '';
|
|
400
490
|
fields: {
|
|
401
491
|
/** . */
|
|
402
|
-
'
|
|
403
|
-
type: '
|
|
492
|
+
'key': {
|
|
493
|
+
type: 'text';
|
|
494
|
+
isRequired: true;
|
|
495
|
+
options: undefined;
|
|
496
|
+
};
|
|
497
|
+
/** . */
|
|
498
|
+
'confidence': {
|
|
499
|
+
type: 'number';
|
|
500
|
+
isRequired: true;
|
|
501
|
+
options: undefined;
|
|
502
|
+
};
|
|
503
|
+
/** . */
|
|
504
|
+
'label': {
|
|
505
|
+
type: 'text';
|
|
506
|
+
isRequired: true;
|
|
404
507
|
options: undefined;
|
|
405
508
|
};
|
|
406
509
|
};
|
|
407
510
|
}
|
|
408
|
-
interface
|
|
511
|
+
interface ConversationTopicEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema> {
|
|
409
512
|
}
|
|
410
513
|
}
|
|
411
514
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
412
|
-
interface
|
|
413
|
-
'
|
|
414
|
-
'
|
|
515
|
+
interface DidMessageResponsePayload {
|
|
516
|
+
'transitionConversationTo'?: ("greeting" | "discovery" | "topic" | "closing") | undefined | null;
|
|
517
|
+
'repairs'?: string[] | undefined | null;
|
|
518
|
+
'topicChangers'?: string[] | undefined | null;
|
|
519
|
+
'utterance'?: string | undefined | null;
|
|
520
|
+
'suggestedTopics'?: SpruceSchemas.Mercury.v2020_12_25.ConversationTopic[] | undefined | null;
|
|
415
521
|
}
|
|
416
|
-
interface
|
|
417
|
-
id: '
|
|
522
|
+
interface DidMessageResponsePayloadSchema extends SpruceSchema.Schema {
|
|
523
|
+
id: 'didMessageResponsePayload';
|
|
418
524
|
version: 'v2020_12_25';
|
|
419
525
|
namespace: 'Mercury';
|
|
420
526
|
name: '';
|
|
421
527
|
fields: {
|
|
422
528
|
/** . */
|
|
423
|
-
'
|
|
529
|
+
'transitionConversationTo': {
|
|
530
|
+
type: 'select';
|
|
531
|
+
options: {
|
|
532
|
+
choices: [{
|
|
533
|
+
"label": "Greeting";
|
|
534
|
+
"value": "greeting";
|
|
535
|
+
}, {
|
|
536
|
+
"label": "Discovery";
|
|
537
|
+
"value": "discovery";
|
|
538
|
+
}, {
|
|
539
|
+
"label": "Topic";
|
|
540
|
+
"value": "topic";
|
|
541
|
+
}, {
|
|
542
|
+
"label": "Closing";
|
|
543
|
+
"value": "closing";
|
|
544
|
+
}];
|
|
545
|
+
};
|
|
546
|
+
};
|
|
547
|
+
/** . */
|
|
548
|
+
'repairs': {
|
|
424
549
|
type: 'text';
|
|
425
|
-
|
|
550
|
+
isArray: true;
|
|
426
551
|
options: undefined;
|
|
427
552
|
};
|
|
428
553
|
/** . */
|
|
429
|
-
'
|
|
554
|
+
'topicChangers': {
|
|
555
|
+
type: 'text';
|
|
556
|
+
isArray: true;
|
|
557
|
+
options: undefined;
|
|
558
|
+
};
|
|
559
|
+
/** . */
|
|
560
|
+
'utterance': {
|
|
430
561
|
type: 'text';
|
|
431
|
-
isRequired: true;
|
|
432
562
|
options: undefined;
|
|
433
563
|
};
|
|
564
|
+
/** . */
|
|
565
|
+
'suggestedTopics': {
|
|
566
|
+
type: 'schema';
|
|
567
|
+
isArray: true;
|
|
568
|
+
options: {
|
|
569
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema;
|
|
570
|
+
};
|
|
571
|
+
};
|
|
434
572
|
};
|
|
435
573
|
}
|
|
436
|
-
interface
|
|
574
|
+
interface DidMessageResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageResponsePayloadSchema> {
|
|
437
575
|
}
|
|
438
576
|
}
|
|
439
577
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
440
|
-
interface
|
|
578
|
+
interface DidSignupEmitTargetAndPayload {
|
|
441
579
|
/** Source. */
|
|
442
580
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
443
|
-
'
|
|
581
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
582
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayload;
|
|
444
583
|
}
|
|
445
|
-
interface
|
|
446
|
-
id: '
|
|
584
|
+
interface DidSignupEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
585
|
+
id: 'didSignupEmitTargetAndPayload';
|
|
447
586
|
version: 'v2020_12_25';
|
|
448
587
|
namespace: 'Mercury';
|
|
449
588
|
name: '';
|
|
@@ -457,257 +596,799 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
457
596
|
};
|
|
458
597
|
};
|
|
459
598
|
/** . */
|
|
599
|
+
'target': {
|
|
600
|
+
type: 'schema';
|
|
601
|
+
options: {
|
|
602
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
603
|
+
};
|
|
604
|
+
};
|
|
605
|
+
/** . */
|
|
460
606
|
'payload': {
|
|
461
607
|
type: 'schema';
|
|
462
608
|
isRequired: true;
|
|
463
609
|
options: {
|
|
464
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
610
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema;
|
|
465
611
|
};
|
|
466
612
|
};
|
|
467
613
|
};
|
|
468
614
|
}
|
|
469
|
-
interface
|
|
615
|
+
interface DidSignupEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitTargetAndPayloadSchema> {
|
|
470
616
|
}
|
|
471
617
|
}
|
|
472
618
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
473
|
-
interface
|
|
474
|
-
|
|
619
|
+
interface DidUpdatePersonEmitTargetAndPayload {
|
|
620
|
+
/** Source. */
|
|
621
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
622
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
623
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayload;
|
|
475
624
|
}
|
|
476
|
-
interface
|
|
477
|
-
id: '
|
|
625
|
+
interface DidUpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
626
|
+
id: 'didUpdatePersonEmitTargetAndPayload';
|
|
478
627
|
version: 'v2020_12_25';
|
|
479
628
|
namespace: 'Mercury';
|
|
480
629
|
name: '';
|
|
481
630
|
fields: {
|
|
631
|
+
/** Source. */
|
|
632
|
+
'source': {
|
|
633
|
+
label: 'Source';
|
|
634
|
+
type: 'schema';
|
|
635
|
+
options: {
|
|
636
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
637
|
+
};
|
|
638
|
+
};
|
|
482
639
|
/** . */
|
|
483
|
-
'
|
|
484
|
-
type: '
|
|
485
|
-
|
|
486
|
-
|
|
640
|
+
'target': {
|
|
641
|
+
type: 'schema';
|
|
642
|
+
options: {
|
|
643
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
644
|
+
};
|
|
487
645
|
};
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
646
|
+
/** . */
|
|
647
|
+
'payload': {
|
|
648
|
+
type: 'schema';
|
|
649
|
+
isRequired: true;
|
|
650
|
+
options: {
|
|
651
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema;
|
|
652
|
+
};
|
|
653
|
+
};
|
|
654
|
+
};
|
|
655
|
+
}
|
|
656
|
+
interface DidUpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitTargetAndPayloadSchema> {
|
|
657
|
+
}
|
|
492
658
|
}
|
|
493
659
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
494
|
-
interface
|
|
495
|
-
|
|
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;
|
|
660
|
+
interface DidSignupEmitPayload {
|
|
661
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
509
662
|
}
|
|
510
|
-
interface
|
|
511
|
-
id: '
|
|
663
|
+
interface DidSignupEmitPayloadSchema extends SpruceSchema.Schema {
|
|
664
|
+
id: 'didSignupEmitPayload';
|
|
512
665
|
version: 'v2020_12_25';
|
|
513
666
|
namespace: 'Mercury';
|
|
514
667
|
name: '';
|
|
515
668
|
fields: {
|
|
516
|
-
/**
|
|
517
|
-
'
|
|
518
|
-
|
|
519
|
-
|
|
669
|
+
/** . */
|
|
670
|
+
'person': {
|
|
671
|
+
type: 'schema';
|
|
672
|
+
isRequired: true;
|
|
673
|
+
options: {
|
|
674
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
675
|
+
};
|
|
676
|
+
};
|
|
677
|
+
};
|
|
678
|
+
}
|
|
679
|
+
interface DidSignupEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema> {
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
683
|
+
interface DidUpdateFeedEmitPayload {
|
|
684
|
+
'item': SpruceSchemas.Spruce.v2020_07_22.FeedItem;
|
|
685
|
+
}
|
|
686
|
+
interface DidUpdateFeedEmitPayloadSchema extends SpruceSchema.Schema {
|
|
687
|
+
id: 'didUpdateFeedEmitPayload';
|
|
688
|
+
version: 'v2020_12_25';
|
|
689
|
+
namespace: 'Mercury';
|
|
690
|
+
name: '';
|
|
691
|
+
fields: {
|
|
692
|
+
/** . */
|
|
693
|
+
'item': {
|
|
694
|
+
type: 'schema';
|
|
695
|
+
isRequired: true;
|
|
696
|
+
options: {
|
|
697
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.FeedItemSchema;
|
|
698
|
+
};
|
|
699
|
+
};
|
|
700
|
+
};
|
|
701
|
+
}
|
|
702
|
+
interface DidUpdateFeedEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema> {
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
706
|
+
interface DidUpdateFeedEmitTargetAndPayload {
|
|
707
|
+
/** Source. */
|
|
708
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
709
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
710
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayload;
|
|
711
|
+
}
|
|
712
|
+
interface DidUpdateFeedEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
713
|
+
id: 'didUpdateFeedEmitTargetAndPayload';
|
|
714
|
+
version: 'v2020_12_25';
|
|
715
|
+
namespace: 'Mercury';
|
|
716
|
+
name: '';
|
|
717
|
+
fields: {
|
|
718
|
+
/** Source. */
|
|
719
|
+
'source': {
|
|
720
|
+
label: 'Source';
|
|
721
|
+
type: 'schema';
|
|
722
|
+
options: {
|
|
723
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
724
|
+
};
|
|
725
|
+
};
|
|
726
|
+
/** . */
|
|
727
|
+
'target': {
|
|
728
|
+
type: 'schema';
|
|
729
|
+
options: {
|
|
730
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
731
|
+
};
|
|
732
|
+
};
|
|
733
|
+
/** . */
|
|
734
|
+
'payload': {
|
|
735
|
+
type: 'schema';
|
|
736
|
+
isRequired: true;
|
|
737
|
+
options: {
|
|
738
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema;
|
|
739
|
+
};
|
|
740
|
+
};
|
|
741
|
+
};
|
|
742
|
+
}
|
|
743
|
+
interface DidUpdateFeedEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetAndPayloadSchema> {
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
747
|
+
interface DidUpdatePersonEmitPayload {
|
|
748
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
749
|
+
}
|
|
750
|
+
interface DidUpdatePersonEmitPayloadSchema extends SpruceSchema.Schema {
|
|
751
|
+
id: 'didUpdatePersonEmitPayload';
|
|
752
|
+
version: 'v2020_12_25';
|
|
753
|
+
namespace: 'Mercury';
|
|
754
|
+
name: '';
|
|
755
|
+
fields: {
|
|
756
|
+
/** . */
|
|
757
|
+
'person': {
|
|
758
|
+
type: 'schema';
|
|
759
|
+
isRequired: true;
|
|
760
|
+
options: {
|
|
761
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
762
|
+
};
|
|
763
|
+
};
|
|
764
|
+
};
|
|
765
|
+
}
|
|
766
|
+
interface DidUpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema> {
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
770
|
+
interface AddRoleEmitTarget {
|
|
771
|
+
'organizationId'?: string | undefined | null;
|
|
772
|
+
'locationId'?: string | undefined | null;
|
|
773
|
+
}
|
|
774
|
+
interface AddRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
775
|
+
id: 'addRoleEmitTarget';
|
|
776
|
+
version: 'v2020_12_25';
|
|
777
|
+
namespace: 'Mercury';
|
|
778
|
+
name: '';
|
|
779
|
+
fields: {
|
|
780
|
+
/** . */
|
|
781
|
+
'organizationId': {
|
|
782
|
+
type: 'id';
|
|
783
|
+
options: undefined;
|
|
784
|
+
};
|
|
785
|
+
/** . */
|
|
786
|
+
'locationId': {
|
|
787
|
+
type: 'id';
|
|
788
|
+
options: undefined;
|
|
789
|
+
};
|
|
790
|
+
};
|
|
791
|
+
}
|
|
792
|
+
interface AddRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema> {
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
796
|
+
interface AddRoleEmitPayload {
|
|
797
|
+
'personId': string;
|
|
798
|
+
'roleId': string;
|
|
799
|
+
}
|
|
800
|
+
interface AddRoleEmitPayloadSchema extends SpruceSchema.Schema {
|
|
801
|
+
id: 'addRoleEmitPayload';
|
|
802
|
+
version: 'v2020_12_25';
|
|
803
|
+
namespace: 'Mercury';
|
|
804
|
+
name: '';
|
|
805
|
+
fields: {
|
|
806
|
+
/** . */
|
|
807
|
+
'personId': {
|
|
808
|
+
type: 'id';
|
|
520
809
|
isRequired: true;
|
|
521
810
|
options: undefined;
|
|
522
811
|
};
|
|
523
|
-
/**
|
|
524
|
-
'
|
|
525
|
-
|
|
812
|
+
/** . */
|
|
813
|
+
'roleId': {
|
|
814
|
+
type: 'id';
|
|
815
|
+
isRequired: true;
|
|
816
|
+
options: undefined;
|
|
817
|
+
};
|
|
818
|
+
};
|
|
819
|
+
}
|
|
820
|
+
interface AddRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema> {
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
824
|
+
interface AddRoleResponsePayload {
|
|
825
|
+
}
|
|
826
|
+
interface AddRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
827
|
+
id: 'addRoleResponsePayload';
|
|
828
|
+
version: 'v2020_12_25';
|
|
829
|
+
namespace: 'Mercury';
|
|
830
|
+
name: '';
|
|
831
|
+
fields: {};
|
|
832
|
+
}
|
|
833
|
+
interface AddRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleResponsePayloadSchema> {
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
837
|
+
interface AuthenticateEmitPayload {
|
|
838
|
+
'token'?: string | undefined | null;
|
|
839
|
+
'skillId'?: string | undefined | null;
|
|
840
|
+
'apiKey'?: string | undefined | null;
|
|
841
|
+
}
|
|
842
|
+
interface AuthenticateEmitPayloadSchema extends SpruceSchema.Schema {
|
|
843
|
+
id: 'authenticateEmitPayload';
|
|
844
|
+
version: 'v2020_12_25';
|
|
845
|
+
namespace: 'Mercury';
|
|
846
|
+
name: '';
|
|
847
|
+
fields: {
|
|
848
|
+
/** . */
|
|
849
|
+
'token': {
|
|
526
850
|
type: 'text';
|
|
527
|
-
hint: 'You can use other symbols, like # or dashes. #123 or 32-US-5';
|
|
528
851
|
options: undefined;
|
|
529
852
|
};
|
|
530
|
-
/**
|
|
531
|
-
'
|
|
532
|
-
|
|
533
|
-
type: 'boolean';
|
|
534
|
-
hint: 'Is this location viewable by guests?';
|
|
535
|
-
defaultValue: false;
|
|
853
|
+
/** . */
|
|
854
|
+
'skillId': {
|
|
855
|
+
type: 'text';
|
|
536
856
|
options: undefined;
|
|
537
857
|
};
|
|
538
|
-
/**
|
|
539
|
-
'
|
|
540
|
-
|
|
541
|
-
type: 'phone';
|
|
858
|
+
/** . */
|
|
859
|
+
'apiKey': {
|
|
860
|
+
type: 'text';
|
|
542
861
|
options: undefined;
|
|
543
862
|
};
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
"value": "
|
|
629
|
-
"label": "
|
|
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";
|
|
654
|
-
}, {
|
|
655
|
-
"value": "America/Mazatlan";
|
|
656
|
-
"label": "Mexican Pacific Time - Mazatlan";
|
|
657
|
-
}, {
|
|
658
|
-
"value": "America/Boise";
|
|
659
|
-
"label": "Mountain Time - Boise";
|
|
660
|
-
}, {
|
|
661
|
-
"value": "America/Cambridge_Bay";
|
|
662
|
-
"label": "Mountain Time - Cambridge Bay";
|
|
663
|
-
}, {
|
|
664
|
-
"value": "America/Denver";
|
|
665
|
-
"label": "Mountain Time - Denver";
|
|
666
|
-
}, {
|
|
667
|
-
"value": "America/Edmonton";
|
|
668
|
-
"label": "Mountain Time - Edmonton";
|
|
669
|
-
}, {
|
|
670
|
-
"value": "America/Inuvik";
|
|
671
|
-
"label": "Mountain Time - Inuvik";
|
|
672
|
-
}, {
|
|
673
|
-
"value": "America/Ojinaga";
|
|
674
|
-
"label": "Mountain Time - Ojinaga";
|
|
675
|
-
}, {
|
|
676
|
-
"value": "America/Yellowknife";
|
|
677
|
-
"label": "Mountain Time - Yellowknife";
|
|
678
|
-
}, {
|
|
679
|
-
"value": "America/Eirunepe";
|
|
680
|
-
"label": "Acre Standard Time - Eirunepe";
|
|
681
|
-
}, {
|
|
682
|
-
"value": "America/Rio_Branco";
|
|
683
|
-
"label": "Acre Standard Time - Rio Branco";
|
|
684
|
-
}, {
|
|
685
|
-
"value": "America/Bahia_Banderas";
|
|
686
|
-
"label": "Central Time - Bahia Banderas";
|
|
863
|
+
};
|
|
864
|
+
}
|
|
865
|
+
interface AuthenticateEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema> {
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
869
|
+
interface AuthenticateEmitTargetAndPayload {
|
|
870
|
+
/** Source. */
|
|
871
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
872
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayload | undefined | null;
|
|
873
|
+
}
|
|
874
|
+
interface AuthenticateEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
875
|
+
id: 'authenticateEmitTargetAndPayload';
|
|
876
|
+
version: 'v2020_12_25';
|
|
877
|
+
namespace: 'Mercury';
|
|
878
|
+
name: '';
|
|
879
|
+
fields: {
|
|
880
|
+
/** Source. */
|
|
881
|
+
'source': {
|
|
882
|
+
label: 'Source';
|
|
883
|
+
type: 'schema';
|
|
884
|
+
options: {
|
|
885
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
886
|
+
};
|
|
887
|
+
};
|
|
888
|
+
/** . */
|
|
889
|
+
'payload': {
|
|
890
|
+
type: 'schema';
|
|
891
|
+
options: {
|
|
892
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema;
|
|
893
|
+
};
|
|
894
|
+
};
|
|
895
|
+
};
|
|
896
|
+
}
|
|
897
|
+
interface AuthenticateEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitTargetAndPayloadSchema> {
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
901
|
+
interface AuthSchema {
|
|
902
|
+
'person'?: SpruceSchemas.Spruce.v2020_07_22.Person | undefined | null;
|
|
903
|
+
'skill'?: SpruceSchemas.Spruce.v2020_07_22.Skill | undefined | null;
|
|
904
|
+
}
|
|
905
|
+
interface AuthSchemaSchema extends SpruceSchema.Schema {
|
|
906
|
+
id: 'authSchema';
|
|
907
|
+
version: 'v2020_12_25';
|
|
908
|
+
namespace: 'Mercury';
|
|
909
|
+
name: '';
|
|
910
|
+
fields: {
|
|
911
|
+
/** . */
|
|
912
|
+
'person': {
|
|
913
|
+
type: 'schema';
|
|
914
|
+
options: {
|
|
915
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
916
|
+
};
|
|
917
|
+
};
|
|
918
|
+
/** . */
|
|
919
|
+
'skill': {
|
|
920
|
+
type: 'schema';
|
|
921
|
+
options: {
|
|
922
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.SkillSchema;
|
|
923
|
+
};
|
|
924
|
+
};
|
|
925
|
+
};
|
|
926
|
+
}
|
|
927
|
+
interface AuthSchemaEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema> {
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
931
|
+
interface AuthenticateResponsePayload {
|
|
932
|
+
'type': ("authenticated" | "anonymous");
|
|
933
|
+
'auth': SpruceSchemas.Mercury.v2020_12_25.AuthSchema;
|
|
934
|
+
}
|
|
935
|
+
interface AuthenticateResponsePayloadSchema extends SpruceSchema.Schema {
|
|
936
|
+
id: 'authenticateResponsePayload';
|
|
937
|
+
version: 'v2020_12_25';
|
|
938
|
+
namespace: 'Mercury';
|
|
939
|
+
name: '';
|
|
940
|
+
fields: {
|
|
941
|
+
/** . */
|
|
942
|
+
'type': {
|
|
943
|
+
type: 'select';
|
|
944
|
+
isRequired: true;
|
|
945
|
+
options: {
|
|
946
|
+
choices: [{
|
|
947
|
+
"value": "authenticated";
|
|
948
|
+
"label": "Authenticated";
|
|
687
949
|
}, {
|
|
688
|
-
"value": "
|
|
689
|
-
"label": "
|
|
950
|
+
"value": "anonymous";
|
|
951
|
+
"label": "Anonymous";
|
|
952
|
+
}];
|
|
953
|
+
};
|
|
954
|
+
};
|
|
955
|
+
/** . */
|
|
956
|
+
'auth': {
|
|
957
|
+
type: 'schema';
|
|
958
|
+
isRequired: true;
|
|
959
|
+
options: {
|
|
960
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema;
|
|
961
|
+
};
|
|
962
|
+
};
|
|
963
|
+
};
|
|
964
|
+
}
|
|
965
|
+
interface AuthenticateResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateResponsePayloadSchema> {
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
969
|
+
interface CanListenEmitPayload {
|
|
970
|
+
'authorizerStatuses'?: ("clockedIn" | "clockedOut" | "onPrem" | "offPrem") | undefined | null;
|
|
971
|
+
'fullyQualifiedEventName': string;
|
|
972
|
+
}
|
|
973
|
+
interface CanListenEmitPayloadSchema extends SpruceSchema.Schema {
|
|
974
|
+
id: 'canListenEmitPayload';
|
|
975
|
+
version: 'v2020_12_25';
|
|
976
|
+
namespace: 'Mercury';
|
|
977
|
+
name: '';
|
|
978
|
+
fields: {
|
|
979
|
+
/** . */
|
|
980
|
+
'authorizerStatuses': {
|
|
981
|
+
type: 'select';
|
|
982
|
+
options: {
|
|
983
|
+
choices: [{
|
|
984
|
+
"label": "Clocked in";
|
|
985
|
+
"value": "clockedIn";
|
|
690
986
|
}, {
|
|
691
|
-
"
|
|
692
|
-
"
|
|
987
|
+
"label": "Clocked out";
|
|
988
|
+
"value": "clockedOut";
|
|
693
989
|
}, {
|
|
694
|
-
"
|
|
695
|
-
"
|
|
990
|
+
"label": "On premises";
|
|
991
|
+
"value": "onPrem";
|
|
696
992
|
}, {
|
|
697
|
-
"
|
|
698
|
-
"
|
|
993
|
+
"label": "Off premises";
|
|
994
|
+
"value": "offPrem";
|
|
995
|
+
}];
|
|
996
|
+
};
|
|
997
|
+
};
|
|
998
|
+
/** . */
|
|
999
|
+
'fullyQualifiedEventName': {
|
|
1000
|
+
type: 'text';
|
|
1001
|
+
isRequired: true;
|
|
1002
|
+
options: undefined;
|
|
1003
|
+
};
|
|
1004
|
+
};
|
|
1005
|
+
}
|
|
1006
|
+
interface CanListenEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema> {
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1010
|
+
interface CanListenEmitTargetAndPayload {
|
|
1011
|
+
/** Source. */
|
|
1012
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1013
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayload;
|
|
1014
|
+
}
|
|
1015
|
+
interface CanListenEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1016
|
+
id: 'canListenEmitTargetAndPayload';
|
|
1017
|
+
version: 'v2020_12_25';
|
|
1018
|
+
namespace: 'Mercury';
|
|
1019
|
+
name: '';
|
|
1020
|
+
fields: {
|
|
1021
|
+
/** Source. */
|
|
1022
|
+
'source': {
|
|
1023
|
+
label: 'Source';
|
|
1024
|
+
type: 'schema';
|
|
1025
|
+
options: {
|
|
1026
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1027
|
+
};
|
|
1028
|
+
};
|
|
1029
|
+
/** . */
|
|
1030
|
+
'payload': {
|
|
1031
|
+
type: 'schema';
|
|
1032
|
+
isRequired: true;
|
|
1033
|
+
options: {
|
|
1034
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema;
|
|
1035
|
+
};
|
|
1036
|
+
};
|
|
1037
|
+
};
|
|
1038
|
+
}
|
|
1039
|
+
interface CanListenEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitTargetAndPayloadSchema> {
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
1042
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1043
|
+
interface CanListenResponsePayload {
|
|
1044
|
+
'can'?: boolean | undefined | null;
|
|
1045
|
+
}
|
|
1046
|
+
interface CanListenResponsePayloadSchema extends SpruceSchema.Schema {
|
|
1047
|
+
id: 'canListenResponsePayload';
|
|
1048
|
+
version: 'v2020_12_25';
|
|
1049
|
+
namespace: 'Mercury';
|
|
1050
|
+
name: '';
|
|
1051
|
+
fields: {
|
|
1052
|
+
/** . */
|
|
1053
|
+
'can': {
|
|
1054
|
+
type: 'boolean';
|
|
1055
|
+
options: undefined;
|
|
1056
|
+
};
|
|
1057
|
+
};
|
|
1058
|
+
}
|
|
1059
|
+
interface CanListenResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenResponsePayloadSchema> {
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1063
|
+
interface ConfirmPinEmitPayload {
|
|
1064
|
+
'challenge': string;
|
|
1065
|
+
'pin': string;
|
|
1066
|
+
}
|
|
1067
|
+
interface ConfirmPinEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1068
|
+
id: 'confirmPinEmitPayload';
|
|
1069
|
+
version: 'v2020_12_25';
|
|
1070
|
+
namespace: 'Mercury';
|
|
1071
|
+
name: '';
|
|
1072
|
+
fields: {
|
|
1073
|
+
/** . */
|
|
1074
|
+
'challenge': {
|
|
1075
|
+
type: 'text';
|
|
1076
|
+
isRequired: true;
|
|
1077
|
+
options: undefined;
|
|
1078
|
+
};
|
|
1079
|
+
/** . */
|
|
1080
|
+
'pin': {
|
|
1081
|
+
type: 'text';
|
|
1082
|
+
isRequired: true;
|
|
1083
|
+
options: undefined;
|
|
1084
|
+
};
|
|
1085
|
+
};
|
|
1086
|
+
}
|
|
1087
|
+
interface ConfirmPinEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema> {
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1091
|
+
interface ConfirmPinEmitTargetAndPayload {
|
|
1092
|
+
/** Source. */
|
|
1093
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1094
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayload;
|
|
1095
|
+
}
|
|
1096
|
+
interface ConfirmPinEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1097
|
+
id: 'confirmPinEmitTargetAndPayload';
|
|
1098
|
+
version: 'v2020_12_25';
|
|
1099
|
+
namespace: 'Mercury';
|
|
1100
|
+
name: '';
|
|
1101
|
+
fields: {
|
|
1102
|
+
/** Source. */
|
|
1103
|
+
'source': {
|
|
1104
|
+
label: 'Source';
|
|
1105
|
+
type: 'schema';
|
|
1106
|
+
options: {
|
|
1107
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1108
|
+
};
|
|
1109
|
+
};
|
|
1110
|
+
/** . */
|
|
1111
|
+
'payload': {
|
|
1112
|
+
type: 'schema';
|
|
1113
|
+
isRequired: true;
|
|
1114
|
+
options: {
|
|
1115
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema;
|
|
1116
|
+
};
|
|
1117
|
+
};
|
|
1118
|
+
};
|
|
1119
|
+
}
|
|
1120
|
+
interface ConfirmPinEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitTargetAndPayloadSchema> {
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1124
|
+
interface ConfirmPinRespondPayload {
|
|
1125
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
1126
|
+
'token': string;
|
|
1127
|
+
}
|
|
1128
|
+
interface ConfirmPinRespondPayloadSchema extends SpruceSchema.Schema {
|
|
1129
|
+
id: 'confirmPinRespondPayload';
|
|
1130
|
+
version: 'v2020_12_25';
|
|
1131
|
+
namespace: 'Mercury';
|
|
1132
|
+
name: '';
|
|
1133
|
+
fields: {
|
|
1134
|
+
/** . */
|
|
1135
|
+
'person': {
|
|
1136
|
+
type: 'schema';
|
|
1137
|
+
isRequired: true;
|
|
1138
|
+
options: {
|
|
1139
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
1140
|
+
};
|
|
1141
|
+
};
|
|
1142
|
+
/** . */
|
|
1143
|
+
'token': {
|
|
1144
|
+
type: 'text';
|
|
1145
|
+
isRequired: true;
|
|
1146
|
+
options: undefined;
|
|
1147
|
+
};
|
|
1148
|
+
};
|
|
1149
|
+
}
|
|
1150
|
+
interface ConfirmPinRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinRespondPayloadSchema> {
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1154
|
+
interface CreateLocationEmitTarget {
|
|
1155
|
+
'organizationId': string;
|
|
1156
|
+
}
|
|
1157
|
+
interface CreateLocationEmitTargetSchema extends SpruceSchema.Schema {
|
|
1158
|
+
id: 'createLocationEmitTarget';
|
|
1159
|
+
version: 'v2020_12_25';
|
|
1160
|
+
namespace: 'Mercury';
|
|
1161
|
+
name: '';
|
|
1162
|
+
fields: {
|
|
1163
|
+
/** . */
|
|
1164
|
+
'organizationId': {
|
|
1165
|
+
type: 'id';
|
|
1166
|
+
isRequired: true;
|
|
1167
|
+
options: undefined;
|
|
1168
|
+
};
|
|
1169
|
+
};
|
|
1170
|
+
}
|
|
1171
|
+
interface CreateLocationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CreateLocationEmitTargetSchema> {
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1175
|
+
interface CreateLocationEmitPayload {
|
|
1176
|
+
/** Name. */
|
|
1177
|
+
'name': string;
|
|
1178
|
+
/** Store number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
1179
|
+
'num'?: string | undefined | null;
|
|
1180
|
+
/** Public. Is this location viewable by guests? */
|
|
1181
|
+
'isPublic'?: boolean | undefined | null;
|
|
1182
|
+
/** Main Phone. */
|
|
1183
|
+
'phone'?: string | undefined | null;
|
|
1184
|
+
/** Timezone. */
|
|
1185
|
+
'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;
|
|
1186
|
+
/** Address. */
|
|
1187
|
+
'address': SpruceSchema.AddressFieldValue;
|
|
1188
|
+
'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
1189
|
+
'slug'?: string | undefined | null;
|
|
1190
|
+
}
|
|
1191
|
+
interface CreateLocationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1192
|
+
id: 'createLocationEmitPayload';
|
|
1193
|
+
version: 'v2020_12_25';
|
|
1194
|
+
namespace: 'Mercury';
|
|
1195
|
+
name: '';
|
|
1196
|
+
fields: {
|
|
1197
|
+
/** Name. */
|
|
1198
|
+
'name': {
|
|
1199
|
+
label: 'Name';
|
|
1200
|
+
type: 'text';
|
|
1201
|
+
isRequired: true;
|
|
1202
|
+
options: undefined;
|
|
1203
|
+
};
|
|
1204
|
+
/** Store number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
1205
|
+
'num': {
|
|
1206
|
+
label: 'Store number';
|
|
1207
|
+
type: 'text';
|
|
1208
|
+
hint: 'You can use other symbols, like # or dashes. #123 or 32-US-5';
|
|
1209
|
+
options: undefined;
|
|
1210
|
+
};
|
|
1211
|
+
/** Public. Is this location viewable by guests? */
|
|
1212
|
+
'isPublic': {
|
|
1213
|
+
label: 'Public';
|
|
1214
|
+
type: 'boolean';
|
|
1215
|
+
hint: 'Is this location viewable by guests?';
|
|
1216
|
+
defaultValue: false;
|
|
1217
|
+
options: undefined;
|
|
1218
|
+
};
|
|
1219
|
+
/** Main Phone. */
|
|
1220
|
+
'phone': {
|
|
1221
|
+
label: 'Main Phone';
|
|
1222
|
+
type: 'phone';
|
|
1223
|
+
options: undefined;
|
|
1224
|
+
};
|
|
1225
|
+
/** Timezone. */
|
|
1226
|
+
'timezone': {
|
|
1227
|
+
label: 'Timezone';
|
|
1228
|
+
type: 'select';
|
|
1229
|
+
options: {
|
|
1230
|
+
choices: [{
|
|
1231
|
+
"value": "Pacific/Niue";
|
|
1232
|
+
"label": "Niue Time";
|
|
699
1233
|
}, {
|
|
700
|
-
"value": "
|
|
701
|
-
"label": "
|
|
1234
|
+
"value": "Pacific/Pago_Pago";
|
|
1235
|
+
"label": "Samoa Standard Time";
|
|
702
1236
|
}, {
|
|
703
|
-
"value": "
|
|
704
|
-
"label": "
|
|
1237
|
+
"value": "Pacific/Rarotonga";
|
|
1238
|
+
"label": "Cook Islands Standard Time";
|
|
705
1239
|
}, {
|
|
706
|
-
"value": "
|
|
707
|
-
"label": "
|
|
1240
|
+
"value": "Pacific/Honolulu";
|
|
1241
|
+
"label": "Hawaii-Aleutian Standard Time";
|
|
708
1242
|
}, {
|
|
709
|
-
"value": "
|
|
710
|
-
"label": "
|
|
1243
|
+
"value": "Pacific/Tahiti";
|
|
1244
|
+
"label": "Tahiti Time";
|
|
1245
|
+
}, {
|
|
1246
|
+
"value": "Pacific/Marquesas";
|
|
1247
|
+
"label": "Marquesas Time";
|
|
1248
|
+
}, {
|
|
1249
|
+
"value": "Pacific/Gambier";
|
|
1250
|
+
"label": "Gambier Time";
|
|
1251
|
+
}, {
|
|
1252
|
+
"value": "America/Adak";
|
|
1253
|
+
"label": "Hawaii-Aleutian Time (Adak)";
|
|
1254
|
+
}, {
|
|
1255
|
+
"value": "America/Anchorage";
|
|
1256
|
+
"label": "Alaska Time - Anchorage";
|
|
1257
|
+
}, {
|
|
1258
|
+
"value": "America/Juneau";
|
|
1259
|
+
"label": "Alaska Time - Juneau";
|
|
1260
|
+
}, {
|
|
1261
|
+
"value": "America/Metlakatla";
|
|
1262
|
+
"label": "Alaska Time - Metlakatla";
|
|
1263
|
+
}, {
|
|
1264
|
+
"value": "America/Nome";
|
|
1265
|
+
"label": "Alaska Time - Nome";
|
|
1266
|
+
}, {
|
|
1267
|
+
"value": "America/Sitka";
|
|
1268
|
+
"label": "Alaska Time - Sitka";
|
|
1269
|
+
}, {
|
|
1270
|
+
"value": "America/Yakutat";
|
|
1271
|
+
"label": "Alaska Time - Yakutat";
|
|
1272
|
+
}, {
|
|
1273
|
+
"value": "Pacific/Pitcairn";
|
|
1274
|
+
"label": "Pitcairn Time";
|
|
1275
|
+
}, {
|
|
1276
|
+
"value": "America/Hermosillo";
|
|
1277
|
+
"label": "Mexican Pacific Standard Time";
|
|
1278
|
+
}, {
|
|
1279
|
+
"value": "America/Dawson_Creek";
|
|
1280
|
+
"label": "Mountain Standard Time - Dawson Creek";
|
|
1281
|
+
}, {
|
|
1282
|
+
"value": "America/Fort_Nelson";
|
|
1283
|
+
"label": "Mountain Standard Time - Fort Nelson";
|
|
1284
|
+
}, {
|
|
1285
|
+
"value": "America/Phoenix";
|
|
1286
|
+
"label": "Mountain Standard Time - Phoenix";
|
|
1287
|
+
}, {
|
|
1288
|
+
"value": "America/Los_Angeles";
|
|
1289
|
+
"label": "Pacific Time - Los Angeles";
|
|
1290
|
+
}, {
|
|
1291
|
+
"value": "America/Tijuana";
|
|
1292
|
+
"label": "Pacific Time - Tijuana";
|
|
1293
|
+
}, {
|
|
1294
|
+
"value": "America/Vancouver";
|
|
1295
|
+
"label": "Pacific Time - Vancouver";
|
|
1296
|
+
}, {
|
|
1297
|
+
"value": "America/Dawson";
|
|
1298
|
+
"label": "Yukon Time - Dawson";
|
|
1299
|
+
}, {
|
|
1300
|
+
"value": "America/Whitehorse";
|
|
1301
|
+
"label": "Yukon Time - Whitehorse";
|
|
1302
|
+
}, {
|
|
1303
|
+
"value": "America/Belize";
|
|
1304
|
+
"label": "Central Standard Time - Belize";
|
|
1305
|
+
}, {
|
|
1306
|
+
"value": "America/Costa_Rica";
|
|
1307
|
+
"label": "Central Standard Time - Costa Rica";
|
|
1308
|
+
}, {
|
|
1309
|
+
"value": "America/El_Salvador";
|
|
1310
|
+
"label": "Central Standard Time - El Salvador";
|
|
1311
|
+
}, {
|
|
1312
|
+
"value": "America/Guatemala";
|
|
1313
|
+
"label": "Central Standard Time - Guatemala";
|
|
1314
|
+
}, {
|
|
1315
|
+
"value": "America/Managua";
|
|
1316
|
+
"label": "Central Standard Time - Managua";
|
|
1317
|
+
}, {
|
|
1318
|
+
"value": "America/Regina";
|
|
1319
|
+
"label": "Central Standard Time - Regina";
|
|
1320
|
+
}, {
|
|
1321
|
+
"value": "America/Swift_Current";
|
|
1322
|
+
"label": "Central Standard Time - Swift Current";
|
|
1323
|
+
}, {
|
|
1324
|
+
"value": "America/Tegucigalpa";
|
|
1325
|
+
"label": "Central Standard Time - Tegucigalpa";
|
|
1326
|
+
}, {
|
|
1327
|
+
"value": "Pacific/Easter";
|
|
1328
|
+
"label": "Easter Island Time";
|
|
1329
|
+
}, {
|
|
1330
|
+
"value": "Pacific/Galapagos";
|
|
1331
|
+
"label": "Galapagos Time";
|
|
1332
|
+
}, {
|
|
1333
|
+
"value": "America/Chihuahua";
|
|
1334
|
+
"label": "Mexican Pacific Time - Chihuahua";
|
|
1335
|
+
}, {
|
|
1336
|
+
"value": "America/Mazatlan";
|
|
1337
|
+
"label": "Mexican Pacific Time - Mazatlan";
|
|
1338
|
+
}, {
|
|
1339
|
+
"value": "America/Boise";
|
|
1340
|
+
"label": "Mountain Time - Boise";
|
|
1341
|
+
}, {
|
|
1342
|
+
"value": "America/Cambridge_Bay";
|
|
1343
|
+
"label": "Mountain Time - Cambridge Bay";
|
|
1344
|
+
}, {
|
|
1345
|
+
"value": "America/Denver";
|
|
1346
|
+
"label": "Mountain Time - Denver";
|
|
1347
|
+
}, {
|
|
1348
|
+
"value": "America/Edmonton";
|
|
1349
|
+
"label": "Mountain Time - Edmonton";
|
|
1350
|
+
}, {
|
|
1351
|
+
"value": "America/Inuvik";
|
|
1352
|
+
"label": "Mountain Time - Inuvik";
|
|
1353
|
+
}, {
|
|
1354
|
+
"value": "America/Ojinaga";
|
|
1355
|
+
"label": "Mountain Time - Ojinaga";
|
|
1356
|
+
}, {
|
|
1357
|
+
"value": "America/Yellowknife";
|
|
1358
|
+
"label": "Mountain Time - Yellowknife";
|
|
1359
|
+
}, {
|
|
1360
|
+
"value": "America/Eirunepe";
|
|
1361
|
+
"label": "Acre Standard Time - Eirunepe";
|
|
1362
|
+
}, {
|
|
1363
|
+
"value": "America/Rio_Branco";
|
|
1364
|
+
"label": "Acre Standard Time - Rio Branco";
|
|
1365
|
+
}, {
|
|
1366
|
+
"value": "America/Bahia_Banderas";
|
|
1367
|
+
"label": "Central Time - Bahia Banderas";
|
|
1368
|
+
}, {
|
|
1369
|
+
"value": "America/North_Dakota/Beulah";
|
|
1370
|
+
"label": "Central Time - Beulah, North Dakota";
|
|
1371
|
+
}, {
|
|
1372
|
+
"value": "America/North_Dakota/Center";
|
|
1373
|
+
"label": "Central Time - Center, North Dakota";
|
|
1374
|
+
}, {
|
|
1375
|
+
"value": "America/Chicago";
|
|
1376
|
+
"label": "Central Time - Chicago";
|
|
1377
|
+
}, {
|
|
1378
|
+
"value": "America/Indiana/Knox";
|
|
1379
|
+
"label": "Central Time - Knox, Indiana";
|
|
1380
|
+
}, {
|
|
1381
|
+
"value": "America/Matamoros";
|
|
1382
|
+
"label": "Central Time - Matamoros";
|
|
1383
|
+
}, {
|
|
1384
|
+
"value": "America/Menominee";
|
|
1385
|
+
"label": "Central Time - Menominee";
|
|
1386
|
+
}, {
|
|
1387
|
+
"value": "America/Merida";
|
|
1388
|
+
"label": "Central Time - Merida";
|
|
1389
|
+
}, {
|
|
1390
|
+
"value": "America/Mexico_City";
|
|
1391
|
+
"label": "Central Time - Mexico City";
|
|
711
1392
|
}, {
|
|
712
1393
|
"value": "America/Monterrey";
|
|
713
1394
|
"label": "Central Time - Monterrey";
|
|
@@ -4211,6 +4892,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4211
4892
|
interface GetResolvedPermissionsContractEmitTarget {
|
|
4212
4893
|
'locationId'?: string | undefined | null;
|
|
4213
4894
|
'organizationId'?: string | undefined | null;
|
|
4895
|
+
'roleId'?: string | undefined | null;
|
|
4214
4896
|
'contractPersonId'?: string | undefined | null;
|
|
4215
4897
|
'contractSkillId'?: string | undefined | null;
|
|
4216
4898
|
}
|
|
@@ -4231,6 +4913,11 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4231
4913
|
options: undefined;
|
|
4232
4914
|
};
|
|
4233
4915
|
/** . */
|
|
4916
|
+
'roleId': {
|
|
4917
|
+
type: 'id';
|
|
4918
|
+
options: undefined;
|
|
4919
|
+
};
|
|
4920
|
+
/** . */
|
|
4234
4921
|
'contractPersonId': {
|
|
4235
4922
|
type: 'id';
|
|
4236
4923
|
options: undefined;
|
|
@@ -4307,6 +4994,29 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4307
4994
|
interface GetResolvedPermissionsContractEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetResolvedPermissionsContractEmitTargetAndPayloadSchema> {
|
|
4308
4995
|
}
|
|
4309
4996
|
}
|
|
4997
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4998
|
+
interface GetResolvedPermissionsContractRespondPayload {
|
|
4999
|
+
'resolvedContract': SpruceSchemas.Mercury.v2020_12_25.ResolvedContract;
|
|
5000
|
+
}
|
|
5001
|
+
interface GetResolvedPermissionsContractRespondPayloadSchema extends SpruceSchema.Schema {
|
|
5002
|
+
id: 'getResolvedPermissionsContractRespondPayload';
|
|
5003
|
+
version: 'v2020_12_25';
|
|
5004
|
+
namespace: 'Mercury';
|
|
5005
|
+
name: '';
|
|
5006
|
+
fields: {
|
|
5007
|
+
/** . */
|
|
5008
|
+
'resolvedContract': {
|
|
5009
|
+
type: 'schema';
|
|
5010
|
+
isRequired: true;
|
|
5011
|
+
options: {
|
|
5012
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ResolvedContractSchema;
|
|
5013
|
+
};
|
|
5014
|
+
};
|
|
5015
|
+
};
|
|
5016
|
+
}
|
|
5017
|
+
interface GetResolvedPermissionsContractRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetResolvedPermissionsContractRespondPayloadSchema> {
|
|
5018
|
+
}
|
|
5019
|
+
}
|
|
4310
5020
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4311
5021
|
interface ResolvedContractPermission {
|
|
4312
5022
|
'id': string;
|
|
@@ -4376,29 +5086,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4376
5086
|
interface ResolvedContractEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ResolvedContractSchema> {
|
|
4377
5087
|
}
|
|
4378
5088
|
}
|
|
4379
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4380
|
-
interface GetResolvedPermissionsContractRespondPayload {
|
|
4381
|
-
'resolvedContract': SpruceSchemas.Mercury.v2020_12_25.ResolvedContract;
|
|
4382
|
-
}
|
|
4383
|
-
interface GetResolvedPermissionsContractRespondPayloadSchema extends SpruceSchema.Schema {
|
|
4384
|
-
id: 'getResolvedPermissionsContractRespondPayload';
|
|
4385
|
-
version: 'v2020_12_25';
|
|
4386
|
-
namespace: 'Mercury';
|
|
4387
|
-
name: '';
|
|
4388
|
-
fields: {
|
|
4389
|
-
/** . */
|
|
4390
|
-
'resolvedContract': {
|
|
4391
|
-
type: 'schema';
|
|
4392
|
-
isRequired: true;
|
|
4393
|
-
options: {
|
|
4394
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ResolvedContractSchema;
|
|
4395
|
-
};
|
|
4396
|
-
};
|
|
4397
|
-
};
|
|
4398
|
-
}
|
|
4399
|
-
interface GetResolvedPermissionsContractRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetResolvedPermissionsContractRespondPayloadSchema> {
|
|
4400
|
-
}
|
|
4401
|
-
}
|
|
4402
5089
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4403
5090
|
interface GetRoleEmitTarget {
|
|
4404
5091
|
'roleId': string;
|
|
@@ -5374,6 +6061,46 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
5374
6061
|
interface ListPeopleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitPayloadSchema> {
|
|
5375
6062
|
}
|
|
5376
6063
|
}
|
|
6064
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6065
|
+
interface ListPeopleEmitTargetAndPayload {
|
|
6066
|
+
/** Source. */
|
|
6067
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
6068
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitTarget | undefined | null;
|
|
6069
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitPayload | undefined | null;
|
|
6070
|
+
}
|
|
6071
|
+
interface ListPeopleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
6072
|
+
id: 'listPeopleEmitTargetAndPayload';
|
|
6073
|
+
version: 'v2020_12_25';
|
|
6074
|
+
namespace: 'Mercury';
|
|
6075
|
+
name: '';
|
|
6076
|
+
fields: {
|
|
6077
|
+
/** Source. */
|
|
6078
|
+
'source': {
|
|
6079
|
+
label: 'Source';
|
|
6080
|
+
type: 'schema';
|
|
6081
|
+
options: {
|
|
6082
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
6083
|
+
};
|
|
6084
|
+
};
|
|
6085
|
+
/** . */
|
|
6086
|
+
'target': {
|
|
6087
|
+
type: 'schema';
|
|
6088
|
+
options: {
|
|
6089
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitTargetSchema;
|
|
6090
|
+
};
|
|
6091
|
+
};
|
|
6092
|
+
/** . */
|
|
6093
|
+
'payload': {
|
|
6094
|
+
type: 'schema';
|
|
6095
|
+
options: {
|
|
6096
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitPayloadSchema;
|
|
6097
|
+
};
|
|
6098
|
+
};
|
|
6099
|
+
};
|
|
6100
|
+
}
|
|
6101
|
+
interface ListPeopleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitTargetAndPayloadSchema> {
|
|
6102
|
+
}
|
|
6103
|
+
}
|
|
5377
6104
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5378
6105
|
interface ListPerson {
|
|
5379
6106
|
/** Id. */
|
|
@@ -7121,45 +7848,12 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
7121
7848
|
}
|
|
7122
7849
|
}
|
|
7123
7850
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7124
|
-
interface
|
|
7125
|
-
/**
|
|
7126
|
-
'
|
|
7127
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitPayload;
|
|
7851
|
+
interface RegisterConversationTopicEmitPayloadTopic {
|
|
7852
|
+
/** Key. A way to identify this topic, must be unique for your skill. */
|
|
7853
|
+
'key': string;
|
|
7128
7854
|
}
|
|
7129
|
-
interface
|
|
7130
|
-
id: '
|
|
7131
|
-
version: 'v2020_12_25';
|
|
7132
|
-
namespace: 'Mercury';
|
|
7133
|
-
name: '';
|
|
7134
|
-
fields: {
|
|
7135
|
-
/** Source. */
|
|
7136
|
-
'source': {
|
|
7137
|
-
label: 'Source';
|
|
7138
|
-
type: 'schema';
|
|
7139
|
-
options: {
|
|
7140
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
7141
|
-
};
|
|
7142
|
-
};
|
|
7143
|
-
/** . */
|
|
7144
|
-
'payload': {
|
|
7145
|
-
type: 'schema';
|
|
7146
|
-
isRequired: true;
|
|
7147
|
-
options: {
|
|
7148
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitPayloadSchema;
|
|
7149
|
-
};
|
|
7150
|
-
};
|
|
7151
|
-
};
|
|
7152
|
-
}
|
|
7153
|
-
interface RegisterConversationTopicsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitTargetAndPayloadSchema> {
|
|
7154
|
-
}
|
|
7155
|
-
}
|
|
7156
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7157
|
-
interface RegisterConversationTopicEmitPayloadTopic {
|
|
7158
|
-
/** Key. A way to identify this topic, must be unique for your skill. */
|
|
7159
|
-
'key': string;
|
|
7160
|
-
}
|
|
7161
|
-
interface RegisterConversationTopicEmitPayloadTopicSchema extends SpruceSchema.Schema {
|
|
7162
|
-
id: 'registerConversationTopicEmitPayloadTopic';
|
|
7855
|
+
interface RegisterConversationTopicEmitPayloadTopicSchema extends SpruceSchema.Schema {
|
|
7856
|
+
id: 'registerConversationTopicEmitPayloadTopic';
|
|
7163
7857
|
version: 'v2020_12_25';
|
|
7164
7858
|
namespace: 'Mercury';
|
|
7165
7859
|
name: '';
|
|
@@ -7201,6 +7895,39 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
7201
7895
|
interface RegisterConversationTopicsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitPayloadSchema> {
|
|
7202
7896
|
}
|
|
7203
7897
|
}
|
|
7898
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7899
|
+
interface RegisterConversationTopicsEmitTargetAndPayload {
|
|
7900
|
+
/** Source. */
|
|
7901
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
7902
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitPayload;
|
|
7903
|
+
}
|
|
7904
|
+
interface RegisterConversationTopicsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
7905
|
+
id: 'registerConversationTopicsEmitTargetAndPayload';
|
|
7906
|
+
version: 'v2020_12_25';
|
|
7907
|
+
namespace: 'Mercury';
|
|
7908
|
+
name: '';
|
|
7909
|
+
fields: {
|
|
7910
|
+
/** Source. */
|
|
7911
|
+
'source': {
|
|
7912
|
+
label: 'Source';
|
|
7913
|
+
type: 'schema';
|
|
7914
|
+
options: {
|
|
7915
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
7916
|
+
};
|
|
7917
|
+
};
|
|
7918
|
+
/** . */
|
|
7919
|
+
'payload': {
|
|
7920
|
+
type: 'schema';
|
|
7921
|
+
isRequired: true;
|
|
7922
|
+
options: {
|
|
7923
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitPayloadSchema;
|
|
7924
|
+
};
|
|
7925
|
+
};
|
|
7926
|
+
};
|
|
7927
|
+
}
|
|
7928
|
+
interface RegisterConversationTopicsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitTargetAndPayloadSchema> {
|
|
7929
|
+
}
|
|
7930
|
+
}
|
|
7204
7931
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7205
7932
|
interface RegisterConversationTopicsResponsePayload {
|
|
7206
7933
|
}
|
|
@@ -7781,48 +8508,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
7781
8508
|
interface SavePermissionsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitTargetSchema> {
|
|
7782
8509
|
}
|
|
7783
8510
|
}
|
|
7784
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7785
|
-
interface SavePermissionsEmitTargetAndPayload {
|
|
7786
|
-
/** Source. */
|
|
7787
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
7788
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitTarget;
|
|
7789
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitPayload;
|
|
7790
|
-
}
|
|
7791
|
-
interface SavePermissionsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
7792
|
-
id: 'savePermissionsEmitTargetAndPayload';
|
|
7793
|
-
version: 'v2020_12_25';
|
|
7794
|
-
namespace: 'Mercury';
|
|
7795
|
-
name: '';
|
|
7796
|
-
fields: {
|
|
7797
|
-
/** Source. */
|
|
7798
|
-
'source': {
|
|
7799
|
-
label: 'Source';
|
|
7800
|
-
type: 'schema';
|
|
7801
|
-
options: {
|
|
7802
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
7803
|
-
};
|
|
7804
|
-
};
|
|
7805
|
-
/** . */
|
|
7806
|
-
'target': {
|
|
7807
|
-
type: 'schema';
|
|
7808
|
-
isRequired: true;
|
|
7809
|
-
options: {
|
|
7810
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitTargetSchema;
|
|
7811
|
-
};
|
|
7812
|
-
};
|
|
7813
|
-
/** . */
|
|
7814
|
-
'payload': {
|
|
7815
|
-
type: 'schema';
|
|
7816
|
-
isRequired: true;
|
|
7817
|
-
options: {
|
|
7818
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitPayloadSchema;
|
|
7819
|
-
};
|
|
7820
|
-
};
|
|
7821
|
-
};
|
|
7822
|
-
}
|
|
7823
|
-
interface SavePermissionsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitTargetAndPayloadSchema> {
|
|
7824
|
-
}
|
|
7825
|
-
}
|
|
7826
8511
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7827
8512
|
interface SavePermissionsPermission {
|
|
7828
8513
|
/** id. Hyphen separated id for this permission, e.g. can-unlock-doors */
|
|
@@ -7881,6 +8566,48 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
7881
8566
|
interface SavePermissionsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitPayloadSchema> {
|
|
7882
8567
|
}
|
|
7883
8568
|
}
|
|
8569
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8570
|
+
interface SavePermissionsEmitTargetAndPayload {
|
|
8571
|
+
/** Source. */
|
|
8572
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8573
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitTarget;
|
|
8574
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitPayload;
|
|
8575
|
+
}
|
|
8576
|
+
interface SavePermissionsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8577
|
+
id: 'savePermissionsEmitTargetAndPayload';
|
|
8578
|
+
version: 'v2020_12_25';
|
|
8579
|
+
namespace: 'Mercury';
|
|
8580
|
+
name: '';
|
|
8581
|
+
fields: {
|
|
8582
|
+
/** Source. */
|
|
8583
|
+
'source': {
|
|
8584
|
+
label: 'Source';
|
|
8585
|
+
type: 'schema';
|
|
8586
|
+
options: {
|
|
8587
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
8588
|
+
};
|
|
8589
|
+
};
|
|
8590
|
+
/** . */
|
|
8591
|
+
'target': {
|
|
8592
|
+
type: 'schema';
|
|
8593
|
+
isRequired: true;
|
|
8594
|
+
options: {
|
|
8595
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitTargetSchema;
|
|
8596
|
+
};
|
|
8597
|
+
};
|
|
8598
|
+
/** . */
|
|
8599
|
+
'payload': {
|
|
8600
|
+
type: 'schema';
|
|
8601
|
+
isRequired: true;
|
|
8602
|
+
options: {
|
|
8603
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitPayloadSchema;
|
|
8604
|
+
};
|
|
8605
|
+
};
|
|
8606
|
+
};
|
|
8607
|
+
}
|
|
8608
|
+
interface SavePermissionsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitTargetAndPayloadSchema> {
|
|
8609
|
+
}
|
|
8610
|
+
}
|
|
7884
8611
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7885
8612
|
interface SavePermissionsResponsePayload {
|
|
7886
8613
|
'success': boolean;
|
|
@@ -8017,6 +8744,47 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8017
8744
|
interface SendMessageTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema> {
|
|
8018
8745
|
}
|
|
8019
8746
|
}
|
|
8747
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8748
|
+
interface SendMessageEmitTargetAndPayload {
|
|
8749
|
+
/** Source. */
|
|
8750
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8751
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.SendMessageTarget | undefined | null;
|
|
8752
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayload;
|
|
8753
|
+
}
|
|
8754
|
+
interface SendMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8755
|
+
id: 'sendMessageEmitTargetAndPayload';
|
|
8756
|
+
version: 'v2020_12_25';
|
|
8757
|
+
namespace: 'Mercury';
|
|
8758
|
+
name: '';
|
|
8759
|
+
fields: {
|
|
8760
|
+
/** Source. */
|
|
8761
|
+
'source': {
|
|
8762
|
+
label: 'Source';
|
|
8763
|
+
type: 'schema';
|
|
8764
|
+
options: {
|
|
8765
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
8766
|
+
};
|
|
8767
|
+
};
|
|
8768
|
+
/** . */
|
|
8769
|
+
'target': {
|
|
8770
|
+
type: 'schema';
|
|
8771
|
+
options: {
|
|
8772
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema;
|
|
8773
|
+
};
|
|
8774
|
+
};
|
|
8775
|
+
/** . */
|
|
8776
|
+
'payload': {
|
|
8777
|
+
type: 'schema';
|
|
8778
|
+
isRequired: true;
|
|
8779
|
+
options: {
|
|
8780
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema;
|
|
8781
|
+
};
|
|
8782
|
+
};
|
|
8783
|
+
};
|
|
8784
|
+
}
|
|
8785
|
+
interface SendMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitTargetAndPayloadSchema> {
|
|
8786
|
+
}
|
|
8787
|
+
}
|
|
8020
8788
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8021
8789
|
interface SendMessageMessagePayload {
|
|
8022
8790
|
'classification': ("auth" | "transactional" | "promotional" | "incoming");
|
|
@@ -8116,47 +8884,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8116
8884
|
interface SendMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema> {
|
|
8117
8885
|
}
|
|
8118
8886
|
}
|
|
8119
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8120
|
-
interface SendMessageEmitTargetAndPayload {
|
|
8121
|
-
/** Source. */
|
|
8122
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8123
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.SendMessageTarget | undefined | null;
|
|
8124
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayload;
|
|
8125
|
-
}
|
|
8126
|
-
interface SendMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8127
|
-
id: 'sendMessageEmitTargetAndPayload';
|
|
8128
|
-
version: 'v2020_12_25';
|
|
8129
|
-
namespace: 'Mercury';
|
|
8130
|
-
name: '';
|
|
8131
|
-
fields: {
|
|
8132
|
-
/** Source. */
|
|
8133
|
-
'source': {
|
|
8134
|
-
label: 'Source';
|
|
8135
|
-
type: 'schema';
|
|
8136
|
-
options: {
|
|
8137
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
8138
|
-
};
|
|
8139
|
-
};
|
|
8140
|
-
/** . */
|
|
8141
|
-
'target': {
|
|
8142
|
-
type: 'schema';
|
|
8143
|
-
options: {
|
|
8144
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema;
|
|
8145
|
-
};
|
|
8146
|
-
};
|
|
8147
|
-
/** . */
|
|
8148
|
-
'payload': {
|
|
8149
|
-
type: 'schema';
|
|
8150
|
-
isRequired: true;
|
|
8151
|
-
options: {
|
|
8152
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema;
|
|
8153
|
-
};
|
|
8154
|
-
};
|
|
8155
|
-
};
|
|
8156
|
-
}
|
|
8157
|
-
interface SendMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitTargetAndPayloadSchema> {
|
|
8158
|
-
}
|
|
8159
|
-
}
|
|
8160
8887
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8161
8888
|
interface SendMessageResponsePayload {
|
|
8162
8889
|
'message': SpruceSchemas.Spruce.v2020_07_22.Message;
|
|
@@ -8269,6 +8996,30 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8269
8996
|
interface SubmitErrorMessageFeedbackEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SubmitErrorMessageFeedbackEmitTargetAndPayloadSchema> {
|
|
8270
8997
|
}
|
|
8271
8998
|
}
|
|
8999
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9000
|
+
interface SyncEventContractsEmitPayload {
|
|
9001
|
+
'contract': SpruceSchemas.Mercury.v2020_12_25.EventContract;
|
|
9002
|
+
}
|
|
9003
|
+
interface SyncEventContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
9004
|
+
id: 'syncEventContractsEmitPayload';
|
|
9005
|
+
version: 'v2020_12_25';
|
|
9006
|
+
namespace: 'Mercury';
|
|
9007
|
+
name: '';
|
|
9008
|
+
importsWhenRemote: ['import \'@sprucelabs/mercury-types\''];
|
|
9009
|
+
fields: {
|
|
9010
|
+
/** . */
|
|
9011
|
+
'contract': {
|
|
9012
|
+
type: 'schema';
|
|
9013
|
+
isRequired: true;
|
|
9014
|
+
options: {
|
|
9015
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.EventContractSchema;
|
|
9016
|
+
};
|
|
9017
|
+
};
|
|
9018
|
+
};
|
|
9019
|
+
}
|
|
9020
|
+
interface SyncEventContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitPayloadSchema> {
|
|
9021
|
+
}
|
|
9022
|
+
}
|
|
8272
9023
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8273
9024
|
interface SyncEventContractsEmitTargetAndPayload {
|
|
8274
9025
|
/** Source. */
|
|
@@ -8303,33 +9054,9 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8303
9054
|
}
|
|
8304
9055
|
}
|
|
8305
9056
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8306
|
-
interface
|
|
8307
|
-
|
|
8308
|
-
|
|
8309
|
-
interface SyncEventContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
8310
|
-
id: 'syncEventContractsEmitPayload';
|
|
8311
|
-
version: 'v2020_12_25';
|
|
8312
|
-
namespace: 'Mercury';
|
|
8313
|
-
name: '';
|
|
8314
|
-
importsWhenRemote: ['import \'@sprucelabs/mercury-types\''];
|
|
8315
|
-
fields: {
|
|
8316
|
-
/** . */
|
|
8317
|
-
'contract': {
|
|
8318
|
-
type: 'schema';
|
|
8319
|
-
isRequired: true;
|
|
8320
|
-
options: {
|
|
8321
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.EventContractSchema;
|
|
8322
|
-
};
|
|
8323
|
-
};
|
|
8324
|
-
};
|
|
8325
|
-
}
|
|
8326
|
-
interface SyncEventContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitPayloadSchema> {
|
|
8327
|
-
}
|
|
8328
|
-
}
|
|
8329
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8330
|
-
interface SyncEventContractsResponsePayload {
|
|
8331
|
-
/** Event names. */
|
|
8332
|
-
'fqens': string[];
|
|
9057
|
+
interface SyncEventContractsResponsePayload {
|
|
9058
|
+
/** Event names. */
|
|
9059
|
+
'fqens': string[];
|
|
8333
9060
|
}
|
|
8334
9061
|
interface SyncEventContractsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
8335
9062
|
id: 'syncEventContractsResponsePayload';
|
|
@@ -8377,6 +9104,31 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8377
9104
|
interface SyncPermissionContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsEmitPayloadSchema> {
|
|
8378
9105
|
}
|
|
8379
9106
|
}
|
|
9107
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9108
|
+
interface SyncPermissionContractsResponsePayload {
|
|
9109
|
+
'contractRecords': SpruceSchemas.Mercury.v2020_12_25.FullPermissionContract[];
|
|
9110
|
+
}
|
|
9111
|
+
interface SyncPermissionContractsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
9112
|
+
id: 'syncPermissionContractsResponsePayload';
|
|
9113
|
+
version: 'v2020_12_25';
|
|
9114
|
+
namespace: 'Mercury';
|
|
9115
|
+
name: '';
|
|
9116
|
+
fields: {
|
|
9117
|
+
/** . */
|
|
9118
|
+
'contractRecords': {
|
|
9119
|
+
type: 'schema';
|
|
9120
|
+
isRequired: true;
|
|
9121
|
+
isArray: true;
|
|
9122
|
+
minArrayLength: 0;
|
|
9123
|
+
options: {
|
|
9124
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema;
|
|
9125
|
+
};
|
|
9126
|
+
};
|
|
9127
|
+
};
|
|
9128
|
+
}
|
|
9129
|
+
interface SyncPermissionContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsResponsePayloadSchema> {
|
|
9130
|
+
}
|
|
9131
|
+
}
|
|
8380
9132
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8381
9133
|
interface SyncPermissionContractsEmitTargetAndPayload {
|
|
8382
9134
|
/** Source. */
|
|
@@ -8462,31 +9214,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8462
9214
|
interface FullPermissionContractEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema> {
|
|
8463
9215
|
}
|
|
8464
9216
|
}
|
|
8465
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8466
|
-
interface SyncPermissionContractsResponsePayload {
|
|
8467
|
-
'contractRecords': SpruceSchemas.Mercury.v2020_12_25.FullPermissionContract[];
|
|
8468
|
-
}
|
|
8469
|
-
interface SyncPermissionContractsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
8470
|
-
id: 'syncPermissionContractsResponsePayload';
|
|
8471
|
-
version: 'v2020_12_25';
|
|
8472
|
-
namespace: 'Mercury';
|
|
8473
|
-
name: '';
|
|
8474
|
-
fields: {
|
|
8475
|
-
/** . */
|
|
8476
|
-
'contractRecords': {
|
|
8477
|
-
type: 'schema';
|
|
8478
|
-
isRequired: true;
|
|
8479
|
-
isArray: true;
|
|
8480
|
-
minArrayLength: 0;
|
|
8481
|
-
options: {
|
|
8482
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema;
|
|
8483
|
-
};
|
|
8484
|
-
};
|
|
8485
|
-
};
|
|
8486
|
-
}
|
|
8487
|
-
interface SyncPermissionContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsResponsePayloadSchema> {
|
|
8488
|
-
}
|
|
8489
|
-
}
|
|
8490
9217
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8491
9218
|
interface UnInstallSkillEmitTarget {
|
|
8492
9219
|
'skillId': string;
|
|
@@ -11324,829 +12051,34 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
11324
12051
|
};
|
|
11325
12052
|
/** Avatar src. */
|
|
11326
12053
|
'avatar': {
|
|
11327
|
-
label: 'Avatar src';
|
|
11328
|
-
type: 'image';
|
|
11329
|
-
options: {
|
|
11330
|
-
requiredSizes: ["*"];
|
|
11331
|
-
};
|
|
11332
|
-
};
|
|
11333
|
-
/** Phone. A number that can be texted */
|
|
11334
|
-
'phone': {
|
|
11335
|
-
label: 'Phone';
|
|
11336
|
-
type: 'phone';
|
|
11337
|
-
isPrivate: true;
|
|
11338
|
-
hint: 'A number that can be texted';
|
|
11339
|
-
options: undefined;
|
|
11340
|
-
};
|
|
11341
|
-
};
|
|
11342
|
-
}
|
|
11343
|
-
interface UpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema> {
|
|
11344
|
-
}
|
|
11345
|
-
}
|
|
11346
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11347
|
-
interface UpdatePersonEmitTargetAndPayload {
|
|
11348
|
-
/** Source. */
|
|
11349
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11350
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTarget | undefined | null;
|
|
11351
|
-
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayload | undefined | null;
|
|
11352
|
-
}
|
|
11353
|
-
interface UpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11354
|
-
id: 'updatePersonEmitTargetAndPayload';
|
|
11355
|
-
version: 'v2020_12_25';
|
|
11356
|
-
namespace: 'Mercury';
|
|
11357
|
-
name: '';
|
|
11358
|
-
fields: {
|
|
11359
|
-
/** Source. */
|
|
11360
|
-
'source': {
|
|
11361
|
-
label: 'Source';
|
|
11362
|
-
type: 'schema';
|
|
11363
|
-
options: {
|
|
11364
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11365
|
-
};
|
|
11366
|
-
};
|
|
11367
|
-
/** . */
|
|
11368
|
-
'target': {
|
|
11369
|
-
type: 'schema';
|
|
11370
|
-
options: {
|
|
11371
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetSchema;
|
|
11372
|
-
};
|
|
11373
|
-
};
|
|
11374
|
-
/** . */
|
|
11375
|
-
'payload': {
|
|
11376
|
-
type: 'schema';
|
|
11377
|
-
options: {
|
|
11378
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema;
|
|
11379
|
-
};
|
|
11380
|
-
};
|
|
11381
|
-
};
|
|
11382
|
-
}
|
|
11383
|
-
interface UpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetAndPayloadSchema> {
|
|
11384
|
-
}
|
|
11385
|
-
}
|
|
11386
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11387
|
-
interface UpdatePersonResponsePayload {
|
|
11388
|
-
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
11389
|
-
}
|
|
11390
|
-
interface UpdatePersonResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11391
|
-
id: 'updatePersonResponsePayload';
|
|
11392
|
-
version: 'v2020_12_25';
|
|
11393
|
-
namespace: 'Mercury';
|
|
11394
|
-
name: '';
|
|
11395
|
-
fields: {
|
|
11396
|
-
/** . */
|
|
11397
|
-
'person': {
|
|
11398
|
-
type: 'schema';
|
|
11399
|
-
isRequired: true;
|
|
11400
|
-
options: {
|
|
11401
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
11402
|
-
};
|
|
11403
|
-
};
|
|
11404
|
-
};
|
|
11405
|
-
}
|
|
11406
|
-
interface UpdatePersonResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonResponsePayloadSchema> {
|
|
11407
|
-
}
|
|
11408
|
-
}
|
|
11409
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11410
|
-
interface UpdateRoleEmitTarget {
|
|
11411
|
-
'roleId': string;
|
|
11412
|
-
}
|
|
11413
|
-
interface UpdateRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
11414
|
-
id: 'updateRoleEmitTarget';
|
|
11415
|
-
version: 'v2020_12_25';
|
|
11416
|
-
namespace: 'Mercury';
|
|
11417
|
-
name: '';
|
|
11418
|
-
fields: {
|
|
11419
|
-
/** . */
|
|
11420
|
-
'roleId': {
|
|
11421
|
-
type: 'id';
|
|
11422
|
-
isRequired: true;
|
|
11423
|
-
options: undefined;
|
|
11424
|
-
};
|
|
11425
|
-
};
|
|
11426
|
-
}
|
|
11427
|
-
interface UpdateRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema> {
|
|
11428
|
-
}
|
|
11429
|
-
}
|
|
11430
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11431
|
-
interface UpdateRoleEmitPayload {
|
|
11432
|
-
/** Name. */
|
|
11433
|
-
'name'?: string | undefined | null;
|
|
11434
|
-
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
11435
|
-
'base'?: ("owner" | "groupManager" | "manager" | "teammate" | "anonymous" | "loggedIn" | "guest") | undefined | null;
|
|
11436
|
-
/** Description. */
|
|
11437
|
-
'description'?: string | undefined | null;
|
|
11438
|
-
'dateDeleted'?: number | undefined | null;
|
|
11439
|
-
'organizationId'?: string | undefined | null;
|
|
11440
|
-
/** Public. Should I let people that are not part of this organization this role? */
|
|
11441
|
-
'isPublic'?: boolean | undefined | null;
|
|
11442
|
-
}
|
|
11443
|
-
interface UpdateRoleEmitPayloadSchema extends SpruceSchema.Schema {
|
|
11444
|
-
id: 'updateRoleEmitPayload';
|
|
11445
|
-
version: 'v2020_12_25';
|
|
11446
|
-
namespace: 'Mercury';
|
|
11447
|
-
name: '';
|
|
11448
|
-
fields: {
|
|
11449
|
-
/** Name. */
|
|
11450
|
-
'name': {
|
|
11451
|
-
label: 'Name';
|
|
11452
|
-
type: 'text';
|
|
11453
|
-
options: undefined;
|
|
11454
|
-
};
|
|
11455
|
-
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
11456
|
-
'base': {
|
|
11457
|
-
label: 'Base';
|
|
11458
|
-
type: 'select';
|
|
11459
|
-
hint: 'A best practices starting point for a role based on the generalized roles at a company.';
|
|
11460
|
-
options: {
|
|
11461
|
-
choices: [{
|
|
11462
|
-
"label": "Owner";
|
|
11463
|
-
"value": "owner";
|
|
11464
|
-
}, {
|
|
11465
|
-
"label": "Group manager";
|
|
11466
|
-
"value": "groupManager";
|
|
11467
|
-
}, {
|
|
11468
|
-
"label": "Manager";
|
|
11469
|
-
"value": "manager";
|
|
11470
|
-
}, {
|
|
11471
|
-
"label": "Teammate";
|
|
11472
|
-
"value": "teammate";
|
|
11473
|
-
}, {
|
|
11474
|
-
"label": "Anonymous";
|
|
11475
|
-
"value": "anonymous";
|
|
11476
|
-
}, {
|
|
11477
|
-
"label": "Logged in";
|
|
11478
|
-
"value": "loggedIn";
|
|
11479
|
-
}, {
|
|
11480
|
-
"label": "Guest";
|
|
11481
|
-
"value": "guest";
|
|
11482
|
-
}];
|
|
11483
|
-
};
|
|
11484
|
-
};
|
|
11485
|
-
/** Description. */
|
|
11486
|
-
'description': {
|
|
11487
|
-
label: 'Description';
|
|
11488
|
-
type: 'text';
|
|
11489
|
-
options: undefined;
|
|
11490
|
-
};
|
|
11491
|
-
/** . */
|
|
11492
|
-
'dateDeleted': {
|
|
11493
|
-
type: 'number';
|
|
11494
|
-
options: undefined;
|
|
11495
|
-
};
|
|
11496
|
-
/** . */
|
|
11497
|
-
'organizationId': {
|
|
11498
|
-
type: 'id';
|
|
11499
|
-
options: undefined;
|
|
11500
|
-
};
|
|
11501
|
-
/** Public. Should I let people that are not part of this organization this role? */
|
|
11502
|
-
'isPublic': {
|
|
11503
|
-
label: 'Public';
|
|
11504
|
-
type: 'boolean';
|
|
11505
|
-
hint: 'Should I let people that are not part of this organization this role?';
|
|
11506
|
-
options: undefined;
|
|
11507
|
-
};
|
|
11508
|
-
};
|
|
11509
|
-
}
|
|
11510
|
-
interface UpdateRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema> {
|
|
11511
|
-
}
|
|
11512
|
-
}
|
|
11513
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11514
|
-
interface UpdateRoleEmitTargetAndPayload {
|
|
11515
|
-
/** Source. */
|
|
11516
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11517
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTarget;
|
|
11518
|
-
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayload | undefined | null;
|
|
11519
|
-
}
|
|
11520
|
-
interface UpdateRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11521
|
-
id: 'updateRoleEmitTargetAndPayload';
|
|
11522
|
-
version: 'v2020_12_25';
|
|
11523
|
-
namespace: 'Mercury';
|
|
11524
|
-
name: '';
|
|
11525
|
-
fields: {
|
|
11526
|
-
/** Source. */
|
|
11527
|
-
'source': {
|
|
11528
|
-
label: 'Source';
|
|
11529
|
-
type: 'schema';
|
|
11530
|
-
options: {
|
|
11531
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11532
|
-
};
|
|
11533
|
-
};
|
|
11534
|
-
/** . */
|
|
11535
|
-
'target': {
|
|
11536
|
-
type: 'schema';
|
|
11537
|
-
isRequired: true;
|
|
11538
|
-
options: {
|
|
11539
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema;
|
|
11540
|
-
};
|
|
11541
|
-
};
|
|
11542
|
-
/** . */
|
|
11543
|
-
'payload': {
|
|
11544
|
-
type: 'schema';
|
|
11545
|
-
options: {
|
|
11546
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema;
|
|
11547
|
-
};
|
|
11548
|
-
};
|
|
11549
|
-
};
|
|
11550
|
-
}
|
|
11551
|
-
interface UpdateRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetAndPayloadSchema> {
|
|
11552
|
-
}
|
|
11553
|
-
}
|
|
11554
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11555
|
-
interface UpdateRoleResponsePayload {
|
|
11556
|
-
'role': SpruceSchemas.Spruce.v2020_07_22.Role;
|
|
11557
|
-
}
|
|
11558
|
-
interface UpdateRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11559
|
-
id: 'updateRoleResponsePayload';
|
|
11560
|
-
version: 'v2020_12_25';
|
|
11561
|
-
namespace: 'Mercury';
|
|
11562
|
-
name: '';
|
|
11563
|
-
fields: {
|
|
11564
|
-
/** . */
|
|
11565
|
-
'role': {
|
|
11566
|
-
type: 'schema';
|
|
11567
|
-
isRequired: true;
|
|
11568
|
-
options: {
|
|
11569
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.RoleSchema;
|
|
11570
|
-
};
|
|
11571
|
-
};
|
|
11572
|
-
};
|
|
11573
|
-
}
|
|
11574
|
-
interface UpdateRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleResponsePayloadSchema> {
|
|
11575
|
-
}
|
|
11576
|
-
}
|
|
11577
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11578
|
-
interface UpsertPermissionContractEmitTarget {
|
|
11579
|
-
'organizationId': string;
|
|
11580
|
-
'permissionContractId': string;
|
|
11581
|
-
'roleId': string;
|
|
11582
|
-
'skillId'?: string | undefined | null;
|
|
11583
|
-
}
|
|
11584
|
-
interface UpsertPermissionContractEmitTargetSchema extends SpruceSchema.Schema {
|
|
11585
|
-
id: 'upsertPermissionContractEmitTarget';
|
|
11586
|
-
version: 'v2020_12_25';
|
|
11587
|
-
namespace: 'Mercury';
|
|
11588
|
-
name: '';
|
|
11589
|
-
fields: {
|
|
11590
|
-
/** . */
|
|
11591
|
-
'organizationId': {
|
|
11592
|
-
type: 'id';
|
|
11593
|
-
isRequired: true;
|
|
11594
|
-
options: undefined;
|
|
11595
|
-
};
|
|
11596
|
-
/** . */
|
|
11597
|
-
'permissionContractId': {
|
|
11598
|
-
type: 'id';
|
|
11599
|
-
isRequired: true;
|
|
11600
|
-
options: undefined;
|
|
11601
|
-
};
|
|
11602
|
-
/** . */
|
|
11603
|
-
'roleId': {
|
|
11604
|
-
type: 'id';
|
|
11605
|
-
isRequired: true;
|
|
11606
|
-
options: undefined;
|
|
11607
|
-
};
|
|
11608
|
-
/** . */
|
|
11609
|
-
'skillId': {
|
|
11610
|
-
type: 'id';
|
|
11611
|
-
options: undefined;
|
|
11612
|
-
};
|
|
11613
|
-
};
|
|
11614
|
-
}
|
|
11615
|
-
interface UpsertPermissionContractEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema> {
|
|
11616
|
-
}
|
|
11617
|
-
}
|
|
11618
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11619
|
-
interface UpsertPermissionContractEmitTargetAndPayload {
|
|
11620
|
-
/** Source. */
|
|
11621
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11622
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTarget;
|
|
11623
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayload;
|
|
11624
|
-
}
|
|
11625
|
-
interface UpsertPermissionContractEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11626
|
-
id: 'upsertPermissionContractEmitTargetAndPayload';
|
|
11627
|
-
version: 'v2020_12_25';
|
|
11628
|
-
namespace: 'Mercury';
|
|
11629
|
-
name: '';
|
|
11630
|
-
fields: {
|
|
11631
|
-
/** Source. */
|
|
11632
|
-
'source': {
|
|
11633
|
-
label: 'Source';
|
|
11634
|
-
type: 'schema';
|
|
11635
|
-
options: {
|
|
11636
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11637
|
-
};
|
|
11638
|
-
};
|
|
11639
|
-
/** . */
|
|
11640
|
-
'target': {
|
|
11641
|
-
type: 'schema';
|
|
11642
|
-
isRequired: true;
|
|
11643
|
-
options: {
|
|
11644
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema;
|
|
11645
|
-
};
|
|
11646
|
-
};
|
|
11647
|
-
/** . */
|
|
11648
|
-
'payload': {
|
|
11649
|
-
type: 'schema';
|
|
11650
|
-
isRequired: true;
|
|
11651
|
-
options: {
|
|
11652
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema;
|
|
11653
|
-
};
|
|
11654
|
-
};
|
|
11655
|
-
};
|
|
11656
|
-
}
|
|
11657
|
-
interface UpsertPermissionContractEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetAndPayloadSchema> {
|
|
11658
|
-
}
|
|
11659
|
-
}
|
|
11660
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11661
|
-
interface UpsertPermissionContractsEmitPayload {
|
|
11662
|
-
/** Name. Human readable name for this contract */
|
|
11663
|
-
'name': string;
|
|
11664
|
-
/** Description. */
|
|
11665
|
-
'description'?: string | undefined | null;
|
|
11666
|
-
/** Require all permissions. */
|
|
11667
|
-
'requireAllPermissions'?: boolean | undefined | null;
|
|
11668
|
-
'permissions': SpruceSchemas.Mercury.v2020_12_25.Permission[];
|
|
11669
|
-
}
|
|
11670
|
-
interface UpsertPermissionContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
11671
|
-
id: 'upsertPermissionContractsEmitPayload';
|
|
11672
|
-
version: 'v2020_12_25';
|
|
11673
|
-
namespace: 'Mercury';
|
|
11674
|
-
name: '';
|
|
11675
|
-
fields: {
|
|
11676
|
-
/** Name. Human readable name for this contract */
|
|
11677
|
-
'name': {
|
|
11678
|
-
label: 'Name';
|
|
11679
|
-
type: 'text';
|
|
11680
|
-
isRequired: true;
|
|
11681
|
-
hint: 'Human readable name for this contract';
|
|
11682
|
-
options: undefined;
|
|
11683
|
-
};
|
|
11684
|
-
/** Description. */
|
|
11685
|
-
'description': {
|
|
11686
|
-
label: 'Description';
|
|
11687
|
-
type: 'text';
|
|
11688
|
-
options: undefined;
|
|
11689
|
-
};
|
|
11690
|
-
/** Require all permissions. */
|
|
11691
|
-
'requireAllPermissions': {
|
|
11692
|
-
label: 'Require all permissions';
|
|
11693
|
-
type: 'boolean';
|
|
11694
|
-
defaultValue: false;
|
|
11695
|
-
options: undefined;
|
|
11696
|
-
};
|
|
11697
|
-
/** . */
|
|
11698
|
-
'permissions': {
|
|
11699
|
-
type: 'schema';
|
|
11700
|
-
isRequired: true;
|
|
11701
|
-
isArray: true;
|
|
11702
|
-
minArrayLength: 0;
|
|
11703
|
-
options: {
|
|
11704
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionSchema;
|
|
11705
|
-
};
|
|
11706
|
-
};
|
|
11707
|
-
};
|
|
11708
|
-
}
|
|
11709
|
-
interface UpsertPermissionContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema> {
|
|
11710
|
-
}
|
|
11711
|
-
}
|
|
11712
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11713
|
-
interface UpsertPermissionContractResponsePayload {
|
|
11714
|
-
'permissionContract': SpruceSchemas.Mercury.v2020_12_25.PermissionContract;
|
|
11715
|
-
}
|
|
11716
|
-
interface UpsertPermissionContractResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11717
|
-
id: 'upsertPermissionContractResponsePayload';
|
|
11718
|
-
version: 'v2020_12_25';
|
|
11719
|
-
namespace: 'Mercury';
|
|
11720
|
-
name: '';
|
|
11721
|
-
fields: {
|
|
11722
|
-
/** . */
|
|
11723
|
-
'permissionContract': {
|
|
11724
|
-
type: 'schema';
|
|
11725
|
-
isRequired: true;
|
|
11726
|
-
options: {
|
|
11727
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionContractSchema;
|
|
11728
|
-
};
|
|
11729
|
-
};
|
|
11730
|
-
};
|
|
11731
|
-
}
|
|
11732
|
-
interface UpsertPermissionContractResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractResponsePayloadSchema> {
|
|
11733
|
-
}
|
|
11734
|
-
}
|
|
11735
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11736
|
-
interface VoteForFeatureEmitPayload {
|
|
11737
|
-
'featureKey': string;
|
|
11738
|
-
'skillNamespace': string;
|
|
11739
|
-
}
|
|
11740
|
-
interface VoteForFeatureEmitPayloadSchema extends SpruceSchema.Schema {
|
|
11741
|
-
id: 'voteForFeatureEmitPayload';
|
|
11742
|
-
version: 'v2020_12_25';
|
|
11743
|
-
namespace: 'Mercury';
|
|
11744
|
-
name: '';
|
|
11745
|
-
fields: {
|
|
11746
|
-
/** . */
|
|
11747
|
-
'featureKey': {
|
|
11748
|
-
type: 'id';
|
|
11749
|
-
isRequired: true;
|
|
11750
|
-
options: undefined;
|
|
11751
|
-
};
|
|
11752
|
-
/** . */
|
|
11753
|
-
'skillNamespace': {
|
|
11754
|
-
type: 'id';
|
|
11755
|
-
isRequired: true;
|
|
11756
|
-
options: undefined;
|
|
11757
|
-
};
|
|
11758
|
-
};
|
|
11759
|
-
}
|
|
11760
|
-
interface VoteForFeatureEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema> {
|
|
11761
|
-
}
|
|
11762
|
-
}
|
|
11763
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11764
|
-
interface VoteForFeatureEmitTargetAndPayload {
|
|
11765
|
-
/** Source. */
|
|
11766
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11767
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayload;
|
|
11768
|
-
}
|
|
11769
|
-
interface VoteForFeatureEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11770
|
-
id: 'voteForFeatureEmitTargetAndPayload';
|
|
11771
|
-
version: 'v2020_12_25';
|
|
11772
|
-
namespace: 'Mercury';
|
|
11773
|
-
name: '';
|
|
11774
|
-
fields: {
|
|
11775
|
-
/** Source. */
|
|
11776
|
-
'source': {
|
|
11777
|
-
label: 'Source';
|
|
11778
|
-
type: 'schema';
|
|
11779
|
-
options: {
|
|
11780
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11781
|
-
};
|
|
11782
|
-
};
|
|
11783
|
-
/** . */
|
|
11784
|
-
'payload': {
|
|
11785
|
-
type: 'schema';
|
|
11786
|
-
isRequired: true;
|
|
11787
|
-
options: {
|
|
11788
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema;
|
|
11789
|
-
};
|
|
11790
|
-
};
|
|
11791
|
-
};
|
|
11792
|
-
}
|
|
11793
|
-
interface VoteForFeatureEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitTargetAndPayloadSchema> {
|
|
11794
|
-
}
|
|
11795
|
-
}
|
|
11796
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11797
|
-
interface VoteForFeatureResponsePayload {
|
|
11798
|
-
'totalVotes': number;
|
|
11799
|
-
}
|
|
11800
|
-
interface VoteForFeatureResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11801
|
-
id: 'voteForFeatureResponsePayload';
|
|
11802
|
-
version: 'v2020_12_25';
|
|
11803
|
-
namespace: 'Mercury';
|
|
11804
|
-
name: '';
|
|
11805
|
-
fields: {
|
|
11806
|
-
/** . */
|
|
11807
|
-
'totalVotes': {
|
|
11808
|
-
type: 'number';
|
|
11809
|
-
isRequired: true;
|
|
11810
|
-
options: undefined;
|
|
11811
|
-
};
|
|
11812
|
-
};
|
|
11813
|
-
}
|
|
11814
|
-
interface VoteForFeatureResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureResponsePayloadSchema> {
|
|
11815
|
-
}
|
|
11816
|
-
}
|
|
11817
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11818
|
-
interface WhoamiEmitTargetAndPayload {
|
|
11819
|
-
/** Source. */
|
|
11820
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11821
|
-
}
|
|
11822
|
-
interface WhoamiEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11823
|
-
id: 'whoamiEmitTargetAndPayload';
|
|
11824
|
-
version: 'v2020_12_25';
|
|
11825
|
-
namespace: 'Mercury';
|
|
11826
|
-
name: '';
|
|
11827
|
-
fields: {
|
|
11828
|
-
/** Source. */
|
|
11829
|
-
'source': {
|
|
11830
|
-
label: 'Source';
|
|
11831
|
-
type: 'schema';
|
|
11832
|
-
options: {
|
|
11833
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11834
|
-
};
|
|
11835
|
-
};
|
|
11836
|
-
};
|
|
11837
|
-
}
|
|
11838
|
-
interface WhoamiEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.WhoamiEmitTargetAndPayloadSchema> {
|
|
11839
|
-
}
|
|
11840
|
-
}
|
|
11841
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11842
|
-
interface DidInstallEmitTarget {
|
|
11843
|
-
'organizationId': string;
|
|
11844
|
-
'skillId': string;
|
|
11845
|
-
}
|
|
11846
|
-
interface DidInstallEmitTargetSchema extends SpruceSchema.Schema {
|
|
11847
|
-
id: 'didInstallEmitTarget';
|
|
11848
|
-
version: 'v2020_12_25';
|
|
11849
|
-
namespace: 'Mercury';
|
|
11850
|
-
name: '';
|
|
11851
|
-
fields: {
|
|
11852
|
-
/** . */
|
|
11853
|
-
'organizationId': {
|
|
11854
|
-
type: 'id';
|
|
11855
|
-
isRequired: true;
|
|
11856
|
-
options: undefined;
|
|
11857
|
-
};
|
|
11858
|
-
/** . */
|
|
11859
|
-
'skillId': {
|
|
11860
|
-
type: 'id';
|
|
11861
|
-
isRequired: true;
|
|
11862
|
-
options: undefined;
|
|
11863
|
-
};
|
|
11864
|
-
};
|
|
11865
|
-
}
|
|
11866
|
-
interface DidInstallEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema> {
|
|
11867
|
-
}
|
|
11868
|
-
}
|
|
11869
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11870
|
-
interface DidInstallEmitTargetAndPayload {
|
|
11871
|
-
/** Source. */
|
|
11872
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11873
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTarget;
|
|
11874
|
-
}
|
|
11875
|
-
interface DidInstallEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11876
|
-
id: 'didInstallEmitTargetAndPayload';
|
|
11877
|
-
version: 'v2020_12_25';
|
|
11878
|
-
namespace: 'Mercury';
|
|
11879
|
-
name: '';
|
|
11880
|
-
fields: {
|
|
11881
|
-
/** Source. */
|
|
11882
|
-
'source': {
|
|
11883
|
-
label: 'Source';
|
|
11884
|
-
type: 'schema';
|
|
11885
|
-
options: {
|
|
11886
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11887
|
-
};
|
|
11888
|
-
};
|
|
11889
|
-
/** . */
|
|
11890
|
-
'target': {
|
|
11891
|
-
type: 'schema';
|
|
11892
|
-
isRequired: true;
|
|
11893
|
-
options: {
|
|
11894
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema;
|
|
11895
|
-
};
|
|
11896
|
-
};
|
|
11897
|
-
};
|
|
11898
|
-
}
|
|
11899
|
-
interface DidInstallEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetAndPayloadSchema> {
|
|
11900
|
-
}
|
|
11901
|
-
}
|
|
11902
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11903
|
-
interface DidInstallResponsePayload {
|
|
11904
|
-
}
|
|
11905
|
-
interface DidInstallResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11906
|
-
id: 'didInstallResponsePayload';
|
|
11907
|
-
version: 'v2020_12_25';
|
|
11908
|
-
namespace: 'Mercury';
|
|
11909
|
-
name: '';
|
|
11910
|
-
fields: {};
|
|
11911
|
-
}
|
|
11912
|
-
interface DidInstallResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallResponsePayloadSchema> {
|
|
11913
|
-
}
|
|
11914
|
-
}
|
|
11915
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11916
|
-
interface DidJoinOrganizationEmitTarget {
|
|
11917
|
-
'organizationId': string;
|
|
11918
|
-
'locationId'?: string | undefined | null;
|
|
11919
|
-
}
|
|
11920
|
-
interface DidJoinOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
11921
|
-
id: 'didJoinOrganizationEmitTarget';
|
|
11922
|
-
version: 'v2020_12_25';
|
|
11923
|
-
namespace: 'Mercury';
|
|
11924
|
-
name: '';
|
|
11925
|
-
fields: {
|
|
11926
|
-
/** . */
|
|
11927
|
-
'organizationId': {
|
|
11928
|
-
type: 'id';
|
|
11929
|
-
isRequired: true;
|
|
11930
|
-
options: undefined;
|
|
11931
|
-
};
|
|
11932
|
-
/** . */
|
|
11933
|
-
'locationId': {
|
|
11934
|
-
type: 'id';
|
|
11935
|
-
options: undefined;
|
|
11936
|
-
};
|
|
11937
|
-
};
|
|
11938
|
-
}
|
|
11939
|
-
interface DidJoinOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema> {
|
|
11940
|
-
}
|
|
11941
|
-
}
|
|
11942
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11943
|
-
interface DidJoinOrganizationEmitPayload {
|
|
11944
|
-
'personId': string;
|
|
11945
|
-
'roleId': string;
|
|
11946
|
-
'isFirstRole': boolean;
|
|
11947
|
-
}
|
|
11948
|
-
interface DidJoinOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
11949
|
-
id: 'didJoinOrganizationEmitPayload';
|
|
11950
|
-
version: 'v2020_12_25';
|
|
11951
|
-
namespace: 'Mercury';
|
|
11952
|
-
name: '';
|
|
11953
|
-
fields: {
|
|
11954
|
-
/** . */
|
|
11955
|
-
'personId': {
|
|
11956
|
-
type: 'id';
|
|
11957
|
-
isRequired: true;
|
|
11958
|
-
options: undefined;
|
|
11959
|
-
};
|
|
11960
|
-
/** . */
|
|
11961
|
-
'roleId': {
|
|
11962
|
-
type: 'id';
|
|
11963
|
-
isRequired: true;
|
|
11964
|
-
options: undefined;
|
|
11965
|
-
};
|
|
11966
|
-
/** . */
|
|
11967
|
-
'isFirstRole': {
|
|
11968
|
-
type: 'boolean';
|
|
11969
|
-
isRequired: true;
|
|
11970
|
-
options: undefined;
|
|
11971
|
-
};
|
|
11972
|
-
};
|
|
11973
|
-
}
|
|
11974
|
-
interface DidJoinOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema> {
|
|
11975
|
-
}
|
|
11976
|
-
}
|
|
11977
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11978
|
-
interface DidJoinOrganizationEmitTargetAndPayload {
|
|
11979
|
-
/** Source. */
|
|
11980
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11981
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTarget;
|
|
11982
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayload;
|
|
11983
|
-
}
|
|
11984
|
-
interface DidJoinOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11985
|
-
id: 'didJoinOrganizationEmitTargetAndPayload';
|
|
11986
|
-
version: 'v2020_12_25';
|
|
11987
|
-
namespace: 'Mercury';
|
|
11988
|
-
name: '';
|
|
11989
|
-
fields: {
|
|
11990
|
-
/** Source. */
|
|
11991
|
-
'source': {
|
|
11992
|
-
label: 'Source';
|
|
11993
|
-
type: 'schema';
|
|
11994
|
-
options: {
|
|
11995
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11996
|
-
};
|
|
11997
|
-
};
|
|
11998
|
-
/** . */
|
|
11999
|
-
'target': {
|
|
12000
|
-
type: 'schema';
|
|
12001
|
-
isRequired: true;
|
|
12002
|
-
options: {
|
|
12003
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema;
|
|
12004
|
-
};
|
|
12005
|
-
};
|
|
12006
|
-
/** . */
|
|
12007
|
-
'payload': {
|
|
12008
|
-
type: 'schema';
|
|
12009
|
-
isRequired: true;
|
|
12010
|
-
options: {
|
|
12011
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema;
|
|
12012
|
-
};
|
|
12013
|
-
};
|
|
12014
|
-
};
|
|
12015
|
-
}
|
|
12016
|
-
interface DidJoinOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetAndPayloadSchema> {
|
|
12017
|
-
}
|
|
12018
|
-
}
|
|
12019
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12020
|
-
interface MessageTemplateAddons {
|
|
12021
|
-
'nextINeedYouTo'?: string[] | undefined | null;
|
|
12022
|
-
'youShouldKnowThat'?: string[] | undefined | null;
|
|
12023
|
-
'links'?: SpruceSchemas.Spruce.v2020_07_22.Link[] | undefined | null;
|
|
12024
|
-
}
|
|
12025
|
-
interface MessageTemplateAddonsSchema extends SpruceSchema.Schema {
|
|
12026
|
-
id: 'messageTemplateAddons';
|
|
12027
|
-
version: 'v2020_12_25';
|
|
12028
|
-
namespace: 'Mercury';
|
|
12029
|
-
name: '';
|
|
12030
|
-
fields: {
|
|
12031
|
-
/** . */
|
|
12032
|
-
'nextINeedYouTo': {
|
|
12033
|
-
type: 'text';
|
|
12034
|
-
isArray: true;
|
|
12035
|
-
options: undefined;
|
|
12036
|
-
};
|
|
12037
|
-
/** . */
|
|
12038
|
-
'youShouldKnowThat': {
|
|
12039
|
-
type: 'text';
|
|
12040
|
-
isArray: true;
|
|
12041
|
-
options: undefined;
|
|
12042
|
-
};
|
|
12043
|
-
/** . */
|
|
12044
|
-
'links': {
|
|
12045
|
-
type: 'schema';
|
|
12046
|
-
isArray: true;
|
|
12047
|
-
minArrayLength: 0;
|
|
12048
|
-
options: {
|
|
12049
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.LinkSchema;
|
|
12050
|
-
};
|
|
12051
|
-
};
|
|
12052
|
-
};
|
|
12053
|
-
}
|
|
12054
|
-
interface MessageTemplateAddonsEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema> {
|
|
12055
|
-
}
|
|
12056
|
-
}
|
|
12057
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12058
|
-
interface DidJoinOrganizationResponsePayload {
|
|
12059
|
-
'messaging'?: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddons | undefined | null;
|
|
12060
|
-
}
|
|
12061
|
-
interface DidJoinOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12062
|
-
id: 'didJoinOrganizationResponsePayload';
|
|
12063
|
-
version: 'v2020_12_25';
|
|
12064
|
-
namespace: 'Mercury';
|
|
12065
|
-
name: '';
|
|
12066
|
-
fields: {
|
|
12067
|
-
/** . */
|
|
12068
|
-
'messaging': {
|
|
12069
|
-
type: 'schema';
|
|
12054
|
+
label: 'Avatar src';
|
|
12055
|
+
type: 'image';
|
|
12070
12056
|
options: {
|
|
12071
|
-
|
|
12057
|
+
requiredSizes: ["*"];
|
|
12072
12058
|
};
|
|
12073
12059
|
};
|
|
12074
|
-
|
|
12075
|
-
|
|
12076
|
-
|
|
12077
|
-
|
|
12078
|
-
|
|
12079
|
-
|
|
12080
|
-
interface DidLeaveOrganizationEmitTarget {
|
|
12081
|
-
'organizationId': string;
|
|
12082
|
-
'locationId'?: string | undefined | null;
|
|
12083
|
-
}
|
|
12084
|
-
interface DidLeaveOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
12085
|
-
id: 'didLeaveOrganizationEmitTarget';
|
|
12086
|
-
version: 'v2020_12_25';
|
|
12087
|
-
namespace: 'Mercury';
|
|
12088
|
-
name: '';
|
|
12089
|
-
fields: {
|
|
12090
|
-
/** . */
|
|
12091
|
-
'organizationId': {
|
|
12092
|
-
type: 'id';
|
|
12093
|
-
isRequired: true;
|
|
12094
|
-
options: undefined;
|
|
12095
|
-
};
|
|
12096
|
-
/** . */
|
|
12097
|
-
'locationId': {
|
|
12098
|
-
type: 'id';
|
|
12099
|
-
options: undefined;
|
|
12100
|
-
};
|
|
12101
|
-
};
|
|
12102
|
-
}
|
|
12103
|
-
interface DidLeaveOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema> {
|
|
12104
|
-
}
|
|
12105
|
-
}
|
|
12106
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12107
|
-
interface DidLeaveOrganizationEmitPayload {
|
|
12108
|
-
'personId': string;
|
|
12109
|
-
'roleId': string;
|
|
12110
|
-
'isLastRole': boolean;
|
|
12111
|
-
}
|
|
12112
|
-
interface DidLeaveOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12113
|
-
id: 'didLeaveOrganizationEmitPayload';
|
|
12114
|
-
version: 'v2020_12_25';
|
|
12115
|
-
namespace: 'Mercury';
|
|
12116
|
-
name: '';
|
|
12117
|
-
fields: {
|
|
12118
|
-
/** . */
|
|
12119
|
-
'personId': {
|
|
12120
|
-
type: 'id';
|
|
12121
|
-
isRequired: true;
|
|
12122
|
-
options: undefined;
|
|
12123
|
-
};
|
|
12124
|
-
/** . */
|
|
12125
|
-
'roleId': {
|
|
12126
|
-
type: 'id';
|
|
12127
|
-
isRequired: true;
|
|
12128
|
-
options: undefined;
|
|
12129
|
-
};
|
|
12130
|
-
/** . */
|
|
12131
|
-
'isLastRole': {
|
|
12132
|
-
type: 'boolean';
|
|
12133
|
-
isRequired: true;
|
|
12060
|
+
/** Phone. A number that can be texted */
|
|
12061
|
+
'phone': {
|
|
12062
|
+
label: 'Phone';
|
|
12063
|
+
type: 'phone';
|
|
12064
|
+
isPrivate: true;
|
|
12065
|
+
hint: 'A number that can be texted';
|
|
12134
12066
|
options: undefined;
|
|
12135
12067
|
};
|
|
12136
12068
|
};
|
|
12137
12069
|
}
|
|
12138
|
-
interface
|
|
12070
|
+
interface UpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema> {
|
|
12139
12071
|
}
|
|
12140
12072
|
}
|
|
12141
12073
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12142
|
-
interface
|
|
12074
|
+
interface UpdatePersonEmitTargetAndPayload {
|
|
12143
12075
|
/** Source. */
|
|
12144
12076
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12145
|
-
'target'
|
|
12146
|
-
'payload'
|
|
12077
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTarget | undefined | null;
|
|
12078
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayload | undefined | null;
|
|
12147
12079
|
}
|
|
12148
|
-
interface
|
|
12149
|
-
id: '
|
|
12080
|
+
interface UpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12081
|
+
id: 'updatePersonEmitTargetAndPayload';
|
|
12150
12082
|
version: 'v2020_12_25';
|
|
12151
12083
|
namespace: 'Mercury';
|
|
12152
12084
|
name: '';
|
|
@@ -12162,225 +12094,315 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12162
12094
|
/** . */
|
|
12163
12095
|
'target': {
|
|
12164
12096
|
type: 'schema';
|
|
12165
|
-
isRequired: true;
|
|
12166
12097
|
options: {
|
|
12167
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12098
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetSchema;
|
|
12168
12099
|
};
|
|
12169
12100
|
};
|
|
12170
12101
|
/** . */
|
|
12171
12102
|
'payload': {
|
|
12172
12103
|
type: 'schema';
|
|
12173
|
-
isRequired: true;
|
|
12174
12104
|
options: {
|
|
12175
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12105
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema;
|
|
12176
12106
|
};
|
|
12177
12107
|
};
|
|
12178
12108
|
};
|
|
12179
12109
|
}
|
|
12180
|
-
interface
|
|
12181
|
-
}
|
|
12182
|
-
}
|
|
12183
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12184
|
-
interface DidLeaveOrganizationResponsePayload {
|
|
12185
|
-
}
|
|
12186
|
-
interface DidLeaveOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12187
|
-
id: 'didLeaveOrganizationResponsePayload';
|
|
12188
|
-
version: 'v2020_12_25';
|
|
12189
|
-
namespace: 'Mercury';
|
|
12190
|
-
name: '';
|
|
12191
|
-
fields: {};
|
|
12192
|
-
}
|
|
12193
|
-
interface DidLeaveOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationResponsePayloadSchema> {
|
|
12110
|
+
interface UpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetAndPayloadSchema> {
|
|
12194
12111
|
}
|
|
12195
12112
|
}
|
|
12196
12113
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12197
|
-
interface
|
|
12198
|
-
'
|
|
12199
|
-
'conversationState'?: string | undefined | null;
|
|
12200
|
-
'topic'?: string | undefined | null;
|
|
12114
|
+
interface UpdatePersonResponsePayload {
|
|
12115
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
12201
12116
|
}
|
|
12202
|
-
interface
|
|
12203
|
-
id: '
|
|
12117
|
+
interface UpdatePersonResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12118
|
+
id: 'updatePersonResponsePayload';
|
|
12204
12119
|
version: 'v2020_12_25';
|
|
12205
12120
|
namespace: 'Mercury';
|
|
12206
12121
|
name: '';
|
|
12207
12122
|
fields: {
|
|
12208
12123
|
/** . */
|
|
12209
|
-
'
|
|
12124
|
+
'person': {
|
|
12210
12125
|
type: 'schema';
|
|
12211
12126
|
isRequired: true;
|
|
12212
12127
|
options: {
|
|
12213
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.
|
|
12128
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
12214
12129
|
};
|
|
12215
12130
|
};
|
|
12216
|
-
/** . */
|
|
12217
|
-
'conversationState': {
|
|
12218
|
-
type: 'text';
|
|
12219
|
-
options: undefined;
|
|
12220
|
-
};
|
|
12221
|
-
/** . */
|
|
12222
|
-
'topic': {
|
|
12223
|
-
type: 'text';
|
|
12224
|
-
options: undefined;
|
|
12225
|
-
};
|
|
12226
12131
|
};
|
|
12227
12132
|
}
|
|
12228
|
-
interface
|
|
12133
|
+
interface UpdatePersonResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonResponsePayloadSchema> {
|
|
12229
12134
|
}
|
|
12230
12135
|
}
|
|
12231
12136
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12232
|
-
interface
|
|
12233
|
-
'
|
|
12234
|
-
'confidence': number;
|
|
12235
|
-
'label': string;
|
|
12137
|
+
interface UpdateRoleEmitTarget {
|
|
12138
|
+
'roleId': string;
|
|
12236
12139
|
}
|
|
12237
|
-
interface
|
|
12238
|
-
id: '
|
|
12140
|
+
interface UpdateRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
12141
|
+
id: 'updateRoleEmitTarget';
|
|
12239
12142
|
version: 'v2020_12_25';
|
|
12240
12143
|
namespace: 'Mercury';
|
|
12241
12144
|
name: '';
|
|
12242
12145
|
fields: {
|
|
12243
12146
|
/** . */
|
|
12244
|
-
'
|
|
12245
|
-
type: '
|
|
12246
|
-
isRequired: true;
|
|
12247
|
-
options: undefined;
|
|
12248
|
-
};
|
|
12249
|
-
/** . */
|
|
12250
|
-
'confidence': {
|
|
12251
|
-
type: 'number';
|
|
12252
|
-
isRequired: true;
|
|
12253
|
-
options: undefined;
|
|
12254
|
-
};
|
|
12255
|
-
/** . */
|
|
12256
|
-
'label': {
|
|
12257
|
-
type: 'text';
|
|
12147
|
+
'roleId': {
|
|
12148
|
+
type: 'id';
|
|
12258
12149
|
isRequired: true;
|
|
12259
12150
|
options: undefined;
|
|
12260
12151
|
};
|
|
12261
12152
|
};
|
|
12262
12153
|
}
|
|
12263
|
-
interface
|
|
12154
|
+
interface UpdateRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema> {
|
|
12264
12155
|
}
|
|
12265
12156
|
}
|
|
12266
12157
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12267
|
-
interface
|
|
12268
|
-
|
|
12269
|
-
'
|
|
12270
|
-
|
|
12271
|
-
'
|
|
12272
|
-
|
|
12158
|
+
interface UpdateRoleEmitPayload {
|
|
12159
|
+
/** Name. */
|
|
12160
|
+
'name'?: string | undefined | null;
|
|
12161
|
+
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
12162
|
+
'base'?: ("owner" | "groupManager" | "manager" | "teammate" | "anonymous" | "loggedIn" | "guest") | undefined | null;
|
|
12163
|
+
/** Description. */
|
|
12164
|
+
'description'?: string | undefined | null;
|
|
12165
|
+
'dateDeleted'?: number | undefined | null;
|
|
12166
|
+
'organizationId'?: string | undefined | null;
|
|
12167
|
+
/** Public. Should I let people that are not part of this organization this role? */
|
|
12168
|
+
'isPublic'?: boolean | undefined | null;
|
|
12273
12169
|
}
|
|
12274
|
-
interface
|
|
12275
|
-
id: '
|
|
12170
|
+
interface UpdateRoleEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12171
|
+
id: 'updateRoleEmitPayload';
|
|
12276
12172
|
version: 'v2020_12_25';
|
|
12277
12173
|
namespace: 'Mercury';
|
|
12278
12174
|
name: '';
|
|
12279
12175
|
fields: {
|
|
12280
|
-
/** . */
|
|
12281
|
-
'
|
|
12176
|
+
/** Name. */
|
|
12177
|
+
'name': {
|
|
12178
|
+
label: 'Name';
|
|
12179
|
+
type: 'text';
|
|
12180
|
+
options: undefined;
|
|
12181
|
+
};
|
|
12182
|
+
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
12183
|
+
'base': {
|
|
12184
|
+
label: 'Base';
|
|
12282
12185
|
type: 'select';
|
|
12186
|
+
hint: 'A best practices starting point for a role based on the generalized roles at a company.';
|
|
12283
12187
|
options: {
|
|
12284
12188
|
choices: [{
|
|
12285
|
-
"label": "
|
|
12286
|
-
"value": "
|
|
12189
|
+
"label": "Owner";
|
|
12190
|
+
"value": "owner";
|
|
12287
12191
|
}, {
|
|
12288
|
-
"label": "
|
|
12289
|
-
"value": "
|
|
12192
|
+
"label": "Group manager";
|
|
12193
|
+
"value": "groupManager";
|
|
12290
12194
|
}, {
|
|
12291
|
-
"label": "
|
|
12292
|
-
"value": "
|
|
12195
|
+
"label": "Manager";
|
|
12196
|
+
"value": "manager";
|
|
12293
12197
|
}, {
|
|
12294
|
-
"label": "
|
|
12295
|
-
"value": "
|
|
12198
|
+
"label": "Teammate";
|
|
12199
|
+
"value": "teammate";
|
|
12200
|
+
}, {
|
|
12201
|
+
"label": "Anonymous";
|
|
12202
|
+
"value": "anonymous";
|
|
12203
|
+
}, {
|
|
12204
|
+
"label": "Logged in";
|
|
12205
|
+
"value": "loggedIn";
|
|
12206
|
+
}, {
|
|
12207
|
+
"label": "Guest";
|
|
12208
|
+
"value": "guest";
|
|
12296
12209
|
}];
|
|
12297
12210
|
};
|
|
12298
12211
|
};
|
|
12299
|
-
/** . */
|
|
12300
|
-
'
|
|
12212
|
+
/** Description. */
|
|
12213
|
+
'description': {
|
|
12214
|
+
label: 'Description';
|
|
12301
12215
|
type: 'text';
|
|
12302
|
-
isArray: true;
|
|
12303
12216
|
options: undefined;
|
|
12304
12217
|
};
|
|
12305
12218
|
/** . */
|
|
12306
|
-
'
|
|
12307
|
-
type: '
|
|
12308
|
-
|
|
12219
|
+
'dateDeleted': {
|
|
12220
|
+
type: 'number';
|
|
12221
|
+
options: undefined;
|
|
12222
|
+
};
|
|
12223
|
+
/** . */
|
|
12224
|
+
'organizationId': {
|
|
12225
|
+
type: 'id';
|
|
12226
|
+
options: undefined;
|
|
12227
|
+
};
|
|
12228
|
+
/** Public. Should I let people that are not part of this organization this role? */
|
|
12229
|
+
'isPublic': {
|
|
12230
|
+
label: 'Public';
|
|
12231
|
+
type: 'boolean';
|
|
12232
|
+
hint: 'Should I let people that are not part of this organization this role?';
|
|
12309
12233
|
options: undefined;
|
|
12310
12234
|
};
|
|
12235
|
+
};
|
|
12236
|
+
}
|
|
12237
|
+
interface UpdateRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema> {
|
|
12238
|
+
}
|
|
12239
|
+
}
|
|
12240
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12241
|
+
interface UpdateRoleEmitTargetAndPayload {
|
|
12242
|
+
/** Source. */
|
|
12243
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12244
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTarget;
|
|
12245
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayload | undefined | null;
|
|
12246
|
+
}
|
|
12247
|
+
interface UpdateRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12248
|
+
id: 'updateRoleEmitTargetAndPayload';
|
|
12249
|
+
version: 'v2020_12_25';
|
|
12250
|
+
namespace: 'Mercury';
|
|
12251
|
+
name: '';
|
|
12252
|
+
fields: {
|
|
12253
|
+
/** Source. */
|
|
12254
|
+
'source': {
|
|
12255
|
+
label: 'Source';
|
|
12256
|
+
type: 'schema';
|
|
12257
|
+
options: {
|
|
12258
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12259
|
+
};
|
|
12260
|
+
};
|
|
12311
12261
|
/** . */
|
|
12312
|
-
'
|
|
12313
|
-
type: '
|
|
12314
|
-
|
|
12262
|
+
'target': {
|
|
12263
|
+
type: 'schema';
|
|
12264
|
+
isRequired: true;
|
|
12265
|
+
options: {
|
|
12266
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema;
|
|
12267
|
+
};
|
|
12315
12268
|
};
|
|
12316
12269
|
/** . */
|
|
12317
|
-
'
|
|
12270
|
+
'payload': {
|
|
12318
12271
|
type: 'schema';
|
|
12319
|
-
isArray: true;
|
|
12320
12272
|
options: {
|
|
12321
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12273
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema;
|
|
12322
12274
|
};
|
|
12323
12275
|
};
|
|
12324
12276
|
};
|
|
12325
12277
|
}
|
|
12326
|
-
interface
|
|
12278
|
+
interface UpdateRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetAndPayloadSchema> {
|
|
12327
12279
|
}
|
|
12328
12280
|
}
|
|
12329
12281
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12330
|
-
interface
|
|
12331
|
-
'
|
|
12282
|
+
interface UpdateRoleResponsePayload {
|
|
12283
|
+
'role': SpruceSchemas.Spruce.v2020_07_22.Role;
|
|
12332
12284
|
}
|
|
12333
|
-
interface
|
|
12334
|
-
id: '
|
|
12285
|
+
interface UpdateRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12286
|
+
id: 'updateRoleResponsePayload';
|
|
12335
12287
|
version: 'v2020_12_25';
|
|
12336
12288
|
namespace: 'Mercury';
|
|
12337
12289
|
name: '';
|
|
12338
12290
|
fields: {
|
|
12339
12291
|
/** . */
|
|
12340
|
-
'
|
|
12292
|
+
'role': {
|
|
12341
12293
|
type: 'schema';
|
|
12342
12294
|
isRequired: true;
|
|
12343
12295
|
options: {
|
|
12344
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.
|
|
12296
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.RoleSchema;
|
|
12345
12297
|
};
|
|
12346
12298
|
};
|
|
12347
12299
|
};
|
|
12348
12300
|
}
|
|
12349
|
-
interface
|
|
12301
|
+
interface UpdateRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleResponsePayloadSchema> {
|
|
12350
12302
|
}
|
|
12351
12303
|
}
|
|
12352
12304
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12353
|
-
interface
|
|
12354
|
-
'
|
|
12305
|
+
interface UpsertPermissionContractEmitTarget {
|
|
12306
|
+
'organizationId': string;
|
|
12307
|
+
'permissionContractId': string;
|
|
12308
|
+
'roleId': string;
|
|
12309
|
+
'skillId'?: string | undefined | null;
|
|
12355
12310
|
}
|
|
12356
|
-
interface
|
|
12357
|
-
id: '
|
|
12311
|
+
interface UpsertPermissionContractEmitTargetSchema extends SpruceSchema.Schema {
|
|
12312
|
+
id: 'upsertPermissionContractEmitTarget';
|
|
12358
12313
|
version: 'v2020_12_25';
|
|
12359
12314
|
namespace: 'Mercury';
|
|
12360
12315
|
name: '';
|
|
12361
12316
|
fields: {
|
|
12362
12317
|
/** . */
|
|
12363
|
-
'
|
|
12318
|
+
'organizationId': {
|
|
12319
|
+
type: 'id';
|
|
12320
|
+
isRequired: true;
|
|
12321
|
+
options: undefined;
|
|
12322
|
+
};
|
|
12323
|
+
/** . */
|
|
12324
|
+
'permissionContractId': {
|
|
12325
|
+
type: 'id';
|
|
12326
|
+
isRequired: true;
|
|
12327
|
+
options: undefined;
|
|
12328
|
+
};
|
|
12329
|
+
/** . */
|
|
12330
|
+
'roleId': {
|
|
12331
|
+
type: 'id';
|
|
12332
|
+
isRequired: true;
|
|
12333
|
+
options: undefined;
|
|
12334
|
+
};
|
|
12335
|
+
/** . */
|
|
12336
|
+
'skillId': {
|
|
12337
|
+
type: 'id';
|
|
12338
|
+
options: undefined;
|
|
12339
|
+
};
|
|
12340
|
+
};
|
|
12341
|
+
}
|
|
12342
|
+
interface UpsertPermissionContractEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema> {
|
|
12343
|
+
}
|
|
12344
|
+
}
|
|
12345
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12346
|
+
interface UpsertPermissionContractsEmitPayload {
|
|
12347
|
+
/** Name. Human readable name for this contract */
|
|
12348
|
+
'name': string;
|
|
12349
|
+
/** Description. */
|
|
12350
|
+
'description'?: string | undefined | null;
|
|
12351
|
+
/** Require all permissions. */
|
|
12352
|
+
'requireAllPermissions'?: boolean | undefined | null;
|
|
12353
|
+
'permissions': SpruceSchemas.Mercury.v2020_12_25.Permission[];
|
|
12354
|
+
}
|
|
12355
|
+
interface UpsertPermissionContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12356
|
+
id: 'upsertPermissionContractsEmitPayload';
|
|
12357
|
+
version: 'v2020_12_25';
|
|
12358
|
+
namespace: 'Mercury';
|
|
12359
|
+
name: '';
|
|
12360
|
+
fields: {
|
|
12361
|
+
/** Name. Human readable name for this contract */
|
|
12362
|
+
'name': {
|
|
12363
|
+
label: 'Name';
|
|
12364
|
+
type: 'text';
|
|
12365
|
+
isRequired: true;
|
|
12366
|
+
hint: 'Human readable name for this contract';
|
|
12367
|
+
options: undefined;
|
|
12368
|
+
};
|
|
12369
|
+
/** Description. */
|
|
12370
|
+
'description': {
|
|
12371
|
+
label: 'Description';
|
|
12372
|
+
type: 'text';
|
|
12373
|
+
options: undefined;
|
|
12374
|
+
};
|
|
12375
|
+
/** Require all permissions. */
|
|
12376
|
+
'requireAllPermissions': {
|
|
12377
|
+
label: 'Require all permissions';
|
|
12378
|
+
type: 'boolean';
|
|
12379
|
+
defaultValue: false;
|
|
12380
|
+
options: undefined;
|
|
12381
|
+
};
|
|
12382
|
+
/** . */
|
|
12383
|
+
'permissions': {
|
|
12364
12384
|
type: 'schema';
|
|
12365
12385
|
isRequired: true;
|
|
12386
|
+
isArray: true;
|
|
12387
|
+
minArrayLength: 0;
|
|
12366
12388
|
options: {
|
|
12367
|
-
schema: SpruceSchemas.
|
|
12389
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionSchema;
|
|
12368
12390
|
};
|
|
12369
12391
|
};
|
|
12370
12392
|
};
|
|
12371
12393
|
}
|
|
12372
|
-
interface
|
|
12394
|
+
interface UpsertPermissionContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema> {
|
|
12373
12395
|
}
|
|
12374
12396
|
}
|
|
12375
12397
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12376
|
-
interface
|
|
12398
|
+
interface UpsertPermissionContractEmitTargetAndPayload {
|
|
12377
12399
|
/** Source. */
|
|
12378
12400
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12379
|
-
'target'
|
|
12380
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.
|
|
12401
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTarget;
|
|
12402
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayload;
|
|
12381
12403
|
}
|
|
12382
|
-
interface
|
|
12383
|
-
id: '
|
|
12404
|
+
interface UpsertPermissionContractEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12405
|
+
id: 'upsertPermissionContractEmitTargetAndPayload';
|
|
12384
12406
|
version: 'v2020_12_25';
|
|
12385
12407
|
namespace: 'Mercury';
|
|
12386
12408
|
name: '';
|
|
@@ -12396,8 +12418,9 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12396
12418
|
/** . */
|
|
12397
12419
|
'target': {
|
|
12398
12420
|
type: 'schema';
|
|
12421
|
+
isRequired: true;
|
|
12399
12422
|
options: {
|
|
12400
|
-
schema: SpruceSchemas.
|
|
12423
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema;
|
|
12401
12424
|
};
|
|
12402
12425
|
};
|
|
12403
12426
|
/** . */
|
|
@@ -12405,64 +12428,73 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12405
12428
|
type: 'schema';
|
|
12406
12429
|
isRequired: true;
|
|
12407
12430
|
options: {
|
|
12408
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12431
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema;
|
|
12409
12432
|
};
|
|
12410
12433
|
};
|
|
12411
12434
|
};
|
|
12412
12435
|
}
|
|
12413
|
-
interface
|
|
12436
|
+
interface UpsertPermissionContractEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetAndPayloadSchema> {
|
|
12414
12437
|
}
|
|
12415
12438
|
}
|
|
12416
12439
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12417
|
-
interface
|
|
12418
|
-
|
|
12419
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12420
|
-
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
12421
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayload;
|
|
12440
|
+
interface UpsertPermissionContractResponsePayload {
|
|
12441
|
+
'permissionContract': SpruceSchemas.Mercury.v2020_12_25.PermissionContract;
|
|
12422
12442
|
}
|
|
12423
|
-
interface
|
|
12424
|
-
id: '
|
|
12443
|
+
interface UpsertPermissionContractResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12444
|
+
id: 'upsertPermissionContractResponsePayload';
|
|
12425
12445
|
version: 'v2020_12_25';
|
|
12426
12446
|
namespace: 'Mercury';
|
|
12427
12447
|
name: '';
|
|
12428
12448
|
fields: {
|
|
12429
|
-
/**
|
|
12430
|
-
'
|
|
12431
|
-
label: 'Source';
|
|
12449
|
+
/** . */
|
|
12450
|
+
'permissionContract': {
|
|
12432
12451
|
type: 'schema';
|
|
12452
|
+
isRequired: true;
|
|
12433
12453
|
options: {
|
|
12434
|
-
schema: SpruceSchemas.
|
|
12454
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionContractSchema;
|
|
12435
12455
|
};
|
|
12436
12456
|
};
|
|
12457
|
+
};
|
|
12458
|
+
}
|
|
12459
|
+
interface UpsertPermissionContractResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractResponsePayloadSchema> {
|
|
12460
|
+
}
|
|
12461
|
+
}
|
|
12462
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12463
|
+
interface VoteForFeatureEmitPayload {
|
|
12464
|
+
'featureKey': string;
|
|
12465
|
+
'skillNamespace': string;
|
|
12466
|
+
}
|
|
12467
|
+
interface VoteForFeatureEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12468
|
+
id: 'voteForFeatureEmitPayload';
|
|
12469
|
+
version: 'v2020_12_25';
|
|
12470
|
+
namespace: 'Mercury';
|
|
12471
|
+
name: '';
|
|
12472
|
+
fields: {
|
|
12437
12473
|
/** . */
|
|
12438
|
-
'
|
|
12439
|
-
type: '
|
|
12440
|
-
|
|
12441
|
-
|
|
12442
|
-
};
|
|
12474
|
+
'featureKey': {
|
|
12475
|
+
type: 'id';
|
|
12476
|
+
isRequired: true;
|
|
12477
|
+
options: undefined;
|
|
12443
12478
|
};
|
|
12444
12479
|
/** . */
|
|
12445
|
-
'
|
|
12446
|
-
type: '
|
|
12480
|
+
'skillNamespace': {
|
|
12481
|
+
type: 'id';
|
|
12447
12482
|
isRequired: true;
|
|
12448
|
-
options:
|
|
12449
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema;
|
|
12450
|
-
};
|
|
12483
|
+
options: undefined;
|
|
12451
12484
|
};
|
|
12452
12485
|
};
|
|
12453
12486
|
}
|
|
12454
|
-
interface
|
|
12487
|
+
interface VoteForFeatureEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema> {
|
|
12455
12488
|
}
|
|
12456
12489
|
}
|
|
12457
12490
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12458
|
-
interface
|
|
12491
|
+
interface VoteForFeatureEmitTargetAndPayload {
|
|
12459
12492
|
/** Source. */
|
|
12460
12493
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12461
|
-
'
|
|
12462
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayload;
|
|
12494
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayload;
|
|
12463
12495
|
}
|
|
12464
|
-
interface
|
|
12465
|
-
id: '
|
|
12496
|
+
interface VoteForFeatureEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12497
|
+
id: 'voteForFeatureEmitTargetAndPayload';
|
|
12466
12498
|
version: 'v2020_12_25';
|
|
12467
12499
|
namespace: 'Mercury';
|
|
12468
12500
|
name: '';
|
|
@@ -12476,57 +12508,46 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12476
12508
|
};
|
|
12477
12509
|
};
|
|
12478
12510
|
/** . */
|
|
12479
|
-
'target': {
|
|
12480
|
-
type: 'schema';
|
|
12481
|
-
options: {
|
|
12482
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
12483
|
-
};
|
|
12484
|
-
};
|
|
12485
|
-
/** . */
|
|
12486
12511
|
'payload': {
|
|
12487
12512
|
type: 'schema';
|
|
12488
12513
|
isRequired: true;
|
|
12489
12514
|
options: {
|
|
12490
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12515
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema;
|
|
12491
12516
|
};
|
|
12492
12517
|
};
|
|
12493
12518
|
};
|
|
12494
12519
|
}
|
|
12495
|
-
interface
|
|
12520
|
+
interface VoteForFeatureEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitTargetAndPayloadSchema> {
|
|
12496
12521
|
}
|
|
12497
12522
|
}
|
|
12498
12523
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12499
|
-
interface
|
|
12500
|
-
'
|
|
12524
|
+
interface VoteForFeatureResponsePayload {
|
|
12525
|
+
'totalVotes': number;
|
|
12501
12526
|
}
|
|
12502
|
-
interface
|
|
12503
|
-
id: '
|
|
12527
|
+
interface VoteForFeatureResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12528
|
+
id: 'voteForFeatureResponsePayload';
|
|
12504
12529
|
version: 'v2020_12_25';
|
|
12505
12530
|
namespace: 'Mercury';
|
|
12506
12531
|
name: '';
|
|
12507
12532
|
fields: {
|
|
12508
12533
|
/** . */
|
|
12509
|
-
'
|
|
12510
|
-
type: '
|
|
12534
|
+
'totalVotes': {
|
|
12535
|
+
type: 'number';
|
|
12511
12536
|
isRequired: true;
|
|
12512
|
-
options:
|
|
12513
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
12514
|
-
};
|
|
12537
|
+
options: undefined;
|
|
12515
12538
|
};
|
|
12516
12539
|
};
|
|
12517
12540
|
}
|
|
12518
|
-
interface
|
|
12541
|
+
interface VoteForFeatureResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureResponsePayloadSchema> {
|
|
12519
12542
|
}
|
|
12520
12543
|
}
|
|
12521
12544
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12522
|
-
interface
|
|
12545
|
+
interface WhoamiEmitTargetAndPayload {
|
|
12523
12546
|
/** Source. */
|
|
12524
12547
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12525
|
-
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
12526
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayload;
|
|
12527
12548
|
}
|
|
12528
|
-
interface
|
|
12529
|
-
id: '
|
|
12549
|
+
interface WhoamiEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12550
|
+
id: 'whoamiEmitTargetAndPayload';
|
|
12530
12551
|
version: 'v2020_12_25';
|
|
12531
12552
|
namespace: 'Mercury';
|
|
12532
12553
|
name: '';
|
|
@@ -12539,24 +12560,9 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12539
12560
|
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12540
12561
|
};
|
|
12541
12562
|
};
|
|
12542
|
-
/** . */
|
|
12543
|
-
'target': {
|
|
12544
|
-
type: 'schema';
|
|
12545
|
-
options: {
|
|
12546
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
12547
|
-
};
|
|
12548
|
-
};
|
|
12549
|
-
/** . */
|
|
12550
|
-
'payload': {
|
|
12551
|
-
type: 'schema';
|
|
12552
|
-
isRequired: true;
|
|
12553
|
-
options: {
|
|
12554
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema;
|
|
12555
|
-
};
|
|
12556
|
-
};
|
|
12557
12563
|
};
|
|
12558
12564
|
}
|
|
12559
|
-
interface
|
|
12565
|
+
interface WhoamiEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.WhoamiEmitTargetAndPayloadSchema> {
|
|
12560
12566
|
}
|
|
12561
12567
|
}
|
|
12562
12568
|
}
|