@sprucelabs/mercury-core-events 24.0.55 → 24.0.57
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 +1727 -1727
- package/build/esm/.spruce/schemas/schemas.types.d.ts +1727 -1727
- package/package.json +10 -10
|
@@ -5,14 +5,13 @@ import '@sprucelabs/spruce-event-utils';
|
|
|
5
5
|
import '@sprucelabs/mercury-types';
|
|
6
6
|
declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schemas.types' {
|
|
7
7
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8
|
-
interface
|
|
8
|
+
interface DeleteLocationEmitTargetAndPayload {
|
|
9
9
|
/** Source. */
|
|
10
10
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.
|
|
12
|
-
'payload'?: SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitPayload | undefined | null;
|
|
11
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DeleteLocationEmitTarget;
|
|
13
12
|
}
|
|
14
|
-
interface
|
|
15
|
-
id: '
|
|
13
|
+
interface DeleteLocationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
14
|
+
id: 'deleteLocationEmitTargetAndPayload';
|
|
16
15
|
version: 'v2020_12_25';
|
|
17
16
|
namespace: 'Mercury';
|
|
18
17
|
name: '';
|
|
@@ -30,57 +29,77 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
30
29
|
type: 'schema';
|
|
31
30
|
isRequired: true;
|
|
32
31
|
options: {
|
|
33
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
32
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DeleteLocationEmitTargetSchema;
|
|
34
33
|
};
|
|
35
34
|
};
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
interface DeleteLocationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DeleteLocationEmitTargetAndPayloadSchema> {
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
41
|
+
interface AddRoleEmitTarget {
|
|
42
|
+
'organizationId'?: string | undefined | null;
|
|
43
|
+
'locationId'?: string | undefined | null;
|
|
44
|
+
}
|
|
45
|
+
interface AddRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
46
|
+
id: 'addRoleEmitTarget';
|
|
47
|
+
version: 'v2020_12_25';
|
|
48
|
+
namespace: 'Mercury';
|
|
49
|
+
name: '';
|
|
50
|
+
fields: {
|
|
36
51
|
/** . */
|
|
37
|
-
'
|
|
38
|
-
type: '
|
|
39
|
-
options:
|
|
40
|
-
|
|
41
|
-
|
|
52
|
+
'organizationId': {
|
|
53
|
+
type: 'id';
|
|
54
|
+
options: undefined;
|
|
55
|
+
};
|
|
56
|
+
/** . */
|
|
57
|
+
'locationId': {
|
|
58
|
+
type: 'id';
|
|
59
|
+
options: undefined;
|
|
42
60
|
};
|
|
43
61
|
};
|
|
44
62
|
}
|
|
45
|
-
interface
|
|
63
|
+
interface AddRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema> {
|
|
46
64
|
}
|
|
47
65
|
}
|
|
48
66
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
49
|
-
interface
|
|
50
|
-
'
|
|
51
|
-
'
|
|
67
|
+
interface AddRoleEmitPayload {
|
|
68
|
+
'personId': string;
|
|
69
|
+
'roleId': string;
|
|
52
70
|
}
|
|
53
|
-
interface
|
|
54
|
-
id: '
|
|
71
|
+
interface AddRoleEmitPayloadSchema extends SpruceSchema.Schema {
|
|
72
|
+
id: 'addRoleEmitPayload';
|
|
55
73
|
version: 'v2020_12_25';
|
|
56
74
|
namespace: 'Mercury';
|
|
57
75
|
name: '';
|
|
58
76
|
fields: {
|
|
59
77
|
/** . */
|
|
60
|
-
'
|
|
78
|
+
'personId': {
|
|
61
79
|
type: 'id';
|
|
62
80
|
isRequired: true;
|
|
63
81
|
options: undefined;
|
|
64
82
|
};
|
|
65
83
|
/** . */
|
|
66
|
-
'
|
|
84
|
+
'roleId': {
|
|
67
85
|
type: 'id';
|
|
68
86
|
isRequired: true;
|
|
69
87
|
options: undefined;
|
|
70
88
|
};
|
|
71
89
|
};
|
|
72
90
|
}
|
|
73
|
-
interface
|
|
91
|
+
interface AddRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema> {
|
|
74
92
|
}
|
|
75
93
|
}
|
|
76
94
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
77
|
-
interface
|
|
95
|
+
interface AddRoleEmitTargetAndPayload {
|
|
78
96
|
/** Source. */
|
|
79
97
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
80
|
-
'target'
|
|
98
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTarget | undefined | null;
|
|
99
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayload;
|
|
81
100
|
}
|
|
82
|
-
interface
|
|
83
|
-
id: '
|
|
101
|
+
interface AddRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
102
|
+
id: 'addRoleEmitTargetAndPayload';
|
|
84
103
|
version: 'v2020_12_25';
|
|
85
104
|
namespace: 'Mercury';
|
|
86
105
|
name: '';
|
|
@@ -95,101 +114,77 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
95
114
|
};
|
|
96
115
|
/** . */
|
|
97
116
|
'target': {
|
|
117
|
+
type: 'schema';
|
|
118
|
+
options: {
|
|
119
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
/** . */
|
|
123
|
+
'payload': {
|
|
98
124
|
type: 'schema';
|
|
99
125
|
isRequired: true;
|
|
100
126
|
options: {
|
|
101
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
127
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema;
|
|
102
128
|
};
|
|
103
129
|
};
|
|
104
130
|
};
|
|
105
131
|
}
|
|
106
|
-
interface
|
|
132
|
+
interface AddRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetAndPayloadSchema> {
|
|
107
133
|
}
|
|
108
134
|
}
|
|
109
135
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
110
|
-
interface
|
|
136
|
+
interface AddRoleResponsePayload {
|
|
111
137
|
}
|
|
112
|
-
interface
|
|
113
|
-
id: '
|
|
138
|
+
interface AddRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
139
|
+
id: 'addRoleResponsePayload';
|
|
114
140
|
version: 'v2020_12_25';
|
|
115
141
|
namespace: 'Mercury';
|
|
116
142
|
name: '';
|
|
117
143
|
fields: {};
|
|
118
144
|
}
|
|
119
|
-
interface
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
123
|
-
interface DidJoinOrganizationEmitTarget {
|
|
124
|
-
'organizationId': string;
|
|
125
|
-
'locationId'?: string | undefined | null;
|
|
126
|
-
}
|
|
127
|
-
interface DidJoinOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
128
|
-
id: 'didJoinOrganizationEmitTarget';
|
|
129
|
-
version: 'v2020_12_25';
|
|
130
|
-
namespace: 'Mercury';
|
|
131
|
-
name: '';
|
|
132
|
-
fields: {
|
|
133
|
-
/** . */
|
|
134
|
-
'organizationId': {
|
|
135
|
-
type: 'id';
|
|
136
|
-
isRequired: true;
|
|
137
|
-
options: undefined;
|
|
138
|
-
};
|
|
139
|
-
/** . */
|
|
140
|
-
'locationId': {
|
|
141
|
-
type: 'id';
|
|
142
|
-
options: undefined;
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
}
|
|
146
|
-
interface DidJoinOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema> {
|
|
145
|
+
interface AddRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleResponsePayloadSchema> {
|
|
147
146
|
}
|
|
148
147
|
}
|
|
149
148
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
150
|
-
interface
|
|
151
|
-
'
|
|
152
|
-
'
|
|
153
|
-
'
|
|
149
|
+
interface AuthenticateEmitPayload {
|
|
150
|
+
'token'?: string | undefined | null;
|
|
151
|
+
'skillId'?: string | undefined | null;
|
|
152
|
+
'apiKey'?: string | undefined | null;
|
|
154
153
|
}
|
|
155
|
-
interface
|
|
156
|
-
id: '
|
|
154
|
+
interface AuthenticateEmitPayloadSchema extends SpruceSchema.Schema {
|
|
155
|
+
id: 'authenticateEmitPayload';
|
|
157
156
|
version: 'v2020_12_25';
|
|
158
157
|
namespace: 'Mercury';
|
|
159
158
|
name: '';
|
|
160
159
|
fields: {
|
|
161
160
|
/** . */
|
|
162
|
-
'
|
|
163
|
-
type: '
|
|
164
|
-
isRequired: true;
|
|
161
|
+
'token': {
|
|
162
|
+
type: 'text';
|
|
165
163
|
options: undefined;
|
|
166
164
|
};
|
|
167
165
|
/** . */
|
|
168
|
-
'
|
|
169
|
-
type: '
|
|
170
|
-
isRequired: true;
|
|
166
|
+
'skillId': {
|
|
167
|
+
type: 'text';
|
|
171
168
|
options: undefined;
|
|
172
169
|
};
|
|
173
170
|
/** . */
|
|
174
|
-
'
|
|
175
|
-
type: '
|
|
176
|
-
isRequired: true;
|
|
171
|
+
'apiKey': {
|
|
172
|
+
type: 'text';
|
|
177
173
|
options: undefined;
|
|
178
174
|
};
|
|
179
175
|
};
|
|
180
176
|
}
|
|
181
|
-
interface
|
|
177
|
+
interface AuthenticateEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema> {
|
|
182
178
|
}
|
|
183
179
|
}
|
|
184
180
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
185
|
-
interface
|
|
181
|
+
interface AuthenticateEmitTargetAndPayload {
|
|
186
182
|
/** Source. */
|
|
187
183
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
188
|
-
'
|
|
189
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayload;
|
|
184
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayload | undefined | null;
|
|
190
185
|
}
|
|
191
|
-
interface
|
|
192
|
-
id: '
|
|
186
|
+
interface AuthenticateEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
187
|
+
id: 'authenticateEmitTargetAndPayload';
|
|
193
188
|
version: 'v2020_12_25';
|
|
194
189
|
namespace: 'Mercury';
|
|
195
190
|
name: '';
|
|
@@ -203,157 +198,164 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
203
198
|
};
|
|
204
199
|
};
|
|
205
200
|
/** . */
|
|
206
|
-
'target': {
|
|
207
|
-
type: 'schema';
|
|
208
|
-
isRequired: true;
|
|
209
|
-
options: {
|
|
210
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema;
|
|
211
|
-
};
|
|
212
|
-
};
|
|
213
|
-
/** . */
|
|
214
201
|
'payload': {
|
|
215
202
|
type: 'schema';
|
|
216
|
-
isRequired: true;
|
|
217
203
|
options: {
|
|
218
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
204
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema;
|
|
219
205
|
};
|
|
220
206
|
};
|
|
221
207
|
};
|
|
222
208
|
}
|
|
223
|
-
interface
|
|
209
|
+
interface AuthenticateEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitTargetAndPayloadSchema> {
|
|
224
210
|
}
|
|
225
211
|
}
|
|
226
212
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
227
|
-
interface
|
|
228
|
-
'
|
|
229
|
-
'
|
|
230
|
-
'links'?: SpruceSchemas.Spruce.v2020_07_22.Link[] | undefined | null;
|
|
213
|
+
interface ConfirmPinRespondPayload {
|
|
214
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
215
|
+
'token': string;
|
|
231
216
|
}
|
|
232
|
-
interface
|
|
233
|
-
id: '
|
|
217
|
+
interface ConfirmPinRespondPayloadSchema extends SpruceSchema.Schema {
|
|
218
|
+
id: 'confirmPinRespondPayload';
|
|
234
219
|
version: 'v2020_12_25';
|
|
235
220
|
namespace: 'Mercury';
|
|
236
221
|
name: '';
|
|
237
222
|
fields: {
|
|
238
223
|
/** . */
|
|
239
|
-
'
|
|
240
|
-
type: '
|
|
241
|
-
|
|
242
|
-
options:
|
|
224
|
+
'person': {
|
|
225
|
+
type: 'schema';
|
|
226
|
+
isRequired: true;
|
|
227
|
+
options: {
|
|
228
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
229
|
+
};
|
|
243
230
|
};
|
|
244
231
|
/** . */
|
|
245
|
-
'
|
|
232
|
+
'token': {
|
|
246
233
|
type: 'text';
|
|
247
|
-
|
|
234
|
+
isRequired: true;
|
|
248
235
|
options: undefined;
|
|
249
236
|
};
|
|
250
|
-
/** . */
|
|
251
|
-
'links': {
|
|
252
|
-
type: 'schema';
|
|
253
|
-
isArray: true;
|
|
254
|
-
minArrayLength: 0;
|
|
255
|
-
options: {
|
|
256
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.LinkSchema;
|
|
257
|
-
};
|
|
258
|
-
};
|
|
259
237
|
};
|
|
260
238
|
}
|
|
261
|
-
interface
|
|
239
|
+
interface ConfirmPinRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinRespondPayloadSchema> {
|
|
262
240
|
}
|
|
263
241
|
}
|
|
264
242
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
265
|
-
interface
|
|
266
|
-
'
|
|
243
|
+
interface AuthSchema {
|
|
244
|
+
'person'?: SpruceSchemas.Spruce.v2020_07_22.Person | undefined | null;
|
|
245
|
+
'skill'?: SpruceSchemas.Spruce.v2020_07_22.Skill | undefined | null;
|
|
267
246
|
}
|
|
268
|
-
interface
|
|
269
|
-
id: '
|
|
247
|
+
interface AuthSchemaSchema extends SpruceSchema.Schema {
|
|
248
|
+
id: 'authSchema';
|
|
270
249
|
version: 'v2020_12_25';
|
|
271
250
|
namespace: 'Mercury';
|
|
272
251
|
name: '';
|
|
273
252
|
fields: {
|
|
274
253
|
/** . */
|
|
275
|
-
'
|
|
254
|
+
'person': {
|
|
276
255
|
type: 'schema';
|
|
277
256
|
options: {
|
|
278
|
-
schema: SpruceSchemas.
|
|
257
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
/** . */
|
|
261
|
+
'skill': {
|
|
262
|
+
type: 'schema';
|
|
263
|
+
options: {
|
|
264
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.SkillSchema;
|
|
279
265
|
};
|
|
280
266
|
};
|
|
281
267
|
};
|
|
282
268
|
}
|
|
283
|
-
interface
|
|
269
|
+
interface AuthSchemaEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema> {
|
|
284
270
|
}
|
|
285
271
|
}
|
|
286
272
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
287
|
-
interface
|
|
288
|
-
'
|
|
289
|
-
'
|
|
273
|
+
interface AuthenticateResponsePayload {
|
|
274
|
+
'type': ("authenticated" | "anonymous");
|
|
275
|
+
'auth': SpruceSchemas.Mercury.v2020_12_25.AuthSchema;
|
|
290
276
|
}
|
|
291
|
-
interface
|
|
292
|
-
id: '
|
|
277
|
+
interface AuthenticateResponsePayloadSchema extends SpruceSchema.Schema {
|
|
278
|
+
id: 'authenticateResponsePayload';
|
|
293
279
|
version: 'v2020_12_25';
|
|
294
280
|
namespace: 'Mercury';
|
|
295
281
|
name: '';
|
|
296
282
|
fields: {
|
|
297
283
|
/** . */
|
|
298
|
-
'
|
|
299
|
-
type: '
|
|
284
|
+
'type': {
|
|
285
|
+
type: 'select';
|
|
300
286
|
isRequired: true;
|
|
301
|
-
options:
|
|
287
|
+
options: {
|
|
288
|
+
choices: [{
|
|
289
|
+
"value": "authenticated";
|
|
290
|
+
"label": "Authenticated";
|
|
291
|
+
}, {
|
|
292
|
+
"value": "anonymous";
|
|
293
|
+
"label": "Anonymous";
|
|
294
|
+
}];
|
|
295
|
+
};
|
|
302
296
|
};
|
|
303
297
|
/** . */
|
|
304
|
-
'
|
|
305
|
-
type: '
|
|
306
|
-
|
|
298
|
+
'auth': {
|
|
299
|
+
type: 'schema';
|
|
300
|
+
isRequired: true;
|
|
301
|
+
options: {
|
|
302
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema;
|
|
303
|
+
};
|
|
307
304
|
};
|
|
308
305
|
};
|
|
309
306
|
}
|
|
310
|
-
interface
|
|
307
|
+
interface AuthenticateResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateResponsePayloadSchema> {
|
|
311
308
|
}
|
|
312
309
|
}
|
|
313
310
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
314
|
-
interface
|
|
315
|
-
'
|
|
316
|
-
'
|
|
317
|
-
'isLastRole': boolean;
|
|
311
|
+
interface CanListenEmitPayload {
|
|
312
|
+
'authorizerStatuses'?: ("clockedIn" | "clockedOut" | "onPrem" | "offPrem") | undefined | null;
|
|
313
|
+
'fullyQualifiedEventName': string;
|
|
318
314
|
}
|
|
319
|
-
interface
|
|
320
|
-
id: '
|
|
315
|
+
interface CanListenEmitPayloadSchema extends SpruceSchema.Schema {
|
|
316
|
+
id: 'canListenEmitPayload';
|
|
321
317
|
version: 'v2020_12_25';
|
|
322
318
|
namespace: 'Mercury';
|
|
323
319
|
name: '';
|
|
324
320
|
fields: {
|
|
325
321
|
/** . */
|
|
326
|
-
'
|
|
327
|
-
type: '
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
322
|
+
'authorizerStatuses': {
|
|
323
|
+
type: 'select';
|
|
324
|
+
options: {
|
|
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
|
+
}];
|
|
338
|
+
};
|
|
336
339
|
};
|
|
337
340
|
/** . */
|
|
338
|
-
'
|
|
339
|
-
type: '
|
|
341
|
+
'fullyQualifiedEventName': {
|
|
342
|
+
type: 'text';
|
|
340
343
|
isRequired: true;
|
|
341
344
|
options: undefined;
|
|
342
345
|
};
|
|
343
346
|
};
|
|
344
347
|
}
|
|
345
|
-
interface
|
|
348
|
+
interface CanListenEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema> {
|
|
346
349
|
}
|
|
347
350
|
}
|
|
348
351
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
349
|
-
interface
|
|
352
|
+
interface CanListenEmitTargetAndPayload {
|
|
350
353
|
/** Source. */
|
|
351
354
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
352
|
-
'
|
|
353
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayload;
|
|
355
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayload;
|
|
354
356
|
}
|
|
355
|
-
interface
|
|
356
|
-
id: '
|
|
357
|
+
interface CanListenEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
358
|
+
id: 'canListenEmitTargetAndPayload';
|
|
357
359
|
version: 'v2020_12_25';
|
|
358
360
|
namespace: 'Mercury';
|
|
359
361
|
name: '';
|
|
@@ -367,83 +369,74 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
367
369
|
};
|
|
368
370
|
};
|
|
369
371
|
/** . */
|
|
370
|
-
'target': {
|
|
371
|
-
type: 'schema';
|
|
372
|
-
isRequired: true;
|
|
373
|
-
options: {
|
|
374
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema;
|
|
375
|
-
};
|
|
376
|
-
};
|
|
377
|
-
/** . */
|
|
378
372
|
'payload': {
|
|
379
373
|
type: 'schema';
|
|
380
374
|
isRequired: true;
|
|
381
375
|
options: {
|
|
382
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
376
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema;
|
|
383
377
|
};
|
|
384
378
|
};
|
|
385
379
|
};
|
|
386
380
|
}
|
|
387
|
-
interface
|
|
381
|
+
interface CanListenEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitTargetAndPayloadSchema> {
|
|
388
382
|
}
|
|
389
383
|
}
|
|
390
384
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
391
|
-
interface
|
|
385
|
+
interface CanListenResponsePayload {
|
|
386
|
+
'can'?: boolean | undefined | null;
|
|
392
387
|
}
|
|
393
|
-
interface
|
|
394
|
-
id: '
|
|
388
|
+
interface CanListenResponsePayloadSchema extends SpruceSchema.Schema {
|
|
389
|
+
id: 'canListenResponsePayload';
|
|
395
390
|
version: 'v2020_12_25';
|
|
396
391
|
namespace: 'Mercury';
|
|
397
392
|
name: '';
|
|
398
|
-
fields: {
|
|
393
|
+
fields: {
|
|
394
|
+
/** . */
|
|
395
|
+
'can': {
|
|
396
|
+
type: 'boolean';
|
|
397
|
+
options: undefined;
|
|
398
|
+
};
|
|
399
|
+
};
|
|
399
400
|
}
|
|
400
|
-
interface
|
|
401
|
+
interface CanListenResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenResponsePayloadSchema> {
|
|
401
402
|
}
|
|
402
403
|
}
|
|
403
404
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
404
|
-
interface
|
|
405
|
-
'
|
|
406
|
-
'
|
|
407
|
-
'topic'?: string | undefined | null;
|
|
405
|
+
interface ConfirmPinEmitPayload {
|
|
406
|
+
'challenge': string;
|
|
407
|
+
'pin': string;
|
|
408
408
|
}
|
|
409
|
-
interface
|
|
410
|
-
id: '
|
|
409
|
+
interface ConfirmPinEmitPayloadSchema extends SpruceSchema.Schema {
|
|
410
|
+
id: 'confirmPinEmitPayload';
|
|
411
411
|
version: 'v2020_12_25';
|
|
412
412
|
namespace: 'Mercury';
|
|
413
413
|
name: '';
|
|
414
414
|
fields: {
|
|
415
415
|
/** . */
|
|
416
|
-
'
|
|
417
|
-
type: 'schema';
|
|
418
|
-
isRequired: true;
|
|
419
|
-
options: {
|
|
420
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.MessageSchema;
|
|
421
|
-
};
|
|
422
|
-
};
|
|
423
|
-
/** . */
|
|
424
|
-
'conversationState': {
|
|
416
|
+
'challenge': {
|
|
425
417
|
type: 'text';
|
|
418
|
+
isRequired: true;
|
|
426
419
|
options: undefined;
|
|
427
420
|
};
|
|
428
421
|
/** . */
|
|
429
|
-
'
|
|
422
|
+
'pin': {
|
|
430
423
|
type: 'text';
|
|
424
|
+
isRequired: true;
|
|
431
425
|
options: undefined;
|
|
432
426
|
};
|
|
433
427
|
};
|
|
434
428
|
}
|
|
435
|
-
interface
|
|
429
|
+
interface ConfirmPinEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema> {
|
|
436
430
|
}
|
|
437
431
|
}
|
|
438
432
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
439
|
-
interface
|
|
433
|
+
interface ConfirmPinEmitTargetAndPayload {
|
|
440
434
|
/** Source. */
|
|
441
435
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
442
|
-
'
|
|
443
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayload;
|
|
436
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayload;
|
|
444
437
|
}
|
|
445
|
-
interface
|
|
446
|
-
id: '
|
|
438
|
+
interface ConfirmPinEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
439
|
+
id: 'confirmPinEmitTargetAndPayload';
|
|
447
440
|
version: 'v2020_12_25';
|
|
448
441
|
namespace: 'Mercury';
|
|
449
442
|
name: '';
|
|
@@ -457,1117 +450,94 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
457
450
|
};
|
|
458
451
|
};
|
|
459
452
|
/** . */
|
|
460
|
-
'target': {
|
|
461
|
-
type: 'schema';
|
|
462
|
-
options: {
|
|
463
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.MessageTargetSchema;
|
|
464
|
-
};
|
|
465
|
-
};
|
|
466
|
-
/** . */
|
|
467
453
|
'payload': {
|
|
468
454
|
type: 'schema';
|
|
469
455
|
isRequired: true;
|
|
470
456
|
options: {
|
|
471
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
457
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema;
|
|
472
458
|
};
|
|
473
459
|
};
|
|
474
460
|
};
|
|
475
461
|
}
|
|
476
|
-
interface
|
|
462
|
+
interface ConfirmPinEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitTargetAndPayloadSchema> {
|
|
477
463
|
}
|
|
478
464
|
}
|
|
479
465
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
480
|
-
interface
|
|
481
|
-
'
|
|
482
|
-
'confidence': number;
|
|
483
|
-
'label': string;
|
|
466
|
+
interface CreateLocationEmitTarget {
|
|
467
|
+
'organizationId': string;
|
|
484
468
|
}
|
|
485
|
-
interface
|
|
486
|
-
id: '
|
|
469
|
+
interface CreateLocationEmitTargetSchema extends SpruceSchema.Schema {
|
|
470
|
+
id: 'createLocationEmitTarget';
|
|
487
471
|
version: 'v2020_12_25';
|
|
488
472
|
namespace: 'Mercury';
|
|
489
473
|
name: '';
|
|
490
474
|
fields: {
|
|
491
475
|
/** . */
|
|
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';
|
|
476
|
+
'organizationId': {
|
|
477
|
+
type: 'id';
|
|
506
478
|
isRequired: true;
|
|
507
479
|
options: undefined;
|
|
508
480
|
};
|
|
509
481
|
};
|
|
510
482
|
}
|
|
511
|
-
interface
|
|
483
|
+
interface CreateLocationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CreateLocationEmitTargetSchema> {
|
|
512
484
|
}
|
|
513
485
|
}
|
|
514
486
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
515
|
-
interface
|
|
516
|
-
|
|
517
|
-
'
|
|
518
|
-
|
|
519
|
-
'
|
|
520
|
-
|
|
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;
|
|
521
502
|
}
|
|
522
|
-
interface
|
|
523
|
-
id: '
|
|
503
|
+
interface CreateLocationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
504
|
+
id: 'createLocationEmitPayload';
|
|
524
505
|
version: 'v2020_12_25';
|
|
525
506
|
namespace: 'Mercury';
|
|
526
507
|
name: '';
|
|
527
508
|
fields: {
|
|
528
|
-
/** . */
|
|
529
|
-
'
|
|
530
|
-
|
|
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': {
|
|
509
|
+
/** Name. */
|
|
510
|
+
'name': {
|
|
511
|
+
label: 'Name';
|
|
549
512
|
type: 'text';
|
|
550
|
-
|
|
513
|
+
isRequired: true;
|
|
551
514
|
options: undefined;
|
|
552
515
|
};
|
|
553
|
-
/** . */
|
|
554
|
-
'
|
|
516
|
+
/** Location number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
517
|
+
'num': {
|
|
518
|
+
label: 'Location number';
|
|
555
519
|
type: 'text';
|
|
556
|
-
|
|
520
|
+
hint: 'You can use other symbols, like # or dashes. #123 or 32-US-5';
|
|
557
521
|
options: undefined;
|
|
558
522
|
};
|
|
559
|
-
/** . */
|
|
560
|
-
'
|
|
561
|
-
|
|
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;
|
|
562
529
|
options: undefined;
|
|
563
530
|
};
|
|
564
|
-
/** . */
|
|
565
|
-
'
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
options:
|
|
569
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema;
|
|
570
|
-
};
|
|
531
|
+
/** Main Phone. */
|
|
532
|
+
'phone': {
|
|
533
|
+
label: 'Main Phone';
|
|
534
|
+
type: 'phone';
|
|
535
|
+
options: undefined;
|
|
571
536
|
};
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
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
|
-
isRequired: true;
|
|
591
|
-
options: {
|
|
592
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
593
|
-
};
|
|
594
|
-
};
|
|
595
|
-
};
|
|
596
|
-
}
|
|
597
|
-
interface DidSignupEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema> {
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
601
|
-
interface DidSignupEmitTargetAndPayload {
|
|
602
|
-
/** Source. */
|
|
603
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
604
|
-
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
605
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayload;
|
|
606
|
-
}
|
|
607
|
-
interface DidSignupEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
608
|
-
id: 'didSignupEmitTargetAndPayload';
|
|
609
|
-
version: 'v2020_12_25';
|
|
610
|
-
namespace: 'Mercury';
|
|
611
|
-
name: '';
|
|
612
|
-
fields: {
|
|
613
|
-
/** Source. */
|
|
614
|
-
'source': {
|
|
615
|
-
label: 'Source';
|
|
616
|
-
type: 'schema';
|
|
617
|
-
options: {
|
|
618
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
619
|
-
};
|
|
620
|
-
};
|
|
621
|
-
/** . */
|
|
622
|
-
'target': {
|
|
623
|
-
type: 'schema';
|
|
624
|
-
options: {
|
|
625
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
626
|
-
};
|
|
627
|
-
};
|
|
628
|
-
/** . */
|
|
629
|
-
'payload': {
|
|
630
|
-
type: 'schema';
|
|
631
|
-
isRequired: true;
|
|
632
|
-
options: {
|
|
633
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema;
|
|
634
|
-
};
|
|
635
|
-
};
|
|
636
|
-
};
|
|
637
|
-
}
|
|
638
|
-
interface DidSignupEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitTargetAndPayloadSchema> {
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
642
|
-
interface DidUpdateFeedEmitTarget {
|
|
643
|
-
'locationId'?: string | undefined | null;
|
|
644
|
-
'organizationId'?: string | undefined | null;
|
|
645
|
-
'skillId'?: string | undefined | null;
|
|
646
|
-
}
|
|
647
|
-
interface DidUpdateFeedEmitTargetSchema extends SpruceSchema.Schema {
|
|
648
|
-
id: 'didUpdateFeedEmitTarget';
|
|
649
|
-
version: 'v2020_12_25';
|
|
650
|
-
namespace: 'Mercury';
|
|
651
|
-
name: '';
|
|
652
|
-
fields: {
|
|
653
|
-
/** . */
|
|
654
|
-
'locationId': {
|
|
655
|
-
type: 'id';
|
|
656
|
-
options: undefined;
|
|
657
|
-
};
|
|
658
|
-
/** . */
|
|
659
|
-
'organizationId': {
|
|
660
|
-
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
|
-
isRequired: true;
|
|
792
|
-
options: {
|
|
793
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema;
|
|
794
|
-
};
|
|
795
|
-
};
|
|
796
|
-
};
|
|
797
|
-
}
|
|
798
|
-
interface DidUpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitTargetAndPayloadSchema> {
|
|
799
|
-
}
|
|
800
|
-
}
|
|
801
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
802
|
-
interface InvokeChatCallbackTarget {
|
|
803
|
-
'skillId': string;
|
|
804
|
-
'chatPersonId': string;
|
|
805
|
-
}
|
|
806
|
-
interface InvokeChatCallbackTargetSchema extends SpruceSchema.Schema {
|
|
807
|
-
id: 'invokeChatCallbackTarget';
|
|
808
|
-
version: 'v2020_12_25';
|
|
809
|
-
namespace: 'Mercury';
|
|
810
|
-
name: '';
|
|
811
|
-
fields: {
|
|
812
|
-
/** . */
|
|
813
|
-
'skillId': {
|
|
814
|
-
type: 'id';
|
|
815
|
-
isRequired: true;
|
|
816
|
-
options: undefined;
|
|
817
|
-
};
|
|
818
|
-
/** . */
|
|
819
|
-
'chatPersonId': {
|
|
820
|
-
type: 'id';
|
|
821
|
-
isRequired: true;
|
|
822
|
-
options: undefined;
|
|
823
|
-
};
|
|
824
|
-
};
|
|
825
|
-
}
|
|
826
|
-
interface InvokeChatCallbackTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackTargetSchema> {
|
|
827
|
-
}
|
|
828
|
-
}
|
|
829
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
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;
|
|
844
|
-
options: undefined;
|
|
845
|
-
};
|
|
846
|
-
/** . */
|
|
847
|
-
'state': {
|
|
848
|
-
type: 'raw';
|
|
849
|
-
options: {
|
|
850
|
-
valueType: `Record<string, any>`;
|
|
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
|
-
};
|
|
878
|
-
};
|
|
879
|
-
/** . */
|
|
880
|
-
'target': {
|
|
881
|
-
type: 'schema';
|
|
882
|
-
isRequired: true;
|
|
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 ChatbotCallbacks {
|
|
947
|
-
'placeholder': string;
|
|
948
|
-
'useThisWhenever': string;
|
|
949
|
-
}
|
|
950
|
-
interface ChatbotCallbacksSchema extends SpruceSchema.Schema {
|
|
951
|
-
id: 'chatbotCallbacks';
|
|
952
|
-
version: 'v2020_12_25';
|
|
953
|
-
namespace: 'Mercury';
|
|
954
|
-
name: '';
|
|
955
|
-
fields: {
|
|
956
|
-
/** . */
|
|
957
|
-
'placeholder': {
|
|
958
|
-
type: 'id';
|
|
959
|
-
isRequired: true;
|
|
960
|
-
options: undefined;
|
|
961
|
-
};
|
|
962
|
-
/** . */
|
|
963
|
-
'useThisWhenever': {
|
|
964
|
-
type: 'text';
|
|
965
|
-
isRequired: true;
|
|
966
|
-
options: undefined;
|
|
967
|
-
};
|
|
968
|
-
};
|
|
969
|
-
}
|
|
970
|
-
interface ChatbotCallbacksEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ChatbotCallbacksSchema> {
|
|
971
|
-
}
|
|
972
|
-
}
|
|
973
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
974
|
-
interface Chatbot {
|
|
975
|
-
'title': string;
|
|
976
|
-
'yourJobIfYouChooseToAcceptItIs': string;
|
|
977
|
-
'weAreDoneWhen': string;
|
|
978
|
-
'pleaseKeepInMindThat'?: string[] | undefined | null;
|
|
979
|
-
'stateSchema'?: (SpruceSchema.Schema) | undefined | null;
|
|
980
|
-
'model'?: string | undefined | null;
|
|
981
|
-
'promptTemplate'?: string | undefined | null;
|
|
982
|
-
'callbacks'?: SpruceSchemas.Mercury.v2020_12_25.ChatbotCallbacks[] | undefined | null;
|
|
983
|
-
}
|
|
984
|
-
interface ChatbotSchema extends SpruceSchema.Schema {
|
|
985
|
-
id: 'chatbot';
|
|
986
|
-
version: 'v2020_12_25';
|
|
987
|
-
namespace: 'Mercury';
|
|
988
|
-
name: '';
|
|
989
|
-
fields: {
|
|
990
|
-
/** . */
|
|
991
|
-
'title': {
|
|
992
|
-
type: 'text';
|
|
993
|
-
isRequired: true;
|
|
994
|
-
options: undefined;
|
|
995
|
-
};
|
|
996
|
-
/** . */
|
|
997
|
-
'yourJobIfYouChooseToAcceptItIs': {
|
|
998
|
-
type: 'text';
|
|
999
|
-
isRequired: true;
|
|
1000
|
-
options: undefined;
|
|
1001
|
-
};
|
|
1002
|
-
/** . */
|
|
1003
|
-
'weAreDoneWhen': {
|
|
1004
|
-
type: 'text';
|
|
1005
|
-
isRequired: true;
|
|
1006
|
-
options: undefined;
|
|
1007
|
-
};
|
|
1008
|
-
/** . */
|
|
1009
|
-
'pleaseKeepInMindThat': {
|
|
1010
|
-
type: 'text';
|
|
1011
|
-
isArray: true;
|
|
1012
|
-
options: undefined;
|
|
1013
|
-
};
|
|
1014
|
-
/** . */
|
|
1015
|
-
'stateSchema': {
|
|
1016
|
-
type: 'raw';
|
|
1017
|
-
options: {
|
|
1018
|
-
valueType: `SpruceSchema.Schema`;
|
|
1019
|
-
};
|
|
1020
|
-
};
|
|
1021
|
-
/** . */
|
|
1022
|
-
'model': {
|
|
1023
|
-
type: 'id';
|
|
1024
|
-
options: undefined;
|
|
1025
|
-
};
|
|
1026
|
-
/** . */
|
|
1027
|
-
'promptTemplate': {
|
|
1028
|
-
type: 'text';
|
|
1029
|
-
options: undefined;
|
|
1030
|
-
};
|
|
1031
|
-
/** . */
|
|
1032
|
-
'callbacks': {
|
|
1033
|
-
type: 'schema';
|
|
1034
|
-
isArray: true;
|
|
1035
|
-
minArrayLength: 0;
|
|
1036
|
-
options: {
|
|
1037
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ChatbotCallbacksSchema;
|
|
1038
|
-
};
|
|
1039
|
-
};
|
|
1040
|
-
};
|
|
1041
|
-
}
|
|
1042
|
-
interface ChatbotEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ChatbotSchema> {
|
|
1043
|
-
}
|
|
1044
|
-
}
|
|
1045
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1046
|
-
interface RegisterChatbotsResponsePayload {
|
|
1047
|
-
'bots': SpruceSchemas.Mercury.v2020_12_25.Chatbot[];
|
|
1048
|
-
}
|
|
1049
|
-
interface RegisterChatbotsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
1050
|
-
id: 'registerChatbotsResponsePayload';
|
|
1051
|
-
version: 'v2020_12_25';
|
|
1052
|
-
namespace: 'Mercury';
|
|
1053
|
-
name: '';
|
|
1054
|
-
fields: {
|
|
1055
|
-
/** . */
|
|
1056
|
-
'bots': {
|
|
1057
|
-
type: 'schema';
|
|
1058
|
-
isRequired: true;
|
|
1059
|
-
isArray: true;
|
|
1060
|
-
minArrayLength: 0;
|
|
1061
|
-
options: {
|
|
1062
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ChatbotSchema;
|
|
1063
|
-
};
|
|
1064
|
-
};
|
|
1065
|
-
};
|
|
1066
|
-
}
|
|
1067
|
-
interface RegisterChatbotsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterChatbotsResponsePayloadSchema> {
|
|
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";
|
|
@@ -4127,39 +3097,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4127
3097
|
interface DeleteLocationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DeleteLocationEmitTargetSchema> {
|
|
4128
3098
|
}
|
|
4129
3099
|
}
|
|
4130
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4131
|
-
interface DeleteLocationEmitTargetAndPayload {
|
|
4132
|
-
/** Source. */
|
|
4133
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
4134
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.DeleteLocationEmitTarget;
|
|
4135
|
-
}
|
|
4136
|
-
interface DeleteLocationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
4137
|
-
id: 'deleteLocationEmitTargetAndPayload';
|
|
4138
|
-
version: 'v2020_12_25';
|
|
4139
|
-
namespace: 'Mercury';
|
|
4140
|
-
name: '';
|
|
4141
|
-
fields: {
|
|
4142
|
-
/** Source. */
|
|
4143
|
-
'source': {
|
|
4144
|
-
label: 'Source';
|
|
4145
|
-
type: 'schema';
|
|
4146
|
-
options: {
|
|
4147
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
4148
|
-
};
|
|
4149
|
-
};
|
|
4150
|
-
/** . */
|
|
4151
|
-
'target': {
|
|
4152
|
-
type: 'schema';
|
|
4153
|
-
isRequired: true;
|
|
4154
|
-
options: {
|
|
4155
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DeleteLocationEmitTargetSchema;
|
|
4156
|
-
};
|
|
4157
|
-
};
|
|
4158
|
-
};
|
|
4159
|
-
}
|
|
4160
|
-
interface DeleteLocationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DeleteLocationEmitTargetAndPayloadSchema> {
|
|
4161
|
-
}
|
|
4162
|
-
}
|
|
4163
3100
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4164
3101
|
interface DeleteLocationResponsePayload {
|
|
4165
3102
|
'location': SpruceSchemas.Spruce.v2020_07_22.Location;
|
|
@@ -5854,6 +4791,47 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
5854
4791
|
interface IsSkillInstalledEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitPayloadSchema> {
|
|
5855
4792
|
}
|
|
5856
4793
|
}
|
|
4794
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4795
|
+
interface IsSkillInstalledEmitTargetAndPayload {
|
|
4796
|
+
/** Source. */
|
|
4797
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
4798
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitTarget;
|
|
4799
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitPayload | undefined | null;
|
|
4800
|
+
}
|
|
4801
|
+
interface IsSkillInstalledEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
4802
|
+
id: 'isSkillInstalledEmitTargetAndPayload';
|
|
4803
|
+
version: 'v2020_12_25';
|
|
4804
|
+
namespace: 'Mercury';
|
|
4805
|
+
name: '';
|
|
4806
|
+
fields: {
|
|
4807
|
+
/** Source. */
|
|
4808
|
+
'source': {
|
|
4809
|
+
label: 'Source';
|
|
4810
|
+
type: 'schema';
|
|
4811
|
+
options: {
|
|
4812
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
4813
|
+
};
|
|
4814
|
+
};
|
|
4815
|
+
/** . */
|
|
4816
|
+
'target': {
|
|
4817
|
+
type: 'schema';
|
|
4818
|
+
isRequired: true;
|
|
4819
|
+
options: {
|
|
4820
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitTargetSchema;
|
|
4821
|
+
};
|
|
4822
|
+
};
|
|
4823
|
+
/** . */
|
|
4824
|
+
'payload': {
|
|
4825
|
+
type: 'schema';
|
|
4826
|
+
options: {
|
|
4827
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitPayloadSchema;
|
|
4828
|
+
};
|
|
4829
|
+
};
|
|
4830
|
+
};
|
|
4831
|
+
}
|
|
4832
|
+
interface IsSkillInstalledEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitTargetAndPayloadSchema> {
|
|
4833
|
+
}
|
|
4834
|
+
}
|
|
5857
4835
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5858
4836
|
interface IsSkillInstalledResponsePayload {
|
|
5859
4837
|
'isInstalled': boolean;
|
|
@@ -6165,34 +5143,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6165
5143
|
interface ListLocationsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitTargetSchema> {
|
|
6166
5144
|
}
|
|
6167
5145
|
}
|
|
6168
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6169
|
-
interface ListLocationsEmitPayload {
|
|
6170
|
-
'shouldOnlyShowWhereIAmEmployed'?: boolean | undefined | null;
|
|
6171
|
-
'paging'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequest | undefined | null;
|
|
6172
|
-
}
|
|
6173
|
-
interface ListLocationsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
6174
|
-
id: 'listLocationsEmitPayload';
|
|
6175
|
-
version: 'v2020_12_25';
|
|
6176
|
-
namespace: 'Mercury';
|
|
6177
|
-
name: '';
|
|
6178
|
-
fields: {
|
|
6179
|
-
/** . */
|
|
6180
|
-
'shouldOnlyShowWhereIAmEmployed': {
|
|
6181
|
-
type: 'boolean';
|
|
6182
|
-
options: undefined;
|
|
6183
|
-
};
|
|
6184
|
-
/** . */
|
|
6185
|
-
'paging': {
|
|
6186
|
-
type: 'schema';
|
|
6187
|
-
options: {
|
|
6188
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequestSchema;
|
|
6189
|
-
};
|
|
6190
|
-
};
|
|
6191
|
-
};
|
|
6192
|
-
}
|
|
6193
|
-
interface ListLocationsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitPayloadSchema> {
|
|
6194
|
-
}
|
|
6195
|
-
}
|
|
6196
5146
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6197
5147
|
interface ListLocationsEmitTargetAndPayload {
|
|
6198
5148
|
/** Source. */
|
|
@@ -6244,52 +5194,120 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6244
5194
|
name: '';
|
|
6245
5195
|
fields: {
|
|
6246
5196
|
/** . */
|
|
6247
|
-
'locations': {
|
|
5197
|
+
'locations': {
|
|
5198
|
+
type: 'schema';
|
|
5199
|
+
isRequired: true;
|
|
5200
|
+
isArray: true;
|
|
5201
|
+
minArrayLength: 0;
|
|
5202
|
+
options: {
|
|
5203
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.LocationSchema;
|
|
5204
|
+
};
|
|
5205
|
+
};
|
|
5206
|
+
};
|
|
5207
|
+
}
|
|
5208
|
+
interface ListLocationsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListLocationsResponsePayloadSchema> {
|
|
5209
|
+
}
|
|
5210
|
+
}
|
|
5211
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5212
|
+
interface ListOrgsEmitTarget {
|
|
5213
|
+
'organizationIds'?: string[] | undefined | null;
|
|
5214
|
+
'personId'?: string | undefined | null;
|
|
5215
|
+
'namespace'?: string | undefined | null;
|
|
5216
|
+
}
|
|
5217
|
+
interface ListOrgsEmitTargetSchema extends SpruceSchema.Schema {
|
|
5218
|
+
id: 'listOrgsEmitTarget';
|
|
5219
|
+
version: 'v2020_12_25';
|
|
5220
|
+
namespace: 'Mercury';
|
|
5221
|
+
name: '';
|
|
5222
|
+
fields: {
|
|
5223
|
+
/** . */
|
|
5224
|
+
'organizationIds': {
|
|
5225
|
+
type: 'id';
|
|
5226
|
+
isArray: true;
|
|
5227
|
+
minArrayLength: 0;
|
|
5228
|
+
options: undefined;
|
|
5229
|
+
};
|
|
5230
|
+
/** . */
|
|
5231
|
+
'personId': {
|
|
5232
|
+
type: 'id';
|
|
5233
|
+
options: undefined;
|
|
5234
|
+
};
|
|
5235
|
+
/** . */
|
|
5236
|
+
'namespace': {
|
|
5237
|
+
type: 'id';
|
|
5238
|
+
options: undefined;
|
|
5239
|
+
};
|
|
5240
|
+
};
|
|
5241
|
+
}
|
|
5242
|
+
interface ListOrgsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTargetSchema> {
|
|
5243
|
+
}
|
|
5244
|
+
}
|
|
5245
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5246
|
+
interface ListOrganizationsEmitTargetAndPayload {
|
|
5247
|
+
/** Source. */
|
|
5248
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
5249
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTarget | undefined | null;
|
|
5250
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayload | undefined | null;
|
|
5251
|
+
}
|
|
5252
|
+
interface ListOrganizationsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
5253
|
+
id: 'listOrganizationsEmitTargetAndPayload';
|
|
5254
|
+
version: 'v2020_12_25';
|
|
5255
|
+
namespace: 'Mercury';
|
|
5256
|
+
name: '';
|
|
5257
|
+
fields: {
|
|
5258
|
+
/** Source. */
|
|
5259
|
+
'source': {
|
|
5260
|
+
label: 'Source';
|
|
5261
|
+
type: 'schema';
|
|
5262
|
+
options: {
|
|
5263
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
5264
|
+
};
|
|
5265
|
+
};
|
|
5266
|
+
/** . */
|
|
5267
|
+
'target': {
|
|
6248
5268
|
type: 'schema';
|
|
6249
|
-
isRequired: true;
|
|
6250
|
-
isArray: true;
|
|
6251
|
-
minArrayLength: 0;
|
|
6252
5269
|
options: {
|
|
6253
|
-
schema: SpruceSchemas.
|
|
5270
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTargetSchema;
|
|
5271
|
+
};
|
|
5272
|
+
};
|
|
5273
|
+
/** . */
|
|
5274
|
+
'payload': {
|
|
5275
|
+
type: 'schema';
|
|
5276
|
+
options: {
|
|
5277
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayloadSchema;
|
|
6254
5278
|
};
|
|
6255
5279
|
};
|
|
6256
5280
|
};
|
|
6257
5281
|
}
|
|
6258
|
-
interface
|
|
5282
|
+
interface ListOrganizationsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrganizationsEmitTargetAndPayloadSchema> {
|
|
6259
5283
|
}
|
|
6260
5284
|
}
|
|
6261
5285
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6262
|
-
interface
|
|
6263
|
-
'
|
|
6264
|
-
'
|
|
6265
|
-
'namespace'?: string | undefined | null;
|
|
5286
|
+
interface ListLocationsEmitPayload {
|
|
5287
|
+
'shouldOnlyShowWhereIAmEmployed'?: boolean | undefined | null;
|
|
5288
|
+
'paging'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequest | undefined | null;
|
|
6266
5289
|
}
|
|
6267
|
-
interface
|
|
6268
|
-
id: '
|
|
5290
|
+
interface ListLocationsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
5291
|
+
id: 'listLocationsEmitPayload';
|
|
6269
5292
|
version: 'v2020_12_25';
|
|
6270
5293
|
namespace: 'Mercury';
|
|
6271
5294
|
name: '';
|
|
6272
5295
|
fields: {
|
|
6273
5296
|
/** . */
|
|
6274
|
-
'
|
|
6275
|
-
type: '
|
|
6276
|
-
isArray: true;
|
|
6277
|
-
minArrayLength: 0;
|
|
6278
|
-
options: undefined;
|
|
6279
|
-
};
|
|
6280
|
-
/** . */
|
|
6281
|
-
'personId': {
|
|
6282
|
-
type: 'id';
|
|
5297
|
+
'shouldOnlyShowWhereIAmEmployed': {
|
|
5298
|
+
type: 'boolean';
|
|
6283
5299
|
options: undefined;
|
|
6284
5300
|
};
|
|
6285
5301
|
/** . */
|
|
6286
|
-
'
|
|
6287
|
-
type: '
|
|
6288
|
-
options:
|
|
5302
|
+
'paging': {
|
|
5303
|
+
type: 'schema';
|
|
5304
|
+
options: {
|
|
5305
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequestSchema;
|
|
5306
|
+
};
|
|
6289
5307
|
};
|
|
6290
5308
|
};
|
|
6291
5309
|
}
|
|
6292
|
-
interface
|
|
5310
|
+
interface ListLocationsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitPayloadSchema> {
|
|
6293
5311
|
}
|
|
6294
5312
|
}
|
|
6295
5313
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
@@ -6332,46 +5350,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6332
5350
|
interface ListOrgsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayloadSchema> {
|
|
6333
5351
|
}
|
|
6334
5352
|
}
|
|
6335
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6336
|
-
interface ListOrganizationsEmitTargetAndPayload {
|
|
6337
|
-
/** Source. */
|
|
6338
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
6339
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTarget | undefined | null;
|
|
6340
|
-
'payload'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayload | undefined | null;
|
|
6341
|
-
}
|
|
6342
|
-
interface ListOrganizationsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
6343
|
-
id: 'listOrganizationsEmitTargetAndPayload';
|
|
6344
|
-
version: 'v2020_12_25';
|
|
6345
|
-
namespace: 'Mercury';
|
|
6346
|
-
name: '';
|
|
6347
|
-
fields: {
|
|
6348
|
-
/** Source. */
|
|
6349
|
-
'source': {
|
|
6350
|
-
label: 'Source';
|
|
6351
|
-
type: 'schema';
|
|
6352
|
-
options: {
|
|
6353
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
6354
|
-
};
|
|
6355
|
-
};
|
|
6356
|
-
/** . */
|
|
6357
|
-
'target': {
|
|
6358
|
-
type: 'schema';
|
|
6359
|
-
options: {
|
|
6360
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTargetSchema;
|
|
6361
|
-
};
|
|
6362
|
-
};
|
|
6363
|
-
/** . */
|
|
6364
|
-
'payload': {
|
|
6365
|
-
type: 'schema';
|
|
6366
|
-
options: {
|
|
6367
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayloadSchema;
|
|
6368
|
-
};
|
|
6369
|
-
};
|
|
6370
|
-
};
|
|
6371
|
-
}
|
|
6372
|
-
interface ListOrganizationsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrganizationsEmitTargetAndPayloadSchema> {
|
|
6373
|
-
}
|
|
6374
|
-
}
|
|
6375
5353
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6376
5354
|
interface ListOrgsResponsePayload {
|
|
6377
5355
|
'organizations': SpruceSchemas.Spruce.v2020_07_22.Organization[];
|
|
@@ -8551,6 +7529,33 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8551
7529
|
interface RegisterEventsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterEventsResponsePayloadSchema> {
|
|
8552
7530
|
}
|
|
8553
7531
|
}
|
|
7532
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7533
|
+
interface RegisteredListener {
|
|
7534
|
+
'eventName': string;
|
|
7535
|
+
'isGlobal'?: boolean | undefined | null;
|
|
7536
|
+
}
|
|
7537
|
+
interface RegisteredListenerSchema extends SpruceSchema.Schema {
|
|
7538
|
+
id: 'registeredListener';
|
|
7539
|
+
version: 'v2020_12_25';
|
|
7540
|
+
namespace: 'Mercury';
|
|
7541
|
+
name: 'Registered listener';
|
|
7542
|
+
fields: {
|
|
7543
|
+
/** . */
|
|
7544
|
+
'eventName': {
|
|
7545
|
+
type: 'text';
|
|
7546
|
+
isRequired: true;
|
|
7547
|
+
options: undefined;
|
|
7548
|
+
};
|
|
7549
|
+
/** . */
|
|
7550
|
+
'isGlobal': {
|
|
7551
|
+
type: 'boolean';
|
|
7552
|
+
options: undefined;
|
|
7553
|
+
};
|
|
7554
|
+
};
|
|
7555
|
+
}
|
|
7556
|
+
interface RegisteredListenerEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisteredListenerSchema> {
|
|
7557
|
+
}
|
|
7558
|
+
}
|
|
8554
7559
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8555
7560
|
interface RegisterListenersEmitPayload {
|
|
8556
7561
|
'events': SpruceSchemas.Mercury.v2020_12_25.RegisteredListener[];
|
|
@@ -8615,33 +7620,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8615
7620
|
interface RegisterListenersEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterListenersEmitTargetAndPayloadSchema> {
|
|
8616
7621
|
}
|
|
8617
7622
|
}
|
|
8618
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8619
|
-
interface RegisteredListener {
|
|
8620
|
-
'eventName': string;
|
|
8621
|
-
'isGlobal'?: boolean | undefined | null;
|
|
8622
|
-
}
|
|
8623
|
-
interface RegisteredListenerSchema extends SpruceSchema.Schema {
|
|
8624
|
-
id: 'registeredListener';
|
|
8625
|
-
version: 'v2020_12_25';
|
|
8626
|
-
namespace: 'Mercury';
|
|
8627
|
-
name: 'Registered listener';
|
|
8628
|
-
fields: {
|
|
8629
|
-
/** . */
|
|
8630
|
-
'eventName': {
|
|
8631
|
-
type: 'text';
|
|
8632
|
-
isRequired: true;
|
|
8633
|
-
options: undefined;
|
|
8634
|
-
};
|
|
8635
|
-
/** . */
|
|
8636
|
-
'isGlobal': {
|
|
8637
|
-
type: 'boolean';
|
|
8638
|
-
options: undefined;
|
|
8639
|
-
};
|
|
8640
|
-
};
|
|
8641
|
-
}
|
|
8642
|
-
interface RegisteredListenerEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisteredListenerSchema> {
|
|
8643
|
-
}
|
|
8644
|
-
}
|
|
8645
7623
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8646
7624
|
interface RegisterProxyTokenEmitTargetAndPayload {
|
|
8647
7625
|
/** Source. */
|
|
@@ -9506,6 +8484,47 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9506
8484
|
interface SendMessageTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema> {
|
|
9507
8485
|
}
|
|
9508
8486
|
}
|
|
8487
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8488
|
+
interface SendMessageEmitTargetAndPayload {
|
|
8489
|
+
/** Source. */
|
|
8490
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8491
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.SendMessageTarget | undefined | null;
|
|
8492
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayload;
|
|
8493
|
+
}
|
|
8494
|
+
interface SendMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8495
|
+
id: 'sendMessageEmitTargetAndPayload';
|
|
8496
|
+
version: 'v2020_12_25';
|
|
8497
|
+
namespace: 'Mercury';
|
|
8498
|
+
name: '';
|
|
8499
|
+
fields: {
|
|
8500
|
+
/** Source. */
|
|
8501
|
+
'source': {
|
|
8502
|
+
label: 'Source';
|
|
8503
|
+
type: 'schema';
|
|
8504
|
+
options: {
|
|
8505
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
8506
|
+
};
|
|
8507
|
+
};
|
|
8508
|
+
/** . */
|
|
8509
|
+
'target': {
|
|
8510
|
+
type: 'schema';
|
|
8511
|
+
options: {
|
|
8512
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema;
|
|
8513
|
+
};
|
|
8514
|
+
};
|
|
8515
|
+
/** . */
|
|
8516
|
+
'payload': {
|
|
8517
|
+
type: 'schema';
|
|
8518
|
+
isRequired: true;
|
|
8519
|
+
options: {
|
|
8520
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema;
|
|
8521
|
+
};
|
|
8522
|
+
};
|
|
8523
|
+
};
|
|
8524
|
+
}
|
|
8525
|
+
interface SendMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitTargetAndPayloadSchema> {
|
|
8526
|
+
}
|
|
8527
|
+
}
|
|
9509
8528
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9510
8529
|
interface SendMessageMessagePayload {
|
|
9511
8530
|
/** . An arbitrary id that can be used to track this message when being sent and not yet assigned an Id. */
|
|
@@ -9613,47 +8632,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9613
8632
|
interface SendMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema> {
|
|
9614
8633
|
}
|
|
9615
8634
|
}
|
|
9616
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9617
|
-
interface SendMessageEmitTargetAndPayload {
|
|
9618
|
-
/** Source. */
|
|
9619
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
9620
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.SendMessageTarget | undefined | null;
|
|
9621
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayload;
|
|
9622
|
-
}
|
|
9623
|
-
interface SendMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
9624
|
-
id: 'sendMessageEmitTargetAndPayload';
|
|
9625
|
-
version: 'v2020_12_25';
|
|
9626
|
-
namespace: 'Mercury';
|
|
9627
|
-
name: '';
|
|
9628
|
-
fields: {
|
|
9629
|
-
/** Source. */
|
|
9630
|
-
'source': {
|
|
9631
|
-
label: 'Source';
|
|
9632
|
-
type: 'schema';
|
|
9633
|
-
options: {
|
|
9634
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
9635
|
-
};
|
|
9636
|
-
};
|
|
9637
|
-
/** . */
|
|
9638
|
-
'target': {
|
|
9639
|
-
type: 'schema';
|
|
9640
|
-
options: {
|
|
9641
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema;
|
|
9642
|
-
};
|
|
9643
|
-
};
|
|
9644
|
-
/** . */
|
|
9645
|
-
'payload': {
|
|
9646
|
-
type: 'schema';
|
|
9647
|
-
isRequired: true;
|
|
9648
|
-
options: {
|
|
9649
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema;
|
|
9650
|
-
};
|
|
9651
|
-
};
|
|
9652
|
-
};
|
|
9653
|
-
}
|
|
9654
|
-
interface SendMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitTargetAndPayloadSchema> {
|
|
9655
|
-
}
|
|
9656
|
-
}
|
|
9657
8635
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9658
8636
|
interface SendMessageResponsePayload {
|
|
9659
8637
|
'message': SpruceSchemas.Spruce.v2020_07_22.Message;
|
|
@@ -9872,43 +8850,19 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9872
8850
|
type: 'schema';
|
|
9873
8851
|
options: {
|
|
9874
8852
|
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
9875
|
-
};
|
|
9876
|
-
};
|
|
9877
|
-
/** . */
|
|
9878
|
-
'payload': {
|
|
9879
|
-
type: 'schema';
|
|
9880
|
-
isRequired: true;
|
|
9881
|
-
options: {
|
|
9882
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SubmitErrorMessageFeedbackEmitPayloadSchema;
|
|
9883
|
-
};
|
|
9884
|
-
};
|
|
9885
|
-
};
|
|
9886
|
-
}
|
|
9887
|
-
interface SubmitErrorMessageFeedbackEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SubmitErrorMessageFeedbackEmitTargetAndPayloadSchema> {
|
|
9888
|
-
}
|
|
9889
|
-
}
|
|
9890
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9891
|
-
interface SyncEventContractsEmitPayload {
|
|
9892
|
-
'contract': SpruceSchemas.Mercury.v2020_12_25.EventContract;
|
|
9893
|
-
}
|
|
9894
|
-
interface SyncEventContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
9895
|
-
id: 'syncEventContractsEmitPayload';
|
|
9896
|
-
version: 'v2020_12_25';
|
|
9897
|
-
namespace: 'Mercury';
|
|
9898
|
-
name: '';
|
|
9899
|
-
importsWhenRemote: ['import \'@sprucelabs/mercury-types\''];
|
|
9900
|
-
fields: {
|
|
8853
|
+
};
|
|
8854
|
+
};
|
|
9901
8855
|
/** . */
|
|
9902
|
-
'
|
|
8856
|
+
'payload': {
|
|
9903
8857
|
type: 'schema';
|
|
9904
8858
|
isRequired: true;
|
|
9905
8859
|
options: {
|
|
9906
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
8860
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SubmitErrorMessageFeedbackEmitPayloadSchema;
|
|
9907
8861
|
};
|
|
9908
8862
|
};
|
|
9909
8863
|
};
|
|
9910
8864
|
}
|
|
9911
|
-
interface
|
|
8865
|
+
interface SubmitErrorMessageFeedbackEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SubmitErrorMessageFeedbackEmitTargetAndPayloadSchema> {
|
|
9912
8866
|
}
|
|
9913
8867
|
}
|
|
9914
8868
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
@@ -9944,6 +8898,30 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9944
8898
|
interface SyncEventContractsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitTargetAndPayloadSchema> {
|
|
9945
8899
|
}
|
|
9946
8900
|
}
|
|
8901
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8902
|
+
interface SyncEventContractsEmitPayload {
|
|
8903
|
+
'contract': SpruceSchemas.Mercury.v2020_12_25.EventContract;
|
|
8904
|
+
}
|
|
8905
|
+
interface SyncEventContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
8906
|
+
id: 'syncEventContractsEmitPayload';
|
|
8907
|
+
version: 'v2020_12_25';
|
|
8908
|
+
namespace: 'Mercury';
|
|
8909
|
+
name: '';
|
|
8910
|
+
importsWhenRemote: ['import \'@sprucelabs/mercury-types\''];
|
|
8911
|
+
fields: {
|
|
8912
|
+
/** . */
|
|
8913
|
+
'contract': {
|
|
8914
|
+
type: 'schema';
|
|
8915
|
+
isRequired: true;
|
|
8916
|
+
options: {
|
|
8917
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.EventContractSchema;
|
|
8918
|
+
};
|
|
8919
|
+
};
|
|
8920
|
+
};
|
|
8921
|
+
}
|
|
8922
|
+
interface SyncEventContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitPayloadSchema> {
|
|
8923
|
+
}
|
|
8924
|
+
}
|
|
9947
8925
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9948
8926
|
interface SyncEventContractsResponsePayload {
|
|
9949
8927
|
/** Event names. */
|
|
@@ -9996,31 +8974,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9996
8974
|
interface SyncPermissionContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsEmitPayloadSchema> {
|
|
9997
8975
|
}
|
|
9998
8976
|
}
|
|
9999
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
10000
|
-
interface SyncPermissionContractsResponsePayload {
|
|
10001
|
-
'contractRecords': SpruceSchemas.Mercury.v2020_12_25.FullPermissionContract[];
|
|
10002
|
-
}
|
|
10003
|
-
interface SyncPermissionContractsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
10004
|
-
id: 'syncPermissionContractsResponsePayload';
|
|
10005
|
-
version: 'v2020_12_25';
|
|
10006
|
-
namespace: 'Mercury';
|
|
10007
|
-
name: '';
|
|
10008
|
-
fields: {
|
|
10009
|
-
/** . */
|
|
10010
|
-
'contractRecords': {
|
|
10011
|
-
type: 'schema';
|
|
10012
|
-
isRequired: true;
|
|
10013
|
-
isArray: true;
|
|
10014
|
-
minArrayLength: 0;
|
|
10015
|
-
options: {
|
|
10016
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema;
|
|
10017
|
-
};
|
|
10018
|
-
};
|
|
10019
|
-
};
|
|
10020
|
-
}
|
|
10021
|
-
interface SyncPermissionContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsResponsePayloadSchema> {
|
|
10022
|
-
}
|
|
10023
|
-
}
|
|
10024
8977
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
10025
8978
|
interface SyncPermissionContractsEmitTargetAndPayload {
|
|
10026
8979
|
/** Source. */
|
|
@@ -10106,6 +9059,31 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
10106
9059
|
interface FullPermissionContractEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema> {
|
|
10107
9060
|
}
|
|
10108
9061
|
}
|
|
9062
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9063
|
+
interface SyncPermissionContractsResponsePayload {
|
|
9064
|
+
'contractRecords': SpruceSchemas.Mercury.v2020_12_25.FullPermissionContract[];
|
|
9065
|
+
}
|
|
9066
|
+
interface SyncPermissionContractsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
9067
|
+
id: 'syncPermissionContractsResponsePayload';
|
|
9068
|
+
version: 'v2020_12_25';
|
|
9069
|
+
namespace: 'Mercury';
|
|
9070
|
+
name: '';
|
|
9071
|
+
fields: {
|
|
9072
|
+
/** . */
|
|
9073
|
+
'contractRecords': {
|
|
9074
|
+
type: 'schema';
|
|
9075
|
+
isRequired: true;
|
|
9076
|
+
isArray: true;
|
|
9077
|
+
minArrayLength: 0;
|
|
9078
|
+
options: {
|
|
9079
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema;
|
|
9080
|
+
};
|
|
9081
|
+
};
|
|
9082
|
+
};
|
|
9083
|
+
}
|
|
9084
|
+
interface SyncPermissionContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsResponsePayloadSchema> {
|
|
9085
|
+
}
|
|
9086
|
+
}
|
|
10109
9087
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
10110
9088
|
interface UnInstallSkillEmitTarget {
|
|
10111
9089
|
'skillId': string;
|
|
@@ -11895,6 +10873,46 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
11895
10873
|
interface UpdatePersonEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetSchema> {
|
|
11896
10874
|
}
|
|
11897
10875
|
}
|
|
10876
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
10877
|
+
interface UpdatePersonEmitTargetAndPayload {
|
|
10878
|
+
/** Source. */
|
|
10879
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
10880
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTarget | undefined | null;
|
|
10881
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayload | undefined | null;
|
|
10882
|
+
}
|
|
10883
|
+
interface UpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
10884
|
+
id: 'updatePersonEmitTargetAndPayload';
|
|
10885
|
+
version: 'v2020_12_25';
|
|
10886
|
+
namespace: 'Mercury';
|
|
10887
|
+
name: '';
|
|
10888
|
+
fields: {
|
|
10889
|
+
/** Source. */
|
|
10890
|
+
'source': {
|
|
10891
|
+
label: 'Source';
|
|
10892
|
+
type: 'schema';
|
|
10893
|
+
options: {
|
|
10894
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
10895
|
+
};
|
|
10896
|
+
};
|
|
10897
|
+
/** . */
|
|
10898
|
+
'target': {
|
|
10899
|
+
type: 'schema';
|
|
10900
|
+
options: {
|
|
10901
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetSchema;
|
|
10902
|
+
};
|
|
10903
|
+
};
|
|
10904
|
+
/** . */
|
|
10905
|
+
'payload': {
|
|
10906
|
+
type: 'schema';
|
|
10907
|
+
options: {
|
|
10908
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema;
|
|
10909
|
+
};
|
|
10910
|
+
};
|
|
10911
|
+
};
|
|
10912
|
+
}
|
|
10913
|
+
interface UpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetAndPayloadSchema> {
|
|
10914
|
+
}
|
|
10915
|
+
}
|
|
11898
10916
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11899
10917
|
interface SecurityQuestion {
|
|
11900
10918
|
'question': string;
|
|
@@ -12983,176 +12001,1056 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12983
12001
|
}];
|
|
12984
12002
|
};
|
|
12985
12003
|
};
|
|
12986
|
-
/** Avatar src. */
|
|
12987
|
-
'avatar': {
|
|
12988
|
-
label: 'Avatar src';
|
|
12989
|
-
type: 'image';
|
|
12004
|
+
/** Avatar src. */
|
|
12005
|
+
'avatar': {
|
|
12006
|
+
label: 'Avatar src';
|
|
12007
|
+
type: 'image';
|
|
12008
|
+
options: {
|
|
12009
|
+
requiredSizes: ["*"];
|
|
12010
|
+
};
|
|
12011
|
+
};
|
|
12012
|
+
/** Phone. A number that can be texted */
|
|
12013
|
+
'phone': {
|
|
12014
|
+
label: 'Phone';
|
|
12015
|
+
type: 'phone';
|
|
12016
|
+
isPrivate: true;
|
|
12017
|
+
hint: 'A number that can be texted';
|
|
12018
|
+
options: undefined;
|
|
12019
|
+
};
|
|
12020
|
+
/** . */
|
|
12021
|
+
'password': {
|
|
12022
|
+
type: 'text';
|
|
12023
|
+
options: undefined;
|
|
12024
|
+
};
|
|
12025
|
+
/** . */
|
|
12026
|
+
'securityQuestions': {
|
|
12027
|
+
type: 'schema';
|
|
12028
|
+
isArray: true;
|
|
12029
|
+
options: {
|
|
12030
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SecurityQuestionSchema;
|
|
12031
|
+
};
|
|
12032
|
+
};
|
|
12033
|
+
};
|
|
12034
|
+
}
|
|
12035
|
+
interface UpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema> {
|
|
12036
|
+
}
|
|
12037
|
+
}
|
|
12038
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12039
|
+
interface UpdatePersonResponsePayload {
|
|
12040
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
12041
|
+
}
|
|
12042
|
+
interface UpdatePersonResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12043
|
+
id: 'updatePersonResponsePayload';
|
|
12044
|
+
version: 'v2020_12_25';
|
|
12045
|
+
namespace: 'Mercury';
|
|
12046
|
+
name: '';
|
|
12047
|
+
fields: {
|
|
12048
|
+
/** . */
|
|
12049
|
+
'person': {
|
|
12050
|
+
type: 'schema';
|
|
12051
|
+
isRequired: true;
|
|
12052
|
+
options: {
|
|
12053
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
12054
|
+
};
|
|
12055
|
+
};
|
|
12056
|
+
};
|
|
12057
|
+
}
|
|
12058
|
+
interface UpdatePersonResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonResponsePayloadSchema> {
|
|
12059
|
+
}
|
|
12060
|
+
}
|
|
12061
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12062
|
+
interface UpdateRoleEmitTarget {
|
|
12063
|
+
'roleId': string;
|
|
12064
|
+
}
|
|
12065
|
+
interface UpdateRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
12066
|
+
id: 'updateRoleEmitTarget';
|
|
12067
|
+
version: 'v2020_12_25';
|
|
12068
|
+
namespace: 'Mercury';
|
|
12069
|
+
name: '';
|
|
12070
|
+
fields: {
|
|
12071
|
+
/** . */
|
|
12072
|
+
'roleId': {
|
|
12073
|
+
type: 'id';
|
|
12074
|
+
isRequired: true;
|
|
12075
|
+
options: undefined;
|
|
12076
|
+
};
|
|
12077
|
+
};
|
|
12078
|
+
}
|
|
12079
|
+
interface UpdateRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema> {
|
|
12080
|
+
}
|
|
12081
|
+
}
|
|
12082
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12083
|
+
interface UpdateRoleEmitPayload {
|
|
12084
|
+
/** Name. */
|
|
12085
|
+
'name'?: string | undefined | null;
|
|
12086
|
+
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
12087
|
+
'base'?: ("owner" | "groupManager" | "manager" | "teammate" | "anonymous" | "loggedIn" | "guest") | undefined | null;
|
|
12088
|
+
/** Description. */
|
|
12089
|
+
'description'?: string | undefined | null;
|
|
12090
|
+
'dateDeleted'?: number | undefined | null;
|
|
12091
|
+
'organizationId'?: string | undefined | null;
|
|
12092
|
+
/** Public. Should I let people that are not part of this organization this role? */
|
|
12093
|
+
'isPublic'?: boolean | undefined | null;
|
|
12094
|
+
}
|
|
12095
|
+
interface UpdateRoleEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12096
|
+
id: 'updateRoleEmitPayload';
|
|
12097
|
+
version: 'v2020_12_25';
|
|
12098
|
+
namespace: 'Mercury';
|
|
12099
|
+
name: '';
|
|
12100
|
+
fields: {
|
|
12101
|
+
/** Name. */
|
|
12102
|
+
'name': {
|
|
12103
|
+
label: 'Name';
|
|
12104
|
+
type: 'text';
|
|
12105
|
+
options: undefined;
|
|
12106
|
+
};
|
|
12107
|
+
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
12108
|
+
'base': {
|
|
12109
|
+
label: 'Base';
|
|
12110
|
+
type: 'select';
|
|
12111
|
+
hint: 'A best practices starting point for a role based on the generalized roles at a company.';
|
|
12112
|
+
options: {
|
|
12113
|
+
choices: [{
|
|
12114
|
+
"label": "Owner";
|
|
12115
|
+
"value": "owner";
|
|
12116
|
+
}, {
|
|
12117
|
+
"label": "Group manager";
|
|
12118
|
+
"value": "groupManager";
|
|
12119
|
+
}, {
|
|
12120
|
+
"label": "Manager";
|
|
12121
|
+
"value": "manager";
|
|
12122
|
+
}, {
|
|
12123
|
+
"label": "Teammate";
|
|
12124
|
+
"value": "teammate";
|
|
12125
|
+
}, {
|
|
12126
|
+
"label": "Anonymous";
|
|
12127
|
+
"value": "anonymous";
|
|
12128
|
+
}, {
|
|
12129
|
+
"label": "Logged in";
|
|
12130
|
+
"value": "loggedIn";
|
|
12131
|
+
}, {
|
|
12132
|
+
"label": "Guest";
|
|
12133
|
+
"value": "guest";
|
|
12134
|
+
}];
|
|
12135
|
+
};
|
|
12136
|
+
};
|
|
12137
|
+
/** Description. */
|
|
12138
|
+
'description': {
|
|
12139
|
+
label: 'Description';
|
|
12140
|
+
type: 'text';
|
|
12141
|
+
options: undefined;
|
|
12142
|
+
};
|
|
12143
|
+
/** . */
|
|
12144
|
+
'dateDeleted': {
|
|
12145
|
+
type: 'number';
|
|
12146
|
+
options: undefined;
|
|
12147
|
+
};
|
|
12148
|
+
/** . */
|
|
12149
|
+
'organizationId': {
|
|
12150
|
+
type: 'id';
|
|
12151
|
+
options: undefined;
|
|
12152
|
+
};
|
|
12153
|
+
/** Public. Should I let people that are not part of this organization this role? */
|
|
12154
|
+
'isPublic': {
|
|
12155
|
+
label: 'Public';
|
|
12156
|
+
type: 'boolean';
|
|
12157
|
+
hint: 'Should I let people that are not part of this organization this role?';
|
|
12158
|
+
options: undefined;
|
|
12159
|
+
};
|
|
12160
|
+
};
|
|
12161
|
+
}
|
|
12162
|
+
interface UpdateRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema> {
|
|
12163
|
+
}
|
|
12164
|
+
}
|
|
12165
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12166
|
+
interface UpdateRoleEmitTargetAndPayload {
|
|
12167
|
+
/** Source. */
|
|
12168
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12169
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTarget;
|
|
12170
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayload | undefined | null;
|
|
12171
|
+
}
|
|
12172
|
+
interface UpdateRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12173
|
+
id: 'updateRoleEmitTargetAndPayload';
|
|
12174
|
+
version: 'v2020_12_25';
|
|
12175
|
+
namespace: 'Mercury';
|
|
12176
|
+
name: '';
|
|
12177
|
+
fields: {
|
|
12178
|
+
/** Source. */
|
|
12179
|
+
'source': {
|
|
12180
|
+
label: 'Source';
|
|
12181
|
+
type: 'schema';
|
|
12182
|
+
options: {
|
|
12183
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12184
|
+
};
|
|
12185
|
+
};
|
|
12186
|
+
/** . */
|
|
12187
|
+
'target': {
|
|
12188
|
+
type: 'schema';
|
|
12189
|
+
isRequired: true;
|
|
12190
|
+
options: {
|
|
12191
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema;
|
|
12192
|
+
};
|
|
12193
|
+
};
|
|
12194
|
+
/** . */
|
|
12195
|
+
'payload': {
|
|
12196
|
+
type: 'schema';
|
|
12197
|
+
options: {
|
|
12198
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema;
|
|
12199
|
+
};
|
|
12200
|
+
};
|
|
12201
|
+
};
|
|
12202
|
+
}
|
|
12203
|
+
interface UpdateRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetAndPayloadSchema> {
|
|
12204
|
+
}
|
|
12205
|
+
}
|
|
12206
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12207
|
+
interface UpdateRoleResponsePayload {
|
|
12208
|
+
'role': SpruceSchemas.Spruce.v2020_07_22.Role;
|
|
12209
|
+
}
|
|
12210
|
+
interface UpdateRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12211
|
+
id: 'updateRoleResponsePayload';
|
|
12212
|
+
version: 'v2020_12_25';
|
|
12213
|
+
namespace: 'Mercury';
|
|
12214
|
+
name: '';
|
|
12215
|
+
fields: {
|
|
12216
|
+
/** . */
|
|
12217
|
+
'role': {
|
|
12218
|
+
type: 'schema';
|
|
12219
|
+
isRequired: true;
|
|
12220
|
+
options: {
|
|
12221
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.RoleSchema;
|
|
12222
|
+
};
|
|
12223
|
+
};
|
|
12224
|
+
};
|
|
12225
|
+
}
|
|
12226
|
+
interface UpdateRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleResponsePayloadSchema> {
|
|
12227
|
+
}
|
|
12228
|
+
}
|
|
12229
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12230
|
+
interface UpsertPermissionContractEmitTarget {
|
|
12231
|
+
'organizationId': string;
|
|
12232
|
+
'permissionContractId': string;
|
|
12233
|
+
'roleId': string;
|
|
12234
|
+
'skillId'?: string | undefined | null;
|
|
12235
|
+
}
|
|
12236
|
+
interface UpsertPermissionContractEmitTargetSchema extends SpruceSchema.Schema {
|
|
12237
|
+
id: 'upsertPermissionContractEmitTarget';
|
|
12238
|
+
version: 'v2020_12_25';
|
|
12239
|
+
namespace: 'Mercury';
|
|
12240
|
+
name: '';
|
|
12241
|
+
fields: {
|
|
12242
|
+
/** . */
|
|
12243
|
+
'organizationId': {
|
|
12244
|
+
type: 'id';
|
|
12245
|
+
isRequired: true;
|
|
12246
|
+
options: undefined;
|
|
12247
|
+
};
|
|
12248
|
+
/** . */
|
|
12249
|
+
'permissionContractId': {
|
|
12250
|
+
type: 'id';
|
|
12251
|
+
isRequired: true;
|
|
12252
|
+
options: undefined;
|
|
12253
|
+
};
|
|
12254
|
+
/** . */
|
|
12255
|
+
'roleId': {
|
|
12256
|
+
type: 'id';
|
|
12257
|
+
isRequired: true;
|
|
12258
|
+
options: undefined;
|
|
12259
|
+
};
|
|
12260
|
+
/** . */
|
|
12261
|
+
'skillId': {
|
|
12262
|
+
type: 'id';
|
|
12263
|
+
options: undefined;
|
|
12264
|
+
};
|
|
12265
|
+
};
|
|
12266
|
+
}
|
|
12267
|
+
interface UpsertPermissionContractEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema> {
|
|
12268
|
+
}
|
|
12269
|
+
}
|
|
12270
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12271
|
+
interface UpsertPermissionContractEmitTargetAndPayload {
|
|
12272
|
+
/** Source. */
|
|
12273
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12274
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTarget;
|
|
12275
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayload;
|
|
12276
|
+
}
|
|
12277
|
+
interface UpsertPermissionContractEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12278
|
+
id: 'upsertPermissionContractEmitTargetAndPayload';
|
|
12279
|
+
version: 'v2020_12_25';
|
|
12280
|
+
namespace: 'Mercury';
|
|
12281
|
+
name: '';
|
|
12282
|
+
fields: {
|
|
12283
|
+
/** Source. */
|
|
12284
|
+
'source': {
|
|
12285
|
+
label: 'Source';
|
|
12286
|
+
type: 'schema';
|
|
12287
|
+
options: {
|
|
12288
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12289
|
+
};
|
|
12290
|
+
};
|
|
12291
|
+
/** . */
|
|
12292
|
+
'target': {
|
|
12293
|
+
type: 'schema';
|
|
12294
|
+
isRequired: true;
|
|
12295
|
+
options: {
|
|
12296
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema;
|
|
12297
|
+
};
|
|
12298
|
+
};
|
|
12299
|
+
/** . */
|
|
12300
|
+
'payload': {
|
|
12301
|
+
type: 'schema';
|
|
12302
|
+
isRequired: true;
|
|
12303
|
+
options: {
|
|
12304
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema;
|
|
12305
|
+
};
|
|
12306
|
+
};
|
|
12307
|
+
};
|
|
12308
|
+
}
|
|
12309
|
+
interface UpsertPermissionContractEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetAndPayloadSchema> {
|
|
12310
|
+
}
|
|
12311
|
+
}
|
|
12312
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12313
|
+
interface UpsertPermissionContractsEmitPayload {
|
|
12314
|
+
/** Name. Human readable name for this contract */
|
|
12315
|
+
'name': string;
|
|
12316
|
+
/** Description. */
|
|
12317
|
+
'description'?: string | undefined | null;
|
|
12318
|
+
/** Require all permissions. */
|
|
12319
|
+
'requireAllPermissions'?: boolean | undefined | null;
|
|
12320
|
+
'permissions': SpruceSchemas.Mercury.v2020_12_25.Permission[];
|
|
12321
|
+
}
|
|
12322
|
+
interface UpsertPermissionContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12323
|
+
id: 'upsertPermissionContractsEmitPayload';
|
|
12324
|
+
version: 'v2020_12_25';
|
|
12325
|
+
namespace: 'Mercury';
|
|
12326
|
+
name: '';
|
|
12327
|
+
fields: {
|
|
12328
|
+
/** Name. Human readable name for this contract */
|
|
12329
|
+
'name': {
|
|
12330
|
+
label: 'Name';
|
|
12331
|
+
type: 'text';
|
|
12332
|
+
isRequired: true;
|
|
12333
|
+
hint: 'Human readable name for this contract';
|
|
12334
|
+
options: undefined;
|
|
12335
|
+
};
|
|
12336
|
+
/** Description. */
|
|
12337
|
+
'description': {
|
|
12338
|
+
label: 'Description';
|
|
12339
|
+
type: 'text';
|
|
12340
|
+
options: undefined;
|
|
12341
|
+
};
|
|
12342
|
+
/** Require all permissions. */
|
|
12343
|
+
'requireAllPermissions': {
|
|
12344
|
+
label: 'Require all permissions';
|
|
12345
|
+
type: 'boolean';
|
|
12346
|
+
defaultValue: false;
|
|
12347
|
+
options: undefined;
|
|
12348
|
+
};
|
|
12349
|
+
/** . */
|
|
12350
|
+
'permissions': {
|
|
12351
|
+
type: 'schema';
|
|
12352
|
+
isRequired: true;
|
|
12353
|
+
isArray: true;
|
|
12354
|
+
minArrayLength: 0;
|
|
12355
|
+
options: {
|
|
12356
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionSchema;
|
|
12357
|
+
};
|
|
12358
|
+
};
|
|
12359
|
+
};
|
|
12360
|
+
}
|
|
12361
|
+
interface UpsertPermissionContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema> {
|
|
12362
|
+
}
|
|
12363
|
+
}
|
|
12364
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12365
|
+
interface UpsertPermissionContractResponsePayload {
|
|
12366
|
+
'permissionContract': SpruceSchemas.Mercury.v2020_12_25.PermissionContract;
|
|
12367
|
+
}
|
|
12368
|
+
interface UpsertPermissionContractResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12369
|
+
id: 'upsertPermissionContractResponsePayload';
|
|
12370
|
+
version: 'v2020_12_25';
|
|
12371
|
+
namespace: 'Mercury';
|
|
12372
|
+
name: '';
|
|
12373
|
+
fields: {
|
|
12374
|
+
/** . */
|
|
12375
|
+
'permissionContract': {
|
|
12376
|
+
type: 'schema';
|
|
12377
|
+
isRequired: true;
|
|
12378
|
+
options: {
|
|
12379
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionContractSchema;
|
|
12380
|
+
};
|
|
12381
|
+
};
|
|
12382
|
+
};
|
|
12383
|
+
}
|
|
12384
|
+
interface UpsertPermissionContractResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractResponsePayloadSchema> {
|
|
12385
|
+
}
|
|
12386
|
+
}
|
|
12387
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12388
|
+
interface VoteForFeatureEmitPayload {
|
|
12389
|
+
'featureKey': string;
|
|
12390
|
+
'skillNamespace': string;
|
|
12391
|
+
}
|
|
12392
|
+
interface VoteForFeatureEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12393
|
+
id: 'voteForFeatureEmitPayload';
|
|
12394
|
+
version: 'v2020_12_25';
|
|
12395
|
+
namespace: 'Mercury';
|
|
12396
|
+
name: '';
|
|
12397
|
+
fields: {
|
|
12398
|
+
/** . */
|
|
12399
|
+
'featureKey': {
|
|
12400
|
+
type: 'id';
|
|
12401
|
+
isRequired: true;
|
|
12402
|
+
options: undefined;
|
|
12403
|
+
};
|
|
12404
|
+
/** . */
|
|
12405
|
+
'skillNamespace': {
|
|
12406
|
+
type: 'id';
|
|
12407
|
+
isRequired: true;
|
|
12408
|
+
options: undefined;
|
|
12409
|
+
};
|
|
12410
|
+
};
|
|
12411
|
+
}
|
|
12412
|
+
interface VoteForFeatureEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema> {
|
|
12413
|
+
}
|
|
12414
|
+
}
|
|
12415
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12416
|
+
interface VoteForFeatureEmitTargetAndPayload {
|
|
12417
|
+
/** Source. */
|
|
12418
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12419
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayload;
|
|
12420
|
+
}
|
|
12421
|
+
interface VoteForFeatureEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12422
|
+
id: 'voteForFeatureEmitTargetAndPayload';
|
|
12423
|
+
version: 'v2020_12_25';
|
|
12424
|
+
namespace: 'Mercury';
|
|
12425
|
+
name: '';
|
|
12426
|
+
fields: {
|
|
12427
|
+
/** Source. */
|
|
12428
|
+
'source': {
|
|
12429
|
+
label: 'Source';
|
|
12430
|
+
type: 'schema';
|
|
12431
|
+
options: {
|
|
12432
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12433
|
+
};
|
|
12434
|
+
};
|
|
12435
|
+
/** . */
|
|
12436
|
+
'payload': {
|
|
12437
|
+
type: 'schema';
|
|
12438
|
+
isRequired: true;
|
|
12439
|
+
options: {
|
|
12440
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema;
|
|
12441
|
+
};
|
|
12442
|
+
};
|
|
12443
|
+
};
|
|
12444
|
+
}
|
|
12445
|
+
interface VoteForFeatureEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitTargetAndPayloadSchema> {
|
|
12446
|
+
}
|
|
12447
|
+
}
|
|
12448
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12449
|
+
interface VoteForFeatureResponsePayload {
|
|
12450
|
+
'totalVotes': number;
|
|
12451
|
+
}
|
|
12452
|
+
interface VoteForFeatureResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12453
|
+
id: 'voteForFeatureResponsePayload';
|
|
12454
|
+
version: 'v2020_12_25';
|
|
12455
|
+
namespace: 'Mercury';
|
|
12456
|
+
name: '';
|
|
12457
|
+
fields: {
|
|
12458
|
+
/** . */
|
|
12459
|
+
'totalVotes': {
|
|
12460
|
+
type: 'number';
|
|
12461
|
+
isRequired: true;
|
|
12462
|
+
options: undefined;
|
|
12463
|
+
};
|
|
12464
|
+
};
|
|
12465
|
+
}
|
|
12466
|
+
interface VoteForFeatureResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureResponsePayloadSchema> {
|
|
12467
|
+
}
|
|
12468
|
+
}
|
|
12469
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12470
|
+
interface WhoamiEmitTargetAndPayload {
|
|
12471
|
+
/** Source. */
|
|
12472
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12473
|
+
}
|
|
12474
|
+
interface WhoamiEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12475
|
+
id: 'whoamiEmitTargetAndPayload';
|
|
12476
|
+
version: 'v2020_12_25';
|
|
12477
|
+
namespace: 'Mercury';
|
|
12478
|
+
name: '';
|
|
12479
|
+
fields: {
|
|
12480
|
+
/** Source. */
|
|
12481
|
+
'source': {
|
|
12482
|
+
label: 'Source';
|
|
12483
|
+
type: 'schema';
|
|
12484
|
+
options: {
|
|
12485
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12486
|
+
};
|
|
12487
|
+
};
|
|
12488
|
+
};
|
|
12489
|
+
}
|
|
12490
|
+
interface WhoamiEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.WhoamiEmitTargetAndPayloadSchema> {
|
|
12491
|
+
}
|
|
12492
|
+
}
|
|
12493
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12494
|
+
interface DidInstallEmitTarget {
|
|
12495
|
+
'organizationId': string;
|
|
12496
|
+
'skillId': string;
|
|
12497
|
+
}
|
|
12498
|
+
interface DidInstallEmitTargetSchema extends SpruceSchema.Schema {
|
|
12499
|
+
id: 'didInstallEmitTarget';
|
|
12500
|
+
version: 'v2020_12_25';
|
|
12501
|
+
namespace: 'Mercury';
|
|
12502
|
+
name: '';
|
|
12503
|
+
fields: {
|
|
12504
|
+
/** . */
|
|
12505
|
+
'organizationId': {
|
|
12506
|
+
type: 'id';
|
|
12507
|
+
isRequired: true;
|
|
12508
|
+
options: undefined;
|
|
12509
|
+
};
|
|
12510
|
+
/** . */
|
|
12511
|
+
'skillId': {
|
|
12512
|
+
type: 'id';
|
|
12513
|
+
isRequired: true;
|
|
12514
|
+
options: undefined;
|
|
12515
|
+
};
|
|
12516
|
+
};
|
|
12517
|
+
}
|
|
12518
|
+
interface DidInstallEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema> {
|
|
12519
|
+
}
|
|
12520
|
+
}
|
|
12521
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12522
|
+
interface DidInstallEmitTargetAndPayload {
|
|
12523
|
+
/** Source. */
|
|
12524
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12525
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTarget;
|
|
12526
|
+
}
|
|
12527
|
+
interface DidInstallEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12528
|
+
id: 'didInstallEmitTargetAndPayload';
|
|
12529
|
+
version: 'v2020_12_25';
|
|
12530
|
+
namespace: 'Mercury';
|
|
12531
|
+
name: '';
|
|
12532
|
+
fields: {
|
|
12533
|
+
/** Source. */
|
|
12534
|
+
'source': {
|
|
12535
|
+
label: 'Source';
|
|
12536
|
+
type: 'schema';
|
|
12537
|
+
options: {
|
|
12538
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12539
|
+
};
|
|
12540
|
+
};
|
|
12541
|
+
/** . */
|
|
12542
|
+
'target': {
|
|
12543
|
+
type: 'schema';
|
|
12544
|
+
isRequired: true;
|
|
12545
|
+
options: {
|
|
12546
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema;
|
|
12547
|
+
};
|
|
12548
|
+
};
|
|
12549
|
+
};
|
|
12550
|
+
}
|
|
12551
|
+
interface DidInstallEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetAndPayloadSchema> {
|
|
12552
|
+
}
|
|
12553
|
+
}
|
|
12554
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12555
|
+
interface DidInstallResponsePayload {
|
|
12556
|
+
}
|
|
12557
|
+
interface DidInstallResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12558
|
+
id: 'didInstallResponsePayload';
|
|
12559
|
+
version: 'v2020_12_25';
|
|
12560
|
+
namespace: 'Mercury';
|
|
12561
|
+
name: '';
|
|
12562
|
+
fields: {};
|
|
12563
|
+
}
|
|
12564
|
+
interface DidInstallResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallResponsePayloadSchema> {
|
|
12565
|
+
}
|
|
12566
|
+
}
|
|
12567
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12568
|
+
interface DidJoinOrganizationEmitTarget {
|
|
12569
|
+
'organizationId': string;
|
|
12570
|
+
'locationId'?: string | undefined | null;
|
|
12571
|
+
}
|
|
12572
|
+
interface DidJoinOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
12573
|
+
id: 'didJoinOrganizationEmitTarget';
|
|
12574
|
+
version: 'v2020_12_25';
|
|
12575
|
+
namespace: 'Mercury';
|
|
12576
|
+
name: '';
|
|
12577
|
+
fields: {
|
|
12578
|
+
/** . */
|
|
12579
|
+
'organizationId': {
|
|
12580
|
+
type: 'id';
|
|
12581
|
+
isRequired: true;
|
|
12582
|
+
options: undefined;
|
|
12583
|
+
};
|
|
12584
|
+
/** . */
|
|
12585
|
+
'locationId': {
|
|
12586
|
+
type: 'id';
|
|
12587
|
+
options: undefined;
|
|
12588
|
+
};
|
|
12589
|
+
};
|
|
12590
|
+
}
|
|
12591
|
+
interface DidJoinOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema> {
|
|
12592
|
+
}
|
|
12593
|
+
}
|
|
12594
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12595
|
+
interface DidJoinOrganizationEmitPayload {
|
|
12596
|
+
'personId': string;
|
|
12597
|
+
'roleId': string;
|
|
12598
|
+
'isFirstRole': boolean;
|
|
12599
|
+
}
|
|
12600
|
+
interface DidJoinOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12601
|
+
id: 'didJoinOrganizationEmitPayload';
|
|
12602
|
+
version: 'v2020_12_25';
|
|
12603
|
+
namespace: 'Mercury';
|
|
12604
|
+
name: '';
|
|
12605
|
+
fields: {
|
|
12606
|
+
/** . */
|
|
12607
|
+
'personId': {
|
|
12608
|
+
type: 'id';
|
|
12609
|
+
isRequired: true;
|
|
12610
|
+
options: undefined;
|
|
12611
|
+
};
|
|
12612
|
+
/** . */
|
|
12613
|
+
'roleId': {
|
|
12614
|
+
type: 'id';
|
|
12615
|
+
isRequired: true;
|
|
12616
|
+
options: undefined;
|
|
12617
|
+
};
|
|
12618
|
+
/** . */
|
|
12619
|
+
'isFirstRole': {
|
|
12620
|
+
type: 'boolean';
|
|
12621
|
+
isRequired: true;
|
|
12622
|
+
options: undefined;
|
|
12623
|
+
};
|
|
12624
|
+
};
|
|
12625
|
+
}
|
|
12626
|
+
interface DidJoinOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema> {
|
|
12627
|
+
}
|
|
12628
|
+
}
|
|
12629
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12630
|
+
interface DidJoinOrganizationEmitTargetAndPayload {
|
|
12631
|
+
/** Source. */
|
|
12632
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12633
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTarget;
|
|
12634
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayload;
|
|
12635
|
+
}
|
|
12636
|
+
interface DidJoinOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12637
|
+
id: 'didJoinOrganizationEmitTargetAndPayload';
|
|
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
|
+
'target': {
|
|
12652
|
+
type: 'schema';
|
|
12653
|
+
isRequired: true;
|
|
12990
12654
|
options: {
|
|
12991
|
-
|
|
12655
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema;
|
|
12992
12656
|
};
|
|
12993
12657
|
};
|
|
12994
|
-
/**
|
|
12995
|
-
'
|
|
12996
|
-
|
|
12997
|
-
|
|
12998
|
-
|
|
12999
|
-
|
|
12658
|
+
/** . */
|
|
12659
|
+
'payload': {
|
|
12660
|
+
type: 'schema';
|
|
12661
|
+
isRequired: true;
|
|
12662
|
+
options: {
|
|
12663
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema;
|
|
12664
|
+
};
|
|
12665
|
+
};
|
|
12666
|
+
};
|
|
12667
|
+
}
|
|
12668
|
+
interface DidJoinOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetAndPayloadSchema> {
|
|
12669
|
+
}
|
|
12670
|
+
}
|
|
12671
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12672
|
+
interface MessageTemplateAddons {
|
|
12673
|
+
'nextINeedYouTo'?: string[] | undefined | null;
|
|
12674
|
+
'youShouldKnowThat'?: string[] | undefined | null;
|
|
12675
|
+
'links'?: SpruceSchemas.Spruce.v2020_07_22.Link[] | undefined | null;
|
|
12676
|
+
}
|
|
12677
|
+
interface MessageTemplateAddonsSchema extends SpruceSchema.Schema {
|
|
12678
|
+
id: 'messageTemplateAddons';
|
|
12679
|
+
version: 'v2020_12_25';
|
|
12680
|
+
namespace: 'Mercury';
|
|
12681
|
+
name: '';
|
|
12682
|
+
fields: {
|
|
12683
|
+
/** . */
|
|
12684
|
+
'nextINeedYouTo': {
|
|
12685
|
+
type: 'text';
|
|
12686
|
+
isArray: true;
|
|
13000
12687
|
options: undefined;
|
|
13001
12688
|
};
|
|
13002
12689
|
/** . */
|
|
13003
|
-
'
|
|
12690
|
+
'youShouldKnowThat': {
|
|
13004
12691
|
type: 'text';
|
|
12692
|
+
isArray: true;
|
|
13005
12693
|
options: undefined;
|
|
13006
12694
|
};
|
|
13007
12695
|
/** . */
|
|
13008
|
-
'
|
|
12696
|
+
'links': {
|
|
13009
12697
|
type: 'schema';
|
|
13010
12698
|
isArray: true;
|
|
12699
|
+
minArrayLength: 0;
|
|
13011
12700
|
options: {
|
|
13012
|
-
schema: SpruceSchemas.
|
|
12701
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.LinkSchema;
|
|
13013
12702
|
};
|
|
13014
12703
|
};
|
|
13015
12704
|
};
|
|
13016
12705
|
}
|
|
13017
|
-
interface
|
|
12706
|
+
interface MessageTemplateAddonsEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema> {
|
|
13018
12707
|
}
|
|
13019
12708
|
}
|
|
13020
12709
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13021
|
-
interface
|
|
13022
|
-
'
|
|
12710
|
+
interface DidJoinOrganizationResponsePayload {
|
|
12711
|
+
'messaging'?: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddons | undefined | null;
|
|
13023
12712
|
}
|
|
13024
|
-
interface
|
|
13025
|
-
id: '
|
|
12713
|
+
interface DidJoinOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12714
|
+
id: 'didJoinOrganizationResponsePayload';
|
|
13026
12715
|
version: 'v2020_12_25';
|
|
13027
12716
|
namespace: 'Mercury';
|
|
13028
12717
|
name: '';
|
|
13029
12718
|
fields: {
|
|
13030
12719
|
/** . */
|
|
13031
|
-
'
|
|
12720
|
+
'messaging': {
|
|
12721
|
+
type: 'schema';
|
|
12722
|
+
options: {
|
|
12723
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema;
|
|
12724
|
+
};
|
|
12725
|
+
};
|
|
12726
|
+
};
|
|
12727
|
+
}
|
|
12728
|
+
interface DidJoinOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationResponsePayloadSchema> {
|
|
12729
|
+
}
|
|
12730
|
+
}
|
|
12731
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12732
|
+
interface DidLeaveOrganizationEmitTarget {
|
|
12733
|
+
'organizationId': string;
|
|
12734
|
+
'locationId'?: string | undefined | null;
|
|
12735
|
+
}
|
|
12736
|
+
interface DidLeaveOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
12737
|
+
id: 'didLeaveOrganizationEmitTarget';
|
|
12738
|
+
version: 'v2020_12_25';
|
|
12739
|
+
namespace: 'Mercury';
|
|
12740
|
+
name: '';
|
|
12741
|
+
fields: {
|
|
12742
|
+
/** . */
|
|
12743
|
+
'organizationId': {
|
|
12744
|
+
type: 'id';
|
|
12745
|
+
isRequired: true;
|
|
12746
|
+
options: undefined;
|
|
12747
|
+
};
|
|
12748
|
+
/** . */
|
|
12749
|
+
'locationId': {
|
|
12750
|
+
type: 'id';
|
|
12751
|
+
options: undefined;
|
|
12752
|
+
};
|
|
12753
|
+
};
|
|
12754
|
+
}
|
|
12755
|
+
interface DidLeaveOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema> {
|
|
12756
|
+
}
|
|
12757
|
+
}
|
|
12758
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12759
|
+
interface DidLeaveOrganizationEmitPayload {
|
|
12760
|
+
'personId': string;
|
|
12761
|
+
'roleId': string;
|
|
12762
|
+
'isLastRole': boolean;
|
|
12763
|
+
}
|
|
12764
|
+
interface DidLeaveOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12765
|
+
id: 'didLeaveOrganizationEmitPayload';
|
|
12766
|
+
version: 'v2020_12_25';
|
|
12767
|
+
namespace: 'Mercury';
|
|
12768
|
+
name: '';
|
|
12769
|
+
fields: {
|
|
12770
|
+
/** . */
|
|
12771
|
+
'personId': {
|
|
12772
|
+
type: 'id';
|
|
12773
|
+
isRequired: true;
|
|
12774
|
+
options: undefined;
|
|
12775
|
+
};
|
|
12776
|
+
/** . */
|
|
12777
|
+
'roleId': {
|
|
12778
|
+
type: 'id';
|
|
12779
|
+
isRequired: true;
|
|
12780
|
+
options: undefined;
|
|
12781
|
+
};
|
|
12782
|
+
/** . */
|
|
12783
|
+
'isLastRole': {
|
|
12784
|
+
type: 'boolean';
|
|
12785
|
+
isRequired: true;
|
|
12786
|
+
options: undefined;
|
|
12787
|
+
};
|
|
12788
|
+
};
|
|
12789
|
+
}
|
|
12790
|
+
interface DidLeaveOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema> {
|
|
12791
|
+
}
|
|
12792
|
+
}
|
|
12793
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12794
|
+
interface DidLeaveOrganizationEmitTargetAndPayload {
|
|
12795
|
+
/** Source. */
|
|
12796
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12797
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTarget;
|
|
12798
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayload;
|
|
12799
|
+
}
|
|
12800
|
+
interface DidLeaveOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12801
|
+
id: 'didLeaveOrganizationEmitTargetAndPayload';
|
|
12802
|
+
version: 'v2020_12_25';
|
|
12803
|
+
namespace: 'Mercury';
|
|
12804
|
+
name: '';
|
|
12805
|
+
fields: {
|
|
12806
|
+
/** Source. */
|
|
12807
|
+
'source': {
|
|
12808
|
+
label: 'Source';
|
|
12809
|
+
type: 'schema';
|
|
12810
|
+
options: {
|
|
12811
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12812
|
+
};
|
|
12813
|
+
};
|
|
12814
|
+
/** . */
|
|
12815
|
+
'target': {
|
|
12816
|
+
type: 'schema';
|
|
12817
|
+
isRequired: true;
|
|
12818
|
+
options: {
|
|
12819
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema;
|
|
12820
|
+
};
|
|
12821
|
+
};
|
|
12822
|
+
/** . */
|
|
12823
|
+
'payload': {
|
|
12824
|
+
type: 'schema';
|
|
12825
|
+
isRequired: true;
|
|
12826
|
+
options: {
|
|
12827
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema;
|
|
12828
|
+
};
|
|
12829
|
+
};
|
|
12830
|
+
};
|
|
12831
|
+
}
|
|
12832
|
+
interface DidLeaveOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetAndPayloadSchema> {
|
|
12833
|
+
}
|
|
12834
|
+
}
|
|
12835
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12836
|
+
interface DidLeaveOrganizationResponsePayload {
|
|
12837
|
+
}
|
|
12838
|
+
interface DidLeaveOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12839
|
+
id: 'didLeaveOrganizationResponsePayload';
|
|
12840
|
+
version: 'v2020_12_25';
|
|
12841
|
+
namespace: 'Mercury';
|
|
12842
|
+
name: '';
|
|
12843
|
+
fields: {};
|
|
12844
|
+
}
|
|
12845
|
+
interface DidLeaveOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationResponsePayloadSchema> {
|
|
12846
|
+
}
|
|
12847
|
+
}
|
|
12848
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12849
|
+
interface DidMessageEmitPayload {
|
|
12850
|
+
'message': SpruceSchemas.Spruce.v2020_07_22.Message;
|
|
12851
|
+
'conversationState'?: string | undefined | null;
|
|
12852
|
+
'topic'?: string | undefined | null;
|
|
12853
|
+
}
|
|
12854
|
+
interface DidMessageEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12855
|
+
id: 'didMessageEmitPayload';
|
|
12856
|
+
version: 'v2020_12_25';
|
|
12857
|
+
namespace: 'Mercury';
|
|
12858
|
+
name: '';
|
|
12859
|
+
fields: {
|
|
12860
|
+
/** . */
|
|
12861
|
+
'message': {
|
|
12862
|
+
type: 'schema';
|
|
12863
|
+
isRequired: true;
|
|
12864
|
+
options: {
|
|
12865
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.MessageSchema;
|
|
12866
|
+
};
|
|
12867
|
+
};
|
|
12868
|
+
/** . */
|
|
12869
|
+
'conversationState': {
|
|
12870
|
+
type: 'text';
|
|
12871
|
+
options: undefined;
|
|
12872
|
+
};
|
|
12873
|
+
/** . */
|
|
12874
|
+
'topic': {
|
|
12875
|
+
type: 'text';
|
|
12876
|
+
options: undefined;
|
|
12877
|
+
};
|
|
12878
|
+
};
|
|
12879
|
+
}
|
|
12880
|
+
interface DidMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema> {
|
|
12881
|
+
}
|
|
12882
|
+
}
|
|
12883
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12884
|
+
interface DidMessageEmitTargetAndPayload {
|
|
12885
|
+
/** Source. */
|
|
12886
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12887
|
+
'target'?: SpruceSchemas.Spruce.v2020_07_22.MessageTarget | undefined | null;
|
|
12888
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayload;
|
|
12889
|
+
}
|
|
12890
|
+
interface DidMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12891
|
+
id: 'didMessageEmitTargetAndPayload';
|
|
12892
|
+
version: 'v2020_12_25';
|
|
12893
|
+
namespace: 'Mercury';
|
|
12894
|
+
name: '';
|
|
12895
|
+
fields: {
|
|
12896
|
+
/** Source. */
|
|
12897
|
+
'source': {
|
|
12898
|
+
label: 'Source';
|
|
12899
|
+
type: 'schema';
|
|
12900
|
+
options: {
|
|
12901
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12902
|
+
};
|
|
12903
|
+
};
|
|
12904
|
+
/** . */
|
|
12905
|
+
'target': {
|
|
12906
|
+
type: 'schema';
|
|
12907
|
+
options: {
|
|
12908
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.MessageTargetSchema;
|
|
12909
|
+
};
|
|
12910
|
+
};
|
|
12911
|
+
/** . */
|
|
12912
|
+
'payload': {
|
|
13032
12913
|
type: 'schema';
|
|
13033
12914
|
isRequired: true;
|
|
13034
12915
|
options: {
|
|
13035
|
-
schema: SpruceSchemas.
|
|
12916
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema;
|
|
13036
12917
|
};
|
|
13037
12918
|
};
|
|
13038
12919
|
};
|
|
13039
12920
|
}
|
|
13040
|
-
interface
|
|
12921
|
+
interface DidMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitTargetAndPayloadSchema> {
|
|
13041
12922
|
}
|
|
13042
12923
|
}
|
|
13043
12924
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13044
|
-
interface
|
|
13045
|
-
'
|
|
12925
|
+
interface ConversationTopic {
|
|
12926
|
+
'key': string;
|
|
12927
|
+
'confidence': number;
|
|
12928
|
+
'label': string;
|
|
13046
12929
|
}
|
|
13047
|
-
interface
|
|
13048
|
-
id: '
|
|
12930
|
+
interface ConversationTopicSchema extends SpruceSchema.Schema {
|
|
12931
|
+
id: 'conversationTopic';
|
|
13049
12932
|
version: 'v2020_12_25';
|
|
13050
12933
|
namespace: 'Mercury';
|
|
13051
12934
|
name: '';
|
|
13052
12935
|
fields: {
|
|
13053
12936
|
/** . */
|
|
13054
|
-
'
|
|
13055
|
-
type: '
|
|
12937
|
+
'key': {
|
|
12938
|
+
type: 'text';
|
|
12939
|
+
isRequired: true;
|
|
12940
|
+
options: undefined;
|
|
12941
|
+
};
|
|
12942
|
+
/** . */
|
|
12943
|
+
'confidence': {
|
|
12944
|
+
type: 'number';
|
|
12945
|
+
isRequired: true;
|
|
12946
|
+
options: undefined;
|
|
12947
|
+
};
|
|
12948
|
+
/** . */
|
|
12949
|
+
'label': {
|
|
12950
|
+
type: 'text';
|
|
13056
12951
|
isRequired: true;
|
|
13057
12952
|
options: undefined;
|
|
13058
12953
|
};
|
|
13059
12954
|
};
|
|
13060
12955
|
}
|
|
13061
|
-
interface
|
|
12956
|
+
interface ConversationTopicEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema> {
|
|
13062
12957
|
}
|
|
13063
12958
|
}
|
|
13064
12959
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13065
|
-
interface
|
|
13066
|
-
|
|
13067
|
-
'
|
|
13068
|
-
|
|
13069
|
-
'
|
|
13070
|
-
|
|
13071
|
-
'description'?: string | undefined | null;
|
|
13072
|
-
'dateDeleted'?: number | undefined | null;
|
|
13073
|
-
'organizationId'?: string | undefined | null;
|
|
13074
|
-
/** Public. Should I let people that are not part of this organization this role? */
|
|
13075
|
-
'isPublic'?: boolean | undefined | null;
|
|
12960
|
+
interface DidMessageResponsePayload {
|
|
12961
|
+
'transitionConversationTo'?: ("greeting" | "discovery" | "topic" | "closing") | undefined | null;
|
|
12962
|
+
'repairs'?: string[] | undefined | null;
|
|
12963
|
+
'topicChangers'?: string[] | undefined | null;
|
|
12964
|
+
'utterance'?: string | undefined | null;
|
|
12965
|
+
'suggestedTopics'?: SpruceSchemas.Mercury.v2020_12_25.ConversationTopic[] | undefined | null;
|
|
13076
12966
|
}
|
|
13077
|
-
interface
|
|
13078
|
-
id: '
|
|
12967
|
+
interface DidMessageResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12968
|
+
id: 'didMessageResponsePayload';
|
|
13079
12969
|
version: 'v2020_12_25';
|
|
13080
12970
|
namespace: 'Mercury';
|
|
13081
12971
|
name: '';
|
|
13082
12972
|
fields: {
|
|
13083
|
-
/**
|
|
13084
|
-
'
|
|
13085
|
-
label: 'Name';
|
|
13086
|
-
type: 'text';
|
|
13087
|
-
options: undefined;
|
|
13088
|
-
};
|
|
13089
|
-
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
13090
|
-
'base': {
|
|
13091
|
-
label: 'Base';
|
|
12973
|
+
/** . */
|
|
12974
|
+
'transitionConversationTo': {
|
|
13092
12975
|
type: 'select';
|
|
13093
|
-
hint: 'A best practices starting point for a role based on the generalized roles at a company.';
|
|
13094
12976
|
options: {
|
|
13095
12977
|
choices: [{
|
|
13096
|
-
"label": "
|
|
13097
|
-
"value": "
|
|
13098
|
-
}, {
|
|
13099
|
-
"label": "Group manager";
|
|
13100
|
-
"value": "groupManager";
|
|
13101
|
-
}, {
|
|
13102
|
-
"label": "Manager";
|
|
13103
|
-
"value": "manager";
|
|
13104
|
-
}, {
|
|
13105
|
-
"label": "Teammate";
|
|
13106
|
-
"value": "teammate";
|
|
12978
|
+
"label": "Greeting";
|
|
12979
|
+
"value": "greeting";
|
|
13107
12980
|
}, {
|
|
13108
|
-
"label": "
|
|
13109
|
-
"value": "
|
|
12981
|
+
"label": "Discovery";
|
|
12982
|
+
"value": "discovery";
|
|
13110
12983
|
}, {
|
|
13111
|
-
"label": "
|
|
13112
|
-
"value": "
|
|
12984
|
+
"label": "Topic";
|
|
12985
|
+
"value": "topic";
|
|
13113
12986
|
}, {
|
|
13114
|
-
"label": "
|
|
13115
|
-
"value": "
|
|
12987
|
+
"label": "Closing";
|
|
12988
|
+
"value": "closing";
|
|
13116
12989
|
}];
|
|
13117
12990
|
};
|
|
13118
12991
|
};
|
|
13119
|
-
/**
|
|
13120
|
-
'
|
|
13121
|
-
label: 'Description';
|
|
12992
|
+
/** . */
|
|
12993
|
+
'repairs': {
|
|
13122
12994
|
type: 'text';
|
|
12995
|
+
isArray: true;
|
|
13123
12996
|
options: undefined;
|
|
13124
12997
|
};
|
|
13125
12998
|
/** . */
|
|
13126
|
-
'
|
|
13127
|
-
type: '
|
|
12999
|
+
'topicChangers': {
|
|
13000
|
+
type: 'text';
|
|
13001
|
+
isArray: true;
|
|
13128
13002
|
options: undefined;
|
|
13129
13003
|
};
|
|
13130
13004
|
/** . */
|
|
13131
|
-
'
|
|
13132
|
-
type: '
|
|
13005
|
+
'utterance': {
|
|
13006
|
+
type: 'text';
|
|
13133
13007
|
options: undefined;
|
|
13134
13008
|
};
|
|
13135
|
-
/**
|
|
13136
|
-
'
|
|
13137
|
-
|
|
13138
|
-
|
|
13139
|
-
|
|
13140
|
-
|
|
13009
|
+
/** . */
|
|
13010
|
+
'suggestedTopics': {
|
|
13011
|
+
type: 'schema';
|
|
13012
|
+
isArray: true;
|
|
13013
|
+
options: {
|
|
13014
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema;
|
|
13015
|
+
};
|
|
13141
13016
|
};
|
|
13142
13017
|
};
|
|
13143
13018
|
}
|
|
13144
|
-
interface
|
|
13019
|
+
interface DidMessageResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageResponsePayloadSchema> {
|
|
13145
13020
|
}
|
|
13146
13021
|
}
|
|
13147
13022
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13148
|
-
interface
|
|
13023
|
+
interface DidSignupEmitPayload {
|
|
13024
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
13025
|
+
}
|
|
13026
|
+
interface DidSignupEmitPayloadSchema extends SpruceSchema.Schema {
|
|
13027
|
+
id: 'didSignupEmitPayload';
|
|
13028
|
+
version: 'v2020_12_25';
|
|
13029
|
+
namespace: 'Mercury';
|
|
13030
|
+
name: '';
|
|
13031
|
+
fields: {
|
|
13032
|
+
/** . */
|
|
13033
|
+
'person': {
|
|
13034
|
+
type: 'schema';
|
|
13035
|
+
isRequired: true;
|
|
13036
|
+
options: {
|
|
13037
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
13038
|
+
};
|
|
13039
|
+
};
|
|
13040
|
+
};
|
|
13041
|
+
}
|
|
13042
|
+
interface DidSignupEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema> {
|
|
13043
|
+
}
|
|
13044
|
+
}
|
|
13045
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13046
|
+
interface DidSignupEmitTargetAndPayload {
|
|
13149
13047
|
/** Source. */
|
|
13150
13048
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
13151
|
-
'target'
|
|
13152
|
-
'payload'
|
|
13049
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
13050
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayload;
|
|
13153
13051
|
}
|
|
13154
|
-
interface
|
|
13155
|
-
id: '
|
|
13052
|
+
interface DidSignupEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
13053
|
+
id: 'didSignupEmitTargetAndPayload';
|
|
13156
13054
|
version: 'v2020_12_25';
|
|
13157
13055
|
namespace: 'Mercury';
|
|
13158
13056
|
name: '';
|
|
@@ -13168,75 +13066,43 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13168
13066
|
/** . */
|
|
13169
13067
|
'target': {
|
|
13170
13068
|
type: 'schema';
|
|
13171
|
-
isRequired: true;
|
|
13172
13069
|
options: {
|
|
13173
|
-
schema: SpruceSchemas.
|
|
13070
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
13174
13071
|
};
|
|
13175
13072
|
};
|
|
13176
13073
|
/** . */
|
|
13177
13074
|
'payload': {
|
|
13178
|
-
type: 'schema';
|
|
13179
|
-
options: {
|
|
13180
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema;
|
|
13181
|
-
};
|
|
13182
|
-
};
|
|
13183
|
-
};
|
|
13184
|
-
}
|
|
13185
|
-
interface UpdateRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetAndPayloadSchema> {
|
|
13186
|
-
}
|
|
13187
|
-
}
|
|
13188
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13189
|
-
interface UpdateRoleResponsePayload {
|
|
13190
|
-
'role': SpruceSchemas.Spruce.v2020_07_22.Role;
|
|
13191
|
-
}
|
|
13192
|
-
interface UpdateRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
13193
|
-
id: 'updateRoleResponsePayload';
|
|
13194
|
-
version: 'v2020_12_25';
|
|
13195
|
-
namespace: 'Mercury';
|
|
13196
|
-
name: '';
|
|
13197
|
-
fields: {
|
|
13198
|
-
/** . */
|
|
13199
|
-
'role': {
|
|
13200
13075
|
type: 'schema';
|
|
13201
13076
|
isRequired: true;
|
|
13202
13077
|
options: {
|
|
13203
|
-
schema: SpruceSchemas.
|
|
13078
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema;
|
|
13204
13079
|
};
|
|
13205
13080
|
};
|
|
13206
13081
|
};
|
|
13207
13082
|
}
|
|
13208
|
-
interface
|
|
13083
|
+
interface DidSignupEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitTargetAndPayloadSchema> {
|
|
13209
13084
|
}
|
|
13210
13085
|
}
|
|
13211
13086
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13212
|
-
interface
|
|
13213
|
-
'
|
|
13214
|
-
'
|
|
13215
|
-
'roleId': string;
|
|
13087
|
+
interface DidUpdateFeedEmitTarget {
|
|
13088
|
+
'locationId'?: string | undefined | null;
|
|
13089
|
+
'organizationId'?: string | undefined | null;
|
|
13216
13090
|
'skillId'?: string | undefined | null;
|
|
13217
13091
|
}
|
|
13218
|
-
interface
|
|
13219
|
-
id: '
|
|
13092
|
+
interface DidUpdateFeedEmitTargetSchema extends SpruceSchema.Schema {
|
|
13093
|
+
id: 'didUpdateFeedEmitTarget';
|
|
13220
13094
|
version: 'v2020_12_25';
|
|
13221
13095
|
namespace: 'Mercury';
|
|
13222
13096
|
name: '';
|
|
13223
13097
|
fields: {
|
|
13224
13098
|
/** . */
|
|
13225
|
-
'
|
|
13226
|
-
type: 'id';
|
|
13227
|
-
isRequired: true;
|
|
13228
|
-
options: undefined;
|
|
13229
|
-
};
|
|
13230
|
-
/** . */
|
|
13231
|
-
'permissionContractId': {
|
|
13099
|
+
'locationId': {
|
|
13232
13100
|
type: 'id';
|
|
13233
|
-
isRequired: true;
|
|
13234
13101
|
options: undefined;
|
|
13235
13102
|
};
|
|
13236
13103
|
/** . */
|
|
13237
|
-
'
|
|
13104
|
+
'organizationId': {
|
|
13238
13105
|
type: 'id';
|
|
13239
|
-
isRequired: true;
|
|
13240
13106
|
options: undefined;
|
|
13241
13107
|
};
|
|
13242
13108
|
/** . */
|
|
@@ -13246,70 +13112,41 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13246
13112
|
};
|
|
13247
13113
|
};
|
|
13248
13114
|
}
|
|
13249
|
-
interface
|
|
13115
|
+
interface DidUpdateFeedEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetSchema> {
|
|
13250
13116
|
}
|
|
13251
13117
|
}
|
|
13252
13118
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13253
|
-
interface
|
|
13254
|
-
|
|
13255
|
-
'name': string;
|
|
13256
|
-
/** Description. */
|
|
13257
|
-
'description'?: string | undefined | null;
|
|
13258
|
-
/** Require all permissions. */
|
|
13259
|
-
'requireAllPermissions'?: boolean | undefined | null;
|
|
13260
|
-
'permissions': SpruceSchemas.Mercury.v2020_12_25.Permission[];
|
|
13119
|
+
interface DidUpdateFeedEmitPayload {
|
|
13120
|
+
'item': SpruceSchemas.Spruce.v2020_07_22.FeedItem;
|
|
13261
13121
|
}
|
|
13262
|
-
interface
|
|
13263
|
-
id: '
|
|
13122
|
+
interface DidUpdateFeedEmitPayloadSchema extends SpruceSchema.Schema {
|
|
13123
|
+
id: 'didUpdateFeedEmitPayload';
|
|
13264
13124
|
version: 'v2020_12_25';
|
|
13265
13125
|
namespace: 'Mercury';
|
|
13266
13126
|
name: '';
|
|
13267
13127
|
fields: {
|
|
13268
|
-
/** Name. Human readable name for this contract */
|
|
13269
|
-
'name': {
|
|
13270
|
-
label: 'Name';
|
|
13271
|
-
type: 'text';
|
|
13272
|
-
isRequired: true;
|
|
13273
|
-
hint: 'Human readable name for this contract';
|
|
13274
|
-
options: undefined;
|
|
13275
|
-
};
|
|
13276
|
-
/** Description. */
|
|
13277
|
-
'description': {
|
|
13278
|
-
label: 'Description';
|
|
13279
|
-
type: 'text';
|
|
13280
|
-
options: undefined;
|
|
13281
|
-
};
|
|
13282
|
-
/** Require all permissions. */
|
|
13283
|
-
'requireAllPermissions': {
|
|
13284
|
-
label: 'Require all permissions';
|
|
13285
|
-
type: 'boolean';
|
|
13286
|
-
defaultValue: false;
|
|
13287
|
-
options: undefined;
|
|
13288
|
-
};
|
|
13289
13128
|
/** . */
|
|
13290
|
-
'
|
|
13129
|
+
'item': {
|
|
13291
13130
|
type: 'schema';
|
|
13292
13131
|
isRequired: true;
|
|
13293
|
-
isArray: true;
|
|
13294
|
-
minArrayLength: 0;
|
|
13295
13132
|
options: {
|
|
13296
|
-
schema: SpruceSchemas.
|
|
13133
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.FeedItemSchema;
|
|
13297
13134
|
};
|
|
13298
13135
|
};
|
|
13299
13136
|
};
|
|
13300
13137
|
}
|
|
13301
|
-
interface
|
|
13138
|
+
interface DidUpdateFeedEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema> {
|
|
13302
13139
|
}
|
|
13303
13140
|
}
|
|
13304
13141
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13305
|
-
interface
|
|
13142
|
+
interface DidUpdateFeedEmitTargetAndPayload {
|
|
13306
13143
|
/** Source. */
|
|
13307
13144
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
13308
|
-
'target'
|
|
13309
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.
|
|
13145
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTarget | undefined | null;
|
|
13146
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayload;
|
|
13310
13147
|
}
|
|
13311
|
-
interface
|
|
13312
|
-
id: '
|
|
13148
|
+
interface DidUpdateFeedEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
13149
|
+
id: 'didUpdateFeedEmitTargetAndPayload';
|
|
13313
13150
|
version: 'v2020_12_25';
|
|
13314
13151
|
namespace: 'Mercury';
|
|
13315
13152
|
name: '';
|
|
@@ -13325,9 +13162,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13325
13162
|
/** . */
|
|
13326
13163
|
'target': {
|
|
13327
13164
|
type: 'schema';
|
|
13328
|
-
isRequired: true;
|
|
13329
13165
|
options: {
|
|
13330
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
13166
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetSchema;
|
|
13331
13167
|
};
|
|
13332
13168
|
};
|
|
13333
13169
|
/** . */
|
|
@@ -13335,73 +13171,103 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13335
13171
|
type: 'schema';
|
|
13336
13172
|
isRequired: true;
|
|
13337
13173
|
options: {
|
|
13338
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
13174
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema;
|
|
13339
13175
|
};
|
|
13340
13176
|
};
|
|
13341
13177
|
};
|
|
13342
13178
|
}
|
|
13343
|
-
interface
|
|
13179
|
+
interface DidUpdateFeedEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetAndPayloadSchema> {
|
|
13344
13180
|
}
|
|
13345
13181
|
}
|
|
13346
13182
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13347
|
-
interface
|
|
13348
|
-
'
|
|
13183
|
+
interface DidUpdatePersonEmitPayload {
|
|
13184
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
13349
13185
|
}
|
|
13350
|
-
interface
|
|
13351
|
-
id: '
|
|
13186
|
+
interface DidUpdatePersonEmitPayloadSchema extends SpruceSchema.Schema {
|
|
13187
|
+
id: 'didUpdatePersonEmitPayload';
|
|
13352
13188
|
version: 'v2020_12_25';
|
|
13353
13189
|
namespace: 'Mercury';
|
|
13354
13190
|
name: '';
|
|
13355
13191
|
fields: {
|
|
13356
13192
|
/** . */
|
|
13357
|
-
'
|
|
13193
|
+
'person': {
|
|
13358
13194
|
type: 'schema';
|
|
13359
13195
|
isRequired: true;
|
|
13360
13196
|
options: {
|
|
13361
|
-
schema: SpruceSchemas.
|
|
13197
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
13362
13198
|
};
|
|
13363
13199
|
};
|
|
13364
13200
|
};
|
|
13365
13201
|
}
|
|
13366
|
-
interface
|
|
13202
|
+
interface DidUpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema> {
|
|
13367
13203
|
}
|
|
13368
13204
|
}
|
|
13369
13205
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13370
|
-
interface
|
|
13371
|
-
'
|
|
13372
|
-
'
|
|
13206
|
+
interface InvokeChatCallbackTarget {
|
|
13207
|
+
'skillId': string;
|
|
13208
|
+
'chatPersonId': string;
|
|
13373
13209
|
}
|
|
13374
|
-
interface
|
|
13375
|
-
id: '
|
|
13210
|
+
interface InvokeChatCallbackTargetSchema extends SpruceSchema.Schema {
|
|
13211
|
+
id: 'invokeChatCallbackTarget';
|
|
13376
13212
|
version: 'v2020_12_25';
|
|
13377
13213
|
namespace: 'Mercury';
|
|
13378
13214
|
name: '';
|
|
13379
13215
|
fields: {
|
|
13380
13216
|
/** . */
|
|
13381
|
-
'
|
|
13217
|
+
'skillId': {
|
|
13382
13218
|
type: 'id';
|
|
13383
13219
|
isRequired: true;
|
|
13384
13220
|
options: undefined;
|
|
13385
13221
|
};
|
|
13386
13222
|
/** . */
|
|
13387
|
-
'
|
|
13223
|
+
'chatPersonId': {
|
|
13388
13224
|
type: 'id';
|
|
13389
13225
|
isRequired: true;
|
|
13390
13226
|
options: undefined;
|
|
13391
13227
|
};
|
|
13392
13228
|
};
|
|
13393
13229
|
}
|
|
13394
|
-
interface
|
|
13230
|
+
interface InvokeChatCallbackTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackTargetSchema> {
|
|
13395
13231
|
}
|
|
13396
13232
|
}
|
|
13397
13233
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13398
|
-
interface
|
|
13234
|
+
interface InvokeChatCallbackPayload {
|
|
13235
|
+
'placeholder': string;
|
|
13236
|
+
'state'?: (Record<string, any>) | undefined | null;
|
|
13237
|
+
}
|
|
13238
|
+
interface InvokeChatCallbackPayloadSchema extends SpruceSchema.Schema {
|
|
13239
|
+
id: 'invokeChatCallbackPayload';
|
|
13240
|
+
version: 'v2020_12_25';
|
|
13241
|
+
namespace: 'Mercury';
|
|
13242
|
+
name: '';
|
|
13243
|
+
fields: {
|
|
13244
|
+
/** . */
|
|
13245
|
+
'placeholder': {
|
|
13246
|
+
type: 'id';
|
|
13247
|
+
isRequired: true;
|
|
13248
|
+
options: undefined;
|
|
13249
|
+
};
|
|
13250
|
+
/** . */
|
|
13251
|
+
'state': {
|
|
13252
|
+
type: 'raw';
|
|
13253
|
+
options: {
|
|
13254
|
+
valueType: `Record<string, any>`;
|
|
13255
|
+
};
|
|
13256
|
+
};
|
|
13257
|
+
};
|
|
13258
|
+
}
|
|
13259
|
+
interface InvokeChatCallbackPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackPayloadSchema> {
|
|
13260
|
+
}
|
|
13261
|
+
}
|
|
13262
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13263
|
+
interface InvokeChatCallbackEmitTargetAndPayload {
|
|
13399
13264
|
/** Source. */
|
|
13400
13265
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
13401
|
-
'
|
|
13266
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackTarget;
|
|
13267
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackPayload;
|
|
13402
13268
|
}
|
|
13403
|
-
interface
|
|
13404
|
-
id: '
|
|
13269
|
+
interface InvokeChatCallbackEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
13270
|
+
id: 'invokeChatCallbackEmitTargetAndPayload';
|
|
13405
13271
|
version: 'v2020_12_25';
|
|
13406
13272
|
namespace: 'Mercury';
|
|
13407
13273
|
name: '';
|
|
@@ -13415,48 +13281,56 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13415
13281
|
};
|
|
13416
13282
|
};
|
|
13417
13283
|
/** . */
|
|
13284
|
+
'target': {
|
|
13285
|
+
type: 'schema';
|
|
13286
|
+
isRequired: true;
|
|
13287
|
+
options: {
|
|
13288
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackTargetSchema;
|
|
13289
|
+
};
|
|
13290
|
+
};
|
|
13291
|
+
/** . */
|
|
13418
13292
|
'payload': {
|
|
13419
13293
|
type: 'schema';
|
|
13420
13294
|
isRequired: true;
|
|
13421
13295
|
options: {
|
|
13422
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
13296
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackPayloadSchema;
|
|
13423
13297
|
};
|
|
13424
13298
|
};
|
|
13425
13299
|
};
|
|
13426
13300
|
}
|
|
13427
|
-
interface
|
|
13301
|
+
interface InvokeChatCallbackEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackEmitTargetAndPayloadSchema> {
|
|
13428
13302
|
}
|
|
13429
13303
|
}
|
|
13430
13304
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13431
|
-
interface
|
|
13432
|
-
'
|
|
13305
|
+
interface InvokeChatCallbackResponsePayload {
|
|
13306
|
+
'message': string;
|
|
13433
13307
|
}
|
|
13434
|
-
interface
|
|
13435
|
-
id: '
|
|
13308
|
+
interface InvokeChatCallbackResponsePayloadSchema extends SpruceSchema.Schema {
|
|
13309
|
+
id: 'invokeChatCallbackResponsePayload';
|
|
13436
13310
|
version: 'v2020_12_25';
|
|
13437
13311
|
namespace: 'Mercury';
|
|
13438
13312
|
name: '';
|
|
13439
13313
|
fields: {
|
|
13440
13314
|
/** . */
|
|
13441
|
-
'
|
|
13442
|
-
type: '
|
|
13315
|
+
'message': {
|
|
13316
|
+
type: 'text';
|
|
13443
13317
|
isRequired: true;
|
|
13444
13318
|
options: undefined;
|
|
13445
13319
|
};
|
|
13446
13320
|
};
|
|
13447
13321
|
}
|
|
13448
|
-
interface
|
|
13322
|
+
interface InvokeChatCallbackResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackResponsePayloadSchema> {
|
|
13449
13323
|
}
|
|
13450
13324
|
}
|
|
13451
13325
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13452
|
-
interface
|
|
13326
|
+
interface DidUpdatePersonEmitTargetAndPayload {
|
|
13453
13327
|
/** Source. */
|
|
13454
13328
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
13455
|
-
'target'?: SpruceSchemas.
|
|
13456
|
-
'payload'
|
|
13329
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
13330
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayload;
|
|
13457
13331
|
}
|
|
13458
|
-
interface
|
|
13459
|
-
id: '
|
|
13332
|
+
interface DidUpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
13333
|
+
id: 'didUpdatePersonEmitTargetAndPayload';
|
|
13460
13334
|
version: 'v2020_12_25';
|
|
13461
13335
|
namespace: 'Mercury';
|
|
13462
13336
|
name: '';
|
|
@@ -13473,28 +13347,29 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13473
13347
|
'target': {
|
|
13474
13348
|
type: 'schema';
|
|
13475
13349
|
options: {
|
|
13476
|
-
schema: SpruceSchemas.
|
|
13350
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
13477
13351
|
};
|
|
13478
13352
|
};
|
|
13479
13353
|
/** . */
|
|
13480
13354
|
'payload': {
|
|
13481
13355
|
type: 'schema';
|
|
13356
|
+
isRequired: true;
|
|
13482
13357
|
options: {
|
|
13483
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
13358
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema;
|
|
13484
13359
|
};
|
|
13485
13360
|
};
|
|
13486
13361
|
};
|
|
13487
13362
|
}
|
|
13488
|
-
interface
|
|
13363
|
+
interface DidUpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitTargetAndPayloadSchema> {
|
|
13489
13364
|
}
|
|
13490
13365
|
}
|
|
13491
13366
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13492
|
-
interface
|
|
13367
|
+
interface RegisterChatbotsEmitTargetAndPayload {
|
|
13493
13368
|
/** Source. */
|
|
13494
13369
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
13495
13370
|
}
|
|
13496
|
-
interface
|
|
13497
|
-
id: '
|
|
13371
|
+
interface RegisterChatbotsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
13372
|
+
id: 'registerChatbotsEmitTargetAndPayload';
|
|
13498
13373
|
version: 'v2020_12_25';
|
|
13499
13374
|
namespace: 'Mercury';
|
|
13500
13375
|
name: '';
|
|
@@ -13509,7 +13384,132 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13509
13384
|
};
|
|
13510
13385
|
};
|
|
13511
13386
|
}
|
|
13512
|
-
interface
|
|
13387
|
+
interface RegisterChatbotsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterChatbotsEmitTargetAndPayloadSchema> {
|
|
13388
|
+
}
|
|
13389
|
+
}
|
|
13390
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13391
|
+
interface ChatbotCallbacks {
|
|
13392
|
+
'placeholder': string;
|
|
13393
|
+
'useThisWhenever': string;
|
|
13394
|
+
}
|
|
13395
|
+
interface ChatbotCallbacksSchema extends SpruceSchema.Schema {
|
|
13396
|
+
id: 'chatbotCallbacks';
|
|
13397
|
+
version: 'v2020_12_25';
|
|
13398
|
+
namespace: 'Mercury';
|
|
13399
|
+
name: '';
|
|
13400
|
+
fields: {
|
|
13401
|
+
/** . */
|
|
13402
|
+
'placeholder': {
|
|
13403
|
+
type: 'id';
|
|
13404
|
+
isRequired: true;
|
|
13405
|
+
options: undefined;
|
|
13406
|
+
};
|
|
13407
|
+
/** . */
|
|
13408
|
+
'useThisWhenever': {
|
|
13409
|
+
type: 'text';
|
|
13410
|
+
isRequired: true;
|
|
13411
|
+
options: undefined;
|
|
13412
|
+
};
|
|
13413
|
+
};
|
|
13414
|
+
}
|
|
13415
|
+
interface ChatbotCallbacksEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ChatbotCallbacksSchema> {
|
|
13416
|
+
}
|
|
13417
|
+
}
|
|
13418
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13419
|
+
interface Chatbot {
|
|
13420
|
+
'title': string;
|
|
13421
|
+
'yourJobIfYouChooseToAcceptItIs': string;
|
|
13422
|
+
'weAreDoneWhen': string;
|
|
13423
|
+
'pleaseKeepInMindThat'?: string[] | undefined | null;
|
|
13424
|
+
'stateSchema'?: (SpruceSchema.Schema) | undefined | null;
|
|
13425
|
+
'model'?: string | undefined | null;
|
|
13426
|
+
'promptTemplate'?: string | undefined | null;
|
|
13427
|
+
'callbacks'?: SpruceSchemas.Mercury.v2020_12_25.ChatbotCallbacks[] | undefined | null;
|
|
13428
|
+
}
|
|
13429
|
+
interface ChatbotSchema extends SpruceSchema.Schema {
|
|
13430
|
+
id: 'chatbot';
|
|
13431
|
+
version: 'v2020_12_25';
|
|
13432
|
+
namespace: 'Mercury';
|
|
13433
|
+
name: '';
|
|
13434
|
+
fields: {
|
|
13435
|
+
/** . */
|
|
13436
|
+
'title': {
|
|
13437
|
+
type: 'text';
|
|
13438
|
+
isRequired: true;
|
|
13439
|
+
options: undefined;
|
|
13440
|
+
};
|
|
13441
|
+
/** . */
|
|
13442
|
+
'yourJobIfYouChooseToAcceptItIs': {
|
|
13443
|
+
type: 'text';
|
|
13444
|
+
isRequired: true;
|
|
13445
|
+
options: undefined;
|
|
13446
|
+
};
|
|
13447
|
+
/** . */
|
|
13448
|
+
'weAreDoneWhen': {
|
|
13449
|
+
type: 'text';
|
|
13450
|
+
isRequired: true;
|
|
13451
|
+
options: undefined;
|
|
13452
|
+
};
|
|
13453
|
+
/** . */
|
|
13454
|
+
'pleaseKeepInMindThat': {
|
|
13455
|
+
type: 'text';
|
|
13456
|
+
isArray: true;
|
|
13457
|
+
options: undefined;
|
|
13458
|
+
};
|
|
13459
|
+
/** . */
|
|
13460
|
+
'stateSchema': {
|
|
13461
|
+
type: 'raw';
|
|
13462
|
+
options: {
|
|
13463
|
+
valueType: `SpruceSchema.Schema`;
|
|
13464
|
+
};
|
|
13465
|
+
};
|
|
13466
|
+
/** . */
|
|
13467
|
+
'model': {
|
|
13468
|
+
type: 'id';
|
|
13469
|
+
options: undefined;
|
|
13470
|
+
};
|
|
13471
|
+
/** . */
|
|
13472
|
+
'promptTemplate': {
|
|
13473
|
+
type: 'text';
|
|
13474
|
+
options: undefined;
|
|
13475
|
+
};
|
|
13476
|
+
/** . */
|
|
13477
|
+
'callbacks': {
|
|
13478
|
+
type: 'schema';
|
|
13479
|
+
isArray: true;
|
|
13480
|
+
minArrayLength: 0;
|
|
13481
|
+
options: {
|
|
13482
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ChatbotCallbacksSchema;
|
|
13483
|
+
};
|
|
13484
|
+
};
|
|
13485
|
+
};
|
|
13486
|
+
}
|
|
13487
|
+
interface ChatbotEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ChatbotSchema> {
|
|
13488
|
+
}
|
|
13489
|
+
}
|
|
13490
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13491
|
+
interface RegisterChatbotsResponsePayload {
|
|
13492
|
+
'bots': SpruceSchemas.Mercury.v2020_12_25.Chatbot[];
|
|
13493
|
+
}
|
|
13494
|
+
interface RegisterChatbotsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
13495
|
+
id: 'registerChatbotsResponsePayload';
|
|
13496
|
+
version: 'v2020_12_25';
|
|
13497
|
+
namespace: 'Mercury';
|
|
13498
|
+
name: '';
|
|
13499
|
+
fields: {
|
|
13500
|
+
/** . */
|
|
13501
|
+
'bots': {
|
|
13502
|
+
type: 'schema';
|
|
13503
|
+
isRequired: true;
|
|
13504
|
+
isArray: true;
|
|
13505
|
+
minArrayLength: 0;
|
|
13506
|
+
options: {
|
|
13507
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ChatbotSchema;
|
|
13508
|
+
};
|
|
13509
|
+
};
|
|
13510
|
+
};
|
|
13511
|
+
}
|
|
13512
|
+
interface RegisterChatbotsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterChatbotsResponsePayloadSchema> {
|
|
13513
13513
|
}
|
|
13514
13514
|
}
|
|
13515
13515
|
}
|