@sprucelabs/mercury-core-events 24.0.213 → 24.0.215
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 +1731 -1731
- package/build/esm/.spruce/schemas/schemas.types.d.ts +1731 -1731
- package/package.json +8 -8
|
@@ -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";
|
|
@@ -4135,39 +3105,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4135
3105
|
interface DeleteLocationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DeleteLocationEmitTargetSchema> {
|
|
4136
3106
|
}
|
|
4137
3107
|
}
|
|
4138
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4139
|
-
interface DeleteLocationEmitTargetAndPayload {
|
|
4140
|
-
/** Source. */
|
|
4141
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
4142
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.DeleteLocationEmitTarget;
|
|
4143
|
-
}
|
|
4144
|
-
interface DeleteLocationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
4145
|
-
id: 'deleteLocationEmitTargetAndPayload';
|
|
4146
|
-
version: 'v2020_12_25';
|
|
4147
|
-
namespace: 'Mercury';
|
|
4148
|
-
name: '';
|
|
4149
|
-
fields: {
|
|
4150
|
-
/** Source. */
|
|
4151
|
-
'source': {
|
|
4152
|
-
label: 'Source';
|
|
4153
|
-
type: 'schema';
|
|
4154
|
-
options: {
|
|
4155
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
4156
|
-
};
|
|
4157
|
-
};
|
|
4158
|
-
/** . */
|
|
4159
|
-
'target': {
|
|
4160
|
-
type: 'schema';
|
|
4161
|
-
isRequired: true;
|
|
4162
|
-
options: {
|
|
4163
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DeleteLocationEmitTargetSchema;
|
|
4164
|
-
};
|
|
4165
|
-
};
|
|
4166
|
-
};
|
|
4167
|
-
}
|
|
4168
|
-
interface DeleteLocationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DeleteLocationEmitTargetAndPayloadSchema> {
|
|
4169
|
-
}
|
|
4170
|
-
}
|
|
4171
3108
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4172
3109
|
interface DeleteLocationResponsePayload {
|
|
4173
3110
|
'location': SpruceSchemas.Spruce.v2020_07_22.Location;
|
|
@@ -5862,6 +4799,47 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
5862
4799
|
interface IsSkillInstalledEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitPayloadSchema> {
|
|
5863
4800
|
}
|
|
5864
4801
|
}
|
|
4802
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4803
|
+
interface IsSkillInstalledEmitTargetAndPayload {
|
|
4804
|
+
/** Source. */
|
|
4805
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
4806
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitTarget;
|
|
4807
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitPayload | undefined | null;
|
|
4808
|
+
}
|
|
4809
|
+
interface IsSkillInstalledEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
4810
|
+
id: 'isSkillInstalledEmitTargetAndPayload';
|
|
4811
|
+
version: 'v2020_12_25';
|
|
4812
|
+
namespace: 'Mercury';
|
|
4813
|
+
name: '';
|
|
4814
|
+
fields: {
|
|
4815
|
+
/** Source. */
|
|
4816
|
+
'source': {
|
|
4817
|
+
label: 'Source';
|
|
4818
|
+
type: 'schema';
|
|
4819
|
+
options: {
|
|
4820
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
4821
|
+
};
|
|
4822
|
+
};
|
|
4823
|
+
/** . */
|
|
4824
|
+
'target': {
|
|
4825
|
+
type: 'schema';
|
|
4826
|
+
isRequired: true;
|
|
4827
|
+
options: {
|
|
4828
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitTargetSchema;
|
|
4829
|
+
};
|
|
4830
|
+
};
|
|
4831
|
+
/** . */
|
|
4832
|
+
'payload': {
|
|
4833
|
+
type: 'schema';
|
|
4834
|
+
options: {
|
|
4835
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitPayloadSchema;
|
|
4836
|
+
};
|
|
4837
|
+
};
|
|
4838
|
+
};
|
|
4839
|
+
}
|
|
4840
|
+
interface IsSkillInstalledEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitTargetAndPayloadSchema> {
|
|
4841
|
+
}
|
|
4842
|
+
}
|
|
5865
4843
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5866
4844
|
interface IsSkillInstalledResponsePayload {
|
|
5867
4845
|
'isInstalled': boolean;
|
|
@@ -6173,34 +5151,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6173
5151
|
interface ListLocationsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitTargetSchema> {
|
|
6174
5152
|
}
|
|
6175
5153
|
}
|
|
6176
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6177
|
-
interface ListLocationsEmitPayload {
|
|
6178
|
-
'shouldOnlyShowWhereIAmEmployed'?: boolean | undefined | null;
|
|
6179
|
-
'paging'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequest | undefined | null;
|
|
6180
|
-
}
|
|
6181
|
-
interface ListLocationsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
6182
|
-
id: 'listLocationsEmitPayload';
|
|
6183
|
-
version: 'v2020_12_25';
|
|
6184
|
-
namespace: 'Mercury';
|
|
6185
|
-
name: '';
|
|
6186
|
-
fields: {
|
|
6187
|
-
/** . */
|
|
6188
|
-
'shouldOnlyShowWhereIAmEmployed': {
|
|
6189
|
-
type: 'boolean';
|
|
6190
|
-
options: undefined;
|
|
6191
|
-
};
|
|
6192
|
-
/** . */
|
|
6193
|
-
'paging': {
|
|
6194
|
-
type: 'schema';
|
|
6195
|
-
options: {
|
|
6196
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequestSchema;
|
|
6197
|
-
};
|
|
6198
|
-
};
|
|
6199
|
-
};
|
|
6200
|
-
}
|
|
6201
|
-
interface ListLocationsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitPayloadSchema> {
|
|
6202
|
-
}
|
|
6203
|
-
}
|
|
6204
5154
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6205
5155
|
interface ListLocationsEmitTargetAndPayload {
|
|
6206
5156
|
/** Source. */
|
|
@@ -6252,52 +5202,120 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6252
5202
|
name: '';
|
|
6253
5203
|
fields: {
|
|
6254
5204
|
/** . */
|
|
6255
|
-
'locations': {
|
|
5205
|
+
'locations': {
|
|
5206
|
+
type: 'schema';
|
|
5207
|
+
isRequired: true;
|
|
5208
|
+
isArray: true;
|
|
5209
|
+
minArrayLength: 0;
|
|
5210
|
+
options: {
|
|
5211
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.LocationSchema;
|
|
5212
|
+
};
|
|
5213
|
+
};
|
|
5214
|
+
};
|
|
5215
|
+
}
|
|
5216
|
+
interface ListLocationsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListLocationsResponsePayloadSchema> {
|
|
5217
|
+
}
|
|
5218
|
+
}
|
|
5219
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5220
|
+
interface ListOrgsEmitTarget {
|
|
5221
|
+
'organizationIds'?: string[] | undefined | null;
|
|
5222
|
+
'personId'?: string | undefined | null;
|
|
5223
|
+
'namespace'?: string | undefined | null;
|
|
5224
|
+
}
|
|
5225
|
+
interface ListOrgsEmitTargetSchema extends SpruceSchema.Schema {
|
|
5226
|
+
id: 'listOrgsEmitTarget';
|
|
5227
|
+
version: 'v2020_12_25';
|
|
5228
|
+
namespace: 'Mercury';
|
|
5229
|
+
name: '';
|
|
5230
|
+
fields: {
|
|
5231
|
+
/** . */
|
|
5232
|
+
'organizationIds': {
|
|
5233
|
+
type: 'id';
|
|
5234
|
+
isArray: true;
|
|
5235
|
+
minArrayLength: 0;
|
|
5236
|
+
options: undefined;
|
|
5237
|
+
};
|
|
5238
|
+
/** . */
|
|
5239
|
+
'personId': {
|
|
5240
|
+
type: 'id';
|
|
5241
|
+
options: undefined;
|
|
5242
|
+
};
|
|
5243
|
+
/** . */
|
|
5244
|
+
'namespace': {
|
|
5245
|
+
type: 'id';
|
|
5246
|
+
options: undefined;
|
|
5247
|
+
};
|
|
5248
|
+
};
|
|
5249
|
+
}
|
|
5250
|
+
interface ListOrgsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTargetSchema> {
|
|
5251
|
+
}
|
|
5252
|
+
}
|
|
5253
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5254
|
+
interface ListOrganizationsEmitTargetAndPayload {
|
|
5255
|
+
/** Source. */
|
|
5256
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
5257
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTarget | undefined | null;
|
|
5258
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayload | undefined | null;
|
|
5259
|
+
}
|
|
5260
|
+
interface ListOrganizationsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
5261
|
+
id: 'listOrganizationsEmitTargetAndPayload';
|
|
5262
|
+
version: 'v2020_12_25';
|
|
5263
|
+
namespace: 'Mercury';
|
|
5264
|
+
name: '';
|
|
5265
|
+
fields: {
|
|
5266
|
+
/** Source. */
|
|
5267
|
+
'source': {
|
|
5268
|
+
label: 'Source';
|
|
5269
|
+
type: 'schema';
|
|
5270
|
+
options: {
|
|
5271
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
5272
|
+
};
|
|
5273
|
+
};
|
|
5274
|
+
/** . */
|
|
5275
|
+
'target': {
|
|
5276
|
+
type: 'schema';
|
|
5277
|
+
options: {
|
|
5278
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTargetSchema;
|
|
5279
|
+
};
|
|
5280
|
+
};
|
|
5281
|
+
/** . */
|
|
5282
|
+
'payload': {
|
|
6256
5283
|
type: 'schema';
|
|
6257
|
-
isRequired: true;
|
|
6258
|
-
isArray: true;
|
|
6259
|
-
minArrayLength: 0;
|
|
6260
5284
|
options: {
|
|
6261
|
-
schema: SpruceSchemas.
|
|
5285
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayloadSchema;
|
|
6262
5286
|
};
|
|
6263
5287
|
};
|
|
6264
5288
|
};
|
|
6265
5289
|
}
|
|
6266
|
-
interface
|
|
5290
|
+
interface ListOrganizationsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrganizationsEmitTargetAndPayloadSchema> {
|
|
6267
5291
|
}
|
|
6268
5292
|
}
|
|
6269
5293
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6270
|
-
interface
|
|
6271
|
-
'
|
|
6272
|
-
'
|
|
6273
|
-
'namespace'?: string | undefined | null;
|
|
5294
|
+
interface ListLocationsEmitPayload {
|
|
5295
|
+
'shouldOnlyShowWhereIAmEmployed'?: boolean | undefined | null;
|
|
5296
|
+
'paging'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequest | undefined | null;
|
|
6274
5297
|
}
|
|
6275
|
-
interface
|
|
6276
|
-
id: '
|
|
5298
|
+
interface ListLocationsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
5299
|
+
id: 'listLocationsEmitPayload';
|
|
6277
5300
|
version: 'v2020_12_25';
|
|
6278
5301
|
namespace: 'Mercury';
|
|
6279
5302
|
name: '';
|
|
6280
5303
|
fields: {
|
|
6281
5304
|
/** . */
|
|
6282
|
-
'
|
|
6283
|
-
type: '
|
|
6284
|
-
isArray: true;
|
|
6285
|
-
minArrayLength: 0;
|
|
6286
|
-
options: undefined;
|
|
6287
|
-
};
|
|
6288
|
-
/** . */
|
|
6289
|
-
'personId': {
|
|
6290
|
-
type: 'id';
|
|
5305
|
+
'shouldOnlyShowWhereIAmEmployed': {
|
|
5306
|
+
type: 'boolean';
|
|
6291
5307
|
options: undefined;
|
|
6292
5308
|
};
|
|
6293
5309
|
/** . */
|
|
6294
|
-
'
|
|
6295
|
-
type: '
|
|
6296
|
-
options:
|
|
5310
|
+
'paging': {
|
|
5311
|
+
type: 'schema';
|
|
5312
|
+
options: {
|
|
5313
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequestSchema;
|
|
5314
|
+
};
|
|
6297
5315
|
};
|
|
6298
5316
|
};
|
|
6299
5317
|
}
|
|
6300
|
-
interface
|
|
5318
|
+
interface ListLocationsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitPayloadSchema> {
|
|
6301
5319
|
}
|
|
6302
5320
|
}
|
|
6303
5321
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
@@ -6340,46 +5358,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6340
5358
|
interface ListOrgsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayloadSchema> {
|
|
6341
5359
|
}
|
|
6342
5360
|
}
|
|
6343
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6344
|
-
interface ListOrganizationsEmitTargetAndPayload {
|
|
6345
|
-
/** Source. */
|
|
6346
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
6347
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTarget | undefined | null;
|
|
6348
|
-
'payload'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayload | undefined | null;
|
|
6349
|
-
}
|
|
6350
|
-
interface ListOrganizationsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
6351
|
-
id: 'listOrganizationsEmitTargetAndPayload';
|
|
6352
|
-
version: 'v2020_12_25';
|
|
6353
|
-
namespace: 'Mercury';
|
|
6354
|
-
name: '';
|
|
6355
|
-
fields: {
|
|
6356
|
-
/** Source. */
|
|
6357
|
-
'source': {
|
|
6358
|
-
label: 'Source';
|
|
6359
|
-
type: 'schema';
|
|
6360
|
-
options: {
|
|
6361
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
6362
|
-
};
|
|
6363
|
-
};
|
|
6364
|
-
/** . */
|
|
6365
|
-
'target': {
|
|
6366
|
-
type: 'schema';
|
|
6367
|
-
options: {
|
|
6368
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTargetSchema;
|
|
6369
|
-
};
|
|
6370
|
-
};
|
|
6371
|
-
/** . */
|
|
6372
|
-
'payload': {
|
|
6373
|
-
type: 'schema';
|
|
6374
|
-
options: {
|
|
6375
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayloadSchema;
|
|
6376
|
-
};
|
|
6377
|
-
};
|
|
6378
|
-
};
|
|
6379
|
-
}
|
|
6380
|
-
interface ListOrganizationsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrganizationsEmitTargetAndPayloadSchema> {
|
|
6381
|
-
}
|
|
6382
|
-
}
|
|
6383
5361
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6384
5362
|
interface ListOrgsResponsePayload {
|
|
6385
5363
|
'organizations': SpruceSchemas.Spruce.v2020_07_22.Organization[];
|
|
@@ -8573,6 +7551,33 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8573
7551
|
interface RegisterEventsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterEventsResponsePayloadSchema> {
|
|
8574
7552
|
}
|
|
8575
7553
|
}
|
|
7554
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7555
|
+
interface RegisteredListener {
|
|
7556
|
+
'eventName': string;
|
|
7557
|
+
'isGlobal'?: boolean | undefined | null;
|
|
7558
|
+
}
|
|
7559
|
+
interface RegisteredListenerSchema extends SpruceSchema.Schema {
|
|
7560
|
+
id: 'registeredListener';
|
|
7561
|
+
version: 'v2020_12_25';
|
|
7562
|
+
namespace: 'Mercury';
|
|
7563
|
+
name: 'Registered listener';
|
|
7564
|
+
fields: {
|
|
7565
|
+
/** . */
|
|
7566
|
+
'eventName': {
|
|
7567
|
+
type: 'text';
|
|
7568
|
+
isRequired: true;
|
|
7569
|
+
options: undefined;
|
|
7570
|
+
};
|
|
7571
|
+
/** . */
|
|
7572
|
+
'isGlobal': {
|
|
7573
|
+
type: 'boolean';
|
|
7574
|
+
options: undefined;
|
|
7575
|
+
};
|
|
7576
|
+
};
|
|
7577
|
+
}
|
|
7578
|
+
interface RegisteredListenerEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisteredListenerSchema> {
|
|
7579
|
+
}
|
|
7580
|
+
}
|
|
8576
7581
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8577
7582
|
interface RegisterListenersEmitPayload {
|
|
8578
7583
|
'events': SpruceSchemas.Mercury.v2020_12_25.RegisteredListener[];
|
|
@@ -8637,33 +7642,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8637
7642
|
interface RegisterListenersEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterListenersEmitTargetAndPayloadSchema> {
|
|
8638
7643
|
}
|
|
8639
7644
|
}
|
|
8640
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8641
|
-
interface RegisteredListener {
|
|
8642
|
-
'eventName': string;
|
|
8643
|
-
'isGlobal'?: boolean | undefined | null;
|
|
8644
|
-
}
|
|
8645
|
-
interface RegisteredListenerSchema extends SpruceSchema.Schema {
|
|
8646
|
-
id: 'registeredListener';
|
|
8647
|
-
version: 'v2020_12_25';
|
|
8648
|
-
namespace: 'Mercury';
|
|
8649
|
-
name: 'Registered listener';
|
|
8650
|
-
fields: {
|
|
8651
|
-
/** . */
|
|
8652
|
-
'eventName': {
|
|
8653
|
-
type: 'text';
|
|
8654
|
-
isRequired: true;
|
|
8655
|
-
options: undefined;
|
|
8656
|
-
};
|
|
8657
|
-
/** . */
|
|
8658
|
-
'isGlobal': {
|
|
8659
|
-
type: 'boolean';
|
|
8660
|
-
options: undefined;
|
|
8661
|
-
};
|
|
8662
|
-
};
|
|
8663
|
-
}
|
|
8664
|
-
interface RegisteredListenerEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisteredListenerSchema> {
|
|
8665
|
-
}
|
|
8666
|
-
}
|
|
8667
7645
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8668
7646
|
interface RegisterProxyTokenEmitTargetAndPayload {
|
|
8669
7647
|
/** Source. */
|
|
@@ -9528,6 +8506,47 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9528
8506
|
interface SendMessageTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema> {
|
|
9529
8507
|
}
|
|
9530
8508
|
}
|
|
8509
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8510
|
+
interface SendMessageEmitTargetAndPayload {
|
|
8511
|
+
/** Source. */
|
|
8512
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8513
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.SendMessageTarget | undefined | null;
|
|
8514
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayload;
|
|
8515
|
+
}
|
|
8516
|
+
interface SendMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8517
|
+
id: 'sendMessageEmitTargetAndPayload';
|
|
8518
|
+
version: 'v2020_12_25';
|
|
8519
|
+
namespace: 'Mercury';
|
|
8520
|
+
name: '';
|
|
8521
|
+
fields: {
|
|
8522
|
+
/** Source. */
|
|
8523
|
+
'source': {
|
|
8524
|
+
label: 'Source';
|
|
8525
|
+
type: 'schema';
|
|
8526
|
+
options: {
|
|
8527
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
8528
|
+
};
|
|
8529
|
+
};
|
|
8530
|
+
/** . */
|
|
8531
|
+
'target': {
|
|
8532
|
+
type: 'schema';
|
|
8533
|
+
options: {
|
|
8534
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema;
|
|
8535
|
+
};
|
|
8536
|
+
};
|
|
8537
|
+
/** . */
|
|
8538
|
+
'payload': {
|
|
8539
|
+
type: 'schema';
|
|
8540
|
+
isRequired: true;
|
|
8541
|
+
options: {
|
|
8542
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema;
|
|
8543
|
+
};
|
|
8544
|
+
};
|
|
8545
|
+
};
|
|
8546
|
+
}
|
|
8547
|
+
interface SendMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitTargetAndPayloadSchema> {
|
|
8548
|
+
}
|
|
8549
|
+
}
|
|
9531
8550
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9532
8551
|
interface SendMessageMessagePayload {
|
|
9533
8552
|
/** . An arbitrary id that can be used to track this message when being sent and not yet assigned an Id. */
|
|
@@ -9635,47 +8654,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9635
8654
|
interface SendMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema> {
|
|
9636
8655
|
}
|
|
9637
8656
|
}
|
|
9638
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9639
|
-
interface SendMessageEmitTargetAndPayload {
|
|
9640
|
-
/** Source. */
|
|
9641
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
9642
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.SendMessageTarget | undefined | null;
|
|
9643
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayload;
|
|
9644
|
-
}
|
|
9645
|
-
interface SendMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
9646
|
-
id: 'sendMessageEmitTargetAndPayload';
|
|
9647
|
-
version: 'v2020_12_25';
|
|
9648
|
-
namespace: 'Mercury';
|
|
9649
|
-
name: '';
|
|
9650
|
-
fields: {
|
|
9651
|
-
/** Source. */
|
|
9652
|
-
'source': {
|
|
9653
|
-
label: 'Source';
|
|
9654
|
-
type: 'schema';
|
|
9655
|
-
options: {
|
|
9656
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
9657
|
-
};
|
|
9658
|
-
};
|
|
9659
|
-
/** . */
|
|
9660
|
-
'target': {
|
|
9661
|
-
type: 'schema';
|
|
9662
|
-
options: {
|
|
9663
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema;
|
|
9664
|
-
};
|
|
9665
|
-
};
|
|
9666
|
-
/** . */
|
|
9667
|
-
'payload': {
|
|
9668
|
-
type: 'schema';
|
|
9669
|
-
isRequired: true;
|
|
9670
|
-
options: {
|
|
9671
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema;
|
|
9672
|
-
};
|
|
9673
|
-
};
|
|
9674
|
-
};
|
|
9675
|
-
}
|
|
9676
|
-
interface SendMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitTargetAndPayloadSchema> {
|
|
9677
|
-
}
|
|
9678
|
-
}
|
|
9679
8657
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9680
8658
|
interface SendMessageResponsePayload {
|
|
9681
8659
|
'message': SpruceSchemas.Spruce.v2020_07_22.Message;
|
|
@@ -9915,60 +8893,60 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9915
8893
|
}
|
|
9916
8894
|
}
|
|
9917
8895
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9918
|
-
interface
|
|
9919
|
-
|
|
8896
|
+
interface SyncEventContractsEmitTargetAndPayload {
|
|
8897
|
+
/** Source. */
|
|
8898
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8899
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitPayload;
|
|
9920
8900
|
}
|
|
9921
|
-
interface
|
|
9922
|
-
id: '
|
|
8901
|
+
interface SyncEventContractsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8902
|
+
id: 'syncEventContractsEmitTargetAndPayload';
|
|
9923
8903
|
version: 'v2020_12_25';
|
|
9924
8904
|
namespace: 'Mercury';
|
|
9925
8905
|
name: '';
|
|
9926
|
-
importsWhenRemote: ['import \'@sprucelabs/mercury-types\''];
|
|
9927
8906
|
fields: {
|
|
8907
|
+
/** Source. */
|
|
8908
|
+
'source': {
|
|
8909
|
+
label: 'Source';
|
|
8910
|
+
type: 'schema';
|
|
8911
|
+
options: {
|
|
8912
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
8913
|
+
};
|
|
8914
|
+
};
|
|
9928
8915
|
/** . */
|
|
9929
|
-
'
|
|
8916
|
+
'payload': {
|
|
9930
8917
|
type: 'schema';
|
|
9931
8918
|
isRequired: true;
|
|
9932
8919
|
options: {
|
|
9933
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
8920
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitPayloadSchema;
|
|
9934
8921
|
};
|
|
9935
8922
|
};
|
|
9936
8923
|
};
|
|
9937
8924
|
}
|
|
9938
|
-
interface
|
|
8925
|
+
interface SyncEventContractsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitTargetAndPayloadSchema> {
|
|
9939
8926
|
}
|
|
9940
8927
|
}
|
|
9941
8928
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9942
|
-
interface
|
|
9943
|
-
|
|
9944
|
-
|
|
9945
|
-
|
|
9946
|
-
|
|
9947
|
-
interface SyncEventContractsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
9948
|
-
id: 'syncEventContractsEmitTargetAndPayload';
|
|
8929
|
+
interface SyncEventContractsEmitPayload {
|
|
8930
|
+
'contract': SpruceSchemas.Mercury.v2020_12_25.EventContract;
|
|
8931
|
+
}
|
|
8932
|
+
interface SyncEventContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
8933
|
+
id: 'syncEventContractsEmitPayload';
|
|
9949
8934
|
version: 'v2020_12_25';
|
|
9950
8935
|
namespace: 'Mercury';
|
|
9951
8936
|
name: '';
|
|
8937
|
+
importsWhenRemote: ['import \'@sprucelabs/mercury-types\''];
|
|
9952
8938
|
fields: {
|
|
9953
|
-
/** Source. */
|
|
9954
|
-
'source': {
|
|
9955
|
-
label: 'Source';
|
|
9956
|
-
type: 'schema';
|
|
9957
|
-
options: {
|
|
9958
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
9959
|
-
};
|
|
9960
|
-
};
|
|
9961
8939
|
/** . */
|
|
9962
|
-
'
|
|
8940
|
+
'contract': {
|
|
9963
8941
|
type: 'schema';
|
|
9964
8942
|
isRequired: true;
|
|
9965
8943
|
options: {
|
|
9966
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
8944
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.EventContractSchema;
|
|
9967
8945
|
};
|
|
9968
8946
|
};
|
|
9969
8947
|
};
|
|
9970
8948
|
}
|
|
9971
|
-
interface
|
|
8949
|
+
interface SyncEventContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitPayloadSchema> {
|
|
9972
8950
|
}
|
|
9973
8951
|
}
|
|
9974
8952
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
@@ -10023,31 +9001,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
10023
9001
|
interface SyncPermissionContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsEmitPayloadSchema> {
|
|
10024
9002
|
}
|
|
10025
9003
|
}
|
|
10026
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
10027
|
-
interface SyncPermissionContractsResponsePayload {
|
|
10028
|
-
'contractRecords': SpruceSchemas.Mercury.v2020_12_25.FullPermissionContract[];
|
|
10029
|
-
}
|
|
10030
|
-
interface SyncPermissionContractsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
10031
|
-
id: 'syncPermissionContractsResponsePayload';
|
|
10032
|
-
version: 'v2020_12_25';
|
|
10033
|
-
namespace: 'Mercury';
|
|
10034
|
-
name: '';
|
|
10035
|
-
fields: {
|
|
10036
|
-
/** . */
|
|
10037
|
-
'contractRecords': {
|
|
10038
|
-
type: 'schema';
|
|
10039
|
-
isRequired: true;
|
|
10040
|
-
isArray: true;
|
|
10041
|
-
minArrayLength: 0;
|
|
10042
|
-
options: {
|
|
10043
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema;
|
|
10044
|
-
};
|
|
10045
|
-
};
|
|
10046
|
-
};
|
|
10047
|
-
}
|
|
10048
|
-
interface SyncPermissionContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsResponsePayloadSchema> {
|
|
10049
|
-
}
|
|
10050
|
-
}
|
|
10051
9004
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
10052
9005
|
interface SyncPermissionContractsEmitTargetAndPayload {
|
|
10053
9006
|
/** Source. */
|
|
@@ -10133,6 +9086,31 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
10133
9086
|
interface FullPermissionContractEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema> {
|
|
10134
9087
|
}
|
|
10135
9088
|
}
|
|
9089
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9090
|
+
interface SyncPermissionContractsResponsePayload {
|
|
9091
|
+
'contractRecords': SpruceSchemas.Mercury.v2020_12_25.FullPermissionContract[];
|
|
9092
|
+
}
|
|
9093
|
+
interface SyncPermissionContractsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
9094
|
+
id: 'syncPermissionContractsResponsePayload';
|
|
9095
|
+
version: 'v2020_12_25';
|
|
9096
|
+
namespace: 'Mercury';
|
|
9097
|
+
name: '';
|
|
9098
|
+
fields: {
|
|
9099
|
+
/** . */
|
|
9100
|
+
'contractRecords': {
|
|
9101
|
+
type: 'schema';
|
|
9102
|
+
isRequired: true;
|
|
9103
|
+
isArray: true;
|
|
9104
|
+
minArrayLength: 0;
|
|
9105
|
+
options: {
|
|
9106
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema;
|
|
9107
|
+
};
|
|
9108
|
+
};
|
|
9109
|
+
};
|
|
9110
|
+
}
|
|
9111
|
+
interface SyncPermissionContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsResponsePayloadSchema> {
|
|
9112
|
+
}
|
|
9113
|
+
}
|
|
10136
9114
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
10137
9115
|
interface UnInstallSkillEmitTarget {
|
|
10138
9116
|
'skillId': string;
|
|
@@ -11922,6 +10900,46 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
11922
10900
|
interface UpdatePersonEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetSchema> {
|
|
11923
10901
|
}
|
|
11924
10902
|
}
|
|
10903
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
10904
|
+
interface UpdatePersonEmitTargetAndPayload {
|
|
10905
|
+
/** Source. */
|
|
10906
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
10907
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTarget | undefined | null;
|
|
10908
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayload | undefined | null;
|
|
10909
|
+
}
|
|
10910
|
+
interface UpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
10911
|
+
id: 'updatePersonEmitTargetAndPayload';
|
|
10912
|
+
version: 'v2020_12_25';
|
|
10913
|
+
namespace: 'Mercury';
|
|
10914
|
+
name: '';
|
|
10915
|
+
fields: {
|
|
10916
|
+
/** Source. */
|
|
10917
|
+
'source': {
|
|
10918
|
+
label: 'Source';
|
|
10919
|
+
type: 'schema';
|
|
10920
|
+
options: {
|
|
10921
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
10922
|
+
};
|
|
10923
|
+
};
|
|
10924
|
+
/** . */
|
|
10925
|
+
'target': {
|
|
10926
|
+
type: 'schema';
|
|
10927
|
+
options: {
|
|
10928
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetSchema;
|
|
10929
|
+
};
|
|
10930
|
+
};
|
|
10931
|
+
/** . */
|
|
10932
|
+
'payload': {
|
|
10933
|
+
type: 'schema';
|
|
10934
|
+
options: {
|
|
10935
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema;
|
|
10936
|
+
};
|
|
10937
|
+
};
|
|
10938
|
+
};
|
|
10939
|
+
}
|
|
10940
|
+
interface UpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetAndPayloadSchema> {
|
|
10941
|
+
}
|
|
10942
|
+
}
|
|
11925
10943
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11926
10944
|
interface SecurityQuestion {
|
|
11927
10945
|
'question': string;
|
|
@@ -13012,184 +12030,1064 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13012
12030
|
}];
|
|
13013
12031
|
};
|
|
13014
12032
|
};
|
|
13015
|
-
/** Avatar src. */
|
|
13016
|
-
'avatar': {
|
|
13017
|
-
label: 'Avatar src';
|
|
13018
|
-
type: 'image';
|
|
12033
|
+
/** Avatar src. */
|
|
12034
|
+
'avatar': {
|
|
12035
|
+
label: 'Avatar src';
|
|
12036
|
+
type: 'image';
|
|
12037
|
+
options: {
|
|
12038
|
+
requiredSizes: ["*"];
|
|
12039
|
+
};
|
|
12040
|
+
};
|
|
12041
|
+
/** Phone. A number that can be texted */
|
|
12042
|
+
'phone': {
|
|
12043
|
+
label: 'Phone';
|
|
12044
|
+
type: 'phone';
|
|
12045
|
+
isPrivate: true;
|
|
12046
|
+
hint: 'A number that can be texted';
|
|
12047
|
+
options: undefined;
|
|
12048
|
+
};
|
|
12049
|
+
/** Username. An optional username if the person does not want to login using their phone */
|
|
12050
|
+
'username': {
|
|
12051
|
+
label: 'Username';
|
|
12052
|
+
type: 'text';
|
|
12053
|
+
isPrivate: true;
|
|
12054
|
+
hint: 'An optional username if the person does not want to login using their phone';
|
|
12055
|
+
options: undefined;
|
|
12056
|
+
};
|
|
12057
|
+
/** . */
|
|
12058
|
+
'password': {
|
|
12059
|
+
type: 'text';
|
|
12060
|
+
options: undefined;
|
|
12061
|
+
};
|
|
12062
|
+
/** . */
|
|
12063
|
+
'securityQuestions': {
|
|
12064
|
+
type: 'schema';
|
|
12065
|
+
isArray: true;
|
|
12066
|
+
options: {
|
|
12067
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SecurityQuestionSchema;
|
|
12068
|
+
};
|
|
12069
|
+
};
|
|
12070
|
+
};
|
|
12071
|
+
}
|
|
12072
|
+
interface UpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema> {
|
|
12073
|
+
}
|
|
12074
|
+
}
|
|
12075
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12076
|
+
interface UpdatePersonResponsePayload {
|
|
12077
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
12078
|
+
}
|
|
12079
|
+
interface UpdatePersonResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12080
|
+
id: 'updatePersonResponsePayload';
|
|
12081
|
+
version: 'v2020_12_25';
|
|
12082
|
+
namespace: 'Mercury';
|
|
12083
|
+
name: '';
|
|
12084
|
+
fields: {
|
|
12085
|
+
/** . */
|
|
12086
|
+
'person': {
|
|
12087
|
+
type: 'schema';
|
|
12088
|
+
isRequired: true;
|
|
12089
|
+
options: {
|
|
12090
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
12091
|
+
};
|
|
12092
|
+
};
|
|
12093
|
+
};
|
|
12094
|
+
}
|
|
12095
|
+
interface UpdatePersonResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonResponsePayloadSchema> {
|
|
12096
|
+
}
|
|
12097
|
+
}
|
|
12098
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12099
|
+
interface UpdateRoleEmitTarget {
|
|
12100
|
+
'roleId': string;
|
|
12101
|
+
}
|
|
12102
|
+
interface UpdateRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
12103
|
+
id: 'updateRoleEmitTarget';
|
|
12104
|
+
version: 'v2020_12_25';
|
|
12105
|
+
namespace: 'Mercury';
|
|
12106
|
+
name: '';
|
|
12107
|
+
fields: {
|
|
12108
|
+
/** . */
|
|
12109
|
+
'roleId': {
|
|
12110
|
+
type: 'id';
|
|
12111
|
+
isRequired: true;
|
|
12112
|
+
options: undefined;
|
|
12113
|
+
};
|
|
12114
|
+
};
|
|
12115
|
+
}
|
|
12116
|
+
interface UpdateRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema> {
|
|
12117
|
+
}
|
|
12118
|
+
}
|
|
12119
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12120
|
+
interface UpdateRoleEmitPayload {
|
|
12121
|
+
/** Name. */
|
|
12122
|
+
'name'?: string | undefined | null;
|
|
12123
|
+
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
12124
|
+
'base'?: ("owner" | "groupManager" | "manager" | "teammate" | "anonymous" | "loggedIn" | "guest") | undefined | null;
|
|
12125
|
+
/** Description. */
|
|
12126
|
+
'description'?: string | undefined | null;
|
|
12127
|
+
'dateDeleted'?: number | undefined | null;
|
|
12128
|
+
'organizationId'?: string | undefined | null;
|
|
12129
|
+
/** Public. Should I let people that are not part of this organization this role? */
|
|
12130
|
+
'isPublic'?: boolean | undefined | null;
|
|
12131
|
+
}
|
|
12132
|
+
interface UpdateRoleEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12133
|
+
id: 'updateRoleEmitPayload';
|
|
12134
|
+
version: 'v2020_12_25';
|
|
12135
|
+
namespace: 'Mercury';
|
|
12136
|
+
name: '';
|
|
12137
|
+
fields: {
|
|
12138
|
+
/** Name. */
|
|
12139
|
+
'name': {
|
|
12140
|
+
label: 'Name';
|
|
12141
|
+
type: 'text';
|
|
12142
|
+
options: undefined;
|
|
12143
|
+
};
|
|
12144
|
+
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
12145
|
+
'base': {
|
|
12146
|
+
label: 'Base';
|
|
12147
|
+
type: 'select';
|
|
12148
|
+
hint: 'A best practices starting point for a role based on the generalized roles at a company.';
|
|
12149
|
+
options: {
|
|
12150
|
+
choices: [{
|
|
12151
|
+
"label": "Owner";
|
|
12152
|
+
"value": "owner";
|
|
12153
|
+
}, {
|
|
12154
|
+
"label": "Group manager";
|
|
12155
|
+
"value": "groupManager";
|
|
12156
|
+
}, {
|
|
12157
|
+
"label": "Manager";
|
|
12158
|
+
"value": "manager";
|
|
12159
|
+
}, {
|
|
12160
|
+
"label": "Teammate";
|
|
12161
|
+
"value": "teammate";
|
|
12162
|
+
}, {
|
|
12163
|
+
"label": "Anonymous";
|
|
12164
|
+
"value": "anonymous";
|
|
12165
|
+
}, {
|
|
12166
|
+
"label": "Logged in";
|
|
12167
|
+
"value": "loggedIn";
|
|
12168
|
+
}, {
|
|
12169
|
+
"label": "Guest";
|
|
12170
|
+
"value": "guest";
|
|
12171
|
+
}];
|
|
12172
|
+
};
|
|
12173
|
+
};
|
|
12174
|
+
/** Description. */
|
|
12175
|
+
'description': {
|
|
12176
|
+
label: 'Description';
|
|
12177
|
+
type: 'text';
|
|
12178
|
+
options: undefined;
|
|
12179
|
+
};
|
|
12180
|
+
/** . */
|
|
12181
|
+
'dateDeleted': {
|
|
12182
|
+
type: 'number';
|
|
12183
|
+
options: undefined;
|
|
12184
|
+
};
|
|
12185
|
+
/** . */
|
|
12186
|
+
'organizationId': {
|
|
12187
|
+
type: 'id';
|
|
12188
|
+
options: undefined;
|
|
12189
|
+
};
|
|
12190
|
+
/** Public. Should I let people that are not part of this organization this role? */
|
|
12191
|
+
'isPublic': {
|
|
12192
|
+
label: 'Public';
|
|
12193
|
+
type: 'boolean';
|
|
12194
|
+
hint: 'Should I let people that are not part of this organization this role?';
|
|
12195
|
+
options: undefined;
|
|
12196
|
+
};
|
|
12197
|
+
};
|
|
12198
|
+
}
|
|
12199
|
+
interface UpdateRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema> {
|
|
12200
|
+
}
|
|
12201
|
+
}
|
|
12202
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12203
|
+
interface UpdateRoleEmitTargetAndPayload {
|
|
12204
|
+
/** Source. */
|
|
12205
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12206
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTarget;
|
|
12207
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayload | undefined | null;
|
|
12208
|
+
}
|
|
12209
|
+
interface UpdateRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12210
|
+
id: 'updateRoleEmitTargetAndPayload';
|
|
12211
|
+
version: 'v2020_12_25';
|
|
12212
|
+
namespace: 'Mercury';
|
|
12213
|
+
name: '';
|
|
12214
|
+
fields: {
|
|
12215
|
+
/** Source. */
|
|
12216
|
+
'source': {
|
|
12217
|
+
label: 'Source';
|
|
12218
|
+
type: 'schema';
|
|
12219
|
+
options: {
|
|
12220
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12221
|
+
};
|
|
12222
|
+
};
|
|
12223
|
+
/** . */
|
|
12224
|
+
'target': {
|
|
12225
|
+
type: 'schema';
|
|
12226
|
+
isRequired: true;
|
|
12227
|
+
options: {
|
|
12228
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema;
|
|
12229
|
+
};
|
|
12230
|
+
};
|
|
12231
|
+
/** . */
|
|
12232
|
+
'payload': {
|
|
12233
|
+
type: 'schema';
|
|
12234
|
+
options: {
|
|
12235
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema;
|
|
12236
|
+
};
|
|
12237
|
+
};
|
|
12238
|
+
};
|
|
12239
|
+
}
|
|
12240
|
+
interface UpdateRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetAndPayloadSchema> {
|
|
12241
|
+
}
|
|
12242
|
+
}
|
|
12243
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12244
|
+
interface UpdateRoleResponsePayload {
|
|
12245
|
+
'role': SpruceSchemas.Spruce.v2020_07_22.Role;
|
|
12246
|
+
}
|
|
12247
|
+
interface UpdateRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12248
|
+
id: 'updateRoleResponsePayload';
|
|
12249
|
+
version: 'v2020_12_25';
|
|
12250
|
+
namespace: 'Mercury';
|
|
12251
|
+
name: '';
|
|
12252
|
+
fields: {
|
|
12253
|
+
/** . */
|
|
12254
|
+
'role': {
|
|
12255
|
+
type: 'schema';
|
|
12256
|
+
isRequired: true;
|
|
12257
|
+
options: {
|
|
12258
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.RoleSchema;
|
|
12259
|
+
};
|
|
12260
|
+
};
|
|
12261
|
+
};
|
|
12262
|
+
}
|
|
12263
|
+
interface UpdateRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleResponsePayloadSchema> {
|
|
12264
|
+
}
|
|
12265
|
+
}
|
|
12266
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12267
|
+
interface UpsertPermissionContractEmitTarget {
|
|
12268
|
+
'organizationId': string;
|
|
12269
|
+
'permissionContractId': string;
|
|
12270
|
+
'roleId': string;
|
|
12271
|
+
'skillId'?: string | undefined | null;
|
|
12272
|
+
}
|
|
12273
|
+
interface UpsertPermissionContractEmitTargetSchema extends SpruceSchema.Schema {
|
|
12274
|
+
id: 'upsertPermissionContractEmitTarget';
|
|
12275
|
+
version: 'v2020_12_25';
|
|
12276
|
+
namespace: 'Mercury';
|
|
12277
|
+
name: '';
|
|
12278
|
+
fields: {
|
|
12279
|
+
/** . */
|
|
12280
|
+
'organizationId': {
|
|
12281
|
+
type: 'id';
|
|
12282
|
+
isRequired: true;
|
|
12283
|
+
options: undefined;
|
|
12284
|
+
};
|
|
12285
|
+
/** . */
|
|
12286
|
+
'permissionContractId': {
|
|
12287
|
+
type: 'id';
|
|
12288
|
+
isRequired: true;
|
|
12289
|
+
options: undefined;
|
|
12290
|
+
};
|
|
12291
|
+
/** . */
|
|
12292
|
+
'roleId': {
|
|
12293
|
+
type: 'id';
|
|
12294
|
+
isRequired: true;
|
|
12295
|
+
options: undefined;
|
|
12296
|
+
};
|
|
12297
|
+
/** . */
|
|
12298
|
+
'skillId': {
|
|
12299
|
+
type: 'id';
|
|
12300
|
+
options: undefined;
|
|
12301
|
+
};
|
|
12302
|
+
};
|
|
12303
|
+
}
|
|
12304
|
+
interface UpsertPermissionContractEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema> {
|
|
12305
|
+
}
|
|
12306
|
+
}
|
|
12307
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12308
|
+
interface UpsertPermissionContractEmitTargetAndPayload {
|
|
12309
|
+
/** Source. */
|
|
12310
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12311
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTarget;
|
|
12312
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayload;
|
|
12313
|
+
}
|
|
12314
|
+
interface UpsertPermissionContractEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12315
|
+
id: 'upsertPermissionContractEmitTargetAndPayload';
|
|
12316
|
+
version: 'v2020_12_25';
|
|
12317
|
+
namespace: 'Mercury';
|
|
12318
|
+
name: '';
|
|
12319
|
+
fields: {
|
|
12320
|
+
/** Source. */
|
|
12321
|
+
'source': {
|
|
12322
|
+
label: 'Source';
|
|
12323
|
+
type: 'schema';
|
|
12324
|
+
options: {
|
|
12325
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12326
|
+
};
|
|
12327
|
+
};
|
|
12328
|
+
/** . */
|
|
12329
|
+
'target': {
|
|
12330
|
+
type: 'schema';
|
|
12331
|
+
isRequired: true;
|
|
12332
|
+
options: {
|
|
12333
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema;
|
|
12334
|
+
};
|
|
12335
|
+
};
|
|
12336
|
+
/** . */
|
|
12337
|
+
'payload': {
|
|
12338
|
+
type: 'schema';
|
|
12339
|
+
isRequired: true;
|
|
12340
|
+
options: {
|
|
12341
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema;
|
|
12342
|
+
};
|
|
12343
|
+
};
|
|
12344
|
+
};
|
|
12345
|
+
}
|
|
12346
|
+
interface UpsertPermissionContractEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetAndPayloadSchema> {
|
|
12347
|
+
}
|
|
12348
|
+
}
|
|
12349
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12350
|
+
interface UpsertPermissionContractsEmitPayload {
|
|
12351
|
+
/** Name. Human readable name for this contract */
|
|
12352
|
+
'name': string;
|
|
12353
|
+
/** Description. */
|
|
12354
|
+
'description'?: string | undefined | null;
|
|
12355
|
+
/** Require all permissions. */
|
|
12356
|
+
'requireAllPermissions'?: boolean | undefined | null;
|
|
12357
|
+
'permissions': SpruceSchemas.Mercury.v2020_12_25.Permission[];
|
|
12358
|
+
}
|
|
12359
|
+
interface UpsertPermissionContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12360
|
+
id: 'upsertPermissionContractsEmitPayload';
|
|
12361
|
+
version: 'v2020_12_25';
|
|
12362
|
+
namespace: 'Mercury';
|
|
12363
|
+
name: '';
|
|
12364
|
+
fields: {
|
|
12365
|
+
/** Name. Human readable name for this contract */
|
|
12366
|
+
'name': {
|
|
12367
|
+
label: 'Name';
|
|
12368
|
+
type: 'text';
|
|
12369
|
+
isRequired: true;
|
|
12370
|
+
hint: 'Human readable name for this contract';
|
|
12371
|
+
options: undefined;
|
|
12372
|
+
};
|
|
12373
|
+
/** Description. */
|
|
12374
|
+
'description': {
|
|
12375
|
+
label: 'Description';
|
|
12376
|
+
type: 'text';
|
|
12377
|
+
options: undefined;
|
|
12378
|
+
};
|
|
12379
|
+
/** Require all permissions. */
|
|
12380
|
+
'requireAllPermissions': {
|
|
12381
|
+
label: 'Require all permissions';
|
|
12382
|
+
type: 'boolean';
|
|
12383
|
+
defaultValue: false;
|
|
12384
|
+
options: undefined;
|
|
12385
|
+
};
|
|
12386
|
+
/** . */
|
|
12387
|
+
'permissions': {
|
|
12388
|
+
type: 'schema';
|
|
12389
|
+
isRequired: true;
|
|
12390
|
+
isArray: true;
|
|
12391
|
+
minArrayLength: 0;
|
|
12392
|
+
options: {
|
|
12393
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionSchema;
|
|
12394
|
+
};
|
|
12395
|
+
};
|
|
12396
|
+
};
|
|
12397
|
+
}
|
|
12398
|
+
interface UpsertPermissionContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema> {
|
|
12399
|
+
}
|
|
12400
|
+
}
|
|
12401
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12402
|
+
interface UpsertPermissionContractResponsePayload {
|
|
12403
|
+
'permissionContract': SpruceSchemas.Mercury.v2020_12_25.PermissionContract;
|
|
12404
|
+
}
|
|
12405
|
+
interface UpsertPermissionContractResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12406
|
+
id: 'upsertPermissionContractResponsePayload';
|
|
12407
|
+
version: 'v2020_12_25';
|
|
12408
|
+
namespace: 'Mercury';
|
|
12409
|
+
name: '';
|
|
12410
|
+
fields: {
|
|
12411
|
+
/** . */
|
|
12412
|
+
'permissionContract': {
|
|
12413
|
+
type: 'schema';
|
|
12414
|
+
isRequired: true;
|
|
12415
|
+
options: {
|
|
12416
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionContractSchema;
|
|
12417
|
+
};
|
|
12418
|
+
};
|
|
12419
|
+
};
|
|
12420
|
+
}
|
|
12421
|
+
interface UpsertPermissionContractResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractResponsePayloadSchema> {
|
|
12422
|
+
}
|
|
12423
|
+
}
|
|
12424
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12425
|
+
interface VoteForFeatureEmitPayload {
|
|
12426
|
+
'featureKey': string;
|
|
12427
|
+
'skillNamespace': string;
|
|
12428
|
+
}
|
|
12429
|
+
interface VoteForFeatureEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12430
|
+
id: 'voteForFeatureEmitPayload';
|
|
12431
|
+
version: 'v2020_12_25';
|
|
12432
|
+
namespace: 'Mercury';
|
|
12433
|
+
name: '';
|
|
12434
|
+
fields: {
|
|
12435
|
+
/** . */
|
|
12436
|
+
'featureKey': {
|
|
12437
|
+
type: 'id';
|
|
12438
|
+
isRequired: true;
|
|
12439
|
+
options: undefined;
|
|
12440
|
+
};
|
|
12441
|
+
/** . */
|
|
12442
|
+
'skillNamespace': {
|
|
12443
|
+
type: 'id';
|
|
12444
|
+
isRequired: true;
|
|
12445
|
+
options: undefined;
|
|
12446
|
+
};
|
|
12447
|
+
};
|
|
12448
|
+
}
|
|
12449
|
+
interface VoteForFeatureEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema> {
|
|
12450
|
+
}
|
|
12451
|
+
}
|
|
12452
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12453
|
+
interface VoteForFeatureEmitTargetAndPayload {
|
|
12454
|
+
/** Source. */
|
|
12455
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12456
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayload;
|
|
12457
|
+
}
|
|
12458
|
+
interface VoteForFeatureEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12459
|
+
id: 'voteForFeatureEmitTargetAndPayload';
|
|
12460
|
+
version: 'v2020_12_25';
|
|
12461
|
+
namespace: 'Mercury';
|
|
12462
|
+
name: '';
|
|
12463
|
+
fields: {
|
|
12464
|
+
/** Source. */
|
|
12465
|
+
'source': {
|
|
12466
|
+
label: 'Source';
|
|
12467
|
+
type: 'schema';
|
|
12468
|
+
options: {
|
|
12469
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12470
|
+
};
|
|
12471
|
+
};
|
|
12472
|
+
/** . */
|
|
12473
|
+
'payload': {
|
|
12474
|
+
type: 'schema';
|
|
12475
|
+
isRequired: true;
|
|
12476
|
+
options: {
|
|
12477
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema;
|
|
12478
|
+
};
|
|
12479
|
+
};
|
|
12480
|
+
};
|
|
12481
|
+
}
|
|
12482
|
+
interface VoteForFeatureEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitTargetAndPayloadSchema> {
|
|
12483
|
+
}
|
|
12484
|
+
}
|
|
12485
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12486
|
+
interface VoteForFeatureResponsePayload {
|
|
12487
|
+
'totalVotes': number;
|
|
12488
|
+
}
|
|
12489
|
+
interface VoteForFeatureResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12490
|
+
id: 'voteForFeatureResponsePayload';
|
|
12491
|
+
version: 'v2020_12_25';
|
|
12492
|
+
namespace: 'Mercury';
|
|
12493
|
+
name: '';
|
|
12494
|
+
fields: {
|
|
12495
|
+
/** . */
|
|
12496
|
+
'totalVotes': {
|
|
12497
|
+
type: 'number';
|
|
12498
|
+
isRequired: true;
|
|
12499
|
+
options: undefined;
|
|
12500
|
+
};
|
|
12501
|
+
};
|
|
12502
|
+
}
|
|
12503
|
+
interface VoteForFeatureResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureResponsePayloadSchema> {
|
|
12504
|
+
}
|
|
12505
|
+
}
|
|
12506
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12507
|
+
interface WhoamiEmitTargetAndPayload {
|
|
12508
|
+
/** Source. */
|
|
12509
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12510
|
+
}
|
|
12511
|
+
interface WhoamiEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12512
|
+
id: 'whoamiEmitTargetAndPayload';
|
|
12513
|
+
version: 'v2020_12_25';
|
|
12514
|
+
namespace: 'Mercury';
|
|
12515
|
+
name: '';
|
|
12516
|
+
fields: {
|
|
12517
|
+
/** Source. */
|
|
12518
|
+
'source': {
|
|
12519
|
+
label: 'Source';
|
|
12520
|
+
type: 'schema';
|
|
12521
|
+
options: {
|
|
12522
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12523
|
+
};
|
|
12524
|
+
};
|
|
12525
|
+
};
|
|
12526
|
+
}
|
|
12527
|
+
interface WhoamiEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.WhoamiEmitTargetAndPayloadSchema> {
|
|
12528
|
+
}
|
|
12529
|
+
}
|
|
12530
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12531
|
+
interface DidInstallEmitTarget {
|
|
12532
|
+
'organizationId': string;
|
|
12533
|
+
'skillId': string;
|
|
12534
|
+
}
|
|
12535
|
+
interface DidInstallEmitTargetSchema extends SpruceSchema.Schema {
|
|
12536
|
+
id: 'didInstallEmitTarget';
|
|
12537
|
+
version: 'v2020_12_25';
|
|
12538
|
+
namespace: 'Mercury';
|
|
12539
|
+
name: '';
|
|
12540
|
+
fields: {
|
|
12541
|
+
/** . */
|
|
12542
|
+
'organizationId': {
|
|
12543
|
+
type: 'id';
|
|
12544
|
+
isRequired: true;
|
|
12545
|
+
options: undefined;
|
|
12546
|
+
};
|
|
12547
|
+
/** . */
|
|
12548
|
+
'skillId': {
|
|
12549
|
+
type: 'id';
|
|
12550
|
+
isRequired: true;
|
|
12551
|
+
options: undefined;
|
|
12552
|
+
};
|
|
12553
|
+
};
|
|
12554
|
+
}
|
|
12555
|
+
interface DidInstallEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema> {
|
|
12556
|
+
}
|
|
12557
|
+
}
|
|
12558
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12559
|
+
interface DidInstallEmitTargetAndPayload {
|
|
12560
|
+
/** Source. */
|
|
12561
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12562
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTarget;
|
|
12563
|
+
}
|
|
12564
|
+
interface DidInstallEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12565
|
+
id: 'didInstallEmitTargetAndPayload';
|
|
12566
|
+
version: 'v2020_12_25';
|
|
12567
|
+
namespace: 'Mercury';
|
|
12568
|
+
name: '';
|
|
12569
|
+
fields: {
|
|
12570
|
+
/** Source. */
|
|
12571
|
+
'source': {
|
|
12572
|
+
label: 'Source';
|
|
12573
|
+
type: 'schema';
|
|
12574
|
+
options: {
|
|
12575
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12576
|
+
};
|
|
12577
|
+
};
|
|
12578
|
+
/** . */
|
|
12579
|
+
'target': {
|
|
12580
|
+
type: 'schema';
|
|
12581
|
+
isRequired: true;
|
|
12582
|
+
options: {
|
|
12583
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema;
|
|
12584
|
+
};
|
|
12585
|
+
};
|
|
12586
|
+
};
|
|
12587
|
+
}
|
|
12588
|
+
interface DidInstallEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetAndPayloadSchema> {
|
|
12589
|
+
}
|
|
12590
|
+
}
|
|
12591
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12592
|
+
interface DidInstallResponsePayload {
|
|
12593
|
+
}
|
|
12594
|
+
interface DidInstallResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12595
|
+
id: 'didInstallResponsePayload';
|
|
12596
|
+
version: 'v2020_12_25';
|
|
12597
|
+
namespace: 'Mercury';
|
|
12598
|
+
name: '';
|
|
12599
|
+
fields: {};
|
|
12600
|
+
}
|
|
12601
|
+
interface DidInstallResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallResponsePayloadSchema> {
|
|
12602
|
+
}
|
|
12603
|
+
}
|
|
12604
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12605
|
+
interface DidJoinOrganizationEmitTarget {
|
|
12606
|
+
'organizationId': string;
|
|
12607
|
+
'locationId'?: string | undefined | null;
|
|
12608
|
+
}
|
|
12609
|
+
interface DidJoinOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
12610
|
+
id: 'didJoinOrganizationEmitTarget';
|
|
12611
|
+
version: 'v2020_12_25';
|
|
12612
|
+
namespace: 'Mercury';
|
|
12613
|
+
name: '';
|
|
12614
|
+
fields: {
|
|
12615
|
+
/** . */
|
|
12616
|
+
'organizationId': {
|
|
12617
|
+
type: 'id';
|
|
12618
|
+
isRequired: true;
|
|
12619
|
+
options: undefined;
|
|
12620
|
+
};
|
|
12621
|
+
/** . */
|
|
12622
|
+
'locationId': {
|
|
12623
|
+
type: 'id';
|
|
12624
|
+
options: undefined;
|
|
12625
|
+
};
|
|
12626
|
+
};
|
|
12627
|
+
}
|
|
12628
|
+
interface DidJoinOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema> {
|
|
12629
|
+
}
|
|
12630
|
+
}
|
|
12631
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12632
|
+
interface DidJoinOrganizationEmitPayload {
|
|
12633
|
+
'personId': string;
|
|
12634
|
+
'roleId': string;
|
|
12635
|
+
'isFirstRole': boolean;
|
|
12636
|
+
}
|
|
12637
|
+
interface DidJoinOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12638
|
+
id: 'didJoinOrganizationEmitPayload';
|
|
12639
|
+
version: 'v2020_12_25';
|
|
12640
|
+
namespace: 'Mercury';
|
|
12641
|
+
name: '';
|
|
12642
|
+
fields: {
|
|
12643
|
+
/** . */
|
|
12644
|
+
'personId': {
|
|
12645
|
+
type: 'id';
|
|
12646
|
+
isRequired: true;
|
|
12647
|
+
options: undefined;
|
|
12648
|
+
};
|
|
12649
|
+
/** . */
|
|
12650
|
+
'roleId': {
|
|
12651
|
+
type: 'id';
|
|
12652
|
+
isRequired: true;
|
|
12653
|
+
options: undefined;
|
|
12654
|
+
};
|
|
12655
|
+
/** . */
|
|
12656
|
+
'isFirstRole': {
|
|
12657
|
+
type: 'boolean';
|
|
12658
|
+
isRequired: true;
|
|
12659
|
+
options: undefined;
|
|
12660
|
+
};
|
|
12661
|
+
};
|
|
12662
|
+
}
|
|
12663
|
+
interface DidJoinOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema> {
|
|
12664
|
+
}
|
|
12665
|
+
}
|
|
12666
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12667
|
+
interface DidJoinOrganizationEmitTargetAndPayload {
|
|
12668
|
+
/** Source. */
|
|
12669
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12670
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTarget;
|
|
12671
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayload;
|
|
12672
|
+
}
|
|
12673
|
+
interface DidJoinOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12674
|
+
id: 'didJoinOrganizationEmitTargetAndPayload';
|
|
12675
|
+
version: 'v2020_12_25';
|
|
12676
|
+
namespace: 'Mercury';
|
|
12677
|
+
name: '';
|
|
12678
|
+
fields: {
|
|
12679
|
+
/** Source. */
|
|
12680
|
+
'source': {
|
|
12681
|
+
label: 'Source';
|
|
12682
|
+
type: 'schema';
|
|
12683
|
+
options: {
|
|
12684
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12685
|
+
};
|
|
12686
|
+
};
|
|
12687
|
+
/** . */
|
|
12688
|
+
'target': {
|
|
12689
|
+
type: 'schema';
|
|
12690
|
+
isRequired: true;
|
|
12691
|
+
options: {
|
|
12692
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema;
|
|
12693
|
+
};
|
|
12694
|
+
};
|
|
12695
|
+
/** . */
|
|
12696
|
+
'payload': {
|
|
12697
|
+
type: 'schema';
|
|
12698
|
+
isRequired: true;
|
|
13019
12699
|
options: {
|
|
13020
|
-
|
|
12700
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema;
|
|
13021
12701
|
};
|
|
13022
12702
|
};
|
|
13023
|
-
|
|
13024
|
-
|
|
13025
|
-
|
|
13026
|
-
|
|
13027
|
-
|
|
13028
|
-
|
|
13029
|
-
|
|
13030
|
-
|
|
13031
|
-
|
|
13032
|
-
|
|
13033
|
-
|
|
12703
|
+
};
|
|
12704
|
+
}
|
|
12705
|
+
interface DidJoinOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetAndPayloadSchema> {
|
|
12706
|
+
}
|
|
12707
|
+
}
|
|
12708
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12709
|
+
interface MessageTemplateAddons {
|
|
12710
|
+
'nextINeedYouTo'?: string[] | undefined | null;
|
|
12711
|
+
'youShouldKnowThat'?: string[] | undefined | null;
|
|
12712
|
+
'links'?: SpruceSchemas.Spruce.v2020_07_22.Link[] | undefined | null;
|
|
12713
|
+
}
|
|
12714
|
+
interface MessageTemplateAddonsSchema extends SpruceSchema.Schema {
|
|
12715
|
+
id: 'messageTemplateAddons';
|
|
12716
|
+
version: 'v2020_12_25';
|
|
12717
|
+
namespace: 'Mercury';
|
|
12718
|
+
name: '';
|
|
12719
|
+
fields: {
|
|
12720
|
+
/** . */
|
|
12721
|
+
'nextINeedYouTo': {
|
|
13034
12722
|
type: 'text';
|
|
13035
|
-
|
|
13036
|
-
hint: 'An optional username if the person does not want to login using their phone';
|
|
12723
|
+
isArray: true;
|
|
13037
12724
|
options: undefined;
|
|
13038
12725
|
};
|
|
13039
12726
|
/** . */
|
|
13040
|
-
'
|
|
12727
|
+
'youShouldKnowThat': {
|
|
13041
12728
|
type: 'text';
|
|
12729
|
+
isArray: true;
|
|
13042
12730
|
options: undefined;
|
|
13043
12731
|
};
|
|
13044
12732
|
/** . */
|
|
13045
|
-
'
|
|
12733
|
+
'links': {
|
|
13046
12734
|
type: 'schema';
|
|
13047
12735
|
isArray: true;
|
|
12736
|
+
minArrayLength: 0;
|
|
13048
12737
|
options: {
|
|
13049
|
-
schema: SpruceSchemas.
|
|
12738
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.LinkSchema;
|
|
13050
12739
|
};
|
|
13051
12740
|
};
|
|
13052
12741
|
};
|
|
13053
12742
|
}
|
|
13054
|
-
interface
|
|
12743
|
+
interface MessageTemplateAddonsEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema> {
|
|
13055
12744
|
}
|
|
13056
12745
|
}
|
|
13057
12746
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13058
|
-
interface
|
|
13059
|
-
'
|
|
12747
|
+
interface DidJoinOrganizationResponsePayload {
|
|
12748
|
+
'messaging'?: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddons | undefined | null;
|
|
13060
12749
|
}
|
|
13061
|
-
interface
|
|
13062
|
-
id: '
|
|
12750
|
+
interface DidJoinOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12751
|
+
id: 'didJoinOrganizationResponsePayload';
|
|
13063
12752
|
version: 'v2020_12_25';
|
|
13064
12753
|
namespace: 'Mercury';
|
|
13065
12754
|
name: '';
|
|
13066
12755
|
fields: {
|
|
13067
12756
|
/** . */
|
|
13068
|
-
'
|
|
12757
|
+
'messaging': {
|
|
12758
|
+
type: 'schema';
|
|
12759
|
+
options: {
|
|
12760
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema;
|
|
12761
|
+
};
|
|
12762
|
+
};
|
|
12763
|
+
};
|
|
12764
|
+
}
|
|
12765
|
+
interface DidJoinOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationResponsePayloadSchema> {
|
|
12766
|
+
}
|
|
12767
|
+
}
|
|
12768
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12769
|
+
interface DidLeaveOrganizationEmitTarget {
|
|
12770
|
+
'organizationId': string;
|
|
12771
|
+
'locationId'?: string | undefined | null;
|
|
12772
|
+
}
|
|
12773
|
+
interface DidLeaveOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
12774
|
+
id: 'didLeaveOrganizationEmitTarget';
|
|
12775
|
+
version: 'v2020_12_25';
|
|
12776
|
+
namespace: 'Mercury';
|
|
12777
|
+
name: '';
|
|
12778
|
+
fields: {
|
|
12779
|
+
/** . */
|
|
12780
|
+
'organizationId': {
|
|
12781
|
+
type: 'id';
|
|
12782
|
+
isRequired: true;
|
|
12783
|
+
options: undefined;
|
|
12784
|
+
};
|
|
12785
|
+
/** . */
|
|
12786
|
+
'locationId': {
|
|
12787
|
+
type: 'id';
|
|
12788
|
+
options: undefined;
|
|
12789
|
+
};
|
|
12790
|
+
};
|
|
12791
|
+
}
|
|
12792
|
+
interface DidLeaveOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema> {
|
|
12793
|
+
}
|
|
12794
|
+
}
|
|
12795
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12796
|
+
interface DidLeaveOrganizationEmitPayload {
|
|
12797
|
+
'personId': string;
|
|
12798
|
+
'roleId': string;
|
|
12799
|
+
'isLastRole': boolean;
|
|
12800
|
+
}
|
|
12801
|
+
interface DidLeaveOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12802
|
+
id: 'didLeaveOrganizationEmitPayload';
|
|
12803
|
+
version: 'v2020_12_25';
|
|
12804
|
+
namespace: 'Mercury';
|
|
12805
|
+
name: '';
|
|
12806
|
+
fields: {
|
|
12807
|
+
/** . */
|
|
12808
|
+
'personId': {
|
|
12809
|
+
type: 'id';
|
|
12810
|
+
isRequired: true;
|
|
12811
|
+
options: undefined;
|
|
12812
|
+
};
|
|
12813
|
+
/** . */
|
|
12814
|
+
'roleId': {
|
|
12815
|
+
type: 'id';
|
|
12816
|
+
isRequired: true;
|
|
12817
|
+
options: undefined;
|
|
12818
|
+
};
|
|
12819
|
+
/** . */
|
|
12820
|
+
'isLastRole': {
|
|
12821
|
+
type: 'boolean';
|
|
12822
|
+
isRequired: true;
|
|
12823
|
+
options: undefined;
|
|
12824
|
+
};
|
|
12825
|
+
};
|
|
12826
|
+
}
|
|
12827
|
+
interface DidLeaveOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema> {
|
|
12828
|
+
}
|
|
12829
|
+
}
|
|
12830
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12831
|
+
interface DidLeaveOrganizationEmitTargetAndPayload {
|
|
12832
|
+
/** Source. */
|
|
12833
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12834
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTarget;
|
|
12835
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayload;
|
|
12836
|
+
}
|
|
12837
|
+
interface DidLeaveOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12838
|
+
id: 'didLeaveOrganizationEmitTargetAndPayload';
|
|
12839
|
+
version: 'v2020_12_25';
|
|
12840
|
+
namespace: 'Mercury';
|
|
12841
|
+
name: '';
|
|
12842
|
+
fields: {
|
|
12843
|
+
/** Source. */
|
|
12844
|
+
'source': {
|
|
12845
|
+
label: 'Source';
|
|
12846
|
+
type: 'schema';
|
|
12847
|
+
options: {
|
|
12848
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12849
|
+
};
|
|
12850
|
+
};
|
|
12851
|
+
/** . */
|
|
12852
|
+
'target': {
|
|
12853
|
+
type: 'schema';
|
|
12854
|
+
isRequired: true;
|
|
12855
|
+
options: {
|
|
12856
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema;
|
|
12857
|
+
};
|
|
12858
|
+
};
|
|
12859
|
+
/** . */
|
|
12860
|
+
'payload': {
|
|
12861
|
+
type: 'schema';
|
|
12862
|
+
isRequired: true;
|
|
12863
|
+
options: {
|
|
12864
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema;
|
|
12865
|
+
};
|
|
12866
|
+
};
|
|
12867
|
+
};
|
|
12868
|
+
}
|
|
12869
|
+
interface DidLeaveOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetAndPayloadSchema> {
|
|
12870
|
+
}
|
|
12871
|
+
}
|
|
12872
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12873
|
+
interface DidLeaveOrganizationResponsePayload {
|
|
12874
|
+
}
|
|
12875
|
+
interface DidLeaveOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12876
|
+
id: 'didLeaveOrganizationResponsePayload';
|
|
12877
|
+
version: 'v2020_12_25';
|
|
12878
|
+
namespace: 'Mercury';
|
|
12879
|
+
name: '';
|
|
12880
|
+
fields: {};
|
|
12881
|
+
}
|
|
12882
|
+
interface DidLeaveOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationResponsePayloadSchema> {
|
|
12883
|
+
}
|
|
12884
|
+
}
|
|
12885
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12886
|
+
interface DidMessageEmitPayload {
|
|
12887
|
+
'message': SpruceSchemas.Spruce.v2020_07_22.Message;
|
|
12888
|
+
'conversationState'?: string | undefined | null;
|
|
12889
|
+
'topic'?: string | undefined | null;
|
|
12890
|
+
}
|
|
12891
|
+
interface DidMessageEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12892
|
+
id: 'didMessageEmitPayload';
|
|
12893
|
+
version: 'v2020_12_25';
|
|
12894
|
+
namespace: 'Mercury';
|
|
12895
|
+
name: '';
|
|
12896
|
+
fields: {
|
|
12897
|
+
/** . */
|
|
12898
|
+
'message': {
|
|
12899
|
+
type: 'schema';
|
|
12900
|
+
isRequired: true;
|
|
12901
|
+
options: {
|
|
12902
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.MessageSchema;
|
|
12903
|
+
};
|
|
12904
|
+
};
|
|
12905
|
+
/** . */
|
|
12906
|
+
'conversationState': {
|
|
12907
|
+
type: 'text';
|
|
12908
|
+
options: undefined;
|
|
12909
|
+
};
|
|
12910
|
+
/** . */
|
|
12911
|
+
'topic': {
|
|
12912
|
+
type: 'text';
|
|
12913
|
+
options: undefined;
|
|
12914
|
+
};
|
|
12915
|
+
};
|
|
12916
|
+
}
|
|
12917
|
+
interface DidMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema> {
|
|
12918
|
+
}
|
|
12919
|
+
}
|
|
12920
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12921
|
+
interface DidMessageEmitTargetAndPayload {
|
|
12922
|
+
/** Source. */
|
|
12923
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12924
|
+
'target'?: SpruceSchemas.Spruce.v2020_07_22.MessageTarget | undefined | null;
|
|
12925
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayload;
|
|
12926
|
+
}
|
|
12927
|
+
interface DidMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12928
|
+
id: 'didMessageEmitTargetAndPayload';
|
|
12929
|
+
version: 'v2020_12_25';
|
|
12930
|
+
namespace: 'Mercury';
|
|
12931
|
+
name: '';
|
|
12932
|
+
fields: {
|
|
12933
|
+
/** Source. */
|
|
12934
|
+
'source': {
|
|
12935
|
+
label: 'Source';
|
|
12936
|
+
type: 'schema';
|
|
12937
|
+
options: {
|
|
12938
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12939
|
+
};
|
|
12940
|
+
};
|
|
12941
|
+
/** . */
|
|
12942
|
+
'target': {
|
|
12943
|
+
type: 'schema';
|
|
12944
|
+
options: {
|
|
12945
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.MessageTargetSchema;
|
|
12946
|
+
};
|
|
12947
|
+
};
|
|
12948
|
+
/** . */
|
|
12949
|
+
'payload': {
|
|
13069
12950
|
type: 'schema';
|
|
13070
12951
|
isRequired: true;
|
|
13071
12952
|
options: {
|
|
13072
|
-
schema: SpruceSchemas.
|
|
12953
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema;
|
|
13073
12954
|
};
|
|
13074
12955
|
};
|
|
13075
12956
|
};
|
|
13076
12957
|
}
|
|
13077
|
-
interface
|
|
12958
|
+
interface DidMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitTargetAndPayloadSchema> {
|
|
13078
12959
|
}
|
|
13079
12960
|
}
|
|
13080
12961
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13081
|
-
interface
|
|
13082
|
-
'
|
|
12962
|
+
interface ConversationTopic {
|
|
12963
|
+
'key': string;
|
|
12964
|
+
'confidence': number;
|
|
12965
|
+
'label': string;
|
|
13083
12966
|
}
|
|
13084
|
-
interface
|
|
13085
|
-
id: '
|
|
12967
|
+
interface ConversationTopicSchema extends SpruceSchema.Schema {
|
|
12968
|
+
id: 'conversationTopic';
|
|
13086
12969
|
version: 'v2020_12_25';
|
|
13087
12970
|
namespace: 'Mercury';
|
|
13088
12971
|
name: '';
|
|
13089
12972
|
fields: {
|
|
13090
12973
|
/** . */
|
|
13091
|
-
'
|
|
13092
|
-
type: '
|
|
12974
|
+
'key': {
|
|
12975
|
+
type: 'text';
|
|
12976
|
+
isRequired: true;
|
|
12977
|
+
options: undefined;
|
|
12978
|
+
};
|
|
12979
|
+
/** . */
|
|
12980
|
+
'confidence': {
|
|
12981
|
+
type: 'number';
|
|
12982
|
+
isRequired: true;
|
|
12983
|
+
options: undefined;
|
|
12984
|
+
};
|
|
12985
|
+
/** . */
|
|
12986
|
+
'label': {
|
|
12987
|
+
type: 'text';
|
|
13093
12988
|
isRequired: true;
|
|
13094
12989
|
options: undefined;
|
|
13095
12990
|
};
|
|
13096
12991
|
};
|
|
13097
12992
|
}
|
|
13098
|
-
interface
|
|
12993
|
+
interface ConversationTopicEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema> {
|
|
13099
12994
|
}
|
|
13100
12995
|
}
|
|
13101
12996
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13102
|
-
interface
|
|
13103
|
-
|
|
13104
|
-
'
|
|
13105
|
-
|
|
13106
|
-
'
|
|
13107
|
-
|
|
13108
|
-
'description'?: string | undefined | null;
|
|
13109
|
-
'dateDeleted'?: number | undefined | null;
|
|
13110
|
-
'organizationId'?: string | undefined | null;
|
|
13111
|
-
/** Public. Should I let people that are not part of this organization this role? */
|
|
13112
|
-
'isPublic'?: boolean | undefined | null;
|
|
12997
|
+
interface DidMessageResponsePayload {
|
|
12998
|
+
'transitionConversationTo'?: ("greeting" | "discovery" | "topic" | "closing") | undefined | null;
|
|
12999
|
+
'repairs'?: string[] | undefined | null;
|
|
13000
|
+
'topicChangers'?: string[] | undefined | null;
|
|
13001
|
+
'utterance'?: string | undefined | null;
|
|
13002
|
+
'suggestedTopics'?: SpruceSchemas.Mercury.v2020_12_25.ConversationTopic[] | undefined | null;
|
|
13113
13003
|
}
|
|
13114
|
-
interface
|
|
13115
|
-
id: '
|
|
13004
|
+
interface DidMessageResponsePayloadSchema extends SpruceSchema.Schema {
|
|
13005
|
+
id: 'didMessageResponsePayload';
|
|
13116
13006
|
version: 'v2020_12_25';
|
|
13117
13007
|
namespace: 'Mercury';
|
|
13118
13008
|
name: '';
|
|
13119
13009
|
fields: {
|
|
13120
|
-
/**
|
|
13121
|
-
'
|
|
13122
|
-
label: 'Name';
|
|
13123
|
-
type: 'text';
|
|
13124
|
-
options: undefined;
|
|
13125
|
-
};
|
|
13126
|
-
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
13127
|
-
'base': {
|
|
13128
|
-
label: 'Base';
|
|
13010
|
+
/** . */
|
|
13011
|
+
'transitionConversationTo': {
|
|
13129
13012
|
type: 'select';
|
|
13130
|
-
hint: 'A best practices starting point for a role based on the generalized roles at a company.';
|
|
13131
13013
|
options: {
|
|
13132
13014
|
choices: [{
|
|
13133
|
-
"label": "
|
|
13134
|
-
"value": "
|
|
13135
|
-
}, {
|
|
13136
|
-
"label": "Group manager";
|
|
13137
|
-
"value": "groupManager";
|
|
13138
|
-
}, {
|
|
13139
|
-
"label": "Manager";
|
|
13140
|
-
"value": "manager";
|
|
13141
|
-
}, {
|
|
13142
|
-
"label": "Teammate";
|
|
13143
|
-
"value": "teammate";
|
|
13015
|
+
"label": "Greeting";
|
|
13016
|
+
"value": "greeting";
|
|
13144
13017
|
}, {
|
|
13145
|
-
"label": "
|
|
13146
|
-
"value": "
|
|
13018
|
+
"label": "Discovery";
|
|
13019
|
+
"value": "discovery";
|
|
13147
13020
|
}, {
|
|
13148
|
-
"label": "
|
|
13149
|
-
"value": "
|
|
13021
|
+
"label": "Topic";
|
|
13022
|
+
"value": "topic";
|
|
13150
13023
|
}, {
|
|
13151
|
-
"label": "
|
|
13152
|
-
"value": "
|
|
13024
|
+
"label": "Closing";
|
|
13025
|
+
"value": "closing";
|
|
13153
13026
|
}];
|
|
13154
13027
|
};
|
|
13155
13028
|
};
|
|
13156
|
-
/**
|
|
13157
|
-
'
|
|
13158
|
-
label: 'Description';
|
|
13029
|
+
/** . */
|
|
13030
|
+
'repairs': {
|
|
13159
13031
|
type: 'text';
|
|
13032
|
+
isArray: true;
|
|
13160
13033
|
options: undefined;
|
|
13161
13034
|
};
|
|
13162
13035
|
/** . */
|
|
13163
|
-
'
|
|
13164
|
-
type: '
|
|
13036
|
+
'topicChangers': {
|
|
13037
|
+
type: 'text';
|
|
13038
|
+
isArray: true;
|
|
13165
13039
|
options: undefined;
|
|
13166
13040
|
};
|
|
13167
13041
|
/** . */
|
|
13168
|
-
'
|
|
13169
|
-
type: '
|
|
13042
|
+
'utterance': {
|
|
13043
|
+
type: 'text';
|
|
13170
13044
|
options: undefined;
|
|
13171
13045
|
};
|
|
13172
|
-
/**
|
|
13173
|
-
'
|
|
13174
|
-
|
|
13175
|
-
|
|
13176
|
-
|
|
13177
|
-
|
|
13046
|
+
/** . */
|
|
13047
|
+
'suggestedTopics': {
|
|
13048
|
+
type: 'schema';
|
|
13049
|
+
isArray: true;
|
|
13050
|
+
options: {
|
|
13051
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema;
|
|
13052
|
+
};
|
|
13178
13053
|
};
|
|
13179
13054
|
};
|
|
13180
13055
|
}
|
|
13181
|
-
interface
|
|
13056
|
+
interface DidMessageResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageResponsePayloadSchema> {
|
|
13182
13057
|
}
|
|
13183
13058
|
}
|
|
13184
13059
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13185
|
-
interface
|
|
13060
|
+
interface DidSignupEmitPayload {
|
|
13061
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
13062
|
+
}
|
|
13063
|
+
interface DidSignupEmitPayloadSchema extends SpruceSchema.Schema {
|
|
13064
|
+
id: 'didSignupEmitPayload';
|
|
13065
|
+
version: 'v2020_12_25';
|
|
13066
|
+
namespace: 'Mercury';
|
|
13067
|
+
name: '';
|
|
13068
|
+
fields: {
|
|
13069
|
+
/** . */
|
|
13070
|
+
'person': {
|
|
13071
|
+
type: 'schema';
|
|
13072
|
+
isRequired: true;
|
|
13073
|
+
options: {
|
|
13074
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
13075
|
+
};
|
|
13076
|
+
};
|
|
13077
|
+
};
|
|
13078
|
+
}
|
|
13079
|
+
interface DidSignupEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema> {
|
|
13080
|
+
}
|
|
13081
|
+
}
|
|
13082
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13083
|
+
interface DidSignupEmitTargetAndPayload {
|
|
13186
13084
|
/** Source. */
|
|
13187
13085
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
13188
|
-
'target'
|
|
13189
|
-
'payload'
|
|
13086
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
13087
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayload;
|
|
13190
13088
|
}
|
|
13191
|
-
interface
|
|
13192
|
-
id: '
|
|
13089
|
+
interface DidSignupEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
13090
|
+
id: 'didSignupEmitTargetAndPayload';
|
|
13193
13091
|
version: 'v2020_12_25';
|
|
13194
13092
|
namespace: 'Mercury';
|
|
13195
13093
|
name: '';
|
|
@@ -13205,75 +13103,43 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13205
13103
|
/** . */
|
|
13206
13104
|
'target': {
|
|
13207
13105
|
type: 'schema';
|
|
13208
|
-
isRequired: true;
|
|
13209
13106
|
options: {
|
|
13210
|
-
schema: SpruceSchemas.
|
|
13107
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
13211
13108
|
};
|
|
13212
13109
|
};
|
|
13213
13110
|
/** . */
|
|
13214
13111
|
'payload': {
|
|
13215
|
-
type: 'schema';
|
|
13216
|
-
options: {
|
|
13217
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema;
|
|
13218
|
-
};
|
|
13219
|
-
};
|
|
13220
|
-
};
|
|
13221
|
-
}
|
|
13222
|
-
interface UpdateRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetAndPayloadSchema> {
|
|
13223
|
-
}
|
|
13224
|
-
}
|
|
13225
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13226
|
-
interface UpdateRoleResponsePayload {
|
|
13227
|
-
'role': SpruceSchemas.Spruce.v2020_07_22.Role;
|
|
13228
|
-
}
|
|
13229
|
-
interface UpdateRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
13230
|
-
id: 'updateRoleResponsePayload';
|
|
13231
|
-
version: 'v2020_12_25';
|
|
13232
|
-
namespace: 'Mercury';
|
|
13233
|
-
name: '';
|
|
13234
|
-
fields: {
|
|
13235
|
-
/** . */
|
|
13236
|
-
'role': {
|
|
13237
13112
|
type: 'schema';
|
|
13238
13113
|
isRequired: true;
|
|
13239
13114
|
options: {
|
|
13240
|
-
schema: SpruceSchemas.
|
|
13115
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema;
|
|
13241
13116
|
};
|
|
13242
13117
|
};
|
|
13243
13118
|
};
|
|
13244
13119
|
}
|
|
13245
|
-
interface
|
|
13120
|
+
interface DidSignupEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitTargetAndPayloadSchema> {
|
|
13246
13121
|
}
|
|
13247
13122
|
}
|
|
13248
13123
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13249
|
-
interface
|
|
13250
|
-
'
|
|
13251
|
-
'
|
|
13252
|
-
'roleId': string;
|
|
13124
|
+
interface DidUpdateFeedEmitTarget {
|
|
13125
|
+
'locationId'?: string | undefined | null;
|
|
13126
|
+
'organizationId'?: string | undefined | null;
|
|
13253
13127
|
'skillId'?: string | undefined | null;
|
|
13254
13128
|
}
|
|
13255
|
-
interface
|
|
13256
|
-
id: '
|
|
13129
|
+
interface DidUpdateFeedEmitTargetSchema extends SpruceSchema.Schema {
|
|
13130
|
+
id: 'didUpdateFeedEmitTarget';
|
|
13257
13131
|
version: 'v2020_12_25';
|
|
13258
13132
|
namespace: 'Mercury';
|
|
13259
13133
|
name: '';
|
|
13260
13134
|
fields: {
|
|
13261
13135
|
/** . */
|
|
13262
|
-
'
|
|
13263
|
-
type: 'id';
|
|
13264
|
-
isRequired: true;
|
|
13265
|
-
options: undefined;
|
|
13266
|
-
};
|
|
13267
|
-
/** . */
|
|
13268
|
-
'permissionContractId': {
|
|
13136
|
+
'locationId': {
|
|
13269
13137
|
type: 'id';
|
|
13270
|
-
isRequired: true;
|
|
13271
13138
|
options: undefined;
|
|
13272
13139
|
};
|
|
13273
13140
|
/** . */
|
|
13274
|
-
'
|
|
13141
|
+
'organizationId': {
|
|
13275
13142
|
type: 'id';
|
|
13276
|
-
isRequired: true;
|
|
13277
13143
|
options: undefined;
|
|
13278
13144
|
};
|
|
13279
13145
|
/** . */
|
|
@@ -13283,70 +13149,41 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13283
13149
|
};
|
|
13284
13150
|
};
|
|
13285
13151
|
}
|
|
13286
|
-
interface
|
|
13152
|
+
interface DidUpdateFeedEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetSchema> {
|
|
13287
13153
|
}
|
|
13288
13154
|
}
|
|
13289
13155
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13290
|
-
interface
|
|
13291
|
-
|
|
13292
|
-
'name': string;
|
|
13293
|
-
/** Description. */
|
|
13294
|
-
'description'?: string | undefined | null;
|
|
13295
|
-
/** Require all permissions. */
|
|
13296
|
-
'requireAllPermissions'?: boolean | undefined | null;
|
|
13297
|
-
'permissions': SpruceSchemas.Mercury.v2020_12_25.Permission[];
|
|
13156
|
+
interface DidUpdateFeedEmitPayload {
|
|
13157
|
+
'item': SpruceSchemas.Spruce.v2020_07_22.FeedItem;
|
|
13298
13158
|
}
|
|
13299
|
-
interface
|
|
13300
|
-
id: '
|
|
13159
|
+
interface DidUpdateFeedEmitPayloadSchema extends SpruceSchema.Schema {
|
|
13160
|
+
id: 'didUpdateFeedEmitPayload';
|
|
13301
13161
|
version: 'v2020_12_25';
|
|
13302
13162
|
namespace: 'Mercury';
|
|
13303
13163
|
name: '';
|
|
13304
13164
|
fields: {
|
|
13305
|
-
/** Name. Human readable name for this contract */
|
|
13306
|
-
'name': {
|
|
13307
|
-
label: 'Name';
|
|
13308
|
-
type: 'text';
|
|
13309
|
-
isRequired: true;
|
|
13310
|
-
hint: 'Human readable name for this contract';
|
|
13311
|
-
options: undefined;
|
|
13312
|
-
};
|
|
13313
|
-
/** Description. */
|
|
13314
|
-
'description': {
|
|
13315
|
-
label: 'Description';
|
|
13316
|
-
type: 'text';
|
|
13317
|
-
options: undefined;
|
|
13318
|
-
};
|
|
13319
|
-
/** Require all permissions. */
|
|
13320
|
-
'requireAllPermissions': {
|
|
13321
|
-
label: 'Require all permissions';
|
|
13322
|
-
type: 'boolean';
|
|
13323
|
-
defaultValue: false;
|
|
13324
|
-
options: undefined;
|
|
13325
|
-
};
|
|
13326
13165
|
/** . */
|
|
13327
|
-
'
|
|
13166
|
+
'item': {
|
|
13328
13167
|
type: 'schema';
|
|
13329
13168
|
isRequired: true;
|
|
13330
|
-
isArray: true;
|
|
13331
|
-
minArrayLength: 0;
|
|
13332
13169
|
options: {
|
|
13333
|
-
schema: SpruceSchemas.
|
|
13170
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.FeedItemSchema;
|
|
13334
13171
|
};
|
|
13335
13172
|
};
|
|
13336
13173
|
};
|
|
13337
13174
|
}
|
|
13338
|
-
interface
|
|
13175
|
+
interface DidUpdateFeedEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema> {
|
|
13339
13176
|
}
|
|
13340
13177
|
}
|
|
13341
13178
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13342
|
-
interface
|
|
13179
|
+
interface DidUpdateFeedEmitTargetAndPayload {
|
|
13343
13180
|
/** Source. */
|
|
13344
13181
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
13345
|
-
'target'
|
|
13346
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.
|
|
13182
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTarget | undefined | null;
|
|
13183
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayload;
|
|
13347
13184
|
}
|
|
13348
|
-
interface
|
|
13349
|
-
id: '
|
|
13185
|
+
interface DidUpdateFeedEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
13186
|
+
id: 'didUpdateFeedEmitTargetAndPayload';
|
|
13350
13187
|
version: 'v2020_12_25';
|
|
13351
13188
|
namespace: 'Mercury';
|
|
13352
13189
|
name: '';
|
|
@@ -13362,9 +13199,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13362
13199
|
/** . */
|
|
13363
13200
|
'target': {
|
|
13364
13201
|
type: 'schema';
|
|
13365
|
-
isRequired: true;
|
|
13366
13202
|
options: {
|
|
13367
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
13203
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetSchema;
|
|
13368
13204
|
};
|
|
13369
13205
|
};
|
|
13370
13206
|
/** . */
|
|
@@ -13372,73 +13208,103 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13372
13208
|
type: 'schema';
|
|
13373
13209
|
isRequired: true;
|
|
13374
13210
|
options: {
|
|
13375
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
13211
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema;
|
|
13376
13212
|
};
|
|
13377
13213
|
};
|
|
13378
13214
|
};
|
|
13379
13215
|
}
|
|
13380
|
-
interface
|
|
13216
|
+
interface DidUpdateFeedEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetAndPayloadSchema> {
|
|
13381
13217
|
}
|
|
13382
13218
|
}
|
|
13383
13219
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13384
|
-
interface
|
|
13385
|
-
'
|
|
13220
|
+
interface DidUpdatePersonEmitPayload {
|
|
13221
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
13386
13222
|
}
|
|
13387
|
-
interface
|
|
13388
|
-
id: '
|
|
13223
|
+
interface DidUpdatePersonEmitPayloadSchema extends SpruceSchema.Schema {
|
|
13224
|
+
id: 'didUpdatePersonEmitPayload';
|
|
13389
13225
|
version: 'v2020_12_25';
|
|
13390
13226
|
namespace: 'Mercury';
|
|
13391
13227
|
name: '';
|
|
13392
13228
|
fields: {
|
|
13393
13229
|
/** . */
|
|
13394
|
-
'
|
|
13230
|
+
'person': {
|
|
13395
13231
|
type: 'schema';
|
|
13396
13232
|
isRequired: true;
|
|
13397
13233
|
options: {
|
|
13398
|
-
schema: SpruceSchemas.
|
|
13234
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
13399
13235
|
};
|
|
13400
13236
|
};
|
|
13401
13237
|
};
|
|
13402
13238
|
}
|
|
13403
|
-
interface
|
|
13239
|
+
interface DidUpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema> {
|
|
13404
13240
|
}
|
|
13405
13241
|
}
|
|
13406
13242
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13407
|
-
interface
|
|
13408
|
-
'
|
|
13409
|
-
'
|
|
13243
|
+
interface InvokeChatCallbackTarget {
|
|
13244
|
+
'skillId': string;
|
|
13245
|
+
'chatPersonId': string;
|
|
13410
13246
|
}
|
|
13411
|
-
interface
|
|
13412
|
-
id: '
|
|
13247
|
+
interface InvokeChatCallbackTargetSchema extends SpruceSchema.Schema {
|
|
13248
|
+
id: 'invokeChatCallbackTarget';
|
|
13413
13249
|
version: 'v2020_12_25';
|
|
13414
13250
|
namespace: 'Mercury';
|
|
13415
13251
|
name: '';
|
|
13416
13252
|
fields: {
|
|
13417
13253
|
/** . */
|
|
13418
|
-
'
|
|
13254
|
+
'skillId': {
|
|
13419
13255
|
type: 'id';
|
|
13420
13256
|
isRequired: true;
|
|
13421
13257
|
options: undefined;
|
|
13422
13258
|
};
|
|
13423
13259
|
/** . */
|
|
13424
|
-
'
|
|
13260
|
+
'chatPersonId': {
|
|
13425
13261
|
type: 'id';
|
|
13426
13262
|
isRequired: true;
|
|
13427
13263
|
options: undefined;
|
|
13428
13264
|
};
|
|
13429
13265
|
};
|
|
13430
13266
|
}
|
|
13431
|
-
interface
|
|
13267
|
+
interface InvokeChatCallbackTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackTargetSchema> {
|
|
13432
13268
|
}
|
|
13433
13269
|
}
|
|
13434
13270
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13435
|
-
interface
|
|
13271
|
+
interface InvokeChatCallbackPayload {
|
|
13272
|
+
'placeholder': string;
|
|
13273
|
+
'state'?: (Record<string, any>) | undefined | null;
|
|
13274
|
+
}
|
|
13275
|
+
interface InvokeChatCallbackPayloadSchema extends SpruceSchema.Schema {
|
|
13276
|
+
id: 'invokeChatCallbackPayload';
|
|
13277
|
+
version: 'v2020_12_25';
|
|
13278
|
+
namespace: 'Mercury';
|
|
13279
|
+
name: '';
|
|
13280
|
+
fields: {
|
|
13281
|
+
/** . */
|
|
13282
|
+
'placeholder': {
|
|
13283
|
+
type: 'id';
|
|
13284
|
+
isRequired: true;
|
|
13285
|
+
options: undefined;
|
|
13286
|
+
};
|
|
13287
|
+
/** . */
|
|
13288
|
+
'state': {
|
|
13289
|
+
type: 'raw';
|
|
13290
|
+
options: {
|
|
13291
|
+
valueType: `Record<string, any>`;
|
|
13292
|
+
};
|
|
13293
|
+
};
|
|
13294
|
+
};
|
|
13295
|
+
}
|
|
13296
|
+
interface InvokeChatCallbackPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackPayloadSchema> {
|
|
13297
|
+
}
|
|
13298
|
+
}
|
|
13299
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13300
|
+
interface InvokeChatCallbackEmitTargetAndPayload {
|
|
13436
13301
|
/** Source. */
|
|
13437
13302
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
13438
|
-
'
|
|
13303
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackTarget;
|
|
13304
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackPayload;
|
|
13439
13305
|
}
|
|
13440
|
-
interface
|
|
13441
|
-
id: '
|
|
13306
|
+
interface InvokeChatCallbackEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
13307
|
+
id: 'invokeChatCallbackEmitTargetAndPayload';
|
|
13442
13308
|
version: 'v2020_12_25';
|
|
13443
13309
|
namespace: 'Mercury';
|
|
13444
13310
|
name: '';
|
|
@@ -13452,48 +13318,56 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13452
13318
|
};
|
|
13453
13319
|
};
|
|
13454
13320
|
/** . */
|
|
13321
|
+
'target': {
|
|
13322
|
+
type: 'schema';
|
|
13323
|
+
isRequired: true;
|
|
13324
|
+
options: {
|
|
13325
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackTargetSchema;
|
|
13326
|
+
};
|
|
13327
|
+
};
|
|
13328
|
+
/** . */
|
|
13455
13329
|
'payload': {
|
|
13456
13330
|
type: 'schema';
|
|
13457
13331
|
isRequired: true;
|
|
13458
13332
|
options: {
|
|
13459
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
13333
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackPayloadSchema;
|
|
13460
13334
|
};
|
|
13461
13335
|
};
|
|
13462
13336
|
};
|
|
13463
13337
|
}
|
|
13464
|
-
interface
|
|
13338
|
+
interface InvokeChatCallbackEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackEmitTargetAndPayloadSchema> {
|
|
13465
13339
|
}
|
|
13466
13340
|
}
|
|
13467
13341
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13468
|
-
interface
|
|
13469
|
-
'
|
|
13342
|
+
interface InvokeChatCallbackResponsePayload {
|
|
13343
|
+
'message': string;
|
|
13470
13344
|
}
|
|
13471
|
-
interface
|
|
13472
|
-
id: '
|
|
13345
|
+
interface InvokeChatCallbackResponsePayloadSchema extends SpruceSchema.Schema {
|
|
13346
|
+
id: 'invokeChatCallbackResponsePayload';
|
|
13473
13347
|
version: 'v2020_12_25';
|
|
13474
13348
|
namespace: 'Mercury';
|
|
13475
13349
|
name: '';
|
|
13476
13350
|
fields: {
|
|
13477
13351
|
/** . */
|
|
13478
|
-
'
|
|
13479
|
-
type: '
|
|
13352
|
+
'message': {
|
|
13353
|
+
type: 'text';
|
|
13480
13354
|
isRequired: true;
|
|
13481
13355
|
options: undefined;
|
|
13482
13356
|
};
|
|
13483
13357
|
};
|
|
13484
13358
|
}
|
|
13485
|
-
interface
|
|
13359
|
+
interface InvokeChatCallbackResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackResponsePayloadSchema> {
|
|
13486
13360
|
}
|
|
13487
13361
|
}
|
|
13488
13362
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13489
|
-
interface
|
|
13363
|
+
interface DidUpdatePersonEmitTargetAndPayload {
|
|
13490
13364
|
/** Source. */
|
|
13491
13365
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
13492
|
-
'target'?: SpruceSchemas.
|
|
13493
|
-
'payload'
|
|
13366
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
13367
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayload;
|
|
13494
13368
|
}
|
|
13495
|
-
interface
|
|
13496
|
-
id: '
|
|
13369
|
+
interface DidUpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
13370
|
+
id: 'didUpdatePersonEmitTargetAndPayload';
|
|
13497
13371
|
version: 'v2020_12_25';
|
|
13498
13372
|
namespace: 'Mercury';
|
|
13499
13373
|
name: '';
|
|
@@ -13510,28 +13384,29 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13510
13384
|
'target': {
|
|
13511
13385
|
type: 'schema';
|
|
13512
13386
|
options: {
|
|
13513
|
-
schema: SpruceSchemas.
|
|
13387
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
13514
13388
|
};
|
|
13515
13389
|
};
|
|
13516
13390
|
/** . */
|
|
13517
13391
|
'payload': {
|
|
13518
13392
|
type: 'schema';
|
|
13393
|
+
isRequired: true;
|
|
13519
13394
|
options: {
|
|
13520
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
13395
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema;
|
|
13521
13396
|
};
|
|
13522
13397
|
};
|
|
13523
13398
|
};
|
|
13524
13399
|
}
|
|
13525
|
-
interface
|
|
13400
|
+
interface DidUpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitTargetAndPayloadSchema> {
|
|
13526
13401
|
}
|
|
13527
13402
|
}
|
|
13528
13403
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13529
|
-
interface
|
|
13404
|
+
interface RegisterChatbotsEmitTargetAndPayload {
|
|
13530
13405
|
/** Source. */
|
|
13531
13406
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
13532
13407
|
}
|
|
13533
|
-
interface
|
|
13534
|
-
id: '
|
|
13408
|
+
interface RegisterChatbotsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
13409
|
+
id: 'registerChatbotsEmitTargetAndPayload';
|
|
13535
13410
|
version: 'v2020_12_25';
|
|
13536
13411
|
namespace: 'Mercury';
|
|
13537
13412
|
name: '';
|
|
@@ -13546,7 +13421,132 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13546
13421
|
};
|
|
13547
13422
|
};
|
|
13548
13423
|
}
|
|
13549
|
-
interface
|
|
13424
|
+
interface RegisterChatbotsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterChatbotsEmitTargetAndPayloadSchema> {
|
|
13425
|
+
}
|
|
13426
|
+
}
|
|
13427
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13428
|
+
interface ChatbotCallbacks {
|
|
13429
|
+
'placeholder': string;
|
|
13430
|
+
'useThisWhenever': string;
|
|
13431
|
+
}
|
|
13432
|
+
interface ChatbotCallbacksSchema extends SpruceSchema.Schema {
|
|
13433
|
+
id: 'chatbotCallbacks';
|
|
13434
|
+
version: 'v2020_12_25';
|
|
13435
|
+
namespace: 'Mercury';
|
|
13436
|
+
name: '';
|
|
13437
|
+
fields: {
|
|
13438
|
+
/** . */
|
|
13439
|
+
'placeholder': {
|
|
13440
|
+
type: 'id';
|
|
13441
|
+
isRequired: true;
|
|
13442
|
+
options: undefined;
|
|
13443
|
+
};
|
|
13444
|
+
/** . */
|
|
13445
|
+
'useThisWhenever': {
|
|
13446
|
+
type: 'text';
|
|
13447
|
+
isRequired: true;
|
|
13448
|
+
options: undefined;
|
|
13449
|
+
};
|
|
13450
|
+
};
|
|
13451
|
+
}
|
|
13452
|
+
interface ChatbotCallbacksEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ChatbotCallbacksSchema> {
|
|
13453
|
+
}
|
|
13454
|
+
}
|
|
13455
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13456
|
+
interface Chatbot {
|
|
13457
|
+
'title': string;
|
|
13458
|
+
'yourJobIfYouChooseToAcceptItIs': string;
|
|
13459
|
+
'weAreDoneWhen': string;
|
|
13460
|
+
'pleaseKeepInMindThat'?: string[] | undefined | null;
|
|
13461
|
+
'stateSchema'?: (SpruceSchema.Schema) | undefined | null;
|
|
13462
|
+
'model'?: string | undefined | null;
|
|
13463
|
+
'promptTemplate'?: string | undefined | null;
|
|
13464
|
+
'callbacks'?: SpruceSchemas.Mercury.v2020_12_25.ChatbotCallbacks[] | undefined | null;
|
|
13465
|
+
}
|
|
13466
|
+
interface ChatbotSchema extends SpruceSchema.Schema {
|
|
13467
|
+
id: 'chatbot';
|
|
13468
|
+
version: 'v2020_12_25';
|
|
13469
|
+
namespace: 'Mercury';
|
|
13470
|
+
name: '';
|
|
13471
|
+
fields: {
|
|
13472
|
+
/** . */
|
|
13473
|
+
'title': {
|
|
13474
|
+
type: 'text';
|
|
13475
|
+
isRequired: true;
|
|
13476
|
+
options: undefined;
|
|
13477
|
+
};
|
|
13478
|
+
/** . */
|
|
13479
|
+
'yourJobIfYouChooseToAcceptItIs': {
|
|
13480
|
+
type: 'text';
|
|
13481
|
+
isRequired: true;
|
|
13482
|
+
options: undefined;
|
|
13483
|
+
};
|
|
13484
|
+
/** . */
|
|
13485
|
+
'weAreDoneWhen': {
|
|
13486
|
+
type: 'text';
|
|
13487
|
+
isRequired: true;
|
|
13488
|
+
options: undefined;
|
|
13489
|
+
};
|
|
13490
|
+
/** . */
|
|
13491
|
+
'pleaseKeepInMindThat': {
|
|
13492
|
+
type: 'text';
|
|
13493
|
+
isArray: true;
|
|
13494
|
+
options: undefined;
|
|
13495
|
+
};
|
|
13496
|
+
/** . */
|
|
13497
|
+
'stateSchema': {
|
|
13498
|
+
type: 'raw';
|
|
13499
|
+
options: {
|
|
13500
|
+
valueType: `SpruceSchema.Schema`;
|
|
13501
|
+
};
|
|
13502
|
+
};
|
|
13503
|
+
/** . */
|
|
13504
|
+
'model': {
|
|
13505
|
+
type: 'id';
|
|
13506
|
+
options: undefined;
|
|
13507
|
+
};
|
|
13508
|
+
/** . */
|
|
13509
|
+
'promptTemplate': {
|
|
13510
|
+
type: 'text';
|
|
13511
|
+
options: undefined;
|
|
13512
|
+
};
|
|
13513
|
+
/** . */
|
|
13514
|
+
'callbacks': {
|
|
13515
|
+
type: 'schema';
|
|
13516
|
+
isArray: true;
|
|
13517
|
+
minArrayLength: 0;
|
|
13518
|
+
options: {
|
|
13519
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ChatbotCallbacksSchema;
|
|
13520
|
+
};
|
|
13521
|
+
};
|
|
13522
|
+
};
|
|
13523
|
+
}
|
|
13524
|
+
interface ChatbotEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ChatbotSchema> {
|
|
13525
|
+
}
|
|
13526
|
+
}
|
|
13527
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13528
|
+
interface RegisterChatbotsResponsePayload {
|
|
13529
|
+
'bots': SpruceSchemas.Mercury.v2020_12_25.Chatbot[];
|
|
13530
|
+
}
|
|
13531
|
+
interface RegisterChatbotsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
13532
|
+
id: 'registerChatbotsResponsePayload';
|
|
13533
|
+
version: 'v2020_12_25';
|
|
13534
|
+
namespace: 'Mercury';
|
|
13535
|
+
name: '';
|
|
13536
|
+
fields: {
|
|
13537
|
+
/** . */
|
|
13538
|
+
'bots': {
|
|
13539
|
+
type: 'schema';
|
|
13540
|
+
isRequired: true;
|
|
13541
|
+
isArray: true;
|
|
13542
|
+
minArrayLength: 0;
|
|
13543
|
+
options: {
|
|
13544
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ChatbotSchema;
|
|
13545
|
+
};
|
|
13546
|
+
};
|
|
13547
|
+
};
|
|
13548
|
+
}
|
|
13549
|
+
interface RegisterChatbotsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterChatbotsResponsePayloadSchema> {
|
|
13550
13550
|
}
|
|
13551
13551
|
}
|
|
13552
13552
|
}
|