@sprucelabs/mercury-core-events 24.0.247 → 24.0.249
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 +1714 -1714
- package/build/esm/.spruce/schemas/schemas.types.d.ts +1714 -1714
- package/package.json +9 -9
|
@@ -5,47 +5,13 @@ import '@sprucelabs/spruce-event-utils';
|
|
|
5
5
|
import '@sprucelabs/mercury-types';
|
|
6
6
|
declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schemas.types' {
|
|
7
7
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8
|
-
interface
|
|
9
|
-
/** Source. */
|
|
10
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTarget;
|
|
12
|
-
}
|
|
13
|
-
interface DidInstallEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
14
|
-
id: 'didInstallEmitTargetAndPayload';
|
|
15
|
-
version: 'v2020_12_25';
|
|
16
|
-
namespace: 'Mercury';
|
|
17
|
-
name: '';
|
|
18
|
-
fields: {
|
|
19
|
-
/** Source. */
|
|
20
|
-
'source': {
|
|
21
|
-
label: 'Source';
|
|
22
|
-
type: 'schema';
|
|
23
|
-
options: {
|
|
24
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
/** . */
|
|
28
|
-
'target': {
|
|
29
|
-
type: 'schema';
|
|
30
|
-
isRequired: true;
|
|
31
|
-
options: {
|
|
32
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
interface DidInstallEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetAndPayloadSchema> {
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
41
|
-
interface IsSkillInstalledEmitTargetAndPayload {
|
|
8
|
+
interface DeleteLocationEmitTargetAndPayload {
|
|
42
9
|
/** Source. */
|
|
43
10
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
44
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.
|
|
45
|
-
'payload'?: SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitPayload | undefined | null;
|
|
11
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DeleteLocationEmitTarget;
|
|
46
12
|
}
|
|
47
|
-
interface
|
|
48
|
-
id: '
|
|
13
|
+
interface DeleteLocationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
14
|
+
id: 'deleteLocationEmitTargetAndPayload';
|
|
49
15
|
version: 'v2020_12_25';
|
|
50
16
|
namespace: 'Mercury';
|
|
51
17
|
name: '';
|
|
@@ -63,69 +29,21 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
63
29
|
type: 'schema';
|
|
64
30
|
isRequired: true;
|
|
65
31
|
options: {
|
|
66
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
/** . */
|
|
70
|
-
'payload': {
|
|
71
|
-
type: 'schema';
|
|
72
|
-
options: {
|
|
73
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitPayloadSchema;
|
|
32
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DeleteLocationEmitTargetSchema;
|
|
74
33
|
};
|
|
75
34
|
};
|
|
76
35
|
};
|
|
77
36
|
}
|
|
78
|
-
interface
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
82
|
-
interface DidInstallEmitTarget {
|
|
83
|
-
'organizationId': string;
|
|
84
|
-
'skillId': string;
|
|
85
|
-
}
|
|
86
|
-
interface DidInstallEmitTargetSchema extends SpruceSchema.Schema {
|
|
87
|
-
id: 'didInstallEmitTarget';
|
|
88
|
-
version: 'v2020_12_25';
|
|
89
|
-
namespace: 'Mercury';
|
|
90
|
-
name: '';
|
|
91
|
-
fields: {
|
|
92
|
-
/** . */
|
|
93
|
-
'organizationId': {
|
|
94
|
-
type: 'id';
|
|
95
|
-
isRequired: true;
|
|
96
|
-
options: undefined;
|
|
97
|
-
};
|
|
98
|
-
/** . */
|
|
99
|
-
'skillId': {
|
|
100
|
-
type: 'id';
|
|
101
|
-
isRequired: true;
|
|
102
|
-
options: undefined;
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
interface DidInstallEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema> {
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
110
|
-
interface DidInstallResponsePayload {
|
|
111
|
-
}
|
|
112
|
-
interface DidInstallResponsePayloadSchema extends SpruceSchema.Schema {
|
|
113
|
-
id: 'didInstallResponsePayload';
|
|
114
|
-
version: 'v2020_12_25';
|
|
115
|
-
namespace: 'Mercury';
|
|
116
|
-
name: '';
|
|
117
|
-
fields: {};
|
|
118
|
-
}
|
|
119
|
-
interface DidInstallResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallResponsePayloadSchema> {
|
|
37
|
+
interface DeleteLocationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DeleteLocationEmitTargetAndPayloadSchema> {
|
|
120
38
|
}
|
|
121
39
|
}
|
|
122
40
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
123
|
-
interface
|
|
124
|
-
'organizationId'
|
|
41
|
+
interface AddRoleEmitTarget {
|
|
42
|
+
'organizationId'?: string | undefined | null;
|
|
125
43
|
'locationId'?: string | undefined | null;
|
|
126
44
|
}
|
|
127
|
-
interface
|
|
128
|
-
id: '
|
|
45
|
+
interface AddRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
46
|
+
id: 'addRoleEmitTarget';
|
|
129
47
|
version: 'v2020_12_25';
|
|
130
48
|
namespace: 'Mercury';
|
|
131
49
|
name: '';
|
|
@@ -133,7 +51,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
133
51
|
/** . */
|
|
134
52
|
'organizationId': {
|
|
135
53
|
type: 'id';
|
|
136
|
-
isRequired: true;
|
|
137
54
|
options: undefined;
|
|
138
55
|
};
|
|
139
56
|
/** . */
|
|
@@ -143,17 +60,16 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
143
60
|
};
|
|
144
61
|
};
|
|
145
62
|
}
|
|
146
|
-
interface
|
|
63
|
+
interface AddRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema> {
|
|
147
64
|
}
|
|
148
65
|
}
|
|
149
66
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
150
|
-
interface
|
|
67
|
+
interface AddRoleEmitPayload {
|
|
151
68
|
'personId': string;
|
|
152
69
|
'roleId': string;
|
|
153
|
-
'isFirstRole': boolean;
|
|
154
70
|
}
|
|
155
|
-
interface
|
|
156
|
-
id: '
|
|
71
|
+
interface AddRoleEmitPayloadSchema extends SpruceSchema.Schema {
|
|
72
|
+
id: 'addRoleEmitPayload';
|
|
157
73
|
version: 'v2020_12_25';
|
|
158
74
|
namespace: 'Mercury';
|
|
159
75
|
name: '';
|
|
@@ -170,26 +86,20 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
170
86
|
isRequired: true;
|
|
171
87
|
options: undefined;
|
|
172
88
|
};
|
|
173
|
-
/** . */
|
|
174
|
-
'isFirstRole': {
|
|
175
|
-
type: 'boolean';
|
|
176
|
-
isRequired: true;
|
|
177
|
-
options: undefined;
|
|
178
|
-
};
|
|
179
89
|
};
|
|
180
90
|
}
|
|
181
|
-
interface
|
|
91
|
+
interface AddRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema> {
|
|
182
92
|
}
|
|
183
93
|
}
|
|
184
94
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
185
|
-
interface
|
|
95
|
+
interface AddRoleEmitTargetAndPayload {
|
|
186
96
|
/** Source. */
|
|
187
97
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
188
|
-
'target'
|
|
189
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.
|
|
98
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTarget | undefined | null;
|
|
99
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayload;
|
|
190
100
|
}
|
|
191
|
-
interface
|
|
192
|
-
id: '
|
|
101
|
+
interface AddRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
102
|
+
id: 'addRoleEmitTargetAndPayload';
|
|
193
103
|
version: 'v2020_12_25';
|
|
194
104
|
namespace: 'Mercury';
|
|
195
105
|
name: '';
|
|
@@ -205,9 +115,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
205
115
|
/** . */
|
|
206
116
|
'target': {
|
|
207
117
|
type: 'schema';
|
|
208
|
-
isRequired: true;
|
|
209
118
|
options: {
|
|
210
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
119
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema;
|
|
211
120
|
};
|
|
212
121
|
};
|
|
213
122
|
/** . */
|
|
@@ -215,235 +124,238 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
215
124
|
type: 'schema';
|
|
216
125
|
isRequired: true;
|
|
217
126
|
options: {
|
|
218
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
127
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema;
|
|
219
128
|
};
|
|
220
129
|
};
|
|
221
130
|
};
|
|
222
131
|
}
|
|
223
|
-
interface
|
|
132
|
+
interface AddRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetAndPayloadSchema> {
|
|
224
133
|
}
|
|
225
134
|
}
|
|
226
135
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
227
|
-
interface
|
|
228
|
-
'nextINeedYouTo'?: string[] | undefined | null;
|
|
229
|
-
'youShouldKnowThat'?: string[] | undefined | null;
|
|
230
|
-
'links'?: SpruceSchemas.Spruce.v2020_07_22.Link[] | undefined | null;
|
|
136
|
+
interface AddRoleResponsePayload {
|
|
231
137
|
}
|
|
232
|
-
interface
|
|
233
|
-
id: '
|
|
138
|
+
interface AddRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
139
|
+
id: 'addRoleResponsePayload';
|
|
140
|
+
version: 'v2020_12_25';
|
|
141
|
+
namespace: 'Mercury';
|
|
142
|
+
name: '';
|
|
143
|
+
fields: {};
|
|
144
|
+
}
|
|
145
|
+
interface AddRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleResponsePayloadSchema> {
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
149
|
+
interface AuthenticateEmitPayload {
|
|
150
|
+
'token'?: string | undefined | null;
|
|
151
|
+
'skillId'?: string | undefined | null;
|
|
152
|
+
'apiKey'?: string | undefined | null;
|
|
153
|
+
}
|
|
154
|
+
interface AuthenticateEmitPayloadSchema extends SpruceSchema.Schema {
|
|
155
|
+
id: 'authenticateEmitPayload';
|
|
234
156
|
version: 'v2020_12_25';
|
|
235
157
|
namespace: 'Mercury';
|
|
236
158
|
name: '';
|
|
237
159
|
fields: {
|
|
238
160
|
/** . */
|
|
239
|
-
'
|
|
161
|
+
'token': {
|
|
240
162
|
type: 'text';
|
|
241
|
-
isArray: true;
|
|
242
163
|
options: undefined;
|
|
243
164
|
};
|
|
244
165
|
/** . */
|
|
245
|
-
'
|
|
166
|
+
'skillId': {
|
|
246
167
|
type: 'text';
|
|
247
|
-
isArray: true;
|
|
248
168
|
options: undefined;
|
|
249
169
|
};
|
|
250
170
|
/** . */
|
|
251
|
-
'
|
|
252
|
-
type: '
|
|
253
|
-
|
|
254
|
-
minArrayLength: 0;
|
|
255
|
-
options: {
|
|
256
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.LinkSchema;
|
|
257
|
-
};
|
|
171
|
+
'apiKey': {
|
|
172
|
+
type: 'text';
|
|
173
|
+
options: undefined;
|
|
258
174
|
};
|
|
259
175
|
};
|
|
260
176
|
}
|
|
261
|
-
interface
|
|
177
|
+
interface AuthenticateEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema> {
|
|
262
178
|
}
|
|
263
179
|
}
|
|
264
180
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
265
|
-
interface
|
|
266
|
-
|
|
181
|
+
interface AuthenticateEmitTargetAndPayload {
|
|
182
|
+
/** Source. */
|
|
183
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
184
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayload | undefined | null;
|
|
267
185
|
}
|
|
268
|
-
interface
|
|
269
|
-
id: '
|
|
186
|
+
interface AuthenticateEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
187
|
+
id: 'authenticateEmitTargetAndPayload';
|
|
270
188
|
version: 'v2020_12_25';
|
|
271
189
|
namespace: 'Mercury';
|
|
272
190
|
name: '';
|
|
273
191
|
fields: {
|
|
192
|
+
/** Source. */
|
|
193
|
+
'source': {
|
|
194
|
+
label: 'Source';
|
|
195
|
+
type: 'schema';
|
|
196
|
+
options: {
|
|
197
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
198
|
+
};
|
|
199
|
+
};
|
|
274
200
|
/** . */
|
|
275
|
-
'
|
|
201
|
+
'payload': {
|
|
276
202
|
type: 'schema';
|
|
277
203
|
options: {
|
|
278
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
204
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema;
|
|
279
205
|
};
|
|
280
206
|
};
|
|
281
207
|
};
|
|
282
208
|
}
|
|
283
|
-
interface
|
|
209
|
+
interface AuthenticateEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitTargetAndPayloadSchema> {
|
|
284
210
|
}
|
|
285
211
|
}
|
|
286
212
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
287
|
-
interface
|
|
288
|
-
'
|
|
289
|
-
'
|
|
213
|
+
interface ConfirmPinRespondPayload {
|
|
214
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
215
|
+
'token': string;
|
|
290
216
|
}
|
|
291
|
-
interface
|
|
292
|
-
id: '
|
|
217
|
+
interface ConfirmPinRespondPayloadSchema extends SpruceSchema.Schema {
|
|
218
|
+
id: 'confirmPinRespondPayload';
|
|
293
219
|
version: 'v2020_12_25';
|
|
294
220
|
namespace: 'Mercury';
|
|
295
221
|
name: '';
|
|
296
222
|
fields: {
|
|
297
223
|
/** . */
|
|
298
|
-
'
|
|
299
|
-
type: '
|
|
224
|
+
'person': {
|
|
225
|
+
type: 'schema';
|
|
300
226
|
isRequired: true;
|
|
301
|
-
options:
|
|
227
|
+
options: {
|
|
228
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
229
|
+
};
|
|
302
230
|
};
|
|
303
231
|
/** . */
|
|
304
|
-
'
|
|
305
|
-
type: '
|
|
232
|
+
'token': {
|
|
233
|
+
type: 'text';
|
|
234
|
+
isRequired: true;
|
|
306
235
|
options: undefined;
|
|
307
236
|
};
|
|
308
237
|
};
|
|
309
238
|
}
|
|
310
|
-
interface
|
|
239
|
+
interface ConfirmPinRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinRespondPayloadSchema> {
|
|
311
240
|
}
|
|
312
241
|
}
|
|
313
242
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
314
|
-
interface
|
|
315
|
-
'
|
|
316
|
-
'
|
|
317
|
-
'isLastRole': boolean;
|
|
243
|
+
interface AuthSchema {
|
|
244
|
+
'person'?: SpruceSchemas.Spruce.v2020_07_22.Person | undefined | null;
|
|
245
|
+
'skill'?: SpruceSchemas.Spruce.v2020_07_22.Skill | undefined | null;
|
|
318
246
|
}
|
|
319
|
-
interface
|
|
320
|
-
id: '
|
|
247
|
+
interface AuthSchemaSchema extends SpruceSchema.Schema {
|
|
248
|
+
id: 'authSchema';
|
|
321
249
|
version: 'v2020_12_25';
|
|
322
250
|
namespace: 'Mercury';
|
|
323
251
|
name: '';
|
|
324
252
|
fields: {
|
|
325
253
|
/** . */
|
|
326
|
-
'
|
|
327
|
-
type: '
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
/** . */
|
|
332
|
-
'roleId': {
|
|
333
|
-
type: 'id';
|
|
334
|
-
isRequired: true;
|
|
335
|
-
options: undefined;
|
|
254
|
+
'person': {
|
|
255
|
+
type: 'schema';
|
|
256
|
+
options: {
|
|
257
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
258
|
+
};
|
|
336
259
|
};
|
|
337
260
|
/** . */
|
|
338
|
-
'
|
|
339
|
-
type: '
|
|
340
|
-
|
|
341
|
-
|
|
261
|
+
'skill': {
|
|
262
|
+
type: 'schema';
|
|
263
|
+
options: {
|
|
264
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.SkillSchema;
|
|
265
|
+
};
|
|
342
266
|
};
|
|
343
267
|
};
|
|
344
268
|
}
|
|
345
|
-
interface
|
|
269
|
+
interface AuthSchemaEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema> {
|
|
346
270
|
}
|
|
347
271
|
}
|
|
348
272
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
349
|
-
interface
|
|
350
|
-
|
|
351
|
-
'
|
|
352
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTarget;
|
|
353
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayload;
|
|
273
|
+
interface AuthenticateResponsePayload {
|
|
274
|
+
'type': ("authenticated" | "anonymous");
|
|
275
|
+
'auth': SpruceSchemas.Mercury.v2020_12_25.AuthSchema;
|
|
354
276
|
}
|
|
355
|
-
interface
|
|
356
|
-
id: '
|
|
277
|
+
interface AuthenticateResponsePayloadSchema extends SpruceSchema.Schema {
|
|
278
|
+
id: 'authenticateResponsePayload';
|
|
357
279
|
version: 'v2020_12_25';
|
|
358
280
|
namespace: 'Mercury';
|
|
359
281
|
name: '';
|
|
360
282
|
fields: {
|
|
361
|
-
/** Source. */
|
|
362
|
-
'source': {
|
|
363
|
-
label: 'Source';
|
|
364
|
-
type: 'schema';
|
|
365
|
-
options: {
|
|
366
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
367
|
-
};
|
|
368
|
-
};
|
|
369
283
|
/** . */
|
|
370
|
-
'
|
|
371
|
-
type: '
|
|
284
|
+
'type': {
|
|
285
|
+
type: 'select';
|
|
372
286
|
isRequired: true;
|
|
373
287
|
options: {
|
|
374
|
-
|
|
288
|
+
choices: [{
|
|
289
|
+
"value": "authenticated";
|
|
290
|
+
"label": "Authenticated";
|
|
291
|
+
}, {
|
|
292
|
+
"value": "anonymous";
|
|
293
|
+
"label": "Anonymous";
|
|
294
|
+
}];
|
|
375
295
|
};
|
|
376
296
|
};
|
|
377
297
|
/** . */
|
|
378
|
-
'
|
|
298
|
+
'auth': {
|
|
379
299
|
type: 'schema';
|
|
380
300
|
isRequired: true;
|
|
381
301
|
options: {
|
|
382
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
302
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema;
|
|
383
303
|
};
|
|
384
304
|
};
|
|
385
305
|
};
|
|
386
306
|
}
|
|
387
|
-
interface
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
391
|
-
interface DidLeaveOrganizationResponsePayload {
|
|
392
|
-
}
|
|
393
|
-
interface DidLeaveOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
394
|
-
id: 'didLeaveOrganizationResponsePayload';
|
|
395
|
-
version: 'v2020_12_25';
|
|
396
|
-
namespace: 'Mercury';
|
|
397
|
-
name: '';
|
|
398
|
-
fields: {};
|
|
399
|
-
}
|
|
400
|
-
interface DidLeaveOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationResponsePayloadSchema> {
|
|
307
|
+
interface AuthenticateResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateResponsePayloadSchema> {
|
|
401
308
|
}
|
|
402
309
|
}
|
|
403
310
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
404
|
-
interface
|
|
405
|
-
'
|
|
406
|
-
'
|
|
407
|
-
'topic'?: string | undefined | null;
|
|
311
|
+
interface CanListenEmitPayload {
|
|
312
|
+
'authorizerStatuses'?: ("clockedIn" | "clockedOut" | "onPrem" | "offPrem") | undefined | null;
|
|
313
|
+
'fullyQualifiedEventName': string;
|
|
408
314
|
}
|
|
409
|
-
interface
|
|
410
|
-
id: '
|
|
315
|
+
interface CanListenEmitPayloadSchema extends SpruceSchema.Schema {
|
|
316
|
+
id: 'canListenEmitPayload';
|
|
411
317
|
version: 'v2020_12_25';
|
|
412
318
|
namespace: 'Mercury';
|
|
413
319
|
name: '';
|
|
414
320
|
fields: {
|
|
415
321
|
/** . */
|
|
416
|
-
'
|
|
417
|
-
type: '
|
|
418
|
-
isRequired: true;
|
|
322
|
+
'authorizerStatuses': {
|
|
323
|
+
type: 'select';
|
|
419
324
|
options: {
|
|
420
|
-
|
|
325
|
+
choices: [{
|
|
326
|
+
"label": "Clocked in";
|
|
327
|
+
"value": "clockedIn";
|
|
328
|
+
}, {
|
|
329
|
+
"label": "Clocked out";
|
|
330
|
+
"value": "clockedOut";
|
|
331
|
+
}, {
|
|
332
|
+
"label": "On premises";
|
|
333
|
+
"value": "onPrem";
|
|
334
|
+
}, {
|
|
335
|
+
"label": "Off premises";
|
|
336
|
+
"value": "offPrem";
|
|
337
|
+
}];
|
|
421
338
|
};
|
|
422
339
|
};
|
|
423
340
|
/** . */
|
|
424
|
-
'
|
|
425
|
-
type: 'text';
|
|
426
|
-
options: undefined;
|
|
427
|
-
};
|
|
428
|
-
/** . */
|
|
429
|
-
'topic': {
|
|
341
|
+
'fullyQualifiedEventName': {
|
|
430
342
|
type: 'text';
|
|
343
|
+
isRequired: true;
|
|
431
344
|
options: undefined;
|
|
432
345
|
};
|
|
433
346
|
};
|
|
434
347
|
}
|
|
435
|
-
interface
|
|
348
|
+
interface CanListenEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema> {
|
|
436
349
|
}
|
|
437
350
|
}
|
|
438
351
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
439
|
-
interface
|
|
352
|
+
interface CanListenEmitTargetAndPayload {
|
|
440
353
|
/** Source. */
|
|
441
354
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
442
|
-
'
|
|
443
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayload;
|
|
355
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayload;
|
|
444
356
|
}
|
|
445
|
-
interface
|
|
446
|
-
id: '
|
|
357
|
+
interface CanListenEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
358
|
+
id: 'canListenEmitTargetAndPayload';
|
|
447
359
|
version: 'v2020_12_25';
|
|
448
360
|
namespace: 'Mercury';
|
|
449
361
|
name: '';
|
|
@@ -457,155 +369,74 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
457
369
|
};
|
|
458
370
|
};
|
|
459
371
|
/** . */
|
|
460
|
-
'target': {
|
|
461
|
-
type: 'schema';
|
|
462
|
-
options: {
|
|
463
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.MessageTargetSchema;
|
|
464
|
-
};
|
|
465
|
-
};
|
|
466
|
-
/** . */
|
|
467
372
|
'payload': {
|
|
468
373
|
type: 'schema';
|
|
469
374
|
isRequired: true;
|
|
470
375
|
options: {
|
|
471
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
376
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema;
|
|
472
377
|
};
|
|
473
378
|
};
|
|
474
379
|
};
|
|
475
380
|
}
|
|
476
|
-
interface
|
|
381
|
+
interface CanListenEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitTargetAndPayloadSchema> {
|
|
477
382
|
}
|
|
478
383
|
}
|
|
479
384
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
480
|
-
interface
|
|
481
|
-
'
|
|
482
|
-
'confidence': number;
|
|
483
|
-
'label': string;
|
|
385
|
+
interface CanListenResponsePayload {
|
|
386
|
+
'can'?: boolean | undefined | null;
|
|
484
387
|
}
|
|
485
|
-
interface
|
|
486
|
-
id: '
|
|
388
|
+
interface CanListenResponsePayloadSchema extends SpruceSchema.Schema {
|
|
389
|
+
id: 'canListenResponsePayload';
|
|
487
390
|
version: 'v2020_12_25';
|
|
488
391
|
namespace: 'Mercury';
|
|
489
392
|
name: '';
|
|
490
393
|
fields: {
|
|
491
394
|
/** . */
|
|
492
|
-
'
|
|
493
|
-
type: '
|
|
494
|
-
isRequired: true;
|
|
495
|
-
options: undefined;
|
|
496
|
-
};
|
|
497
|
-
/** . */
|
|
498
|
-
'confidence': {
|
|
499
|
-
type: 'number';
|
|
500
|
-
isRequired: true;
|
|
501
|
-
options: undefined;
|
|
502
|
-
};
|
|
503
|
-
/** . */
|
|
504
|
-
'label': {
|
|
505
|
-
type: 'text';
|
|
506
|
-
isRequired: true;
|
|
395
|
+
'can': {
|
|
396
|
+
type: 'boolean';
|
|
507
397
|
options: undefined;
|
|
508
398
|
};
|
|
509
399
|
};
|
|
510
400
|
}
|
|
511
|
-
interface
|
|
401
|
+
interface CanListenResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenResponsePayloadSchema> {
|
|
512
402
|
}
|
|
513
403
|
}
|
|
514
404
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
515
|
-
interface
|
|
516
|
-
'
|
|
517
|
-
'
|
|
518
|
-
'topicChangers'?: string[] | undefined | null;
|
|
519
|
-
'utterance'?: string | undefined | null;
|
|
520
|
-
'suggestedTopics'?: SpruceSchemas.Mercury.v2020_12_25.ConversationTopic[] | undefined | null;
|
|
405
|
+
interface ConfirmPinEmitPayload {
|
|
406
|
+
'challenge': string;
|
|
407
|
+
'pin': string;
|
|
521
408
|
}
|
|
522
|
-
interface
|
|
523
|
-
id: '
|
|
409
|
+
interface ConfirmPinEmitPayloadSchema extends SpruceSchema.Schema {
|
|
410
|
+
id: 'confirmPinEmitPayload';
|
|
524
411
|
version: 'v2020_12_25';
|
|
525
412
|
namespace: 'Mercury';
|
|
526
413
|
name: '';
|
|
527
414
|
fields: {
|
|
528
415
|
/** . */
|
|
529
|
-
'
|
|
530
|
-
type: 'select';
|
|
531
|
-
options: {
|
|
532
|
-
choices: [{
|
|
533
|
-
"label": "Greeting";
|
|
534
|
-
"value": "greeting";
|
|
535
|
-
}, {
|
|
536
|
-
"label": "Discovery";
|
|
537
|
-
"value": "discovery";
|
|
538
|
-
}, {
|
|
539
|
-
"label": "Topic";
|
|
540
|
-
"value": "topic";
|
|
541
|
-
}, {
|
|
542
|
-
"label": "Closing";
|
|
543
|
-
"value": "closing";
|
|
544
|
-
}];
|
|
545
|
-
};
|
|
546
|
-
};
|
|
547
|
-
/** . */
|
|
548
|
-
'repairs': {
|
|
549
|
-
type: 'text';
|
|
550
|
-
isArray: true;
|
|
551
|
-
options: undefined;
|
|
552
|
-
};
|
|
553
|
-
/** . */
|
|
554
|
-
'topicChangers': {
|
|
416
|
+
'challenge': {
|
|
555
417
|
type: 'text';
|
|
556
|
-
|
|
418
|
+
isRequired: true;
|
|
557
419
|
options: undefined;
|
|
558
420
|
};
|
|
559
421
|
/** . */
|
|
560
|
-
'
|
|
422
|
+
'pin': {
|
|
561
423
|
type: 'text';
|
|
562
|
-
options: undefined;
|
|
563
|
-
};
|
|
564
|
-
/** . */
|
|
565
|
-
'suggestedTopics': {
|
|
566
|
-
type: 'schema';
|
|
567
|
-
isArray: true;
|
|
568
|
-
options: {
|
|
569
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema;
|
|
570
|
-
};
|
|
571
|
-
};
|
|
572
|
-
};
|
|
573
|
-
}
|
|
574
|
-
interface DidMessageResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageResponsePayloadSchema> {
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
578
|
-
interface DidSignupEmitPayload {
|
|
579
|
-
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
580
|
-
}
|
|
581
|
-
interface DidSignupEmitPayloadSchema extends SpruceSchema.Schema {
|
|
582
|
-
id: 'didSignupEmitPayload';
|
|
583
|
-
version: 'v2020_12_25';
|
|
584
|
-
namespace: 'Mercury';
|
|
585
|
-
name: '';
|
|
586
|
-
fields: {
|
|
587
|
-
/** . */
|
|
588
|
-
'person': {
|
|
589
|
-
type: 'schema';
|
|
590
424
|
isRequired: true;
|
|
591
|
-
options:
|
|
592
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
593
|
-
};
|
|
425
|
+
options: undefined;
|
|
594
426
|
};
|
|
595
427
|
};
|
|
596
428
|
}
|
|
597
|
-
interface
|
|
429
|
+
interface ConfirmPinEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema> {
|
|
598
430
|
}
|
|
599
431
|
}
|
|
600
432
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
601
|
-
interface
|
|
433
|
+
interface ConfirmPinEmitTargetAndPayload {
|
|
602
434
|
/** Source. */
|
|
603
435
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
604
|
-
'
|
|
605
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayload;
|
|
436
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayload;
|
|
606
437
|
}
|
|
607
|
-
interface
|
|
608
|
-
id: '
|
|
438
|
+
interface ConfirmPinEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
439
|
+
id: 'confirmPinEmitTargetAndPayload';
|
|
609
440
|
version: 'v2020_12_25';
|
|
610
441
|
namespace: 'Mercury';
|
|
611
442
|
name: '';
|
|
@@ -619,955 +450,94 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
619
450
|
};
|
|
620
451
|
};
|
|
621
452
|
/** . */
|
|
622
|
-
'target': {
|
|
623
|
-
type: 'schema';
|
|
624
|
-
options: {
|
|
625
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
626
|
-
};
|
|
627
|
-
};
|
|
628
|
-
/** . */
|
|
629
453
|
'payload': {
|
|
630
454
|
type: 'schema';
|
|
631
455
|
isRequired: true;
|
|
632
456
|
options: {
|
|
633
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
457
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema;
|
|
634
458
|
};
|
|
635
459
|
};
|
|
636
460
|
};
|
|
637
461
|
}
|
|
638
|
-
interface
|
|
462
|
+
interface ConfirmPinEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitTargetAndPayloadSchema> {
|
|
639
463
|
}
|
|
640
464
|
}
|
|
641
465
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
642
|
-
interface
|
|
643
|
-
'
|
|
644
|
-
'organizationId'?: string | undefined | null;
|
|
645
|
-
'skillId'?: string | undefined | null;
|
|
466
|
+
interface CreateLocationEmitTarget {
|
|
467
|
+
'organizationId': string;
|
|
646
468
|
}
|
|
647
|
-
interface
|
|
648
|
-
id: '
|
|
469
|
+
interface CreateLocationEmitTargetSchema extends SpruceSchema.Schema {
|
|
470
|
+
id: 'createLocationEmitTarget';
|
|
649
471
|
version: 'v2020_12_25';
|
|
650
472
|
namespace: 'Mercury';
|
|
651
473
|
name: '';
|
|
652
474
|
fields: {
|
|
653
|
-
/** . */
|
|
654
|
-
'locationId': {
|
|
655
|
-
type: 'id';
|
|
656
|
-
options: undefined;
|
|
657
|
-
};
|
|
658
475
|
/** . */
|
|
659
476
|
'organizationId': {
|
|
660
477
|
type: 'id';
|
|
661
|
-
options: undefined;
|
|
662
|
-
};
|
|
663
|
-
/** . */
|
|
664
|
-
'skillId': {
|
|
665
|
-
type: 'id';
|
|
666
|
-
options: undefined;
|
|
667
|
-
};
|
|
668
|
-
};
|
|
669
|
-
}
|
|
670
|
-
interface DidUpdateFeedEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetSchema> {
|
|
671
|
-
}
|
|
672
|
-
}
|
|
673
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
674
|
-
interface DidUpdateFeedEmitPayload {
|
|
675
|
-
'item': SpruceSchemas.Spruce.v2020_07_22.FeedItem;
|
|
676
|
-
}
|
|
677
|
-
interface DidUpdateFeedEmitPayloadSchema extends SpruceSchema.Schema {
|
|
678
|
-
id: 'didUpdateFeedEmitPayload';
|
|
679
|
-
version: 'v2020_12_25';
|
|
680
|
-
namespace: 'Mercury';
|
|
681
|
-
name: '';
|
|
682
|
-
fields: {
|
|
683
|
-
/** . */
|
|
684
|
-
'item': {
|
|
685
|
-
type: 'schema';
|
|
686
|
-
isRequired: true;
|
|
687
|
-
options: {
|
|
688
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.FeedItemSchema;
|
|
689
|
-
};
|
|
690
|
-
};
|
|
691
|
-
};
|
|
692
|
-
}
|
|
693
|
-
interface DidUpdateFeedEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema> {
|
|
694
|
-
}
|
|
695
|
-
}
|
|
696
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
697
|
-
interface DidUpdateFeedEmitTargetAndPayload {
|
|
698
|
-
/** Source. */
|
|
699
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
700
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTarget | undefined | null;
|
|
701
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayload;
|
|
702
|
-
}
|
|
703
|
-
interface DidUpdateFeedEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
704
|
-
id: 'didUpdateFeedEmitTargetAndPayload';
|
|
705
|
-
version: 'v2020_12_25';
|
|
706
|
-
namespace: 'Mercury';
|
|
707
|
-
name: '';
|
|
708
|
-
fields: {
|
|
709
|
-
/** Source. */
|
|
710
|
-
'source': {
|
|
711
|
-
label: 'Source';
|
|
712
|
-
type: 'schema';
|
|
713
|
-
options: {
|
|
714
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
715
|
-
};
|
|
716
|
-
};
|
|
717
|
-
/** . */
|
|
718
|
-
'target': {
|
|
719
|
-
type: 'schema';
|
|
720
|
-
options: {
|
|
721
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetSchema;
|
|
722
|
-
};
|
|
723
|
-
};
|
|
724
|
-
/** . */
|
|
725
|
-
'payload': {
|
|
726
|
-
type: 'schema';
|
|
727
|
-
isRequired: true;
|
|
728
|
-
options: {
|
|
729
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema;
|
|
730
|
-
};
|
|
731
|
-
};
|
|
732
|
-
};
|
|
733
|
-
}
|
|
734
|
-
interface DidUpdateFeedEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetAndPayloadSchema> {
|
|
735
|
-
}
|
|
736
|
-
}
|
|
737
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
738
|
-
interface DidUpdatePersonEmitPayload {
|
|
739
|
-
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
740
|
-
}
|
|
741
|
-
interface DidUpdatePersonEmitPayloadSchema extends SpruceSchema.Schema {
|
|
742
|
-
id: 'didUpdatePersonEmitPayload';
|
|
743
|
-
version: 'v2020_12_25';
|
|
744
|
-
namespace: 'Mercury';
|
|
745
|
-
name: '';
|
|
746
|
-
fields: {
|
|
747
|
-
/** . */
|
|
748
|
-
'person': {
|
|
749
|
-
type: 'schema';
|
|
750
|
-
isRequired: true;
|
|
751
|
-
options: {
|
|
752
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
753
|
-
};
|
|
754
|
-
};
|
|
755
|
-
};
|
|
756
|
-
}
|
|
757
|
-
interface DidUpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema> {
|
|
758
|
-
}
|
|
759
|
-
}
|
|
760
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
761
|
-
interface DidUpdatePersonEmitTargetAndPayload {
|
|
762
|
-
/** Source. */
|
|
763
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
764
|
-
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
765
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayload;
|
|
766
|
-
}
|
|
767
|
-
interface DidUpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
768
|
-
id: 'didUpdatePersonEmitTargetAndPayload';
|
|
769
|
-
version: 'v2020_12_25';
|
|
770
|
-
namespace: 'Mercury';
|
|
771
|
-
name: '';
|
|
772
|
-
fields: {
|
|
773
|
-
/** Source. */
|
|
774
|
-
'source': {
|
|
775
|
-
label: 'Source';
|
|
776
|
-
type: 'schema';
|
|
777
|
-
options: {
|
|
778
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
779
|
-
};
|
|
780
|
-
};
|
|
781
|
-
/** . */
|
|
782
|
-
'target': {
|
|
783
|
-
type: 'schema';
|
|
784
|
-
options: {
|
|
785
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
786
|
-
};
|
|
787
|
-
};
|
|
788
|
-
/** . */
|
|
789
|
-
'payload': {
|
|
790
|
-
type: 'schema';
|
|
791
478
|
isRequired: true;
|
|
792
|
-
options:
|
|
793
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema;
|
|
794
|
-
};
|
|
479
|
+
options: undefined;
|
|
795
480
|
};
|
|
796
481
|
};
|
|
797
482
|
}
|
|
798
|
-
interface
|
|
483
|
+
interface CreateLocationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CreateLocationEmitTargetSchema> {
|
|
799
484
|
}
|
|
800
485
|
}
|
|
801
486
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
802
|
-
interface
|
|
803
|
-
|
|
804
|
-
'
|
|
487
|
+
interface CreateLocationEmitPayload {
|
|
488
|
+
/** Name. */
|
|
489
|
+
'name': string;
|
|
490
|
+
/** Location number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
491
|
+
'num'?: string | undefined | null;
|
|
492
|
+
/** Public. Is this location viewable by guests? */
|
|
493
|
+
'isPublic'?: boolean | undefined | null;
|
|
494
|
+
/** Main Phone. */
|
|
495
|
+
'phone'?: string | undefined | null;
|
|
496
|
+
/** Timezone. */
|
|
497
|
+
'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;
|
|
498
|
+
/** Address. */
|
|
499
|
+
'address': SpruceSchema.AddressFieldValue;
|
|
500
|
+
'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
501
|
+
'slug'?: string | undefined | null;
|
|
805
502
|
}
|
|
806
|
-
interface
|
|
807
|
-
id: '
|
|
503
|
+
interface CreateLocationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
504
|
+
id: 'createLocationEmitPayload';
|
|
808
505
|
version: 'v2020_12_25';
|
|
809
506
|
namespace: 'Mercury';
|
|
810
507
|
name: '';
|
|
811
508
|
fields: {
|
|
812
|
-
/** . */
|
|
813
|
-
'
|
|
814
|
-
|
|
509
|
+
/** Name. */
|
|
510
|
+
'name': {
|
|
511
|
+
label: 'Name';
|
|
512
|
+
type: 'text';
|
|
815
513
|
isRequired: true;
|
|
816
514
|
options: undefined;
|
|
817
515
|
};
|
|
818
|
-
/** . */
|
|
819
|
-
'
|
|
820
|
-
|
|
821
|
-
|
|
516
|
+
/** Location number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
517
|
+
'num': {
|
|
518
|
+
label: 'Location number';
|
|
519
|
+
type: 'text';
|
|
520
|
+
hint: 'You can use other symbols, like # or dashes. #123 or 32-US-5';
|
|
822
521
|
options: undefined;
|
|
823
522
|
};
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
interface InvokeChatCallbackPayload {
|
|
831
|
-
'placeholder': string;
|
|
832
|
-
'state'?: (Record<string, any>) | undefined | null;
|
|
833
|
-
}
|
|
834
|
-
interface InvokeChatCallbackPayloadSchema extends SpruceSchema.Schema {
|
|
835
|
-
id: 'invokeChatCallbackPayload';
|
|
836
|
-
version: 'v2020_12_25';
|
|
837
|
-
namespace: 'Mercury';
|
|
838
|
-
name: '';
|
|
839
|
-
fields: {
|
|
840
|
-
/** . */
|
|
841
|
-
'placeholder': {
|
|
842
|
-
type: 'id';
|
|
843
|
-
isRequired: true;
|
|
523
|
+
/** Public. Is this location viewable by guests? */
|
|
524
|
+
'isPublic': {
|
|
525
|
+
label: 'Public';
|
|
526
|
+
type: 'boolean';
|
|
527
|
+
hint: 'Is this location viewable by guests?';
|
|
528
|
+
defaultValue: false;
|
|
844
529
|
options: undefined;
|
|
845
530
|
};
|
|
846
|
-
/** . */
|
|
847
|
-
'
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
};
|
|
852
|
-
};
|
|
853
|
-
};
|
|
854
|
-
}
|
|
855
|
-
interface InvokeChatCallbackPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackPayloadSchema> {
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
859
|
-
interface InvokeChatCallbackEmitTargetAndPayload {
|
|
860
|
-
/** Source. */
|
|
861
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
862
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackTarget;
|
|
863
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackPayload;
|
|
864
|
-
}
|
|
865
|
-
interface InvokeChatCallbackEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
866
|
-
id: 'invokeChatCallbackEmitTargetAndPayload';
|
|
867
|
-
version: 'v2020_12_25';
|
|
868
|
-
namespace: 'Mercury';
|
|
869
|
-
name: '';
|
|
870
|
-
fields: {
|
|
871
|
-
/** Source. */
|
|
872
|
-
'source': {
|
|
873
|
-
label: 'Source';
|
|
874
|
-
type: 'schema';
|
|
875
|
-
options: {
|
|
876
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
877
|
-
};
|
|
531
|
+
/** Main Phone. */
|
|
532
|
+
'phone': {
|
|
533
|
+
label: 'Main Phone';
|
|
534
|
+
type: 'phone';
|
|
535
|
+
options: undefined;
|
|
878
536
|
};
|
|
879
|
-
/** . */
|
|
880
|
-
'
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
options: {
|
|
884
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackTargetSchema;
|
|
885
|
-
};
|
|
886
|
-
};
|
|
887
|
-
/** . */
|
|
888
|
-
'payload': {
|
|
889
|
-
type: 'schema';
|
|
890
|
-
isRequired: true;
|
|
891
|
-
options: {
|
|
892
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackPayloadSchema;
|
|
893
|
-
};
|
|
894
|
-
};
|
|
895
|
-
};
|
|
896
|
-
}
|
|
897
|
-
interface InvokeChatCallbackEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackEmitTargetAndPayloadSchema> {
|
|
898
|
-
}
|
|
899
|
-
}
|
|
900
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
901
|
-
interface InvokeChatCallbackResponsePayload {
|
|
902
|
-
'message': string;
|
|
903
|
-
}
|
|
904
|
-
interface InvokeChatCallbackResponsePayloadSchema extends SpruceSchema.Schema {
|
|
905
|
-
id: 'invokeChatCallbackResponsePayload';
|
|
906
|
-
version: 'v2020_12_25';
|
|
907
|
-
namespace: 'Mercury';
|
|
908
|
-
name: '';
|
|
909
|
-
fields: {
|
|
910
|
-
/** . */
|
|
911
|
-
'message': {
|
|
912
|
-
type: 'text';
|
|
913
|
-
isRequired: true;
|
|
914
|
-
options: undefined;
|
|
915
|
-
};
|
|
916
|
-
};
|
|
917
|
-
}
|
|
918
|
-
interface InvokeChatCallbackResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackResponsePayloadSchema> {
|
|
919
|
-
}
|
|
920
|
-
}
|
|
921
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
922
|
-
interface RegisterChatbotsEmitTargetAndPayload {
|
|
923
|
-
/** Source. */
|
|
924
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
925
|
-
}
|
|
926
|
-
interface RegisterChatbotsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
927
|
-
id: 'registerChatbotsEmitTargetAndPayload';
|
|
928
|
-
version: 'v2020_12_25';
|
|
929
|
-
namespace: 'Mercury';
|
|
930
|
-
name: '';
|
|
931
|
-
fields: {
|
|
932
|
-
/** Source. */
|
|
933
|
-
'source': {
|
|
934
|
-
label: 'Source';
|
|
935
|
-
type: 'schema';
|
|
936
|
-
options: {
|
|
937
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
938
|
-
};
|
|
939
|
-
};
|
|
940
|
-
};
|
|
941
|
-
}
|
|
942
|
-
interface RegisterChatbotsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterChatbotsEmitTargetAndPayloadSchema> {
|
|
943
|
-
}
|
|
944
|
-
}
|
|
945
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
946
|
-
interface RegisterChatbotsResponsePayload {
|
|
947
|
-
'bots': SpruceSchemas.Mercury.v2020_12_25.Chatbot[];
|
|
948
|
-
}
|
|
949
|
-
interface RegisterChatbotsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
950
|
-
id: 'registerChatbotsResponsePayload';
|
|
951
|
-
version: 'v2020_12_25';
|
|
952
|
-
namespace: 'Mercury';
|
|
953
|
-
name: '';
|
|
954
|
-
fields: {
|
|
955
|
-
/** . */
|
|
956
|
-
'bots': {
|
|
957
|
-
type: 'schema';
|
|
958
|
-
isRequired: true;
|
|
959
|
-
isArray: true;
|
|
960
|
-
minArrayLength: 0;
|
|
961
|
-
options: {
|
|
962
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ChatbotSchema;
|
|
963
|
-
};
|
|
964
|
-
};
|
|
965
|
-
};
|
|
966
|
-
}
|
|
967
|
-
interface RegisterChatbotsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterChatbotsResponsePayloadSchema> {
|
|
968
|
-
}
|
|
969
|
-
}
|
|
970
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
971
|
-
interface ChatbotCallbacks {
|
|
972
|
-
'placeholder': string;
|
|
973
|
-
'useThisWhenever': string;
|
|
974
|
-
}
|
|
975
|
-
interface ChatbotCallbacksSchema extends SpruceSchema.Schema {
|
|
976
|
-
id: 'chatbotCallbacks';
|
|
977
|
-
version: 'v2020_12_25';
|
|
978
|
-
namespace: 'Mercury';
|
|
979
|
-
name: '';
|
|
980
|
-
fields: {
|
|
981
|
-
/** . */
|
|
982
|
-
'placeholder': {
|
|
983
|
-
type: 'id';
|
|
984
|
-
isRequired: true;
|
|
985
|
-
options: undefined;
|
|
986
|
-
};
|
|
987
|
-
/** . */
|
|
988
|
-
'useThisWhenever': {
|
|
989
|
-
type: 'text';
|
|
990
|
-
isRequired: true;
|
|
991
|
-
options: undefined;
|
|
992
|
-
};
|
|
993
|
-
};
|
|
994
|
-
}
|
|
995
|
-
interface ChatbotCallbacksEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ChatbotCallbacksSchema> {
|
|
996
|
-
}
|
|
997
|
-
}
|
|
998
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
999
|
-
interface Chatbot {
|
|
1000
|
-
'title': string;
|
|
1001
|
-
'yourJobIfYouChooseToAcceptItIs': string;
|
|
1002
|
-
'weAreDoneWhen': string;
|
|
1003
|
-
'pleaseKeepInMindThat'?: string[] | undefined | null;
|
|
1004
|
-
'stateSchema'?: (SpruceSchema.Schema) | undefined | null;
|
|
1005
|
-
'model'?: string | undefined | null;
|
|
1006
|
-
'promptTemplate'?: string | undefined | null;
|
|
1007
|
-
'callbacks'?: SpruceSchemas.Mercury.v2020_12_25.ChatbotCallbacks[] | undefined | null;
|
|
1008
|
-
}
|
|
1009
|
-
interface ChatbotSchema extends SpruceSchema.Schema {
|
|
1010
|
-
id: 'chatbot';
|
|
1011
|
-
version: 'v2020_12_25';
|
|
1012
|
-
namespace: 'Mercury';
|
|
1013
|
-
name: '';
|
|
1014
|
-
fields: {
|
|
1015
|
-
/** . */
|
|
1016
|
-
'title': {
|
|
1017
|
-
type: 'text';
|
|
1018
|
-
isRequired: true;
|
|
1019
|
-
options: undefined;
|
|
1020
|
-
};
|
|
1021
|
-
/** . */
|
|
1022
|
-
'yourJobIfYouChooseToAcceptItIs': {
|
|
1023
|
-
type: 'text';
|
|
1024
|
-
isRequired: true;
|
|
1025
|
-
options: undefined;
|
|
1026
|
-
};
|
|
1027
|
-
/** . */
|
|
1028
|
-
'weAreDoneWhen': {
|
|
1029
|
-
type: 'text';
|
|
1030
|
-
isRequired: true;
|
|
1031
|
-
options: undefined;
|
|
1032
|
-
};
|
|
1033
|
-
/** . */
|
|
1034
|
-
'pleaseKeepInMindThat': {
|
|
1035
|
-
type: 'text';
|
|
1036
|
-
isArray: true;
|
|
1037
|
-
options: undefined;
|
|
1038
|
-
};
|
|
1039
|
-
/** . */
|
|
1040
|
-
'stateSchema': {
|
|
1041
|
-
type: 'raw';
|
|
1042
|
-
options: {
|
|
1043
|
-
valueType: `SpruceSchema.Schema`;
|
|
1044
|
-
};
|
|
1045
|
-
};
|
|
1046
|
-
/** . */
|
|
1047
|
-
'model': {
|
|
1048
|
-
type: 'id';
|
|
1049
|
-
options: undefined;
|
|
1050
|
-
};
|
|
1051
|
-
/** . */
|
|
1052
|
-
'promptTemplate': {
|
|
1053
|
-
type: 'text';
|
|
1054
|
-
options: undefined;
|
|
1055
|
-
};
|
|
1056
|
-
/** . */
|
|
1057
|
-
'callbacks': {
|
|
1058
|
-
type: 'schema';
|
|
1059
|
-
isArray: true;
|
|
1060
|
-
minArrayLength: 0;
|
|
1061
|
-
options: {
|
|
1062
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ChatbotCallbacksSchema;
|
|
1063
|
-
};
|
|
1064
|
-
};
|
|
1065
|
-
};
|
|
1066
|
-
}
|
|
1067
|
-
interface ChatbotEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ChatbotSchema> {
|
|
1068
|
-
}
|
|
1069
|
-
}
|
|
1070
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1071
|
-
interface AddRoleEmitTarget {
|
|
1072
|
-
'organizationId'?: string | undefined | null;
|
|
1073
|
-
'locationId'?: string | undefined | null;
|
|
1074
|
-
}
|
|
1075
|
-
interface AddRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
1076
|
-
id: 'addRoleEmitTarget';
|
|
1077
|
-
version: 'v2020_12_25';
|
|
1078
|
-
namespace: 'Mercury';
|
|
1079
|
-
name: '';
|
|
1080
|
-
fields: {
|
|
1081
|
-
/** . */
|
|
1082
|
-
'organizationId': {
|
|
1083
|
-
type: 'id';
|
|
1084
|
-
options: undefined;
|
|
1085
|
-
};
|
|
1086
|
-
/** . */
|
|
1087
|
-
'locationId': {
|
|
1088
|
-
type: 'id';
|
|
1089
|
-
options: undefined;
|
|
1090
|
-
};
|
|
1091
|
-
};
|
|
1092
|
-
}
|
|
1093
|
-
interface AddRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema> {
|
|
1094
|
-
}
|
|
1095
|
-
}
|
|
1096
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1097
|
-
interface AddRoleEmitPayload {
|
|
1098
|
-
'personId': string;
|
|
1099
|
-
'roleId': string;
|
|
1100
|
-
}
|
|
1101
|
-
interface AddRoleEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1102
|
-
id: 'addRoleEmitPayload';
|
|
1103
|
-
version: 'v2020_12_25';
|
|
1104
|
-
namespace: 'Mercury';
|
|
1105
|
-
name: '';
|
|
1106
|
-
fields: {
|
|
1107
|
-
/** . */
|
|
1108
|
-
'personId': {
|
|
1109
|
-
type: 'id';
|
|
1110
|
-
isRequired: true;
|
|
1111
|
-
options: undefined;
|
|
1112
|
-
};
|
|
1113
|
-
/** . */
|
|
1114
|
-
'roleId': {
|
|
1115
|
-
type: 'id';
|
|
1116
|
-
isRequired: true;
|
|
1117
|
-
options: undefined;
|
|
1118
|
-
};
|
|
1119
|
-
};
|
|
1120
|
-
}
|
|
1121
|
-
interface AddRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema> {
|
|
1122
|
-
}
|
|
1123
|
-
}
|
|
1124
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1125
|
-
interface AddRoleEmitTargetAndPayload {
|
|
1126
|
-
/** Source. */
|
|
1127
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1128
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTarget | undefined | null;
|
|
1129
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayload;
|
|
1130
|
-
}
|
|
1131
|
-
interface AddRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1132
|
-
id: 'addRoleEmitTargetAndPayload';
|
|
1133
|
-
version: 'v2020_12_25';
|
|
1134
|
-
namespace: 'Mercury';
|
|
1135
|
-
name: '';
|
|
1136
|
-
fields: {
|
|
1137
|
-
/** Source. */
|
|
1138
|
-
'source': {
|
|
1139
|
-
label: 'Source';
|
|
1140
|
-
type: 'schema';
|
|
1141
|
-
options: {
|
|
1142
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1143
|
-
};
|
|
1144
|
-
};
|
|
1145
|
-
/** . */
|
|
1146
|
-
'target': {
|
|
1147
|
-
type: 'schema';
|
|
1148
|
-
options: {
|
|
1149
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema;
|
|
1150
|
-
};
|
|
1151
|
-
};
|
|
1152
|
-
/** . */
|
|
1153
|
-
'payload': {
|
|
1154
|
-
type: 'schema';
|
|
1155
|
-
isRequired: true;
|
|
1156
|
-
options: {
|
|
1157
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema;
|
|
1158
|
-
};
|
|
1159
|
-
};
|
|
1160
|
-
};
|
|
1161
|
-
}
|
|
1162
|
-
interface AddRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetAndPayloadSchema> {
|
|
1163
|
-
}
|
|
1164
|
-
}
|
|
1165
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1166
|
-
interface AddRoleResponsePayload {
|
|
1167
|
-
}
|
|
1168
|
-
interface AddRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
1169
|
-
id: 'addRoleResponsePayload';
|
|
1170
|
-
version: 'v2020_12_25';
|
|
1171
|
-
namespace: 'Mercury';
|
|
1172
|
-
name: '';
|
|
1173
|
-
fields: {};
|
|
1174
|
-
}
|
|
1175
|
-
interface AddRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleResponsePayloadSchema> {
|
|
1176
|
-
}
|
|
1177
|
-
}
|
|
1178
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1179
|
-
interface AuthenticateEmitPayload {
|
|
1180
|
-
'token'?: string | undefined | null;
|
|
1181
|
-
'skillId'?: string | undefined | null;
|
|
1182
|
-
'apiKey'?: string | undefined | null;
|
|
1183
|
-
}
|
|
1184
|
-
interface AuthenticateEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1185
|
-
id: 'authenticateEmitPayload';
|
|
1186
|
-
version: 'v2020_12_25';
|
|
1187
|
-
namespace: 'Mercury';
|
|
1188
|
-
name: '';
|
|
1189
|
-
fields: {
|
|
1190
|
-
/** . */
|
|
1191
|
-
'token': {
|
|
1192
|
-
type: 'text';
|
|
1193
|
-
options: undefined;
|
|
1194
|
-
};
|
|
1195
|
-
/** . */
|
|
1196
|
-
'skillId': {
|
|
1197
|
-
type: 'text';
|
|
1198
|
-
options: undefined;
|
|
1199
|
-
};
|
|
1200
|
-
/** . */
|
|
1201
|
-
'apiKey': {
|
|
1202
|
-
type: 'text';
|
|
1203
|
-
options: undefined;
|
|
1204
|
-
};
|
|
1205
|
-
};
|
|
1206
|
-
}
|
|
1207
|
-
interface AuthenticateEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema> {
|
|
1208
|
-
}
|
|
1209
|
-
}
|
|
1210
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1211
|
-
interface AuthenticateEmitTargetAndPayload {
|
|
1212
|
-
/** Source. */
|
|
1213
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1214
|
-
'payload'?: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayload | undefined | null;
|
|
1215
|
-
}
|
|
1216
|
-
interface AuthenticateEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1217
|
-
id: 'authenticateEmitTargetAndPayload';
|
|
1218
|
-
version: 'v2020_12_25';
|
|
1219
|
-
namespace: 'Mercury';
|
|
1220
|
-
name: '';
|
|
1221
|
-
fields: {
|
|
1222
|
-
/** Source. */
|
|
1223
|
-
'source': {
|
|
1224
|
-
label: 'Source';
|
|
1225
|
-
type: 'schema';
|
|
1226
|
-
options: {
|
|
1227
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1228
|
-
};
|
|
1229
|
-
};
|
|
1230
|
-
/** . */
|
|
1231
|
-
'payload': {
|
|
1232
|
-
type: 'schema';
|
|
1233
|
-
options: {
|
|
1234
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema;
|
|
1235
|
-
};
|
|
1236
|
-
};
|
|
1237
|
-
};
|
|
1238
|
-
}
|
|
1239
|
-
interface AuthenticateEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitTargetAndPayloadSchema> {
|
|
1240
|
-
}
|
|
1241
|
-
}
|
|
1242
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1243
|
-
interface AuthSchema {
|
|
1244
|
-
'person'?: SpruceSchemas.Spruce.v2020_07_22.Person | undefined | null;
|
|
1245
|
-
'skill'?: SpruceSchemas.Spruce.v2020_07_22.Skill | undefined | null;
|
|
1246
|
-
}
|
|
1247
|
-
interface AuthSchemaSchema extends SpruceSchema.Schema {
|
|
1248
|
-
id: 'authSchema';
|
|
1249
|
-
version: 'v2020_12_25';
|
|
1250
|
-
namespace: 'Mercury';
|
|
1251
|
-
name: '';
|
|
1252
|
-
fields: {
|
|
1253
|
-
/** . */
|
|
1254
|
-
'person': {
|
|
1255
|
-
type: 'schema';
|
|
1256
|
-
options: {
|
|
1257
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
1258
|
-
};
|
|
1259
|
-
};
|
|
1260
|
-
/** . */
|
|
1261
|
-
'skill': {
|
|
1262
|
-
type: 'schema';
|
|
1263
|
-
options: {
|
|
1264
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.SkillSchema;
|
|
1265
|
-
};
|
|
1266
|
-
};
|
|
1267
|
-
};
|
|
1268
|
-
}
|
|
1269
|
-
interface AuthSchemaEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema> {
|
|
1270
|
-
}
|
|
1271
|
-
}
|
|
1272
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1273
|
-
interface AuthenticateResponsePayload {
|
|
1274
|
-
'type': ("authenticated" | "anonymous");
|
|
1275
|
-
'auth': SpruceSchemas.Mercury.v2020_12_25.AuthSchema;
|
|
1276
|
-
}
|
|
1277
|
-
interface AuthenticateResponsePayloadSchema extends SpruceSchema.Schema {
|
|
1278
|
-
id: 'authenticateResponsePayload';
|
|
1279
|
-
version: 'v2020_12_25';
|
|
1280
|
-
namespace: 'Mercury';
|
|
1281
|
-
name: '';
|
|
1282
|
-
fields: {
|
|
1283
|
-
/** . */
|
|
1284
|
-
'type': {
|
|
1285
|
-
type: 'select';
|
|
1286
|
-
isRequired: true;
|
|
1287
|
-
options: {
|
|
1288
|
-
choices: [{
|
|
1289
|
-
"value": "authenticated";
|
|
1290
|
-
"label": "Authenticated";
|
|
1291
|
-
}, {
|
|
1292
|
-
"value": "anonymous";
|
|
1293
|
-
"label": "Anonymous";
|
|
1294
|
-
}];
|
|
1295
|
-
};
|
|
1296
|
-
};
|
|
1297
|
-
/** . */
|
|
1298
|
-
'auth': {
|
|
1299
|
-
type: 'schema';
|
|
1300
|
-
isRequired: true;
|
|
1301
|
-
options: {
|
|
1302
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema;
|
|
1303
|
-
};
|
|
1304
|
-
};
|
|
1305
|
-
};
|
|
1306
|
-
}
|
|
1307
|
-
interface AuthenticateResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateResponsePayloadSchema> {
|
|
1308
|
-
}
|
|
1309
|
-
}
|
|
1310
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1311
|
-
interface CanListenEmitPayload {
|
|
1312
|
-
'authorizerStatuses'?: ("clockedIn" | "clockedOut" | "onPrem" | "offPrem") | undefined | null;
|
|
1313
|
-
'fullyQualifiedEventName': string;
|
|
1314
|
-
}
|
|
1315
|
-
interface CanListenEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1316
|
-
id: 'canListenEmitPayload';
|
|
1317
|
-
version: 'v2020_12_25';
|
|
1318
|
-
namespace: 'Mercury';
|
|
1319
|
-
name: '';
|
|
1320
|
-
fields: {
|
|
1321
|
-
/** . */
|
|
1322
|
-
'authorizerStatuses': {
|
|
1323
|
-
type: 'select';
|
|
1324
|
-
options: {
|
|
1325
|
-
choices: [{
|
|
1326
|
-
"label": "Clocked in";
|
|
1327
|
-
"value": "clockedIn";
|
|
1328
|
-
}, {
|
|
1329
|
-
"label": "Clocked out";
|
|
1330
|
-
"value": "clockedOut";
|
|
1331
|
-
}, {
|
|
1332
|
-
"label": "On premises";
|
|
1333
|
-
"value": "onPrem";
|
|
1334
|
-
}, {
|
|
1335
|
-
"label": "Off premises";
|
|
1336
|
-
"value": "offPrem";
|
|
1337
|
-
}];
|
|
1338
|
-
};
|
|
1339
|
-
};
|
|
1340
|
-
/** . */
|
|
1341
|
-
'fullyQualifiedEventName': {
|
|
1342
|
-
type: 'text';
|
|
1343
|
-
isRequired: true;
|
|
1344
|
-
options: undefined;
|
|
1345
|
-
};
|
|
1346
|
-
};
|
|
1347
|
-
}
|
|
1348
|
-
interface CanListenEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema> {
|
|
1349
|
-
}
|
|
1350
|
-
}
|
|
1351
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1352
|
-
interface CanListenEmitTargetAndPayload {
|
|
1353
|
-
/** Source. */
|
|
1354
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1355
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayload;
|
|
1356
|
-
}
|
|
1357
|
-
interface CanListenEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1358
|
-
id: 'canListenEmitTargetAndPayload';
|
|
1359
|
-
version: 'v2020_12_25';
|
|
1360
|
-
namespace: 'Mercury';
|
|
1361
|
-
name: '';
|
|
1362
|
-
fields: {
|
|
1363
|
-
/** Source. */
|
|
1364
|
-
'source': {
|
|
1365
|
-
label: 'Source';
|
|
1366
|
-
type: 'schema';
|
|
1367
|
-
options: {
|
|
1368
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1369
|
-
};
|
|
1370
|
-
};
|
|
1371
|
-
/** . */
|
|
1372
|
-
'payload': {
|
|
1373
|
-
type: 'schema';
|
|
1374
|
-
isRequired: true;
|
|
1375
|
-
options: {
|
|
1376
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema;
|
|
1377
|
-
};
|
|
1378
|
-
};
|
|
1379
|
-
};
|
|
1380
|
-
}
|
|
1381
|
-
interface CanListenEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitTargetAndPayloadSchema> {
|
|
1382
|
-
}
|
|
1383
|
-
}
|
|
1384
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1385
|
-
interface CanListenResponsePayload {
|
|
1386
|
-
'can'?: boolean | undefined | null;
|
|
1387
|
-
}
|
|
1388
|
-
interface CanListenResponsePayloadSchema extends SpruceSchema.Schema {
|
|
1389
|
-
id: 'canListenResponsePayload';
|
|
1390
|
-
version: 'v2020_12_25';
|
|
1391
|
-
namespace: 'Mercury';
|
|
1392
|
-
name: '';
|
|
1393
|
-
fields: {
|
|
1394
|
-
/** . */
|
|
1395
|
-
'can': {
|
|
1396
|
-
type: 'boolean';
|
|
1397
|
-
options: undefined;
|
|
1398
|
-
};
|
|
1399
|
-
};
|
|
1400
|
-
}
|
|
1401
|
-
interface CanListenResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenResponsePayloadSchema> {
|
|
1402
|
-
}
|
|
1403
|
-
}
|
|
1404
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1405
|
-
interface ConfirmPinEmitPayload {
|
|
1406
|
-
'challenge': string;
|
|
1407
|
-
'pin': string;
|
|
1408
|
-
}
|
|
1409
|
-
interface ConfirmPinEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1410
|
-
id: 'confirmPinEmitPayload';
|
|
1411
|
-
version: 'v2020_12_25';
|
|
1412
|
-
namespace: 'Mercury';
|
|
1413
|
-
name: '';
|
|
1414
|
-
fields: {
|
|
1415
|
-
/** . */
|
|
1416
|
-
'challenge': {
|
|
1417
|
-
type: 'text';
|
|
1418
|
-
isRequired: true;
|
|
1419
|
-
options: undefined;
|
|
1420
|
-
};
|
|
1421
|
-
/** . */
|
|
1422
|
-
'pin': {
|
|
1423
|
-
type: 'text';
|
|
1424
|
-
isRequired: true;
|
|
1425
|
-
options: undefined;
|
|
1426
|
-
};
|
|
1427
|
-
};
|
|
1428
|
-
}
|
|
1429
|
-
interface ConfirmPinEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema> {
|
|
1430
|
-
}
|
|
1431
|
-
}
|
|
1432
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1433
|
-
interface ConfirmPinEmitTargetAndPayload {
|
|
1434
|
-
/** Source. */
|
|
1435
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1436
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayload;
|
|
1437
|
-
}
|
|
1438
|
-
interface ConfirmPinEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1439
|
-
id: 'confirmPinEmitTargetAndPayload';
|
|
1440
|
-
version: 'v2020_12_25';
|
|
1441
|
-
namespace: 'Mercury';
|
|
1442
|
-
name: '';
|
|
1443
|
-
fields: {
|
|
1444
|
-
/** Source. */
|
|
1445
|
-
'source': {
|
|
1446
|
-
label: 'Source';
|
|
1447
|
-
type: 'schema';
|
|
1448
|
-
options: {
|
|
1449
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1450
|
-
};
|
|
1451
|
-
};
|
|
1452
|
-
/** . */
|
|
1453
|
-
'payload': {
|
|
1454
|
-
type: 'schema';
|
|
1455
|
-
isRequired: true;
|
|
1456
|
-
options: {
|
|
1457
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema;
|
|
1458
|
-
};
|
|
1459
|
-
};
|
|
1460
|
-
};
|
|
1461
|
-
}
|
|
1462
|
-
interface ConfirmPinEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitTargetAndPayloadSchema> {
|
|
1463
|
-
}
|
|
1464
|
-
}
|
|
1465
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1466
|
-
interface ConfirmPinRespondPayload {
|
|
1467
|
-
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
1468
|
-
'token': string;
|
|
1469
|
-
}
|
|
1470
|
-
interface ConfirmPinRespondPayloadSchema extends SpruceSchema.Schema {
|
|
1471
|
-
id: 'confirmPinRespondPayload';
|
|
1472
|
-
version: 'v2020_12_25';
|
|
1473
|
-
namespace: 'Mercury';
|
|
1474
|
-
name: '';
|
|
1475
|
-
fields: {
|
|
1476
|
-
/** . */
|
|
1477
|
-
'person': {
|
|
1478
|
-
type: 'schema';
|
|
1479
|
-
isRequired: true;
|
|
1480
|
-
options: {
|
|
1481
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
1482
|
-
};
|
|
1483
|
-
};
|
|
1484
|
-
/** . */
|
|
1485
|
-
'token': {
|
|
1486
|
-
type: 'text';
|
|
1487
|
-
isRequired: true;
|
|
1488
|
-
options: undefined;
|
|
1489
|
-
};
|
|
1490
|
-
};
|
|
1491
|
-
}
|
|
1492
|
-
interface ConfirmPinRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinRespondPayloadSchema> {
|
|
1493
|
-
}
|
|
1494
|
-
}
|
|
1495
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1496
|
-
interface CreateLocationEmitTarget {
|
|
1497
|
-
'organizationId': string;
|
|
1498
|
-
}
|
|
1499
|
-
interface CreateLocationEmitTargetSchema extends SpruceSchema.Schema {
|
|
1500
|
-
id: 'createLocationEmitTarget';
|
|
1501
|
-
version: 'v2020_12_25';
|
|
1502
|
-
namespace: 'Mercury';
|
|
1503
|
-
name: '';
|
|
1504
|
-
fields: {
|
|
1505
|
-
/** . */
|
|
1506
|
-
'organizationId': {
|
|
1507
|
-
type: 'id';
|
|
1508
|
-
isRequired: true;
|
|
1509
|
-
options: undefined;
|
|
1510
|
-
};
|
|
1511
|
-
};
|
|
1512
|
-
}
|
|
1513
|
-
interface CreateLocationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CreateLocationEmitTargetSchema> {
|
|
1514
|
-
}
|
|
1515
|
-
}
|
|
1516
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1517
|
-
interface CreateLocationEmitPayload {
|
|
1518
|
-
/** Name. */
|
|
1519
|
-
'name': string;
|
|
1520
|
-
/** Location number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
1521
|
-
'num'?: string | undefined | null;
|
|
1522
|
-
/** Public. Is this location viewable by guests? */
|
|
1523
|
-
'isPublic'?: boolean | undefined | null;
|
|
1524
|
-
/** Main Phone. */
|
|
1525
|
-
'phone'?: string | undefined | null;
|
|
1526
|
-
/** Timezone. */
|
|
1527
|
-
'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;
|
|
1528
|
-
/** Address. */
|
|
1529
|
-
'address': SpruceSchema.AddressFieldValue;
|
|
1530
|
-
'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
1531
|
-
'slug'?: string | undefined | null;
|
|
1532
|
-
}
|
|
1533
|
-
interface CreateLocationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1534
|
-
id: 'createLocationEmitPayload';
|
|
1535
|
-
version: 'v2020_12_25';
|
|
1536
|
-
namespace: 'Mercury';
|
|
1537
|
-
name: '';
|
|
1538
|
-
fields: {
|
|
1539
|
-
/** Name. */
|
|
1540
|
-
'name': {
|
|
1541
|
-
label: 'Name';
|
|
1542
|
-
type: 'text';
|
|
1543
|
-
isRequired: true;
|
|
1544
|
-
options: undefined;
|
|
1545
|
-
};
|
|
1546
|
-
/** Location number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
1547
|
-
'num': {
|
|
1548
|
-
label: 'Location number';
|
|
1549
|
-
type: 'text';
|
|
1550
|
-
hint: 'You can use other symbols, like # or dashes. #123 or 32-US-5';
|
|
1551
|
-
options: undefined;
|
|
1552
|
-
};
|
|
1553
|
-
/** Public. Is this location viewable by guests? */
|
|
1554
|
-
'isPublic': {
|
|
1555
|
-
label: 'Public';
|
|
1556
|
-
type: 'boolean';
|
|
1557
|
-
hint: 'Is this location viewable by guests?';
|
|
1558
|
-
defaultValue: false;
|
|
1559
|
-
options: undefined;
|
|
1560
|
-
};
|
|
1561
|
-
/** Main Phone. */
|
|
1562
|
-
'phone': {
|
|
1563
|
-
label: 'Main Phone';
|
|
1564
|
-
type: 'phone';
|
|
1565
|
-
options: undefined;
|
|
1566
|
-
};
|
|
1567
|
-
/** Timezone. */
|
|
1568
|
-
'timezone': {
|
|
1569
|
-
label: 'Timezone';
|
|
1570
|
-
type: 'select';
|
|
537
|
+
/** Timezone. */
|
|
538
|
+
'timezone': {
|
|
539
|
+
label: 'Timezone';
|
|
540
|
+
type: 'select';
|
|
1571
541
|
options: {
|
|
1572
542
|
choices: [{
|
|
1573
543
|
"value": "Pacific/Niue";
|
|
@@ -4135,39 +3105,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4135
3105
|
interface DeleteLocationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DeleteLocationEmitTargetSchema> {
|
|
4136
3106
|
}
|
|
4137
3107
|
}
|
|
4138
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4139
|
-
interface DeleteLocationEmitTargetAndPayload {
|
|
4140
|
-
/** Source. */
|
|
4141
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
4142
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.DeleteLocationEmitTarget;
|
|
4143
|
-
}
|
|
4144
|
-
interface DeleteLocationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
4145
|
-
id: 'deleteLocationEmitTargetAndPayload';
|
|
4146
|
-
version: 'v2020_12_25';
|
|
4147
|
-
namespace: 'Mercury';
|
|
4148
|
-
name: '';
|
|
4149
|
-
fields: {
|
|
4150
|
-
/** Source. */
|
|
4151
|
-
'source': {
|
|
4152
|
-
label: 'Source';
|
|
4153
|
-
type: 'schema';
|
|
4154
|
-
options: {
|
|
4155
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
4156
|
-
};
|
|
4157
|
-
};
|
|
4158
|
-
/** . */
|
|
4159
|
-
'target': {
|
|
4160
|
-
type: 'schema';
|
|
4161
|
-
isRequired: true;
|
|
4162
|
-
options: {
|
|
4163
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DeleteLocationEmitTargetSchema;
|
|
4164
|
-
};
|
|
4165
|
-
};
|
|
4166
|
-
};
|
|
4167
|
-
}
|
|
4168
|
-
interface DeleteLocationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DeleteLocationEmitTargetAndPayloadSchema> {
|
|
4169
|
-
}
|
|
4170
|
-
}
|
|
4171
3108
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4172
3109
|
interface DeleteLocationResponsePayload {
|
|
4173
3110
|
'location': SpruceSchemas.Spruce.v2020_07_22.Location;
|
|
@@ -4726,6 +3663,47 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4726
3663
|
interface GetFeedEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitTargetSchema> {
|
|
4727
3664
|
}
|
|
4728
3665
|
}
|
|
3666
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
3667
|
+
interface GetFeedEmitTargetAndPayload {
|
|
3668
|
+
/** Source. */
|
|
3669
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
3670
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitTarget | undefined | null;
|
|
3671
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitPayload;
|
|
3672
|
+
}
|
|
3673
|
+
interface GetFeedEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
3674
|
+
id: 'getFeedEmitTargetAndPayload';
|
|
3675
|
+
version: 'v2020_12_25';
|
|
3676
|
+
namespace: 'Mercury';
|
|
3677
|
+
name: '';
|
|
3678
|
+
fields: {
|
|
3679
|
+
/** Source. */
|
|
3680
|
+
'source': {
|
|
3681
|
+
label: 'Source';
|
|
3682
|
+
type: 'schema';
|
|
3683
|
+
options: {
|
|
3684
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
3685
|
+
};
|
|
3686
|
+
};
|
|
3687
|
+
/** . */
|
|
3688
|
+
'target': {
|
|
3689
|
+
type: 'schema';
|
|
3690
|
+
options: {
|
|
3691
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitTargetSchema;
|
|
3692
|
+
};
|
|
3693
|
+
};
|
|
3694
|
+
/** . */
|
|
3695
|
+
'payload': {
|
|
3696
|
+
type: 'schema';
|
|
3697
|
+
isRequired: true;
|
|
3698
|
+
options: {
|
|
3699
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitPayloadSchema;
|
|
3700
|
+
};
|
|
3701
|
+
};
|
|
3702
|
+
};
|
|
3703
|
+
}
|
|
3704
|
+
interface GetFeedEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitTargetAndPayloadSchema> {
|
|
3705
|
+
}
|
|
3706
|
+
}
|
|
4729
3707
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4730
3708
|
interface GetFeedPagingRequest {
|
|
4731
3709
|
'next'?: string | undefined | null;
|
|
@@ -4815,47 +3793,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4815
3793
|
interface GetFeedEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitPayloadSchema> {
|
|
4816
3794
|
}
|
|
4817
3795
|
}
|
|
4818
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4819
|
-
interface GetFeedEmitTargetAndPayload {
|
|
4820
|
-
/** Source. */
|
|
4821
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
4822
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitTarget | undefined | null;
|
|
4823
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitPayload;
|
|
4824
|
-
}
|
|
4825
|
-
interface GetFeedEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
4826
|
-
id: 'getFeedEmitTargetAndPayload';
|
|
4827
|
-
version: 'v2020_12_25';
|
|
4828
|
-
namespace: 'Mercury';
|
|
4829
|
-
name: '';
|
|
4830
|
-
fields: {
|
|
4831
|
-
/** Source. */
|
|
4832
|
-
'source': {
|
|
4833
|
-
label: 'Source';
|
|
4834
|
-
type: 'schema';
|
|
4835
|
-
options: {
|
|
4836
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
4837
|
-
};
|
|
4838
|
-
};
|
|
4839
|
-
/** . */
|
|
4840
|
-
'target': {
|
|
4841
|
-
type: 'schema';
|
|
4842
|
-
options: {
|
|
4843
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitTargetSchema;
|
|
4844
|
-
};
|
|
4845
|
-
};
|
|
4846
|
-
/** . */
|
|
4847
|
-
'payload': {
|
|
4848
|
-
type: 'schema';
|
|
4849
|
-
isRequired: true;
|
|
4850
|
-
options: {
|
|
4851
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitPayloadSchema;
|
|
4852
|
-
};
|
|
4853
|
-
};
|
|
4854
|
-
};
|
|
4855
|
-
}
|
|
4856
|
-
interface GetFeedEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitTargetAndPayloadSchema> {
|
|
4857
|
-
}
|
|
4858
|
-
}
|
|
4859
3796
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4860
3797
|
interface GetFeedResponsePayload {
|
|
4861
3798
|
'feed': SpruceSchemas.Spruce.v2020_07_22.Feed;
|
|
@@ -5862,6 +4799,47 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
5862
4799
|
interface IsSkillInstalledEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitPayloadSchema> {
|
|
5863
4800
|
}
|
|
5864
4801
|
}
|
|
4802
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4803
|
+
interface IsSkillInstalledEmitTargetAndPayload {
|
|
4804
|
+
/** Source. */
|
|
4805
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
4806
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitTarget;
|
|
4807
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitPayload | undefined | null;
|
|
4808
|
+
}
|
|
4809
|
+
interface IsSkillInstalledEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
4810
|
+
id: 'isSkillInstalledEmitTargetAndPayload';
|
|
4811
|
+
version: 'v2020_12_25';
|
|
4812
|
+
namespace: 'Mercury';
|
|
4813
|
+
name: '';
|
|
4814
|
+
fields: {
|
|
4815
|
+
/** Source. */
|
|
4816
|
+
'source': {
|
|
4817
|
+
label: 'Source';
|
|
4818
|
+
type: 'schema';
|
|
4819
|
+
options: {
|
|
4820
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
4821
|
+
};
|
|
4822
|
+
};
|
|
4823
|
+
/** . */
|
|
4824
|
+
'target': {
|
|
4825
|
+
type: 'schema';
|
|
4826
|
+
isRequired: true;
|
|
4827
|
+
options: {
|
|
4828
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitTargetSchema;
|
|
4829
|
+
};
|
|
4830
|
+
};
|
|
4831
|
+
/** . */
|
|
4832
|
+
'payload': {
|
|
4833
|
+
type: 'schema';
|
|
4834
|
+
options: {
|
|
4835
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitPayloadSchema;
|
|
4836
|
+
};
|
|
4837
|
+
};
|
|
4838
|
+
};
|
|
4839
|
+
}
|
|
4840
|
+
interface IsSkillInstalledEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitTargetAndPayloadSchema> {
|
|
4841
|
+
}
|
|
4842
|
+
}
|
|
5865
4843
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5866
4844
|
interface IsSkillInstalledResponsePayload {
|
|
5867
4845
|
'isInstalled': boolean;
|
|
@@ -6084,46 +5062,18 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6084
5062
|
fields: {
|
|
6085
5063
|
/** . */
|
|
6086
5064
|
'organizationId': {
|
|
6087
|
-
type: 'id';
|
|
6088
|
-
options: undefined;
|
|
6089
|
-
};
|
|
6090
|
-
/** . */
|
|
6091
|
-
'locationIds': {
|
|
6092
|
-
type: 'id';
|
|
6093
|
-
isArray: true;
|
|
6094
|
-
options: undefined;
|
|
6095
|
-
};
|
|
6096
|
-
};
|
|
6097
|
-
}
|
|
6098
|
-
interface ListLocationsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitTargetSchema> {
|
|
6099
|
-
}
|
|
6100
|
-
}
|
|
6101
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6102
|
-
interface ListLocationsEmitPayload {
|
|
6103
|
-
'shouldOnlyShowWhereIAmEmployed'?: boolean | undefined | null;
|
|
6104
|
-
'paging'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequest | undefined | null;
|
|
6105
|
-
}
|
|
6106
|
-
interface ListLocationsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
6107
|
-
id: 'listLocationsEmitPayload';
|
|
6108
|
-
version: 'v2020_12_25';
|
|
6109
|
-
namespace: 'Mercury';
|
|
6110
|
-
name: '';
|
|
6111
|
-
fields: {
|
|
6112
|
-
/** . */
|
|
6113
|
-
'shouldOnlyShowWhereIAmEmployed': {
|
|
6114
|
-
type: 'boolean';
|
|
5065
|
+
type: 'id';
|
|
6115
5066
|
options: undefined;
|
|
6116
5067
|
};
|
|
6117
5068
|
/** . */
|
|
6118
|
-
'
|
|
6119
|
-
type: '
|
|
6120
|
-
|
|
6121
|
-
|
|
6122
|
-
};
|
|
5069
|
+
'locationIds': {
|
|
5070
|
+
type: 'id';
|
|
5071
|
+
isArray: true;
|
|
5072
|
+
options: undefined;
|
|
6123
5073
|
};
|
|
6124
5074
|
};
|
|
6125
5075
|
}
|
|
6126
|
-
interface
|
|
5076
|
+
interface ListLocationsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitTargetSchema> {
|
|
6127
5077
|
}
|
|
6128
5078
|
}
|
|
6129
5079
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
@@ -6265,6 +5215,34 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6265
5215
|
interface ListOrganizationsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrganizationsEmitTargetAndPayloadSchema> {
|
|
6266
5216
|
}
|
|
6267
5217
|
}
|
|
5218
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5219
|
+
interface ListLocationsEmitPayload {
|
|
5220
|
+
'shouldOnlyShowWhereIAmEmployed'?: boolean | undefined | null;
|
|
5221
|
+
'paging'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequest | undefined | null;
|
|
5222
|
+
}
|
|
5223
|
+
interface ListLocationsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
5224
|
+
id: 'listLocationsEmitPayload';
|
|
5225
|
+
version: 'v2020_12_25';
|
|
5226
|
+
namespace: 'Mercury';
|
|
5227
|
+
name: '';
|
|
5228
|
+
fields: {
|
|
5229
|
+
/** . */
|
|
5230
|
+
'shouldOnlyShowWhereIAmEmployed': {
|
|
5231
|
+
type: 'boolean';
|
|
5232
|
+
options: undefined;
|
|
5233
|
+
};
|
|
5234
|
+
/** . */
|
|
5235
|
+
'paging': {
|
|
5236
|
+
type: 'schema';
|
|
5237
|
+
options: {
|
|
5238
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequestSchema;
|
|
5239
|
+
};
|
|
5240
|
+
};
|
|
5241
|
+
};
|
|
5242
|
+
}
|
|
5243
|
+
interface ListLocationsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitPayloadSchema> {
|
|
5244
|
+
}
|
|
5245
|
+
}
|
|
6268
5246
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6269
5247
|
interface ListOrgsEmitPayload {
|
|
6270
5248
|
'shouldOnlyShowMine'?: boolean | undefined | null;
|
|
@@ -7826,31 +6804,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
7826
6804
|
interface ListRolesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListRolesEmitTargetAndPayloadSchema> {
|
|
7827
6805
|
}
|
|
7828
6806
|
}
|
|
7829
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7830
|
-
interface ListRolesResponsePayload {
|
|
7831
|
-
'roles': SpruceSchemas.Mercury.v2020_12_25.ListRole[];
|
|
7832
|
-
}
|
|
7833
|
-
interface ListRolesResponsePayloadSchema extends SpruceSchema.Schema {
|
|
7834
|
-
id: 'listRolesResponsePayload';
|
|
7835
|
-
version: 'v2020_12_25';
|
|
7836
|
-
namespace: 'Mercury';
|
|
7837
|
-
name: '';
|
|
7838
|
-
fields: {
|
|
7839
|
-
/** . */
|
|
7840
|
-
'roles': {
|
|
7841
|
-
type: 'schema';
|
|
7842
|
-
isRequired: true;
|
|
7843
|
-
isArray: true;
|
|
7844
|
-
minArrayLength: 0;
|
|
7845
|
-
options: {
|
|
7846
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ListRoleSchema;
|
|
7847
|
-
};
|
|
7848
|
-
};
|
|
7849
|
-
};
|
|
7850
|
-
}
|
|
7851
|
-
interface ListRolesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListRolesResponsePayloadSchema> {
|
|
7852
|
-
}
|
|
7853
|
-
}
|
|
7854
6807
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7855
6808
|
interface ListSchemaTarget {
|
|
7856
6809
|
'organizationId'?: string | undefined | null;
|
|
@@ -7991,6 +6944,31 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
7991
6944
|
interface ListRoleEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListRoleSchema> {
|
|
7992
6945
|
}
|
|
7993
6946
|
}
|
|
6947
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6948
|
+
interface ListRolesResponsePayload {
|
|
6949
|
+
'roles': SpruceSchemas.Mercury.v2020_12_25.ListRole[];
|
|
6950
|
+
}
|
|
6951
|
+
interface ListRolesResponsePayloadSchema extends SpruceSchema.Schema {
|
|
6952
|
+
id: 'listRolesResponsePayload';
|
|
6953
|
+
version: 'v2020_12_25';
|
|
6954
|
+
namespace: 'Mercury';
|
|
6955
|
+
name: '';
|
|
6956
|
+
fields: {
|
|
6957
|
+
/** . */
|
|
6958
|
+
'roles': {
|
|
6959
|
+
type: 'schema';
|
|
6960
|
+
isRequired: true;
|
|
6961
|
+
isArray: true;
|
|
6962
|
+
minArrayLength: 0;
|
|
6963
|
+
options: {
|
|
6964
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ListRoleSchema;
|
|
6965
|
+
};
|
|
6966
|
+
};
|
|
6967
|
+
};
|
|
6968
|
+
}
|
|
6969
|
+
interface ListRolesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListRolesResponsePayloadSchema> {
|
|
6970
|
+
}
|
|
6971
|
+
}
|
|
7994
6972
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7995
6973
|
interface ListSecurityQuestionsEmitTarget {
|
|
7996
6974
|
'phone'?: string | undefined | null;
|
|
@@ -9296,31 +8274,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9296
8274
|
interface SavePermissionsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitTargetSchema> {
|
|
9297
8275
|
}
|
|
9298
8276
|
}
|
|
9299
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9300
|
-
interface SavePermissionsEmitPayload {
|
|
9301
|
-
'permissions': SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermission[];
|
|
9302
|
-
}
|
|
9303
|
-
interface SavePermissionsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
9304
|
-
id: 'savePermissionsEmitPayload';
|
|
9305
|
-
version: 'v2020_12_25';
|
|
9306
|
-
namespace: 'Mercury';
|
|
9307
|
-
name: '';
|
|
9308
|
-
fields: {
|
|
9309
|
-
/** . */
|
|
9310
|
-
'permissions': {
|
|
9311
|
-
type: 'schema';
|
|
9312
|
-
isRequired: true;
|
|
9313
|
-
isArray: true;
|
|
9314
|
-
minArrayLength: 1;
|
|
9315
|
-
options: {
|
|
9316
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermissionSchema;
|
|
9317
|
-
};
|
|
9318
|
-
};
|
|
9319
|
-
};
|
|
9320
|
-
}
|
|
9321
|
-
interface SavePermissionsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitPayloadSchema> {
|
|
9322
|
-
}
|
|
9323
|
-
}
|
|
9324
8277
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9325
8278
|
interface SavePermissionsEmitTargetAndPayload {
|
|
9326
8279
|
/** Source. */
|
|
@@ -9396,6 +8349,31 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9396
8349
|
interface SavePermissionsPermissionEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermissionSchema> {
|
|
9397
8350
|
}
|
|
9398
8351
|
}
|
|
8352
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8353
|
+
interface SavePermissionsEmitPayload {
|
|
8354
|
+
'permissions': SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermission[];
|
|
8355
|
+
}
|
|
8356
|
+
interface SavePermissionsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
8357
|
+
id: 'savePermissionsEmitPayload';
|
|
8358
|
+
version: 'v2020_12_25';
|
|
8359
|
+
namespace: 'Mercury';
|
|
8360
|
+
name: '';
|
|
8361
|
+
fields: {
|
|
8362
|
+
/** . */
|
|
8363
|
+
'permissions': {
|
|
8364
|
+
type: 'schema';
|
|
8365
|
+
isRequired: true;
|
|
8366
|
+
isArray: true;
|
|
8367
|
+
minArrayLength: 1;
|
|
8368
|
+
options: {
|
|
8369
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermissionSchema;
|
|
8370
|
+
};
|
|
8371
|
+
};
|
|
8372
|
+
};
|
|
8373
|
+
}
|
|
8374
|
+
interface SavePermissionsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitPayloadSchema> {
|
|
8375
|
+
}
|
|
8376
|
+
}
|
|
9399
8377
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9400
8378
|
interface SavePermissionsResponsePayload {
|
|
9401
8379
|
'success': boolean;
|
|
@@ -9532,47 +8510,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9532
8510
|
interface SendMessageTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema> {
|
|
9533
8511
|
}
|
|
9534
8512
|
}
|
|
9535
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9536
|
-
interface SendMessageEmitTargetAndPayload {
|
|
9537
|
-
/** Source. */
|
|
9538
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
9539
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.SendMessageTarget | undefined | null;
|
|
9540
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayload;
|
|
9541
|
-
}
|
|
9542
|
-
interface SendMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
9543
|
-
id: 'sendMessageEmitTargetAndPayload';
|
|
9544
|
-
version: 'v2020_12_25';
|
|
9545
|
-
namespace: 'Mercury';
|
|
9546
|
-
name: '';
|
|
9547
|
-
fields: {
|
|
9548
|
-
/** Source. */
|
|
9549
|
-
'source': {
|
|
9550
|
-
label: 'Source';
|
|
9551
|
-
type: 'schema';
|
|
9552
|
-
options: {
|
|
9553
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
9554
|
-
};
|
|
9555
|
-
};
|
|
9556
|
-
/** . */
|
|
9557
|
-
'target': {
|
|
9558
|
-
type: 'schema';
|
|
9559
|
-
options: {
|
|
9560
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema;
|
|
9561
|
-
};
|
|
9562
|
-
};
|
|
9563
|
-
/** . */
|
|
9564
|
-
'payload': {
|
|
9565
|
-
type: 'schema';
|
|
9566
|
-
isRequired: true;
|
|
9567
|
-
options: {
|
|
9568
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema;
|
|
9569
|
-
};
|
|
9570
|
-
};
|
|
9571
|
-
};
|
|
9572
|
-
}
|
|
9573
|
-
interface SendMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitTargetAndPayloadSchema> {
|
|
9574
|
-
}
|
|
9575
|
-
}
|
|
9576
8513
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9577
8514
|
interface SendMessageMessagePayload {
|
|
9578
8515
|
/** . An arbitrary id that can be used to track this message when being sent and not yet assigned an Id. */
|
|
@@ -9680,6 +8617,47 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9680
8617
|
interface SendMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema> {
|
|
9681
8618
|
}
|
|
9682
8619
|
}
|
|
8620
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8621
|
+
interface SendMessageEmitTargetAndPayload {
|
|
8622
|
+
/** Source. */
|
|
8623
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8624
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.SendMessageTarget | undefined | null;
|
|
8625
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayload;
|
|
8626
|
+
}
|
|
8627
|
+
interface SendMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8628
|
+
id: 'sendMessageEmitTargetAndPayload';
|
|
8629
|
+
version: 'v2020_12_25';
|
|
8630
|
+
namespace: 'Mercury';
|
|
8631
|
+
name: '';
|
|
8632
|
+
fields: {
|
|
8633
|
+
/** Source. */
|
|
8634
|
+
'source': {
|
|
8635
|
+
label: 'Source';
|
|
8636
|
+
type: 'schema';
|
|
8637
|
+
options: {
|
|
8638
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
8639
|
+
};
|
|
8640
|
+
};
|
|
8641
|
+
/** . */
|
|
8642
|
+
'target': {
|
|
8643
|
+
type: 'schema';
|
|
8644
|
+
options: {
|
|
8645
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema;
|
|
8646
|
+
};
|
|
8647
|
+
};
|
|
8648
|
+
/** . */
|
|
8649
|
+
'payload': {
|
|
8650
|
+
type: 'schema';
|
|
8651
|
+
isRequired: true;
|
|
8652
|
+
options: {
|
|
8653
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema;
|
|
8654
|
+
};
|
|
8655
|
+
};
|
|
8656
|
+
};
|
|
8657
|
+
}
|
|
8658
|
+
interface SendMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitTargetAndPayloadSchema> {
|
|
8659
|
+
}
|
|
8660
|
+
}
|
|
9683
8661
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9684
8662
|
interface SendMessageResponsePayload {
|
|
9685
8663
|
'message': SpruceSchemas.Spruce.v2020_07_22.Message;
|
|
@@ -10040,60 +9018,60 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
10040
9018
|
}
|
|
10041
9019
|
}
|
|
10042
9020
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
10043
|
-
interface
|
|
10044
|
-
|
|
9021
|
+
interface SyncEventContractsEmitTargetAndPayload {
|
|
9022
|
+
/** Source. */
|
|
9023
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
9024
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitPayload;
|
|
10045
9025
|
}
|
|
10046
|
-
interface
|
|
10047
|
-
id: '
|
|
9026
|
+
interface SyncEventContractsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
9027
|
+
id: 'syncEventContractsEmitTargetAndPayload';
|
|
10048
9028
|
version: 'v2020_12_25';
|
|
10049
9029
|
namespace: 'Mercury';
|
|
10050
9030
|
name: '';
|
|
10051
|
-
importsWhenRemote: ['import \'@sprucelabs/mercury-types\''];
|
|
10052
9031
|
fields: {
|
|
9032
|
+
/** Source. */
|
|
9033
|
+
'source': {
|
|
9034
|
+
label: 'Source';
|
|
9035
|
+
type: 'schema';
|
|
9036
|
+
options: {
|
|
9037
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
9038
|
+
};
|
|
9039
|
+
};
|
|
10053
9040
|
/** . */
|
|
10054
|
-
'
|
|
9041
|
+
'payload': {
|
|
10055
9042
|
type: 'schema';
|
|
10056
9043
|
isRequired: true;
|
|
10057
9044
|
options: {
|
|
10058
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
9045
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitPayloadSchema;
|
|
10059
9046
|
};
|
|
10060
9047
|
};
|
|
10061
9048
|
};
|
|
10062
9049
|
}
|
|
10063
|
-
interface
|
|
9050
|
+
interface SyncEventContractsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitTargetAndPayloadSchema> {
|
|
10064
9051
|
}
|
|
10065
9052
|
}
|
|
10066
9053
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
10067
|
-
interface
|
|
10068
|
-
|
|
10069
|
-
|
|
10070
|
-
|
|
10071
|
-
|
|
10072
|
-
interface SyncEventContractsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
10073
|
-
id: 'syncEventContractsEmitTargetAndPayload';
|
|
9054
|
+
interface SyncEventContractsEmitPayload {
|
|
9055
|
+
'contract': SpruceSchemas.Mercury.v2020_12_25.EventContract;
|
|
9056
|
+
}
|
|
9057
|
+
interface SyncEventContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
9058
|
+
id: 'syncEventContractsEmitPayload';
|
|
10074
9059
|
version: 'v2020_12_25';
|
|
10075
9060
|
namespace: 'Mercury';
|
|
10076
9061
|
name: '';
|
|
9062
|
+
importsWhenRemote: ['import \'@sprucelabs/mercury-types\''];
|
|
10077
9063
|
fields: {
|
|
10078
|
-
/** Source. */
|
|
10079
|
-
'source': {
|
|
10080
|
-
label: 'Source';
|
|
10081
|
-
type: 'schema';
|
|
10082
|
-
options: {
|
|
10083
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
10084
|
-
};
|
|
10085
|
-
};
|
|
10086
9064
|
/** . */
|
|
10087
|
-
'
|
|
9065
|
+
'contract': {
|
|
10088
9066
|
type: 'schema';
|
|
10089
9067
|
isRequired: true;
|
|
10090
9068
|
options: {
|
|
10091
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
9069
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.EventContractSchema;
|
|
10092
9070
|
};
|
|
10093
9071
|
};
|
|
10094
9072
|
};
|
|
10095
9073
|
}
|
|
10096
|
-
interface
|
|
9074
|
+
interface SyncEventContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitPayloadSchema> {
|
|
10097
9075
|
}
|
|
10098
9076
|
}
|
|
10099
9077
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
@@ -10148,31 +9126,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
10148
9126
|
interface SyncPermissionContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsEmitPayloadSchema> {
|
|
10149
9127
|
}
|
|
10150
9128
|
}
|
|
10151
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
10152
|
-
interface SyncPermissionContractsResponsePayload {
|
|
10153
|
-
'contractRecords': SpruceSchemas.Mercury.v2020_12_25.FullPermissionContract[];
|
|
10154
|
-
}
|
|
10155
|
-
interface SyncPermissionContractsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
10156
|
-
id: 'syncPermissionContractsResponsePayload';
|
|
10157
|
-
version: 'v2020_12_25';
|
|
10158
|
-
namespace: 'Mercury';
|
|
10159
|
-
name: '';
|
|
10160
|
-
fields: {
|
|
10161
|
-
/** . */
|
|
10162
|
-
'contractRecords': {
|
|
10163
|
-
type: 'schema';
|
|
10164
|
-
isRequired: true;
|
|
10165
|
-
isArray: true;
|
|
10166
|
-
minArrayLength: 0;
|
|
10167
|
-
options: {
|
|
10168
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema;
|
|
10169
|
-
};
|
|
10170
|
-
};
|
|
10171
|
-
};
|
|
10172
|
-
}
|
|
10173
|
-
interface SyncPermissionContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsResponsePayloadSchema> {
|
|
10174
|
-
}
|
|
10175
|
-
}
|
|
10176
9129
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
10177
9130
|
interface SyncPermissionContractsEmitTargetAndPayload {
|
|
10178
9131
|
/** Source. */
|
|
@@ -10258,6 +9211,31 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
10258
9211
|
interface FullPermissionContractEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema> {
|
|
10259
9212
|
}
|
|
10260
9213
|
}
|
|
9214
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9215
|
+
interface SyncPermissionContractsResponsePayload {
|
|
9216
|
+
'contractRecords': SpruceSchemas.Mercury.v2020_12_25.FullPermissionContract[];
|
|
9217
|
+
}
|
|
9218
|
+
interface SyncPermissionContractsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
9219
|
+
id: 'syncPermissionContractsResponsePayload';
|
|
9220
|
+
version: 'v2020_12_25';
|
|
9221
|
+
namespace: 'Mercury';
|
|
9222
|
+
name: '';
|
|
9223
|
+
fields: {
|
|
9224
|
+
/** . */
|
|
9225
|
+
'contractRecords': {
|
|
9226
|
+
type: 'schema';
|
|
9227
|
+
isRequired: true;
|
|
9228
|
+
isArray: true;
|
|
9229
|
+
minArrayLength: 0;
|
|
9230
|
+
options: {
|
|
9231
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema;
|
|
9232
|
+
};
|
|
9233
|
+
};
|
|
9234
|
+
};
|
|
9235
|
+
}
|
|
9236
|
+
interface SyncPermissionContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsResponsePayloadSchema> {
|
|
9237
|
+
}
|
|
9238
|
+
}
|
|
10261
9239
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
10262
9240
|
interface UnInstallSkillEmitTarget {
|
|
10263
9241
|
'skillId': string;
|
|
@@ -13137,184 +12115,1104 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13137
12115
|
}];
|
|
13138
12116
|
};
|
|
13139
12117
|
};
|
|
13140
|
-
/** Avatar src. */
|
|
13141
|
-
'avatar': {
|
|
13142
|
-
label: 'Avatar src';
|
|
13143
|
-
type: 'image';
|
|
12118
|
+
/** Avatar src. */
|
|
12119
|
+
'avatar': {
|
|
12120
|
+
label: 'Avatar src';
|
|
12121
|
+
type: 'image';
|
|
12122
|
+
options: {
|
|
12123
|
+
requiredSizes: ["*"];
|
|
12124
|
+
};
|
|
12125
|
+
};
|
|
12126
|
+
/** Phone. A number that can be texted */
|
|
12127
|
+
'phone': {
|
|
12128
|
+
label: 'Phone';
|
|
12129
|
+
type: 'phone';
|
|
12130
|
+
isPrivate: true;
|
|
12131
|
+
hint: 'A number that can be texted';
|
|
12132
|
+
options: undefined;
|
|
12133
|
+
};
|
|
12134
|
+
/** Username. An optional username if the person does not want to login using their phone */
|
|
12135
|
+
'username': {
|
|
12136
|
+
label: 'Username';
|
|
12137
|
+
type: 'text';
|
|
12138
|
+
isPrivate: true;
|
|
12139
|
+
hint: 'An optional username if the person does not want to login using their phone';
|
|
12140
|
+
options: undefined;
|
|
12141
|
+
};
|
|
12142
|
+
/** . */
|
|
12143
|
+
'password': {
|
|
12144
|
+
type: 'text';
|
|
12145
|
+
options: undefined;
|
|
12146
|
+
};
|
|
12147
|
+
/** . */
|
|
12148
|
+
'securityQuestions': {
|
|
12149
|
+
type: 'schema';
|
|
12150
|
+
isArray: true;
|
|
12151
|
+
options: {
|
|
12152
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SecurityQuestionSchema;
|
|
12153
|
+
};
|
|
12154
|
+
};
|
|
12155
|
+
};
|
|
12156
|
+
}
|
|
12157
|
+
interface UpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema> {
|
|
12158
|
+
}
|
|
12159
|
+
}
|
|
12160
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12161
|
+
interface UpdatePersonEmitTargetAndPayload {
|
|
12162
|
+
/** Source. */
|
|
12163
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12164
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTarget | undefined | null;
|
|
12165
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayload | undefined | null;
|
|
12166
|
+
}
|
|
12167
|
+
interface UpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12168
|
+
id: 'updatePersonEmitTargetAndPayload';
|
|
12169
|
+
version: 'v2020_12_25';
|
|
12170
|
+
namespace: 'Mercury';
|
|
12171
|
+
name: '';
|
|
12172
|
+
fields: {
|
|
12173
|
+
/** Source. */
|
|
12174
|
+
'source': {
|
|
12175
|
+
label: 'Source';
|
|
12176
|
+
type: 'schema';
|
|
12177
|
+
options: {
|
|
12178
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12179
|
+
};
|
|
12180
|
+
};
|
|
12181
|
+
/** . */
|
|
12182
|
+
'target': {
|
|
12183
|
+
type: 'schema';
|
|
12184
|
+
options: {
|
|
12185
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetSchema;
|
|
12186
|
+
};
|
|
12187
|
+
};
|
|
12188
|
+
/** . */
|
|
12189
|
+
'payload': {
|
|
12190
|
+
type: 'schema';
|
|
12191
|
+
options: {
|
|
12192
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema;
|
|
12193
|
+
};
|
|
12194
|
+
};
|
|
12195
|
+
};
|
|
12196
|
+
}
|
|
12197
|
+
interface UpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetAndPayloadSchema> {
|
|
12198
|
+
}
|
|
12199
|
+
}
|
|
12200
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12201
|
+
interface UpdatePersonResponsePayload {
|
|
12202
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
12203
|
+
}
|
|
12204
|
+
interface UpdatePersonResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12205
|
+
id: 'updatePersonResponsePayload';
|
|
12206
|
+
version: 'v2020_12_25';
|
|
12207
|
+
namespace: 'Mercury';
|
|
12208
|
+
name: '';
|
|
12209
|
+
fields: {
|
|
12210
|
+
/** . */
|
|
12211
|
+
'person': {
|
|
12212
|
+
type: 'schema';
|
|
12213
|
+
isRequired: true;
|
|
12214
|
+
options: {
|
|
12215
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
12216
|
+
};
|
|
12217
|
+
};
|
|
12218
|
+
};
|
|
12219
|
+
}
|
|
12220
|
+
interface UpdatePersonResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonResponsePayloadSchema> {
|
|
12221
|
+
}
|
|
12222
|
+
}
|
|
12223
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12224
|
+
interface UpdateRoleEmitTarget {
|
|
12225
|
+
'roleId': string;
|
|
12226
|
+
}
|
|
12227
|
+
interface UpdateRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
12228
|
+
id: 'updateRoleEmitTarget';
|
|
12229
|
+
version: 'v2020_12_25';
|
|
12230
|
+
namespace: 'Mercury';
|
|
12231
|
+
name: '';
|
|
12232
|
+
fields: {
|
|
12233
|
+
/** . */
|
|
12234
|
+
'roleId': {
|
|
12235
|
+
type: 'id';
|
|
12236
|
+
isRequired: true;
|
|
12237
|
+
options: undefined;
|
|
12238
|
+
};
|
|
12239
|
+
};
|
|
12240
|
+
}
|
|
12241
|
+
interface UpdateRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema> {
|
|
12242
|
+
}
|
|
12243
|
+
}
|
|
12244
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12245
|
+
interface UpdateRoleEmitPayload {
|
|
12246
|
+
/** Name. */
|
|
12247
|
+
'name'?: string | undefined | null;
|
|
12248
|
+
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
12249
|
+
'base'?: ("owner" | "groupManager" | "manager" | "teammate" | "anonymous" | "loggedIn" | "guest") | undefined | null;
|
|
12250
|
+
/** Description. */
|
|
12251
|
+
'description'?: string | undefined | null;
|
|
12252
|
+
'dateDeleted'?: number | undefined | null;
|
|
12253
|
+
'organizationId'?: string | undefined | null;
|
|
12254
|
+
/** Public. Should I let people that are not part of this organization this role? */
|
|
12255
|
+
'isPublic'?: boolean | undefined | null;
|
|
12256
|
+
}
|
|
12257
|
+
interface UpdateRoleEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12258
|
+
id: 'updateRoleEmitPayload';
|
|
12259
|
+
version: 'v2020_12_25';
|
|
12260
|
+
namespace: 'Mercury';
|
|
12261
|
+
name: '';
|
|
12262
|
+
fields: {
|
|
12263
|
+
/** Name. */
|
|
12264
|
+
'name': {
|
|
12265
|
+
label: 'Name';
|
|
12266
|
+
type: 'text';
|
|
12267
|
+
options: undefined;
|
|
12268
|
+
};
|
|
12269
|
+
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
12270
|
+
'base': {
|
|
12271
|
+
label: 'Base';
|
|
12272
|
+
type: 'select';
|
|
12273
|
+
hint: 'A best practices starting point for a role based on the generalized roles at a company.';
|
|
12274
|
+
options: {
|
|
12275
|
+
choices: [{
|
|
12276
|
+
"label": "Owner";
|
|
12277
|
+
"value": "owner";
|
|
12278
|
+
}, {
|
|
12279
|
+
"label": "Group manager";
|
|
12280
|
+
"value": "groupManager";
|
|
12281
|
+
}, {
|
|
12282
|
+
"label": "Manager";
|
|
12283
|
+
"value": "manager";
|
|
12284
|
+
}, {
|
|
12285
|
+
"label": "Teammate";
|
|
12286
|
+
"value": "teammate";
|
|
12287
|
+
}, {
|
|
12288
|
+
"label": "Anonymous";
|
|
12289
|
+
"value": "anonymous";
|
|
12290
|
+
}, {
|
|
12291
|
+
"label": "Logged in";
|
|
12292
|
+
"value": "loggedIn";
|
|
12293
|
+
}, {
|
|
12294
|
+
"label": "Guest";
|
|
12295
|
+
"value": "guest";
|
|
12296
|
+
}];
|
|
12297
|
+
};
|
|
12298
|
+
};
|
|
12299
|
+
/** Description. */
|
|
12300
|
+
'description': {
|
|
12301
|
+
label: 'Description';
|
|
12302
|
+
type: 'text';
|
|
12303
|
+
options: undefined;
|
|
12304
|
+
};
|
|
12305
|
+
/** . */
|
|
12306
|
+
'dateDeleted': {
|
|
12307
|
+
type: 'number';
|
|
12308
|
+
options: undefined;
|
|
12309
|
+
};
|
|
12310
|
+
/** . */
|
|
12311
|
+
'organizationId': {
|
|
12312
|
+
type: 'id';
|
|
12313
|
+
options: undefined;
|
|
12314
|
+
};
|
|
12315
|
+
/** Public. Should I let people that are not part of this organization this role? */
|
|
12316
|
+
'isPublic': {
|
|
12317
|
+
label: 'Public';
|
|
12318
|
+
type: 'boolean';
|
|
12319
|
+
hint: 'Should I let people that are not part of this organization this role?';
|
|
12320
|
+
options: undefined;
|
|
12321
|
+
};
|
|
12322
|
+
};
|
|
12323
|
+
}
|
|
12324
|
+
interface UpdateRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema> {
|
|
12325
|
+
}
|
|
12326
|
+
}
|
|
12327
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12328
|
+
interface UpdateRoleEmitTargetAndPayload {
|
|
12329
|
+
/** Source. */
|
|
12330
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12331
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTarget;
|
|
12332
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayload | undefined | null;
|
|
12333
|
+
}
|
|
12334
|
+
interface UpdateRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12335
|
+
id: 'updateRoleEmitTargetAndPayload';
|
|
12336
|
+
version: 'v2020_12_25';
|
|
12337
|
+
namespace: 'Mercury';
|
|
12338
|
+
name: '';
|
|
12339
|
+
fields: {
|
|
12340
|
+
/** Source. */
|
|
12341
|
+
'source': {
|
|
12342
|
+
label: 'Source';
|
|
12343
|
+
type: 'schema';
|
|
12344
|
+
options: {
|
|
12345
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12346
|
+
};
|
|
12347
|
+
};
|
|
12348
|
+
/** . */
|
|
12349
|
+
'target': {
|
|
12350
|
+
type: 'schema';
|
|
12351
|
+
isRequired: true;
|
|
12352
|
+
options: {
|
|
12353
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema;
|
|
12354
|
+
};
|
|
12355
|
+
};
|
|
12356
|
+
/** . */
|
|
12357
|
+
'payload': {
|
|
12358
|
+
type: 'schema';
|
|
12359
|
+
options: {
|
|
12360
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema;
|
|
12361
|
+
};
|
|
12362
|
+
};
|
|
12363
|
+
};
|
|
12364
|
+
}
|
|
12365
|
+
interface UpdateRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetAndPayloadSchema> {
|
|
12366
|
+
}
|
|
12367
|
+
}
|
|
12368
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12369
|
+
interface UpdateRoleResponsePayload {
|
|
12370
|
+
'role': SpruceSchemas.Spruce.v2020_07_22.Role;
|
|
12371
|
+
}
|
|
12372
|
+
interface UpdateRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12373
|
+
id: 'updateRoleResponsePayload';
|
|
12374
|
+
version: 'v2020_12_25';
|
|
12375
|
+
namespace: 'Mercury';
|
|
12376
|
+
name: '';
|
|
12377
|
+
fields: {
|
|
12378
|
+
/** . */
|
|
12379
|
+
'role': {
|
|
12380
|
+
type: 'schema';
|
|
12381
|
+
isRequired: true;
|
|
12382
|
+
options: {
|
|
12383
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.RoleSchema;
|
|
12384
|
+
};
|
|
12385
|
+
};
|
|
12386
|
+
};
|
|
12387
|
+
}
|
|
12388
|
+
interface UpdateRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleResponsePayloadSchema> {
|
|
12389
|
+
}
|
|
12390
|
+
}
|
|
12391
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12392
|
+
interface UpsertPermissionContractEmitTarget {
|
|
12393
|
+
'organizationId': string;
|
|
12394
|
+
'permissionContractId': string;
|
|
12395
|
+
'roleId': string;
|
|
12396
|
+
'skillId'?: string | undefined | null;
|
|
12397
|
+
}
|
|
12398
|
+
interface UpsertPermissionContractEmitTargetSchema extends SpruceSchema.Schema {
|
|
12399
|
+
id: 'upsertPermissionContractEmitTarget';
|
|
12400
|
+
version: 'v2020_12_25';
|
|
12401
|
+
namespace: 'Mercury';
|
|
12402
|
+
name: '';
|
|
12403
|
+
fields: {
|
|
12404
|
+
/** . */
|
|
12405
|
+
'organizationId': {
|
|
12406
|
+
type: 'id';
|
|
12407
|
+
isRequired: true;
|
|
12408
|
+
options: undefined;
|
|
12409
|
+
};
|
|
12410
|
+
/** . */
|
|
12411
|
+
'permissionContractId': {
|
|
12412
|
+
type: 'id';
|
|
12413
|
+
isRequired: true;
|
|
12414
|
+
options: undefined;
|
|
12415
|
+
};
|
|
12416
|
+
/** . */
|
|
12417
|
+
'roleId': {
|
|
12418
|
+
type: 'id';
|
|
12419
|
+
isRequired: true;
|
|
12420
|
+
options: undefined;
|
|
12421
|
+
};
|
|
12422
|
+
/** . */
|
|
12423
|
+
'skillId': {
|
|
12424
|
+
type: 'id';
|
|
12425
|
+
options: undefined;
|
|
12426
|
+
};
|
|
12427
|
+
};
|
|
12428
|
+
}
|
|
12429
|
+
interface UpsertPermissionContractEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema> {
|
|
12430
|
+
}
|
|
12431
|
+
}
|
|
12432
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12433
|
+
interface UpsertPermissionContractEmitTargetAndPayload {
|
|
12434
|
+
/** Source. */
|
|
12435
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12436
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTarget;
|
|
12437
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayload;
|
|
12438
|
+
}
|
|
12439
|
+
interface UpsertPermissionContractEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12440
|
+
id: 'upsertPermissionContractEmitTargetAndPayload';
|
|
12441
|
+
version: 'v2020_12_25';
|
|
12442
|
+
namespace: 'Mercury';
|
|
12443
|
+
name: '';
|
|
12444
|
+
fields: {
|
|
12445
|
+
/** Source. */
|
|
12446
|
+
'source': {
|
|
12447
|
+
label: 'Source';
|
|
12448
|
+
type: 'schema';
|
|
12449
|
+
options: {
|
|
12450
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12451
|
+
};
|
|
12452
|
+
};
|
|
12453
|
+
/** . */
|
|
12454
|
+
'target': {
|
|
12455
|
+
type: 'schema';
|
|
12456
|
+
isRequired: true;
|
|
12457
|
+
options: {
|
|
12458
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema;
|
|
12459
|
+
};
|
|
12460
|
+
};
|
|
12461
|
+
/** . */
|
|
12462
|
+
'payload': {
|
|
12463
|
+
type: 'schema';
|
|
12464
|
+
isRequired: true;
|
|
12465
|
+
options: {
|
|
12466
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema;
|
|
12467
|
+
};
|
|
12468
|
+
};
|
|
12469
|
+
};
|
|
12470
|
+
}
|
|
12471
|
+
interface UpsertPermissionContractEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetAndPayloadSchema> {
|
|
12472
|
+
}
|
|
12473
|
+
}
|
|
12474
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12475
|
+
interface UpsertPermissionContractsEmitPayload {
|
|
12476
|
+
/** Name. Human readable name for this contract */
|
|
12477
|
+
'name': string;
|
|
12478
|
+
/** Description. */
|
|
12479
|
+
'description'?: string | undefined | null;
|
|
12480
|
+
/** Require all permissions. */
|
|
12481
|
+
'requireAllPermissions'?: boolean | undefined | null;
|
|
12482
|
+
'permissions': SpruceSchemas.Mercury.v2020_12_25.Permission[];
|
|
12483
|
+
}
|
|
12484
|
+
interface UpsertPermissionContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12485
|
+
id: 'upsertPermissionContractsEmitPayload';
|
|
12486
|
+
version: 'v2020_12_25';
|
|
12487
|
+
namespace: 'Mercury';
|
|
12488
|
+
name: '';
|
|
12489
|
+
fields: {
|
|
12490
|
+
/** Name. Human readable name for this contract */
|
|
12491
|
+
'name': {
|
|
12492
|
+
label: 'Name';
|
|
12493
|
+
type: 'text';
|
|
12494
|
+
isRequired: true;
|
|
12495
|
+
hint: 'Human readable name for this contract';
|
|
12496
|
+
options: undefined;
|
|
12497
|
+
};
|
|
12498
|
+
/** Description. */
|
|
12499
|
+
'description': {
|
|
12500
|
+
label: 'Description';
|
|
12501
|
+
type: 'text';
|
|
12502
|
+
options: undefined;
|
|
12503
|
+
};
|
|
12504
|
+
/** Require all permissions. */
|
|
12505
|
+
'requireAllPermissions': {
|
|
12506
|
+
label: 'Require all permissions';
|
|
12507
|
+
type: 'boolean';
|
|
12508
|
+
defaultValue: false;
|
|
12509
|
+
options: undefined;
|
|
12510
|
+
};
|
|
12511
|
+
/** . */
|
|
12512
|
+
'permissions': {
|
|
12513
|
+
type: 'schema';
|
|
12514
|
+
isRequired: true;
|
|
12515
|
+
isArray: true;
|
|
12516
|
+
minArrayLength: 0;
|
|
12517
|
+
options: {
|
|
12518
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionSchema;
|
|
12519
|
+
};
|
|
12520
|
+
};
|
|
12521
|
+
};
|
|
12522
|
+
}
|
|
12523
|
+
interface UpsertPermissionContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema> {
|
|
12524
|
+
}
|
|
12525
|
+
}
|
|
12526
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12527
|
+
interface UpsertPermissionContractResponsePayload {
|
|
12528
|
+
'permissionContract': SpruceSchemas.Mercury.v2020_12_25.PermissionContract;
|
|
12529
|
+
}
|
|
12530
|
+
interface UpsertPermissionContractResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12531
|
+
id: 'upsertPermissionContractResponsePayload';
|
|
12532
|
+
version: 'v2020_12_25';
|
|
12533
|
+
namespace: 'Mercury';
|
|
12534
|
+
name: '';
|
|
12535
|
+
fields: {
|
|
12536
|
+
/** . */
|
|
12537
|
+
'permissionContract': {
|
|
12538
|
+
type: 'schema';
|
|
12539
|
+
isRequired: true;
|
|
12540
|
+
options: {
|
|
12541
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionContractSchema;
|
|
12542
|
+
};
|
|
12543
|
+
};
|
|
12544
|
+
};
|
|
12545
|
+
}
|
|
12546
|
+
interface UpsertPermissionContractResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractResponsePayloadSchema> {
|
|
12547
|
+
}
|
|
12548
|
+
}
|
|
12549
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12550
|
+
interface VoteForFeatureEmitPayload {
|
|
12551
|
+
'featureKey': string;
|
|
12552
|
+
'skillNamespace': string;
|
|
12553
|
+
}
|
|
12554
|
+
interface VoteForFeatureEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12555
|
+
id: 'voteForFeatureEmitPayload';
|
|
12556
|
+
version: 'v2020_12_25';
|
|
12557
|
+
namespace: 'Mercury';
|
|
12558
|
+
name: '';
|
|
12559
|
+
fields: {
|
|
12560
|
+
/** . */
|
|
12561
|
+
'featureKey': {
|
|
12562
|
+
type: 'id';
|
|
12563
|
+
isRequired: true;
|
|
12564
|
+
options: undefined;
|
|
12565
|
+
};
|
|
12566
|
+
/** . */
|
|
12567
|
+
'skillNamespace': {
|
|
12568
|
+
type: 'id';
|
|
12569
|
+
isRequired: true;
|
|
12570
|
+
options: undefined;
|
|
12571
|
+
};
|
|
12572
|
+
};
|
|
12573
|
+
}
|
|
12574
|
+
interface VoteForFeatureEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema> {
|
|
12575
|
+
}
|
|
12576
|
+
}
|
|
12577
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12578
|
+
interface VoteForFeatureEmitTargetAndPayload {
|
|
12579
|
+
/** Source. */
|
|
12580
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12581
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayload;
|
|
12582
|
+
}
|
|
12583
|
+
interface VoteForFeatureEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12584
|
+
id: 'voteForFeatureEmitTargetAndPayload';
|
|
12585
|
+
version: 'v2020_12_25';
|
|
12586
|
+
namespace: 'Mercury';
|
|
12587
|
+
name: '';
|
|
12588
|
+
fields: {
|
|
12589
|
+
/** Source. */
|
|
12590
|
+
'source': {
|
|
12591
|
+
label: 'Source';
|
|
12592
|
+
type: 'schema';
|
|
12593
|
+
options: {
|
|
12594
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12595
|
+
};
|
|
12596
|
+
};
|
|
12597
|
+
/** . */
|
|
12598
|
+
'payload': {
|
|
12599
|
+
type: 'schema';
|
|
12600
|
+
isRequired: true;
|
|
12601
|
+
options: {
|
|
12602
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema;
|
|
12603
|
+
};
|
|
12604
|
+
};
|
|
12605
|
+
};
|
|
12606
|
+
}
|
|
12607
|
+
interface VoteForFeatureEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitTargetAndPayloadSchema> {
|
|
12608
|
+
}
|
|
12609
|
+
}
|
|
12610
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12611
|
+
interface VoteForFeatureResponsePayload {
|
|
12612
|
+
'totalVotes': number;
|
|
12613
|
+
}
|
|
12614
|
+
interface VoteForFeatureResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12615
|
+
id: 'voteForFeatureResponsePayload';
|
|
12616
|
+
version: 'v2020_12_25';
|
|
12617
|
+
namespace: 'Mercury';
|
|
12618
|
+
name: '';
|
|
12619
|
+
fields: {
|
|
12620
|
+
/** . */
|
|
12621
|
+
'totalVotes': {
|
|
12622
|
+
type: 'number';
|
|
12623
|
+
isRequired: true;
|
|
12624
|
+
options: undefined;
|
|
12625
|
+
};
|
|
12626
|
+
};
|
|
12627
|
+
}
|
|
12628
|
+
interface VoteForFeatureResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureResponsePayloadSchema> {
|
|
12629
|
+
}
|
|
12630
|
+
}
|
|
12631
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12632
|
+
interface WhoamiEmitTargetAndPayload {
|
|
12633
|
+
/** Source. */
|
|
12634
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12635
|
+
}
|
|
12636
|
+
interface WhoamiEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12637
|
+
id: 'whoamiEmitTargetAndPayload';
|
|
12638
|
+
version: 'v2020_12_25';
|
|
12639
|
+
namespace: 'Mercury';
|
|
12640
|
+
name: '';
|
|
12641
|
+
fields: {
|
|
12642
|
+
/** Source. */
|
|
12643
|
+
'source': {
|
|
12644
|
+
label: 'Source';
|
|
12645
|
+
type: 'schema';
|
|
12646
|
+
options: {
|
|
12647
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12648
|
+
};
|
|
12649
|
+
};
|
|
12650
|
+
};
|
|
12651
|
+
}
|
|
12652
|
+
interface WhoamiEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.WhoamiEmitTargetAndPayloadSchema> {
|
|
12653
|
+
}
|
|
12654
|
+
}
|
|
12655
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12656
|
+
interface DidInstallEmitTarget {
|
|
12657
|
+
'organizationId': string;
|
|
12658
|
+
'skillId': string;
|
|
12659
|
+
}
|
|
12660
|
+
interface DidInstallEmitTargetSchema extends SpruceSchema.Schema {
|
|
12661
|
+
id: 'didInstallEmitTarget';
|
|
12662
|
+
version: 'v2020_12_25';
|
|
12663
|
+
namespace: 'Mercury';
|
|
12664
|
+
name: '';
|
|
12665
|
+
fields: {
|
|
12666
|
+
/** . */
|
|
12667
|
+
'organizationId': {
|
|
12668
|
+
type: 'id';
|
|
12669
|
+
isRequired: true;
|
|
12670
|
+
options: undefined;
|
|
12671
|
+
};
|
|
12672
|
+
/** . */
|
|
12673
|
+
'skillId': {
|
|
12674
|
+
type: 'id';
|
|
12675
|
+
isRequired: true;
|
|
12676
|
+
options: undefined;
|
|
12677
|
+
};
|
|
12678
|
+
};
|
|
12679
|
+
}
|
|
12680
|
+
interface DidInstallEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema> {
|
|
12681
|
+
}
|
|
12682
|
+
}
|
|
12683
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12684
|
+
interface DidInstallEmitTargetAndPayload {
|
|
12685
|
+
/** Source. */
|
|
12686
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12687
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTarget;
|
|
12688
|
+
}
|
|
12689
|
+
interface DidInstallEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12690
|
+
id: 'didInstallEmitTargetAndPayload';
|
|
12691
|
+
version: 'v2020_12_25';
|
|
12692
|
+
namespace: 'Mercury';
|
|
12693
|
+
name: '';
|
|
12694
|
+
fields: {
|
|
12695
|
+
/** Source. */
|
|
12696
|
+
'source': {
|
|
12697
|
+
label: 'Source';
|
|
12698
|
+
type: 'schema';
|
|
12699
|
+
options: {
|
|
12700
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12701
|
+
};
|
|
12702
|
+
};
|
|
12703
|
+
/** . */
|
|
12704
|
+
'target': {
|
|
12705
|
+
type: 'schema';
|
|
12706
|
+
isRequired: true;
|
|
12707
|
+
options: {
|
|
12708
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema;
|
|
12709
|
+
};
|
|
12710
|
+
};
|
|
12711
|
+
};
|
|
12712
|
+
}
|
|
12713
|
+
interface DidInstallEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetAndPayloadSchema> {
|
|
12714
|
+
}
|
|
12715
|
+
}
|
|
12716
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12717
|
+
interface DidInstallResponsePayload {
|
|
12718
|
+
}
|
|
12719
|
+
interface DidInstallResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12720
|
+
id: 'didInstallResponsePayload';
|
|
12721
|
+
version: 'v2020_12_25';
|
|
12722
|
+
namespace: 'Mercury';
|
|
12723
|
+
name: '';
|
|
12724
|
+
fields: {};
|
|
12725
|
+
}
|
|
12726
|
+
interface DidInstallResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallResponsePayloadSchema> {
|
|
12727
|
+
}
|
|
12728
|
+
}
|
|
12729
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12730
|
+
interface DidJoinOrganizationEmitTarget {
|
|
12731
|
+
'organizationId': string;
|
|
12732
|
+
'locationId'?: string | undefined | null;
|
|
12733
|
+
}
|
|
12734
|
+
interface DidJoinOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
12735
|
+
id: 'didJoinOrganizationEmitTarget';
|
|
12736
|
+
version: 'v2020_12_25';
|
|
12737
|
+
namespace: 'Mercury';
|
|
12738
|
+
name: '';
|
|
12739
|
+
fields: {
|
|
12740
|
+
/** . */
|
|
12741
|
+
'organizationId': {
|
|
12742
|
+
type: 'id';
|
|
12743
|
+
isRequired: true;
|
|
12744
|
+
options: undefined;
|
|
12745
|
+
};
|
|
12746
|
+
/** . */
|
|
12747
|
+
'locationId': {
|
|
12748
|
+
type: 'id';
|
|
12749
|
+
options: undefined;
|
|
12750
|
+
};
|
|
12751
|
+
};
|
|
12752
|
+
}
|
|
12753
|
+
interface DidJoinOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema> {
|
|
12754
|
+
}
|
|
12755
|
+
}
|
|
12756
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12757
|
+
interface DidJoinOrganizationEmitPayload {
|
|
12758
|
+
'personId': string;
|
|
12759
|
+
'roleId': string;
|
|
12760
|
+
'isFirstRole': boolean;
|
|
12761
|
+
}
|
|
12762
|
+
interface DidJoinOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12763
|
+
id: 'didJoinOrganizationEmitPayload';
|
|
12764
|
+
version: 'v2020_12_25';
|
|
12765
|
+
namespace: 'Mercury';
|
|
12766
|
+
name: '';
|
|
12767
|
+
fields: {
|
|
12768
|
+
/** . */
|
|
12769
|
+
'personId': {
|
|
12770
|
+
type: 'id';
|
|
12771
|
+
isRequired: true;
|
|
12772
|
+
options: undefined;
|
|
12773
|
+
};
|
|
12774
|
+
/** . */
|
|
12775
|
+
'roleId': {
|
|
12776
|
+
type: 'id';
|
|
12777
|
+
isRequired: true;
|
|
12778
|
+
options: undefined;
|
|
12779
|
+
};
|
|
12780
|
+
/** . */
|
|
12781
|
+
'isFirstRole': {
|
|
12782
|
+
type: 'boolean';
|
|
12783
|
+
isRequired: true;
|
|
12784
|
+
options: undefined;
|
|
12785
|
+
};
|
|
12786
|
+
};
|
|
12787
|
+
}
|
|
12788
|
+
interface DidJoinOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema> {
|
|
12789
|
+
}
|
|
12790
|
+
}
|
|
12791
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12792
|
+
interface DidJoinOrganizationEmitTargetAndPayload {
|
|
12793
|
+
/** Source. */
|
|
12794
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12795
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTarget;
|
|
12796
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayload;
|
|
12797
|
+
}
|
|
12798
|
+
interface DidJoinOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12799
|
+
id: 'didJoinOrganizationEmitTargetAndPayload';
|
|
12800
|
+
version: 'v2020_12_25';
|
|
12801
|
+
namespace: 'Mercury';
|
|
12802
|
+
name: '';
|
|
12803
|
+
fields: {
|
|
12804
|
+
/** Source. */
|
|
12805
|
+
'source': {
|
|
12806
|
+
label: 'Source';
|
|
12807
|
+
type: 'schema';
|
|
12808
|
+
options: {
|
|
12809
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12810
|
+
};
|
|
12811
|
+
};
|
|
12812
|
+
/** . */
|
|
12813
|
+
'target': {
|
|
12814
|
+
type: 'schema';
|
|
12815
|
+
isRequired: true;
|
|
12816
|
+
options: {
|
|
12817
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema;
|
|
12818
|
+
};
|
|
12819
|
+
};
|
|
12820
|
+
/** . */
|
|
12821
|
+
'payload': {
|
|
12822
|
+
type: 'schema';
|
|
12823
|
+
isRequired: true;
|
|
13144
12824
|
options: {
|
|
13145
|
-
|
|
12825
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema;
|
|
13146
12826
|
};
|
|
13147
12827
|
};
|
|
13148
|
-
|
|
13149
|
-
|
|
13150
|
-
|
|
13151
|
-
|
|
13152
|
-
|
|
13153
|
-
|
|
13154
|
-
|
|
13155
|
-
|
|
13156
|
-
|
|
13157
|
-
|
|
13158
|
-
|
|
12828
|
+
};
|
|
12829
|
+
}
|
|
12830
|
+
interface DidJoinOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetAndPayloadSchema> {
|
|
12831
|
+
}
|
|
12832
|
+
}
|
|
12833
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12834
|
+
interface MessageTemplateAddons {
|
|
12835
|
+
'nextINeedYouTo'?: string[] | undefined | null;
|
|
12836
|
+
'youShouldKnowThat'?: string[] | undefined | null;
|
|
12837
|
+
'links'?: SpruceSchemas.Spruce.v2020_07_22.Link[] | undefined | null;
|
|
12838
|
+
}
|
|
12839
|
+
interface MessageTemplateAddonsSchema extends SpruceSchema.Schema {
|
|
12840
|
+
id: 'messageTemplateAddons';
|
|
12841
|
+
version: 'v2020_12_25';
|
|
12842
|
+
namespace: 'Mercury';
|
|
12843
|
+
name: '';
|
|
12844
|
+
fields: {
|
|
12845
|
+
/** . */
|
|
12846
|
+
'nextINeedYouTo': {
|
|
13159
12847
|
type: 'text';
|
|
13160
|
-
|
|
13161
|
-
hint: 'An optional username if the person does not want to login using their phone';
|
|
12848
|
+
isArray: true;
|
|
13162
12849
|
options: undefined;
|
|
13163
12850
|
};
|
|
13164
12851
|
/** . */
|
|
13165
|
-
'
|
|
12852
|
+
'youShouldKnowThat': {
|
|
13166
12853
|
type: 'text';
|
|
12854
|
+
isArray: true;
|
|
13167
12855
|
options: undefined;
|
|
13168
12856
|
};
|
|
13169
12857
|
/** . */
|
|
13170
|
-
'
|
|
12858
|
+
'links': {
|
|
13171
12859
|
type: 'schema';
|
|
13172
12860
|
isArray: true;
|
|
12861
|
+
minArrayLength: 0;
|
|
13173
12862
|
options: {
|
|
13174
|
-
schema: SpruceSchemas.
|
|
12863
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.LinkSchema;
|
|
13175
12864
|
};
|
|
13176
12865
|
};
|
|
13177
12866
|
};
|
|
13178
12867
|
}
|
|
13179
|
-
interface
|
|
12868
|
+
interface MessageTemplateAddonsEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema> {
|
|
13180
12869
|
}
|
|
13181
12870
|
}
|
|
13182
12871
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13183
|
-
interface
|
|
13184
|
-
'
|
|
12872
|
+
interface DidJoinOrganizationResponsePayload {
|
|
12873
|
+
'messaging'?: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddons | undefined | null;
|
|
13185
12874
|
}
|
|
13186
|
-
interface
|
|
13187
|
-
id: '
|
|
12875
|
+
interface DidJoinOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12876
|
+
id: 'didJoinOrganizationResponsePayload';
|
|
13188
12877
|
version: 'v2020_12_25';
|
|
13189
12878
|
namespace: 'Mercury';
|
|
13190
12879
|
name: '';
|
|
13191
12880
|
fields: {
|
|
13192
12881
|
/** . */
|
|
13193
|
-
'
|
|
12882
|
+
'messaging': {
|
|
12883
|
+
type: 'schema';
|
|
12884
|
+
options: {
|
|
12885
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema;
|
|
12886
|
+
};
|
|
12887
|
+
};
|
|
12888
|
+
};
|
|
12889
|
+
}
|
|
12890
|
+
interface DidJoinOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationResponsePayloadSchema> {
|
|
12891
|
+
}
|
|
12892
|
+
}
|
|
12893
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12894
|
+
interface DidLeaveOrganizationEmitTarget {
|
|
12895
|
+
'organizationId': string;
|
|
12896
|
+
'locationId'?: string | undefined | null;
|
|
12897
|
+
}
|
|
12898
|
+
interface DidLeaveOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
12899
|
+
id: 'didLeaveOrganizationEmitTarget';
|
|
12900
|
+
version: 'v2020_12_25';
|
|
12901
|
+
namespace: 'Mercury';
|
|
12902
|
+
name: '';
|
|
12903
|
+
fields: {
|
|
12904
|
+
/** . */
|
|
12905
|
+
'organizationId': {
|
|
12906
|
+
type: 'id';
|
|
12907
|
+
isRequired: true;
|
|
12908
|
+
options: undefined;
|
|
12909
|
+
};
|
|
12910
|
+
/** . */
|
|
12911
|
+
'locationId': {
|
|
12912
|
+
type: 'id';
|
|
12913
|
+
options: undefined;
|
|
12914
|
+
};
|
|
12915
|
+
};
|
|
12916
|
+
}
|
|
12917
|
+
interface DidLeaveOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema> {
|
|
12918
|
+
}
|
|
12919
|
+
}
|
|
12920
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12921
|
+
interface DidLeaveOrganizationEmitPayload {
|
|
12922
|
+
'personId': string;
|
|
12923
|
+
'roleId': string;
|
|
12924
|
+
'isLastRole': boolean;
|
|
12925
|
+
}
|
|
12926
|
+
interface DidLeaveOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12927
|
+
id: 'didLeaveOrganizationEmitPayload';
|
|
12928
|
+
version: 'v2020_12_25';
|
|
12929
|
+
namespace: 'Mercury';
|
|
12930
|
+
name: '';
|
|
12931
|
+
fields: {
|
|
12932
|
+
/** . */
|
|
12933
|
+
'personId': {
|
|
12934
|
+
type: 'id';
|
|
12935
|
+
isRequired: true;
|
|
12936
|
+
options: undefined;
|
|
12937
|
+
};
|
|
12938
|
+
/** . */
|
|
12939
|
+
'roleId': {
|
|
12940
|
+
type: 'id';
|
|
12941
|
+
isRequired: true;
|
|
12942
|
+
options: undefined;
|
|
12943
|
+
};
|
|
12944
|
+
/** . */
|
|
12945
|
+
'isLastRole': {
|
|
12946
|
+
type: 'boolean';
|
|
12947
|
+
isRequired: true;
|
|
12948
|
+
options: undefined;
|
|
12949
|
+
};
|
|
12950
|
+
};
|
|
12951
|
+
}
|
|
12952
|
+
interface DidLeaveOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema> {
|
|
12953
|
+
}
|
|
12954
|
+
}
|
|
12955
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12956
|
+
interface DidLeaveOrganizationEmitTargetAndPayload {
|
|
12957
|
+
/** Source. */
|
|
12958
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12959
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTarget;
|
|
12960
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayload;
|
|
12961
|
+
}
|
|
12962
|
+
interface DidLeaveOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12963
|
+
id: 'didLeaveOrganizationEmitTargetAndPayload';
|
|
12964
|
+
version: 'v2020_12_25';
|
|
12965
|
+
namespace: 'Mercury';
|
|
12966
|
+
name: '';
|
|
12967
|
+
fields: {
|
|
12968
|
+
/** Source. */
|
|
12969
|
+
'source': {
|
|
12970
|
+
label: 'Source';
|
|
12971
|
+
type: 'schema';
|
|
12972
|
+
options: {
|
|
12973
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12974
|
+
};
|
|
12975
|
+
};
|
|
12976
|
+
/** . */
|
|
12977
|
+
'target': {
|
|
12978
|
+
type: 'schema';
|
|
12979
|
+
isRequired: true;
|
|
12980
|
+
options: {
|
|
12981
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema;
|
|
12982
|
+
};
|
|
12983
|
+
};
|
|
12984
|
+
/** . */
|
|
12985
|
+
'payload': {
|
|
12986
|
+
type: 'schema';
|
|
12987
|
+
isRequired: true;
|
|
12988
|
+
options: {
|
|
12989
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema;
|
|
12990
|
+
};
|
|
12991
|
+
};
|
|
12992
|
+
};
|
|
12993
|
+
}
|
|
12994
|
+
interface DidLeaveOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetAndPayloadSchema> {
|
|
12995
|
+
}
|
|
12996
|
+
}
|
|
12997
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12998
|
+
interface DidLeaveOrganizationResponsePayload {
|
|
12999
|
+
}
|
|
13000
|
+
interface DidLeaveOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
13001
|
+
id: 'didLeaveOrganizationResponsePayload';
|
|
13002
|
+
version: 'v2020_12_25';
|
|
13003
|
+
namespace: 'Mercury';
|
|
13004
|
+
name: '';
|
|
13005
|
+
fields: {};
|
|
13006
|
+
}
|
|
13007
|
+
interface DidLeaveOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationResponsePayloadSchema> {
|
|
13008
|
+
}
|
|
13009
|
+
}
|
|
13010
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13011
|
+
interface DidMessageEmitPayload {
|
|
13012
|
+
'message': SpruceSchemas.Spruce.v2020_07_22.Message;
|
|
13013
|
+
'conversationState'?: string | undefined | null;
|
|
13014
|
+
'topic'?: string | undefined | null;
|
|
13015
|
+
}
|
|
13016
|
+
interface DidMessageEmitPayloadSchema extends SpruceSchema.Schema {
|
|
13017
|
+
id: 'didMessageEmitPayload';
|
|
13018
|
+
version: 'v2020_12_25';
|
|
13019
|
+
namespace: 'Mercury';
|
|
13020
|
+
name: '';
|
|
13021
|
+
fields: {
|
|
13022
|
+
/** . */
|
|
13023
|
+
'message': {
|
|
13024
|
+
type: 'schema';
|
|
13025
|
+
isRequired: true;
|
|
13026
|
+
options: {
|
|
13027
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.MessageSchema;
|
|
13028
|
+
};
|
|
13029
|
+
};
|
|
13030
|
+
/** . */
|
|
13031
|
+
'conversationState': {
|
|
13032
|
+
type: 'text';
|
|
13033
|
+
options: undefined;
|
|
13034
|
+
};
|
|
13035
|
+
/** . */
|
|
13036
|
+
'topic': {
|
|
13037
|
+
type: 'text';
|
|
13038
|
+
options: undefined;
|
|
13039
|
+
};
|
|
13040
|
+
};
|
|
13041
|
+
}
|
|
13042
|
+
interface DidMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema> {
|
|
13043
|
+
}
|
|
13044
|
+
}
|
|
13045
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13046
|
+
interface DidMessageEmitTargetAndPayload {
|
|
13047
|
+
/** Source. */
|
|
13048
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
13049
|
+
'target'?: SpruceSchemas.Spruce.v2020_07_22.MessageTarget | undefined | null;
|
|
13050
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayload;
|
|
13051
|
+
}
|
|
13052
|
+
interface DidMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
13053
|
+
id: 'didMessageEmitTargetAndPayload';
|
|
13054
|
+
version: 'v2020_12_25';
|
|
13055
|
+
namespace: 'Mercury';
|
|
13056
|
+
name: '';
|
|
13057
|
+
fields: {
|
|
13058
|
+
/** Source. */
|
|
13059
|
+
'source': {
|
|
13060
|
+
label: 'Source';
|
|
13061
|
+
type: 'schema';
|
|
13062
|
+
options: {
|
|
13063
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
13064
|
+
};
|
|
13065
|
+
};
|
|
13066
|
+
/** . */
|
|
13067
|
+
'target': {
|
|
13068
|
+
type: 'schema';
|
|
13069
|
+
options: {
|
|
13070
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.MessageTargetSchema;
|
|
13071
|
+
};
|
|
13072
|
+
};
|
|
13073
|
+
/** . */
|
|
13074
|
+
'payload': {
|
|
13194
13075
|
type: 'schema';
|
|
13195
13076
|
isRequired: true;
|
|
13196
13077
|
options: {
|
|
13197
|
-
schema: SpruceSchemas.
|
|
13078
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema;
|
|
13198
13079
|
};
|
|
13199
13080
|
};
|
|
13200
13081
|
};
|
|
13201
13082
|
}
|
|
13202
|
-
interface
|
|
13083
|
+
interface DidMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitTargetAndPayloadSchema> {
|
|
13203
13084
|
}
|
|
13204
13085
|
}
|
|
13205
13086
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13206
|
-
interface
|
|
13207
|
-
'
|
|
13087
|
+
interface ConversationTopic {
|
|
13088
|
+
'key': string;
|
|
13089
|
+
'confidence': number;
|
|
13090
|
+
'label': string;
|
|
13208
13091
|
}
|
|
13209
|
-
interface
|
|
13210
|
-
id: '
|
|
13092
|
+
interface ConversationTopicSchema extends SpruceSchema.Schema {
|
|
13093
|
+
id: 'conversationTopic';
|
|
13211
13094
|
version: 'v2020_12_25';
|
|
13212
13095
|
namespace: 'Mercury';
|
|
13213
13096
|
name: '';
|
|
13214
13097
|
fields: {
|
|
13215
13098
|
/** . */
|
|
13216
|
-
'
|
|
13217
|
-
type: '
|
|
13099
|
+
'key': {
|
|
13100
|
+
type: 'text';
|
|
13101
|
+
isRequired: true;
|
|
13102
|
+
options: undefined;
|
|
13103
|
+
};
|
|
13104
|
+
/** . */
|
|
13105
|
+
'confidence': {
|
|
13106
|
+
type: 'number';
|
|
13107
|
+
isRequired: true;
|
|
13108
|
+
options: undefined;
|
|
13109
|
+
};
|
|
13110
|
+
/** . */
|
|
13111
|
+
'label': {
|
|
13112
|
+
type: 'text';
|
|
13218
13113
|
isRequired: true;
|
|
13219
13114
|
options: undefined;
|
|
13220
13115
|
};
|
|
13221
13116
|
};
|
|
13222
13117
|
}
|
|
13223
|
-
interface
|
|
13118
|
+
interface ConversationTopicEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema> {
|
|
13224
13119
|
}
|
|
13225
13120
|
}
|
|
13226
13121
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13227
|
-
interface
|
|
13228
|
-
|
|
13229
|
-
'
|
|
13230
|
-
|
|
13231
|
-
'
|
|
13232
|
-
|
|
13233
|
-
'description'?: string | undefined | null;
|
|
13234
|
-
'dateDeleted'?: number | undefined | null;
|
|
13235
|
-
'organizationId'?: string | undefined | null;
|
|
13236
|
-
/** Public. Should I let people that are not part of this organization this role? */
|
|
13237
|
-
'isPublic'?: boolean | undefined | null;
|
|
13122
|
+
interface DidMessageResponsePayload {
|
|
13123
|
+
'transitionConversationTo'?: ("greeting" | "discovery" | "topic" | "closing") | undefined | null;
|
|
13124
|
+
'repairs'?: string[] | undefined | null;
|
|
13125
|
+
'topicChangers'?: string[] | undefined | null;
|
|
13126
|
+
'utterance'?: string | undefined | null;
|
|
13127
|
+
'suggestedTopics'?: SpruceSchemas.Mercury.v2020_12_25.ConversationTopic[] | undefined | null;
|
|
13238
13128
|
}
|
|
13239
|
-
interface
|
|
13240
|
-
id: '
|
|
13129
|
+
interface DidMessageResponsePayloadSchema extends SpruceSchema.Schema {
|
|
13130
|
+
id: 'didMessageResponsePayload';
|
|
13241
13131
|
version: 'v2020_12_25';
|
|
13242
13132
|
namespace: 'Mercury';
|
|
13243
13133
|
name: '';
|
|
13244
13134
|
fields: {
|
|
13245
|
-
/**
|
|
13246
|
-
'
|
|
13247
|
-
label: 'Name';
|
|
13248
|
-
type: 'text';
|
|
13249
|
-
options: undefined;
|
|
13250
|
-
};
|
|
13251
|
-
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
13252
|
-
'base': {
|
|
13253
|
-
label: 'Base';
|
|
13135
|
+
/** . */
|
|
13136
|
+
'transitionConversationTo': {
|
|
13254
13137
|
type: 'select';
|
|
13255
|
-
hint: 'A best practices starting point for a role based on the generalized roles at a company.';
|
|
13256
13138
|
options: {
|
|
13257
13139
|
choices: [{
|
|
13258
|
-
"label": "
|
|
13259
|
-
"value": "
|
|
13260
|
-
}, {
|
|
13261
|
-
"label": "Group manager";
|
|
13262
|
-
"value": "groupManager";
|
|
13263
|
-
}, {
|
|
13264
|
-
"label": "Manager";
|
|
13265
|
-
"value": "manager";
|
|
13266
|
-
}, {
|
|
13267
|
-
"label": "Teammate";
|
|
13268
|
-
"value": "teammate";
|
|
13140
|
+
"label": "Greeting";
|
|
13141
|
+
"value": "greeting";
|
|
13269
13142
|
}, {
|
|
13270
|
-
"label": "
|
|
13271
|
-
"value": "
|
|
13143
|
+
"label": "Discovery";
|
|
13144
|
+
"value": "discovery";
|
|
13272
13145
|
}, {
|
|
13273
|
-
"label": "
|
|
13274
|
-
"value": "
|
|
13146
|
+
"label": "Topic";
|
|
13147
|
+
"value": "topic";
|
|
13275
13148
|
}, {
|
|
13276
|
-
"label": "
|
|
13277
|
-
"value": "
|
|
13149
|
+
"label": "Closing";
|
|
13150
|
+
"value": "closing";
|
|
13278
13151
|
}];
|
|
13279
13152
|
};
|
|
13280
13153
|
};
|
|
13281
|
-
/**
|
|
13282
|
-
'
|
|
13283
|
-
label: 'Description';
|
|
13154
|
+
/** . */
|
|
13155
|
+
'repairs': {
|
|
13284
13156
|
type: 'text';
|
|
13157
|
+
isArray: true;
|
|
13285
13158
|
options: undefined;
|
|
13286
13159
|
};
|
|
13287
13160
|
/** . */
|
|
13288
|
-
'
|
|
13289
|
-
type: '
|
|
13161
|
+
'topicChangers': {
|
|
13162
|
+
type: 'text';
|
|
13163
|
+
isArray: true;
|
|
13290
13164
|
options: undefined;
|
|
13291
13165
|
};
|
|
13292
13166
|
/** . */
|
|
13293
|
-
'
|
|
13294
|
-
type: '
|
|
13167
|
+
'utterance': {
|
|
13168
|
+
type: 'text';
|
|
13295
13169
|
options: undefined;
|
|
13296
13170
|
};
|
|
13297
|
-
/**
|
|
13298
|
-
'
|
|
13299
|
-
|
|
13300
|
-
|
|
13301
|
-
|
|
13302
|
-
|
|
13171
|
+
/** . */
|
|
13172
|
+
'suggestedTopics': {
|
|
13173
|
+
type: 'schema';
|
|
13174
|
+
isArray: true;
|
|
13175
|
+
options: {
|
|
13176
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema;
|
|
13177
|
+
};
|
|
13303
13178
|
};
|
|
13304
13179
|
};
|
|
13305
13180
|
}
|
|
13306
|
-
interface
|
|
13181
|
+
interface DidMessageResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageResponsePayloadSchema> {
|
|
13307
13182
|
}
|
|
13308
13183
|
}
|
|
13309
13184
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13310
|
-
interface
|
|
13185
|
+
interface DidSignupEmitPayload {
|
|
13186
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
13187
|
+
}
|
|
13188
|
+
interface DidSignupEmitPayloadSchema extends SpruceSchema.Schema {
|
|
13189
|
+
id: 'didSignupEmitPayload';
|
|
13190
|
+
version: 'v2020_12_25';
|
|
13191
|
+
namespace: 'Mercury';
|
|
13192
|
+
name: '';
|
|
13193
|
+
fields: {
|
|
13194
|
+
/** . */
|
|
13195
|
+
'person': {
|
|
13196
|
+
type: 'schema';
|
|
13197
|
+
isRequired: true;
|
|
13198
|
+
options: {
|
|
13199
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
13200
|
+
};
|
|
13201
|
+
};
|
|
13202
|
+
};
|
|
13203
|
+
}
|
|
13204
|
+
interface DidSignupEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema> {
|
|
13205
|
+
}
|
|
13206
|
+
}
|
|
13207
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13208
|
+
interface DidSignupEmitTargetAndPayload {
|
|
13311
13209
|
/** Source. */
|
|
13312
13210
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
13313
|
-
'target'
|
|
13314
|
-
'payload'
|
|
13211
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
13212
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayload;
|
|
13315
13213
|
}
|
|
13316
|
-
interface
|
|
13317
|
-
id: '
|
|
13214
|
+
interface DidSignupEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
13215
|
+
id: 'didSignupEmitTargetAndPayload';
|
|
13318
13216
|
version: 'v2020_12_25';
|
|
13319
13217
|
namespace: 'Mercury';
|
|
13320
13218
|
name: '';
|
|
@@ -13330,75 +13228,43 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13330
13228
|
/** . */
|
|
13331
13229
|
'target': {
|
|
13332
13230
|
type: 'schema';
|
|
13333
|
-
isRequired: true;
|
|
13334
13231
|
options: {
|
|
13335
|
-
schema: SpruceSchemas.
|
|
13232
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
13336
13233
|
};
|
|
13337
13234
|
};
|
|
13338
13235
|
/** . */
|
|
13339
13236
|
'payload': {
|
|
13340
|
-
type: 'schema';
|
|
13341
|
-
options: {
|
|
13342
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema;
|
|
13343
|
-
};
|
|
13344
|
-
};
|
|
13345
|
-
};
|
|
13346
|
-
}
|
|
13347
|
-
interface UpdateRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetAndPayloadSchema> {
|
|
13348
|
-
}
|
|
13349
|
-
}
|
|
13350
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13351
|
-
interface UpdateRoleResponsePayload {
|
|
13352
|
-
'role': SpruceSchemas.Spruce.v2020_07_22.Role;
|
|
13353
|
-
}
|
|
13354
|
-
interface UpdateRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
13355
|
-
id: 'updateRoleResponsePayload';
|
|
13356
|
-
version: 'v2020_12_25';
|
|
13357
|
-
namespace: 'Mercury';
|
|
13358
|
-
name: '';
|
|
13359
|
-
fields: {
|
|
13360
|
-
/** . */
|
|
13361
|
-
'role': {
|
|
13362
13237
|
type: 'schema';
|
|
13363
13238
|
isRequired: true;
|
|
13364
13239
|
options: {
|
|
13365
|
-
schema: SpruceSchemas.
|
|
13240
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema;
|
|
13366
13241
|
};
|
|
13367
13242
|
};
|
|
13368
13243
|
};
|
|
13369
13244
|
}
|
|
13370
|
-
interface
|
|
13245
|
+
interface DidSignupEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitTargetAndPayloadSchema> {
|
|
13371
13246
|
}
|
|
13372
13247
|
}
|
|
13373
13248
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13374
|
-
interface
|
|
13375
|
-
'
|
|
13376
|
-
'
|
|
13377
|
-
'roleId': string;
|
|
13249
|
+
interface DidUpdateFeedEmitTarget {
|
|
13250
|
+
'locationId'?: string | undefined | null;
|
|
13251
|
+
'organizationId'?: string | undefined | null;
|
|
13378
13252
|
'skillId'?: string | undefined | null;
|
|
13379
13253
|
}
|
|
13380
|
-
interface
|
|
13381
|
-
id: '
|
|
13254
|
+
interface DidUpdateFeedEmitTargetSchema extends SpruceSchema.Schema {
|
|
13255
|
+
id: 'didUpdateFeedEmitTarget';
|
|
13382
13256
|
version: 'v2020_12_25';
|
|
13383
13257
|
namespace: 'Mercury';
|
|
13384
13258
|
name: '';
|
|
13385
13259
|
fields: {
|
|
13386
13260
|
/** . */
|
|
13387
|
-
'
|
|
13388
|
-
type: 'id';
|
|
13389
|
-
isRequired: true;
|
|
13390
|
-
options: undefined;
|
|
13391
|
-
};
|
|
13392
|
-
/** . */
|
|
13393
|
-
'permissionContractId': {
|
|
13261
|
+
'locationId': {
|
|
13394
13262
|
type: 'id';
|
|
13395
|
-
isRequired: true;
|
|
13396
13263
|
options: undefined;
|
|
13397
13264
|
};
|
|
13398
13265
|
/** . */
|
|
13399
|
-
'
|
|
13266
|
+
'organizationId': {
|
|
13400
13267
|
type: 'id';
|
|
13401
|
-
isRequired: true;
|
|
13402
13268
|
options: undefined;
|
|
13403
13269
|
};
|
|
13404
13270
|
/** . */
|
|
@@ -13408,70 +13274,41 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13408
13274
|
};
|
|
13409
13275
|
};
|
|
13410
13276
|
}
|
|
13411
|
-
interface
|
|
13277
|
+
interface DidUpdateFeedEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetSchema> {
|
|
13412
13278
|
}
|
|
13413
13279
|
}
|
|
13414
13280
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13415
|
-
interface
|
|
13416
|
-
|
|
13417
|
-
'name': string;
|
|
13418
|
-
/** Description. */
|
|
13419
|
-
'description'?: string | undefined | null;
|
|
13420
|
-
/** Require all permissions. */
|
|
13421
|
-
'requireAllPermissions'?: boolean | undefined | null;
|
|
13422
|
-
'permissions': SpruceSchemas.Mercury.v2020_12_25.Permission[];
|
|
13281
|
+
interface DidUpdateFeedEmitPayload {
|
|
13282
|
+
'item': SpruceSchemas.Spruce.v2020_07_22.FeedItem;
|
|
13423
13283
|
}
|
|
13424
|
-
interface
|
|
13425
|
-
id: '
|
|
13284
|
+
interface DidUpdateFeedEmitPayloadSchema extends SpruceSchema.Schema {
|
|
13285
|
+
id: 'didUpdateFeedEmitPayload';
|
|
13426
13286
|
version: 'v2020_12_25';
|
|
13427
13287
|
namespace: 'Mercury';
|
|
13428
13288
|
name: '';
|
|
13429
13289
|
fields: {
|
|
13430
|
-
/** Name. Human readable name for this contract */
|
|
13431
|
-
'name': {
|
|
13432
|
-
label: 'Name';
|
|
13433
|
-
type: 'text';
|
|
13434
|
-
isRequired: true;
|
|
13435
|
-
hint: 'Human readable name for this contract';
|
|
13436
|
-
options: undefined;
|
|
13437
|
-
};
|
|
13438
|
-
/** Description. */
|
|
13439
|
-
'description': {
|
|
13440
|
-
label: 'Description';
|
|
13441
|
-
type: 'text';
|
|
13442
|
-
options: undefined;
|
|
13443
|
-
};
|
|
13444
|
-
/** Require all permissions. */
|
|
13445
|
-
'requireAllPermissions': {
|
|
13446
|
-
label: 'Require all permissions';
|
|
13447
|
-
type: 'boolean';
|
|
13448
|
-
defaultValue: false;
|
|
13449
|
-
options: undefined;
|
|
13450
|
-
};
|
|
13451
13290
|
/** . */
|
|
13452
|
-
'
|
|
13291
|
+
'item': {
|
|
13453
13292
|
type: 'schema';
|
|
13454
13293
|
isRequired: true;
|
|
13455
|
-
isArray: true;
|
|
13456
|
-
minArrayLength: 0;
|
|
13457
13294
|
options: {
|
|
13458
|
-
schema: SpruceSchemas.
|
|
13295
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.FeedItemSchema;
|
|
13459
13296
|
};
|
|
13460
13297
|
};
|
|
13461
13298
|
};
|
|
13462
13299
|
}
|
|
13463
|
-
interface
|
|
13300
|
+
interface DidUpdateFeedEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema> {
|
|
13464
13301
|
}
|
|
13465
13302
|
}
|
|
13466
13303
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13467
|
-
interface
|
|
13304
|
+
interface DidUpdateFeedEmitTargetAndPayload {
|
|
13468
13305
|
/** Source. */
|
|
13469
13306
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
13470
|
-
'target'
|
|
13471
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.
|
|
13307
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTarget | undefined | null;
|
|
13308
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayload;
|
|
13472
13309
|
}
|
|
13473
|
-
interface
|
|
13474
|
-
id: '
|
|
13310
|
+
interface DidUpdateFeedEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
13311
|
+
id: 'didUpdateFeedEmitTargetAndPayload';
|
|
13475
13312
|
version: 'v2020_12_25';
|
|
13476
13313
|
namespace: 'Mercury';
|
|
13477
13314
|
name: '';
|
|
@@ -13487,9 +13324,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13487
13324
|
/** . */
|
|
13488
13325
|
'target': {
|
|
13489
13326
|
type: 'schema';
|
|
13490
|
-
isRequired: true;
|
|
13491
13327
|
options: {
|
|
13492
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
13328
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetSchema;
|
|
13493
13329
|
};
|
|
13494
13330
|
};
|
|
13495
13331
|
/** . */
|
|
@@ -13497,73 +13333,103 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13497
13333
|
type: 'schema';
|
|
13498
13334
|
isRequired: true;
|
|
13499
13335
|
options: {
|
|
13500
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
13336
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema;
|
|
13501
13337
|
};
|
|
13502
13338
|
};
|
|
13503
13339
|
};
|
|
13504
13340
|
}
|
|
13505
|
-
interface
|
|
13341
|
+
interface DidUpdateFeedEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetAndPayloadSchema> {
|
|
13506
13342
|
}
|
|
13507
13343
|
}
|
|
13508
13344
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13509
|
-
interface
|
|
13510
|
-
'
|
|
13345
|
+
interface DidUpdatePersonEmitPayload {
|
|
13346
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
13511
13347
|
}
|
|
13512
|
-
interface
|
|
13513
|
-
id: '
|
|
13348
|
+
interface DidUpdatePersonEmitPayloadSchema extends SpruceSchema.Schema {
|
|
13349
|
+
id: 'didUpdatePersonEmitPayload';
|
|
13514
13350
|
version: 'v2020_12_25';
|
|
13515
13351
|
namespace: 'Mercury';
|
|
13516
13352
|
name: '';
|
|
13517
13353
|
fields: {
|
|
13518
13354
|
/** . */
|
|
13519
|
-
'
|
|
13355
|
+
'person': {
|
|
13520
13356
|
type: 'schema';
|
|
13521
13357
|
isRequired: true;
|
|
13522
13358
|
options: {
|
|
13523
|
-
schema: SpruceSchemas.
|
|
13359
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
13524
13360
|
};
|
|
13525
13361
|
};
|
|
13526
13362
|
};
|
|
13527
13363
|
}
|
|
13528
|
-
interface
|
|
13364
|
+
interface DidUpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema> {
|
|
13529
13365
|
}
|
|
13530
13366
|
}
|
|
13531
13367
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13532
|
-
interface
|
|
13533
|
-
'
|
|
13534
|
-
'
|
|
13368
|
+
interface InvokeChatCallbackTarget {
|
|
13369
|
+
'skillId': string;
|
|
13370
|
+
'chatPersonId': string;
|
|
13535
13371
|
}
|
|
13536
|
-
interface
|
|
13537
|
-
id: '
|
|
13372
|
+
interface InvokeChatCallbackTargetSchema extends SpruceSchema.Schema {
|
|
13373
|
+
id: 'invokeChatCallbackTarget';
|
|
13538
13374
|
version: 'v2020_12_25';
|
|
13539
13375
|
namespace: 'Mercury';
|
|
13540
13376
|
name: '';
|
|
13541
13377
|
fields: {
|
|
13542
13378
|
/** . */
|
|
13543
|
-
'
|
|
13379
|
+
'skillId': {
|
|
13544
13380
|
type: 'id';
|
|
13545
13381
|
isRequired: true;
|
|
13546
13382
|
options: undefined;
|
|
13547
13383
|
};
|
|
13548
13384
|
/** . */
|
|
13549
|
-
'
|
|
13385
|
+
'chatPersonId': {
|
|
13550
13386
|
type: 'id';
|
|
13551
13387
|
isRequired: true;
|
|
13552
13388
|
options: undefined;
|
|
13553
13389
|
};
|
|
13554
13390
|
};
|
|
13555
13391
|
}
|
|
13556
|
-
interface
|
|
13392
|
+
interface InvokeChatCallbackTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackTargetSchema> {
|
|
13557
13393
|
}
|
|
13558
13394
|
}
|
|
13559
13395
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13560
|
-
interface
|
|
13396
|
+
interface InvokeChatCallbackPayload {
|
|
13397
|
+
'placeholder': string;
|
|
13398
|
+
'state'?: (Record<string, any>) | undefined | null;
|
|
13399
|
+
}
|
|
13400
|
+
interface InvokeChatCallbackPayloadSchema extends SpruceSchema.Schema {
|
|
13401
|
+
id: 'invokeChatCallbackPayload';
|
|
13402
|
+
version: 'v2020_12_25';
|
|
13403
|
+
namespace: 'Mercury';
|
|
13404
|
+
name: '';
|
|
13405
|
+
fields: {
|
|
13406
|
+
/** . */
|
|
13407
|
+
'placeholder': {
|
|
13408
|
+
type: 'id';
|
|
13409
|
+
isRequired: true;
|
|
13410
|
+
options: undefined;
|
|
13411
|
+
};
|
|
13412
|
+
/** . */
|
|
13413
|
+
'state': {
|
|
13414
|
+
type: 'raw';
|
|
13415
|
+
options: {
|
|
13416
|
+
valueType: `Record<string, any>`;
|
|
13417
|
+
};
|
|
13418
|
+
};
|
|
13419
|
+
};
|
|
13420
|
+
}
|
|
13421
|
+
interface InvokeChatCallbackPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackPayloadSchema> {
|
|
13422
|
+
}
|
|
13423
|
+
}
|
|
13424
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13425
|
+
interface InvokeChatCallbackEmitTargetAndPayload {
|
|
13561
13426
|
/** Source. */
|
|
13562
13427
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
13563
|
-
'
|
|
13428
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackTarget;
|
|
13429
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackPayload;
|
|
13564
13430
|
}
|
|
13565
|
-
interface
|
|
13566
|
-
id: '
|
|
13431
|
+
interface InvokeChatCallbackEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
13432
|
+
id: 'invokeChatCallbackEmitTargetAndPayload';
|
|
13567
13433
|
version: 'v2020_12_25';
|
|
13568
13434
|
namespace: 'Mercury';
|
|
13569
13435
|
name: '';
|
|
@@ -13577,48 +13443,56 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13577
13443
|
};
|
|
13578
13444
|
};
|
|
13579
13445
|
/** . */
|
|
13446
|
+
'target': {
|
|
13447
|
+
type: 'schema';
|
|
13448
|
+
isRequired: true;
|
|
13449
|
+
options: {
|
|
13450
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackTargetSchema;
|
|
13451
|
+
};
|
|
13452
|
+
};
|
|
13453
|
+
/** . */
|
|
13580
13454
|
'payload': {
|
|
13581
13455
|
type: 'schema';
|
|
13582
13456
|
isRequired: true;
|
|
13583
13457
|
options: {
|
|
13584
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
13458
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackPayloadSchema;
|
|
13585
13459
|
};
|
|
13586
13460
|
};
|
|
13587
13461
|
};
|
|
13588
13462
|
}
|
|
13589
|
-
interface
|
|
13463
|
+
interface InvokeChatCallbackEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackEmitTargetAndPayloadSchema> {
|
|
13590
13464
|
}
|
|
13591
13465
|
}
|
|
13592
13466
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13593
|
-
interface
|
|
13594
|
-
'
|
|
13467
|
+
interface InvokeChatCallbackResponsePayload {
|
|
13468
|
+
'message': string;
|
|
13595
13469
|
}
|
|
13596
|
-
interface
|
|
13597
|
-
id: '
|
|
13470
|
+
interface InvokeChatCallbackResponsePayloadSchema extends SpruceSchema.Schema {
|
|
13471
|
+
id: 'invokeChatCallbackResponsePayload';
|
|
13598
13472
|
version: 'v2020_12_25';
|
|
13599
13473
|
namespace: 'Mercury';
|
|
13600
13474
|
name: '';
|
|
13601
13475
|
fields: {
|
|
13602
13476
|
/** . */
|
|
13603
|
-
'
|
|
13604
|
-
type: '
|
|
13477
|
+
'message': {
|
|
13478
|
+
type: 'text';
|
|
13605
13479
|
isRequired: true;
|
|
13606
13480
|
options: undefined;
|
|
13607
13481
|
};
|
|
13608
13482
|
};
|
|
13609
13483
|
}
|
|
13610
|
-
interface
|
|
13484
|
+
interface InvokeChatCallbackResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackResponsePayloadSchema> {
|
|
13611
13485
|
}
|
|
13612
13486
|
}
|
|
13613
13487
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13614
|
-
interface
|
|
13488
|
+
interface DidUpdatePersonEmitTargetAndPayload {
|
|
13615
13489
|
/** Source. */
|
|
13616
13490
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
13617
|
-
'target'?: SpruceSchemas.
|
|
13618
|
-
'payload'
|
|
13491
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
13492
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayload;
|
|
13619
13493
|
}
|
|
13620
|
-
interface
|
|
13621
|
-
id: '
|
|
13494
|
+
interface DidUpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
13495
|
+
id: 'didUpdatePersonEmitTargetAndPayload';
|
|
13622
13496
|
version: 'v2020_12_25';
|
|
13623
13497
|
namespace: 'Mercury';
|
|
13624
13498
|
name: '';
|
|
@@ -13635,28 +13509,29 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13635
13509
|
'target': {
|
|
13636
13510
|
type: 'schema';
|
|
13637
13511
|
options: {
|
|
13638
|
-
schema: SpruceSchemas.
|
|
13512
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
13639
13513
|
};
|
|
13640
13514
|
};
|
|
13641
13515
|
/** . */
|
|
13642
13516
|
'payload': {
|
|
13643
13517
|
type: 'schema';
|
|
13518
|
+
isRequired: true;
|
|
13644
13519
|
options: {
|
|
13645
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
13520
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema;
|
|
13646
13521
|
};
|
|
13647
13522
|
};
|
|
13648
13523
|
};
|
|
13649
13524
|
}
|
|
13650
|
-
interface
|
|
13525
|
+
interface DidUpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitTargetAndPayloadSchema> {
|
|
13651
13526
|
}
|
|
13652
13527
|
}
|
|
13653
13528
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13654
|
-
interface
|
|
13529
|
+
interface RegisterChatbotsEmitTargetAndPayload {
|
|
13655
13530
|
/** Source. */
|
|
13656
13531
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
13657
13532
|
}
|
|
13658
|
-
interface
|
|
13659
|
-
id: '
|
|
13533
|
+
interface RegisterChatbotsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
13534
|
+
id: 'registerChatbotsEmitTargetAndPayload';
|
|
13660
13535
|
version: 'v2020_12_25';
|
|
13661
13536
|
namespace: 'Mercury';
|
|
13662
13537
|
name: '';
|
|
@@ -13671,7 +13546,132 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13671
13546
|
};
|
|
13672
13547
|
};
|
|
13673
13548
|
}
|
|
13674
|
-
interface
|
|
13549
|
+
interface RegisterChatbotsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterChatbotsEmitTargetAndPayloadSchema> {
|
|
13550
|
+
}
|
|
13551
|
+
}
|
|
13552
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13553
|
+
interface ChatbotCallbacks {
|
|
13554
|
+
'placeholder': string;
|
|
13555
|
+
'useThisWhenever': string;
|
|
13556
|
+
}
|
|
13557
|
+
interface ChatbotCallbacksSchema extends SpruceSchema.Schema {
|
|
13558
|
+
id: 'chatbotCallbacks';
|
|
13559
|
+
version: 'v2020_12_25';
|
|
13560
|
+
namespace: 'Mercury';
|
|
13561
|
+
name: '';
|
|
13562
|
+
fields: {
|
|
13563
|
+
/** . */
|
|
13564
|
+
'placeholder': {
|
|
13565
|
+
type: 'id';
|
|
13566
|
+
isRequired: true;
|
|
13567
|
+
options: undefined;
|
|
13568
|
+
};
|
|
13569
|
+
/** . */
|
|
13570
|
+
'useThisWhenever': {
|
|
13571
|
+
type: 'text';
|
|
13572
|
+
isRequired: true;
|
|
13573
|
+
options: undefined;
|
|
13574
|
+
};
|
|
13575
|
+
};
|
|
13576
|
+
}
|
|
13577
|
+
interface ChatbotCallbacksEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ChatbotCallbacksSchema> {
|
|
13578
|
+
}
|
|
13579
|
+
}
|
|
13580
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13581
|
+
interface Chatbot {
|
|
13582
|
+
'title': string;
|
|
13583
|
+
'yourJobIfYouChooseToAcceptItIs': string;
|
|
13584
|
+
'weAreDoneWhen': string;
|
|
13585
|
+
'pleaseKeepInMindThat'?: string[] | undefined | null;
|
|
13586
|
+
'stateSchema'?: (SpruceSchema.Schema) | undefined | null;
|
|
13587
|
+
'model'?: string | undefined | null;
|
|
13588
|
+
'promptTemplate'?: string | undefined | null;
|
|
13589
|
+
'callbacks'?: SpruceSchemas.Mercury.v2020_12_25.ChatbotCallbacks[] | undefined | null;
|
|
13590
|
+
}
|
|
13591
|
+
interface ChatbotSchema extends SpruceSchema.Schema {
|
|
13592
|
+
id: 'chatbot';
|
|
13593
|
+
version: 'v2020_12_25';
|
|
13594
|
+
namespace: 'Mercury';
|
|
13595
|
+
name: '';
|
|
13596
|
+
fields: {
|
|
13597
|
+
/** . */
|
|
13598
|
+
'title': {
|
|
13599
|
+
type: 'text';
|
|
13600
|
+
isRequired: true;
|
|
13601
|
+
options: undefined;
|
|
13602
|
+
};
|
|
13603
|
+
/** . */
|
|
13604
|
+
'yourJobIfYouChooseToAcceptItIs': {
|
|
13605
|
+
type: 'text';
|
|
13606
|
+
isRequired: true;
|
|
13607
|
+
options: undefined;
|
|
13608
|
+
};
|
|
13609
|
+
/** . */
|
|
13610
|
+
'weAreDoneWhen': {
|
|
13611
|
+
type: 'text';
|
|
13612
|
+
isRequired: true;
|
|
13613
|
+
options: undefined;
|
|
13614
|
+
};
|
|
13615
|
+
/** . */
|
|
13616
|
+
'pleaseKeepInMindThat': {
|
|
13617
|
+
type: 'text';
|
|
13618
|
+
isArray: true;
|
|
13619
|
+
options: undefined;
|
|
13620
|
+
};
|
|
13621
|
+
/** . */
|
|
13622
|
+
'stateSchema': {
|
|
13623
|
+
type: 'raw';
|
|
13624
|
+
options: {
|
|
13625
|
+
valueType: `SpruceSchema.Schema`;
|
|
13626
|
+
};
|
|
13627
|
+
};
|
|
13628
|
+
/** . */
|
|
13629
|
+
'model': {
|
|
13630
|
+
type: 'id';
|
|
13631
|
+
options: undefined;
|
|
13632
|
+
};
|
|
13633
|
+
/** . */
|
|
13634
|
+
'promptTemplate': {
|
|
13635
|
+
type: 'text';
|
|
13636
|
+
options: undefined;
|
|
13637
|
+
};
|
|
13638
|
+
/** . */
|
|
13639
|
+
'callbacks': {
|
|
13640
|
+
type: 'schema';
|
|
13641
|
+
isArray: true;
|
|
13642
|
+
minArrayLength: 0;
|
|
13643
|
+
options: {
|
|
13644
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ChatbotCallbacksSchema;
|
|
13645
|
+
};
|
|
13646
|
+
};
|
|
13647
|
+
};
|
|
13648
|
+
}
|
|
13649
|
+
interface ChatbotEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ChatbotSchema> {
|
|
13650
|
+
}
|
|
13651
|
+
}
|
|
13652
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13653
|
+
interface RegisterChatbotsResponsePayload {
|
|
13654
|
+
'bots': SpruceSchemas.Mercury.v2020_12_25.Chatbot[];
|
|
13655
|
+
}
|
|
13656
|
+
interface RegisterChatbotsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
13657
|
+
id: 'registerChatbotsResponsePayload';
|
|
13658
|
+
version: 'v2020_12_25';
|
|
13659
|
+
namespace: 'Mercury';
|
|
13660
|
+
name: '';
|
|
13661
|
+
fields: {
|
|
13662
|
+
/** . */
|
|
13663
|
+
'bots': {
|
|
13664
|
+
type: 'schema';
|
|
13665
|
+
isRequired: true;
|
|
13666
|
+
isArray: true;
|
|
13667
|
+
minArrayLength: 0;
|
|
13668
|
+
options: {
|
|
13669
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ChatbotSchema;
|
|
13670
|
+
};
|
|
13671
|
+
};
|
|
13672
|
+
};
|
|
13673
|
+
}
|
|
13674
|
+
interface RegisterChatbotsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterChatbotsResponsePayloadSchema> {
|
|
13675
13675
|
}
|
|
13676
13676
|
}
|
|
13677
13677
|
}
|