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