@sprucelabs/mercury-core-events 18.0.29 → 18.0.31
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 +10 -10
|
@@ -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;
|
|
@@ -12090,36 +11337,831 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12090
11337
|
}];
|
|
12091
11338
|
};
|
|
12092
11339
|
};
|
|
12093
|
-
/** Avatar src. */
|
|
12094
|
-
'avatar': {
|
|
12095
|
-
label: 'Avatar src';
|
|
12096
|
-
type: 'image';
|
|
12097
|
-
options: {
|
|
12098
|
-
requiredSizes: ["*"];
|
|
12099
|
-
};
|
|
11340
|
+
/** Avatar src. */
|
|
11341
|
+
'avatar': {
|
|
11342
|
+
label: 'Avatar src';
|
|
11343
|
+
type: 'image';
|
|
11344
|
+
options: {
|
|
11345
|
+
requiredSizes: ["*"];
|
|
11346
|
+
};
|
|
11347
|
+
};
|
|
11348
|
+
/** Phone. A number that can be texted */
|
|
11349
|
+
'phone': {
|
|
11350
|
+
label: 'Phone';
|
|
11351
|
+
type: 'phone';
|
|
11352
|
+
isPrivate: true;
|
|
11353
|
+
hint: 'A number that can be texted';
|
|
11354
|
+
options: undefined;
|
|
11355
|
+
};
|
|
11356
|
+
};
|
|
11357
|
+
}
|
|
11358
|
+
interface UpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema> {
|
|
11359
|
+
}
|
|
11360
|
+
}
|
|
11361
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11362
|
+
interface UpdatePersonEmitTargetAndPayload {
|
|
11363
|
+
/** Source. */
|
|
11364
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11365
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTarget | undefined | null;
|
|
11366
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayload | undefined | null;
|
|
11367
|
+
}
|
|
11368
|
+
interface UpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11369
|
+
id: 'updatePersonEmitTargetAndPayload';
|
|
11370
|
+
version: 'v2020_12_25';
|
|
11371
|
+
namespace: 'Mercury';
|
|
11372
|
+
name: '';
|
|
11373
|
+
fields: {
|
|
11374
|
+
/** Source. */
|
|
11375
|
+
'source': {
|
|
11376
|
+
label: 'Source';
|
|
11377
|
+
type: 'schema';
|
|
11378
|
+
options: {
|
|
11379
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11380
|
+
};
|
|
11381
|
+
};
|
|
11382
|
+
/** . */
|
|
11383
|
+
'target': {
|
|
11384
|
+
type: 'schema';
|
|
11385
|
+
options: {
|
|
11386
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetSchema;
|
|
11387
|
+
};
|
|
11388
|
+
};
|
|
11389
|
+
/** . */
|
|
11390
|
+
'payload': {
|
|
11391
|
+
type: 'schema';
|
|
11392
|
+
options: {
|
|
11393
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema;
|
|
11394
|
+
};
|
|
11395
|
+
};
|
|
11396
|
+
};
|
|
11397
|
+
}
|
|
11398
|
+
interface UpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetAndPayloadSchema> {
|
|
11399
|
+
}
|
|
11400
|
+
}
|
|
11401
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11402
|
+
interface UpdatePersonResponsePayload {
|
|
11403
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
11404
|
+
}
|
|
11405
|
+
interface UpdatePersonResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11406
|
+
id: 'updatePersonResponsePayload';
|
|
11407
|
+
version: 'v2020_12_25';
|
|
11408
|
+
namespace: 'Mercury';
|
|
11409
|
+
name: '';
|
|
11410
|
+
fields: {
|
|
11411
|
+
/** . */
|
|
11412
|
+
'person': {
|
|
11413
|
+
type: 'schema';
|
|
11414
|
+
isRequired: true;
|
|
11415
|
+
options: {
|
|
11416
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
11417
|
+
};
|
|
11418
|
+
};
|
|
11419
|
+
};
|
|
11420
|
+
}
|
|
11421
|
+
interface UpdatePersonResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonResponsePayloadSchema> {
|
|
11422
|
+
}
|
|
11423
|
+
}
|
|
11424
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11425
|
+
interface UpdateRoleEmitTarget {
|
|
11426
|
+
'roleId': string;
|
|
11427
|
+
}
|
|
11428
|
+
interface UpdateRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
11429
|
+
id: 'updateRoleEmitTarget';
|
|
11430
|
+
version: 'v2020_12_25';
|
|
11431
|
+
namespace: 'Mercury';
|
|
11432
|
+
name: '';
|
|
11433
|
+
fields: {
|
|
11434
|
+
/** . */
|
|
11435
|
+
'roleId': {
|
|
11436
|
+
type: 'id';
|
|
11437
|
+
isRequired: true;
|
|
11438
|
+
options: undefined;
|
|
11439
|
+
};
|
|
11440
|
+
};
|
|
11441
|
+
}
|
|
11442
|
+
interface UpdateRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema> {
|
|
11443
|
+
}
|
|
11444
|
+
}
|
|
11445
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11446
|
+
interface UpdateRoleEmitPayload {
|
|
11447
|
+
/** Name. */
|
|
11448
|
+
'name'?: string | undefined | null;
|
|
11449
|
+
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
11450
|
+
'base'?: ("owner" | "groupManager" | "manager" | "teammate" | "anonymous" | "loggedIn" | "guest") | undefined | null;
|
|
11451
|
+
/** Description. */
|
|
11452
|
+
'description'?: string | undefined | null;
|
|
11453
|
+
'dateDeleted'?: number | undefined | null;
|
|
11454
|
+
'organizationId'?: string | undefined | null;
|
|
11455
|
+
/** Public. Should I let people that are not part of this organization this role? */
|
|
11456
|
+
'isPublic'?: boolean | undefined | null;
|
|
11457
|
+
}
|
|
11458
|
+
interface UpdateRoleEmitPayloadSchema extends SpruceSchema.Schema {
|
|
11459
|
+
id: 'updateRoleEmitPayload';
|
|
11460
|
+
version: 'v2020_12_25';
|
|
11461
|
+
namespace: 'Mercury';
|
|
11462
|
+
name: '';
|
|
11463
|
+
fields: {
|
|
11464
|
+
/** Name. */
|
|
11465
|
+
'name': {
|
|
11466
|
+
label: 'Name';
|
|
11467
|
+
type: 'text';
|
|
11468
|
+
options: undefined;
|
|
11469
|
+
};
|
|
11470
|
+
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
11471
|
+
'base': {
|
|
11472
|
+
label: 'Base';
|
|
11473
|
+
type: 'select';
|
|
11474
|
+
hint: 'A best practices starting point for a role based on the generalized roles at a company.';
|
|
11475
|
+
options: {
|
|
11476
|
+
choices: [{
|
|
11477
|
+
"label": "Owner";
|
|
11478
|
+
"value": "owner";
|
|
11479
|
+
}, {
|
|
11480
|
+
"label": "Group manager";
|
|
11481
|
+
"value": "groupManager";
|
|
11482
|
+
}, {
|
|
11483
|
+
"label": "Manager";
|
|
11484
|
+
"value": "manager";
|
|
11485
|
+
}, {
|
|
11486
|
+
"label": "Teammate";
|
|
11487
|
+
"value": "teammate";
|
|
11488
|
+
}, {
|
|
11489
|
+
"label": "Anonymous";
|
|
11490
|
+
"value": "anonymous";
|
|
11491
|
+
}, {
|
|
11492
|
+
"label": "Logged in";
|
|
11493
|
+
"value": "loggedIn";
|
|
11494
|
+
}, {
|
|
11495
|
+
"label": "Guest";
|
|
11496
|
+
"value": "guest";
|
|
11497
|
+
}];
|
|
11498
|
+
};
|
|
11499
|
+
};
|
|
11500
|
+
/** Description. */
|
|
11501
|
+
'description': {
|
|
11502
|
+
label: 'Description';
|
|
11503
|
+
type: 'text';
|
|
11504
|
+
options: undefined;
|
|
11505
|
+
};
|
|
11506
|
+
/** . */
|
|
11507
|
+
'dateDeleted': {
|
|
11508
|
+
type: 'number';
|
|
11509
|
+
options: undefined;
|
|
11510
|
+
};
|
|
11511
|
+
/** . */
|
|
11512
|
+
'organizationId': {
|
|
11513
|
+
type: 'id';
|
|
11514
|
+
options: undefined;
|
|
11515
|
+
};
|
|
11516
|
+
/** Public. Should I let people that are not part of this organization this role? */
|
|
11517
|
+
'isPublic': {
|
|
11518
|
+
label: 'Public';
|
|
11519
|
+
type: 'boolean';
|
|
11520
|
+
hint: 'Should I let people that are not part of this organization this role?';
|
|
11521
|
+
options: undefined;
|
|
11522
|
+
};
|
|
11523
|
+
};
|
|
11524
|
+
}
|
|
11525
|
+
interface UpdateRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema> {
|
|
11526
|
+
}
|
|
11527
|
+
}
|
|
11528
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11529
|
+
interface UpdateRoleEmitTargetAndPayload {
|
|
11530
|
+
/** Source. */
|
|
11531
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11532
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTarget;
|
|
11533
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayload | undefined | null;
|
|
11534
|
+
}
|
|
11535
|
+
interface UpdateRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11536
|
+
id: 'updateRoleEmitTargetAndPayload';
|
|
11537
|
+
version: 'v2020_12_25';
|
|
11538
|
+
namespace: 'Mercury';
|
|
11539
|
+
name: '';
|
|
11540
|
+
fields: {
|
|
11541
|
+
/** Source. */
|
|
11542
|
+
'source': {
|
|
11543
|
+
label: 'Source';
|
|
11544
|
+
type: 'schema';
|
|
11545
|
+
options: {
|
|
11546
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11547
|
+
};
|
|
11548
|
+
};
|
|
11549
|
+
/** . */
|
|
11550
|
+
'target': {
|
|
11551
|
+
type: 'schema';
|
|
11552
|
+
isRequired: true;
|
|
11553
|
+
options: {
|
|
11554
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema;
|
|
11555
|
+
};
|
|
11556
|
+
};
|
|
11557
|
+
/** . */
|
|
11558
|
+
'payload': {
|
|
11559
|
+
type: 'schema';
|
|
11560
|
+
options: {
|
|
11561
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema;
|
|
11562
|
+
};
|
|
11563
|
+
};
|
|
11564
|
+
};
|
|
11565
|
+
}
|
|
11566
|
+
interface UpdateRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetAndPayloadSchema> {
|
|
11567
|
+
}
|
|
11568
|
+
}
|
|
11569
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11570
|
+
interface UpdateRoleResponsePayload {
|
|
11571
|
+
'role': SpruceSchemas.Spruce.v2020_07_22.Role;
|
|
11572
|
+
}
|
|
11573
|
+
interface UpdateRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11574
|
+
id: 'updateRoleResponsePayload';
|
|
11575
|
+
version: 'v2020_12_25';
|
|
11576
|
+
namespace: 'Mercury';
|
|
11577
|
+
name: '';
|
|
11578
|
+
fields: {
|
|
11579
|
+
/** . */
|
|
11580
|
+
'role': {
|
|
11581
|
+
type: 'schema';
|
|
11582
|
+
isRequired: true;
|
|
11583
|
+
options: {
|
|
11584
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.RoleSchema;
|
|
11585
|
+
};
|
|
11586
|
+
};
|
|
11587
|
+
};
|
|
11588
|
+
}
|
|
11589
|
+
interface UpdateRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleResponsePayloadSchema> {
|
|
11590
|
+
}
|
|
11591
|
+
}
|
|
11592
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11593
|
+
interface UpsertPermissionContractEmitTarget {
|
|
11594
|
+
'organizationId': string;
|
|
11595
|
+
'permissionContractId': string;
|
|
11596
|
+
'roleId': string;
|
|
11597
|
+
'skillId'?: string | undefined | null;
|
|
11598
|
+
}
|
|
11599
|
+
interface UpsertPermissionContractEmitTargetSchema extends SpruceSchema.Schema {
|
|
11600
|
+
id: 'upsertPermissionContractEmitTarget';
|
|
11601
|
+
version: 'v2020_12_25';
|
|
11602
|
+
namespace: 'Mercury';
|
|
11603
|
+
name: '';
|
|
11604
|
+
fields: {
|
|
11605
|
+
/** . */
|
|
11606
|
+
'organizationId': {
|
|
11607
|
+
type: 'id';
|
|
11608
|
+
isRequired: true;
|
|
11609
|
+
options: undefined;
|
|
11610
|
+
};
|
|
11611
|
+
/** . */
|
|
11612
|
+
'permissionContractId': {
|
|
11613
|
+
type: 'id';
|
|
11614
|
+
isRequired: true;
|
|
11615
|
+
options: undefined;
|
|
11616
|
+
};
|
|
11617
|
+
/** . */
|
|
11618
|
+
'roleId': {
|
|
11619
|
+
type: 'id';
|
|
11620
|
+
isRequired: true;
|
|
11621
|
+
options: undefined;
|
|
11622
|
+
};
|
|
11623
|
+
/** . */
|
|
11624
|
+
'skillId': {
|
|
11625
|
+
type: 'id';
|
|
11626
|
+
options: undefined;
|
|
11627
|
+
};
|
|
11628
|
+
};
|
|
11629
|
+
}
|
|
11630
|
+
interface UpsertPermissionContractEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema> {
|
|
11631
|
+
}
|
|
11632
|
+
}
|
|
11633
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11634
|
+
interface UpsertPermissionContractEmitTargetAndPayload {
|
|
11635
|
+
/** Source. */
|
|
11636
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11637
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTarget;
|
|
11638
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayload;
|
|
11639
|
+
}
|
|
11640
|
+
interface UpsertPermissionContractEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11641
|
+
id: 'upsertPermissionContractEmitTargetAndPayload';
|
|
11642
|
+
version: 'v2020_12_25';
|
|
11643
|
+
namespace: 'Mercury';
|
|
11644
|
+
name: '';
|
|
11645
|
+
fields: {
|
|
11646
|
+
/** Source. */
|
|
11647
|
+
'source': {
|
|
11648
|
+
label: 'Source';
|
|
11649
|
+
type: 'schema';
|
|
11650
|
+
options: {
|
|
11651
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11652
|
+
};
|
|
11653
|
+
};
|
|
11654
|
+
/** . */
|
|
11655
|
+
'target': {
|
|
11656
|
+
type: 'schema';
|
|
11657
|
+
isRequired: true;
|
|
11658
|
+
options: {
|
|
11659
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema;
|
|
11660
|
+
};
|
|
11661
|
+
};
|
|
11662
|
+
/** . */
|
|
11663
|
+
'payload': {
|
|
11664
|
+
type: 'schema';
|
|
11665
|
+
isRequired: true;
|
|
11666
|
+
options: {
|
|
11667
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema;
|
|
11668
|
+
};
|
|
11669
|
+
};
|
|
11670
|
+
};
|
|
11671
|
+
}
|
|
11672
|
+
interface UpsertPermissionContractEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetAndPayloadSchema> {
|
|
11673
|
+
}
|
|
11674
|
+
}
|
|
11675
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11676
|
+
interface UpsertPermissionContractsEmitPayload {
|
|
11677
|
+
/** Name. Human readable name for this contract */
|
|
11678
|
+
'name': string;
|
|
11679
|
+
/** Description. */
|
|
11680
|
+
'description'?: string | undefined | null;
|
|
11681
|
+
/** Require all permissions. */
|
|
11682
|
+
'requireAllPermissions'?: boolean | undefined | null;
|
|
11683
|
+
'permissions': SpruceSchemas.Mercury.v2020_12_25.Permission[];
|
|
11684
|
+
}
|
|
11685
|
+
interface UpsertPermissionContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
11686
|
+
id: 'upsertPermissionContractsEmitPayload';
|
|
11687
|
+
version: 'v2020_12_25';
|
|
11688
|
+
namespace: 'Mercury';
|
|
11689
|
+
name: '';
|
|
11690
|
+
fields: {
|
|
11691
|
+
/** Name. Human readable name for this contract */
|
|
11692
|
+
'name': {
|
|
11693
|
+
label: 'Name';
|
|
11694
|
+
type: 'text';
|
|
11695
|
+
isRequired: true;
|
|
11696
|
+
hint: 'Human readable name for this contract';
|
|
11697
|
+
options: undefined;
|
|
11698
|
+
};
|
|
11699
|
+
/** Description. */
|
|
11700
|
+
'description': {
|
|
11701
|
+
label: 'Description';
|
|
11702
|
+
type: 'text';
|
|
11703
|
+
options: undefined;
|
|
11704
|
+
};
|
|
11705
|
+
/** Require all permissions. */
|
|
11706
|
+
'requireAllPermissions': {
|
|
11707
|
+
label: 'Require all permissions';
|
|
11708
|
+
type: 'boolean';
|
|
11709
|
+
defaultValue: false;
|
|
11710
|
+
options: undefined;
|
|
11711
|
+
};
|
|
11712
|
+
/** . */
|
|
11713
|
+
'permissions': {
|
|
11714
|
+
type: 'schema';
|
|
11715
|
+
isRequired: true;
|
|
11716
|
+
isArray: true;
|
|
11717
|
+
minArrayLength: 0;
|
|
11718
|
+
options: {
|
|
11719
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionSchema;
|
|
11720
|
+
};
|
|
11721
|
+
};
|
|
11722
|
+
};
|
|
11723
|
+
}
|
|
11724
|
+
interface UpsertPermissionContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema> {
|
|
11725
|
+
}
|
|
11726
|
+
}
|
|
11727
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11728
|
+
interface UpsertPermissionContractResponsePayload {
|
|
11729
|
+
'permissionContract': SpruceSchemas.Mercury.v2020_12_25.PermissionContract;
|
|
11730
|
+
}
|
|
11731
|
+
interface UpsertPermissionContractResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11732
|
+
id: 'upsertPermissionContractResponsePayload';
|
|
11733
|
+
version: 'v2020_12_25';
|
|
11734
|
+
namespace: 'Mercury';
|
|
11735
|
+
name: '';
|
|
11736
|
+
fields: {
|
|
11737
|
+
/** . */
|
|
11738
|
+
'permissionContract': {
|
|
11739
|
+
type: 'schema';
|
|
11740
|
+
isRequired: true;
|
|
11741
|
+
options: {
|
|
11742
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionContractSchema;
|
|
11743
|
+
};
|
|
11744
|
+
};
|
|
11745
|
+
};
|
|
11746
|
+
}
|
|
11747
|
+
interface UpsertPermissionContractResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractResponsePayloadSchema> {
|
|
11748
|
+
}
|
|
11749
|
+
}
|
|
11750
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11751
|
+
interface VoteForFeatureEmitPayload {
|
|
11752
|
+
'featureKey': string;
|
|
11753
|
+
'skillNamespace': string;
|
|
11754
|
+
}
|
|
11755
|
+
interface VoteForFeatureEmitPayloadSchema extends SpruceSchema.Schema {
|
|
11756
|
+
id: 'voteForFeatureEmitPayload';
|
|
11757
|
+
version: 'v2020_12_25';
|
|
11758
|
+
namespace: 'Mercury';
|
|
11759
|
+
name: '';
|
|
11760
|
+
fields: {
|
|
11761
|
+
/** . */
|
|
11762
|
+
'featureKey': {
|
|
11763
|
+
type: 'id';
|
|
11764
|
+
isRequired: true;
|
|
11765
|
+
options: undefined;
|
|
11766
|
+
};
|
|
11767
|
+
/** . */
|
|
11768
|
+
'skillNamespace': {
|
|
11769
|
+
type: 'id';
|
|
11770
|
+
isRequired: true;
|
|
11771
|
+
options: undefined;
|
|
11772
|
+
};
|
|
11773
|
+
};
|
|
11774
|
+
}
|
|
11775
|
+
interface VoteForFeatureEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema> {
|
|
11776
|
+
}
|
|
11777
|
+
}
|
|
11778
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11779
|
+
interface VoteForFeatureEmitTargetAndPayload {
|
|
11780
|
+
/** Source. */
|
|
11781
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11782
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayload;
|
|
11783
|
+
}
|
|
11784
|
+
interface VoteForFeatureEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11785
|
+
id: 'voteForFeatureEmitTargetAndPayload';
|
|
11786
|
+
version: 'v2020_12_25';
|
|
11787
|
+
namespace: 'Mercury';
|
|
11788
|
+
name: '';
|
|
11789
|
+
fields: {
|
|
11790
|
+
/** Source. */
|
|
11791
|
+
'source': {
|
|
11792
|
+
label: 'Source';
|
|
11793
|
+
type: 'schema';
|
|
11794
|
+
options: {
|
|
11795
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11796
|
+
};
|
|
11797
|
+
};
|
|
11798
|
+
/** . */
|
|
11799
|
+
'payload': {
|
|
11800
|
+
type: 'schema';
|
|
11801
|
+
isRequired: true;
|
|
11802
|
+
options: {
|
|
11803
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema;
|
|
11804
|
+
};
|
|
11805
|
+
};
|
|
11806
|
+
};
|
|
11807
|
+
}
|
|
11808
|
+
interface VoteForFeatureEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitTargetAndPayloadSchema> {
|
|
11809
|
+
}
|
|
11810
|
+
}
|
|
11811
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11812
|
+
interface VoteForFeatureResponsePayload {
|
|
11813
|
+
'totalVotes': number;
|
|
11814
|
+
}
|
|
11815
|
+
interface VoteForFeatureResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11816
|
+
id: 'voteForFeatureResponsePayload';
|
|
11817
|
+
version: 'v2020_12_25';
|
|
11818
|
+
namespace: 'Mercury';
|
|
11819
|
+
name: '';
|
|
11820
|
+
fields: {
|
|
11821
|
+
/** . */
|
|
11822
|
+
'totalVotes': {
|
|
11823
|
+
type: 'number';
|
|
11824
|
+
isRequired: true;
|
|
11825
|
+
options: undefined;
|
|
11826
|
+
};
|
|
11827
|
+
};
|
|
11828
|
+
}
|
|
11829
|
+
interface VoteForFeatureResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureResponsePayloadSchema> {
|
|
11830
|
+
}
|
|
11831
|
+
}
|
|
11832
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11833
|
+
interface WhoamiEmitTargetAndPayload {
|
|
11834
|
+
/** Source. */
|
|
11835
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11836
|
+
}
|
|
11837
|
+
interface WhoamiEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11838
|
+
id: 'whoamiEmitTargetAndPayload';
|
|
11839
|
+
version: 'v2020_12_25';
|
|
11840
|
+
namespace: 'Mercury';
|
|
11841
|
+
name: '';
|
|
11842
|
+
fields: {
|
|
11843
|
+
/** Source. */
|
|
11844
|
+
'source': {
|
|
11845
|
+
label: 'Source';
|
|
11846
|
+
type: 'schema';
|
|
11847
|
+
options: {
|
|
11848
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11849
|
+
};
|
|
11850
|
+
};
|
|
11851
|
+
};
|
|
11852
|
+
}
|
|
11853
|
+
interface WhoamiEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.WhoamiEmitTargetAndPayloadSchema> {
|
|
11854
|
+
}
|
|
11855
|
+
}
|
|
11856
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11857
|
+
interface DidInstallEmitTarget {
|
|
11858
|
+
'organizationId': string;
|
|
11859
|
+
'skillId': string;
|
|
11860
|
+
}
|
|
11861
|
+
interface DidInstallEmitTargetSchema extends SpruceSchema.Schema {
|
|
11862
|
+
id: 'didInstallEmitTarget';
|
|
11863
|
+
version: 'v2020_12_25';
|
|
11864
|
+
namespace: 'Mercury';
|
|
11865
|
+
name: '';
|
|
11866
|
+
fields: {
|
|
11867
|
+
/** . */
|
|
11868
|
+
'organizationId': {
|
|
11869
|
+
type: 'id';
|
|
11870
|
+
isRequired: true;
|
|
11871
|
+
options: undefined;
|
|
11872
|
+
};
|
|
11873
|
+
/** . */
|
|
11874
|
+
'skillId': {
|
|
11875
|
+
type: 'id';
|
|
11876
|
+
isRequired: true;
|
|
11877
|
+
options: undefined;
|
|
11878
|
+
};
|
|
11879
|
+
};
|
|
11880
|
+
}
|
|
11881
|
+
interface DidInstallEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema> {
|
|
11882
|
+
}
|
|
11883
|
+
}
|
|
11884
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11885
|
+
interface DidInstallEmitTargetAndPayload {
|
|
11886
|
+
/** Source. */
|
|
11887
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11888
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTarget;
|
|
11889
|
+
}
|
|
11890
|
+
interface DidInstallEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11891
|
+
id: 'didInstallEmitTargetAndPayload';
|
|
11892
|
+
version: 'v2020_12_25';
|
|
11893
|
+
namespace: 'Mercury';
|
|
11894
|
+
name: '';
|
|
11895
|
+
fields: {
|
|
11896
|
+
/** Source. */
|
|
11897
|
+
'source': {
|
|
11898
|
+
label: 'Source';
|
|
11899
|
+
type: 'schema';
|
|
11900
|
+
options: {
|
|
11901
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11902
|
+
};
|
|
11903
|
+
};
|
|
11904
|
+
/** . */
|
|
11905
|
+
'target': {
|
|
11906
|
+
type: 'schema';
|
|
11907
|
+
isRequired: true;
|
|
11908
|
+
options: {
|
|
11909
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema;
|
|
11910
|
+
};
|
|
11911
|
+
};
|
|
11912
|
+
};
|
|
11913
|
+
}
|
|
11914
|
+
interface DidInstallEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetAndPayloadSchema> {
|
|
11915
|
+
}
|
|
11916
|
+
}
|
|
11917
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11918
|
+
interface DidInstallResponsePayload {
|
|
11919
|
+
}
|
|
11920
|
+
interface DidInstallResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11921
|
+
id: 'didInstallResponsePayload';
|
|
11922
|
+
version: 'v2020_12_25';
|
|
11923
|
+
namespace: 'Mercury';
|
|
11924
|
+
name: '';
|
|
11925
|
+
fields: {};
|
|
11926
|
+
}
|
|
11927
|
+
interface DidInstallResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallResponsePayloadSchema> {
|
|
11928
|
+
}
|
|
11929
|
+
}
|
|
11930
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11931
|
+
interface DidJoinOrganizationEmitTarget {
|
|
11932
|
+
'organizationId': string;
|
|
11933
|
+
'locationId'?: string | undefined | null;
|
|
11934
|
+
}
|
|
11935
|
+
interface DidJoinOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
11936
|
+
id: 'didJoinOrganizationEmitTarget';
|
|
11937
|
+
version: 'v2020_12_25';
|
|
11938
|
+
namespace: 'Mercury';
|
|
11939
|
+
name: '';
|
|
11940
|
+
fields: {
|
|
11941
|
+
/** . */
|
|
11942
|
+
'organizationId': {
|
|
11943
|
+
type: 'id';
|
|
11944
|
+
isRequired: true;
|
|
11945
|
+
options: undefined;
|
|
11946
|
+
};
|
|
11947
|
+
/** . */
|
|
11948
|
+
'locationId': {
|
|
11949
|
+
type: 'id';
|
|
11950
|
+
options: undefined;
|
|
11951
|
+
};
|
|
11952
|
+
};
|
|
11953
|
+
}
|
|
11954
|
+
interface DidJoinOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema> {
|
|
11955
|
+
}
|
|
11956
|
+
}
|
|
11957
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11958
|
+
interface DidJoinOrganizationEmitPayload {
|
|
11959
|
+
'personId': string;
|
|
11960
|
+
'roleId': string;
|
|
11961
|
+
'isFirstRole': boolean;
|
|
11962
|
+
}
|
|
11963
|
+
interface DidJoinOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
11964
|
+
id: 'didJoinOrganizationEmitPayload';
|
|
11965
|
+
version: 'v2020_12_25';
|
|
11966
|
+
namespace: 'Mercury';
|
|
11967
|
+
name: '';
|
|
11968
|
+
fields: {
|
|
11969
|
+
/** . */
|
|
11970
|
+
'personId': {
|
|
11971
|
+
type: 'id';
|
|
11972
|
+
isRequired: true;
|
|
11973
|
+
options: undefined;
|
|
11974
|
+
};
|
|
11975
|
+
/** . */
|
|
11976
|
+
'roleId': {
|
|
11977
|
+
type: 'id';
|
|
11978
|
+
isRequired: true;
|
|
11979
|
+
options: undefined;
|
|
11980
|
+
};
|
|
11981
|
+
/** . */
|
|
11982
|
+
'isFirstRole': {
|
|
11983
|
+
type: 'boolean';
|
|
11984
|
+
isRequired: true;
|
|
11985
|
+
options: undefined;
|
|
11986
|
+
};
|
|
11987
|
+
};
|
|
11988
|
+
}
|
|
11989
|
+
interface DidJoinOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema> {
|
|
11990
|
+
}
|
|
11991
|
+
}
|
|
11992
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11993
|
+
interface DidJoinOrganizationEmitTargetAndPayload {
|
|
11994
|
+
/** Source. */
|
|
11995
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11996
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTarget;
|
|
11997
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayload;
|
|
11998
|
+
}
|
|
11999
|
+
interface DidJoinOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12000
|
+
id: 'didJoinOrganizationEmitTargetAndPayload';
|
|
12001
|
+
version: 'v2020_12_25';
|
|
12002
|
+
namespace: 'Mercury';
|
|
12003
|
+
name: '';
|
|
12004
|
+
fields: {
|
|
12005
|
+
/** Source. */
|
|
12006
|
+
'source': {
|
|
12007
|
+
label: 'Source';
|
|
12008
|
+
type: 'schema';
|
|
12009
|
+
options: {
|
|
12010
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12011
|
+
};
|
|
12012
|
+
};
|
|
12013
|
+
/** . */
|
|
12014
|
+
'target': {
|
|
12015
|
+
type: 'schema';
|
|
12016
|
+
isRequired: true;
|
|
12017
|
+
options: {
|
|
12018
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema;
|
|
12019
|
+
};
|
|
12020
|
+
};
|
|
12021
|
+
/** . */
|
|
12022
|
+
'payload': {
|
|
12023
|
+
type: 'schema';
|
|
12024
|
+
isRequired: true;
|
|
12025
|
+
options: {
|
|
12026
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema;
|
|
12027
|
+
};
|
|
12028
|
+
};
|
|
12029
|
+
};
|
|
12030
|
+
}
|
|
12031
|
+
interface DidJoinOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetAndPayloadSchema> {
|
|
12032
|
+
}
|
|
12033
|
+
}
|
|
12034
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12035
|
+
interface MessageTemplateAddons {
|
|
12036
|
+
'nextINeedYouTo'?: string[] | undefined | null;
|
|
12037
|
+
'youShouldKnowThat'?: string[] | undefined | null;
|
|
12038
|
+
'links'?: SpruceSchemas.Spruce.v2020_07_22.Link[] | undefined | null;
|
|
12039
|
+
}
|
|
12040
|
+
interface MessageTemplateAddonsSchema extends SpruceSchema.Schema {
|
|
12041
|
+
id: 'messageTemplateAddons';
|
|
12042
|
+
version: 'v2020_12_25';
|
|
12043
|
+
namespace: 'Mercury';
|
|
12044
|
+
name: '';
|
|
12045
|
+
fields: {
|
|
12046
|
+
/** . */
|
|
12047
|
+
'nextINeedYouTo': {
|
|
12048
|
+
type: 'text';
|
|
12049
|
+
isArray: true;
|
|
12050
|
+
options: undefined;
|
|
12051
|
+
};
|
|
12052
|
+
/** . */
|
|
12053
|
+
'youShouldKnowThat': {
|
|
12054
|
+
type: 'text';
|
|
12055
|
+
isArray: true;
|
|
12056
|
+
options: undefined;
|
|
12057
|
+
};
|
|
12058
|
+
/** . */
|
|
12059
|
+
'links': {
|
|
12060
|
+
type: 'schema';
|
|
12061
|
+
isArray: true;
|
|
12062
|
+
minArrayLength: 0;
|
|
12063
|
+
options: {
|
|
12064
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.LinkSchema;
|
|
12065
|
+
};
|
|
12066
|
+
};
|
|
12067
|
+
};
|
|
12068
|
+
}
|
|
12069
|
+
interface MessageTemplateAddonsEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema> {
|
|
12070
|
+
}
|
|
12071
|
+
}
|
|
12072
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12073
|
+
interface DidJoinOrganizationResponsePayload {
|
|
12074
|
+
'messaging'?: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddons | undefined | null;
|
|
12075
|
+
}
|
|
12076
|
+
interface DidJoinOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12077
|
+
id: 'didJoinOrganizationResponsePayload';
|
|
12078
|
+
version: 'v2020_12_25';
|
|
12079
|
+
namespace: 'Mercury';
|
|
12080
|
+
name: '';
|
|
12081
|
+
fields: {
|
|
12082
|
+
/** . */
|
|
12083
|
+
'messaging': {
|
|
12084
|
+
type: 'schema';
|
|
12085
|
+
options: {
|
|
12086
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema;
|
|
12087
|
+
};
|
|
12088
|
+
};
|
|
12089
|
+
};
|
|
12090
|
+
}
|
|
12091
|
+
interface DidJoinOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationResponsePayloadSchema> {
|
|
12092
|
+
}
|
|
12093
|
+
}
|
|
12094
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12095
|
+
interface DidLeaveOrganizationEmitTarget {
|
|
12096
|
+
'organizationId': string;
|
|
12097
|
+
'locationId'?: string | undefined | null;
|
|
12098
|
+
}
|
|
12099
|
+
interface DidLeaveOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
12100
|
+
id: 'didLeaveOrganizationEmitTarget';
|
|
12101
|
+
version: 'v2020_12_25';
|
|
12102
|
+
namespace: 'Mercury';
|
|
12103
|
+
name: '';
|
|
12104
|
+
fields: {
|
|
12105
|
+
/** . */
|
|
12106
|
+
'organizationId': {
|
|
12107
|
+
type: 'id';
|
|
12108
|
+
isRequired: true;
|
|
12109
|
+
options: undefined;
|
|
12110
|
+
};
|
|
12111
|
+
/** . */
|
|
12112
|
+
'locationId': {
|
|
12113
|
+
type: 'id';
|
|
12114
|
+
options: undefined;
|
|
12100
12115
|
};
|
|
12101
|
-
|
|
12102
|
-
|
|
12103
|
-
|
|
12104
|
-
|
|
12105
|
-
|
|
12106
|
-
|
|
12116
|
+
};
|
|
12117
|
+
}
|
|
12118
|
+
interface DidLeaveOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema> {
|
|
12119
|
+
}
|
|
12120
|
+
}
|
|
12121
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12122
|
+
interface DidLeaveOrganizationEmitPayload {
|
|
12123
|
+
'personId': string;
|
|
12124
|
+
'roleId': string;
|
|
12125
|
+
'isLastRole': boolean;
|
|
12126
|
+
}
|
|
12127
|
+
interface DidLeaveOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12128
|
+
id: 'didLeaveOrganizationEmitPayload';
|
|
12129
|
+
version: 'v2020_12_25';
|
|
12130
|
+
namespace: 'Mercury';
|
|
12131
|
+
name: '';
|
|
12132
|
+
fields: {
|
|
12133
|
+
/** . */
|
|
12134
|
+
'personId': {
|
|
12135
|
+
type: 'id';
|
|
12136
|
+
isRequired: true;
|
|
12137
|
+
options: undefined;
|
|
12138
|
+
};
|
|
12139
|
+
/** . */
|
|
12140
|
+
'roleId': {
|
|
12141
|
+
type: 'id';
|
|
12142
|
+
isRequired: true;
|
|
12143
|
+
options: undefined;
|
|
12144
|
+
};
|
|
12145
|
+
/** . */
|
|
12146
|
+
'isLastRole': {
|
|
12147
|
+
type: 'boolean';
|
|
12148
|
+
isRequired: true;
|
|
12107
12149
|
options: undefined;
|
|
12108
12150
|
};
|
|
12109
12151
|
};
|
|
12110
12152
|
}
|
|
12111
|
-
interface
|
|
12153
|
+
interface DidLeaveOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema> {
|
|
12112
12154
|
}
|
|
12113
12155
|
}
|
|
12114
12156
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12115
|
-
interface
|
|
12157
|
+
interface DidLeaveOrganizationEmitTargetAndPayload {
|
|
12116
12158
|
/** Source. */
|
|
12117
12159
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12118
|
-
'target'
|
|
12119
|
-
'payload'
|
|
12160
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTarget;
|
|
12161
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayload;
|
|
12120
12162
|
}
|
|
12121
|
-
interface
|
|
12122
|
-
id: '
|
|
12163
|
+
interface DidLeaveOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12164
|
+
id: 'didLeaveOrganizationEmitTargetAndPayload';
|
|
12123
12165
|
version: 'v2020_12_25';
|
|
12124
12166
|
namespace: 'Mercury';
|
|
12125
12167
|
name: '';
|
|
@@ -12135,242 +12177,254 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12135
12177
|
/** . */
|
|
12136
12178
|
'target': {
|
|
12137
12179
|
type: 'schema';
|
|
12180
|
+
isRequired: true;
|
|
12138
12181
|
options: {
|
|
12139
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12182
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema;
|
|
12140
12183
|
};
|
|
12141
12184
|
};
|
|
12142
12185
|
/** . */
|
|
12143
12186
|
'payload': {
|
|
12144
12187
|
type: 'schema';
|
|
12188
|
+
isRequired: true;
|
|
12145
12189
|
options: {
|
|
12146
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12190
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema;
|
|
12147
12191
|
};
|
|
12148
12192
|
};
|
|
12149
12193
|
};
|
|
12150
12194
|
}
|
|
12151
|
-
interface
|
|
12195
|
+
interface DidLeaveOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetAndPayloadSchema> {
|
|
12152
12196
|
}
|
|
12153
12197
|
}
|
|
12154
12198
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12155
|
-
interface
|
|
12156
|
-
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
12199
|
+
interface DidLeaveOrganizationResponsePayload {
|
|
12157
12200
|
}
|
|
12158
|
-
interface
|
|
12159
|
-
id: '
|
|
12201
|
+
interface DidLeaveOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12202
|
+
id: 'didLeaveOrganizationResponsePayload';
|
|
12203
|
+
version: 'v2020_12_25';
|
|
12204
|
+
namespace: 'Mercury';
|
|
12205
|
+
name: '';
|
|
12206
|
+
fields: {};
|
|
12207
|
+
}
|
|
12208
|
+
interface DidLeaveOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationResponsePayloadSchema> {
|
|
12209
|
+
}
|
|
12210
|
+
}
|
|
12211
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12212
|
+
interface DidMessageEmitPayload {
|
|
12213
|
+
'message': SpruceSchemas.Spruce.v2020_07_22.Message;
|
|
12214
|
+
'conversationState'?: string | undefined | null;
|
|
12215
|
+
'topic'?: string | undefined | null;
|
|
12216
|
+
}
|
|
12217
|
+
interface DidMessageEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12218
|
+
id: 'didMessageEmitPayload';
|
|
12160
12219
|
version: 'v2020_12_25';
|
|
12161
12220
|
namespace: 'Mercury';
|
|
12162
12221
|
name: '';
|
|
12163
12222
|
fields: {
|
|
12164
12223
|
/** . */
|
|
12165
|
-
'
|
|
12224
|
+
'message': {
|
|
12166
12225
|
type: 'schema';
|
|
12167
12226
|
isRequired: true;
|
|
12168
12227
|
options: {
|
|
12169
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.
|
|
12228
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.MessageSchema;
|
|
12170
12229
|
};
|
|
12171
12230
|
};
|
|
12231
|
+
/** . */
|
|
12232
|
+
'conversationState': {
|
|
12233
|
+
type: 'text';
|
|
12234
|
+
options: undefined;
|
|
12235
|
+
};
|
|
12236
|
+
/** . */
|
|
12237
|
+
'topic': {
|
|
12238
|
+
type: 'text';
|
|
12239
|
+
options: undefined;
|
|
12240
|
+
};
|
|
12172
12241
|
};
|
|
12173
12242
|
}
|
|
12174
|
-
interface
|
|
12243
|
+
interface DidMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema> {
|
|
12175
12244
|
}
|
|
12176
12245
|
}
|
|
12177
12246
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12178
|
-
interface
|
|
12179
|
-
|
|
12247
|
+
interface DidMessageEmitTargetAndPayload {
|
|
12248
|
+
/** Source. */
|
|
12249
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12250
|
+
'target'?: SpruceSchemas.Spruce.v2020_07_22.MessageTarget | undefined | null;
|
|
12251
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayload;
|
|
12180
12252
|
}
|
|
12181
|
-
interface
|
|
12182
|
-
id: '
|
|
12253
|
+
interface DidMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12254
|
+
id: 'didMessageEmitTargetAndPayload';
|
|
12183
12255
|
version: 'v2020_12_25';
|
|
12184
12256
|
namespace: 'Mercury';
|
|
12185
12257
|
name: '';
|
|
12186
12258
|
fields: {
|
|
12259
|
+
/** Source. */
|
|
12260
|
+
'source': {
|
|
12261
|
+
label: 'Source';
|
|
12262
|
+
type: 'schema';
|
|
12263
|
+
options: {
|
|
12264
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12265
|
+
};
|
|
12266
|
+
};
|
|
12187
12267
|
/** . */
|
|
12188
|
-
'
|
|
12189
|
-
type: '
|
|
12268
|
+
'target': {
|
|
12269
|
+
type: 'schema';
|
|
12270
|
+
options: {
|
|
12271
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.MessageTargetSchema;
|
|
12272
|
+
};
|
|
12273
|
+
};
|
|
12274
|
+
/** . */
|
|
12275
|
+
'payload': {
|
|
12276
|
+
type: 'schema';
|
|
12190
12277
|
isRequired: true;
|
|
12191
|
-
options:
|
|
12278
|
+
options: {
|
|
12279
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema;
|
|
12280
|
+
};
|
|
12192
12281
|
};
|
|
12193
12282
|
};
|
|
12194
12283
|
}
|
|
12195
|
-
interface
|
|
12284
|
+
interface DidMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitTargetAndPayloadSchema> {
|
|
12196
12285
|
}
|
|
12197
12286
|
}
|
|
12198
12287
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12199
|
-
interface
|
|
12200
|
-
|
|
12201
|
-
'
|
|
12202
|
-
|
|
12203
|
-
'base'?: ("owner" | "groupManager" | "manager" | "teammate" | "anonymous" | "loggedIn" | "guest") | undefined | null;
|
|
12204
|
-
/** Description. */
|
|
12205
|
-
'description'?: string | undefined | null;
|
|
12206
|
-
'dateDeleted'?: number | undefined | null;
|
|
12207
|
-
'organizationId'?: string | undefined | null;
|
|
12208
|
-
/** Public. Should I let people that are not part of this organization this role? */
|
|
12209
|
-
'isPublic'?: boolean | undefined | null;
|
|
12288
|
+
interface ConversationTopic {
|
|
12289
|
+
'key': string;
|
|
12290
|
+
'confidence': number;
|
|
12291
|
+
'label': string;
|
|
12210
12292
|
}
|
|
12211
|
-
interface
|
|
12212
|
-
id: '
|
|
12293
|
+
interface ConversationTopicSchema extends SpruceSchema.Schema {
|
|
12294
|
+
id: 'conversationTopic';
|
|
12213
12295
|
version: 'v2020_12_25';
|
|
12214
12296
|
namespace: 'Mercury';
|
|
12215
12297
|
name: '';
|
|
12216
12298
|
fields: {
|
|
12217
|
-
/**
|
|
12218
|
-
'
|
|
12219
|
-
label: 'Name';
|
|
12220
|
-
type: 'text';
|
|
12221
|
-
options: undefined;
|
|
12222
|
-
};
|
|
12223
|
-
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
12224
|
-
'base': {
|
|
12225
|
-
label: 'Base';
|
|
12226
|
-
type: 'select';
|
|
12227
|
-
hint: 'A best practices starting point for a role based on the generalized roles at a company.';
|
|
12228
|
-
options: {
|
|
12229
|
-
choices: [{
|
|
12230
|
-
"label": "Owner";
|
|
12231
|
-
"value": "owner";
|
|
12232
|
-
}, {
|
|
12233
|
-
"label": "Group manager";
|
|
12234
|
-
"value": "groupManager";
|
|
12235
|
-
}, {
|
|
12236
|
-
"label": "Manager";
|
|
12237
|
-
"value": "manager";
|
|
12238
|
-
}, {
|
|
12239
|
-
"label": "Teammate";
|
|
12240
|
-
"value": "teammate";
|
|
12241
|
-
}, {
|
|
12242
|
-
"label": "Anonymous";
|
|
12243
|
-
"value": "anonymous";
|
|
12244
|
-
}, {
|
|
12245
|
-
"label": "Logged in";
|
|
12246
|
-
"value": "loggedIn";
|
|
12247
|
-
}, {
|
|
12248
|
-
"label": "Guest";
|
|
12249
|
-
"value": "guest";
|
|
12250
|
-
}];
|
|
12251
|
-
};
|
|
12252
|
-
};
|
|
12253
|
-
/** Description. */
|
|
12254
|
-
'description': {
|
|
12255
|
-
label: 'Description';
|
|
12299
|
+
/** . */
|
|
12300
|
+
'key': {
|
|
12256
12301
|
type: 'text';
|
|
12302
|
+
isRequired: true;
|
|
12257
12303
|
options: undefined;
|
|
12258
12304
|
};
|
|
12259
12305
|
/** . */
|
|
12260
|
-
'
|
|
12306
|
+
'confidence': {
|
|
12261
12307
|
type: 'number';
|
|
12308
|
+
isRequired: true;
|
|
12262
12309
|
options: undefined;
|
|
12263
12310
|
};
|
|
12264
12311
|
/** . */
|
|
12265
|
-
'
|
|
12266
|
-
type: '
|
|
12267
|
-
|
|
12268
|
-
};
|
|
12269
|
-
/** Public. Should I let people that are not part of this organization this role? */
|
|
12270
|
-
'isPublic': {
|
|
12271
|
-
label: 'Public';
|
|
12272
|
-
type: 'boolean';
|
|
12273
|
-
hint: 'Should I let people that are not part of this organization this role?';
|
|
12312
|
+
'label': {
|
|
12313
|
+
type: 'text';
|
|
12314
|
+
isRequired: true;
|
|
12274
12315
|
options: undefined;
|
|
12275
12316
|
};
|
|
12276
12317
|
};
|
|
12277
12318
|
}
|
|
12278
|
-
interface
|
|
12319
|
+
interface ConversationTopicEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema> {
|
|
12279
12320
|
}
|
|
12280
12321
|
}
|
|
12281
12322
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12282
|
-
interface
|
|
12283
|
-
|
|
12284
|
-
'
|
|
12285
|
-
'
|
|
12286
|
-
'
|
|
12323
|
+
interface DidMessageResponsePayload {
|
|
12324
|
+
'transitionConversationTo'?: ("greeting" | "discovery" | "topic" | "closing") | undefined | null;
|
|
12325
|
+
'repairs'?: string[] | undefined | null;
|
|
12326
|
+
'topicChangers'?: string[] | undefined | null;
|
|
12327
|
+
'utterance'?: string | undefined | null;
|
|
12328
|
+
'suggestedTopics'?: SpruceSchemas.Mercury.v2020_12_25.ConversationTopic[] | undefined | null;
|
|
12287
12329
|
}
|
|
12288
|
-
interface
|
|
12289
|
-
id: '
|
|
12330
|
+
interface DidMessageResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12331
|
+
id: 'didMessageResponsePayload';
|
|
12290
12332
|
version: 'v2020_12_25';
|
|
12291
12333
|
namespace: 'Mercury';
|
|
12292
12334
|
name: '';
|
|
12293
12335
|
fields: {
|
|
12294
|
-
/**
|
|
12295
|
-
'
|
|
12296
|
-
|
|
12297
|
-
type: 'schema';
|
|
12336
|
+
/** . */
|
|
12337
|
+
'transitionConversationTo': {
|
|
12338
|
+
type: 'select';
|
|
12298
12339
|
options: {
|
|
12299
|
-
|
|
12340
|
+
choices: [{
|
|
12341
|
+
"label": "Greeting";
|
|
12342
|
+
"value": "greeting";
|
|
12343
|
+
}, {
|
|
12344
|
+
"label": "Discovery";
|
|
12345
|
+
"value": "discovery";
|
|
12346
|
+
}, {
|
|
12347
|
+
"label": "Topic";
|
|
12348
|
+
"value": "topic";
|
|
12349
|
+
}, {
|
|
12350
|
+
"label": "Closing";
|
|
12351
|
+
"value": "closing";
|
|
12352
|
+
}];
|
|
12300
12353
|
};
|
|
12301
12354
|
};
|
|
12302
12355
|
/** . */
|
|
12303
|
-
'
|
|
12304
|
-
type: '
|
|
12305
|
-
|
|
12306
|
-
options:
|
|
12307
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema;
|
|
12308
|
-
};
|
|
12356
|
+
'repairs': {
|
|
12357
|
+
type: 'text';
|
|
12358
|
+
isArray: true;
|
|
12359
|
+
options: undefined;
|
|
12309
12360
|
};
|
|
12310
12361
|
/** . */
|
|
12311
|
-
'
|
|
12362
|
+
'topicChangers': {
|
|
12363
|
+
type: 'text';
|
|
12364
|
+
isArray: true;
|
|
12365
|
+
options: undefined;
|
|
12366
|
+
};
|
|
12367
|
+
/** . */
|
|
12368
|
+
'utterance': {
|
|
12369
|
+
type: 'text';
|
|
12370
|
+
options: undefined;
|
|
12371
|
+
};
|
|
12372
|
+
/** . */
|
|
12373
|
+
'suggestedTopics': {
|
|
12312
12374
|
type: 'schema';
|
|
12375
|
+
isArray: true;
|
|
12313
12376
|
options: {
|
|
12314
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12377
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema;
|
|
12315
12378
|
};
|
|
12316
12379
|
};
|
|
12317
12380
|
};
|
|
12318
12381
|
}
|
|
12319
|
-
interface
|
|
12382
|
+
interface DidMessageResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageResponsePayloadSchema> {
|
|
12320
12383
|
}
|
|
12321
12384
|
}
|
|
12322
12385
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12323
|
-
interface
|
|
12324
|
-
'
|
|
12386
|
+
interface DidSignupEmitPayload {
|
|
12387
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
12325
12388
|
}
|
|
12326
|
-
interface
|
|
12327
|
-
id: '
|
|
12389
|
+
interface DidSignupEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12390
|
+
id: 'didSignupEmitPayload';
|
|
12328
12391
|
version: 'v2020_12_25';
|
|
12329
12392
|
namespace: 'Mercury';
|
|
12330
12393
|
name: '';
|
|
12331
12394
|
fields: {
|
|
12332
12395
|
/** . */
|
|
12333
|
-
'
|
|
12396
|
+
'person': {
|
|
12334
12397
|
type: 'schema';
|
|
12335
12398
|
isRequired: true;
|
|
12336
12399
|
options: {
|
|
12337
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.
|
|
12400
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
12338
12401
|
};
|
|
12339
12402
|
};
|
|
12340
12403
|
};
|
|
12341
12404
|
}
|
|
12342
|
-
interface
|
|
12405
|
+
interface DidSignupEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema> {
|
|
12343
12406
|
}
|
|
12344
12407
|
}
|
|
12345
12408
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12346
|
-
interface
|
|
12347
|
-
'
|
|
12348
|
-
'
|
|
12349
|
-
'roleId': string;
|
|
12409
|
+
interface DidUpdateFeedEmitTarget {
|
|
12410
|
+
'locationId'?: string | undefined | null;
|
|
12411
|
+
'organizationId'?: string | undefined | null;
|
|
12350
12412
|
'skillId'?: string | undefined | null;
|
|
12351
12413
|
}
|
|
12352
|
-
interface
|
|
12353
|
-
id: '
|
|
12414
|
+
interface DidUpdateFeedEmitTargetSchema extends SpruceSchema.Schema {
|
|
12415
|
+
id: 'didUpdateFeedEmitTarget';
|
|
12354
12416
|
version: 'v2020_12_25';
|
|
12355
12417
|
namespace: 'Mercury';
|
|
12356
12418
|
name: '';
|
|
12357
12419
|
fields: {
|
|
12358
12420
|
/** . */
|
|
12359
|
-
'
|
|
12360
|
-
type: 'id';
|
|
12361
|
-
isRequired: true;
|
|
12362
|
-
options: undefined;
|
|
12363
|
-
};
|
|
12364
|
-
/** . */
|
|
12365
|
-
'permissionContractId': {
|
|
12421
|
+
'locationId': {
|
|
12366
12422
|
type: 'id';
|
|
12367
|
-
isRequired: true;
|
|
12368
12423
|
options: undefined;
|
|
12369
12424
|
};
|
|
12370
12425
|
/** . */
|
|
12371
|
-
'
|
|
12426
|
+
'organizationId': {
|
|
12372
12427
|
type: 'id';
|
|
12373
|
-
isRequired: true;
|
|
12374
12428
|
options: undefined;
|
|
12375
12429
|
};
|
|
12376
12430
|
/** . */
|
|
@@ -12380,70 +12434,41 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12380
12434
|
};
|
|
12381
12435
|
};
|
|
12382
12436
|
}
|
|
12383
|
-
interface
|
|
12437
|
+
interface DidUpdateFeedEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetSchema> {
|
|
12384
12438
|
}
|
|
12385
12439
|
}
|
|
12386
12440
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12387
|
-
interface
|
|
12388
|
-
|
|
12389
|
-
'name': string;
|
|
12390
|
-
/** Description. */
|
|
12391
|
-
'description'?: string | undefined | null;
|
|
12392
|
-
/** Require all permissions. */
|
|
12393
|
-
'requireAllPermissions'?: boolean | undefined | null;
|
|
12394
|
-
'permissions': SpruceSchemas.Mercury.v2020_12_25.Permission[];
|
|
12441
|
+
interface DidUpdateFeedEmitPayload {
|
|
12442
|
+
'item': SpruceSchemas.Spruce.v2020_07_22.FeedItem;
|
|
12395
12443
|
}
|
|
12396
|
-
interface
|
|
12397
|
-
id: '
|
|
12444
|
+
interface DidUpdateFeedEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12445
|
+
id: 'didUpdateFeedEmitPayload';
|
|
12398
12446
|
version: 'v2020_12_25';
|
|
12399
12447
|
namespace: 'Mercury';
|
|
12400
12448
|
name: '';
|
|
12401
12449
|
fields: {
|
|
12402
|
-
/** Name. Human readable name for this contract */
|
|
12403
|
-
'name': {
|
|
12404
|
-
label: 'Name';
|
|
12405
|
-
type: 'text';
|
|
12406
|
-
isRequired: true;
|
|
12407
|
-
hint: 'Human readable name for this contract';
|
|
12408
|
-
options: undefined;
|
|
12409
|
-
};
|
|
12410
|
-
/** Description. */
|
|
12411
|
-
'description': {
|
|
12412
|
-
label: 'Description';
|
|
12413
|
-
type: 'text';
|
|
12414
|
-
options: undefined;
|
|
12415
|
-
};
|
|
12416
|
-
/** Require all permissions. */
|
|
12417
|
-
'requireAllPermissions': {
|
|
12418
|
-
label: 'Require all permissions';
|
|
12419
|
-
type: 'boolean';
|
|
12420
|
-
defaultValue: false;
|
|
12421
|
-
options: undefined;
|
|
12422
|
-
};
|
|
12423
12450
|
/** . */
|
|
12424
|
-
'
|
|
12451
|
+
'item': {
|
|
12425
12452
|
type: 'schema';
|
|
12426
12453
|
isRequired: true;
|
|
12427
|
-
isArray: true;
|
|
12428
|
-
minArrayLength: 0;
|
|
12429
12454
|
options: {
|
|
12430
|
-
schema: SpruceSchemas.
|
|
12455
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.FeedItemSchema;
|
|
12431
12456
|
};
|
|
12432
12457
|
};
|
|
12433
12458
|
};
|
|
12434
12459
|
}
|
|
12435
|
-
interface
|
|
12460
|
+
interface DidUpdateFeedEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema> {
|
|
12436
12461
|
}
|
|
12437
12462
|
}
|
|
12438
12463
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12439
|
-
interface
|
|
12464
|
+
interface DidUpdateFeedEmitTargetAndPayload {
|
|
12440
12465
|
/** Source. */
|
|
12441
12466
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12442
|
-
'target'
|
|
12443
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.
|
|
12467
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTarget | undefined | null;
|
|
12468
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayload;
|
|
12444
12469
|
}
|
|
12445
|
-
interface
|
|
12446
|
-
id: '
|
|
12470
|
+
interface DidUpdateFeedEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12471
|
+
id: 'didUpdateFeedEmitTargetAndPayload';
|
|
12447
12472
|
version: 'v2020_12_25';
|
|
12448
12473
|
namespace: 'Mercury';
|
|
12449
12474
|
name: '';
|
|
@@ -12459,9 +12484,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12459
12484
|
/** . */
|
|
12460
12485
|
'target': {
|
|
12461
12486
|
type: 'schema';
|
|
12462
|
-
isRequired: true;
|
|
12463
12487
|
options: {
|
|
12464
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12488
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetSchema;
|
|
12465
12489
|
};
|
|
12466
12490
|
};
|
|
12467
12491
|
/** . */
|
|
@@ -12469,73 +12493,23 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12469
12493
|
type: 'schema';
|
|
12470
12494
|
isRequired: true;
|
|
12471
12495
|
options: {
|
|
12472
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12473
|
-
};
|
|
12474
|
-
};
|
|
12475
|
-
};
|
|
12476
|
-
}
|
|
12477
|
-
interface UpsertPermissionContractEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetAndPayloadSchema> {
|
|
12478
|
-
}
|
|
12479
|
-
}
|
|
12480
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12481
|
-
interface UpsertPermissionContractResponsePayload {
|
|
12482
|
-
'permissionContract': SpruceSchemas.Mercury.v2020_12_25.PermissionContract;
|
|
12483
|
-
}
|
|
12484
|
-
interface UpsertPermissionContractResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12485
|
-
id: 'upsertPermissionContractResponsePayload';
|
|
12486
|
-
version: 'v2020_12_25';
|
|
12487
|
-
namespace: 'Mercury';
|
|
12488
|
-
name: '';
|
|
12489
|
-
fields: {
|
|
12490
|
-
/** . */
|
|
12491
|
-
'permissionContract': {
|
|
12492
|
-
type: 'schema';
|
|
12493
|
-
isRequired: true;
|
|
12494
|
-
options: {
|
|
12495
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionContractSchema;
|
|
12496
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema;
|
|
12496
12497
|
};
|
|
12497
12498
|
};
|
|
12498
12499
|
};
|
|
12499
12500
|
}
|
|
12500
|
-
interface
|
|
12501
|
-
}
|
|
12502
|
-
}
|
|
12503
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12504
|
-
interface VoteForFeatureEmitPayload {
|
|
12505
|
-
'featureKey': string;
|
|
12506
|
-
'skillNamespace': string;
|
|
12507
|
-
}
|
|
12508
|
-
interface VoteForFeatureEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12509
|
-
id: 'voteForFeatureEmitPayload';
|
|
12510
|
-
version: 'v2020_12_25';
|
|
12511
|
-
namespace: 'Mercury';
|
|
12512
|
-
name: '';
|
|
12513
|
-
fields: {
|
|
12514
|
-
/** . */
|
|
12515
|
-
'featureKey': {
|
|
12516
|
-
type: 'id';
|
|
12517
|
-
isRequired: true;
|
|
12518
|
-
options: undefined;
|
|
12519
|
-
};
|
|
12520
|
-
/** . */
|
|
12521
|
-
'skillNamespace': {
|
|
12522
|
-
type: 'id';
|
|
12523
|
-
isRequired: true;
|
|
12524
|
-
options: undefined;
|
|
12525
|
-
};
|
|
12526
|
-
};
|
|
12527
|
-
}
|
|
12528
|
-
interface VoteForFeatureEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema> {
|
|
12501
|
+
interface DidUpdateFeedEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetAndPayloadSchema> {
|
|
12529
12502
|
}
|
|
12530
12503
|
}
|
|
12531
12504
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12532
|
-
interface
|
|
12505
|
+
interface DidSignupEmitTargetAndPayload {
|
|
12533
12506
|
/** Source. */
|
|
12534
12507
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12535
|
-
'
|
|
12508
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
12509
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayload;
|
|
12536
12510
|
}
|
|
12537
|
-
interface
|
|
12538
|
-
id: '
|
|
12511
|
+
interface DidSignupEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12512
|
+
id: 'didSignupEmitTargetAndPayload';
|
|
12539
12513
|
version: 'v2020_12_25';
|
|
12540
12514
|
namespace: 'Mercury';
|
|
12541
12515
|
name: '';
|
|
@@ -12549,46 +12523,57 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12549
12523
|
};
|
|
12550
12524
|
};
|
|
12551
12525
|
/** . */
|
|
12526
|
+
'target': {
|
|
12527
|
+
type: 'schema';
|
|
12528
|
+
options: {
|
|
12529
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
12530
|
+
};
|
|
12531
|
+
};
|
|
12532
|
+
/** . */
|
|
12552
12533
|
'payload': {
|
|
12553
12534
|
type: 'schema';
|
|
12554
12535
|
isRequired: true;
|
|
12555
12536
|
options: {
|
|
12556
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12537
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema;
|
|
12557
12538
|
};
|
|
12558
12539
|
};
|
|
12559
12540
|
};
|
|
12560
12541
|
}
|
|
12561
|
-
interface
|
|
12542
|
+
interface DidSignupEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitTargetAndPayloadSchema> {
|
|
12562
12543
|
}
|
|
12563
12544
|
}
|
|
12564
12545
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12565
|
-
interface
|
|
12566
|
-
'
|
|
12546
|
+
interface DidUpdatePersonEmitPayload {
|
|
12547
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
12567
12548
|
}
|
|
12568
|
-
interface
|
|
12569
|
-
id: '
|
|
12549
|
+
interface DidUpdatePersonEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12550
|
+
id: 'didUpdatePersonEmitPayload';
|
|
12570
12551
|
version: 'v2020_12_25';
|
|
12571
12552
|
namespace: 'Mercury';
|
|
12572
12553
|
name: '';
|
|
12573
12554
|
fields: {
|
|
12574
12555
|
/** . */
|
|
12575
|
-
'
|
|
12576
|
-
type: '
|
|
12556
|
+
'person': {
|
|
12557
|
+
type: 'schema';
|
|
12577
12558
|
isRequired: true;
|
|
12578
|
-
options:
|
|
12559
|
+
options: {
|
|
12560
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
12561
|
+
};
|
|
12579
12562
|
};
|
|
12580
12563
|
};
|
|
12581
12564
|
}
|
|
12582
|
-
interface
|
|
12565
|
+
interface DidUpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema> {
|
|
12583
12566
|
}
|
|
12584
12567
|
}
|
|
12585
12568
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12586
|
-
interface
|
|
12569
|
+
interface DidUpdatePersonEmitTargetAndPayload {
|
|
12587
12570
|
/** Source. */
|
|
12588
12571
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12572
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
12573
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayload;
|
|
12589
12574
|
}
|
|
12590
|
-
interface
|
|
12591
|
-
id: '
|
|
12575
|
+
interface DidUpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12576
|
+
id: 'didUpdatePersonEmitTargetAndPayload';
|
|
12592
12577
|
version: 'v2020_12_25';
|
|
12593
12578
|
namespace: 'Mercury';
|
|
12594
12579
|
name: '';
|
|
@@ -12601,9 +12586,24 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12601
12586
|
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12602
12587
|
};
|
|
12603
12588
|
};
|
|
12589
|
+
/** . */
|
|
12590
|
+
'target': {
|
|
12591
|
+
type: 'schema';
|
|
12592
|
+
options: {
|
|
12593
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
12594
|
+
};
|
|
12595
|
+
};
|
|
12596
|
+
/** . */
|
|
12597
|
+
'payload': {
|
|
12598
|
+
type: 'schema';
|
|
12599
|
+
isRequired: true;
|
|
12600
|
+
options: {
|
|
12601
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema;
|
|
12602
|
+
};
|
|
12603
|
+
};
|
|
12604
12604
|
};
|
|
12605
12605
|
}
|
|
12606
|
-
interface
|
|
12606
|
+
interface DidUpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitTargetAndPayloadSchema> {
|
|
12607
12607
|
}
|
|
12608
12608
|
}
|
|
12609
12609
|
}
|