@sprucelabs/mercury-core-events 22.2.0 → 22.2.1
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/events/events.contract.d.ts +0 -9
- package/build/.spruce/events/events.contract.js +0 -2
- package/build/.spruce/permissions/permissions.types.d.ts +3 -6
- package/build/.spruce/schemas/schemas.types.d.ts +1795 -1832
- package/build/.spruce/settings.json +0 -4
- package/build/esm/.spruce/events/events.contract.d.ts +0 -9
- package/build/esm/.spruce/events/events.contract.js +0 -2
- package/build/esm/.spruce/permissions/permissions.types.d.ts +3 -6
- package/build/esm/.spruce/schemas/schemas.types.d.ts +1795 -1832
- package/package.json +1 -1
- package/build/.spruce/events/mercury/requestDataDeleted.v2020_12_25.contract.d.ts +0 -11
- package/build/.spruce/events/mercury/requestDataDeleted.v2020_12_25.contract.js +0 -18
- package/build/.spruce/schemas/mercury/v2020_12_25/requestDataDeletedEmitTargetAndPayload.schema.d.ts +0 -3
- package/build/.spruce/schemas/mercury/v2020_12_25/requestDataDeletedEmitTargetAndPayload.schema.js +0 -23
- package/build/.spruce/schemas/mercury/v2020_12_25/requestDataDeletedRespondPayload.schema.d.ts +0 -3
- package/build/.spruce/schemas/mercury/v2020_12_25/requestDataDeletedRespondPayload.schema.js +0 -12
- package/build/esm/.spruce/events/mercury/requestDataDeleted.v2020_12_25.contract.d.ts +0 -11
- package/build/esm/.spruce/events/mercury/requestDataDeleted.v2020_12_25.contract.js +0 -13
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/requestDataDeletedEmitTargetAndPayload.schema.d.ts +0 -3
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/requestDataDeletedEmitTargetAndPayload.schema.js +0 -18
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/requestDataDeletedRespondPayload.schema.d.ts +0 -3
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/requestDataDeletedRespondPayload.schema.js +0 -10
|
@@ -5,82 +5,68 @@ import '@sprucelabs/spruce-event-utils';
|
|
|
5
5
|
import '@sprucelabs/mercury-types';
|
|
6
6
|
declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schemas.types' {
|
|
7
7
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8
|
-
interface
|
|
9
|
-
|
|
10
|
-
'
|
|
11
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitTarget;
|
|
12
|
-
'payload'?: SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitPayload | undefined | null;
|
|
8
|
+
interface AddRoleEmitTarget {
|
|
9
|
+
'organizationId'?: string | undefined | null;
|
|
10
|
+
'locationId'?: string | undefined | null;
|
|
13
11
|
}
|
|
14
|
-
interface
|
|
15
|
-
id: '
|
|
12
|
+
interface AddRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
13
|
+
id: 'addRoleEmitTarget';
|
|
16
14
|
version: 'v2020_12_25';
|
|
17
15
|
namespace: 'Mercury';
|
|
18
16
|
name: '';
|
|
19
17
|
fields: {
|
|
20
|
-
/** Source. */
|
|
21
|
-
'source': {
|
|
22
|
-
label: 'Source';
|
|
23
|
-
type: 'schema';
|
|
24
|
-
options: {
|
|
25
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
18
|
/** . */
|
|
29
|
-
'
|
|
30
|
-
type: '
|
|
31
|
-
|
|
32
|
-
options: {
|
|
33
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitTargetSchema;
|
|
34
|
-
};
|
|
19
|
+
'organizationId': {
|
|
20
|
+
type: 'id';
|
|
21
|
+
options: undefined;
|
|
35
22
|
};
|
|
36
23
|
/** . */
|
|
37
|
-
'
|
|
38
|
-
type: '
|
|
39
|
-
options:
|
|
40
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitPayloadSchema;
|
|
41
|
-
};
|
|
24
|
+
'locationId': {
|
|
25
|
+
type: 'id';
|
|
26
|
+
options: undefined;
|
|
42
27
|
};
|
|
43
28
|
};
|
|
44
29
|
}
|
|
45
|
-
interface
|
|
30
|
+
interface AddRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema> {
|
|
46
31
|
}
|
|
47
32
|
}
|
|
48
33
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
49
|
-
interface
|
|
50
|
-
'
|
|
51
|
-
'
|
|
34
|
+
interface AddRoleEmitPayload {
|
|
35
|
+
'personId': string;
|
|
36
|
+
'roleId': string;
|
|
52
37
|
}
|
|
53
|
-
interface
|
|
54
|
-
id: '
|
|
38
|
+
interface AddRoleEmitPayloadSchema extends SpruceSchema.Schema {
|
|
39
|
+
id: 'addRoleEmitPayload';
|
|
55
40
|
version: 'v2020_12_25';
|
|
56
41
|
namespace: 'Mercury';
|
|
57
42
|
name: '';
|
|
58
43
|
fields: {
|
|
59
44
|
/** . */
|
|
60
|
-
'
|
|
45
|
+
'personId': {
|
|
61
46
|
type: 'id';
|
|
62
47
|
isRequired: true;
|
|
63
48
|
options: undefined;
|
|
64
49
|
};
|
|
65
50
|
/** . */
|
|
66
|
-
'
|
|
51
|
+
'roleId': {
|
|
67
52
|
type: 'id';
|
|
68
53
|
isRequired: true;
|
|
69
54
|
options: undefined;
|
|
70
55
|
};
|
|
71
56
|
};
|
|
72
57
|
}
|
|
73
|
-
interface
|
|
58
|
+
interface AddRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema> {
|
|
74
59
|
}
|
|
75
60
|
}
|
|
76
61
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
77
|
-
interface
|
|
62
|
+
interface AddRoleEmitTargetAndPayload {
|
|
78
63
|
/** Source. */
|
|
79
64
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
80
|
-
'target'
|
|
65
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTarget | undefined | null;
|
|
66
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayload;
|
|
81
67
|
}
|
|
82
|
-
interface
|
|
83
|
-
id: '
|
|
68
|
+
interface AddRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
69
|
+
id: 'addRoleEmitTargetAndPayload';
|
|
84
70
|
version: 'v2020_12_25';
|
|
85
71
|
namespace: 'Mercury';
|
|
86
72
|
name: '';
|
|
@@ -95,101 +81,77 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
95
81
|
};
|
|
96
82
|
/** . */
|
|
97
83
|
'target': {
|
|
84
|
+
type: 'schema';
|
|
85
|
+
options: {
|
|
86
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
/** . */
|
|
90
|
+
'payload': {
|
|
98
91
|
type: 'schema';
|
|
99
92
|
isRequired: true;
|
|
100
93
|
options: {
|
|
101
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
94
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema;
|
|
102
95
|
};
|
|
103
96
|
};
|
|
104
97
|
};
|
|
105
98
|
}
|
|
106
|
-
interface
|
|
99
|
+
interface AddRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetAndPayloadSchema> {
|
|
107
100
|
}
|
|
108
101
|
}
|
|
109
102
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
110
|
-
interface
|
|
103
|
+
interface AddRoleResponsePayload {
|
|
111
104
|
}
|
|
112
|
-
interface
|
|
113
|
-
id: '
|
|
105
|
+
interface AddRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
106
|
+
id: 'addRoleResponsePayload';
|
|
114
107
|
version: 'v2020_12_25';
|
|
115
108
|
namespace: 'Mercury';
|
|
116
109
|
name: '';
|
|
117
110
|
fields: {};
|
|
118
111
|
}
|
|
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> {
|
|
112
|
+
interface AddRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleResponsePayloadSchema> {
|
|
147
113
|
}
|
|
148
114
|
}
|
|
149
115
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
150
|
-
interface
|
|
151
|
-
'
|
|
152
|
-
'
|
|
153
|
-
'
|
|
116
|
+
interface AuthenticateEmitPayload {
|
|
117
|
+
'token'?: string | undefined | null;
|
|
118
|
+
'skillId'?: string | undefined | null;
|
|
119
|
+
'apiKey'?: string | undefined | null;
|
|
154
120
|
}
|
|
155
|
-
interface
|
|
156
|
-
id: '
|
|
121
|
+
interface AuthenticateEmitPayloadSchema extends SpruceSchema.Schema {
|
|
122
|
+
id: 'authenticateEmitPayload';
|
|
157
123
|
version: 'v2020_12_25';
|
|
158
124
|
namespace: 'Mercury';
|
|
159
125
|
name: '';
|
|
160
126
|
fields: {
|
|
161
127
|
/** . */
|
|
162
|
-
'
|
|
163
|
-
type: '
|
|
164
|
-
isRequired: true;
|
|
128
|
+
'token': {
|
|
129
|
+
type: 'text';
|
|
165
130
|
options: undefined;
|
|
166
131
|
};
|
|
167
132
|
/** . */
|
|
168
|
-
'
|
|
169
|
-
type: '
|
|
170
|
-
isRequired: true;
|
|
133
|
+
'skillId': {
|
|
134
|
+
type: 'text';
|
|
171
135
|
options: undefined;
|
|
172
136
|
};
|
|
173
137
|
/** . */
|
|
174
|
-
'
|
|
175
|
-
type: '
|
|
176
|
-
isRequired: true;
|
|
138
|
+
'apiKey': {
|
|
139
|
+
type: 'text';
|
|
177
140
|
options: undefined;
|
|
178
141
|
};
|
|
179
142
|
};
|
|
180
143
|
}
|
|
181
|
-
interface
|
|
144
|
+
interface AuthenticateEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema> {
|
|
182
145
|
}
|
|
183
146
|
}
|
|
184
147
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
185
|
-
interface
|
|
148
|
+
interface AuthenticateEmitTargetAndPayload {
|
|
186
149
|
/** Source. */
|
|
187
150
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
188
|
-
'
|
|
189
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayload;
|
|
151
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayload | undefined | null;
|
|
190
152
|
}
|
|
191
|
-
interface
|
|
192
|
-
id: '
|
|
153
|
+
interface AuthenticateEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
154
|
+
id: 'authenticateEmitTargetAndPayload';
|
|
193
155
|
version: 'v2020_12_25';
|
|
194
156
|
namespace: 'Mercury';
|
|
195
157
|
name: '';
|
|
@@ -203,157 +165,164 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
203
165
|
};
|
|
204
166
|
};
|
|
205
167
|
/** . */
|
|
206
|
-
'target': {
|
|
207
|
-
type: 'schema';
|
|
208
|
-
isRequired: true;
|
|
209
|
-
options: {
|
|
210
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema;
|
|
211
|
-
};
|
|
212
|
-
};
|
|
213
|
-
/** . */
|
|
214
168
|
'payload': {
|
|
215
169
|
type: 'schema';
|
|
216
|
-
isRequired: true;
|
|
217
170
|
options: {
|
|
218
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
171
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema;
|
|
219
172
|
};
|
|
220
173
|
};
|
|
221
174
|
};
|
|
222
175
|
}
|
|
223
|
-
interface
|
|
176
|
+
interface AuthenticateEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitTargetAndPayloadSchema> {
|
|
224
177
|
}
|
|
225
178
|
}
|
|
226
179
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
227
|
-
interface
|
|
228
|
-
'
|
|
229
|
-
'
|
|
230
|
-
'links'?: SpruceSchemas.Spruce.v2020_07_22.Link[] | undefined | null;
|
|
180
|
+
interface ConfirmPinRespondPayload {
|
|
181
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
182
|
+
'token': string;
|
|
231
183
|
}
|
|
232
|
-
interface
|
|
233
|
-
id: '
|
|
184
|
+
interface ConfirmPinRespondPayloadSchema extends SpruceSchema.Schema {
|
|
185
|
+
id: 'confirmPinRespondPayload';
|
|
234
186
|
version: 'v2020_12_25';
|
|
235
187
|
namespace: 'Mercury';
|
|
236
188
|
name: '';
|
|
237
189
|
fields: {
|
|
238
190
|
/** . */
|
|
239
|
-
'
|
|
240
|
-
type: '
|
|
241
|
-
|
|
242
|
-
options:
|
|
191
|
+
'person': {
|
|
192
|
+
type: 'schema';
|
|
193
|
+
isRequired: true;
|
|
194
|
+
options: {
|
|
195
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
196
|
+
};
|
|
243
197
|
};
|
|
244
198
|
/** . */
|
|
245
|
-
'
|
|
199
|
+
'token': {
|
|
246
200
|
type: 'text';
|
|
247
|
-
|
|
201
|
+
isRequired: true;
|
|
248
202
|
options: undefined;
|
|
249
203
|
};
|
|
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
204
|
};
|
|
260
205
|
}
|
|
261
|
-
interface
|
|
206
|
+
interface ConfirmPinRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinRespondPayloadSchema> {
|
|
262
207
|
}
|
|
263
208
|
}
|
|
264
209
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
265
|
-
interface
|
|
266
|
-
'
|
|
210
|
+
interface AuthSchema {
|
|
211
|
+
'person'?: SpruceSchemas.Spruce.v2020_07_22.Person | undefined | null;
|
|
212
|
+
'skill'?: SpruceSchemas.Spruce.v2020_07_22.Skill | undefined | null;
|
|
267
213
|
}
|
|
268
|
-
interface
|
|
269
|
-
id: '
|
|
214
|
+
interface AuthSchemaSchema extends SpruceSchema.Schema {
|
|
215
|
+
id: 'authSchema';
|
|
270
216
|
version: 'v2020_12_25';
|
|
271
217
|
namespace: 'Mercury';
|
|
272
218
|
name: '';
|
|
273
219
|
fields: {
|
|
274
220
|
/** . */
|
|
275
|
-
'
|
|
221
|
+
'person': {
|
|
276
222
|
type: 'schema';
|
|
277
223
|
options: {
|
|
278
|
-
schema: SpruceSchemas.
|
|
224
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
/** . */
|
|
228
|
+
'skill': {
|
|
229
|
+
type: 'schema';
|
|
230
|
+
options: {
|
|
231
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.SkillSchema;
|
|
279
232
|
};
|
|
280
233
|
};
|
|
281
234
|
};
|
|
282
235
|
}
|
|
283
|
-
interface
|
|
236
|
+
interface AuthSchemaEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema> {
|
|
284
237
|
}
|
|
285
238
|
}
|
|
286
239
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
287
|
-
interface
|
|
288
|
-
'
|
|
289
|
-
'
|
|
240
|
+
interface AuthenticateResponsePayload {
|
|
241
|
+
'type': ("authenticated" | "anonymous");
|
|
242
|
+
'auth': SpruceSchemas.Mercury.v2020_12_25.AuthSchema;
|
|
290
243
|
}
|
|
291
|
-
interface
|
|
292
|
-
id: '
|
|
244
|
+
interface AuthenticateResponsePayloadSchema extends SpruceSchema.Schema {
|
|
245
|
+
id: 'authenticateResponsePayload';
|
|
293
246
|
version: 'v2020_12_25';
|
|
294
247
|
namespace: 'Mercury';
|
|
295
248
|
name: '';
|
|
296
249
|
fields: {
|
|
297
250
|
/** . */
|
|
298
|
-
'
|
|
299
|
-
type: '
|
|
251
|
+
'type': {
|
|
252
|
+
type: 'select';
|
|
300
253
|
isRequired: true;
|
|
301
|
-
options:
|
|
254
|
+
options: {
|
|
255
|
+
choices: [{
|
|
256
|
+
"value": "authenticated";
|
|
257
|
+
"label": "Authenticated";
|
|
258
|
+
}, {
|
|
259
|
+
"value": "anonymous";
|
|
260
|
+
"label": "Anonymous";
|
|
261
|
+
}];
|
|
262
|
+
};
|
|
302
263
|
};
|
|
303
264
|
/** . */
|
|
304
|
-
'
|
|
305
|
-
type: '
|
|
306
|
-
|
|
265
|
+
'auth': {
|
|
266
|
+
type: 'schema';
|
|
267
|
+
isRequired: true;
|
|
268
|
+
options: {
|
|
269
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema;
|
|
270
|
+
};
|
|
307
271
|
};
|
|
308
272
|
};
|
|
309
273
|
}
|
|
310
|
-
interface
|
|
274
|
+
interface AuthenticateResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateResponsePayloadSchema> {
|
|
311
275
|
}
|
|
312
276
|
}
|
|
313
277
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
314
|
-
interface
|
|
315
|
-
'
|
|
316
|
-
'
|
|
317
|
-
'isLastRole': boolean;
|
|
278
|
+
interface CanListenEmitPayload {
|
|
279
|
+
'authorizerStatuses'?: ("clockedIn" | "clockedOut" | "onPrem" | "offPrem") | undefined | null;
|
|
280
|
+
'fullyQualifiedEventName': string;
|
|
318
281
|
}
|
|
319
|
-
interface
|
|
320
|
-
id: '
|
|
282
|
+
interface CanListenEmitPayloadSchema extends SpruceSchema.Schema {
|
|
283
|
+
id: 'canListenEmitPayload';
|
|
321
284
|
version: 'v2020_12_25';
|
|
322
285
|
namespace: 'Mercury';
|
|
323
286
|
name: '';
|
|
324
287
|
fields: {
|
|
325
288
|
/** . */
|
|
326
|
-
'
|
|
327
|
-
type: '
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
289
|
+
'authorizerStatuses': {
|
|
290
|
+
type: 'select';
|
|
291
|
+
options: {
|
|
292
|
+
choices: [{
|
|
293
|
+
"label": "Clocked in";
|
|
294
|
+
"value": "clockedIn";
|
|
295
|
+
}, {
|
|
296
|
+
"label": "Clocked out";
|
|
297
|
+
"value": "clockedOut";
|
|
298
|
+
}, {
|
|
299
|
+
"label": "On premises";
|
|
300
|
+
"value": "onPrem";
|
|
301
|
+
}, {
|
|
302
|
+
"label": "Off premises";
|
|
303
|
+
"value": "offPrem";
|
|
304
|
+
}];
|
|
305
|
+
};
|
|
336
306
|
};
|
|
337
307
|
/** . */
|
|
338
|
-
'
|
|
339
|
-
type: '
|
|
308
|
+
'fullyQualifiedEventName': {
|
|
309
|
+
type: 'text';
|
|
340
310
|
isRequired: true;
|
|
341
311
|
options: undefined;
|
|
342
312
|
};
|
|
343
313
|
};
|
|
344
314
|
}
|
|
345
|
-
interface
|
|
315
|
+
interface CanListenEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema> {
|
|
346
316
|
}
|
|
347
317
|
}
|
|
348
318
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
349
|
-
interface
|
|
319
|
+
interface CanListenEmitTargetAndPayload {
|
|
350
320
|
/** Source. */
|
|
351
321
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
352
|
-
'
|
|
353
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayload;
|
|
322
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayload;
|
|
354
323
|
}
|
|
355
|
-
interface
|
|
356
|
-
id: '
|
|
324
|
+
interface CanListenEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
325
|
+
id: 'canListenEmitTargetAndPayload';
|
|
357
326
|
version: 'v2020_12_25';
|
|
358
327
|
namespace: 'Mercury';
|
|
359
328
|
name: '';
|
|
@@ -367,83 +336,74 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
367
336
|
};
|
|
368
337
|
};
|
|
369
338
|
/** . */
|
|
370
|
-
'target': {
|
|
371
|
-
type: 'schema';
|
|
372
|
-
isRequired: true;
|
|
373
|
-
options: {
|
|
374
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema;
|
|
375
|
-
};
|
|
376
|
-
};
|
|
377
|
-
/** . */
|
|
378
339
|
'payload': {
|
|
379
340
|
type: 'schema';
|
|
380
341
|
isRequired: true;
|
|
381
342
|
options: {
|
|
382
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
343
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema;
|
|
383
344
|
};
|
|
384
345
|
};
|
|
385
346
|
};
|
|
386
347
|
}
|
|
387
|
-
interface
|
|
348
|
+
interface CanListenEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitTargetAndPayloadSchema> {
|
|
388
349
|
}
|
|
389
350
|
}
|
|
390
351
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
391
|
-
interface
|
|
352
|
+
interface CanListenResponsePayload {
|
|
353
|
+
'can'?: boolean | undefined | null;
|
|
392
354
|
}
|
|
393
|
-
interface
|
|
394
|
-
id: '
|
|
355
|
+
interface CanListenResponsePayloadSchema extends SpruceSchema.Schema {
|
|
356
|
+
id: 'canListenResponsePayload';
|
|
395
357
|
version: 'v2020_12_25';
|
|
396
358
|
namespace: 'Mercury';
|
|
397
359
|
name: '';
|
|
398
|
-
fields: {
|
|
360
|
+
fields: {
|
|
361
|
+
/** . */
|
|
362
|
+
'can': {
|
|
363
|
+
type: 'boolean';
|
|
364
|
+
options: undefined;
|
|
365
|
+
};
|
|
366
|
+
};
|
|
399
367
|
}
|
|
400
|
-
interface
|
|
368
|
+
interface CanListenResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenResponsePayloadSchema> {
|
|
401
369
|
}
|
|
402
370
|
}
|
|
403
371
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
404
|
-
interface
|
|
405
|
-
'
|
|
406
|
-
'
|
|
407
|
-
'topic'?: string | undefined | null;
|
|
372
|
+
interface ConfirmPinEmitPayload {
|
|
373
|
+
'challenge': string;
|
|
374
|
+
'pin': string;
|
|
408
375
|
}
|
|
409
|
-
interface
|
|
410
|
-
id: '
|
|
376
|
+
interface ConfirmPinEmitPayloadSchema extends SpruceSchema.Schema {
|
|
377
|
+
id: 'confirmPinEmitPayload';
|
|
411
378
|
version: 'v2020_12_25';
|
|
412
379
|
namespace: 'Mercury';
|
|
413
380
|
name: '';
|
|
414
381
|
fields: {
|
|
415
382
|
/** . */
|
|
416
|
-
'
|
|
417
|
-
type: 'schema';
|
|
418
|
-
isRequired: true;
|
|
419
|
-
options: {
|
|
420
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.MessageSchema;
|
|
421
|
-
};
|
|
422
|
-
};
|
|
423
|
-
/** . */
|
|
424
|
-
'conversationState': {
|
|
383
|
+
'challenge': {
|
|
425
384
|
type: 'text';
|
|
385
|
+
isRequired: true;
|
|
426
386
|
options: undefined;
|
|
427
387
|
};
|
|
428
388
|
/** . */
|
|
429
|
-
'
|
|
389
|
+
'pin': {
|
|
430
390
|
type: 'text';
|
|
391
|
+
isRequired: true;
|
|
431
392
|
options: undefined;
|
|
432
393
|
};
|
|
433
394
|
};
|
|
434
395
|
}
|
|
435
|
-
interface
|
|
396
|
+
interface ConfirmPinEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema> {
|
|
436
397
|
}
|
|
437
398
|
}
|
|
438
399
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
439
|
-
interface
|
|
400
|
+
interface ConfirmPinEmitTargetAndPayload {
|
|
440
401
|
/** Source. */
|
|
441
402
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
442
|
-
'
|
|
443
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayload;
|
|
403
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayload;
|
|
444
404
|
}
|
|
445
|
-
interface
|
|
446
|
-
id: '
|
|
405
|
+
interface ConfirmPinEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
406
|
+
id: 'confirmPinEmitTargetAndPayload';
|
|
447
407
|
version: 'v2020_12_25';
|
|
448
408
|
namespace: 'Mercury';
|
|
449
409
|
name: '';
|
|
@@ -457,1117 +417,94 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
457
417
|
};
|
|
458
418
|
};
|
|
459
419
|
/** . */
|
|
460
|
-
'target': {
|
|
461
|
-
type: 'schema';
|
|
462
|
-
options: {
|
|
463
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.MessageTargetSchema;
|
|
464
|
-
};
|
|
465
|
-
};
|
|
466
|
-
/** . */
|
|
467
420
|
'payload': {
|
|
468
421
|
type: 'schema';
|
|
469
422
|
isRequired: true;
|
|
470
423
|
options: {
|
|
471
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
424
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema;
|
|
472
425
|
};
|
|
473
426
|
};
|
|
474
427
|
};
|
|
475
428
|
}
|
|
476
|
-
interface
|
|
429
|
+
interface ConfirmPinEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitTargetAndPayloadSchema> {
|
|
477
430
|
}
|
|
478
431
|
}
|
|
479
432
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
480
|
-
interface
|
|
481
|
-
'
|
|
482
|
-
'confidence': number;
|
|
483
|
-
'label': string;
|
|
433
|
+
interface CreateLocationEmitTarget {
|
|
434
|
+
'organizationId': string;
|
|
484
435
|
}
|
|
485
|
-
interface
|
|
486
|
-
id: '
|
|
436
|
+
interface CreateLocationEmitTargetSchema extends SpruceSchema.Schema {
|
|
437
|
+
id: 'createLocationEmitTarget';
|
|
487
438
|
version: 'v2020_12_25';
|
|
488
439
|
namespace: 'Mercury';
|
|
489
440
|
name: '';
|
|
490
441
|
fields: {
|
|
491
442
|
/** . */
|
|
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';
|
|
443
|
+
'organizationId': {
|
|
444
|
+
type: 'id';
|
|
506
445
|
isRequired: true;
|
|
507
446
|
options: undefined;
|
|
508
447
|
};
|
|
509
448
|
};
|
|
510
449
|
}
|
|
511
|
-
interface
|
|
450
|
+
interface CreateLocationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CreateLocationEmitTargetSchema> {
|
|
512
451
|
}
|
|
513
452
|
}
|
|
514
453
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
515
|
-
interface
|
|
516
|
-
|
|
517
|
-
'
|
|
518
|
-
|
|
519
|
-
'
|
|
520
|
-
|
|
454
|
+
interface CreateLocationEmitPayload {
|
|
455
|
+
/** Name. */
|
|
456
|
+
'name': string;
|
|
457
|
+
/** Store number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
458
|
+
'num'?: string | undefined | null;
|
|
459
|
+
/** Public. Is this location viewable by guests? */
|
|
460
|
+
'isPublic'?: boolean | undefined | null;
|
|
461
|
+
/** Main Phone. */
|
|
462
|
+
'phone'?: string | undefined | null;
|
|
463
|
+
/** Timezone. */
|
|
464
|
+
'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;
|
|
465
|
+
/** Address. */
|
|
466
|
+
'address': SpruceSchema.AddressFieldValue;
|
|
467
|
+
'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
468
|
+
'slug'?: string | undefined | null;
|
|
521
469
|
}
|
|
522
|
-
interface
|
|
523
|
-
id: '
|
|
470
|
+
interface CreateLocationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
471
|
+
id: 'createLocationEmitPayload';
|
|
524
472
|
version: 'v2020_12_25';
|
|
525
473
|
namespace: 'Mercury';
|
|
526
474
|
name: '';
|
|
527
475
|
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': {
|
|
476
|
+
/** Name. */
|
|
477
|
+
'name': {
|
|
478
|
+
label: 'Name';
|
|
549
479
|
type: 'text';
|
|
550
|
-
|
|
480
|
+
isRequired: true;
|
|
551
481
|
options: undefined;
|
|
552
482
|
};
|
|
553
|
-
/** . */
|
|
554
|
-
'
|
|
483
|
+
/** Store number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
484
|
+
'num': {
|
|
485
|
+
label: 'Store number';
|
|
555
486
|
type: 'text';
|
|
556
|
-
|
|
487
|
+
hint: 'You can use other symbols, like # or dashes. #123 or 32-US-5';
|
|
557
488
|
options: undefined;
|
|
558
489
|
};
|
|
559
|
-
/** . */
|
|
560
|
-
'
|
|
561
|
-
|
|
490
|
+
/** Public. Is this location viewable by guests? */
|
|
491
|
+
'isPublic': {
|
|
492
|
+
label: 'Public';
|
|
493
|
+
type: 'boolean';
|
|
494
|
+
hint: 'Is this location viewable by guests?';
|
|
495
|
+
defaultValue: false;
|
|
562
496
|
options: undefined;
|
|
563
497
|
};
|
|
564
|
-
/** . */
|
|
565
|
-
'
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
options:
|
|
569
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema;
|
|
570
|
-
};
|
|
498
|
+
/** Main Phone. */
|
|
499
|
+
'phone': {
|
|
500
|
+
label: 'Main Phone';
|
|
501
|
+
type: 'phone';
|
|
502
|
+
options: undefined;
|
|
571
503
|
};
|
|
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
|
-
/** Store 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
|
-
/** Store number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
1547
|
-
'num': {
|
|
1548
|
-
label: 'Store 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';
|
|
504
|
+
/** Timezone. */
|
|
505
|
+
'timezone': {
|
|
506
|
+
label: 'Timezone';
|
|
507
|
+
type: 'select';
|
|
1571
508
|
options: {
|
|
1572
509
|
choices: [{
|
|
1573
510
|
"value": "Pacific/Niue";
|
|
@@ -4607,126 +3544,43 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4607
3544
|
isRequired: true;
|
|
4608
3545
|
isArray: true;
|
|
4609
3546
|
options: {
|
|
4610
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.GetConversationTopicsTopicSchema;
|
|
4611
|
-
};
|
|
4612
|
-
};
|
|
4613
|
-
};
|
|
4614
|
-
}
|
|
4615
|
-
interface GetConversationTopicsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetConversationTopicsResponsePayloadSchema> {
|
|
4616
|
-
}
|
|
4617
|
-
}
|
|
4618
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4619
|
-
interface GetEventContractsTarget {
|
|
4620
|
-
'namespaces'?: string[] | undefined | null;
|
|
4621
|
-
}
|
|
4622
|
-
interface GetEventContractsTargetSchema extends SpruceSchema.Schema {
|
|
4623
|
-
id: 'getEventContractsTarget';
|
|
4624
|
-
version: 'v2020_12_25';
|
|
4625
|
-
namespace: 'Mercury';
|
|
4626
|
-
name: '';
|
|
4627
|
-
fields: {
|
|
4628
|
-
/** . */
|
|
4629
|
-
'namespaces': {
|
|
4630
|
-
type: 'id';
|
|
4631
|
-
isArray: true;
|
|
4632
|
-
options: undefined;
|
|
4633
|
-
};
|
|
4634
|
-
};
|
|
4635
|
-
}
|
|
4636
|
-
interface GetEventContractsTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetEventContractsTargetSchema> {
|
|
4637
|
-
}
|
|
4638
|
-
}
|
|
4639
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4640
|
-
interface GetEventContractsEmitTargetAndPayload {
|
|
4641
|
-
/** Source. */
|
|
4642
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
4643
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.GetEventContractsTarget | undefined | null;
|
|
4644
|
-
}
|
|
4645
|
-
interface GetEventContractsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
4646
|
-
id: 'getEventContractsEmitTargetAndPayload';
|
|
4647
|
-
version: 'v2020_12_25';
|
|
4648
|
-
namespace: 'Mercury';
|
|
4649
|
-
name: '';
|
|
4650
|
-
fields: {
|
|
4651
|
-
/** Source. */
|
|
4652
|
-
'source': {
|
|
4653
|
-
label: 'Source';
|
|
4654
|
-
type: 'schema';
|
|
4655
|
-
options: {
|
|
4656
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
4657
|
-
};
|
|
4658
|
-
};
|
|
4659
|
-
/** . */
|
|
4660
|
-
'target': {
|
|
4661
|
-
type: 'schema';
|
|
4662
|
-
options: {
|
|
4663
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.GetEventContractsTargetSchema;
|
|
4664
|
-
};
|
|
4665
|
-
};
|
|
4666
|
-
};
|
|
4667
|
-
}
|
|
4668
|
-
interface GetEventContractsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetEventContractsEmitTargetAndPayloadSchema> {
|
|
4669
|
-
}
|
|
4670
|
-
}
|
|
4671
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4672
|
-
interface GetEventContractsResponsePayload {
|
|
4673
|
-
'contracts': SpruceSchemas.Mercury.v2020_12_25.EventContract[];
|
|
4674
|
-
}
|
|
4675
|
-
interface GetEventContractsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
4676
|
-
id: 'getEventContractsResponsePayload';
|
|
4677
|
-
version: 'v2020_12_25';
|
|
4678
|
-
namespace: 'Mercury';
|
|
4679
|
-
name: '';
|
|
4680
|
-
fields: {
|
|
4681
|
-
/** . */
|
|
4682
|
-
'contracts': {
|
|
4683
|
-
type: 'schema';
|
|
4684
|
-
isRequired: true;
|
|
4685
|
-
isArray: true;
|
|
4686
|
-
options: {
|
|
4687
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.EventContractSchema;
|
|
3547
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.GetConversationTopicsTopicSchema;
|
|
4688
3548
|
};
|
|
4689
3549
|
};
|
|
4690
3550
|
};
|
|
4691
3551
|
}
|
|
4692
|
-
interface
|
|
3552
|
+
interface GetConversationTopicsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetConversationTopicsResponsePayloadSchema> {
|
|
4693
3553
|
}
|
|
4694
3554
|
}
|
|
4695
3555
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4696
|
-
interface
|
|
4697
|
-
'
|
|
4698
|
-
'organizationId'?: string | undefined | null;
|
|
3556
|
+
interface GetEventContractsTarget {
|
|
3557
|
+
'namespaces'?: string[] | undefined | null;
|
|
4699
3558
|
}
|
|
4700
|
-
interface
|
|
4701
|
-
id: '
|
|
3559
|
+
interface GetEventContractsTargetSchema extends SpruceSchema.Schema {
|
|
3560
|
+
id: 'getEventContractsTarget';
|
|
4702
3561
|
version: 'v2020_12_25';
|
|
4703
3562
|
namespace: 'Mercury';
|
|
4704
3563
|
name: '';
|
|
4705
3564
|
fields: {
|
|
4706
3565
|
/** . */
|
|
4707
|
-
'
|
|
4708
|
-
type: 'id';
|
|
4709
|
-
options: undefined;
|
|
4710
|
-
};
|
|
4711
|
-
/** . */
|
|
4712
|
-
'organizationId': {
|
|
3566
|
+
'namespaces': {
|
|
4713
3567
|
type: 'id';
|
|
3568
|
+
isArray: true;
|
|
4714
3569
|
options: undefined;
|
|
4715
3570
|
};
|
|
4716
3571
|
};
|
|
4717
3572
|
}
|
|
4718
|
-
interface
|
|
3573
|
+
interface GetEventContractsTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetEventContractsTargetSchema> {
|
|
4719
3574
|
}
|
|
4720
3575
|
}
|
|
4721
3576
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4722
|
-
interface
|
|
3577
|
+
interface GetEventContractsEmitTargetAndPayload {
|
|
4723
3578
|
/** Source. */
|
|
4724
3579
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
4725
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.
|
|
4726
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitPayload;
|
|
3580
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.GetEventContractsTarget | undefined | null;
|
|
4727
3581
|
}
|
|
4728
|
-
interface
|
|
4729
|
-
id: '
|
|
3582
|
+
interface GetEventContractsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
3583
|
+
id: 'getEventContractsEmitTargetAndPayload';
|
|
4730
3584
|
version: 'v2020_12_25';
|
|
4731
3585
|
namespace: 'Mercury';
|
|
4732
3586
|
name: '';
|
|
@@ -4743,20 +3597,36 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4743
3597
|
'target': {
|
|
4744
3598
|
type: 'schema';
|
|
4745
3599
|
options: {
|
|
4746
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
3600
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.GetEventContractsTargetSchema;
|
|
4747
3601
|
};
|
|
4748
3602
|
};
|
|
3603
|
+
};
|
|
3604
|
+
}
|
|
3605
|
+
interface GetEventContractsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetEventContractsEmitTargetAndPayloadSchema> {
|
|
3606
|
+
}
|
|
3607
|
+
}
|
|
3608
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
3609
|
+
interface GetEventContractsResponsePayload {
|
|
3610
|
+
'contracts': SpruceSchemas.Mercury.v2020_12_25.EventContract[];
|
|
3611
|
+
}
|
|
3612
|
+
interface GetEventContractsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
3613
|
+
id: 'getEventContractsResponsePayload';
|
|
3614
|
+
version: 'v2020_12_25';
|
|
3615
|
+
namespace: 'Mercury';
|
|
3616
|
+
name: '';
|
|
3617
|
+
fields: {
|
|
4749
3618
|
/** . */
|
|
4750
|
-
'
|
|
3619
|
+
'contracts': {
|
|
4751
3620
|
type: 'schema';
|
|
4752
3621
|
isRequired: true;
|
|
3622
|
+
isArray: true;
|
|
4753
3623
|
options: {
|
|
4754
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
3624
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.EventContractSchema;
|
|
4755
3625
|
};
|
|
4756
3626
|
};
|
|
4757
3627
|
};
|
|
4758
3628
|
}
|
|
4759
|
-
interface
|
|
3629
|
+
interface GetEventContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetEventContractsResponsePayloadSchema> {
|
|
4760
3630
|
}
|
|
4761
3631
|
}
|
|
4762
3632
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
@@ -4848,6 +3718,73 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4848
3718
|
interface GetFeedEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitPayloadSchema> {
|
|
4849
3719
|
}
|
|
4850
3720
|
}
|
|
3721
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
3722
|
+
interface GetFeedEmitTarget {
|
|
3723
|
+
'locationId'?: string | undefined | null;
|
|
3724
|
+
'organizationId'?: string | undefined | null;
|
|
3725
|
+
}
|
|
3726
|
+
interface GetFeedEmitTargetSchema extends SpruceSchema.Schema {
|
|
3727
|
+
id: 'getFeedEmitTarget';
|
|
3728
|
+
version: 'v2020_12_25';
|
|
3729
|
+
namespace: 'Mercury';
|
|
3730
|
+
name: '';
|
|
3731
|
+
fields: {
|
|
3732
|
+
/** . */
|
|
3733
|
+
'locationId': {
|
|
3734
|
+
type: 'id';
|
|
3735
|
+
options: undefined;
|
|
3736
|
+
};
|
|
3737
|
+
/** . */
|
|
3738
|
+
'organizationId': {
|
|
3739
|
+
type: 'id';
|
|
3740
|
+
options: undefined;
|
|
3741
|
+
};
|
|
3742
|
+
};
|
|
3743
|
+
}
|
|
3744
|
+
interface GetFeedEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitTargetSchema> {
|
|
3745
|
+
}
|
|
3746
|
+
}
|
|
3747
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
3748
|
+
interface GetFeedEmitTargetAndPayload {
|
|
3749
|
+
/** Source. */
|
|
3750
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
3751
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitTarget | undefined | null;
|
|
3752
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitPayload;
|
|
3753
|
+
}
|
|
3754
|
+
interface GetFeedEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
3755
|
+
id: 'getFeedEmitTargetAndPayload';
|
|
3756
|
+
version: 'v2020_12_25';
|
|
3757
|
+
namespace: 'Mercury';
|
|
3758
|
+
name: '';
|
|
3759
|
+
fields: {
|
|
3760
|
+
/** Source. */
|
|
3761
|
+
'source': {
|
|
3762
|
+
label: 'Source';
|
|
3763
|
+
type: 'schema';
|
|
3764
|
+
options: {
|
|
3765
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
3766
|
+
};
|
|
3767
|
+
};
|
|
3768
|
+
/** . */
|
|
3769
|
+
'target': {
|
|
3770
|
+
type: 'schema';
|
|
3771
|
+
options: {
|
|
3772
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitTargetSchema;
|
|
3773
|
+
};
|
|
3774
|
+
};
|
|
3775
|
+
/** . */
|
|
3776
|
+
'payload': {
|
|
3777
|
+
type: 'schema';
|
|
3778
|
+
isRequired: true;
|
|
3779
|
+
options: {
|
|
3780
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitPayloadSchema;
|
|
3781
|
+
};
|
|
3782
|
+
};
|
|
3783
|
+
};
|
|
3784
|
+
}
|
|
3785
|
+
interface GetFeedEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitTargetAndPayloadSchema> {
|
|
3786
|
+
}
|
|
3787
|
+
}
|
|
4851
3788
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4852
3789
|
interface GetFeedResponsePayload {
|
|
4853
3790
|
'feed': SpruceSchemas.Spruce.v2020_07_22.Feed;
|
|
@@ -5854,6 +4791,47 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
5854
4791
|
interface IsSkillInstalledEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitPayloadSchema> {
|
|
5855
4792
|
}
|
|
5856
4793
|
}
|
|
4794
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4795
|
+
interface IsSkillInstalledEmitTargetAndPayload {
|
|
4796
|
+
/** Source. */
|
|
4797
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
4798
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitTarget;
|
|
4799
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitPayload | undefined | null;
|
|
4800
|
+
}
|
|
4801
|
+
interface IsSkillInstalledEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
4802
|
+
id: 'isSkillInstalledEmitTargetAndPayload';
|
|
4803
|
+
version: 'v2020_12_25';
|
|
4804
|
+
namespace: 'Mercury';
|
|
4805
|
+
name: '';
|
|
4806
|
+
fields: {
|
|
4807
|
+
/** Source. */
|
|
4808
|
+
'source': {
|
|
4809
|
+
label: 'Source';
|
|
4810
|
+
type: 'schema';
|
|
4811
|
+
options: {
|
|
4812
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
4813
|
+
};
|
|
4814
|
+
};
|
|
4815
|
+
/** . */
|
|
4816
|
+
'target': {
|
|
4817
|
+
type: 'schema';
|
|
4818
|
+
isRequired: true;
|
|
4819
|
+
options: {
|
|
4820
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitTargetSchema;
|
|
4821
|
+
};
|
|
4822
|
+
};
|
|
4823
|
+
/** . */
|
|
4824
|
+
'payload': {
|
|
4825
|
+
type: 'schema';
|
|
4826
|
+
options: {
|
|
4827
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitPayloadSchema;
|
|
4828
|
+
};
|
|
4829
|
+
};
|
|
4830
|
+
};
|
|
4831
|
+
}
|
|
4832
|
+
interface IsSkillInstalledEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.IsSkillInstalledEmitTargetAndPayloadSchema> {
|
|
4833
|
+
}
|
|
4834
|
+
}
|
|
5857
4835
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5858
4836
|
interface IsSkillInstalledResponsePayload {
|
|
5859
4837
|
'isInstalled': boolean;
|
|
@@ -6165,34 +5143,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6165
5143
|
interface ListLocationsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitTargetSchema> {
|
|
6166
5144
|
}
|
|
6167
5145
|
}
|
|
6168
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6169
|
-
interface ListLocationsEmitPayload {
|
|
6170
|
-
'shouldOnlyShowWhereIAmEmployed'?: boolean | undefined | null;
|
|
6171
|
-
'paging'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequest | undefined | null;
|
|
6172
|
-
}
|
|
6173
|
-
interface ListLocationsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
6174
|
-
id: 'listLocationsEmitPayload';
|
|
6175
|
-
version: 'v2020_12_25';
|
|
6176
|
-
namespace: 'Mercury';
|
|
6177
|
-
name: '';
|
|
6178
|
-
fields: {
|
|
6179
|
-
/** . */
|
|
6180
|
-
'shouldOnlyShowWhereIAmEmployed': {
|
|
6181
|
-
type: 'boolean';
|
|
6182
|
-
options: undefined;
|
|
6183
|
-
};
|
|
6184
|
-
/** . */
|
|
6185
|
-
'paging': {
|
|
6186
|
-
type: 'schema';
|
|
6187
|
-
options: {
|
|
6188
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequestSchema;
|
|
6189
|
-
};
|
|
6190
|
-
};
|
|
6191
|
-
};
|
|
6192
|
-
}
|
|
6193
|
-
interface ListLocationsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitPayloadSchema> {
|
|
6194
|
-
}
|
|
6195
|
-
}
|
|
6196
5146
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6197
5147
|
interface ListLocationsEmitTargetAndPayload {
|
|
6198
5148
|
/** Source. */
|
|
@@ -6292,6 +5242,34 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6292
5242
|
interface ListOrgsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTargetSchema> {
|
|
6293
5243
|
}
|
|
6294
5244
|
}
|
|
5245
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5246
|
+
interface ListLocationsEmitPayload {
|
|
5247
|
+
'shouldOnlyShowWhereIAmEmployed'?: boolean | undefined | null;
|
|
5248
|
+
'paging'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequest | undefined | null;
|
|
5249
|
+
}
|
|
5250
|
+
interface ListLocationsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
5251
|
+
id: 'listLocationsEmitPayload';
|
|
5252
|
+
version: 'v2020_12_25';
|
|
5253
|
+
namespace: 'Mercury';
|
|
5254
|
+
name: '';
|
|
5255
|
+
fields: {
|
|
5256
|
+
/** . */
|
|
5257
|
+
'shouldOnlyShowWhereIAmEmployed': {
|
|
5258
|
+
type: 'boolean';
|
|
5259
|
+
options: undefined;
|
|
5260
|
+
};
|
|
5261
|
+
/** . */
|
|
5262
|
+
'paging': {
|
|
5263
|
+
type: 'schema';
|
|
5264
|
+
options: {
|
|
5265
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequestSchema;
|
|
5266
|
+
};
|
|
5267
|
+
};
|
|
5268
|
+
};
|
|
5269
|
+
}
|
|
5270
|
+
interface ListLocationsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitPayloadSchema> {
|
|
5271
|
+
}
|
|
5272
|
+
}
|
|
6295
5273
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6296
5274
|
interface ListOrgsEmitPayload {
|
|
6297
5275
|
'shouldOnlyShowMine'?: boolean | undefined | null;
|
|
@@ -8336,16 +7314,54 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8336
7314
|
};
|
|
8337
7315
|
};
|
|
8338
7316
|
}
|
|
8339
|
-
interface LoginResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.LoginResponsePayloadSchema> {
|
|
7317
|
+
interface LoginResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.LoginResponsePayloadSchema> {
|
|
7318
|
+
}
|
|
7319
|
+
}
|
|
7320
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7321
|
+
interface LogoutEmitTargetAndPayload {
|
|
7322
|
+
/** Source. */
|
|
7323
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
7324
|
+
}
|
|
7325
|
+
interface LogoutEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
7326
|
+
id: 'logoutEmitTargetAndPayload';
|
|
7327
|
+
version: 'v2020_12_25';
|
|
7328
|
+
namespace: 'Mercury';
|
|
7329
|
+
name: '';
|
|
7330
|
+
fields: {
|
|
7331
|
+
/** Source. */
|
|
7332
|
+
'source': {
|
|
7333
|
+
label: 'Source';
|
|
7334
|
+
type: 'schema';
|
|
7335
|
+
options: {
|
|
7336
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
7337
|
+
};
|
|
7338
|
+
};
|
|
7339
|
+
};
|
|
7340
|
+
}
|
|
7341
|
+
interface LogoutEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.LogoutEmitTargetAndPayloadSchema> {
|
|
7342
|
+
}
|
|
7343
|
+
}
|
|
7344
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7345
|
+
interface LogoutResponsePayload {
|
|
7346
|
+
}
|
|
7347
|
+
interface LogoutResponsePayloadSchema extends SpruceSchema.Schema {
|
|
7348
|
+
id: 'logoutResponsePayload';
|
|
7349
|
+
version: 'v2020_12_25';
|
|
7350
|
+
namespace: 'Mercury';
|
|
7351
|
+
name: '';
|
|
7352
|
+
fields: {};
|
|
7353
|
+
}
|
|
7354
|
+
interface LogoutResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.LogoutResponsePayloadSchema> {
|
|
8340
7355
|
}
|
|
8341
7356
|
}
|
|
8342
7357
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8343
|
-
interface
|
|
7358
|
+
interface RegisterConversationTopicsEmitTargetAndPayload {
|
|
8344
7359
|
/** Source. */
|
|
8345
7360
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
7361
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitPayload;
|
|
8346
7362
|
}
|
|
8347
|
-
interface
|
|
8348
|
-
id: '
|
|
7363
|
+
interface RegisterConversationTopicsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
7364
|
+
id: 'registerConversationTopicsEmitTargetAndPayload';
|
|
8349
7365
|
version: 'v2020_12_25';
|
|
8350
7366
|
namespace: 'Mercury';
|
|
8351
7367
|
name: '';
|
|
@@ -8358,22 +7374,17 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8358
7374
|
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
8359
7375
|
};
|
|
8360
7376
|
};
|
|
7377
|
+
/** . */
|
|
7378
|
+
'payload': {
|
|
7379
|
+
type: 'schema';
|
|
7380
|
+
isRequired: true;
|
|
7381
|
+
options: {
|
|
7382
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitPayloadSchema;
|
|
7383
|
+
};
|
|
7384
|
+
};
|
|
8361
7385
|
};
|
|
8362
7386
|
}
|
|
8363
|
-
interface
|
|
8364
|
-
}
|
|
8365
|
-
}
|
|
8366
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8367
|
-
interface LogoutResponsePayload {
|
|
8368
|
-
}
|
|
8369
|
-
interface LogoutResponsePayloadSchema extends SpruceSchema.Schema {
|
|
8370
|
-
id: 'logoutResponsePayload';
|
|
8371
|
-
version: 'v2020_12_25';
|
|
8372
|
-
namespace: 'Mercury';
|
|
8373
|
-
name: '';
|
|
8374
|
-
fields: {};
|
|
8375
|
-
}
|
|
8376
|
-
interface LogoutResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.LogoutResponsePayloadSchema> {
|
|
7387
|
+
interface RegisterConversationTopicsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitTargetAndPayloadSchema> {
|
|
8377
7388
|
}
|
|
8378
7389
|
}
|
|
8379
7390
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
@@ -8424,39 +7435,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8424
7435
|
interface RegisterConversationTopicsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitPayloadSchema> {
|
|
8425
7436
|
}
|
|
8426
7437
|
}
|
|
8427
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8428
|
-
interface RegisterConversationTopicsEmitTargetAndPayload {
|
|
8429
|
-
/** Source. */
|
|
8430
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8431
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitPayload;
|
|
8432
|
-
}
|
|
8433
|
-
interface RegisterConversationTopicsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8434
|
-
id: 'registerConversationTopicsEmitTargetAndPayload';
|
|
8435
|
-
version: 'v2020_12_25';
|
|
8436
|
-
namespace: 'Mercury';
|
|
8437
|
-
name: '';
|
|
8438
|
-
fields: {
|
|
8439
|
-
/** Source. */
|
|
8440
|
-
'source': {
|
|
8441
|
-
label: 'Source';
|
|
8442
|
-
type: 'schema';
|
|
8443
|
-
options: {
|
|
8444
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
8445
|
-
};
|
|
8446
|
-
};
|
|
8447
|
-
/** . */
|
|
8448
|
-
'payload': {
|
|
8449
|
-
type: 'schema';
|
|
8450
|
-
isRequired: true;
|
|
8451
|
-
options: {
|
|
8452
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitPayloadSchema;
|
|
8453
|
-
};
|
|
8454
|
-
};
|
|
8455
|
-
};
|
|
8456
|
-
}
|
|
8457
|
-
interface RegisterConversationTopicsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitTargetAndPayloadSchema> {
|
|
8458
|
-
}
|
|
8459
|
-
}
|
|
8460
7438
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8461
7439
|
interface RegisterConversationTopicsResponsePayload {
|
|
8462
7440
|
}
|
|
@@ -8551,6 +7529,33 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8551
7529
|
interface RegisterEventsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterEventsResponsePayloadSchema> {
|
|
8552
7530
|
}
|
|
8553
7531
|
}
|
|
7532
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7533
|
+
interface RegisteredListener {
|
|
7534
|
+
'eventName': string;
|
|
7535
|
+
'isGlobal'?: boolean | undefined | null;
|
|
7536
|
+
}
|
|
7537
|
+
interface RegisteredListenerSchema extends SpruceSchema.Schema {
|
|
7538
|
+
id: 'registeredListener';
|
|
7539
|
+
version: 'v2020_12_25';
|
|
7540
|
+
namespace: 'Mercury';
|
|
7541
|
+
name: 'Registered listener';
|
|
7542
|
+
fields: {
|
|
7543
|
+
/** . */
|
|
7544
|
+
'eventName': {
|
|
7545
|
+
type: 'text';
|
|
7546
|
+
isRequired: true;
|
|
7547
|
+
options: undefined;
|
|
7548
|
+
};
|
|
7549
|
+
/** . */
|
|
7550
|
+
'isGlobal': {
|
|
7551
|
+
type: 'boolean';
|
|
7552
|
+
options: undefined;
|
|
7553
|
+
};
|
|
7554
|
+
};
|
|
7555
|
+
}
|
|
7556
|
+
interface RegisteredListenerEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisteredListenerSchema> {
|
|
7557
|
+
}
|
|
7558
|
+
}
|
|
8554
7559
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8555
7560
|
interface RegisterListenersEmitPayload {
|
|
8556
7561
|
'events': SpruceSchemas.Mercury.v2020_12_25.RegisteredListener[];
|
|
@@ -8615,33 +7620,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8615
7620
|
interface RegisterListenersEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterListenersEmitTargetAndPayloadSchema> {
|
|
8616
7621
|
}
|
|
8617
7622
|
}
|
|
8618
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8619
|
-
interface RegisteredListener {
|
|
8620
|
-
'eventName': string;
|
|
8621
|
-
'isGlobal'?: boolean | undefined | null;
|
|
8622
|
-
}
|
|
8623
|
-
interface RegisteredListenerSchema extends SpruceSchema.Schema {
|
|
8624
|
-
id: 'registeredListener';
|
|
8625
|
-
version: 'v2020_12_25';
|
|
8626
|
-
namespace: 'Mercury';
|
|
8627
|
-
name: 'Registered listener';
|
|
8628
|
-
fields: {
|
|
8629
|
-
/** . */
|
|
8630
|
-
'eventName': {
|
|
8631
|
-
type: 'text';
|
|
8632
|
-
isRequired: true;
|
|
8633
|
-
options: undefined;
|
|
8634
|
-
};
|
|
8635
|
-
/** . */
|
|
8636
|
-
'isGlobal': {
|
|
8637
|
-
type: 'boolean';
|
|
8638
|
-
options: undefined;
|
|
8639
|
-
};
|
|
8640
|
-
};
|
|
8641
|
-
}
|
|
8642
|
-
interface RegisteredListenerEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisteredListenerSchema> {
|
|
8643
|
-
}
|
|
8644
|
-
}
|
|
8645
7623
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8646
7624
|
interface RegisterProxyTokenEmitTargetAndPayload {
|
|
8647
7625
|
/** Source. */
|
|
@@ -8982,43 +7960,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8982
7960
|
interface RemoveRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RemoveRoleResponsePayloadSchema> {
|
|
8983
7961
|
}
|
|
8984
7962
|
}
|
|
8985
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8986
|
-
interface RequestDataDeletedEmitTargetAndPayload {
|
|
8987
|
-
/** Source. */
|
|
8988
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8989
|
-
}
|
|
8990
|
-
interface RequestDataDeletedEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8991
|
-
id: 'requestDataDeletedEmitTargetAndPayload';
|
|
8992
|
-
version: 'v2020_12_25';
|
|
8993
|
-
namespace: 'Mercury';
|
|
8994
|
-
name: '';
|
|
8995
|
-
fields: {
|
|
8996
|
-
/** Source. */
|
|
8997
|
-
'source': {
|
|
8998
|
-
label: 'Source';
|
|
8999
|
-
type: 'schema';
|
|
9000
|
-
options: {
|
|
9001
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
9002
|
-
};
|
|
9003
|
-
};
|
|
9004
|
-
};
|
|
9005
|
-
}
|
|
9006
|
-
interface RequestDataDeletedEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RequestDataDeletedEmitTargetAndPayloadSchema> {
|
|
9007
|
-
}
|
|
9008
|
-
}
|
|
9009
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9010
|
-
interface RequestDataDeletedRespondPayload {
|
|
9011
|
-
}
|
|
9012
|
-
interface RequestDataDeletedRespondPayloadSchema extends SpruceSchema.Schema {
|
|
9013
|
-
id: 'requestDataDeletedRespondPayload';
|
|
9014
|
-
version: 'v2020_12_25';
|
|
9015
|
-
namespace: 'Mercury';
|
|
9016
|
-
name: '';
|
|
9017
|
-
fields: {};
|
|
9018
|
-
}
|
|
9019
|
-
interface RequestDataDeletedRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RequestDataDeletedRespondPayloadSchema> {
|
|
9020
|
-
}
|
|
9021
|
-
}
|
|
9022
7963
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9023
7964
|
interface RequestPinEmitPayload {
|
|
9024
7965
|
'phone': string;
|
|
@@ -9506,6 +8447,47 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9506
8447
|
interface SendMessageTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema> {
|
|
9507
8448
|
}
|
|
9508
8449
|
}
|
|
8450
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8451
|
+
interface SendMessageEmitTargetAndPayload {
|
|
8452
|
+
/** Source. */
|
|
8453
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8454
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.SendMessageTarget | undefined | null;
|
|
8455
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayload;
|
|
8456
|
+
}
|
|
8457
|
+
interface SendMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8458
|
+
id: 'sendMessageEmitTargetAndPayload';
|
|
8459
|
+
version: 'v2020_12_25';
|
|
8460
|
+
namespace: 'Mercury';
|
|
8461
|
+
name: '';
|
|
8462
|
+
fields: {
|
|
8463
|
+
/** Source. */
|
|
8464
|
+
'source': {
|
|
8465
|
+
label: 'Source';
|
|
8466
|
+
type: 'schema';
|
|
8467
|
+
options: {
|
|
8468
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
8469
|
+
};
|
|
8470
|
+
};
|
|
8471
|
+
/** . */
|
|
8472
|
+
'target': {
|
|
8473
|
+
type: 'schema';
|
|
8474
|
+
options: {
|
|
8475
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema;
|
|
8476
|
+
};
|
|
8477
|
+
};
|
|
8478
|
+
/** . */
|
|
8479
|
+
'payload': {
|
|
8480
|
+
type: 'schema';
|
|
8481
|
+
isRequired: true;
|
|
8482
|
+
options: {
|
|
8483
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema;
|
|
8484
|
+
};
|
|
8485
|
+
};
|
|
8486
|
+
};
|
|
8487
|
+
}
|
|
8488
|
+
interface SendMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitTargetAndPayloadSchema> {
|
|
8489
|
+
}
|
|
8490
|
+
}
|
|
9509
8491
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9510
8492
|
interface SendMessageMessagePayload {
|
|
9511
8493
|
/** . An arbitrary id that can be used to track this message when being sent and not yet assigned an Id. */
|
|
@@ -9613,47 +8595,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9613
8595
|
interface SendMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema> {
|
|
9614
8596
|
}
|
|
9615
8597
|
}
|
|
9616
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9617
|
-
interface SendMessageEmitTargetAndPayload {
|
|
9618
|
-
/** Source. */
|
|
9619
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
9620
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.SendMessageTarget | undefined | null;
|
|
9621
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayload;
|
|
9622
|
-
}
|
|
9623
|
-
interface SendMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
9624
|
-
id: 'sendMessageEmitTargetAndPayload';
|
|
9625
|
-
version: 'v2020_12_25';
|
|
9626
|
-
namespace: 'Mercury';
|
|
9627
|
-
name: '';
|
|
9628
|
-
fields: {
|
|
9629
|
-
/** Source. */
|
|
9630
|
-
'source': {
|
|
9631
|
-
label: 'Source';
|
|
9632
|
-
type: 'schema';
|
|
9633
|
-
options: {
|
|
9634
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
9635
|
-
};
|
|
9636
|
-
};
|
|
9637
|
-
/** . */
|
|
9638
|
-
'target': {
|
|
9639
|
-
type: 'schema';
|
|
9640
|
-
options: {
|
|
9641
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema;
|
|
9642
|
-
};
|
|
9643
|
-
};
|
|
9644
|
-
/** . */
|
|
9645
|
-
'payload': {
|
|
9646
|
-
type: 'schema';
|
|
9647
|
-
isRequired: true;
|
|
9648
|
-
options: {
|
|
9649
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema;
|
|
9650
|
-
};
|
|
9651
|
-
};
|
|
9652
|
-
};
|
|
9653
|
-
}
|
|
9654
|
-
interface SendMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitTargetAndPayloadSchema> {
|
|
9655
|
-
}
|
|
9656
|
-
}
|
|
9657
8598
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9658
8599
|
interface SendMessageResponsePayload {
|
|
9659
8600
|
'message': SpruceSchemas.Spruce.v2020_07_22.Message;
|
|
@@ -9872,43 +8813,19 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9872
8813
|
type: 'schema';
|
|
9873
8814
|
options: {
|
|
9874
8815
|
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
9875
|
-
};
|
|
9876
|
-
};
|
|
9877
|
-
/** . */
|
|
9878
|
-
'payload': {
|
|
9879
|
-
type: 'schema';
|
|
9880
|
-
isRequired: true;
|
|
9881
|
-
options: {
|
|
9882
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SubmitErrorMessageFeedbackEmitPayloadSchema;
|
|
9883
|
-
};
|
|
9884
|
-
};
|
|
9885
|
-
};
|
|
9886
|
-
}
|
|
9887
|
-
interface SubmitErrorMessageFeedbackEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SubmitErrorMessageFeedbackEmitTargetAndPayloadSchema> {
|
|
9888
|
-
}
|
|
9889
|
-
}
|
|
9890
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9891
|
-
interface SyncEventContractsEmitPayload {
|
|
9892
|
-
'contract': SpruceSchemas.Mercury.v2020_12_25.EventContract;
|
|
9893
|
-
}
|
|
9894
|
-
interface SyncEventContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
9895
|
-
id: 'syncEventContractsEmitPayload';
|
|
9896
|
-
version: 'v2020_12_25';
|
|
9897
|
-
namespace: 'Mercury';
|
|
9898
|
-
name: '';
|
|
9899
|
-
importsWhenRemote: ['import \'@sprucelabs/mercury-types\''];
|
|
9900
|
-
fields: {
|
|
8816
|
+
};
|
|
8817
|
+
};
|
|
9901
8818
|
/** . */
|
|
9902
|
-
'
|
|
8819
|
+
'payload': {
|
|
9903
8820
|
type: 'schema';
|
|
9904
8821
|
isRequired: true;
|
|
9905
8822
|
options: {
|
|
9906
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
8823
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SubmitErrorMessageFeedbackEmitPayloadSchema;
|
|
9907
8824
|
};
|
|
9908
8825
|
};
|
|
9909
8826
|
};
|
|
9910
8827
|
}
|
|
9911
|
-
interface
|
|
8828
|
+
interface SubmitErrorMessageFeedbackEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SubmitErrorMessageFeedbackEmitTargetAndPayloadSchema> {
|
|
9912
8829
|
}
|
|
9913
8830
|
}
|
|
9914
8831
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
@@ -9944,6 +8861,30 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9944
8861
|
interface SyncEventContractsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitTargetAndPayloadSchema> {
|
|
9945
8862
|
}
|
|
9946
8863
|
}
|
|
8864
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8865
|
+
interface SyncEventContractsEmitPayload {
|
|
8866
|
+
'contract': SpruceSchemas.Mercury.v2020_12_25.EventContract;
|
|
8867
|
+
}
|
|
8868
|
+
interface SyncEventContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
8869
|
+
id: 'syncEventContractsEmitPayload';
|
|
8870
|
+
version: 'v2020_12_25';
|
|
8871
|
+
namespace: 'Mercury';
|
|
8872
|
+
name: '';
|
|
8873
|
+
importsWhenRemote: ['import \'@sprucelabs/mercury-types\''];
|
|
8874
|
+
fields: {
|
|
8875
|
+
/** . */
|
|
8876
|
+
'contract': {
|
|
8877
|
+
type: 'schema';
|
|
8878
|
+
isRequired: true;
|
|
8879
|
+
options: {
|
|
8880
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.EventContractSchema;
|
|
8881
|
+
};
|
|
8882
|
+
};
|
|
8883
|
+
};
|
|
8884
|
+
}
|
|
8885
|
+
interface SyncEventContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitPayloadSchema> {
|
|
8886
|
+
}
|
|
8887
|
+
}
|
|
9947
8888
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9948
8889
|
interface SyncEventContractsResponsePayload {
|
|
9949
8890
|
/** Event names. */
|
|
@@ -9996,31 +8937,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9996
8937
|
interface SyncPermissionContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsEmitPayloadSchema> {
|
|
9997
8938
|
}
|
|
9998
8939
|
}
|
|
9999
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
10000
|
-
interface SyncPermissionContractsResponsePayload {
|
|
10001
|
-
'contractRecords': SpruceSchemas.Mercury.v2020_12_25.FullPermissionContract[];
|
|
10002
|
-
}
|
|
10003
|
-
interface SyncPermissionContractsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
10004
|
-
id: 'syncPermissionContractsResponsePayload';
|
|
10005
|
-
version: 'v2020_12_25';
|
|
10006
|
-
namespace: 'Mercury';
|
|
10007
|
-
name: '';
|
|
10008
|
-
fields: {
|
|
10009
|
-
/** . */
|
|
10010
|
-
'contractRecords': {
|
|
10011
|
-
type: 'schema';
|
|
10012
|
-
isRequired: true;
|
|
10013
|
-
isArray: true;
|
|
10014
|
-
minArrayLength: 0;
|
|
10015
|
-
options: {
|
|
10016
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema;
|
|
10017
|
-
};
|
|
10018
|
-
};
|
|
10019
|
-
};
|
|
10020
|
-
}
|
|
10021
|
-
interface SyncPermissionContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsResponsePayloadSchema> {
|
|
10022
|
-
}
|
|
10023
|
-
}
|
|
10024
8940
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
10025
8941
|
interface SyncPermissionContractsEmitTargetAndPayload {
|
|
10026
8942
|
/** Source. */
|
|
@@ -10106,6 +9022,31 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
10106
9022
|
interface FullPermissionContractEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema> {
|
|
10107
9023
|
}
|
|
10108
9024
|
}
|
|
9025
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9026
|
+
interface SyncPermissionContractsResponsePayload {
|
|
9027
|
+
'contractRecords': SpruceSchemas.Mercury.v2020_12_25.FullPermissionContract[];
|
|
9028
|
+
}
|
|
9029
|
+
interface SyncPermissionContractsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
9030
|
+
id: 'syncPermissionContractsResponsePayload';
|
|
9031
|
+
version: 'v2020_12_25';
|
|
9032
|
+
namespace: 'Mercury';
|
|
9033
|
+
name: '';
|
|
9034
|
+
fields: {
|
|
9035
|
+
/** . */
|
|
9036
|
+
'contractRecords': {
|
|
9037
|
+
type: 'schema';
|
|
9038
|
+
isRequired: true;
|
|
9039
|
+
isArray: true;
|
|
9040
|
+
minArrayLength: 0;
|
|
9041
|
+
options: {
|
|
9042
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema;
|
|
9043
|
+
};
|
|
9044
|
+
};
|
|
9045
|
+
};
|
|
9046
|
+
}
|
|
9047
|
+
interface SyncPermissionContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsResponsePayloadSchema> {
|
|
9048
|
+
}
|
|
9049
|
+
}
|
|
10109
9050
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
10110
9051
|
interface UnInstallSkillEmitTarget {
|
|
10111
9052
|
'skillId': string;
|
|
@@ -11895,6 +10836,46 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
11895
10836
|
interface UpdatePersonEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetSchema> {
|
|
11896
10837
|
}
|
|
11897
10838
|
}
|
|
10839
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
10840
|
+
interface UpdatePersonEmitTargetAndPayload {
|
|
10841
|
+
/** Source. */
|
|
10842
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
10843
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTarget | undefined | null;
|
|
10844
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayload | undefined | null;
|
|
10845
|
+
}
|
|
10846
|
+
interface UpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
10847
|
+
id: 'updatePersonEmitTargetAndPayload';
|
|
10848
|
+
version: 'v2020_12_25';
|
|
10849
|
+
namespace: 'Mercury';
|
|
10850
|
+
name: '';
|
|
10851
|
+
fields: {
|
|
10852
|
+
/** Source. */
|
|
10853
|
+
'source': {
|
|
10854
|
+
label: 'Source';
|
|
10855
|
+
type: 'schema';
|
|
10856
|
+
options: {
|
|
10857
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
10858
|
+
};
|
|
10859
|
+
};
|
|
10860
|
+
/** . */
|
|
10861
|
+
'target': {
|
|
10862
|
+
type: 'schema';
|
|
10863
|
+
options: {
|
|
10864
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetSchema;
|
|
10865
|
+
};
|
|
10866
|
+
};
|
|
10867
|
+
/** . */
|
|
10868
|
+
'payload': {
|
|
10869
|
+
type: 'schema';
|
|
10870
|
+
options: {
|
|
10871
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema;
|
|
10872
|
+
};
|
|
10873
|
+
};
|
|
10874
|
+
};
|
|
10875
|
+
}
|
|
10876
|
+
interface UpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetAndPayloadSchema> {
|
|
10877
|
+
}
|
|
10878
|
+
}
|
|
11898
10879
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11899
10880
|
interface SecurityQuestion {
|
|
11900
10881
|
'question': string;
|
|
@@ -12983,176 +11964,1056 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12983
11964
|
}];
|
|
12984
11965
|
};
|
|
12985
11966
|
};
|
|
12986
|
-
/** Avatar src. */
|
|
12987
|
-
'avatar': {
|
|
12988
|
-
label: 'Avatar src';
|
|
12989
|
-
type: 'image';
|
|
11967
|
+
/** Avatar src. */
|
|
11968
|
+
'avatar': {
|
|
11969
|
+
label: 'Avatar src';
|
|
11970
|
+
type: 'image';
|
|
11971
|
+
options: {
|
|
11972
|
+
requiredSizes: ["*"];
|
|
11973
|
+
};
|
|
11974
|
+
};
|
|
11975
|
+
/** Phone. A number that can be texted */
|
|
11976
|
+
'phone': {
|
|
11977
|
+
label: 'Phone';
|
|
11978
|
+
type: 'phone';
|
|
11979
|
+
isPrivate: true;
|
|
11980
|
+
hint: 'A number that can be texted';
|
|
11981
|
+
options: undefined;
|
|
11982
|
+
};
|
|
11983
|
+
/** . */
|
|
11984
|
+
'password': {
|
|
11985
|
+
type: 'text';
|
|
11986
|
+
options: undefined;
|
|
11987
|
+
};
|
|
11988
|
+
/** . */
|
|
11989
|
+
'securityQuestions': {
|
|
11990
|
+
type: 'schema';
|
|
11991
|
+
isArray: true;
|
|
11992
|
+
options: {
|
|
11993
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SecurityQuestionSchema;
|
|
11994
|
+
};
|
|
11995
|
+
};
|
|
11996
|
+
};
|
|
11997
|
+
}
|
|
11998
|
+
interface UpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema> {
|
|
11999
|
+
}
|
|
12000
|
+
}
|
|
12001
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12002
|
+
interface UpdatePersonResponsePayload {
|
|
12003
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
12004
|
+
}
|
|
12005
|
+
interface UpdatePersonResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12006
|
+
id: 'updatePersonResponsePayload';
|
|
12007
|
+
version: 'v2020_12_25';
|
|
12008
|
+
namespace: 'Mercury';
|
|
12009
|
+
name: '';
|
|
12010
|
+
fields: {
|
|
12011
|
+
/** . */
|
|
12012
|
+
'person': {
|
|
12013
|
+
type: 'schema';
|
|
12014
|
+
isRequired: true;
|
|
12015
|
+
options: {
|
|
12016
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
12017
|
+
};
|
|
12018
|
+
};
|
|
12019
|
+
};
|
|
12020
|
+
}
|
|
12021
|
+
interface UpdatePersonResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonResponsePayloadSchema> {
|
|
12022
|
+
}
|
|
12023
|
+
}
|
|
12024
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12025
|
+
interface UpdateRoleEmitTarget {
|
|
12026
|
+
'roleId': string;
|
|
12027
|
+
}
|
|
12028
|
+
interface UpdateRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
12029
|
+
id: 'updateRoleEmitTarget';
|
|
12030
|
+
version: 'v2020_12_25';
|
|
12031
|
+
namespace: 'Mercury';
|
|
12032
|
+
name: '';
|
|
12033
|
+
fields: {
|
|
12034
|
+
/** . */
|
|
12035
|
+
'roleId': {
|
|
12036
|
+
type: 'id';
|
|
12037
|
+
isRequired: true;
|
|
12038
|
+
options: undefined;
|
|
12039
|
+
};
|
|
12040
|
+
};
|
|
12041
|
+
}
|
|
12042
|
+
interface UpdateRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema> {
|
|
12043
|
+
}
|
|
12044
|
+
}
|
|
12045
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12046
|
+
interface UpdateRoleEmitPayload {
|
|
12047
|
+
/** Name. */
|
|
12048
|
+
'name'?: string | undefined | null;
|
|
12049
|
+
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
12050
|
+
'base'?: ("owner" | "groupManager" | "manager" | "teammate" | "anonymous" | "loggedIn" | "guest") | undefined | null;
|
|
12051
|
+
/** Description. */
|
|
12052
|
+
'description'?: string | undefined | null;
|
|
12053
|
+
'dateDeleted'?: number | undefined | null;
|
|
12054
|
+
'organizationId'?: string | undefined | null;
|
|
12055
|
+
/** Public. Should I let people that are not part of this organization this role? */
|
|
12056
|
+
'isPublic'?: boolean | undefined | null;
|
|
12057
|
+
}
|
|
12058
|
+
interface UpdateRoleEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12059
|
+
id: 'updateRoleEmitPayload';
|
|
12060
|
+
version: 'v2020_12_25';
|
|
12061
|
+
namespace: 'Mercury';
|
|
12062
|
+
name: '';
|
|
12063
|
+
fields: {
|
|
12064
|
+
/** Name. */
|
|
12065
|
+
'name': {
|
|
12066
|
+
label: 'Name';
|
|
12067
|
+
type: 'text';
|
|
12068
|
+
options: undefined;
|
|
12069
|
+
};
|
|
12070
|
+
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
12071
|
+
'base': {
|
|
12072
|
+
label: 'Base';
|
|
12073
|
+
type: 'select';
|
|
12074
|
+
hint: 'A best practices starting point for a role based on the generalized roles at a company.';
|
|
12075
|
+
options: {
|
|
12076
|
+
choices: [{
|
|
12077
|
+
"label": "Owner";
|
|
12078
|
+
"value": "owner";
|
|
12079
|
+
}, {
|
|
12080
|
+
"label": "Group manager";
|
|
12081
|
+
"value": "groupManager";
|
|
12082
|
+
}, {
|
|
12083
|
+
"label": "Manager";
|
|
12084
|
+
"value": "manager";
|
|
12085
|
+
}, {
|
|
12086
|
+
"label": "Teammate";
|
|
12087
|
+
"value": "teammate";
|
|
12088
|
+
}, {
|
|
12089
|
+
"label": "Anonymous";
|
|
12090
|
+
"value": "anonymous";
|
|
12091
|
+
}, {
|
|
12092
|
+
"label": "Logged in";
|
|
12093
|
+
"value": "loggedIn";
|
|
12094
|
+
}, {
|
|
12095
|
+
"label": "Guest";
|
|
12096
|
+
"value": "guest";
|
|
12097
|
+
}];
|
|
12098
|
+
};
|
|
12099
|
+
};
|
|
12100
|
+
/** Description. */
|
|
12101
|
+
'description': {
|
|
12102
|
+
label: 'Description';
|
|
12103
|
+
type: 'text';
|
|
12104
|
+
options: undefined;
|
|
12105
|
+
};
|
|
12106
|
+
/** . */
|
|
12107
|
+
'dateDeleted': {
|
|
12108
|
+
type: 'number';
|
|
12109
|
+
options: undefined;
|
|
12110
|
+
};
|
|
12111
|
+
/** . */
|
|
12112
|
+
'organizationId': {
|
|
12113
|
+
type: 'id';
|
|
12114
|
+
options: undefined;
|
|
12115
|
+
};
|
|
12116
|
+
/** Public. Should I let people that are not part of this organization this role? */
|
|
12117
|
+
'isPublic': {
|
|
12118
|
+
label: 'Public';
|
|
12119
|
+
type: 'boolean';
|
|
12120
|
+
hint: 'Should I let people that are not part of this organization this role?';
|
|
12121
|
+
options: undefined;
|
|
12122
|
+
};
|
|
12123
|
+
};
|
|
12124
|
+
}
|
|
12125
|
+
interface UpdateRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema> {
|
|
12126
|
+
}
|
|
12127
|
+
}
|
|
12128
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12129
|
+
interface UpdateRoleEmitTargetAndPayload {
|
|
12130
|
+
/** Source. */
|
|
12131
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12132
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTarget;
|
|
12133
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayload | undefined | null;
|
|
12134
|
+
}
|
|
12135
|
+
interface UpdateRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12136
|
+
id: 'updateRoleEmitTargetAndPayload';
|
|
12137
|
+
version: 'v2020_12_25';
|
|
12138
|
+
namespace: 'Mercury';
|
|
12139
|
+
name: '';
|
|
12140
|
+
fields: {
|
|
12141
|
+
/** Source. */
|
|
12142
|
+
'source': {
|
|
12143
|
+
label: 'Source';
|
|
12144
|
+
type: 'schema';
|
|
12145
|
+
options: {
|
|
12146
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12147
|
+
};
|
|
12148
|
+
};
|
|
12149
|
+
/** . */
|
|
12150
|
+
'target': {
|
|
12151
|
+
type: 'schema';
|
|
12152
|
+
isRequired: true;
|
|
12153
|
+
options: {
|
|
12154
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema;
|
|
12155
|
+
};
|
|
12156
|
+
};
|
|
12157
|
+
/** . */
|
|
12158
|
+
'payload': {
|
|
12159
|
+
type: 'schema';
|
|
12160
|
+
options: {
|
|
12161
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema;
|
|
12162
|
+
};
|
|
12163
|
+
};
|
|
12164
|
+
};
|
|
12165
|
+
}
|
|
12166
|
+
interface UpdateRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetAndPayloadSchema> {
|
|
12167
|
+
}
|
|
12168
|
+
}
|
|
12169
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12170
|
+
interface UpdateRoleResponsePayload {
|
|
12171
|
+
'role': SpruceSchemas.Spruce.v2020_07_22.Role;
|
|
12172
|
+
}
|
|
12173
|
+
interface UpdateRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12174
|
+
id: 'updateRoleResponsePayload';
|
|
12175
|
+
version: 'v2020_12_25';
|
|
12176
|
+
namespace: 'Mercury';
|
|
12177
|
+
name: '';
|
|
12178
|
+
fields: {
|
|
12179
|
+
/** . */
|
|
12180
|
+
'role': {
|
|
12181
|
+
type: 'schema';
|
|
12182
|
+
isRequired: true;
|
|
12183
|
+
options: {
|
|
12184
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.RoleSchema;
|
|
12185
|
+
};
|
|
12186
|
+
};
|
|
12187
|
+
};
|
|
12188
|
+
}
|
|
12189
|
+
interface UpdateRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleResponsePayloadSchema> {
|
|
12190
|
+
}
|
|
12191
|
+
}
|
|
12192
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12193
|
+
interface UpsertPermissionContractEmitTarget {
|
|
12194
|
+
'organizationId': string;
|
|
12195
|
+
'permissionContractId': string;
|
|
12196
|
+
'roleId': string;
|
|
12197
|
+
'skillId'?: string | undefined | null;
|
|
12198
|
+
}
|
|
12199
|
+
interface UpsertPermissionContractEmitTargetSchema extends SpruceSchema.Schema {
|
|
12200
|
+
id: 'upsertPermissionContractEmitTarget';
|
|
12201
|
+
version: 'v2020_12_25';
|
|
12202
|
+
namespace: 'Mercury';
|
|
12203
|
+
name: '';
|
|
12204
|
+
fields: {
|
|
12205
|
+
/** . */
|
|
12206
|
+
'organizationId': {
|
|
12207
|
+
type: 'id';
|
|
12208
|
+
isRequired: true;
|
|
12209
|
+
options: undefined;
|
|
12210
|
+
};
|
|
12211
|
+
/** . */
|
|
12212
|
+
'permissionContractId': {
|
|
12213
|
+
type: 'id';
|
|
12214
|
+
isRequired: true;
|
|
12215
|
+
options: undefined;
|
|
12216
|
+
};
|
|
12217
|
+
/** . */
|
|
12218
|
+
'roleId': {
|
|
12219
|
+
type: 'id';
|
|
12220
|
+
isRequired: true;
|
|
12221
|
+
options: undefined;
|
|
12222
|
+
};
|
|
12223
|
+
/** . */
|
|
12224
|
+
'skillId': {
|
|
12225
|
+
type: 'id';
|
|
12226
|
+
options: undefined;
|
|
12227
|
+
};
|
|
12228
|
+
};
|
|
12229
|
+
}
|
|
12230
|
+
interface UpsertPermissionContractEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema> {
|
|
12231
|
+
}
|
|
12232
|
+
}
|
|
12233
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12234
|
+
interface UpsertPermissionContractEmitTargetAndPayload {
|
|
12235
|
+
/** Source. */
|
|
12236
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12237
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTarget;
|
|
12238
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayload;
|
|
12239
|
+
}
|
|
12240
|
+
interface UpsertPermissionContractEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12241
|
+
id: 'upsertPermissionContractEmitTargetAndPayload';
|
|
12242
|
+
version: 'v2020_12_25';
|
|
12243
|
+
namespace: 'Mercury';
|
|
12244
|
+
name: '';
|
|
12245
|
+
fields: {
|
|
12246
|
+
/** Source. */
|
|
12247
|
+
'source': {
|
|
12248
|
+
label: 'Source';
|
|
12249
|
+
type: 'schema';
|
|
12250
|
+
options: {
|
|
12251
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12252
|
+
};
|
|
12253
|
+
};
|
|
12254
|
+
/** . */
|
|
12255
|
+
'target': {
|
|
12256
|
+
type: 'schema';
|
|
12257
|
+
isRequired: true;
|
|
12258
|
+
options: {
|
|
12259
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema;
|
|
12260
|
+
};
|
|
12261
|
+
};
|
|
12262
|
+
/** . */
|
|
12263
|
+
'payload': {
|
|
12264
|
+
type: 'schema';
|
|
12265
|
+
isRequired: true;
|
|
12266
|
+
options: {
|
|
12267
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema;
|
|
12268
|
+
};
|
|
12269
|
+
};
|
|
12270
|
+
};
|
|
12271
|
+
}
|
|
12272
|
+
interface UpsertPermissionContractEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetAndPayloadSchema> {
|
|
12273
|
+
}
|
|
12274
|
+
}
|
|
12275
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12276
|
+
interface UpsertPermissionContractsEmitPayload {
|
|
12277
|
+
/** Name. Human readable name for this contract */
|
|
12278
|
+
'name': string;
|
|
12279
|
+
/** Description. */
|
|
12280
|
+
'description'?: string | undefined | null;
|
|
12281
|
+
/** Require all permissions. */
|
|
12282
|
+
'requireAllPermissions'?: boolean | undefined | null;
|
|
12283
|
+
'permissions': SpruceSchemas.Mercury.v2020_12_25.Permission[];
|
|
12284
|
+
}
|
|
12285
|
+
interface UpsertPermissionContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12286
|
+
id: 'upsertPermissionContractsEmitPayload';
|
|
12287
|
+
version: 'v2020_12_25';
|
|
12288
|
+
namespace: 'Mercury';
|
|
12289
|
+
name: '';
|
|
12290
|
+
fields: {
|
|
12291
|
+
/** Name. Human readable name for this contract */
|
|
12292
|
+
'name': {
|
|
12293
|
+
label: 'Name';
|
|
12294
|
+
type: 'text';
|
|
12295
|
+
isRequired: true;
|
|
12296
|
+
hint: 'Human readable name for this contract';
|
|
12297
|
+
options: undefined;
|
|
12298
|
+
};
|
|
12299
|
+
/** Description. */
|
|
12300
|
+
'description': {
|
|
12301
|
+
label: 'Description';
|
|
12302
|
+
type: 'text';
|
|
12303
|
+
options: undefined;
|
|
12304
|
+
};
|
|
12305
|
+
/** Require all permissions. */
|
|
12306
|
+
'requireAllPermissions': {
|
|
12307
|
+
label: 'Require all permissions';
|
|
12308
|
+
type: 'boolean';
|
|
12309
|
+
defaultValue: false;
|
|
12310
|
+
options: undefined;
|
|
12311
|
+
};
|
|
12312
|
+
/** . */
|
|
12313
|
+
'permissions': {
|
|
12314
|
+
type: 'schema';
|
|
12315
|
+
isRequired: true;
|
|
12316
|
+
isArray: true;
|
|
12317
|
+
minArrayLength: 0;
|
|
12318
|
+
options: {
|
|
12319
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionSchema;
|
|
12320
|
+
};
|
|
12321
|
+
};
|
|
12322
|
+
};
|
|
12323
|
+
}
|
|
12324
|
+
interface UpsertPermissionContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema> {
|
|
12325
|
+
}
|
|
12326
|
+
}
|
|
12327
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12328
|
+
interface UpsertPermissionContractResponsePayload {
|
|
12329
|
+
'permissionContract': SpruceSchemas.Mercury.v2020_12_25.PermissionContract;
|
|
12330
|
+
}
|
|
12331
|
+
interface UpsertPermissionContractResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12332
|
+
id: 'upsertPermissionContractResponsePayload';
|
|
12333
|
+
version: 'v2020_12_25';
|
|
12334
|
+
namespace: 'Mercury';
|
|
12335
|
+
name: '';
|
|
12336
|
+
fields: {
|
|
12337
|
+
/** . */
|
|
12338
|
+
'permissionContract': {
|
|
12339
|
+
type: 'schema';
|
|
12340
|
+
isRequired: true;
|
|
12341
|
+
options: {
|
|
12342
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionContractSchema;
|
|
12343
|
+
};
|
|
12344
|
+
};
|
|
12345
|
+
};
|
|
12346
|
+
}
|
|
12347
|
+
interface UpsertPermissionContractResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractResponsePayloadSchema> {
|
|
12348
|
+
}
|
|
12349
|
+
}
|
|
12350
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12351
|
+
interface VoteForFeatureEmitPayload {
|
|
12352
|
+
'featureKey': string;
|
|
12353
|
+
'skillNamespace': string;
|
|
12354
|
+
}
|
|
12355
|
+
interface VoteForFeatureEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12356
|
+
id: 'voteForFeatureEmitPayload';
|
|
12357
|
+
version: 'v2020_12_25';
|
|
12358
|
+
namespace: 'Mercury';
|
|
12359
|
+
name: '';
|
|
12360
|
+
fields: {
|
|
12361
|
+
/** . */
|
|
12362
|
+
'featureKey': {
|
|
12363
|
+
type: 'id';
|
|
12364
|
+
isRequired: true;
|
|
12365
|
+
options: undefined;
|
|
12366
|
+
};
|
|
12367
|
+
/** . */
|
|
12368
|
+
'skillNamespace': {
|
|
12369
|
+
type: 'id';
|
|
12370
|
+
isRequired: true;
|
|
12371
|
+
options: undefined;
|
|
12372
|
+
};
|
|
12373
|
+
};
|
|
12374
|
+
}
|
|
12375
|
+
interface VoteForFeatureEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema> {
|
|
12376
|
+
}
|
|
12377
|
+
}
|
|
12378
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12379
|
+
interface VoteForFeatureEmitTargetAndPayload {
|
|
12380
|
+
/** Source. */
|
|
12381
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12382
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayload;
|
|
12383
|
+
}
|
|
12384
|
+
interface VoteForFeatureEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12385
|
+
id: 'voteForFeatureEmitTargetAndPayload';
|
|
12386
|
+
version: 'v2020_12_25';
|
|
12387
|
+
namespace: 'Mercury';
|
|
12388
|
+
name: '';
|
|
12389
|
+
fields: {
|
|
12390
|
+
/** Source. */
|
|
12391
|
+
'source': {
|
|
12392
|
+
label: 'Source';
|
|
12393
|
+
type: 'schema';
|
|
12394
|
+
options: {
|
|
12395
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12396
|
+
};
|
|
12397
|
+
};
|
|
12398
|
+
/** . */
|
|
12399
|
+
'payload': {
|
|
12400
|
+
type: 'schema';
|
|
12401
|
+
isRequired: true;
|
|
12402
|
+
options: {
|
|
12403
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema;
|
|
12404
|
+
};
|
|
12405
|
+
};
|
|
12406
|
+
};
|
|
12407
|
+
}
|
|
12408
|
+
interface VoteForFeatureEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitTargetAndPayloadSchema> {
|
|
12409
|
+
}
|
|
12410
|
+
}
|
|
12411
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12412
|
+
interface VoteForFeatureResponsePayload {
|
|
12413
|
+
'totalVotes': number;
|
|
12414
|
+
}
|
|
12415
|
+
interface VoteForFeatureResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12416
|
+
id: 'voteForFeatureResponsePayload';
|
|
12417
|
+
version: 'v2020_12_25';
|
|
12418
|
+
namespace: 'Mercury';
|
|
12419
|
+
name: '';
|
|
12420
|
+
fields: {
|
|
12421
|
+
/** . */
|
|
12422
|
+
'totalVotes': {
|
|
12423
|
+
type: 'number';
|
|
12424
|
+
isRequired: true;
|
|
12425
|
+
options: undefined;
|
|
12426
|
+
};
|
|
12427
|
+
};
|
|
12428
|
+
}
|
|
12429
|
+
interface VoteForFeatureResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureResponsePayloadSchema> {
|
|
12430
|
+
}
|
|
12431
|
+
}
|
|
12432
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12433
|
+
interface WhoamiEmitTargetAndPayload {
|
|
12434
|
+
/** Source. */
|
|
12435
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12436
|
+
}
|
|
12437
|
+
interface WhoamiEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12438
|
+
id: 'whoamiEmitTargetAndPayload';
|
|
12439
|
+
version: 'v2020_12_25';
|
|
12440
|
+
namespace: 'Mercury';
|
|
12441
|
+
name: '';
|
|
12442
|
+
fields: {
|
|
12443
|
+
/** Source. */
|
|
12444
|
+
'source': {
|
|
12445
|
+
label: 'Source';
|
|
12446
|
+
type: 'schema';
|
|
12447
|
+
options: {
|
|
12448
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12449
|
+
};
|
|
12450
|
+
};
|
|
12451
|
+
};
|
|
12452
|
+
}
|
|
12453
|
+
interface WhoamiEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.WhoamiEmitTargetAndPayloadSchema> {
|
|
12454
|
+
}
|
|
12455
|
+
}
|
|
12456
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12457
|
+
interface DidInstallEmitTarget {
|
|
12458
|
+
'organizationId': string;
|
|
12459
|
+
'skillId': string;
|
|
12460
|
+
}
|
|
12461
|
+
interface DidInstallEmitTargetSchema extends SpruceSchema.Schema {
|
|
12462
|
+
id: 'didInstallEmitTarget';
|
|
12463
|
+
version: 'v2020_12_25';
|
|
12464
|
+
namespace: 'Mercury';
|
|
12465
|
+
name: '';
|
|
12466
|
+
fields: {
|
|
12467
|
+
/** . */
|
|
12468
|
+
'organizationId': {
|
|
12469
|
+
type: 'id';
|
|
12470
|
+
isRequired: true;
|
|
12471
|
+
options: undefined;
|
|
12472
|
+
};
|
|
12473
|
+
/** . */
|
|
12474
|
+
'skillId': {
|
|
12475
|
+
type: 'id';
|
|
12476
|
+
isRequired: true;
|
|
12477
|
+
options: undefined;
|
|
12478
|
+
};
|
|
12479
|
+
};
|
|
12480
|
+
}
|
|
12481
|
+
interface DidInstallEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema> {
|
|
12482
|
+
}
|
|
12483
|
+
}
|
|
12484
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12485
|
+
interface DidInstallEmitTargetAndPayload {
|
|
12486
|
+
/** Source. */
|
|
12487
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12488
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTarget;
|
|
12489
|
+
}
|
|
12490
|
+
interface DidInstallEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12491
|
+
id: 'didInstallEmitTargetAndPayload';
|
|
12492
|
+
version: 'v2020_12_25';
|
|
12493
|
+
namespace: 'Mercury';
|
|
12494
|
+
name: '';
|
|
12495
|
+
fields: {
|
|
12496
|
+
/** Source. */
|
|
12497
|
+
'source': {
|
|
12498
|
+
label: 'Source';
|
|
12499
|
+
type: 'schema';
|
|
12500
|
+
options: {
|
|
12501
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12502
|
+
};
|
|
12503
|
+
};
|
|
12504
|
+
/** . */
|
|
12505
|
+
'target': {
|
|
12506
|
+
type: 'schema';
|
|
12507
|
+
isRequired: true;
|
|
12508
|
+
options: {
|
|
12509
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema;
|
|
12510
|
+
};
|
|
12511
|
+
};
|
|
12512
|
+
};
|
|
12513
|
+
}
|
|
12514
|
+
interface DidInstallEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetAndPayloadSchema> {
|
|
12515
|
+
}
|
|
12516
|
+
}
|
|
12517
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12518
|
+
interface DidInstallResponsePayload {
|
|
12519
|
+
}
|
|
12520
|
+
interface DidInstallResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12521
|
+
id: 'didInstallResponsePayload';
|
|
12522
|
+
version: 'v2020_12_25';
|
|
12523
|
+
namespace: 'Mercury';
|
|
12524
|
+
name: '';
|
|
12525
|
+
fields: {};
|
|
12526
|
+
}
|
|
12527
|
+
interface DidInstallResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallResponsePayloadSchema> {
|
|
12528
|
+
}
|
|
12529
|
+
}
|
|
12530
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12531
|
+
interface DidJoinOrganizationEmitTarget {
|
|
12532
|
+
'organizationId': string;
|
|
12533
|
+
'locationId'?: string | undefined | null;
|
|
12534
|
+
}
|
|
12535
|
+
interface DidJoinOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
12536
|
+
id: 'didJoinOrganizationEmitTarget';
|
|
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
|
+
'locationId': {
|
|
12549
|
+
type: 'id';
|
|
12550
|
+
options: undefined;
|
|
12551
|
+
};
|
|
12552
|
+
};
|
|
12553
|
+
}
|
|
12554
|
+
interface DidJoinOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema> {
|
|
12555
|
+
}
|
|
12556
|
+
}
|
|
12557
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12558
|
+
interface DidJoinOrganizationEmitPayload {
|
|
12559
|
+
'personId': string;
|
|
12560
|
+
'roleId': string;
|
|
12561
|
+
'isFirstRole': boolean;
|
|
12562
|
+
}
|
|
12563
|
+
interface DidJoinOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12564
|
+
id: 'didJoinOrganizationEmitPayload';
|
|
12565
|
+
version: 'v2020_12_25';
|
|
12566
|
+
namespace: 'Mercury';
|
|
12567
|
+
name: '';
|
|
12568
|
+
fields: {
|
|
12569
|
+
/** . */
|
|
12570
|
+
'personId': {
|
|
12571
|
+
type: 'id';
|
|
12572
|
+
isRequired: true;
|
|
12573
|
+
options: undefined;
|
|
12574
|
+
};
|
|
12575
|
+
/** . */
|
|
12576
|
+
'roleId': {
|
|
12577
|
+
type: 'id';
|
|
12578
|
+
isRequired: true;
|
|
12579
|
+
options: undefined;
|
|
12580
|
+
};
|
|
12581
|
+
/** . */
|
|
12582
|
+
'isFirstRole': {
|
|
12583
|
+
type: 'boolean';
|
|
12584
|
+
isRequired: true;
|
|
12585
|
+
options: undefined;
|
|
12586
|
+
};
|
|
12587
|
+
};
|
|
12588
|
+
}
|
|
12589
|
+
interface DidJoinOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema> {
|
|
12590
|
+
}
|
|
12591
|
+
}
|
|
12592
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12593
|
+
interface DidJoinOrganizationEmitTargetAndPayload {
|
|
12594
|
+
/** Source. */
|
|
12595
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12596
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTarget;
|
|
12597
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayload;
|
|
12598
|
+
}
|
|
12599
|
+
interface DidJoinOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12600
|
+
id: 'didJoinOrganizationEmitTargetAndPayload';
|
|
12601
|
+
version: 'v2020_12_25';
|
|
12602
|
+
namespace: 'Mercury';
|
|
12603
|
+
name: '';
|
|
12604
|
+
fields: {
|
|
12605
|
+
/** Source. */
|
|
12606
|
+
'source': {
|
|
12607
|
+
label: 'Source';
|
|
12608
|
+
type: 'schema';
|
|
12609
|
+
options: {
|
|
12610
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12611
|
+
};
|
|
12612
|
+
};
|
|
12613
|
+
/** . */
|
|
12614
|
+
'target': {
|
|
12615
|
+
type: 'schema';
|
|
12616
|
+
isRequired: true;
|
|
12990
12617
|
options: {
|
|
12991
|
-
|
|
12618
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema;
|
|
12992
12619
|
};
|
|
12993
12620
|
};
|
|
12994
|
-
/**
|
|
12995
|
-
'
|
|
12996
|
-
|
|
12997
|
-
|
|
12998
|
-
|
|
12999
|
-
|
|
12621
|
+
/** . */
|
|
12622
|
+
'payload': {
|
|
12623
|
+
type: 'schema';
|
|
12624
|
+
isRequired: true;
|
|
12625
|
+
options: {
|
|
12626
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema;
|
|
12627
|
+
};
|
|
12628
|
+
};
|
|
12629
|
+
};
|
|
12630
|
+
}
|
|
12631
|
+
interface DidJoinOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetAndPayloadSchema> {
|
|
12632
|
+
}
|
|
12633
|
+
}
|
|
12634
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12635
|
+
interface MessageTemplateAddons {
|
|
12636
|
+
'nextINeedYouTo'?: string[] | undefined | null;
|
|
12637
|
+
'youShouldKnowThat'?: string[] | undefined | null;
|
|
12638
|
+
'links'?: SpruceSchemas.Spruce.v2020_07_22.Link[] | undefined | null;
|
|
12639
|
+
}
|
|
12640
|
+
interface MessageTemplateAddonsSchema extends SpruceSchema.Schema {
|
|
12641
|
+
id: 'messageTemplateAddons';
|
|
12642
|
+
version: 'v2020_12_25';
|
|
12643
|
+
namespace: 'Mercury';
|
|
12644
|
+
name: '';
|
|
12645
|
+
fields: {
|
|
12646
|
+
/** . */
|
|
12647
|
+
'nextINeedYouTo': {
|
|
12648
|
+
type: 'text';
|
|
12649
|
+
isArray: true;
|
|
13000
12650
|
options: undefined;
|
|
13001
12651
|
};
|
|
13002
12652
|
/** . */
|
|
13003
|
-
'
|
|
12653
|
+
'youShouldKnowThat': {
|
|
13004
12654
|
type: 'text';
|
|
12655
|
+
isArray: true;
|
|
13005
12656
|
options: undefined;
|
|
13006
12657
|
};
|
|
13007
12658
|
/** . */
|
|
13008
|
-
'
|
|
12659
|
+
'links': {
|
|
13009
12660
|
type: 'schema';
|
|
13010
12661
|
isArray: true;
|
|
12662
|
+
minArrayLength: 0;
|
|
13011
12663
|
options: {
|
|
13012
|
-
schema: SpruceSchemas.
|
|
12664
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.LinkSchema;
|
|
13013
12665
|
};
|
|
13014
12666
|
};
|
|
13015
12667
|
};
|
|
13016
12668
|
}
|
|
13017
|
-
interface
|
|
12669
|
+
interface MessageTemplateAddonsEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema> {
|
|
13018
12670
|
}
|
|
13019
12671
|
}
|
|
13020
12672
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13021
|
-
interface
|
|
13022
|
-
'
|
|
12673
|
+
interface DidJoinOrganizationResponsePayload {
|
|
12674
|
+
'messaging'?: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddons | undefined | null;
|
|
13023
12675
|
}
|
|
13024
|
-
interface
|
|
13025
|
-
id: '
|
|
12676
|
+
interface DidJoinOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12677
|
+
id: 'didJoinOrganizationResponsePayload';
|
|
13026
12678
|
version: 'v2020_12_25';
|
|
13027
12679
|
namespace: 'Mercury';
|
|
13028
12680
|
name: '';
|
|
13029
12681
|
fields: {
|
|
13030
12682
|
/** . */
|
|
13031
|
-
'
|
|
12683
|
+
'messaging': {
|
|
12684
|
+
type: 'schema';
|
|
12685
|
+
options: {
|
|
12686
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema;
|
|
12687
|
+
};
|
|
12688
|
+
};
|
|
12689
|
+
};
|
|
12690
|
+
}
|
|
12691
|
+
interface DidJoinOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationResponsePayloadSchema> {
|
|
12692
|
+
}
|
|
12693
|
+
}
|
|
12694
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12695
|
+
interface DidLeaveOrganizationEmitTarget {
|
|
12696
|
+
'organizationId': string;
|
|
12697
|
+
'locationId'?: string | undefined | null;
|
|
12698
|
+
}
|
|
12699
|
+
interface DidLeaveOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
12700
|
+
id: 'didLeaveOrganizationEmitTarget';
|
|
12701
|
+
version: 'v2020_12_25';
|
|
12702
|
+
namespace: 'Mercury';
|
|
12703
|
+
name: '';
|
|
12704
|
+
fields: {
|
|
12705
|
+
/** . */
|
|
12706
|
+
'organizationId': {
|
|
12707
|
+
type: 'id';
|
|
12708
|
+
isRequired: true;
|
|
12709
|
+
options: undefined;
|
|
12710
|
+
};
|
|
12711
|
+
/** . */
|
|
12712
|
+
'locationId': {
|
|
12713
|
+
type: 'id';
|
|
12714
|
+
options: undefined;
|
|
12715
|
+
};
|
|
12716
|
+
};
|
|
12717
|
+
}
|
|
12718
|
+
interface DidLeaveOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema> {
|
|
12719
|
+
}
|
|
12720
|
+
}
|
|
12721
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12722
|
+
interface DidLeaveOrganizationEmitPayload {
|
|
12723
|
+
'personId': string;
|
|
12724
|
+
'roleId': string;
|
|
12725
|
+
'isLastRole': boolean;
|
|
12726
|
+
}
|
|
12727
|
+
interface DidLeaveOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12728
|
+
id: 'didLeaveOrganizationEmitPayload';
|
|
12729
|
+
version: 'v2020_12_25';
|
|
12730
|
+
namespace: 'Mercury';
|
|
12731
|
+
name: '';
|
|
12732
|
+
fields: {
|
|
12733
|
+
/** . */
|
|
12734
|
+
'personId': {
|
|
12735
|
+
type: 'id';
|
|
12736
|
+
isRequired: true;
|
|
12737
|
+
options: undefined;
|
|
12738
|
+
};
|
|
12739
|
+
/** . */
|
|
12740
|
+
'roleId': {
|
|
12741
|
+
type: 'id';
|
|
12742
|
+
isRequired: true;
|
|
12743
|
+
options: undefined;
|
|
12744
|
+
};
|
|
12745
|
+
/** . */
|
|
12746
|
+
'isLastRole': {
|
|
12747
|
+
type: 'boolean';
|
|
12748
|
+
isRequired: true;
|
|
12749
|
+
options: undefined;
|
|
12750
|
+
};
|
|
12751
|
+
};
|
|
12752
|
+
}
|
|
12753
|
+
interface DidLeaveOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema> {
|
|
12754
|
+
}
|
|
12755
|
+
}
|
|
12756
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12757
|
+
interface DidLeaveOrganizationEmitTargetAndPayload {
|
|
12758
|
+
/** Source. */
|
|
12759
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12760
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTarget;
|
|
12761
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayload;
|
|
12762
|
+
}
|
|
12763
|
+
interface DidLeaveOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12764
|
+
id: 'didLeaveOrganizationEmitTargetAndPayload';
|
|
12765
|
+
version: 'v2020_12_25';
|
|
12766
|
+
namespace: 'Mercury';
|
|
12767
|
+
name: '';
|
|
12768
|
+
fields: {
|
|
12769
|
+
/** Source. */
|
|
12770
|
+
'source': {
|
|
12771
|
+
label: 'Source';
|
|
12772
|
+
type: 'schema';
|
|
12773
|
+
options: {
|
|
12774
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12775
|
+
};
|
|
12776
|
+
};
|
|
12777
|
+
/** . */
|
|
12778
|
+
'target': {
|
|
12779
|
+
type: 'schema';
|
|
12780
|
+
isRequired: true;
|
|
12781
|
+
options: {
|
|
12782
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema;
|
|
12783
|
+
};
|
|
12784
|
+
};
|
|
12785
|
+
/** . */
|
|
12786
|
+
'payload': {
|
|
12787
|
+
type: 'schema';
|
|
12788
|
+
isRequired: true;
|
|
12789
|
+
options: {
|
|
12790
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema;
|
|
12791
|
+
};
|
|
12792
|
+
};
|
|
12793
|
+
};
|
|
12794
|
+
}
|
|
12795
|
+
interface DidLeaveOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetAndPayloadSchema> {
|
|
12796
|
+
}
|
|
12797
|
+
}
|
|
12798
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12799
|
+
interface DidLeaveOrganizationResponsePayload {
|
|
12800
|
+
}
|
|
12801
|
+
interface DidLeaveOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12802
|
+
id: 'didLeaveOrganizationResponsePayload';
|
|
12803
|
+
version: 'v2020_12_25';
|
|
12804
|
+
namespace: 'Mercury';
|
|
12805
|
+
name: '';
|
|
12806
|
+
fields: {};
|
|
12807
|
+
}
|
|
12808
|
+
interface DidLeaveOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationResponsePayloadSchema> {
|
|
12809
|
+
}
|
|
12810
|
+
}
|
|
12811
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12812
|
+
interface DidMessageEmitPayload {
|
|
12813
|
+
'message': SpruceSchemas.Spruce.v2020_07_22.Message;
|
|
12814
|
+
'conversationState'?: string | undefined | null;
|
|
12815
|
+
'topic'?: string | undefined | null;
|
|
12816
|
+
}
|
|
12817
|
+
interface DidMessageEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12818
|
+
id: 'didMessageEmitPayload';
|
|
12819
|
+
version: 'v2020_12_25';
|
|
12820
|
+
namespace: 'Mercury';
|
|
12821
|
+
name: '';
|
|
12822
|
+
fields: {
|
|
12823
|
+
/** . */
|
|
12824
|
+
'message': {
|
|
12825
|
+
type: 'schema';
|
|
12826
|
+
isRequired: true;
|
|
12827
|
+
options: {
|
|
12828
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.MessageSchema;
|
|
12829
|
+
};
|
|
12830
|
+
};
|
|
12831
|
+
/** . */
|
|
12832
|
+
'conversationState': {
|
|
12833
|
+
type: 'text';
|
|
12834
|
+
options: undefined;
|
|
12835
|
+
};
|
|
12836
|
+
/** . */
|
|
12837
|
+
'topic': {
|
|
12838
|
+
type: 'text';
|
|
12839
|
+
options: undefined;
|
|
12840
|
+
};
|
|
12841
|
+
};
|
|
12842
|
+
}
|
|
12843
|
+
interface DidMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema> {
|
|
12844
|
+
}
|
|
12845
|
+
}
|
|
12846
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12847
|
+
interface DidMessageEmitTargetAndPayload {
|
|
12848
|
+
/** Source. */
|
|
12849
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12850
|
+
'target'?: SpruceSchemas.Spruce.v2020_07_22.MessageTarget | undefined | null;
|
|
12851
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayload;
|
|
12852
|
+
}
|
|
12853
|
+
interface DidMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12854
|
+
id: 'didMessageEmitTargetAndPayload';
|
|
12855
|
+
version: 'v2020_12_25';
|
|
12856
|
+
namespace: 'Mercury';
|
|
12857
|
+
name: '';
|
|
12858
|
+
fields: {
|
|
12859
|
+
/** Source. */
|
|
12860
|
+
'source': {
|
|
12861
|
+
label: 'Source';
|
|
12862
|
+
type: 'schema';
|
|
12863
|
+
options: {
|
|
12864
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12865
|
+
};
|
|
12866
|
+
};
|
|
12867
|
+
/** . */
|
|
12868
|
+
'target': {
|
|
12869
|
+
type: 'schema';
|
|
12870
|
+
options: {
|
|
12871
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.MessageTargetSchema;
|
|
12872
|
+
};
|
|
12873
|
+
};
|
|
12874
|
+
/** . */
|
|
12875
|
+
'payload': {
|
|
13032
12876
|
type: 'schema';
|
|
13033
12877
|
isRequired: true;
|
|
13034
12878
|
options: {
|
|
13035
|
-
schema: SpruceSchemas.
|
|
12879
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema;
|
|
13036
12880
|
};
|
|
13037
12881
|
};
|
|
13038
12882
|
};
|
|
13039
12883
|
}
|
|
13040
|
-
interface
|
|
12884
|
+
interface DidMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitTargetAndPayloadSchema> {
|
|
13041
12885
|
}
|
|
13042
12886
|
}
|
|
13043
12887
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13044
|
-
interface
|
|
13045
|
-
'
|
|
12888
|
+
interface ConversationTopic {
|
|
12889
|
+
'key': string;
|
|
12890
|
+
'confidence': number;
|
|
12891
|
+
'label': string;
|
|
13046
12892
|
}
|
|
13047
|
-
interface
|
|
13048
|
-
id: '
|
|
12893
|
+
interface ConversationTopicSchema extends SpruceSchema.Schema {
|
|
12894
|
+
id: 'conversationTopic';
|
|
13049
12895
|
version: 'v2020_12_25';
|
|
13050
12896
|
namespace: 'Mercury';
|
|
13051
12897
|
name: '';
|
|
13052
12898
|
fields: {
|
|
13053
12899
|
/** . */
|
|
13054
|
-
'
|
|
13055
|
-
type: '
|
|
12900
|
+
'key': {
|
|
12901
|
+
type: 'text';
|
|
12902
|
+
isRequired: true;
|
|
12903
|
+
options: undefined;
|
|
12904
|
+
};
|
|
12905
|
+
/** . */
|
|
12906
|
+
'confidence': {
|
|
12907
|
+
type: 'number';
|
|
12908
|
+
isRequired: true;
|
|
12909
|
+
options: undefined;
|
|
12910
|
+
};
|
|
12911
|
+
/** . */
|
|
12912
|
+
'label': {
|
|
12913
|
+
type: 'text';
|
|
13056
12914
|
isRequired: true;
|
|
13057
12915
|
options: undefined;
|
|
13058
12916
|
};
|
|
13059
12917
|
};
|
|
13060
12918
|
}
|
|
13061
|
-
interface
|
|
12919
|
+
interface ConversationTopicEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema> {
|
|
13062
12920
|
}
|
|
13063
12921
|
}
|
|
13064
12922
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13065
|
-
interface
|
|
13066
|
-
|
|
13067
|
-
'
|
|
13068
|
-
|
|
13069
|
-
'
|
|
13070
|
-
|
|
13071
|
-
'description'?: string | undefined | null;
|
|
13072
|
-
'dateDeleted'?: number | undefined | null;
|
|
13073
|
-
'organizationId'?: string | undefined | null;
|
|
13074
|
-
/** Public. Should I let people that are not part of this organization this role? */
|
|
13075
|
-
'isPublic'?: boolean | undefined | null;
|
|
12923
|
+
interface DidMessageResponsePayload {
|
|
12924
|
+
'transitionConversationTo'?: ("greeting" | "discovery" | "topic" | "closing") | undefined | null;
|
|
12925
|
+
'repairs'?: string[] | undefined | null;
|
|
12926
|
+
'topicChangers'?: string[] | undefined | null;
|
|
12927
|
+
'utterance'?: string | undefined | null;
|
|
12928
|
+
'suggestedTopics'?: SpruceSchemas.Mercury.v2020_12_25.ConversationTopic[] | undefined | null;
|
|
13076
12929
|
}
|
|
13077
|
-
interface
|
|
13078
|
-
id: '
|
|
12930
|
+
interface DidMessageResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12931
|
+
id: 'didMessageResponsePayload';
|
|
13079
12932
|
version: 'v2020_12_25';
|
|
13080
12933
|
namespace: 'Mercury';
|
|
13081
12934
|
name: '';
|
|
13082
12935
|
fields: {
|
|
13083
|
-
/**
|
|
13084
|
-
'
|
|
13085
|
-
label: 'Name';
|
|
13086
|
-
type: 'text';
|
|
13087
|
-
options: undefined;
|
|
13088
|
-
};
|
|
13089
|
-
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
13090
|
-
'base': {
|
|
13091
|
-
label: 'Base';
|
|
12936
|
+
/** . */
|
|
12937
|
+
'transitionConversationTo': {
|
|
13092
12938
|
type: 'select';
|
|
13093
|
-
hint: 'A best practices starting point for a role based on the generalized roles at a company.';
|
|
13094
12939
|
options: {
|
|
13095
12940
|
choices: [{
|
|
13096
|
-
"label": "
|
|
13097
|
-
"value": "
|
|
13098
|
-
}, {
|
|
13099
|
-
"label": "Group manager";
|
|
13100
|
-
"value": "groupManager";
|
|
13101
|
-
}, {
|
|
13102
|
-
"label": "Manager";
|
|
13103
|
-
"value": "manager";
|
|
13104
|
-
}, {
|
|
13105
|
-
"label": "Teammate";
|
|
13106
|
-
"value": "teammate";
|
|
12941
|
+
"label": "Greeting";
|
|
12942
|
+
"value": "greeting";
|
|
13107
12943
|
}, {
|
|
13108
|
-
"label": "
|
|
13109
|
-
"value": "
|
|
12944
|
+
"label": "Discovery";
|
|
12945
|
+
"value": "discovery";
|
|
13110
12946
|
}, {
|
|
13111
|
-
"label": "
|
|
13112
|
-
"value": "
|
|
12947
|
+
"label": "Topic";
|
|
12948
|
+
"value": "topic";
|
|
13113
12949
|
}, {
|
|
13114
|
-
"label": "
|
|
13115
|
-
"value": "
|
|
12950
|
+
"label": "Closing";
|
|
12951
|
+
"value": "closing";
|
|
13116
12952
|
}];
|
|
13117
12953
|
};
|
|
13118
12954
|
};
|
|
13119
|
-
/**
|
|
13120
|
-
'
|
|
13121
|
-
label: 'Description';
|
|
12955
|
+
/** . */
|
|
12956
|
+
'repairs': {
|
|
13122
12957
|
type: 'text';
|
|
12958
|
+
isArray: true;
|
|
13123
12959
|
options: undefined;
|
|
13124
12960
|
};
|
|
13125
12961
|
/** . */
|
|
13126
|
-
'
|
|
13127
|
-
type: '
|
|
12962
|
+
'topicChangers': {
|
|
12963
|
+
type: 'text';
|
|
12964
|
+
isArray: true;
|
|
13128
12965
|
options: undefined;
|
|
13129
12966
|
};
|
|
13130
12967
|
/** . */
|
|
13131
|
-
'
|
|
13132
|
-
type: '
|
|
12968
|
+
'utterance': {
|
|
12969
|
+
type: 'text';
|
|
13133
12970
|
options: undefined;
|
|
13134
12971
|
};
|
|
13135
|
-
/**
|
|
13136
|
-
'
|
|
13137
|
-
|
|
13138
|
-
|
|
13139
|
-
|
|
13140
|
-
|
|
12972
|
+
/** . */
|
|
12973
|
+
'suggestedTopics': {
|
|
12974
|
+
type: 'schema';
|
|
12975
|
+
isArray: true;
|
|
12976
|
+
options: {
|
|
12977
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema;
|
|
12978
|
+
};
|
|
13141
12979
|
};
|
|
13142
12980
|
};
|
|
13143
12981
|
}
|
|
13144
|
-
interface
|
|
12982
|
+
interface DidMessageResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageResponsePayloadSchema> {
|
|
13145
12983
|
}
|
|
13146
12984
|
}
|
|
13147
12985
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13148
|
-
interface
|
|
12986
|
+
interface DidSignupEmitPayload {
|
|
12987
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
12988
|
+
}
|
|
12989
|
+
interface DidSignupEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12990
|
+
id: 'didSignupEmitPayload';
|
|
12991
|
+
version: 'v2020_12_25';
|
|
12992
|
+
namespace: 'Mercury';
|
|
12993
|
+
name: '';
|
|
12994
|
+
fields: {
|
|
12995
|
+
/** . */
|
|
12996
|
+
'person': {
|
|
12997
|
+
type: 'schema';
|
|
12998
|
+
isRequired: true;
|
|
12999
|
+
options: {
|
|
13000
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
13001
|
+
};
|
|
13002
|
+
};
|
|
13003
|
+
};
|
|
13004
|
+
}
|
|
13005
|
+
interface DidSignupEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema> {
|
|
13006
|
+
}
|
|
13007
|
+
}
|
|
13008
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13009
|
+
interface DidSignupEmitTargetAndPayload {
|
|
13149
13010
|
/** Source. */
|
|
13150
13011
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
13151
|
-
'target'
|
|
13152
|
-
'payload'
|
|
13012
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
13013
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayload;
|
|
13153
13014
|
}
|
|
13154
|
-
interface
|
|
13155
|
-
id: '
|
|
13015
|
+
interface DidSignupEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
13016
|
+
id: 'didSignupEmitTargetAndPayload';
|
|
13156
13017
|
version: 'v2020_12_25';
|
|
13157
13018
|
namespace: 'Mercury';
|
|
13158
13019
|
name: '';
|
|
@@ -13168,75 +13029,43 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13168
13029
|
/** . */
|
|
13169
13030
|
'target': {
|
|
13170
13031
|
type: 'schema';
|
|
13171
|
-
isRequired: true;
|
|
13172
13032
|
options: {
|
|
13173
|
-
schema: SpruceSchemas.
|
|
13033
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
13174
13034
|
};
|
|
13175
13035
|
};
|
|
13176
13036
|
/** . */
|
|
13177
13037
|
'payload': {
|
|
13178
|
-
type: 'schema';
|
|
13179
|
-
options: {
|
|
13180
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema;
|
|
13181
|
-
};
|
|
13182
|
-
};
|
|
13183
|
-
};
|
|
13184
|
-
}
|
|
13185
|
-
interface UpdateRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetAndPayloadSchema> {
|
|
13186
|
-
}
|
|
13187
|
-
}
|
|
13188
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13189
|
-
interface UpdateRoleResponsePayload {
|
|
13190
|
-
'role': SpruceSchemas.Spruce.v2020_07_22.Role;
|
|
13191
|
-
}
|
|
13192
|
-
interface UpdateRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
13193
|
-
id: 'updateRoleResponsePayload';
|
|
13194
|
-
version: 'v2020_12_25';
|
|
13195
|
-
namespace: 'Mercury';
|
|
13196
|
-
name: '';
|
|
13197
|
-
fields: {
|
|
13198
|
-
/** . */
|
|
13199
|
-
'role': {
|
|
13200
13038
|
type: 'schema';
|
|
13201
13039
|
isRequired: true;
|
|
13202
13040
|
options: {
|
|
13203
|
-
schema: SpruceSchemas.
|
|
13041
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema;
|
|
13204
13042
|
};
|
|
13205
13043
|
};
|
|
13206
13044
|
};
|
|
13207
13045
|
}
|
|
13208
|
-
interface
|
|
13046
|
+
interface DidSignupEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitTargetAndPayloadSchema> {
|
|
13209
13047
|
}
|
|
13210
13048
|
}
|
|
13211
13049
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13212
|
-
interface
|
|
13213
|
-
'
|
|
13214
|
-
'
|
|
13215
|
-
'roleId': string;
|
|
13050
|
+
interface DidUpdateFeedEmitTarget {
|
|
13051
|
+
'locationId'?: string | undefined | null;
|
|
13052
|
+
'organizationId'?: string | undefined | null;
|
|
13216
13053
|
'skillId'?: string | undefined | null;
|
|
13217
13054
|
}
|
|
13218
|
-
interface
|
|
13219
|
-
id: '
|
|
13055
|
+
interface DidUpdateFeedEmitTargetSchema extends SpruceSchema.Schema {
|
|
13056
|
+
id: 'didUpdateFeedEmitTarget';
|
|
13220
13057
|
version: 'v2020_12_25';
|
|
13221
13058
|
namespace: 'Mercury';
|
|
13222
13059
|
name: '';
|
|
13223
13060
|
fields: {
|
|
13224
13061
|
/** . */
|
|
13225
|
-
'
|
|
13226
|
-
type: 'id';
|
|
13227
|
-
isRequired: true;
|
|
13228
|
-
options: undefined;
|
|
13229
|
-
};
|
|
13230
|
-
/** . */
|
|
13231
|
-
'permissionContractId': {
|
|
13062
|
+
'locationId': {
|
|
13232
13063
|
type: 'id';
|
|
13233
|
-
isRequired: true;
|
|
13234
13064
|
options: undefined;
|
|
13235
13065
|
};
|
|
13236
13066
|
/** . */
|
|
13237
|
-
'
|
|
13067
|
+
'organizationId': {
|
|
13238
13068
|
type: 'id';
|
|
13239
|
-
isRequired: true;
|
|
13240
13069
|
options: undefined;
|
|
13241
13070
|
};
|
|
13242
13071
|
/** . */
|
|
@@ -13246,70 +13075,41 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13246
13075
|
};
|
|
13247
13076
|
};
|
|
13248
13077
|
}
|
|
13249
|
-
interface
|
|
13078
|
+
interface DidUpdateFeedEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetSchema> {
|
|
13250
13079
|
}
|
|
13251
13080
|
}
|
|
13252
13081
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13253
|
-
interface
|
|
13254
|
-
|
|
13255
|
-
'name': string;
|
|
13256
|
-
/** Description. */
|
|
13257
|
-
'description'?: string | undefined | null;
|
|
13258
|
-
/** Require all permissions. */
|
|
13259
|
-
'requireAllPermissions'?: boolean | undefined | null;
|
|
13260
|
-
'permissions': SpruceSchemas.Mercury.v2020_12_25.Permission[];
|
|
13082
|
+
interface DidUpdateFeedEmitPayload {
|
|
13083
|
+
'item': SpruceSchemas.Spruce.v2020_07_22.FeedItem;
|
|
13261
13084
|
}
|
|
13262
|
-
interface
|
|
13263
|
-
id: '
|
|
13085
|
+
interface DidUpdateFeedEmitPayloadSchema extends SpruceSchema.Schema {
|
|
13086
|
+
id: 'didUpdateFeedEmitPayload';
|
|
13264
13087
|
version: 'v2020_12_25';
|
|
13265
13088
|
namespace: 'Mercury';
|
|
13266
13089
|
name: '';
|
|
13267
13090
|
fields: {
|
|
13268
|
-
/** Name. Human readable name for this contract */
|
|
13269
|
-
'name': {
|
|
13270
|
-
label: 'Name';
|
|
13271
|
-
type: 'text';
|
|
13272
|
-
isRequired: true;
|
|
13273
|
-
hint: 'Human readable name for this contract';
|
|
13274
|
-
options: undefined;
|
|
13275
|
-
};
|
|
13276
|
-
/** Description. */
|
|
13277
|
-
'description': {
|
|
13278
|
-
label: 'Description';
|
|
13279
|
-
type: 'text';
|
|
13280
|
-
options: undefined;
|
|
13281
|
-
};
|
|
13282
|
-
/** Require all permissions. */
|
|
13283
|
-
'requireAllPermissions': {
|
|
13284
|
-
label: 'Require all permissions';
|
|
13285
|
-
type: 'boolean';
|
|
13286
|
-
defaultValue: false;
|
|
13287
|
-
options: undefined;
|
|
13288
|
-
};
|
|
13289
13091
|
/** . */
|
|
13290
|
-
'
|
|
13092
|
+
'item': {
|
|
13291
13093
|
type: 'schema';
|
|
13292
13094
|
isRequired: true;
|
|
13293
|
-
isArray: true;
|
|
13294
|
-
minArrayLength: 0;
|
|
13295
13095
|
options: {
|
|
13296
|
-
schema: SpruceSchemas.
|
|
13096
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.FeedItemSchema;
|
|
13297
13097
|
};
|
|
13298
13098
|
};
|
|
13299
13099
|
};
|
|
13300
13100
|
}
|
|
13301
|
-
interface
|
|
13101
|
+
interface DidUpdateFeedEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema> {
|
|
13302
13102
|
}
|
|
13303
13103
|
}
|
|
13304
13104
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13305
|
-
interface
|
|
13105
|
+
interface DidUpdateFeedEmitTargetAndPayload {
|
|
13306
13106
|
/** Source. */
|
|
13307
13107
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
13308
|
-
'target'
|
|
13309
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.
|
|
13108
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTarget | undefined | null;
|
|
13109
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayload;
|
|
13310
13110
|
}
|
|
13311
|
-
interface
|
|
13312
|
-
id: '
|
|
13111
|
+
interface DidUpdateFeedEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
13112
|
+
id: 'didUpdateFeedEmitTargetAndPayload';
|
|
13313
13113
|
version: 'v2020_12_25';
|
|
13314
13114
|
namespace: 'Mercury';
|
|
13315
13115
|
name: '';
|
|
@@ -13325,9 +13125,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13325
13125
|
/** . */
|
|
13326
13126
|
'target': {
|
|
13327
13127
|
type: 'schema';
|
|
13328
|
-
isRequired: true;
|
|
13329
13128
|
options: {
|
|
13330
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
13129
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetSchema;
|
|
13331
13130
|
};
|
|
13332
13131
|
};
|
|
13333
13132
|
/** . */
|
|
@@ -13335,73 +13134,103 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13335
13134
|
type: 'schema';
|
|
13336
13135
|
isRequired: true;
|
|
13337
13136
|
options: {
|
|
13338
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
13137
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema;
|
|
13339
13138
|
};
|
|
13340
13139
|
};
|
|
13341
13140
|
};
|
|
13342
13141
|
}
|
|
13343
|
-
interface
|
|
13142
|
+
interface DidUpdateFeedEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetAndPayloadSchema> {
|
|
13344
13143
|
}
|
|
13345
13144
|
}
|
|
13346
13145
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13347
|
-
interface
|
|
13348
|
-
'
|
|
13146
|
+
interface DidUpdatePersonEmitPayload {
|
|
13147
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
13349
13148
|
}
|
|
13350
|
-
interface
|
|
13351
|
-
id: '
|
|
13149
|
+
interface DidUpdatePersonEmitPayloadSchema extends SpruceSchema.Schema {
|
|
13150
|
+
id: 'didUpdatePersonEmitPayload';
|
|
13352
13151
|
version: 'v2020_12_25';
|
|
13353
13152
|
namespace: 'Mercury';
|
|
13354
13153
|
name: '';
|
|
13355
13154
|
fields: {
|
|
13356
13155
|
/** . */
|
|
13357
|
-
'
|
|
13156
|
+
'person': {
|
|
13358
13157
|
type: 'schema';
|
|
13359
13158
|
isRequired: true;
|
|
13360
13159
|
options: {
|
|
13361
|
-
schema: SpruceSchemas.
|
|
13160
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
13362
13161
|
};
|
|
13363
13162
|
};
|
|
13364
13163
|
};
|
|
13365
13164
|
}
|
|
13366
|
-
interface
|
|
13165
|
+
interface DidUpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema> {
|
|
13367
13166
|
}
|
|
13368
13167
|
}
|
|
13369
13168
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13370
|
-
interface
|
|
13371
|
-
'
|
|
13372
|
-
'
|
|
13169
|
+
interface InvokeChatCallbackTarget {
|
|
13170
|
+
'skillId': string;
|
|
13171
|
+
'chatPersonId': string;
|
|
13373
13172
|
}
|
|
13374
|
-
interface
|
|
13375
|
-
id: '
|
|
13173
|
+
interface InvokeChatCallbackTargetSchema extends SpruceSchema.Schema {
|
|
13174
|
+
id: 'invokeChatCallbackTarget';
|
|
13376
13175
|
version: 'v2020_12_25';
|
|
13377
13176
|
namespace: 'Mercury';
|
|
13378
13177
|
name: '';
|
|
13379
13178
|
fields: {
|
|
13380
13179
|
/** . */
|
|
13381
|
-
'
|
|
13180
|
+
'skillId': {
|
|
13382
13181
|
type: 'id';
|
|
13383
13182
|
isRequired: true;
|
|
13384
13183
|
options: undefined;
|
|
13385
13184
|
};
|
|
13386
13185
|
/** . */
|
|
13387
|
-
'
|
|
13186
|
+
'chatPersonId': {
|
|
13388
13187
|
type: 'id';
|
|
13389
13188
|
isRequired: true;
|
|
13390
13189
|
options: undefined;
|
|
13391
13190
|
};
|
|
13392
13191
|
};
|
|
13393
13192
|
}
|
|
13394
|
-
interface
|
|
13193
|
+
interface InvokeChatCallbackTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackTargetSchema> {
|
|
13395
13194
|
}
|
|
13396
13195
|
}
|
|
13397
13196
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13398
|
-
interface
|
|
13197
|
+
interface InvokeChatCallbackPayload {
|
|
13198
|
+
'placeholder': string;
|
|
13199
|
+
'state'?: (Record<string, any>) | undefined | null;
|
|
13200
|
+
}
|
|
13201
|
+
interface InvokeChatCallbackPayloadSchema extends SpruceSchema.Schema {
|
|
13202
|
+
id: 'invokeChatCallbackPayload';
|
|
13203
|
+
version: 'v2020_12_25';
|
|
13204
|
+
namespace: 'Mercury';
|
|
13205
|
+
name: '';
|
|
13206
|
+
fields: {
|
|
13207
|
+
/** . */
|
|
13208
|
+
'placeholder': {
|
|
13209
|
+
type: 'id';
|
|
13210
|
+
isRequired: true;
|
|
13211
|
+
options: undefined;
|
|
13212
|
+
};
|
|
13213
|
+
/** . */
|
|
13214
|
+
'state': {
|
|
13215
|
+
type: 'raw';
|
|
13216
|
+
options: {
|
|
13217
|
+
valueType: `Record<string, any>`;
|
|
13218
|
+
};
|
|
13219
|
+
};
|
|
13220
|
+
};
|
|
13221
|
+
}
|
|
13222
|
+
interface InvokeChatCallbackPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackPayloadSchema> {
|
|
13223
|
+
}
|
|
13224
|
+
}
|
|
13225
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13226
|
+
interface InvokeChatCallbackEmitTargetAndPayload {
|
|
13399
13227
|
/** Source. */
|
|
13400
13228
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
13401
|
-
'
|
|
13229
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackTarget;
|
|
13230
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackPayload;
|
|
13402
13231
|
}
|
|
13403
|
-
interface
|
|
13404
|
-
id: '
|
|
13232
|
+
interface InvokeChatCallbackEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
13233
|
+
id: 'invokeChatCallbackEmitTargetAndPayload';
|
|
13405
13234
|
version: 'v2020_12_25';
|
|
13406
13235
|
namespace: 'Mercury';
|
|
13407
13236
|
name: '';
|
|
@@ -13415,48 +13244,56 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13415
13244
|
};
|
|
13416
13245
|
};
|
|
13417
13246
|
/** . */
|
|
13247
|
+
'target': {
|
|
13248
|
+
type: 'schema';
|
|
13249
|
+
isRequired: true;
|
|
13250
|
+
options: {
|
|
13251
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackTargetSchema;
|
|
13252
|
+
};
|
|
13253
|
+
};
|
|
13254
|
+
/** . */
|
|
13418
13255
|
'payload': {
|
|
13419
13256
|
type: 'schema';
|
|
13420
13257
|
isRequired: true;
|
|
13421
13258
|
options: {
|
|
13422
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
13259
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackPayloadSchema;
|
|
13423
13260
|
};
|
|
13424
13261
|
};
|
|
13425
13262
|
};
|
|
13426
13263
|
}
|
|
13427
|
-
interface
|
|
13264
|
+
interface InvokeChatCallbackEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackEmitTargetAndPayloadSchema> {
|
|
13428
13265
|
}
|
|
13429
13266
|
}
|
|
13430
13267
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13431
|
-
interface
|
|
13432
|
-
'
|
|
13268
|
+
interface InvokeChatCallbackResponsePayload {
|
|
13269
|
+
'message': string;
|
|
13433
13270
|
}
|
|
13434
|
-
interface
|
|
13435
|
-
id: '
|
|
13271
|
+
interface InvokeChatCallbackResponsePayloadSchema extends SpruceSchema.Schema {
|
|
13272
|
+
id: 'invokeChatCallbackResponsePayload';
|
|
13436
13273
|
version: 'v2020_12_25';
|
|
13437
13274
|
namespace: 'Mercury';
|
|
13438
13275
|
name: '';
|
|
13439
13276
|
fields: {
|
|
13440
13277
|
/** . */
|
|
13441
|
-
'
|
|
13442
|
-
type: '
|
|
13278
|
+
'message': {
|
|
13279
|
+
type: 'text';
|
|
13443
13280
|
isRequired: true;
|
|
13444
13281
|
options: undefined;
|
|
13445
13282
|
};
|
|
13446
13283
|
};
|
|
13447
13284
|
}
|
|
13448
|
-
interface
|
|
13285
|
+
interface InvokeChatCallbackResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackResponsePayloadSchema> {
|
|
13449
13286
|
}
|
|
13450
13287
|
}
|
|
13451
13288
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13452
|
-
interface
|
|
13289
|
+
interface DidUpdatePersonEmitTargetAndPayload {
|
|
13453
13290
|
/** Source. */
|
|
13454
13291
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
13455
|
-
'target'?: SpruceSchemas.
|
|
13456
|
-
'payload'
|
|
13292
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
13293
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayload;
|
|
13457
13294
|
}
|
|
13458
|
-
interface
|
|
13459
|
-
id: '
|
|
13295
|
+
interface DidUpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
13296
|
+
id: 'didUpdatePersonEmitTargetAndPayload';
|
|
13460
13297
|
version: 'v2020_12_25';
|
|
13461
13298
|
namespace: 'Mercury';
|
|
13462
13299
|
name: '';
|
|
@@ -13473,28 +13310,29 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13473
13310
|
'target': {
|
|
13474
13311
|
type: 'schema';
|
|
13475
13312
|
options: {
|
|
13476
|
-
schema: SpruceSchemas.
|
|
13313
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
13477
13314
|
};
|
|
13478
13315
|
};
|
|
13479
13316
|
/** . */
|
|
13480
13317
|
'payload': {
|
|
13481
13318
|
type: 'schema';
|
|
13319
|
+
isRequired: true;
|
|
13482
13320
|
options: {
|
|
13483
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
13321
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema;
|
|
13484
13322
|
};
|
|
13485
13323
|
};
|
|
13486
13324
|
};
|
|
13487
13325
|
}
|
|
13488
|
-
interface
|
|
13326
|
+
interface DidUpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitTargetAndPayloadSchema> {
|
|
13489
13327
|
}
|
|
13490
13328
|
}
|
|
13491
13329
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13492
|
-
interface
|
|
13330
|
+
interface RegisterChatbotsEmitTargetAndPayload {
|
|
13493
13331
|
/** Source. */
|
|
13494
13332
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
13495
13333
|
}
|
|
13496
|
-
interface
|
|
13497
|
-
id: '
|
|
13334
|
+
interface RegisterChatbotsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
13335
|
+
id: 'registerChatbotsEmitTargetAndPayload';
|
|
13498
13336
|
version: 'v2020_12_25';
|
|
13499
13337
|
namespace: 'Mercury';
|
|
13500
13338
|
name: '';
|
|
@@ -13509,7 +13347,132 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
13509
13347
|
};
|
|
13510
13348
|
};
|
|
13511
13349
|
}
|
|
13512
|
-
interface
|
|
13350
|
+
interface RegisterChatbotsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterChatbotsEmitTargetAndPayloadSchema> {
|
|
13351
|
+
}
|
|
13352
|
+
}
|
|
13353
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13354
|
+
interface ChatbotCallbacks {
|
|
13355
|
+
'placeholder': string;
|
|
13356
|
+
'useThisWhenever': string;
|
|
13357
|
+
}
|
|
13358
|
+
interface ChatbotCallbacksSchema extends SpruceSchema.Schema {
|
|
13359
|
+
id: 'chatbotCallbacks';
|
|
13360
|
+
version: 'v2020_12_25';
|
|
13361
|
+
namespace: 'Mercury';
|
|
13362
|
+
name: '';
|
|
13363
|
+
fields: {
|
|
13364
|
+
/** . */
|
|
13365
|
+
'placeholder': {
|
|
13366
|
+
type: 'id';
|
|
13367
|
+
isRequired: true;
|
|
13368
|
+
options: undefined;
|
|
13369
|
+
};
|
|
13370
|
+
/** . */
|
|
13371
|
+
'useThisWhenever': {
|
|
13372
|
+
type: 'text';
|
|
13373
|
+
isRequired: true;
|
|
13374
|
+
options: undefined;
|
|
13375
|
+
};
|
|
13376
|
+
};
|
|
13377
|
+
}
|
|
13378
|
+
interface ChatbotCallbacksEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ChatbotCallbacksSchema> {
|
|
13379
|
+
}
|
|
13380
|
+
}
|
|
13381
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13382
|
+
interface Chatbot {
|
|
13383
|
+
'title': string;
|
|
13384
|
+
'yourJobIfYouChooseToAcceptItIs': string;
|
|
13385
|
+
'weAreDoneWhen': string;
|
|
13386
|
+
'pleaseKeepInMindThat'?: string[] | undefined | null;
|
|
13387
|
+
'stateSchema'?: (SpruceSchema.Schema) | undefined | null;
|
|
13388
|
+
'model'?: string | undefined | null;
|
|
13389
|
+
'promptTemplate'?: string | undefined | null;
|
|
13390
|
+
'callbacks'?: SpruceSchemas.Mercury.v2020_12_25.ChatbotCallbacks[] | undefined | null;
|
|
13391
|
+
}
|
|
13392
|
+
interface ChatbotSchema extends SpruceSchema.Schema {
|
|
13393
|
+
id: 'chatbot';
|
|
13394
|
+
version: 'v2020_12_25';
|
|
13395
|
+
namespace: 'Mercury';
|
|
13396
|
+
name: '';
|
|
13397
|
+
fields: {
|
|
13398
|
+
/** . */
|
|
13399
|
+
'title': {
|
|
13400
|
+
type: 'text';
|
|
13401
|
+
isRequired: true;
|
|
13402
|
+
options: undefined;
|
|
13403
|
+
};
|
|
13404
|
+
/** . */
|
|
13405
|
+
'yourJobIfYouChooseToAcceptItIs': {
|
|
13406
|
+
type: 'text';
|
|
13407
|
+
isRequired: true;
|
|
13408
|
+
options: undefined;
|
|
13409
|
+
};
|
|
13410
|
+
/** . */
|
|
13411
|
+
'weAreDoneWhen': {
|
|
13412
|
+
type: 'text';
|
|
13413
|
+
isRequired: true;
|
|
13414
|
+
options: undefined;
|
|
13415
|
+
};
|
|
13416
|
+
/** . */
|
|
13417
|
+
'pleaseKeepInMindThat': {
|
|
13418
|
+
type: 'text';
|
|
13419
|
+
isArray: true;
|
|
13420
|
+
options: undefined;
|
|
13421
|
+
};
|
|
13422
|
+
/** . */
|
|
13423
|
+
'stateSchema': {
|
|
13424
|
+
type: 'raw';
|
|
13425
|
+
options: {
|
|
13426
|
+
valueType: `SpruceSchema.Schema`;
|
|
13427
|
+
};
|
|
13428
|
+
};
|
|
13429
|
+
/** . */
|
|
13430
|
+
'model': {
|
|
13431
|
+
type: 'id';
|
|
13432
|
+
options: undefined;
|
|
13433
|
+
};
|
|
13434
|
+
/** . */
|
|
13435
|
+
'promptTemplate': {
|
|
13436
|
+
type: 'text';
|
|
13437
|
+
options: undefined;
|
|
13438
|
+
};
|
|
13439
|
+
/** . */
|
|
13440
|
+
'callbacks': {
|
|
13441
|
+
type: 'schema';
|
|
13442
|
+
isArray: true;
|
|
13443
|
+
minArrayLength: 0;
|
|
13444
|
+
options: {
|
|
13445
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ChatbotCallbacksSchema;
|
|
13446
|
+
};
|
|
13447
|
+
};
|
|
13448
|
+
};
|
|
13449
|
+
}
|
|
13450
|
+
interface ChatbotEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ChatbotSchema> {
|
|
13451
|
+
}
|
|
13452
|
+
}
|
|
13453
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
13454
|
+
interface RegisterChatbotsResponsePayload {
|
|
13455
|
+
'bots': SpruceSchemas.Mercury.v2020_12_25.Chatbot[];
|
|
13456
|
+
}
|
|
13457
|
+
interface RegisterChatbotsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
13458
|
+
id: 'registerChatbotsResponsePayload';
|
|
13459
|
+
version: 'v2020_12_25';
|
|
13460
|
+
namespace: 'Mercury';
|
|
13461
|
+
name: '';
|
|
13462
|
+
fields: {
|
|
13463
|
+
/** . */
|
|
13464
|
+
'bots': {
|
|
13465
|
+
type: 'schema';
|
|
13466
|
+
isRequired: true;
|
|
13467
|
+
isArray: true;
|
|
13468
|
+
minArrayLength: 0;
|
|
13469
|
+
options: {
|
|
13470
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ChatbotSchema;
|
|
13471
|
+
};
|
|
13472
|
+
};
|
|
13473
|
+
};
|
|
13474
|
+
}
|
|
13475
|
+
interface RegisterChatbotsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterChatbotsResponsePayloadSchema> {
|
|
13513
13476
|
}
|
|
13514
13477
|
}
|
|
13515
13478
|
}
|