@sprucelabs/mercury-core-events 22.0.171 → 22.0.173
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/.spruce/schemas/schemas.types.d.ts +1809 -1809
- package/build/esm/.spruce/schemas/schemas.types.d.ts +1809 -1809
- package/package.json +8 -8
|
@@ -5,47 +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.DidInstallEmitTarget;
|
|
8
|
+
interface AddRoleEmitTarget {
|
|
9
|
+
'organizationId'?: string | undefined | null;
|
|
10
|
+
'locationId'?: string | undefined | null;
|
|
12
11
|
}
|
|
13
|
-
interface
|
|
14
|
-
id: '
|
|
12
|
+
interface AddRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
13
|
+
id: 'addRoleEmitTarget';
|
|
15
14
|
version: 'v2020_12_25';
|
|
16
15
|
namespace: 'Mercury';
|
|
17
16
|
name: '';
|
|
18
17
|
fields: {
|
|
19
|
-
/**
|
|
20
|
-
'
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
options: {
|
|
24
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
25
|
-
};
|
|
18
|
+
/** . */
|
|
19
|
+
'organizationId': {
|
|
20
|
+
type: 'id';
|
|
21
|
+
options: undefined;
|
|
26
22
|
};
|
|
27
23
|
/** . */
|
|
28
|
-
'
|
|
29
|
-
type: '
|
|
24
|
+
'locationId': {
|
|
25
|
+
type: 'id';
|
|
26
|
+
options: undefined;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
interface AddRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema> {
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
34
|
+
interface AddRoleEmitPayload {
|
|
35
|
+
'personId': string;
|
|
36
|
+
'roleId': string;
|
|
37
|
+
}
|
|
38
|
+
interface AddRoleEmitPayloadSchema extends SpruceSchema.Schema {
|
|
39
|
+
id: 'addRoleEmitPayload';
|
|
40
|
+
version: 'v2020_12_25';
|
|
41
|
+
namespace: 'Mercury';
|
|
42
|
+
name: '';
|
|
43
|
+
fields: {
|
|
44
|
+
/** . */
|
|
45
|
+
'personId': {
|
|
46
|
+
type: 'id';
|
|
30
47
|
isRequired: true;
|
|
31
|
-
options:
|
|
32
|
-
|
|
33
|
-
|
|
48
|
+
options: undefined;
|
|
49
|
+
};
|
|
50
|
+
/** . */
|
|
51
|
+
'roleId': {
|
|
52
|
+
type: 'id';
|
|
53
|
+
isRequired: true;
|
|
54
|
+
options: undefined;
|
|
34
55
|
};
|
|
35
56
|
};
|
|
36
57
|
}
|
|
37
|
-
interface
|
|
58
|
+
interface AddRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema> {
|
|
38
59
|
}
|
|
39
60
|
}
|
|
40
61
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
41
|
-
interface
|
|
62
|
+
interface AddRoleEmitTargetAndPayload {
|
|
42
63
|
/** Source. */
|
|
43
64
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
44
|
-
'target'
|
|
45
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.
|
|
65
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTarget | undefined | null;
|
|
66
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayload;
|
|
46
67
|
}
|
|
47
|
-
interface
|
|
48
|
-
id: '
|
|
68
|
+
interface AddRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
69
|
+
id: 'addRoleEmitTargetAndPayload';
|
|
49
70
|
version: 'v2020_12_25';
|
|
50
71
|
namespace: 'Mercury';
|
|
51
72
|
name: '';
|
|
@@ -61,9 +82,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
61
82
|
/** . */
|
|
62
83
|
'target': {
|
|
63
84
|
type: 'schema';
|
|
64
|
-
isRequired: true;
|
|
65
85
|
options: {
|
|
66
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
86
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema;
|
|
67
87
|
};
|
|
68
88
|
};
|
|
69
89
|
/** . */
|
|
@@ -71,126 +91,67 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
71
91
|
type: 'schema';
|
|
72
92
|
isRequired: true;
|
|
73
93
|
options: {
|
|
74
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
94
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema;
|
|
75
95
|
};
|
|
76
96
|
};
|
|
77
97
|
};
|
|
78
98
|
}
|
|
79
|
-
interface
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
83
|
-
interface DidInstallEmitTarget {
|
|
84
|
-
'organizationId': string;
|
|
85
|
-
'skillId': string;
|
|
86
|
-
}
|
|
87
|
-
interface DidInstallEmitTargetSchema extends SpruceSchema.Schema {
|
|
88
|
-
id: 'didInstallEmitTarget';
|
|
89
|
-
version: 'v2020_12_25';
|
|
90
|
-
namespace: 'Mercury';
|
|
91
|
-
name: '';
|
|
92
|
-
fields: {
|
|
93
|
-
/** . */
|
|
94
|
-
'organizationId': {
|
|
95
|
-
type: 'id';
|
|
96
|
-
isRequired: true;
|
|
97
|
-
options: undefined;
|
|
98
|
-
};
|
|
99
|
-
/** . */
|
|
100
|
-
'skillId': {
|
|
101
|
-
type: 'id';
|
|
102
|
-
isRequired: true;
|
|
103
|
-
options: undefined;
|
|
104
|
-
};
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
interface DidInstallEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema> {
|
|
99
|
+
interface AddRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetAndPayloadSchema> {
|
|
108
100
|
}
|
|
109
101
|
}
|
|
110
102
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
111
|
-
interface
|
|
103
|
+
interface AddRoleResponsePayload {
|
|
112
104
|
}
|
|
113
|
-
interface
|
|
114
|
-
id: '
|
|
105
|
+
interface AddRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
106
|
+
id: 'addRoleResponsePayload';
|
|
115
107
|
version: 'v2020_12_25';
|
|
116
108
|
namespace: 'Mercury';
|
|
117
109
|
name: '';
|
|
118
110
|
fields: {};
|
|
119
111
|
}
|
|
120
|
-
interface
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
124
|
-
interface DidJoinOrganizationEmitTarget {
|
|
125
|
-
'organizationId': string;
|
|
126
|
-
'locationId'?: string | undefined | null;
|
|
127
|
-
}
|
|
128
|
-
interface DidJoinOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
129
|
-
id: 'didJoinOrganizationEmitTarget';
|
|
130
|
-
version: 'v2020_12_25';
|
|
131
|
-
namespace: 'Mercury';
|
|
132
|
-
name: '';
|
|
133
|
-
fields: {
|
|
134
|
-
/** . */
|
|
135
|
-
'organizationId': {
|
|
136
|
-
type: 'id';
|
|
137
|
-
isRequired: true;
|
|
138
|
-
options: undefined;
|
|
139
|
-
};
|
|
140
|
-
/** . */
|
|
141
|
-
'locationId': {
|
|
142
|
-
type: 'id';
|
|
143
|
-
options: undefined;
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
}
|
|
147
|
-
interface DidJoinOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema> {
|
|
112
|
+
interface AddRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleResponsePayloadSchema> {
|
|
148
113
|
}
|
|
149
114
|
}
|
|
150
115
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
151
|
-
interface
|
|
152
|
-
'
|
|
153
|
-
'
|
|
154
|
-
'
|
|
116
|
+
interface AuthenticateEmitPayload {
|
|
117
|
+
'token'?: string | undefined | null;
|
|
118
|
+
'skillId'?: string | undefined | null;
|
|
119
|
+
'apiKey'?: string | undefined | null;
|
|
155
120
|
}
|
|
156
|
-
interface
|
|
157
|
-
id: '
|
|
121
|
+
interface AuthenticateEmitPayloadSchema extends SpruceSchema.Schema {
|
|
122
|
+
id: 'authenticateEmitPayload';
|
|
158
123
|
version: 'v2020_12_25';
|
|
159
124
|
namespace: 'Mercury';
|
|
160
125
|
name: '';
|
|
161
126
|
fields: {
|
|
162
127
|
/** . */
|
|
163
|
-
'
|
|
164
|
-
type: '
|
|
165
|
-
isRequired: true;
|
|
128
|
+
'token': {
|
|
129
|
+
type: 'text';
|
|
166
130
|
options: undefined;
|
|
167
131
|
};
|
|
168
132
|
/** . */
|
|
169
|
-
'
|
|
170
|
-
type: '
|
|
171
|
-
isRequired: true;
|
|
133
|
+
'skillId': {
|
|
134
|
+
type: 'text';
|
|
172
135
|
options: undefined;
|
|
173
136
|
};
|
|
174
137
|
/** . */
|
|
175
|
-
'
|
|
176
|
-
type: '
|
|
177
|
-
isRequired: true;
|
|
138
|
+
'apiKey': {
|
|
139
|
+
type: 'text';
|
|
178
140
|
options: undefined;
|
|
179
141
|
};
|
|
180
142
|
};
|
|
181
143
|
}
|
|
182
|
-
interface
|
|
144
|
+
interface AuthenticateEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema> {
|
|
183
145
|
}
|
|
184
146
|
}
|
|
185
147
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
186
|
-
interface
|
|
148
|
+
interface AuthenticateEmitTargetAndPayload {
|
|
187
149
|
/** Source. */
|
|
188
150
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
189
|
-
'
|
|
190
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayload;
|
|
151
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayload | undefined | null;
|
|
191
152
|
}
|
|
192
|
-
interface
|
|
193
|
-
id: '
|
|
153
|
+
interface AuthenticateEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
154
|
+
id: 'authenticateEmitTargetAndPayload';
|
|
194
155
|
version: 'v2020_12_25';
|
|
195
156
|
namespace: 'Mercury';
|
|
196
157
|
name: '';
|
|
@@ -204,157 +165,164 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
204
165
|
};
|
|
205
166
|
};
|
|
206
167
|
/** . */
|
|
207
|
-
'target': {
|
|
208
|
-
type: 'schema';
|
|
209
|
-
isRequired: true;
|
|
210
|
-
options: {
|
|
211
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema;
|
|
212
|
-
};
|
|
213
|
-
};
|
|
214
|
-
/** . */
|
|
215
168
|
'payload': {
|
|
216
169
|
type: 'schema';
|
|
217
|
-
isRequired: true;
|
|
218
170
|
options: {
|
|
219
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
171
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema;
|
|
220
172
|
};
|
|
221
173
|
};
|
|
222
174
|
};
|
|
223
175
|
}
|
|
224
|
-
interface
|
|
176
|
+
interface AuthenticateEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitTargetAndPayloadSchema> {
|
|
225
177
|
}
|
|
226
178
|
}
|
|
227
179
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
228
|
-
interface
|
|
229
|
-
'
|
|
230
|
-
'
|
|
231
|
-
'links'?: SpruceSchemas.Spruce.v2020_07_22.Link[] | undefined | null;
|
|
180
|
+
interface ConfirmPinRespondPayload {
|
|
181
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
182
|
+
'token': string;
|
|
232
183
|
}
|
|
233
|
-
interface
|
|
234
|
-
id: '
|
|
184
|
+
interface ConfirmPinRespondPayloadSchema extends SpruceSchema.Schema {
|
|
185
|
+
id: 'confirmPinRespondPayload';
|
|
235
186
|
version: 'v2020_12_25';
|
|
236
187
|
namespace: 'Mercury';
|
|
237
188
|
name: '';
|
|
238
189
|
fields: {
|
|
239
190
|
/** . */
|
|
240
|
-
'
|
|
241
|
-
type: '
|
|
242
|
-
|
|
243
|
-
options:
|
|
191
|
+
'person': {
|
|
192
|
+
type: 'schema';
|
|
193
|
+
isRequired: true;
|
|
194
|
+
options: {
|
|
195
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
196
|
+
};
|
|
244
197
|
};
|
|
245
198
|
/** . */
|
|
246
|
-
'
|
|
199
|
+
'token': {
|
|
247
200
|
type: 'text';
|
|
248
|
-
|
|
201
|
+
isRequired: true;
|
|
249
202
|
options: undefined;
|
|
250
203
|
};
|
|
251
|
-
/** . */
|
|
252
|
-
'links': {
|
|
253
|
-
type: 'schema';
|
|
254
|
-
isArray: true;
|
|
255
|
-
minArrayLength: 0;
|
|
256
|
-
options: {
|
|
257
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.LinkSchema;
|
|
258
|
-
};
|
|
259
|
-
};
|
|
260
204
|
};
|
|
261
205
|
}
|
|
262
|
-
interface
|
|
206
|
+
interface ConfirmPinRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinRespondPayloadSchema> {
|
|
263
207
|
}
|
|
264
208
|
}
|
|
265
209
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
266
|
-
interface
|
|
267
|
-
'
|
|
210
|
+
interface AuthSchema {
|
|
211
|
+
'person'?: SpruceSchemas.Spruce.v2020_07_22.Person | undefined | null;
|
|
212
|
+
'skill'?: SpruceSchemas.Spruce.v2020_07_22.Skill | undefined | null;
|
|
268
213
|
}
|
|
269
|
-
interface
|
|
270
|
-
id: '
|
|
214
|
+
interface AuthSchemaSchema extends SpruceSchema.Schema {
|
|
215
|
+
id: 'authSchema';
|
|
271
216
|
version: 'v2020_12_25';
|
|
272
217
|
namespace: 'Mercury';
|
|
273
218
|
name: '';
|
|
274
219
|
fields: {
|
|
275
220
|
/** . */
|
|
276
|
-
'
|
|
221
|
+
'person': {
|
|
277
222
|
type: 'schema';
|
|
278
223
|
options: {
|
|
279
|
-
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;
|
|
280
232
|
};
|
|
281
233
|
};
|
|
282
234
|
};
|
|
283
235
|
}
|
|
284
|
-
interface
|
|
236
|
+
interface AuthSchemaEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema> {
|
|
285
237
|
}
|
|
286
238
|
}
|
|
287
239
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
288
|
-
interface
|
|
289
|
-
'
|
|
290
|
-
'
|
|
240
|
+
interface AuthenticateResponsePayload {
|
|
241
|
+
'type': ("authenticated" | "anonymous");
|
|
242
|
+
'auth': SpruceSchemas.Mercury.v2020_12_25.AuthSchema;
|
|
291
243
|
}
|
|
292
|
-
interface
|
|
293
|
-
id: '
|
|
244
|
+
interface AuthenticateResponsePayloadSchema extends SpruceSchema.Schema {
|
|
245
|
+
id: 'authenticateResponsePayload';
|
|
294
246
|
version: 'v2020_12_25';
|
|
295
247
|
namespace: 'Mercury';
|
|
296
248
|
name: '';
|
|
297
249
|
fields: {
|
|
298
250
|
/** . */
|
|
299
|
-
'
|
|
300
|
-
type: '
|
|
251
|
+
'type': {
|
|
252
|
+
type: 'select';
|
|
301
253
|
isRequired: true;
|
|
302
|
-
options:
|
|
254
|
+
options: {
|
|
255
|
+
choices: [{
|
|
256
|
+
"value": "authenticated";
|
|
257
|
+
"label": "Authenticated";
|
|
258
|
+
}, {
|
|
259
|
+
"value": "anonymous";
|
|
260
|
+
"label": "Anonymous";
|
|
261
|
+
}];
|
|
262
|
+
};
|
|
303
263
|
};
|
|
304
264
|
/** . */
|
|
305
|
-
'
|
|
306
|
-
type: '
|
|
307
|
-
|
|
265
|
+
'auth': {
|
|
266
|
+
type: 'schema';
|
|
267
|
+
isRequired: true;
|
|
268
|
+
options: {
|
|
269
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema;
|
|
270
|
+
};
|
|
308
271
|
};
|
|
309
272
|
};
|
|
310
273
|
}
|
|
311
|
-
interface
|
|
274
|
+
interface AuthenticateResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateResponsePayloadSchema> {
|
|
312
275
|
}
|
|
313
276
|
}
|
|
314
277
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
315
|
-
interface
|
|
316
|
-
'
|
|
317
|
-
'
|
|
318
|
-
'isLastRole': boolean;
|
|
278
|
+
interface CanListenEmitPayload {
|
|
279
|
+
'authorizerStatuses'?: ("clockedIn" | "clockedOut" | "onPrem" | "offPrem") | undefined | null;
|
|
280
|
+
'fullyQualifiedEventName': string;
|
|
319
281
|
}
|
|
320
|
-
interface
|
|
321
|
-
id: '
|
|
282
|
+
interface CanListenEmitPayloadSchema extends SpruceSchema.Schema {
|
|
283
|
+
id: 'canListenEmitPayload';
|
|
322
284
|
version: 'v2020_12_25';
|
|
323
285
|
namespace: 'Mercury';
|
|
324
286
|
name: '';
|
|
325
287
|
fields: {
|
|
326
288
|
/** . */
|
|
327
|
-
'
|
|
328
|
-
type: '
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
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
|
+
};
|
|
337
306
|
};
|
|
338
307
|
/** . */
|
|
339
|
-
'
|
|
340
|
-
type: '
|
|
308
|
+
'fullyQualifiedEventName': {
|
|
309
|
+
type: 'text';
|
|
341
310
|
isRequired: true;
|
|
342
311
|
options: undefined;
|
|
343
312
|
};
|
|
344
313
|
};
|
|
345
314
|
}
|
|
346
|
-
interface
|
|
315
|
+
interface CanListenEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema> {
|
|
347
316
|
}
|
|
348
317
|
}
|
|
349
318
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
350
|
-
interface
|
|
319
|
+
interface CanListenEmitTargetAndPayload {
|
|
351
320
|
/** Source. */
|
|
352
321
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
353
|
-
'
|
|
354
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayload;
|
|
322
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayload;
|
|
355
323
|
}
|
|
356
|
-
interface
|
|
357
|
-
id: '
|
|
324
|
+
interface CanListenEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
325
|
+
id: 'canListenEmitTargetAndPayload';
|
|
358
326
|
version: 'v2020_12_25';
|
|
359
327
|
namespace: 'Mercury';
|
|
360
328
|
name: '';
|
|
@@ -368,83 +336,74 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
368
336
|
};
|
|
369
337
|
};
|
|
370
338
|
/** . */
|
|
371
|
-
'target': {
|
|
372
|
-
type: 'schema';
|
|
373
|
-
isRequired: true;
|
|
374
|
-
options: {
|
|
375
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema;
|
|
376
|
-
};
|
|
377
|
-
};
|
|
378
|
-
/** . */
|
|
379
339
|
'payload': {
|
|
380
340
|
type: 'schema';
|
|
381
341
|
isRequired: true;
|
|
382
342
|
options: {
|
|
383
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
343
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema;
|
|
384
344
|
};
|
|
385
345
|
};
|
|
386
346
|
};
|
|
387
347
|
}
|
|
388
|
-
interface
|
|
348
|
+
interface CanListenEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitTargetAndPayloadSchema> {
|
|
389
349
|
}
|
|
390
350
|
}
|
|
391
351
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
392
|
-
interface
|
|
352
|
+
interface CanListenResponsePayload {
|
|
353
|
+
'can'?: boolean | undefined | null;
|
|
393
354
|
}
|
|
394
|
-
interface
|
|
395
|
-
id: '
|
|
355
|
+
interface CanListenResponsePayloadSchema extends SpruceSchema.Schema {
|
|
356
|
+
id: 'canListenResponsePayload';
|
|
396
357
|
version: 'v2020_12_25';
|
|
397
358
|
namespace: 'Mercury';
|
|
398
359
|
name: '';
|
|
399
|
-
fields: {
|
|
360
|
+
fields: {
|
|
361
|
+
/** . */
|
|
362
|
+
'can': {
|
|
363
|
+
type: 'boolean';
|
|
364
|
+
options: undefined;
|
|
365
|
+
};
|
|
366
|
+
};
|
|
400
367
|
}
|
|
401
|
-
interface
|
|
368
|
+
interface CanListenResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenResponsePayloadSchema> {
|
|
402
369
|
}
|
|
403
370
|
}
|
|
404
371
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
405
|
-
interface
|
|
406
|
-
'
|
|
407
|
-
'
|
|
408
|
-
'topic'?: string | undefined | null;
|
|
372
|
+
interface ConfirmPinEmitPayload {
|
|
373
|
+
'challenge': string;
|
|
374
|
+
'pin': string;
|
|
409
375
|
}
|
|
410
|
-
interface
|
|
411
|
-
id: '
|
|
376
|
+
interface ConfirmPinEmitPayloadSchema extends SpruceSchema.Schema {
|
|
377
|
+
id: 'confirmPinEmitPayload';
|
|
412
378
|
version: 'v2020_12_25';
|
|
413
379
|
namespace: 'Mercury';
|
|
414
380
|
name: '';
|
|
415
381
|
fields: {
|
|
416
382
|
/** . */
|
|
417
|
-
'
|
|
418
|
-
type: 'schema';
|
|
419
|
-
isRequired: true;
|
|
420
|
-
options: {
|
|
421
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.MessageSchema;
|
|
422
|
-
};
|
|
423
|
-
};
|
|
424
|
-
/** . */
|
|
425
|
-
'conversationState': {
|
|
383
|
+
'challenge': {
|
|
426
384
|
type: 'text';
|
|
385
|
+
isRequired: true;
|
|
427
386
|
options: undefined;
|
|
428
387
|
};
|
|
429
388
|
/** . */
|
|
430
|
-
'
|
|
389
|
+
'pin': {
|
|
431
390
|
type: 'text';
|
|
391
|
+
isRequired: true;
|
|
432
392
|
options: undefined;
|
|
433
393
|
};
|
|
434
394
|
};
|
|
435
395
|
}
|
|
436
|
-
interface
|
|
396
|
+
interface ConfirmPinEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema> {
|
|
437
397
|
}
|
|
438
398
|
}
|
|
439
399
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
440
|
-
interface
|
|
400
|
+
interface ConfirmPinEmitTargetAndPayload {
|
|
441
401
|
/** Source. */
|
|
442
402
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
443
|
-
'
|
|
444
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayload;
|
|
403
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayload;
|
|
445
404
|
}
|
|
446
|
-
interface
|
|
447
|
-
id: '
|
|
405
|
+
interface ConfirmPinEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
406
|
+
id: 'confirmPinEmitTargetAndPayload';
|
|
448
407
|
version: 'v2020_12_25';
|
|
449
408
|
namespace: 'Mercury';
|
|
450
409
|
name: '';
|
|
@@ -458,1075 +417,94 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
458
417
|
};
|
|
459
418
|
};
|
|
460
419
|
/** . */
|
|
461
|
-
'target': {
|
|
462
|
-
type: 'schema';
|
|
463
|
-
options: {
|
|
464
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.MessageTargetSchema;
|
|
465
|
-
};
|
|
466
|
-
};
|
|
467
|
-
/** . */
|
|
468
420
|
'payload': {
|
|
469
421
|
type: 'schema';
|
|
470
422
|
isRequired: true;
|
|
471
423
|
options: {
|
|
472
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
424
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema;
|
|
473
425
|
};
|
|
474
426
|
};
|
|
475
427
|
};
|
|
476
428
|
}
|
|
477
|
-
interface
|
|
429
|
+
interface ConfirmPinEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitTargetAndPayloadSchema> {
|
|
478
430
|
}
|
|
479
431
|
}
|
|
480
432
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
481
|
-
interface
|
|
482
|
-
'
|
|
483
|
-
'confidence': number;
|
|
484
|
-
'label': string;
|
|
433
|
+
interface CreateLocationEmitTarget {
|
|
434
|
+
'organizationId': string;
|
|
485
435
|
}
|
|
486
|
-
interface
|
|
487
|
-
id: '
|
|
436
|
+
interface CreateLocationEmitTargetSchema extends SpruceSchema.Schema {
|
|
437
|
+
id: 'createLocationEmitTarget';
|
|
488
438
|
version: 'v2020_12_25';
|
|
489
439
|
namespace: 'Mercury';
|
|
490
440
|
name: '';
|
|
491
441
|
fields: {
|
|
492
442
|
/** . */
|
|
493
|
-
'
|
|
494
|
-
type: '
|
|
495
|
-
isRequired: true;
|
|
496
|
-
options: undefined;
|
|
497
|
-
};
|
|
498
|
-
/** . */
|
|
499
|
-
'confidence': {
|
|
500
|
-
type: 'number';
|
|
501
|
-
isRequired: true;
|
|
502
|
-
options: undefined;
|
|
503
|
-
};
|
|
504
|
-
/** . */
|
|
505
|
-
'label': {
|
|
506
|
-
type: 'text';
|
|
443
|
+
'organizationId': {
|
|
444
|
+
type: 'id';
|
|
507
445
|
isRequired: true;
|
|
508
446
|
options: undefined;
|
|
509
447
|
};
|
|
510
448
|
};
|
|
511
449
|
}
|
|
512
|
-
interface
|
|
450
|
+
interface CreateLocationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CreateLocationEmitTargetSchema> {
|
|
513
451
|
}
|
|
514
452
|
}
|
|
515
453
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
516
|
-
interface
|
|
517
|
-
|
|
518
|
-
'
|
|
519
|
-
|
|
520
|
-
'
|
|
521
|
-
|
|
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;
|
|
522
469
|
}
|
|
523
|
-
interface
|
|
524
|
-
id: '
|
|
470
|
+
interface CreateLocationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
471
|
+
id: 'createLocationEmitPayload';
|
|
525
472
|
version: 'v2020_12_25';
|
|
526
473
|
namespace: 'Mercury';
|
|
527
474
|
name: '';
|
|
528
475
|
fields: {
|
|
529
|
-
/** . */
|
|
530
|
-
'
|
|
531
|
-
|
|
532
|
-
options: {
|
|
533
|
-
choices: [{
|
|
534
|
-
"label": "Greeting";
|
|
535
|
-
"value": "greeting";
|
|
536
|
-
}, {
|
|
537
|
-
"label": "Discovery";
|
|
538
|
-
"value": "discovery";
|
|
539
|
-
}, {
|
|
540
|
-
"label": "Topic";
|
|
541
|
-
"value": "topic";
|
|
542
|
-
}, {
|
|
543
|
-
"label": "Closing";
|
|
544
|
-
"value": "closing";
|
|
545
|
-
}];
|
|
546
|
-
};
|
|
547
|
-
};
|
|
548
|
-
/** . */
|
|
549
|
-
'repairs': {
|
|
476
|
+
/** Name. */
|
|
477
|
+
'name': {
|
|
478
|
+
label: 'Name';
|
|
550
479
|
type: 'text';
|
|
551
|
-
|
|
480
|
+
isRequired: true;
|
|
552
481
|
options: undefined;
|
|
553
482
|
};
|
|
554
|
-
/** . */
|
|
555
|
-
'
|
|
483
|
+
/** Store number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
484
|
+
'num': {
|
|
485
|
+
label: 'Store number';
|
|
556
486
|
type: 'text';
|
|
557
|
-
|
|
487
|
+
hint: 'You can use other symbols, like # or dashes. #123 or 32-US-5';
|
|
558
488
|
options: undefined;
|
|
559
489
|
};
|
|
560
|
-
/** . */
|
|
561
|
-
'
|
|
562
|
-
|
|
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;
|
|
563
496
|
options: undefined;
|
|
564
497
|
};
|
|
565
|
-
/** . */
|
|
566
|
-
'
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
options: {
|
|
570
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema;
|
|
571
|
-
};
|
|
572
|
-
};
|
|
573
|
-
};
|
|
574
|
-
}
|
|
575
|
-
interface DidMessageResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageResponsePayloadSchema> {
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
579
|
-
interface DidSignupEmitPayload {
|
|
580
|
-
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
581
|
-
}
|
|
582
|
-
interface DidSignupEmitPayloadSchema extends SpruceSchema.Schema {
|
|
583
|
-
id: 'didSignupEmitPayload';
|
|
584
|
-
version: 'v2020_12_25';
|
|
585
|
-
namespace: 'Mercury';
|
|
586
|
-
name: '';
|
|
587
|
-
fields: {
|
|
588
|
-
/** . */
|
|
589
|
-
'person': {
|
|
590
|
-
type: 'schema';
|
|
591
|
-
isRequired: true;
|
|
592
|
-
options: {
|
|
593
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
594
|
-
};
|
|
595
|
-
};
|
|
596
|
-
};
|
|
597
|
-
}
|
|
598
|
-
interface DidSignupEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema> {
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
602
|
-
interface DidSignupEmitTargetAndPayload {
|
|
603
|
-
/** Source. */
|
|
604
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
605
|
-
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
606
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayload;
|
|
607
|
-
}
|
|
608
|
-
interface DidSignupEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
609
|
-
id: 'didSignupEmitTargetAndPayload';
|
|
610
|
-
version: 'v2020_12_25';
|
|
611
|
-
namespace: 'Mercury';
|
|
612
|
-
name: '';
|
|
613
|
-
fields: {
|
|
614
|
-
/** Source. */
|
|
615
|
-
'source': {
|
|
616
|
-
label: 'Source';
|
|
617
|
-
type: 'schema';
|
|
618
|
-
options: {
|
|
619
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
620
|
-
};
|
|
621
|
-
};
|
|
622
|
-
/** . */
|
|
623
|
-
'target': {
|
|
624
|
-
type: 'schema';
|
|
625
|
-
options: {
|
|
626
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
627
|
-
};
|
|
628
|
-
};
|
|
629
|
-
/** . */
|
|
630
|
-
'payload': {
|
|
631
|
-
type: 'schema';
|
|
632
|
-
isRequired: true;
|
|
633
|
-
options: {
|
|
634
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema;
|
|
635
|
-
};
|
|
636
|
-
};
|
|
637
|
-
};
|
|
638
|
-
}
|
|
639
|
-
interface DidSignupEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitTargetAndPayloadSchema> {
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
643
|
-
interface DidUpdateFeedEmitTarget {
|
|
644
|
-
'locationId'?: string | undefined | null;
|
|
645
|
-
'organizationId'?: string | undefined | null;
|
|
646
|
-
'skillId'?: string | undefined | null;
|
|
647
|
-
}
|
|
648
|
-
interface DidUpdateFeedEmitTargetSchema extends SpruceSchema.Schema {
|
|
649
|
-
id: 'didUpdateFeedEmitTarget';
|
|
650
|
-
version: 'v2020_12_25';
|
|
651
|
-
namespace: 'Mercury';
|
|
652
|
-
name: '';
|
|
653
|
-
fields: {
|
|
654
|
-
/** . */
|
|
655
|
-
'locationId': {
|
|
656
|
-
type: 'id';
|
|
657
|
-
options: undefined;
|
|
658
|
-
};
|
|
659
|
-
/** . */
|
|
660
|
-
'organizationId': {
|
|
661
|
-
type: 'id';
|
|
662
|
-
options: undefined;
|
|
663
|
-
};
|
|
664
|
-
/** . */
|
|
665
|
-
'skillId': {
|
|
666
|
-
type: 'id';
|
|
498
|
+
/** Main Phone. */
|
|
499
|
+
'phone': {
|
|
500
|
+
label: 'Main Phone';
|
|
501
|
+
type: 'phone';
|
|
667
502
|
options: undefined;
|
|
668
503
|
};
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
}
|
|
674
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
675
|
-
interface DidUpdateFeedEmitPayload {
|
|
676
|
-
'item': SpruceSchemas.Spruce.v2020_07_22.FeedItem;
|
|
677
|
-
}
|
|
678
|
-
interface DidUpdateFeedEmitPayloadSchema extends SpruceSchema.Schema {
|
|
679
|
-
id: 'didUpdateFeedEmitPayload';
|
|
680
|
-
version: 'v2020_12_25';
|
|
681
|
-
namespace: 'Mercury';
|
|
682
|
-
name: '';
|
|
683
|
-
fields: {
|
|
684
|
-
/** . */
|
|
685
|
-
'item': {
|
|
686
|
-
type: 'schema';
|
|
687
|
-
isRequired: true;
|
|
688
|
-
options: {
|
|
689
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.FeedItemSchema;
|
|
690
|
-
};
|
|
691
|
-
};
|
|
692
|
-
};
|
|
693
|
-
}
|
|
694
|
-
interface DidUpdateFeedEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema> {
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
698
|
-
interface DidUpdateFeedEmitTargetAndPayload {
|
|
699
|
-
/** Source. */
|
|
700
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
701
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTarget | undefined | null;
|
|
702
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayload;
|
|
703
|
-
}
|
|
704
|
-
interface DidUpdateFeedEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
705
|
-
id: 'didUpdateFeedEmitTargetAndPayload';
|
|
706
|
-
version: 'v2020_12_25';
|
|
707
|
-
namespace: 'Mercury';
|
|
708
|
-
name: '';
|
|
709
|
-
fields: {
|
|
710
|
-
/** Source. */
|
|
711
|
-
'source': {
|
|
712
|
-
label: 'Source';
|
|
713
|
-
type: 'schema';
|
|
714
|
-
options: {
|
|
715
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
716
|
-
};
|
|
717
|
-
};
|
|
718
|
-
/** . */
|
|
719
|
-
'target': {
|
|
720
|
-
type: 'schema';
|
|
721
|
-
options: {
|
|
722
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetSchema;
|
|
723
|
-
};
|
|
724
|
-
};
|
|
725
|
-
/** . */
|
|
726
|
-
'payload': {
|
|
727
|
-
type: 'schema';
|
|
728
|
-
isRequired: true;
|
|
729
|
-
options: {
|
|
730
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema;
|
|
731
|
-
};
|
|
732
|
-
};
|
|
733
|
-
};
|
|
734
|
-
}
|
|
735
|
-
interface DidUpdateFeedEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetAndPayloadSchema> {
|
|
736
|
-
}
|
|
737
|
-
}
|
|
738
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
739
|
-
interface DidUpdatePersonEmitPayload {
|
|
740
|
-
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
741
|
-
}
|
|
742
|
-
interface DidUpdatePersonEmitPayloadSchema extends SpruceSchema.Schema {
|
|
743
|
-
id: 'didUpdatePersonEmitPayload';
|
|
744
|
-
version: 'v2020_12_25';
|
|
745
|
-
namespace: 'Mercury';
|
|
746
|
-
name: '';
|
|
747
|
-
fields: {
|
|
748
|
-
/** . */
|
|
749
|
-
'person': {
|
|
750
|
-
type: 'schema';
|
|
751
|
-
isRequired: true;
|
|
752
|
-
options: {
|
|
753
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
754
|
-
};
|
|
755
|
-
};
|
|
756
|
-
};
|
|
757
|
-
}
|
|
758
|
-
interface DidUpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema> {
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
762
|
-
interface DidUpdatePersonEmitTargetAndPayload {
|
|
763
|
-
/** Source. */
|
|
764
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
765
|
-
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
766
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayload;
|
|
767
|
-
}
|
|
768
|
-
interface DidUpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
769
|
-
id: 'didUpdatePersonEmitTargetAndPayload';
|
|
770
|
-
version: 'v2020_12_25';
|
|
771
|
-
namespace: 'Mercury';
|
|
772
|
-
name: '';
|
|
773
|
-
fields: {
|
|
774
|
-
/** Source. */
|
|
775
|
-
'source': {
|
|
776
|
-
label: 'Source';
|
|
777
|
-
type: 'schema';
|
|
778
|
-
options: {
|
|
779
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
780
|
-
};
|
|
781
|
-
};
|
|
782
|
-
/** . */
|
|
783
|
-
'target': {
|
|
784
|
-
type: 'schema';
|
|
785
|
-
options: {
|
|
786
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
787
|
-
};
|
|
788
|
-
};
|
|
789
|
-
/** . */
|
|
790
|
-
'payload': {
|
|
791
|
-
type: 'schema';
|
|
792
|
-
isRequired: true;
|
|
793
|
-
options: {
|
|
794
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema;
|
|
795
|
-
};
|
|
796
|
-
};
|
|
797
|
-
};
|
|
798
|
-
}
|
|
799
|
-
interface DidUpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitTargetAndPayloadSchema> {
|
|
800
|
-
}
|
|
801
|
-
}
|
|
802
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
803
|
-
interface InvokeChatCallbackTarget {
|
|
804
|
-
'skillId': string;
|
|
805
|
-
'chatPersonId': string;
|
|
806
|
-
}
|
|
807
|
-
interface InvokeChatCallbackTargetSchema extends SpruceSchema.Schema {
|
|
808
|
-
id: 'invokeChatCallbackTarget';
|
|
809
|
-
version: 'v2020_12_25';
|
|
810
|
-
namespace: 'Mercury';
|
|
811
|
-
name: '';
|
|
812
|
-
fields: {
|
|
813
|
-
/** . */
|
|
814
|
-
'skillId': {
|
|
815
|
-
type: 'id';
|
|
816
|
-
isRequired: true;
|
|
817
|
-
options: undefined;
|
|
818
|
-
};
|
|
819
|
-
/** . */
|
|
820
|
-
'chatPersonId': {
|
|
821
|
-
type: 'id';
|
|
822
|
-
isRequired: true;
|
|
823
|
-
options: undefined;
|
|
824
|
-
};
|
|
825
|
-
};
|
|
826
|
-
}
|
|
827
|
-
interface InvokeChatCallbackTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackTargetSchema> {
|
|
828
|
-
}
|
|
829
|
-
}
|
|
830
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
831
|
-
interface InvokeChatCallbackPayload {
|
|
832
|
-
'placeholder': string;
|
|
833
|
-
'state'?: (Record<string, any>) | undefined | null;
|
|
834
|
-
}
|
|
835
|
-
interface InvokeChatCallbackPayloadSchema extends SpruceSchema.Schema {
|
|
836
|
-
id: 'invokeChatCallbackPayload';
|
|
837
|
-
version: 'v2020_12_25';
|
|
838
|
-
namespace: 'Mercury';
|
|
839
|
-
name: '';
|
|
840
|
-
fields: {
|
|
841
|
-
/** . */
|
|
842
|
-
'placeholder': {
|
|
843
|
-
type: 'id';
|
|
844
|
-
isRequired: true;
|
|
845
|
-
options: undefined;
|
|
846
|
-
};
|
|
847
|
-
/** . */
|
|
848
|
-
'state': {
|
|
849
|
-
type: 'raw';
|
|
850
|
-
options: {
|
|
851
|
-
valueType: `Record<string, any>`;
|
|
852
|
-
};
|
|
853
|
-
};
|
|
854
|
-
};
|
|
855
|
-
}
|
|
856
|
-
interface InvokeChatCallbackPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackPayloadSchema> {
|
|
857
|
-
}
|
|
858
|
-
}
|
|
859
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
860
|
-
interface InvokeChatCallbackResponsePayload {
|
|
861
|
-
'message': string;
|
|
862
|
-
}
|
|
863
|
-
interface InvokeChatCallbackResponsePayloadSchema extends SpruceSchema.Schema {
|
|
864
|
-
id: 'invokeChatCallbackResponsePayload';
|
|
865
|
-
version: 'v2020_12_25';
|
|
866
|
-
namespace: 'Mercury';
|
|
867
|
-
name: '';
|
|
868
|
-
fields: {
|
|
869
|
-
/** . */
|
|
870
|
-
'message': {
|
|
871
|
-
type: 'text';
|
|
872
|
-
isRequired: true;
|
|
873
|
-
options: undefined;
|
|
874
|
-
};
|
|
875
|
-
};
|
|
876
|
-
}
|
|
877
|
-
interface InvokeChatCallbackResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackResponsePayloadSchema> {
|
|
878
|
-
}
|
|
879
|
-
}
|
|
880
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
881
|
-
interface RegisterChatbotsEmitTargetAndPayload {
|
|
882
|
-
/** Source. */
|
|
883
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
884
|
-
}
|
|
885
|
-
interface RegisterChatbotsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
886
|
-
id: 'registerChatbotsEmitTargetAndPayload';
|
|
887
|
-
version: 'v2020_12_25';
|
|
888
|
-
namespace: 'Mercury';
|
|
889
|
-
name: '';
|
|
890
|
-
fields: {
|
|
891
|
-
/** Source. */
|
|
892
|
-
'source': {
|
|
893
|
-
label: 'Source';
|
|
894
|
-
type: 'schema';
|
|
895
|
-
options: {
|
|
896
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
897
|
-
};
|
|
898
|
-
};
|
|
899
|
-
};
|
|
900
|
-
}
|
|
901
|
-
interface RegisterChatbotsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterChatbotsEmitTargetAndPayloadSchema> {
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
905
|
-
interface ChatbotCallbacks {
|
|
906
|
-
'placeholder': string;
|
|
907
|
-
'useThisWhenever': string;
|
|
908
|
-
}
|
|
909
|
-
interface ChatbotCallbacksSchema extends SpruceSchema.Schema {
|
|
910
|
-
id: 'chatbotCallbacks';
|
|
911
|
-
version: 'v2020_12_25';
|
|
912
|
-
namespace: 'Mercury';
|
|
913
|
-
name: '';
|
|
914
|
-
fields: {
|
|
915
|
-
/** . */
|
|
916
|
-
'placeholder': {
|
|
917
|
-
type: 'id';
|
|
918
|
-
isRequired: true;
|
|
919
|
-
options: undefined;
|
|
920
|
-
};
|
|
921
|
-
/** . */
|
|
922
|
-
'useThisWhenever': {
|
|
923
|
-
type: 'text';
|
|
924
|
-
isRequired: true;
|
|
925
|
-
options: undefined;
|
|
926
|
-
};
|
|
927
|
-
};
|
|
928
|
-
}
|
|
929
|
-
interface ChatbotCallbacksEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ChatbotCallbacksSchema> {
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
933
|
-
interface Chatbot {
|
|
934
|
-
'title': string;
|
|
935
|
-
'yourJobIfYouChooseToAcceptItIs': string;
|
|
936
|
-
'weAreDoneWhen': string;
|
|
937
|
-
'pleaseKeepInMindThat'?: string[] | undefined | null;
|
|
938
|
-
'stateSchema'?: (SpruceSchema.Schema) | undefined | null;
|
|
939
|
-
'model'?: string | undefined | null;
|
|
940
|
-
'promptTemplate'?: string | undefined | null;
|
|
941
|
-
'callbacks'?: SpruceSchemas.Mercury.v2020_12_25.ChatbotCallbacks[] | undefined | null;
|
|
942
|
-
}
|
|
943
|
-
interface ChatbotSchema extends SpruceSchema.Schema {
|
|
944
|
-
id: 'chatbot';
|
|
945
|
-
version: 'v2020_12_25';
|
|
946
|
-
namespace: 'Mercury';
|
|
947
|
-
name: '';
|
|
948
|
-
fields: {
|
|
949
|
-
/** . */
|
|
950
|
-
'title': {
|
|
951
|
-
type: 'text';
|
|
952
|
-
isRequired: true;
|
|
953
|
-
options: undefined;
|
|
954
|
-
};
|
|
955
|
-
/** . */
|
|
956
|
-
'yourJobIfYouChooseToAcceptItIs': {
|
|
957
|
-
type: 'text';
|
|
958
|
-
isRequired: true;
|
|
959
|
-
options: undefined;
|
|
960
|
-
};
|
|
961
|
-
/** . */
|
|
962
|
-
'weAreDoneWhen': {
|
|
963
|
-
type: 'text';
|
|
964
|
-
isRequired: true;
|
|
965
|
-
options: undefined;
|
|
966
|
-
};
|
|
967
|
-
/** . */
|
|
968
|
-
'pleaseKeepInMindThat': {
|
|
969
|
-
type: 'text';
|
|
970
|
-
isArray: true;
|
|
971
|
-
options: undefined;
|
|
972
|
-
};
|
|
973
|
-
/** . */
|
|
974
|
-
'stateSchema': {
|
|
975
|
-
type: 'raw';
|
|
976
|
-
options: {
|
|
977
|
-
valueType: `SpruceSchema.Schema`;
|
|
978
|
-
};
|
|
979
|
-
};
|
|
980
|
-
/** . */
|
|
981
|
-
'model': {
|
|
982
|
-
type: 'id';
|
|
983
|
-
options: undefined;
|
|
984
|
-
};
|
|
985
|
-
/** . */
|
|
986
|
-
'promptTemplate': {
|
|
987
|
-
type: 'text';
|
|
988
|
-
options: undefined;
|
|
989
|
-
};
|
|
990
|
-
/** . */
|
|
991
|
-
'callbacks': {
|
|
992
|
-
type: 'schema';
|
|
993
|
-
isArray: true;
|
|
994
|
-
minArrayLength: 0;
|
|
995
|
-
options: {
|
|
996
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ChatbotCallbacksSchema;
|
|
997
|
-
};
|
|
998
|
-
};
|
|
999
|
-
};
|
|
1000
|
-
}
|
|
1001
|
-
interface ChatbotEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ChatbotSchema> {
|
|
1002
|
-
}
|
|
1003
|
-
}
|
|
1004
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1005
|
-
interface RegisterChatbotsResponsePayload {
|
|
1006
|
-
'bots': SpruceSchemas.Mercury.v2020_12_25.Chatbot[];
|
|
1007
|
-
}
|
|
1008
|
-
interface RegisterChatbotsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
1009
|
-
id: 'registerChatbotsResponsePayload';
|
|
1010
|
-
version: 'v2020_12_25';
|
|
1011
|
-
namespace: 'Mercury';
|
|
1012
|
-
name: '';
|
|
1013
|
-
fields: {
|
|
1014
|
-
/** . */
|
|
1015
|
-
'bots': {
|
|
1016
|
-
type: 'schema';
|
|
1017
|
-
isRequired: true;
|
|
1018
|
-
isArray: true;
|
|
1019
|
-
minArrayLength: 0;
|
|
1020
|
-
options: {
|
|
1021
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ChatbotSchema;
|
|
1022
|
-
};
|
|
1023
|
-
};
|
|
1024
|
-
};
|
|
1025
|
-
}
|
|
1026
|
-
interface RegisterChatbotsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterChatbotsResponsePayloadSchema> {
|
|
1027
|
-
}
|
|
1028
|
-
}
|
|
1029
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1030
|
-
interface AddRoleEmitTarget {
|
|
1031
|
-
'organizationId'?: string | undefined | null;
|
|
1032
|
-
'locationId'?: string | undefined | null;
|
|
1033
|
-
}
|
|
1034
|
-
interface AddRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
1035
|
-
id: 'addRoleEmitTarget';
|
|
1036
|
-
version: 'v2020_12_25';
|
|
1037
|
-
namespace: 'Mercury';
|
|
1038
|
-
name: '';
|
|
1039
|
-
fields: {
|
|
1040
|
-
/** . */
|
|
1041
|
-
'organizationId': {
|
|
1042
|
-
type: 'id';
|
|
1043
|
-
options: undefined;
|
|
1044
|
-
};
|
|
1045
|
-
/** . */
|
|
1046
|
-
'locationId': {
|
|
1047
|
-
type: 'id';
|
|
1048
|
-
options: undefined;
|
|
1049
|
-
};
|
|
1050
|
-
};
|
|
1051
|
-
}
|
|
1052
|
-
interface AddRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema> {
|
|
1053
|
-
}
|
|
1054
|
-
}
|
|
1055
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1056
|
-
interface AddRoleEmitPayload {
|
|
1057
|
-
'personId': string;
|
|
1058
|
-
'roleId': string;
|
|
1059
|
-
}
|
|
1060
|
-
interface AddRoleEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1061
|
-
id: 'addRoleEmitPayload';
|
|
1062
|
-
version: 'v2020_12_25';
|
|
1063
|
-
namespace: 'Mercury';
|
|
1064
|
-
name: '';
|
|
1065
|
-
fields: {
|
|
1066
|
-
/** . */
|
|
1067
|
-
'personId': {
|
|
1068
|
-
type: 'id';
|
|
1069
|
-
isRequired: true;
|
|
1070
|
-
options: undefined;
|
|
1071
|
-
};
|
|
1072
|
-
/** . */
|
|
1073
|
-
'roleId': {
|
|
1074
|
-
type: 'id';
|
|
1075
|
-
isRequired: true;
|
|
1076
|
-
options: undefined;
|
|
1077
|
-
};
|
|
1078
|
-
};
|
|
1079
|
-
}
|
|
1080
|
-
interface AddRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema> {
|
|
1081
|
-
}
|
|
1082
|
-
}
|
|
1083
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1084
|
-
interface AddRoleEmitTargetAndPayload {
|
|
1085
|
-
/** Source. */
|
|
1086
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1087
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTarget | undefined | null;
|
|
1088
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayload;
|
|
1089
|
-
}
|
|
1090
|
-
interface AddRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1091
|
-
id: 'addRoleEmitTargetAndPayload';
|
|
1092
|
-
version: 'v2020_12_25';
|
|
1093
|
-
namespace: 'Mercury';
|
|
1094
|
-
name: '';
|
|
1095
|
-
fields: {
|
|
1096
|
-
/** Source. */
|
|
1097
|
-
'source': {
|
|
1098
|
-
label: 'Source';
|
|
1099
|
-
type: 'schema';
|
|
1100
|
-
options: {
|
|
1101
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1102
|
-
};
|
|
1103
|
-
};
|
|
1104
|
-
/** . */
|
|
1105
|
-
'target': {
|
|
1106
|
-
type: 'schema';
|
|
1107
|
-
options: {
|
|
1108
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema;
|
|
1109
|
-
};
|
|
1110
|
-
};
|
|
1111
|
-
/** . */
|
|
1112
|
-
'payload': {
|
|
1113
|
-
type: 'schema';
|
|
1114
|
-
isRequired: true;
|
|
1115
|
-
options: {
|
|
1116
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema;
|
|
1117
|
-
};
|
|
1118
|
-
};
|
|
1119
|
-
};
|
|
1120
|
-
}
|
|
1121
|
-
interface AddRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetAndPayloadSchema> {
|
|
1122
|
-
}
|
|
1123
|
-
}
|
|
1124
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1125
|
-
interface AddRoleResponsePayload {
|
|
1126
|
-
}
|
|
1127
|
-
interface AddRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
1128
|
-
id: 'addRoleResponsePayload';
|
|
1129
|
-
version: 'v2020_12_25';
|
|
1130
|
-
namespace: 'Mercury';
|
|
1131
|
-
name: '';
|
|
1132
|
-
fields: {};
|
|
1133
|
-
}
|
|
1134
|
-
interface AddRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleResponsePayloadSchema> {
|
|
1135
|
-
}
|
|
1136
|
-
}
|
|
1137
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1138
|
-
interface AuthenticateEmitPayload {
|
|
1139
|
-
'token'?: string | undefined | null;
|
|
1140
|
-
'skillId'?: string | undefined | null;
|
|
1141
|
-
'apiKey'?: string | undefined | null;
|
|
1142
|
-
}
|
|
1143
|
-
interface AuthenticateEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1144
|
-
id: 'authenticateEmitPayload';
|
|
1145
|
-
version: 'v2020_12_25';
|
|
1146
|
-
namespace: 'Mercury';
|
|
1147
|
-
name: '';
|
|
1148
|
-
fields: {
|
|
1149
|
-
/** . */
|
|
1150
|
-
'token': {
|
|
1151
|
-
type: 'text';
|
|
1152
|
-
options: undefined;
|
|
1153
|
-
};
|
|
1154
|
-
/** . */
|
|
1155
|
-
'skillId': {
|
|
1156
|
-
type: 'text';
|
|
1157
|
-
options: undefined;
|
|
1158
|
-
};
|
|
1159
|
-
/** . */
|
|
1160
|
-
'apiKey': {
|
|
1161
|
-
type: 'text';
|
|
1162
|
-
options: undefined;
|
|
1163
|
-
};
|
|
1164
|
-
};
|
|
1165
|
-
}
|
|
1166
|
-
interface AuthenticateEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema> {
|
|
1167
|
-
}
|
|
1168
|
-
}
|
|
1169
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1170
|
-
interface AuthenticateEmitTargetAndPayload {
|
|
1171
|
-
/** Source. */
|
|
1172
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1173
|
-
'payload'?: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayload | undefined | null;
|
|
1174
|
-
}
|
|
1175
|
-
interface AuthenticateEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1176
|
-
id: 'authenticateEmitTargetAndPayload';
|
|
1177
|
-
version: 'v2020_12_25';
|
|
1178
|
-
namespace: 'Mercury';
|
|
1179
|
-
name: '';
|
|
1180
|
-
fields: {
|
|
1181
|
-
/** Source. */
|
|
1182
|
-
'source': {
|
|
1183
|
-
label: 'Source';
|
|
1184
|
-
type: 'schema';
|
|
1185
|
-
options: {
|
|
1186
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1187
|
-
};
|
|
1188
|
-
};
|
|
1189
|
-
/** . */
|
|
1190
|
-
'payload': {
|
|
1191
|
-
type: 'schema';
|
|
1192
|
-
options: {
|
|
1193
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema;
|
|
1194
|
-
};
|
|
1195
|
-
};
|
|
1196
|
-
};
|
|
1197
|
-
}
|
|
1198
|
-
interface AuthenticateEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitTargetAndPayloadSchema> {
|
|
1199
|
-
}
|
|
1200
|
-
}
|
|
1201
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1202
|
-
interface AuthSchema {
|
|
1203
|
-
'person'?: SpruceSchemas.Spruce.v2020_07_22.Person | undefined | null;
|
|
1204
|
-
'skill'?: SpruceSchemas.Spruce.v2020_07_22.Skill | undefined | null;
|
|
1205
|
-
}
|
|
1206
|
-
interface AuthSchemaSchema extends SpruceSchema.Schema {
|
|
1207
|
-
id: 'authSchema';
|
|
1208
|
-
version: 'v2020_12_25';
|
|
1209
|
-
namespace: 'Mercury';
|
|
1210
|
-
name: '';
|
|
1211
|
-
fields: {
|
|
1212
|
-
/** . */
|
|
1213
|
-
'person': {
|
|
1214
|
-
type: 'schema';
|
|
1215
|
-
options: {
|
|
1216
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
1217
|
-
};
|
|
1218
|
-
};
|
|
1219
|
-
/** . */
|
|
1220
|
-
'skill': {
|
|
1221
|
-
type: 'schema';
|
|
1222
|
-
options: {
|
|
1223
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.SkillSchema;
|
|
1224
|
-
};
|
|
1225
|
-
};
|
|
1226
|
-
};
|
|
1227
|
-
}
|
|
1228
|
-
interface AuthSchemaEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema> {
|
|
1229
|
-
}
|
|
1230
|
-
}
|
|
1231
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1232
|
-
interface AuthenticateResponsePayload {
|
|
1233
|
-
'type': ("authenticated" | "anonymous");
|
|
1234
|
-
'auth': SpruceSchemas.Mercury.v2020_12_25.AuthSchema;
|
|
1235
|
-
}
|
|
1236
|
-
interface AuthenticateResponsePayloadSchema extends SpruceSchema.Schema {
|
|
1237
|
-
id: 'authenticateResponsePayload';
|
|
1238
|
-
version: 'v2020_12_25';
|
|
1239
|
-
namespace: 'Mercury';
|
|
1240
|
-
name: '';
|
|
1241
|
-
fields: {
|
|
1242
|
-
/** . */
|
|
1243
|
-
'type': {
|
|
1244
|
-
type: 'select';
|
|
1245
|
-
isRequired: true;
|
|
1246
|
-
options: {
|
|
1247
|
-
choices: [{
|
|
1248
|
-
"value": "authenticated";
|
|
1249
|
-
"label": "Authenticated";
|
|
1250
|
-
}, {
|
|
1251
|
-
"value": "anonymous";
|
|
1252
|
-
"label": "Anonymous";
|
|
1253
|
-
}];
|
|
1254
|
-
};
|
|
1255
|
-
};
|
|
1256
|
-
/** . */
|
|
1257
|
-
'auth': {
|
|
1258
|
-
type: 'schema';
|
|
1259
|
-
isRequired: true;
|
|
1260
|
-
options: {
|
|
1261
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema;
|
|
1262
|
-
};
|
|
1263
|
-
};
|
|
1264
|
-
};
|
|
1265
|
-
}
|
|
1266
|
-
interface AuthenticateResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateResponsePayloadSchema> {
|
|
1267
|
-
}
|
|
1268
|
-
}
|
|
1269
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1270
|
-
interface CanListenEmitPayload {
|
|
1271
|
-
'authorizerStatuses'?: ("clockedIn" | "clockedOut" | "onPrem" | "offPrem") | undefined | null;
|
|
1272
|
-
'fullyQualifiedEventName': string;
|
|
1273
|
-
}
|
|
1274
|
-
interface CanListenEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1275
|
-
id: 'canListenEmitPayload';
|
|
1276
|
-
version: 'v2020_12_25';
|
|
1277
|
-
namespace: 'Mercury';
|
|
1278
|
-
name: '';
|
|
1279
|
-
fields: {
|
|
1280
|
-
/** . */
|
|
1281
|
-
'authorizerStatuses': {
|
|
1282
|
-
type: 'select';
|
|
1283
|
-
options: {
|
|
1284
|
-
choices: [{
|
|
1285
|
-
"label": "Clocked in";
|
|
1286
|
-
"value": "clockedIn";
|
|
1287
|
-
}, {
|
|
1288
|
-
"label": "Clocked out";
|
|
1289
|
-
"value": "clockedOut";
|
|
1290
|
-
}, {
|
|
1291
|
-
"label": "On premises";
|
|
1292
|
-
"value": "onPrem";
|
|
1293
|
-
}, {
|
|
1294
|
-
"label": "Off premises";
|
|
1295
|
-
"value": "offPrem";
|
|
1296
|
-
}];
|
|
1297
|
-
};
|
|
1298
|
-
};
|
|
1299
|
-
/** . */
|
|
1300
|
-
'fullyQualifiedEventName': {
|
|
1301
|
-
type: 'text';
|
|
1302
|
-
isRequired: true;
|
|
1303
|
-
options: undefined;
|
|
1304
|
-
};
|
|
1305
|
-
};
|
|
1306
|
-
}
|
|
1307
|
-
interface CanListenEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema> {
|
|
1308
|
-
}
|
|
1309
|
-
}
|
|
1310
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1311
|
-
interface CanListenEmitTargetAndPayload {
|
|
1312
|
-
/** Source. */
|
|
1313
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1314
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayload;
|
|
1315
|
-
}
|
|
1316
|
-
interface CanListenEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1317
|
-
id: 'canListenEmitTargetAndPayload';
|
|
1318
|
-
version: 'v2020_12_25';
|
|
1319
|
-
namespace: 'Mercury';
|
|
1320
|
-
name: '';
|
|
1321
|
-
fields: {
|
|
1322
|
-
/** Source. */
|
|
1323
|
-
'source': {
|
|
1324
|
-
label: 'Source';
|
|
1325
|
-
type: 'schema';
|
|
1326
|
-
options: {
|
|
1327
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1328
|
-
};
|
|
1329
|
-
};
|
|
1330
|
-
/** . */
|
|
1331
|
-
'payload': {
|
|
1332
|
-
type: 'schema';
|
|
1333
|
-
isRequired: true;
|
|
1334
|
-
options: {
|
|
1335
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema;
|
|
1336
|
-
};
|
|
1337
|
-
};
|
|
1338
|
-
};
|
|
1339
|
-
}
|
|
1340
|
-
interface CanListenEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitTargetAndPayloadSchema> {
|
|
1341
|
-
}
|
|
1342
|
-
}
|
|
1343
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1344
|
-
interface CanListenResponsePayload {
|
|
1345
|
-
'can'?: boolean | undefined | null;
|
|
1346
|
-
}
|
|
1347
|
-
interface CanListenResponsePayloadSchema extends SpruceSchema.Schema {
|
|
1348
|
-
id: 'canListenResponsePayload';
|
|
1349
|
-
version: 'v2020_12_25';
|
|
1350
|
-
namespace: 'Mercury';
|
|
1351
|
-
name: '';
|
|
1352
|
-
fields: {
|
|
1353
|
-
/** . */
|
|
1354
|
-
'can': {
|
|
1355
|
-
type: 'boolean';
|
|
1356
|
-
options: undefined;
|
|
1357
|
-
};
|
|
1358
|
-
};
|
|
1359
|
-
}
|
|
1360
|
-
interface CanListenResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenResponsePayloadSchema> {
|
|
1361
|
-
}
|
|
1362
|
-
}
|
|
1363
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1364
|
-
interface ConfirmPinEmitPayload {
|
|
1365
|
-
'challenge': string;
|
|
1366
|
-
'pin': string;
|
|
1367
|
-
}
|
|
1368
|
-
interface ConfirmPinEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1369
|
-
id: 'confirmPinEmitPayload';
|
|
1370
|
-
version: 'v2020_12_25';
|
|
1371
|
-
namespace: 'Mercury';
|
|
1372
|
-
name: '';
|
|
1373
|
-
fields: {
|
|
1374
|
-
/** . */
|
|
1375
|
-
'challenge': {
|
|
1376
|
-
type: 'text';
|
|
1377
|
-
isRequired: true;
|
|
1378
|
-
options: undefined;
|
|
1379
|
-
};
|
|
1380
|
-
/** . */
|
|
1381
|
-
'pin': {
|
|
1382
|
-
type: 'text';
|
|
1383
|
-
isRequired: true;
|
|
1384
|
-
options: undefined;
|
|
1385
|
-
};
|
|
1386
|
-
};
|
|
1387
|
-
}
|
|
1388
|
-
interface ConfirmPinEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema> {
|
|
1389
|
-
}
|
|
1390
|
-
}
|
|
1391
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1392
|
-
interface ConfirmPinEmitTargetAndPayload {
|
|
1393
|
-
/** Source. */
|
|
1394
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1395
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayload;
|
|
1396
|
-
}
|
|
1397
|
-
interface ConfirmPinEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1398
|
-
id: 'confirmPinEmitTargetAndPayload';
|
|
1399
|
-
version: 'v2020_12_25';
|
|
1400
|
-
namespace: 'Mercury';
|
|
1401
|
-
name: '';
|
|
1402
|
-
fields: {
|
|
1403
|
-
/** Source. */
|
|
1404
|
-
'source': {
|
|
1405
|
-
label: 'Source';
|
|
1406
|
-
type: 'schema';
|
|
1407
|
-
options: {
|
|
1408
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1409
|
-
};
|
|
1410
|
-
};
|
|
1411
|
-
/** . */
|
|
1412
|
-
'payload': {
|
|
1413
|
-
type: 'schema';
|
|
1414
|
-
isRequired: true;
|
|
1415
|
-
options: {
|
|
1416
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema;
|
|
1417
|
-
};
|
|
1418
|
-
};
|
|
1419
|
-
};
|
|
1420
|
-
}
|
|
1421
|
-
interface ConfirmPinEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitTargetAndPayloadSchema> {
|
|
1422
|
-
}
|
|
1423
|
-
}
|
|
1424
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1425
|
-
interface ConfirmPinRespondPayload {
|
|
1426
|
-
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
1427
|
-
'token': string;
|
|
1428
|
-
}
|
|
1429
|
-
interface ConfirmPinRespondPayloadSchema extends SpruceSchema.Schema {
|
|
1430
|
-
id: 'confirmPinRespondPayload';
|
|
1431
|
-
version: 'v2020_12_25';
|
|
1432
|
-
namespace: 'Mercury';
|
|
1433
|
-
name: '';
|
|
1434
|
-
fields: {
|
|
1435
|
-
/** . */
|
|
1436
|
-
'person': {
|
|
1437
|
-
type: 'schema';
|
|
1438
|
-
isRequired: true;
|
|
1439
|
-
options: {
|
|
1440
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
1441
|
-
};
|
|
1442
|
-
};
|
|
1443
|
-
/** . */
|
|
1444
|
-
'token': {
|
|
1445
|
-
type: 'text';
|
|
1446
|
-
isRequired: true;
|
|
1447
|
-
options: undefined;
|
|
1448
|
-
};
|
|
1449
|
-
};
|
|
1450
|
-
}
|
|
1451
|
-
interface ConfirmPinRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinRespondPayloadSchema> {
|
|
1452
|
-
}
|
|
1453
|
-
}
|
|
1454
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1455
|
-
interface CreateLocationEmitTarget {
|
|
1456
|
-
'organizationId': string;
|
|
1457
|
-
}
|
|
1458
|
-
interface CreateLocationEmitTargetSchema extends SpruceSchema.Schema {
|
|
1459
|
-
id: 'createLocationEmitTarget';
|
|
1460
|
-
version: 'v2020_12_25';
|
|
1461
|
-
namespace: 'Mercury';
|
|
1462
|
-
name: '';
|
|
1463
|
-
fields: {
|
|
1464
|
-
/** . */
|
|
1465
|
-
'organizationId': {
|
|
1466
|
-
type: 'id';
|
|
1467
|
-
isRequired: true;
|
|
1468
|
-
options: undefined;
|
|
1469
|
-
};
|
|
1470
|
-
};
|
|
1471
|
-
}
|
|
1472
|
-
interface CreateLocationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CreateLocationEmitTargetSchema> {
|
|
1473
|
-
}
|
|
1474
|
-
}
|
|
1475
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1476
|
-
interface CreateLocationEmitPayload {
|
|
1477
|
-
/** Name. */
|
|
1478
|
-
'name': string;
|
|
1479
|
-
/** Store number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
1480
|
-
'num'?: string | undefined | null;
|
|
1481
|
-
/** Public. Is this location viewable by guests? */
|
|
1482
|
-
'isPublic'?: boolean | undefined | null;
|
|
1483
|
-
/** Main Phone. */
|
|
1484
|
-
'phone'?: string | undefined | null;
|
|
1485
|
-
/** Timezone. */
|
|
1486
|
-
'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;
|
|
1487
|
-
/** Address. */
|
|
1488
|
-
'address': SpruceSchema.AddressFieldValue;
|
|
1489
|
-
'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
1490
|
-
'slug'?: string | undefined | null;
|
|
1491
|
-
}
|
|
1492
|
-
interface CreateLocationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1493
|
-
id: 'createLocationEmitPayload';
|
|
1494
|
-
version: 'v2020_12_25';
|
|
1495
|
-
namespace: 'Mercury';
|
|
1496
|
-
name: '';
|
|
1497
|
-
fields: {
|
|
1498
|
-
/** Name. */
|
|
1499
|
-
'name': {
|
|
1500
|
-
label: 'Name';
|
|
1501
|
-
type: 'text';
|
|
1502
|
-
isRequired: true;
|
|
1503
|
-
options: undefined;
|
|
1504
|
-
};
|
|
1505
|
-
/** Store number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
1506
|
-
'num': {
|
|
1507
|
-
label: 'Store number';
|
|
1508
|
-
type: 'text';
|
|
1509
|
-
hint: 'You can use other symbols, like # or dashes. #123 or 32-US-5';
|
|
1510
|
-
options: undefined;
|
|
1511
|
-
};
|
|
1512
|
-
/** Public. Is this location viewable by guests? */
|
|
1513
|
-
'isPublic': {
|
|
1514
|
-
label: 'Public';
|
|
1515
|
-
type: 'boolean';
|
|
1516
|
-
hint: 'Is this location viewable by guests?';
|
|
1517
|
-
defaultValue: false;
|
|
1518
|
-
options: undefined;
|
|
1519
|
-
};
|
|
1520
|
-
/** Main Phone. */
|
|
1521
|
-
'phone': {
|
|
1522
|
-
label: 'Main Phone';
|
|
1523
|
-
type: 'phone';
|
|
1524
|
-
options: undefined;
|
|
1525
|
-
};
|
|
1526
|
-
/** Timezone. */
|
|
1527
|
-
'timezone': {
|
|
1528
|
-
label: 'Timezone';
|
|
1529
|
-
type: 'select';
|
|
504
|
+
/** Timezone. */
|
|
505
|
+
'timezone': {
|
|
506
|
+
label: 'Timezone';
|
|
507
|
+
type: 'select';
|
|
1530
508
|
options: {
|
|
1531
509
|
choices: [{
|
|
1532
510
|
"value": "Pacific/Niue";
|
|
@@ -4637,159 +3615,159 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4637
3615
|
}
|
|
4638
3616
|
}
|
|
4639
3617
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4640
|
-
interface
|
|
4641
|
-
'
|
|
4642
|
-
'
|
|
3618
|
+
interface GetFeedEmitTarget {
|
|
3619
|
+
'locationId'?: string | undefined | null;
|
|
3620
|
+
'organizationId'?: string | undefined | null;
|
|
4643
3621
|
}
|
|
4644
|
-
interface
|
|
4645
|
-
id: '
|
|
3622
|
+
interface GetFeedEmitTargetSchema extends SpruceSchema.Schema {
|
|
3623
|
+
id: 'getFeedEmitTarget';
|
|
4646
3624
|
version: 'v2020_12_25';
|
|
4647
3625
|
namespace: 'Mercury';
|
|
4648
3626
|
name: '';
|
|
4649
3627
|
fields: {
|
|
4650
3628
|
/** . */
|
|
4651
|
-
'
|
|
3629
|
+
'locationId': {
|
|
4652
3630
|
type: 'id';
|
|
4653
3631
|
options: undefined;
|
|
4654
3632
|
};
|
|
4655
3633
|
/** . */
|
|
4656
|
-
'
|
|
3634
|
+
'organizationId': {
|
|
4657
3635
|
type: 'id';
|
|
4658
3636
|
options: undefined;
|
|
4659
3637
|
};
|
|
4660
3638
|
};
|
|
4661
3639
|
}
|
|
4662
|
-
interface
|
|
3640
|
+
interface GetFeedEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitTargetSchema> {
|
|
4663
3641
|
}
|
|
4664
3642
|
}
|
|
4665
3643
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4666
|
-
interface
|
|
4667
|
-
|
|
3644
|
+
interface GetFeedEmitTargetAndPayload {
|
|
3645
|
+
/** Source. */
|
|
4668
3646
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
3647
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitTarget | undefined | null;
|
|
3648
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitPayload;
|
|
4669
3649
|
}
|
|
4670
|
-
interface
|
|
4671
|
-
id: '
|
|
3650
|
+
interface GetFeedEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
3651
|
+
id: 'getFeedEmitTargetAndPayload';
|
|
4672
3652
|
version: 'v2020_12_25';
|
|
4673
3653
|
namespace: 'Mercury';
|
|
4674
3654
|
name: '';
|
|
4675
3655
|
fields: {
|
|
3656
|
+
/** Source. */
|
|
3657
|
+
'source': {
|
|
3658
|
+
label: 'Source';
|
|
3659
|
+
type: 'schema';
|
|
3660
|
+
options: {
|
|
3661
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
3662
|
+
};
|
|
3663
|
+
};
|
|
4676
3664
|
/** . */
|
|
4677
3665
|
'target': {
|
|
4678
3666
|
type: 'schema';
|
|
4679
3667
|
options: {
|
|
4680
|
-
schema: SpruceSchemas.
|
|
3668
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitTargetSchema;
|
|
4681
3669
|
};
|
|
4682
3670
|
};
|
|
4683
3671
|
/** . */
|
|
4684
|
-
'
|
|
3672
|
+
'payload': {
|
|
4685
3673
|
type: 'schema';
|
|
3674
|
+
isRequired: true;
|
|
4686
3675
|
options: {
|
|
4687
|
-
schema: SpruceSchemas.
|
|
3676
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitPayloadSchema;
|
|
4688
3677
|
};
|
|
4689
3678
|
};
|
|
4690
3679
|
};
|
|
4691
3680
|
}
|
|
4692
|
-
interface
|
|
3681
|
+
interface GetFeedEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitTargetAndPayloadSchema> {
|
|
4693
3682
|
}
|
|
4694
3683
|
}
|
|
4695
3684
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4696
|
-
interface
|
|
4697
|
-
'
|
|
4698
|
-
'
|
|
3685
|
+
interface FeedPredicate {
|
|
3686
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
3687
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
4699
3688
|
}
|
|
4700
|
-
interface
|
|
4701
|
-
id: '
|
|
3689
|
+
interface FeedPredicateSchema extends SpruceSchema.Schema {
|
|
3690
|
+
id: 'feedPredicate';
|
|
4702
3691
|
version: 'v2020_12_25';
|
|
4703
3692
|
namespace: 'Mercury';
|
|
4704
3693
|
name: '';
|
|
4705
3694
|
fields: {
|
|
4706
3695
|
/** . */
|
|
4707
|
-
'
|
|
3696
|
+
'target': {
|
|
4708
3697
|
type: 'schema';
|
|
4709
3698
|
options: {
|
|
4710
|
-
schema: SpruceSchemas.
|
|
3699
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
4711
3700
|
};
|
|
4712
3701
|
};
|
|
4713
3702
|
/** . */
|
|
4714
|
-
'
|
|
3703
|
+
'source': {
|
|
4715
3704
|
type: 'schema';
|
|
4716
|
-
isRequired: true;
|
|
4717
|
-
isArray: true;
|
|
4718
|
-
minArrayLength: 0;
|
|
4719
3705
|
options: {
|
|
4720
|
-
schema: SpruceSchemas.
|
|
3706
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
4721
3707
|
};
|
|
4722
3708
|
};
|
|
4723
3709
|
};
|
|
4724
3710
|
}
|
|
4725
|
-
interface
|
|
3711
|
+
interface FeedPredicateEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.FeedPredicateSchema> {
|
|
4726
3712
|
}
|
|
4727
3713
|
}
|
|
4728
3714
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4729
|
-
interface
|
|
4730
|
-
'
|
|
4731
|
-
'
|
|
3715
|
+
interface GetFeedPagingRequest {
|
|
3716
|
+
'next'?: string | undefined | null;
|
|
3717
|
+
'previous'?: string | undefined | null;
|
|
4732
3718
|
}
|
|
4733
|
-
interface
|
|
4734
|
-
id: '
|
|
3719
|
+
interface GetFeedPagingRequestSchema extends SpruceSchema.Schema {
|
|
3720
|
+
id: 'getFeedPagingRequest';
|
|
4735
3721
|
version: 'v2020_12_25';
|
|
4736
3722
|
namespace: 'Mercury';
|
|
4737
3723
|
name: '';
|
|
4738
3724
|
fields: {
|
|
4739
3725
|
/** . */
|
|
4740
|
-
'
|
|
3726
|
+
'next': {
|
|
4741
3727
|
type: 'id';
|
|
4742
3728
|
options: undefined;
|
|
4743
3729
|
};
|
|
4744
3730
|
/** . */
|
|
4745
|
-
'
|
|
3731
|
+
'previous': {
|
|
4746
3732
|
type: 'id';
|
|
4747
3733
|
options: undefined;
|
|
4748
3734
|
};
|
|
4749
3735
|
};
|
|
4750
3736
|
}
|
|
4751
|
-
interface
|
|
3737
|
+
interface GetFeedPagingRequestEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetFeedPagingRequestSchema> {
|
|
4752
3738
|
}
|
|
4753
3739
|
}
|
|
4754
3740
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4755
|
-
interface
|
|
4756
|
-
|
|
4757
|
-
'
|
|
4758
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitTarget | undefined | null;
|
|
4759
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitPayload;
|
|
3741
|
+
interface GetFeedEmitPayload {
|
|
3742
|
+
'paging'?: SpruceSchemas.Mercury.v2020_12_25.GetFeedPagingRequest | undefined | null;
|
|
3743
|
+
'predicates': SpruceSchemas.Mercury.v2020_12_25.FeedPredicate[];
|
|
4760
3744
|
}
|
|
4761
|
-
interface
|
|
4762
|
-
id: '
|
|
3745
|
+
interface GetFeedEmitPayloadSchema extends SpruceSchema.Schema {
|
|
3746
|
+
id: 'getFeedEmitPayload';
|
|
4763
3747
|
version: 'v2020_12_25';
|
|
4764
3748
|
namespace: 'Mercury';
|
|
4765
3749
|
name: '';
|
|
4766
3750
|
fields: {
|
|
4767
|
-
/** Source. */
|
|
4768
|
-
'source': {
|
|
4769
|
-
label: 'Source';
|
|
4770
|
-
type: 'schema';
|
|
4771
|
-
options: {
|
|
4772
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
4773
|
-
};
|
|
4774
|
-
};
|
|
4775
3751
|
/** . */
|
|
4776
|
-
'
|
|
3752
|
+
'paging': {
|
|
4777
3753
|
type: 'schema';
|
|
4778
3754
|
options: {
|
|
4779
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
3755
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.GetFeedPagingRequestSchema;
|
|
4780
3756
|
};
|
|
4781
3757
|
};
|
|
4782
3758
|
/** . */
|
|
4783
|
-
'
|
|
3759
|
+
'predicates': {
|
|
4784
3760
|
type: 'schema';
|
|
4785
3761
|
isRequired: true;
|
|
3762
|
+
isArray: true;
|
|
3763
|
+
minArrayLength: 0;
|
|
4786
3764
|
options: {
|
|
4787
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
3765
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.FeedPredicateSchema;
|
|
4788
3766
|
};
|
|
4789
3767
|
};
|
|
4790
3768
|
};
|
|
4791
3769
|
}
|
|
4792
|
-
interface
|
|
3770
|
+
interface GetFeedEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitPayloadSchema> {
|
|
4793
3771
|
}
|
|
4794
3772
|
}
|
|
4795
3773
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
@@ -6048,86 +5026,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6048
5026
|
interface ListInstalledSkillsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListInstalledSkillsResponsePayloadSchema> {
|
|
6049
5027
|
}
|
|
6050
5028
|
}
|
|
6051
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6052
|
-
interface ListOrgsEmitPayload {
|
|
6053
|
-
'shouldOnlyShowMine'?: boolean | undefined | null;
|
|
6054
|
-
'shouldOnlyShowWhereIAmEmployed'?: boolean | undefined | null;
|
|
6055
|
-
'shouldIncludePrivateOrganizations'?: boolean | undefined | null;
|
|
6056
|
-
'paging'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequest | undefined | null;
|
|
6057
|
-
}
|
|
6058
|
-
interface ListOrgsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
6059
|
-
id: 'listOrgsEmitPayload';
|
|
6060
|
-
version: 'v2020_12_25';
|
|
6061
|
-
namespace: 'Mercury';
|
|
6062
|
-
name: '';
|
|
6063
|
-
fields: {
|
|
6064
|
-
/** . */
|
|
6065
|
-
'shouldOnlyShowMine': {
|
|
6066
|
-
type: 'boolean';
|
|
6067
|
-
options: undefined;
|
|
6068
|
-
};
|
|
6069
|
-
/** . */
|
|
6070
|
-
'shouldOnlyShowWhereIAmEmployed': {
|
|
6071
|
-
type: 'boolean';
|
|
6072
|
-
options: undefined;
|
|
6073
|
-
};
|
|
6074
|
-
/** . */
|
|
6075
|
-
'shouldIncludePrivateOrganizations': {
|
|
6076
|
-
type: 'boolean';
|
|
6077
|
-
options: undefined;
|
|
6078
|
-
};
|
|
6079
|
-
/** . */
|
|
6080
|
-
'paging': {
|
|
6081
|
-
type: 'schema';
|
|
6082
|
-
options: {
|
|
6083
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequestSchema;
|
|
6084
|
-
};
|
|
6085
|
-
};
|
|
6086
|
-
};
|
|
6087
|
-
}
|
|
6088
|
-
interface ListOrgsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayloadSchema> {
|
|
6089
|
-
}
|
|
6090
|
-
}
|
|
6091
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6092
|
-
interface ListOrganizationsEmitTargetAndPayload {
|
|
6093
|
-
/** Source. */
|
|
6094
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
6095
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTarget | undefined | null;
|
|
6096
|
-
'payload'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayload | undefined | null;
|
|
6097
|
-
}
|
|
6098
|
-
interface ListOrganizationsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
6099
|
-
id: 'listOrganizationsEmitTargetAndPayload';
|
|
6100
|
-
version: 'v2020_12_25';
|
|
6101
|
-
namespace: 'Mercury';
|
|
6102
|
-
name: '';
|
|
6103
|
-
fields: {
|
|
6104
|
-
/** Source. */
|
|
6105
|
-
'source': {
|
|
6106
|
-
label: 'Source';
|
|
6107
|
-
type: 'schema';
|
|
6108
|
-
options: {
|
|
6109
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
6110
|
-
};
|
|
6111
|
-
};
|
|
6112
|
-
/** . */
|
|
6113
|
-
'target': {
|
|
6114
|
-
type: 'schema';
|
|
6115
|
-
options: {
|
|
6116
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTargetSchema;
|
|
6117
|
-
};
|
|
6118
|
-
};
|
|
6119
|
-
/** . */
|
|
6120
|
-
'payload': {
|
|
6121
|
-
type: 'schema';
|
|
6122
|
-
options: {
|
|
6123
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayloadSchema;
|
|
6124
|
-
};
|
|
6125
|
-
};
|
|
6126
|
-
};
|
|
6127
|
-
}
|
|
6128
|
-
interface ListOrganizationsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrganizationsEmitTargetAndPayloadSchema> {
|
|
6129
|
-
}
|
|
6130
|
-
}
|
|
6131
5029
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6132
5030
|
interface ListLocationsEmitPayload {
|
|
6133
5031
|
'shouldOnlyShowWhereIAmEmployed'?: boolean | undefined | null;
|
|
@@ -6282,6 +5180,86 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6282
5180
|
interface ListOrgsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTargetSchema> {
|
|
6283
5181
|
}
|
|
6284
5182
|
}
|
|
5183
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5184
|
+
interface ListOrgsEmitPayload {
|
|
5185
|
+
'shouldOnlyShowMine'?: boolean | undefined | null;
|
|
5186
|
+
'shouldOnlyShowWhereIAmEmployed'?: boolean | undefined | null;
|
|
5187
|
+
'shouldIncludePrivateOrganizations'?: boolean | undefined | null;
|
|
5188
|
+
'paging'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequest | undefined | null;
|
|
5189
|
+
}
|
|
5190
|
+
interface ListOrgsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
5191
|
+
id: 'listOrgsEmitPayload';
|
|
5192
|
+
version: 'v2020_12_25';
|
|
5193
|
+
namespace: 'Mercury';
|
|
5194
|
+
name: '';
|
|
5195
|
+
fields: {
|
|
5196
|
+
/** . */
|
|
5197
|
+
'shouldOnlyShowMine': {
|
|
5198
|
+
type: 'boolean';
|
|
5199
|
+
options: undefined;
|
|
5200
|
+
};
|
|
5201
|
+
/** . */
|
|
5202
|
+
'shouldOnlyShowWhereIAmEmployed': {
|
|
5203
|
+
type: 'boolean';
|
|
5204
|
+
options: undefined;
|
|
5205
|
+
};
|
|
5206
|
+
/** . */
|
|
5207
|
+
'shouldIncludePrivateOrganizations': {
|
|
5208
|
+
type: 'boolean';
|
|
5209
|
+
options: undefined;
|
|
5210
|
+
};
|
|
5211
|
+
/** . */
|
|
5212
|
+
'paging': {
|
|
5213
|
+
type: 'schema';
|
|
5214
|
+
options: {
|
|
5215
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequestSchema;
|
|
5216
|
+
};
|
|
5217
|
+
};
|
|
5218
|
+
};
|
|
5219
|
+
}
|
|
5220
|
+
interface ListOrgsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayloadSchema> {
|
|
5221
|
+
}
|
|
5222
|
+
}
|
|
5223
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5224
|
+
interface ListOrganizationsEmitTargetAndPayload {
|
|
5225
|
+
/** Source. */
|
|
5226
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
5227
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTarget | undefined | null;
|
|
5228
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayload | undefined | null;
|
|
5229
|
+
}
|
|
5230
|
+
interface ListOrganizationsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
5231
|
+
id: 'listOrganizationsEmitTargetAndPayload';
|
|
5232
|
+
version: 'v2020_12_25';
|
|
5233
|
+
namespace: 'Mercury';
|
|
5234
|
+
name: '';
|
|
5235
|
+
fields: {
|
|
5236
|
+
/** Source. */
|
|
5237
|
+
'source': {
|
|
5238
|
+
label: 'Source';
|
|
5239
|
+
type: 'schema';
|
|
5240
|
+
options: {
|
|
5241
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
5242
|
+
};
|
|
5243
|
+
};
|
|
5244
|
+
/** . */
|
|
5245
|
+
'target': {
|
|
5246
|
+
type: 'schema';
|
|
5247
|
+
options: {
|
|
5248
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTargetSchema;
|
|
5249
|
+
};
|
|
5250
|
+
};
|
|
5251
|
+
/** . */
|
|
5252
|
+
'payload': {
|
|
5253
|
+
type: 'schema';
|
|
5254
|
+
options: {
|
|
5255
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayloadSchema;
|
|
5256
|
+
};
|
|
5257
|
+
};
|
|
5258
|
+
};
|
|
5259
|
+
}
|
|
5260
|
+
interface ListOrganizationsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrganizationsEmitTargetAndPayloadSchema> {
|
|
5261
|
+
}
|
|
5262
|
+
}
|
|
6285
5263
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6286
5264
|
interface ListOrgsResponsePayload {
|
|
6287
5265
|
'organizations': SpruceSchemas.Spruce.v2020_07_22.Organization[];
|
|
@@ -7793,31 +6771,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
7793
6771
|
interface ListRolesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListRolesEmitTargetAndPayloadSchema> {
|
|
7794
6772
|
}
|
|
7795
6773
|
}
|
|
7796
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7797
|
-
interface ListRolesResponsePayload {
|
|
7798
|
-
'roles': SpruceSchemas.Mercury.v2020_12_25.ListRole[];
|
|
7799
|
-
}
|
|
7800
|
-
interface ListRolesResponsePayloadSchema extends SpruceSchema.Schema {
|
|
7801
|
-
id: 'listRolesResponsePayload';
|
|
7802
|
-
version: 'v2020_12_25';
|
|
7803
|
-
namespace: 'Mercury';
|
|
7804
|
-
name: '';
|
|
7805
|
-
fields: {
|
|
7806
|
-
/** . */
|
|
7807
|
-
'roles': {
|
|
7808
|
-
type: 'schema';
|
|
7809
|
-
isRequired: true;
|
|
7810
|
-
isArray: true;
|
|
7811
|
-
minArrayLength: 0;
|
|
7812
|
-
options: {
|
|
7813
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ListRoleSchema;
|
|
7814
|
-
};
|
|
7815
|
-
};
|
|
7816
|
-
};
|
|
7817
|
-
}
|
|
7818
|
-
interface ListRolesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListRolesResponsePayloadSchema> {
|
|
7819
|
-
}
|
|
7820
|
-
}
|
|
7821
6774
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7822
6775
|
interface ListSchemaTarget {
|
|
7823
6776
|
'organizationId'?: string | undefined | null;
|
|
@@ -7958,6 +6911,31 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
7958
6911
|
interface ListRoleEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListRoleSchema> {
|
|
7959
6912
|
}
|
|
7960
6913
|
}
|
|
6914
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6915
|
+
interface ListRolesResponsePayload {
|
|
6916
|
+
'roles': SpruceSchemas.Mercury.v2020_12_25.ListRole[];
|
|
6917
|
+
}
|
|
6918
|
+
interface ListRolesResponsePayloadSchema extends SpruceSchema.Schema {
|
|
6919
|
+
id: 'listRolesResponsePayload';
|
|
6920
|
+
version: 'v2020_12_25';
|
|
6921
|
+
namespace: 'Mercury';
|
|
6922
|
+
name: '';
|
|
6923
|
+
fields: {
|
|
6924
|
+
/** . */
|
|
6925
|
+
'roles': {
|
|
6926
|
+
type: 'schema';
|
|
6927
|
+
isRequired: true;
|
|
6928
|
+
isArray: true;
|
|
6929
|
+
minArrayLength: 0;
|
|
6930
|
+
options: {
|
|
6931
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ListRoleSchema;
|
|
6932
|
+
};
|
|
6933
|
+
};
|
|
6934
|
+
};
|
|
6935
|
+
}
|
|
6936
|
+
interface ListRolesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListRolesResponsePayloadSchema> {
|
|
6937
|
+
}
|
|
6938
|
+
}
|
|
7961
6939
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7962
6940
|
interface ListSkillsEmitPayload {
|
|
7963
6941
|
'shouldOnlyShowMine'?: boolean | undefined | null;
|
|
@@ -8339,12 +7317,45 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8339
7317
|
label: 'Fully qualified event names';
|
|
8340
7318
|
type: 'text';
|
|
8341
7319
|
isRequired: true;
|
|
8342
|
-
isArray: true;
|
|
8343
|
-
options: undefined;
|
|
7320
|
+
isArray: true;
|
|
7321
|
+
options: undefined;
|
|
7322
|
+
};
|
|
7323
|
+
};
|
|
7324
|
+
}
|
|
7325
|
+
interface RegisterEventsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterEventsResponsePayloadSchema> {
|
|
7326
|
+
}
|
|
7327
|
+
}
|
|
7328
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7329
|
+
interface RegisterListenersEmitTargetAndPayload {
|
|
7330
|
+
/** Source. */
|
|
7331
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
7332
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.RegisterListenersEmitPayload;
|
|
7333
|
+
}
|
|
7334
|
+
interface RegisterListenersEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
7335
|
+
id: 'registerListenersEmitTargetAndPayload';
|
|
7336
|
+
version: 'v2020_12_25';
|
|
7337
|
+
namespace: 'Mercury';
|
|
7338
|
+
name: '';
|
|
7339
|
+
fields: {
|
|
7340
|
+
/** Source. */
|
|
7341
|
+
'source': {
|
|
7342
|
+
label: 'Source';
|
|
7343
|
+
type: 'schema';
|
|
7344
|
+
options: {
|
|
7345
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
7346
|
+
};
|
|
7347
|
+
};
|
|
7348
|
+
/** . */
|
|
7349
|
+
'payload': {
|
|
7350
|
+
type: 'schema';
|
|
7351
|
+
isRequired: true;
|
|
7352
|
+
options: {
|
|
7353
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.RegisterListenersEmitPayloadSchema;
|
|
7354
|
+
};
|
|
8344
7355
|
};
|
|
8345
7356
|
};
|
|
8346
7357
|
}
|
|
8347
|
-
interface
|
|
7358
|
+
interface RegisterListenersEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterListenersEmitTargetAndPayloadSchema> {
|
|
8348
7359
|
}
|
|
8349
7360
|
}
|
|
8350
7361
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
@@ -8405,39 +7416,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8405
7416
|
interface RegisterListenersEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterListenersEmitPayloadSchema> {
|
|
8406
7417
|
}
|
|
8407
7418
|
}
|
|
8408
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8409
|
-
interface RegisterListenersEmitTargetAndPayload {
|
|
8410
|
-
/** Source. */
|
|
8411
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8412
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.RegisterListenersEmitPayload;
|
|
8413
|
-
}
|
|
8414
|
-
interface RegisterListenersEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8415
|
-
id: 'registerListenersEmitTargetAndPayload';
|
|
8416
|
-
version: 'v2020_12_25';
|
|
8417
|
-
namespace: 'Mercury';
|
|
8418
|
-
name: '';
|
|
8419
|
-
fields: {
|
|
8420
|
-
/** Source. */
|
|
8421
|
-
'source': {
|
|
8422
|
-
label: 'Source';
|
|
8423
|
-
type: 'schema';
|
|
8424
|
-
options: {
|
|
8425
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
8426
|
-
};
|
|
8427
|
-
};
|
|
8428
|
-
/** . */
|
|
8429
|
-
'payload': {
|
|
8430
|
-
type: 'schema';
|
|
8431
|
-
isRequired: true;
|
|
8432
|
-
options: {
|
|
8433
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.RegisterListenersEmitPayloadSchema;
|
|
8434
|
-
};
|
|
8435
|
-
};
|
|
8436
|
-
};
|
|
8437
|
-
}
|
|
8438
|
-
interface RegisterListenersEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterListenersEmitTargetAndPayloadSchema> {
|
|
8439
|
-
}
|
|
8440
|
-
}
|
|
8441
7419
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8442
7420
|
interface RegisterProxyTokenEmitTargetAndPayload {
|
|
8443
7421
|
/** Source. */
|
|
@@ -8904,31 +7882,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8904
7882
|
interface SavePermissionsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitTargetSchema> {
|
|
8905
7883
|
}
|
|
8906
7884
|
}
|
|
8907
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8908
|
-
interface SavePermissionsEmitPayload {
|
|
8909
|
-
'permissions': SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermission[];
|
|
8910
|
-
}
|
|
8911
|
-
interface SavePermissionsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
8912
|
-
id: 'savePermissionsEmitPayload';
|
|
8913
|
-
version: 'v2020_12_25';
|
|
8914
|
-
namespace: 'Mercury';
|
|
8915
|
-
name: '';
|
|
8916
|
-
fields: {
|
|
8917
|
-
/** . */
|
|
8918
|
-
'permissions': {
|
|
8919
|
-
type: 'schema';
|
|
8920
|
-
isRequired: true;
|
|
8921
|
-
isArray: true;
|
|
8922
|
-
minArrayLength: 1;
|
|
8923
|
-
options: {
|
|
8924
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermissionSchema;
|
|
8925
|
-
};
|
|
8926
|
-
};
|
|
8927
|
-
};
|
|
8928
|
-
}
|
|
8929
|
-
interface SavePermissionsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitPayloadSchema> {
|
|
8930
|
-
}
|
|
8931
|
-
}
|
|
8932
7885
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8933
7886
|
interface SavePermissionsEmitTargetAndPayload {
|
|
8934
7887
|
/** Source. */
|
|
@@ -9004,6 +7957,31 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9004
7957
|
interface SavePermissionsPermissionEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermissionSchema> {
|
|
9005
7958
|
}
|
|
9006
7959
|
}
|
|
7960
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7961
|
+
interface SavePermissionsEmitPayload {
|
|
7962
|
+
'permissions': SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermission[];
|
|
7963
|
+
}
|
|
7964
|
+
interface SavePermissionsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
7965
|
+
id: 'savePermissionsEmitPayload';
|
|
7966
|
+
version: 'v2020_12_25';
|
|
7967
|
+
namespace: 'Mercury';
|
|
7968
|
+
name: '';
|
|
7969
|
+
fields: {
|
|
7970
|
+
/** . */
|
|
7971
|
+
'permissions': {
|
|
7972
|
+
type: 'schema';
|
|
7973
|
+
isRequired: true;
|
|
7974
|
+
isArray: true;
|
|
7975
|
+
minArrayLength: 1;
|
|
7976
|
+
options: {
|
|
7977
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermissionSchema;
|
|
7978
|
+
};
|
|
7979
|
+
};
|
|
7980
|
+
};
|
|
7981
|
+
}
|
|
7982
|
+
interface SavePermissionsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitPayloadSchema> {
|
|
7983
|
+
}
|
|
7984
|
+
}
|
|
9007
7985
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9008
7986
|
interface SavePermissionsResponsePayload {
|
|
9009
7987
|
'success': boolean;
|
|
@@ -9140,6 +8118,47 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9140
8118
|
interface SendMessageTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema> {
|
|
9141
8119
|
}
|
|
9142
8120
|
}
|
|
8121
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8122
|
+
interface SendMessageEmitTargetAndPayload {
|
|
8123
|
+
/** Source. */
|
|
8124
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8125
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.SendMessageTarget | undefined | null;
|
|
8126
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayload;
|
|
8127
|
+
}
|
|
8128
|
+
interface SendMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8129
|
+
id: 'sendMessageEmitTargetAndPayload';
|
|
8130
|
+
version: 'v2020_12_25';
|
|
8131
|
+
namespace: 'Mercury';
|
|
8132
|
+
name: '';
|
|
8133
|
+
fields: {
|
|
8134
|
+
/** Source. */
|
|
8135
|
+
'source': {
|
|
8136
|
+
label: 'Source';
|
|
8137
|
+
type: 'schema';
|
|
8138
|
+
options: {
|
|
8139
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
8140
|
+
};
|
|
8141
|
+
};
|
|
8142
|
+
/** . */
|
|
8143
|
+
'target': {
|
|
8144
|
+
type: 'schema';
|
|
8145
|
+
options: {
|
|
8146
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema;
|
|
8147
|
+
};
|
|
8148
|
+
};
|
|
8149
|
+
/** . */
|
|
8150
|
+
'payload': {
|
|
8151
|
+
type: 'schema';
|
|
8152
|
+
isRequired: true;
|
|
8153
|
+
options: {
|
|
8154
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema;
|
|
8155
|
+
};
|
|
8156
|
+
};
|
|
8157
|
+
};
|
|
8158
|
+
}
|
|
8159
|
+
interface SendMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitTargetAndPayloadSchema> {
|
|
8160
|
+
}
|
|
8161
|
+
}
|
|
9143
8162
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9144
8163
|
interface SendMessageMessagePayload {
|
|
9145
8164
|
/** . An arbitrary id that can be used to track this message when being sent and not yet assigned an Id. */
|
|
@@ -9247,47 +8266,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9247
8266
|
interface SendMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema> {
|
|
9248
8267
|
}
|
|
9249
8268
|
}
|
|
9250
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9251
|
-
interface SendMessageEmitTargetAndPayload {
|
|
9252
|
-
/** Source. */
|
|
9253
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
9254
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.SendMessageTarget | undefined | null;
|
|
9255
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayload;
|
|
9256
|
-
}
|
|
9257
|
-
interface SendMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
9258
|
-
id: 'sendMessageEmitTargetAndPayload';
|
|
9259
|
-
version: 'v2020_12_25';
|
|
9260
|
-
namespace: 'Mercury';
|
|
9261
|
-
name: '';
|
|
9262
|
-
fields: {
|
|
9263
|
-
/** Source. */
|
|
9264
|
-
'source': {
|
|
9265
|
-
label: 'Source';
|
|
9266
|
-
type: 'schema';
|
|
9267
|
-
options: {
|
|
9268
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
9269
|
-
};
|
|
9270
|
-
};
|
|
9271
|
-
/** . */
|
|
9272
|
-
'target': {
|
|
9273
|
-
type: 'schema';
|
|
9274
|
-
options: {
|
|
9275
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema;
|
|
9276
|
-
};
|
|
9277
|
-
};
|
|
9278
|
-
/** . */
|
|
9279
|
-
'payload': {
|
|
9280
|
-
type: 'schema';
|
|
9281
|
-
isRequired: true;
|
|
9282
|
-
options: {
|
|
9283
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema;
|
|
9284
|
-
};
|
|
9285
|
-
};
|
|
9286
|
-
};
|
|
9287
|
-
}
|
|
9288
|
-
interface SendMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitTargetAndPayloadSchema> {
|
|
9289
|
-
}
|
|
9290
|
-
}
|
|
9291
8269
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9292
8270
|
interface SendMessageResponsePayload {
|
|
9293
8271
|
'message': SpruceSchemas.Spruce.v2020_07_22.Message;
|
|
@@ -9400,30 +8378,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9400
8378
|
interface SubmitErrorMessageFeedbackEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SubmitErrorMessageFeedbackEmitTargetAndPayloadSchema> {
|
|
9401
8379
|
}
|
|
9402
8380
|
}
|
|
9403
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9404
|
-
interface SyncEventContractsEmitPayload {
|
|
9405
|
-
'contract': SpruceSchemas.Mercury.v2020_12_25.EventContract;
|
|
9406
|
-
}
|
|
9407
|
-
interface SyncEventContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
9408
|
-
id: 'syncEventContractsEmitPayload';
|
|
9409
|
-
version: 'v2020_12_25';
|
|
9410
|
-
namespace: 'Mercury';
|
|
9411
|
-
name: '';
|
|
9412
|
-
importsWhenRemote: ['import \'@sprucelabs/mercury-types\''];
|
|
9413
|
-
fields: {
|
|
9414
|
-
/** . */
|
|
9415
|
-
'contract': {
|
|
9416
|
-
type: 'schema';
|
|
9417
|
-
isRequired: true;
|
|
9418
|
-
options: {
|
|
9419
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.EventContractSchema;
|
|
9420
|
-
};
|
|
9421
|
-
};
|
|
9422
|
-
};
|
|
9423
|
-
}
|
|
9424
|
-
interface SyncEventContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitPayloadSchema> {
|
|
9425
|
-
}
|
|
9426
|
-
}
|
|
9427
8381
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9428
8382
|
interface SyncEventContractsEmitTargetAndPayload {
|
|
9429
8383
|
/** Source. */
|
|
@@ -9458,80 +8412,79 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9458
8412
|
}
|
|
9459
8413
|
}
|
|
9460
8414
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9461
|
-
interface
|
|
9462
|
-
|
|
9463
|
-
'fqens': string[];
|
|
8415
|
+
interface SyncEventContractsEmitPayload {
|
|
8416
|
+
'contract': SpruceSchemas.Mercury.v2020_12_25.EventContract;
|
|
9464
8417
|
}
|
|
9465
|
-
interface
|
|
9466
|
-
id: '
|
|
8418
|
+
interface SyncEventContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
8419
|
+
id: 'syncEventContractsEmitPayload';
|
|
9467
8420
|
version: 'v2020_12_25';
|
|
9468
8421
|
namespace: 'Mercury';
|
|
9469
8422
|
name: '';
|
|
8423
|
+
importsWhenRemote: ['import \'@sprucelabs/mercury-types\''];
|
|
9470
8424
|
fields: {
|
|
9471
|
-
/**
|
|
9472
|
-
'
|
|
9473
|
-
|
|
9474
|
-
type: 'text';
|
|
8425
|
+
/** . */
|
|
8426
|
+
'contract': {
|
|
8427
|
+
type: 'schema';
|
|
9475
8428
|
isRequired: true;
|
|
9476
|
-
|
|
9477
|
-
|
|
9478
|
-
|
|
8429
|
+
options: {
|
|
8430
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.EventContractSchema;
|
|
8431
|
+
};
|
|
9479
8432
|
};
|
|
9480
8433
|
};
|
|
9481
8434
|
}
|
|
9482
|
-
interface
|
|
8435
|
+
interface SyncEventContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitPayloadSchema> {
|
|
9483
8436
|
}
|
|
9484
8437
|
}
|
|
9485
8438
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9486
|
-
interface
|
|
9487
|
-
/**
|
|
9488
|
-
'
|
|
8439
|
+
interface SyncEventContractsResponsePayload {
|
|
8440
|
+
/** Event names. */
|
|
8441
|
+
'fqens': string[];
|
|
9489
8442
|
}
|
|
9490
|
-
interface
|
|
9491
|
-
id: '
|
|
8443
|
+
interface SyncEventContractsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
8444
|
+
id: 'syncEventContractsResponsePayload';
|
|
9492
8445
|
version: 'v2020_12_25';
|
|
9493
8446
|
namespace: 'Mercury';
|
|
9494
8447
|
name: '';
|
|
9495
8448
|
fields: {
|
|
9496
|
-
/**
|
|
9497
|
-
'
|
|
9498
|
-
label: '
|
|
9499
|
-
type: '
|
|
8449
|
+
/** Event names. */
|
|
8450
|
+
'fqens': {
|
|
8451
|
+
label: 'Event names';
|
|
8452
|
+
type: 'text';
|
|
9500
8453
|
isRequired: true;
|
|
9501
8454
|
isArray: true;
|
|
9502
8455
|
minArrayLength: 0;
|
|
9503
|
-
options:
|
|
9504
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionContractSchema;
|
|
9505
|
-
};
|
|
8456
|
+
options: undefined;
|
|
9506
8457
|
};
|
|
9507
8458
|
};
|
|
9508
8459
|
}
|
|
9509
|
-
interface
|
|
8460
|
+
interface SyncEventContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsResponsePayloadSchema> {
|
|
9510
8461
|
}
|
|
9511
8462
|
}
|
|
9512
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9513
|
-
interface
|
|
9514
|
-
|
|
8463
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8464
|
+
interface SyncPermissionContractsEmitPayload {
|
|
8465
|
+
/** Contracts. */
|
|
8466
|
+
'contracts': SpruceSchemas.Mercury.v2020_12_25.PermissionContract[];
|
|
9515
8467
|
}
|
|
9516
|
-
interface
|
|
9517
|
-
id: '
|
|
8468
|
+
interface SyncPermissionContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
8469
|
+
id: 'syncPermissionContractsEmitPayload';
|
|
9518
8470
|
version: 'v2020_12_25';
|
|
9519
8471
|
namespace: 'Mercury';
|
|
9520
8472
|
name: '';
|
|
9521
8473
|
fields: {
|
|
9522
|
-
/** . */
|
|
9523
|
-
'
|
|
8474
|
+
/** Contracts. */
|
|
8475
|
+
'contracts': {
|
|
8476
|
+
label: 'Contracts';
|
|
9524
8477
|
type: 'schema';
|
|
9525
8478
|
isRequired: true;
|
|
9526
8479
|
isArray: true;
|
|
9527
8480
|
minArrayLength: 0;
|
|
9528
8481
|
options: {
|
|
9529
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
8482
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionContractSchema;
|
|
9530
8483
|
};
|
|
9531
8484
|
};
|
|
9532
8485
|
};
|
|
9533
8486
|
}
|
|
9534
|
-
interface
|
|
8487
|
+
interface SyncPermissionContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsEmitPayloadSchema> {
|
|
9535
8488
|
}
|
|
9536
8489
|
}
|
|
9537
8490
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
@@ -9619,6 +8572,31 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9619
8572
|
interface FullPermissionContractEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema> {
|
|
9620
8573
|
}
|
|
9621
8574
|
}
|
|
8575
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8576
|
+
interface SyncPermissionContractsResponsePayload {
|
|
8577
|
+
'contractRecords': SpruceSchemas.Mercury.v2020_12_25.FullPermissionContract[];
|
|
8578
|
+
}
|
|
8579
|
+
interface SyncPermissionContractsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
8580
|
+
id: 'syncPermissionContractsResponsePayload';
|
|
8581
|
+
version: 'v2020_12_25';
|
|
8582
|
+
namespace: 'Mercury';
|
|
8583
|
+
name: '';
|
|
8584
|
+
fields: {
|
|
8585
|
+
/** . */
|
|
8586
|
+
'contractRecords': {
|
|
8587
|
+
type: 'schema';
|
|
8588
|
+
isRequired: true;
|
|
8589
|
+
isArray: true;
|
|
8590
|
+
minArrayLength: 0;
|
|
8591
|
+
options: {
|
|
8592
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema;
|
|
8593
|
+
};
|
|
8594
|
+
};
|
|
8595
|
+
};
|
|
8596
|
+
}
|
|
8597
|
+
interface SyncPermissionContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsResponsePayloadSchema> {
|
|
8598
|
+
}
|
|
8599
|
+
}
|
|
9622
8600
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9623
8601
|
interface UnInstallSkillEmitTarget {
|
|
9624
8602
|
'skillId': string;
|
|
@@ -12466,73 +11444,1057 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12466
11444
|
}];
|
|
12467
11445
|
};
|
|
12468
11446
|
};
|
|
12469
|
-
/** Avatar src. */
|
|
12470
|
-
'avatar': {
|
|
12471
|
-
label: 'Avatar src';
|
|
12472
|
-
type: 'image';
|
|
11447
|
+
/** Avatar src. */
|
|
11448
|
+
'avatar': {
|
|
11449
|
+
label: 'Avatar src';
|
|
11450
|
+
type: 'image';
|
|
11451
|
+
options: {
|
|
11452
|
+
requiredSizes: ["*"];
|
|
11453
|
+
};
|
|
11454
|
+
};
|
|
11455
|
+
/** Phone. A number that can be texted */
|
|
11456
|
+
'phone': {
|
|
11457
|
+
label: 'Phone';
|
|
11458
|
+
type: 'phone';
|
|
11459
|
+
isPrivate: true;
|
|
11460
|
+
hint: 'A number that can be texted';
|
|
11461
|
+
options: undefined;
|
|
11462
|
+
};
|
|
11463
|
+
};
|
|
11464
|
+
}
|
|
11465
|
+
interface UpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema> {
|
|
11466
|
+
}
|
|
11467
|
+
}
|
|
11468
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11469
|
+
interface UpdatePersonEmitTargetAndPayload {
|
|
11470
|
+
/** Source. */
|
|
11471
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11472
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTarget | undefined | null;
|
|
11473
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayload | undefined | null;
|
|
11474
|
+
}
|
|
11475
|
+
interface UpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11476
|
+
id: 'updatePersonEmitTargetAndPayload';
|
|
11477
|
+
version: 'v2020_12_25';
|
|
11478
|
+
namespace: 'Mercury';
|
|
11479
|
+
name: '';
|
|
11480
|
+
fields: {
|
|
11481
|
+
/** Source. */
|
|
11482
|
+
'source': {
|
|
11483
|
+
label: 'Source';
|
|
11484
|
+
type: 'schema';
|
|
11485
|
+
options: {
|
|
11486
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11487
|
+
};
|
|
11488
|
+
};
|
|
11489
|
+
/** . */
|
|
11490
|
+
'target': {
|
|
11491
|
+
type: 'schema';
|
|
11492
|
+
options: {
|
|
11493
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetSchema;
|
|
11494
|
+
};
|
|
11495
|
+
};
|
|
11496
|
+
/** . */
|
|
11497
|
+
'payload': {
|
|
11498
|
+
type: 'schema';
|
|
11499
|
+
options: {
|
|
11500
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema;
|
|
11501
|
+
};
|
|
11502
|
+
};
|
|
11503
|
+
};
|
|
11504
|
+
}
|
|
11505
|
+
interface UpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetAndPayloadSchema> {
|
|
11506
|
+
}
|
|
11507
|
+
}
|
|
11508
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11509
|
+
interface UpdatePersonResponsePayload {
|
|
11510
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
11511
|
+
}
|
|
11512
|
+
interface UpdatePersonResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11513
|
+
id: 'updatePersonResponsePayload';
|
|
11514
|
+
version: 'v2020_12_25';
|
|
11515
|
+
namespace: 'Mercury';
|
|
11516
|
+
name: '';
|
|
11517
|
+
fields: {
|
|
11518
|
+
/** . */
|
|
11519
|
+
'person': {
|
|
11520
|
+
type: 'schema';
|
|
11521
|
+
isRequired: true;
|
|
11522
|
+
options: {
|
|
11523
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
11524
|
+
};
|
|
11525
|
+
};
|
|
11526
|
+
};
|
|
11527
|
+
}
|
|
11528
|
+
interface UpdatePersonResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonResponsePayloadSchema> {
|
|
11529
|
+
}
|
|
11530
|
+
}
|
|
11531
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11532
|
+
interface UpdateRoleEmitTarget {
|
|
11533
|
+
'roleId': string;
|
|
11534
|
+
}
|
|
11535
|
+
interface UpdateRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
11536
|
+
id: 'updateRoleEmitTarget';
|
|
11537
|
+
version: 'v2020_12_25';
|
|
11538
|
+
namespace: 'Mercury';
|
|
11539
|
+
name: '';
|
|
11540
|
+
fields: {
|
|
11541
|
+
/** . */
|
|
11542
|
+
'roleId': {
|
|
11543
|
+
type: 'id';
|
|
11544
|
+
isRequired: true;
|
|
11545
|
+
options: undefined;
|
|
11546
|
+
};
|
|
11547
|
+
};
|
|
11548
|
+
}
|
|
11549
|
+
interface UpdateRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema> {
|
|
11550
|
+
}
|
|
11551
|
+
}
|
|
11552
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11553
|
+
interface UpdateRoleEmitPayload {
|
|
11554
|
+
/** Name. */
|
|
11555
|
+
'name'?: string | undefined | null;
|
|
11556
|
+
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
11557
|
+
'base'?: ("owner" | "groupManager" | "manager" | "teammate" | "anonymous" | "loggedIn" | "guest") | undefined | null;
|
|
11558
|
+
/** Description. */
|
|
11559
|
+
'description'?: string | undefined | null;
|
|
11560
|
+
'dateDeleted'?: number | undefined | null;
|
|
11561
|
+
'organizationId'?: string | undefined | null;
|
|
11562
|
+
/** Public. Should I let people that are not part of this organization this role? */
|
|
11563
|
+
'isPublic'?: boolean | undefined | null;
|
|
11564
|
+
}
|
|
11565
|
+
interface UpdateRoleEmitPayloadSchema extends SpruceSchema.Schema {
|
|
11566
|
+
id: 'updateRoleEmitPayload';
|
|
11567
|
+
version: 'v2020_12_25';
|
|
11568
|
+
namespace: 'Mercury';
|
|
11569
|
+
name: '';
|
|
11570
|
+
fields: {
|
|
11571
|
+
/** Name. */
|
|
11572
|
+
'name': {
|
|
11573
|
+
label: 'Name';
|
|
11574
|
+
type: 'text';
|
|
11575
|
+
options: undefined;
|
|
11576
|
+
};
|
|
11577
|
+
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
11578
|
+
'base': {
|
|
11579
|
+
label: 'Base';
|
|
11580
|
+
type: 'select';
|
|
11581
|
+
hint: 'A best practices starting point for a role based on the generalized roles at a company.';
|
|
11582
|
+
options: {
|
|
11583
|
+
choices: [{
|
|
11584
|
+
"label": "Owner";
|
|
11585
|
+
"value": "owner";
|
|
11586
|
+
}, {
|
|
11587
|
+
"label": "Group manager";
|
|
11588
|
+
"value": "groupManager";
|
|
11589
|
+
}, {
|
|
11590
|
+
"label": "Manager";
|
|
11591
|
+
"value": "manager";
|
|
11592
|
+
}, {
|
|
11593
|
+
"label": "Teammate";
|
|
11594
|
+
"value": "teammate";
|
|
11595
|
+
}, {
|
|
11596
|
+
"label": "Anonymous";
|
|
11597
|
+
"value": "anonymous";
|
|
11598
|
+
}, {
|
|
11599
|
+
"label": "Logged in";
|
|
11600
|
+
"value": "loggedIn";
|
|
11601
|
+
}, {
|
|
11602
|
+
"label": "Guest";
|
|
11603
|
+
"value": "guest";
|
|
11604
|
+
}];
|
|
11605
|
+
};
|
|
11606
|
+
};
|
|
11607
|
+
/** Description. */
|
|
11608
|
+
'description': {
|
|
11609
|
+
label: 'Description';
|
|
11610
|
+
type: 'text';
|
|
11611
|
+
options: undefined;
|
|
11612
|
+
};
|
|
11613
|
+
/** . */
|
|
11614
|
+
'dateDeleted': {
|
|
11615
|
+
type: 'number';
|
|
11616
|
+
options: undefined;
|
|
11617
|
+
};
|
|
11618
|
+
/** . */
|
|
11619
|
+
'organizationId': {
|
|
11620
|
+
type: 'id';
|
|
11621
|
+
options: undefined;
|
|
11622
|
+
};
|
|
11623
|
+
/** Public. Should I let people that are not part of this organization this role? */
|
|
11624
|
+
'isPublic': {
|
|
11625
|
+
label: 'Public';
|
|
11626
|
+
type: 'boolean';
|
|
11627
|
+
hint: 'Should I let people that are not part of this organization this role?';
|
|
11628
|
+
options: undefined;
|
|
11629
|
+
};
|
|
11630
|
+
};
|
|
11631
|
+
}
|
|
11632
|
+
interface UpdateRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema> {
|
|
11633
|
+
}
|
|
11634
|
+
}
|
|
11635
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11636
|
+
interface UpdateRoleEmitTargetAndPayload {
|
|
11637
|
+
/** Source. */
|
|
11638
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11639
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTarget;
|
|
11640
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayload | undefined | null;
|
|
11641
|
+
}
|
|
11642
|
+
interface UpdateRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11643
|
+
id: 'updateRoleEmitTargetAndPayload';
|
|
11644
|
+
version: 'v2020_12_25';
|
|
11645
|
+
namespace: 'Mercury';
|
|
11646
|
+
name: '';
|
|
11647
|
+
fields: {
|
|
11648
|
+
/** Source. */
|
|
11649
|
+
'source': {
|
|
11650
|
+
label: 'Source';
|
|
11651
|
+
type: 'schema';
|
|
11652
|
+
options: {
|
|
11653
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11654
|
+
};
|
|
11655
|
+
};
|
|
11656
|
+
/** . */
|
|
11657
|
+
'target': {
|
|
11658
|
+
type: 'schema';
|
|
11659
|
+
isRequired: true;
|
|
11660
|
+
options: {
|
|
11661
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema;
|
|
11662
|
+
};
|
|
11663
|
+
};
|
|
11664
|
+
/** . */
|
|
11665
|
+
'payload': {
|
|
11666
|
+
type: 'schema';
|
|
11667
|
+
options: {
|
|
11668
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema;
|
|
11669
|
+
};
|
|
11670
|
+
};
|
|
11671
|
+
};
|
|
11672
|
+
}
|
|
11673
|
+
interface UpdateRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetAndPayloadSchema> {
|
|
11674
|
+
}
|
|
11675
|
+
}
|
|
11676
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11677
|
+
interface UpdateRoleResponsePayload {
|
|
11678
|
+
'role': SpruceSchemas.Spruce.v2020_07_22.Role;
|
|
11679
|
+
}
|
|
11680
|
+
interface UpdateRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11681
|
+
id: 'updateRoleResponsePayload';
|
|
11682
|
+
version: 'v2020_12_25';
|
|
11683
|
+
namespace: 'Mercury';
|
|
11684
|
+
name: '';
|
|
11685
|
+
fields: {
|
|
11686
|
+
/** . */
|
|
11687
|
+
'role': {
|
|
11688
|
+
type: 'schema';
|
|
11689
|
+
isRequired: true;
|
|
11690
|
+
options: {
|
|
11691
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.RoleSchema;
|
|
11692
|
+
};
|
|
11693
|
+
};
|
|
11694
|
+
};
|
|
11695
|
+
}
|
|
11696
|
+
interface UpdateRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleResponsePayloadSchema> {
|
|
11697
|
+
}
|
|
11698
|
+
}
|
|
11699
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11700
|
+
interface UpsertPermissionContractEmitTarget {
|
|
11701
|
+
'organizationId': string;
|
|
11702
|
+
'permissionContractId': string;
|
|
11703
|
+
'roleId': string;
|
|
11704
|
+
'skillId'?: string | undefined | null;
|
|
11705
|
+
}
|
|
11706
|
+
interface UpsertPermissionContractEmitTargetSchema extends SpruceSchema.Schema {
|
|
11707
|
+
id: 'upsertPermissionContractEmitTarget';
|
|
11708
|
+
version: 'v2020_12_25';
|
|
11709
|
+
namespace: 'Mercury';
|
|
11710
|
+
name: '';
|
|
11711
|
+
fields: {
|
|
11712
|
+
/** . */
|
|
11713
|
+
'organizationId': {
|
|
11714
|
+
type: 'id';
|
|
11715
|
+
isRequired: true;
|
|
11716
|
+
options: undefined;
|
|
11717
|
+
};
|
|
11718
|
+
/** . */
|
|
11719
|
+
'permissionContractId': {
|
|
11720
|
+
type: 'id';
|
|
11721
|
+
isRequired: true;
|
|
11722
|
+
options: undefined;
|
|
11723
|
+
};
|
|
11724
|
+
/** . */
|
|
11725
|
+
'roleId': {
|
|
11726
|
+
type: 'id';
|
|
11727
|
+
isRequired: true;
|
|
11728
|
+
options: undefined;
|
|
11729
|
+
};
|
|
11730
|
+
/** . */
|
|
11731
|
+
'skillId': {
|
|
11732
|
+
type: 'id';
|
|
11733
|
+
options: undefined;
|
|
11734
|
+
};
|
|
11735
|
+
};
|
|
11736
|
+
}
|
|
11737
|
+
interface UpsertPermissionContractEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema> {
|
|
11738
|
+
}
|
|
11739
|
+
}
|
|
11740
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11741
|
+
interface UpsertPermissionContractsEmitPayload {
|
|
11742
|
+
/** Name. Human readable name for this contract */
|
|
11743
|
+
'name': string;
|
|
11744
|
+
/** Description. */
|
|
11745
|
+
'description'?: string | undefined | null;
|
|
11746
|
+
/** Require all permissions. */
|
|
11747
|
+
'requireAllPermissions'?: boolean | undefined | null;
|
|
11748
|
+
'permissions': SpruceSchemas.Mercury.v2020_12_25.Permission[];
|
|
11749
|
+
}
|
|
11750
|
+
interface UpsertPermissionContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
11751
|
+
id: 'upsertPermissionContractsEmitPayload';
|
|
11752
|
+
version: 'v2020_12_25';
|
|
11753
|
+
namespace: 'Mercury';
|
|
11754
|
+
name: '';
|
|
11755
|
+
fields: {
|
|
11756
|
+
/** Name. Human readable name for this contract */
|
|
11757
|
+
'name': {
|
|
11758
|
+
label: 'Name';
|
|
11759
|
+
type: 'text';
|
|
11760
|
+
isRequired: true;
|
|
11761
|
+
hint: 'Human readable name for this contract';
|
|
11762
|
+
options: undefined;
|
|
11763
|
+
};
|
|
11764
|
+
/** Description. */
|
|
11765
|
+
'description': {
|
|
11766
|
+
label: 'Description';
|
|
11767
|
+
type: 'text';
|
|
11768
|
+
options: undefined;
|
|
11769
|
+
};
|
|
11770
|
+
/** Require all permissions. */
|
|
11771
|
+
'requireAllPermissions': {
|
|
11772
|
+
label: 'Require all permissions';
|
|
11773
|
+
type: 'boolean';
|
|
11774
|
+
defaultValue: false;
|
|
11775
|
+
options: undefined;
|
|
11776
|
+
};
|
|
11777
|
+
/** . */
|
|
11778
|
+
'permissions': {
|
|
11779
|
+
type: 'schema';
|
|
11780
|
+
isRequired: true;
|
|
11781
|
+
isArray: true;
|
|
11782
|
+
minArrayLength: 0;
|
|
11783
|
+
options: {
|
|
11784
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionSchema;
|
|
11785
|
+
};
|
|
11786
|
+
};
|
|
11787
|
+
};
|
|
11788
|
+
}
|
|
11789
|
+
interface UpsertPermissionContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema> {
|
|
11790
|
+
}
|
|
11791
|
+
}
|
|
11792
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11793
|
+
interface UpsertPermissionContractEmitTargetAndPayload {
|
|
11794
|
+
/** Source. */
|
|
11795
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11796
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTarget;
|
|
11797
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayload;
|
|
11798
|
+
}
|
|
11799
|
+
interface UpsertPermissionContractEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11800
|
+
id: 'upsertPermissionContractEmitTargetAndPayload';
|
|
11801
|
+
version: 'v2020_12_25';
|
|
11802
|
+
namespace: 'Mercury';
|
|
11803
|
+
name: '';
|
|
11804
|
+
fields: {
|
|
11805
|
+
/** Source. */
|
|
11806
|
+
'source': {
|
|
11807
|
+
label: 'Source';
|
|
11808
|
+
type: 'schema';
|
|
11809
|
+
options: {
|
|
11810
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11811
|
+
};
|
|
11812
|
+
};
|
|
11813
|
+
/** . */
|
|
11814
|
+
'target': {
|
|
11815
|
+
type: 'schema';
|
|
11816
|
+
isRequired: true;
|
|
11817
|
+
options: {
|
|
11818
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema;
|
|
11819
|
+
};
|
|
11820
|
+
};
|
|
11821
|
+
/** . */
|
|
11822
|
+
'payload': {
|
|
11823
|
+
type: 'schema';
|
|
11824
|
+
isRequired: true;
|
|
11825
|
+
options: {
|
|
11826
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema;
|
|
11827
|
+
};
|
|
11828
|
+
};
|
|
11829
|
+
};
|
|
11830
|
+
}
|
|
11831
|
+
interface UpsertPermissionContractEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetAndPayloadSchema> {
|
|
11832
|
+
}
|
|
11833
|
+
}
|
|
11834
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11835
|
+
interface UpsertPermissionContractResponsePayload {
|
|
11836
|
+
'permissionContract': SpruceSchemas.Mercury.v2020_12_25.PermissionContract;
|
|
11837
|
+
}
|
|
11838
|
+
interface UpsertPermissionContractResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11839
|
+
id: 'upsertPermissionContractResponsePayload';
|
|
11840
|
+
version: 'v2020_12_25';
|
|
11841
|
+
namespace: 'Mercury';
|
|
11842
|
+
name: '';
|
|
11843
|
+
fields: {
|
|
11844
|
+
/** . */
|
|
11845
|
+
'permissionContract': {
|
|
11846
|
+
type: 'schema';
|
|
11847
|
+
isRequired: true;
|
|
11848
|
+
options: {
|
|
11849
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionContractSchema;
|
|
11850
|
+
};
|
|
11851
|
+
};
|
|
11852
|
+
};
|
|
11853
|
+
}
|
|
11854
|
+
interface UpsertPermissionContractResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractResponsePayloadSchema> {
|
|
11855
|
+
}
|
|
11856
|
+
}
|
|
11857
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11858
|
+
interface VoteForFeatureEmitPayload {
|
|
11859
|
+
'featureKey': string;
|
|
11860
|
+
'skillNamespace': string;
|
|
11861
|
+
}
|
|
11862
|
+
interface VoteForFeatureEmitPayloadSchema extends SpruceSchema.Schema {
|
|
11863
|
+
id: 'voteForFeatureEmitPayload';
|
|
11864
|
+
version: 'v2020_12_25';
|
|
11865
|
+
namespace: 'Mercury';
|
|
11866
|
+
name: '';
|
|
11867
|
+
fields: {
|
|
11868
|
+
/** . */
|
|
11869
|
+
'featureKey': {
|
|
11870
|
+
type: 'id';
|
|
11871
|
+
isRequired: true;
|
|
11872
|
+
options: undefined;
|
|
11873
|
+
};
|
|
11874
|
+
/** . */
|
|
11875
|
+
'skillNamespace': {
|
|
11876
|
+
type: 'id';
|
|
11877
|
+
isRequired: true;
|
|
11878
|
+
options: undefined;
|
|
11879
|
+
};
|
|
11880
|
+
};
|
|
11881
|
+
}
|
|
11882
|
+
interface VoteForFeatureEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema> {
|
|
11883
|
+
}
|
|
11884
|
+
}
|
|
11885
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11886
|
+
interface VoteForFeatureEmitTargetAndPayload {
|
|
11887
|
+
/** Source. */
|
|
11888
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11889
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayload;
|
|
11890
|
+
}
|
|
11891
|
+
interface VoteForFeatureEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11892
|
+
id: 'voteForFeatureEmitTargetAndPayload';
|
|
11893
|
+
version: 'v2020_12_25';
|
|
11894
|
+
namespace: 'Mercury';
|
|
11895
|
+
name: '';
|
|
11896
|
+
fields: {
|
|
11897
|
+
/** Source. */
|
|
11898
|
+
'source': {
|
|
11899
|
+
label: 'Source';
|
|
11900
|
+
type: 'schema';
|
|
11901
|
+
options: {
|
|
11902
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11903
|
+
};
|
|
11904
|
+
};
|
|
11905
|
+
/** . */
|
|
11906
|
+
'payload': {
|
|
11907
|
+
type: 'schema';
|
|
11908
|
+
isRequired: true;
|
|
11909
|
+
options: {
|
|
11910
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema;
|
|
11911
|
+
};
|
|
11912
|
+
};
|
|
11913
|
+
};
|
|
11914
|
+
}
|
|
11915
|
+
interface VoteForFeatureEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitTargetAndPayloadSchema> {
|
|
11916
|
+
}
|
|
11917
|
+
}
|
|
11918
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11919
|
+
interface VoteForFeatureResponsePayload {
|
|
11920
|
+
'totalVotes': number;
|
|
11921
|
+
}
|
|
11922
|
+
interface VoteForFeatureResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11923
|
+
id: 'voteForFeatureResponsePayload';
|
|
11924
|
+
version: 'v2020_12_25';
|
|
11925
|
+
namespace: 'Mercury';
|
|
11926
|
+
name: '';
|
|
11927
|
+
fields: {
|
|
11928
|
+
/** . */
|
|
11929
|
+
'totalVotes': {
|
|
11930
|
+
type: 'number';
|
|
11931
|
+
isRequired: true;
|
|
11932
|
+
options: undefined;
|
|
11933
|
+
};
|
|
11934
|
+
};
|
|
11935
|
+
}
|
|
11936
|
+
interface VoteForFeatureResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureResponsePayloadSchema> {
|
|
11937
|
+
}
|
|
11938
|
+
}
|
|
11939
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11940
|
+
interface WhoamiEmitTargetAndPayload {
|
|
11941
|
+
/** Source. */
|
|
11942
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11943
|
+
}
|
|
11944
|
+
interface WhoamiEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11945
|
+
id: 'whoamiEmitTargetAndPayload';
|
|
11946
|
+
version: 'v2020_12_25';
|
|
11947
|
+
namespace: 'Mercury';
|
|
11948
|
+
name: '';
|
|
11949
|
+
fields: {
|
|
11950
|
+
/** Source. */
|
|
11951
|
+
'source': {
|
|
11952
|
+
label: 'Source';
|
|
11953
|
+
type: 'schema';
|
|
11954
|
+
options: {
|
|
11955
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11956
|
+
};
|
|
11957
|
+
};
|
|
11958
|
+
};
|
|
11959
|
+
}
|
|
11960
|
+
interface WhoamiEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.WhoamiEmitTargetAndPayloadSchema> {
|
|
11961
|
+
}
|
|
11962
|
+
}
|
|
11963
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11964
|
+
interface DidInstallEmitTarget {
|
|
11965
|
+
'organizationId': string;
|
|
11966
|
+
'skillId': string;
|
|
11967
|
+
}
|
|
11968
|
+
interface DidInstallEmitTargetSchema extends SpruceSchema.Schema {
|
|
11969
|
+
id: 'didInstallEmitTarget';
|
|
11970
|
+
version: 'v2020_12_25';
|
|
11971
|
+
namespace: 'Mercury';
|
|
11972
|
+
name: '';
|
|
11973
|
+
fields: {
|
|
11974
|
+
/** . */
|
|
11975
|
+
'organizationId': {
|
|
11976
|
+
type: 'id';
|
|
11977
|
+
isRequired: true;
|
|
11978
|
+
options: undefined;
|
|
11979
|
+
};
|
|
11980
|
+
/** . */
|
|
11981
|
+
'skillId': {
|
|
11982
|
+
type: 'id';
|
|
11983
|
+
isRequired: true;
|
|
11984
|
+
options: undefined;
|
|
11985
|
+
};
|
|
11986
|
+
};
|
|
11987
|
+
}
|
|
11988
|
+
interface DidInstallEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema> {
|
|
11989
|
+
}
|
|
11990
|
+
}
|
|
11991
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11992
|
+
interface DidInstallEmitTargetAndPayload {
|
|
11993
|
+
/** Source. */
|
|
11994
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11995
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTarget;
|
|
11996
|
+
}
|
|
11997
|
+
interface DidInstallEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11998
|
+
id: 'didInstallEmitTargetAndPayload';
|
|
11999
|
+
version: 'v2020_12_25';
|
|
12000
|
+
namespace: 'Mercury';
|
|
12001
|
+
name: '';
|
|
12002
|
+
fields: {
|
|
12003
|
+
/** Source. */
|
|
12004
|
+
'source': {
|
|
12005
|
+
label: 'Source';
|
|
12006
|
+
type: 'schema';
|
|
12007
|
+
options: {
|
|
12008
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12009
|
+
};
|
|
12010
|
+
};
|
|
12011
|
+
/** . */
|
|
12012
|
+
'target': {
|
|
12013
|
+
type: 'schema';
|
|
12014
|
+
isRequired: true;
|
|
12015
|
+
options: {
|
|
12016
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema;
|
|
12017
|
+
};
|
|
12018
|
+
};
|
|
12019
|
+
};
|
|
12020
|
+
}
|
|
12021
|
+
interface DidInstallEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetAndPayloadSchema> {
|
|
12022
|
+
}
|
|
12023
|
+
}
|
|
12024
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12025
|
+
interface DidInstallResponsePayload {
|
|
12026
|
+
}
|
|
12027
|
+
interface DidInstallResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12028
|
+
id: 'didInstallResponsePayload';
|
|
12029
|
+
version: 'v2020_12_25';
|
|
12030
|
+
namespace: 'Mercury';
|
|
12031
|
+
name: '';
|
|
12032
|
+
fields: {};
|
|
12033
|
+
}
|
|
12034
|
+
interface DidInstallResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallResponsePayloadSchema> {
|
|
12035
|
+
}
|
|
12036
|
+
}
|
|
12037
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12038
|
+
interface DidJoinOrganizationEmitTarget {
|
|
12039
|
+
'organizationId': string;
|
|
12040
|
+
'locationId'?: string | undefined | null;
|
|
12041
|
+
}
|
|
12042
|
+
interface DidJoinOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
12043
|
+
id: 'didJoinOrganizationEmitTarget';
|
|
12044
|
+
version: 'v2020_12_25';
|
|
12045
|
+
namespace: 'Mercury';
|
|
12046
|
+
name: '';
|
|
12047
|
+
fields: {
|
|
12048
|
+
/** . */
|
|
12049
|
+
'organizationId': {
|
|
12050
|
+
type: 'id';
|
|
12051
|
+
isRequired: true;
|
|
12052
|
+
options: undefined;
|
|
12053
|
+
};
|
|
12054
|
+
/** . */
|
|
12055
|
+
'locationId': {
|
|
12056
|
+
type: 'id';
|
|
12057
|
+
options: undefined;
|
|
12058
|
+
};
|
|
12059
|
+
};
|
|
12060
|
+
}
|
|
12061
|
+
interface DidJoinOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema> {
|
|
12062
|
+
}
|
|
12063
|
+
}
|
|
12064
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12065
|
+
interface DidJoinOrganizationEmitPayload {
|
|
12066
|
+
'personId': string;
|
|
12067
|
+
'roleId': string;
|
|
12068
|
+
'isFirstRole': boolean;
|
|
12069
|
+
}
|
|
12070
|
+
interface DidJoinOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12071
|
+
id: 'didJoinOrganizationEmitPayload';
|
|
12072
|
+
version: 'v2020_12_25';
|
|
12073
|
+
namespace: 'Mercury';
|
|
12074
|
+
name: '';
|
|
12075
|
+
fields: {
|
|
12076
|
+
/** . */
|
|
12077
|
+
'personId': {
|
|
12078
|
+
type: 'id';
|
|
12079
|
+
isRequired: true;
|
|
12080
|
+
options: undefined;
|
|
12081
|
+
};
|
|
12082
|
+
/** . */
|
|
12083
|
+
'roleId': {
|
|
12084
|
+
type: 'id';
|
|
12085
|
+
isRequired: true;
|
|
12086
|
+
options: undefined;
|
|
12087
|
+
};
|
|
12088
|
+
/** . */
|
|
12089
|
+
'isFirstRole': {
|
|
12090
|
+
type: 'boolean';
|
|
12091
|
+
isRequired: true;
|
|
12092
|
+
options: undefined;
|
|
12093
|
+
};
|
|
12094
|
+
};
|
|
12095
|
+
}
|
|
12096
|
+
interface DidJoinOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema> {
|
|
12097
|
+
}
|
|
12098
|
+
}
|
|
12099
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12100
|
+
interface DidJoinOrganizationEmitTargetAndPayload {
|
|
12101
|
+
/** Source. */
|
|
12102
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12103
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTarget;
|
|
12104
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayload;
|
|
12105
|
+
}
|
|
12106
|
+
interface DidJoinOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12107
|
+
id: 'didJoinOrganizationEmitTargetAndPayload';
|
|
12108
|
+
version: 'v2020_12_25';
|
|
12109
|
+
namespace: 'Mercury';
|
|
12110
|
+
name: '';
|
|
12111
|
+
fields: {
|
|
12112
|
+
/** Source. */
|
|
12113
|
+
'source': {
|
|
12114
|
+
label: 'Source';
|
|
12115
|
+
type: 'schema';
|
|
12116
|
+
options: {
|
|
12117
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12118
|
+
};
|
|
12119
|
+
};
|
|
12120
|
+
/** . */
|
|
12121
|
+
'target': {
|
|
12122
|
+
type: 'schema';
|
|
12123
|
+
isRequired: true;
|
|
12124
|
+
options: {
|
|
12125
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema;
|
|
12126
|
+
};
|
|
12127
|
+
};
|
|
12128
|
+
/** . */
|
|
12129
|
+
'payload': {
|
|
12130
|
+
type: 'schema';
|
|
12131
|
+
isRequired: true;
|
|
12132
|
+
options: {
|
|
12133
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema;
|
|
12134
|
+
};
|
|
12135
|
+
};
|
|
12136
|
+
};
|
|
12137
|
+
}
|
|
12138
|
+
interface DidJoinOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetAndPayloadSchema> {
|
|
12139
|
+
}
|
|
12140
|
+
}
|
|
12141
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12142
|
+
interface MessageTemplateAddons {
|
|
12143
|
+
'nextINeedYouTo'?: string[] | undefined | null;
|
|
12144
|
+
'youShouldKnowThat'?: string[] | undefined | null;
|
|
12145
|
+
'links'?: SpruceSchemas.Spruce.v2020_07_22.Link[] | undefined | null;
|
|
12146
|
+
}
|
|
12147
|
+
interface MessageTemplateAddonsSchema extends SpruceSchema.Schema {
|
|
12148
|
+
id: 'messageTemplateAddons';
|
|
12149
|
+
version: 'v2020_12_25';
|
|
12150
|
+
namespace: 'Mercury';
|
|
12151
|
+
name: '';
|
|
12152
|
+
fields: {
|
|
12153
|
+
/** . */
|
|
12154
|
+
'nextINeedYouTo': {
|
|
12155
|
+
type: 'text';
|
|
12156
|
+
isArray: true;
|
|
12157
|
+
options: undefined;
|
|
12158
|
+
};
|
|
12159
|
+
/** . */
|
|
12160
|
+
'youShouldKnowThat': {
|
|
12161
|
+
type: 'text';
|
|
12162
|
+
isArray: true;
|
|
12163
|
+
options: undefined;
|
|
12164
|
+
};
|
|
12165
|
+
/** . */
|
|
12166
|
+
'links': {
|
|
12167
|
+
type: 'schema';
|
|
12168
|
+
isArray: true;
|
|
12169
|
+
minArrayLength: 0;
|
|
12170
|
+
options: {
|
|
12171
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.LinkSchema;
|
|
12172
|
+
};
|
|
12173
|
+
};
|
|
12174
|
+
};
|
|
12175
|
+
}
|
|
12176
|
+
interface MessageTemplateAddonsEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema> {
|
|
12177
|
+
}
|
|
12178
|
+
}
|
|
12179
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12180
|
+
interface DidJoinOrganizationResponsePayload {
|
|
12181
|
+
'messaging'?: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddons | undefined | null;
|
|
12182
|
+
}
|
|
12183
|
+
interface DidJoinOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12184
|
+
id: 'didJoinOrganizationResponsePayload';
|
|
12185
|
+
version: 'v2020_12_25';
|
|
12186
|
+
namespace: 'Mercury';
|
|
12187
|
+
name: '';
|
|
12188
|
+
fields: {
|
|
12189
|
+
/** . */
|
|
12190
|
+
'messaging': {
|
|
12191
|
+
type: 'schema';
|
|
12473
12192
|
options: {
|
|
12474
|
-
|
|
12193
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema;
|
|
12475
12194
|
};
|
|
12476
12195
|
};
|
|
12477
|
-
|
|
12478
|
-
|
|
12479
|
-
|
|
12480
|
-
|
|
12481
|
-
|
|
12482
|
-
|
|
12196
|
+
};
|
|
12197
|
+
}
|
|
12198
|
+
interface DidJoinOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationResponsePayloadSchema> {
|
|
12199
|
+
}
|
|
12200
|
+
}
|
|
12201
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12202
|
+
interface DidLeaveOrganizationEmitTarget {
|
|
12203
|
+
'organizationId': string;
|
|
12204
|
+
'locationId'?: string | undefined | null;
|
|
12205
|
+
}
|
|
12206
|
+
interface DidLeaveOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
12207
|
+
id: 'didLeaveOrganizationEmitTarget';
|
|
12208
|
+
version: 'v2020_12_25';
|
|
12209
|
+
namespace: 'Mercury';
|
|
12210
|
+
name: '';
|
|
12211
|
+
fields: {
|
|
12212
|
+
/** . */
|
|
12213
|
+
'organizationId': {
|
|
12214
|
+
type: 'id';
|
|
12215
|
+
isRequired: true;
|
|
12216
|
+
options: undefined;
|
|
12217
|
+
};
|
|
12218
|
+
/** . */
|
|
12219
|
+
'locationId': {
|
|
12220
|
+
type: 'id';
|
|
12221
|
+
options: undefined;
|
|
12222
|
+
};
|
|
12223
|
+
};
|
|
12224
|
+
}
|
|
12225
|
+
interface DidLeaveOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema> {
|
|
12226
|
+
}
|
|
12227
|
+
}
|
|
12228
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12229
|
+
interface DidLeaveOrganizationEmitPayload {
|
|
12230
|
+
'personId': string;
|
|
12231
|
+
'roleId': string;
|
|
12232
|
+
'isLastRole': boolean;
|
|
12233
|
+
}
|
|
12234
|
+
interface DidLeaveOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12235
|
+
id: 'didLeaveOrganizationEmitPayload';
|
|
12236
|
+
version: 'v2020_12_25';
|
|
12237
|
+
namespace: 'Mercury';
|
|
12238
|
+
name: '';
|
|
12239
|
+
fields: {
|
|
12240
|
+
/** . */
|
|
12241
|
+
'personId': {
|
|
12242
|
+
type: 'id';
|
|
12243
|
+
isRequired: true;
|
|
12244
|
+
options: undefined;
|
|
12245
|
+
};
|
|
12246
|
+
/** . */
|
|
12247
|
+
'roleId': {
|
|
12248
|
+
type: 'id';
|
|
12249
|
+
isRequired: true;
|
|
12250
|
+
options: undefined;
|
|
12251
|
+
};
|
|
12252
|
+
/** . */
|
|
12253
|
+
'isLastRole': {
|
|
12254
|
+
type: 'boolean';
|
|
12255
|
+
isRequired: true;
|
|
12256
|
+
options: undefined;
|
|
12257
|
+
};
|
|
12258
|
+
};
|
|
12259
|
+
}
|
|
12260
|
+
interface DidLeaveOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema> {
|
|
12261
|
+
}
|
|
12262
|
+
}
|
|
12263
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12264
|
+
interface DidLeaveOrganizationEmitTargetAndPayload {
|
|
12265
|
+
/** Source. */
|
|
12266
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12267
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTarget;
|
|
12268
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayload;
|
|
12269
|
+
}
|
|
12270
|
+
interface DidLeaveOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12271
|
+
id: 'didLeaveOrganizationEmitTargetAndPayload';
|
|
12272
|
+
version: 'v2020_12_25';
|
|
12273
|
+
namespace: 'Mercury';
|
|
12274
|
+
name: '';
|
|
12275
|
+
fields: {
|
|
12276
|
+
/** Source. */
|
|
12277
|
+
'source': {
|
|
12278
|
+
label: 'Source';
|
|
12279
|
+
type: 'schema';
|
|
12280
|
+
options: {
|
|
12281
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12282
|
+
};
|
|
12283
|
+
};
|
|
12284
|
+
/** . */
|
|
12285
|
+
'target': {
|
|
12286
|
+
type: 'schema';
|
|
12287
|
+
isRequired: true;
|
|
12288
|
+
options: {
|
|
12289
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema;
|
|
12290
|
+
};
|
|
12291
|
+
};
|
|
12292
|
+
/** . */
|
|
12293
|
+
'payload': {
|
|
12294
|
+
type: 'schema';
|
|
12295
|
+
isRequired: true;
|
|
12296
|
+
options: {
|
|
12297
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema;
|
|
12298
|
+
};
|
|
12299
|
+
};
|
|
12300
|
+
};
|
|
12301
|
+
}
|
|
12302
|
+
interface DidLeaveOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetAndPayloadSchema> {
|
|
12303
|
+
}
|
|
12304
|
+
}
|
|
12305
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12306
|
+
interface DidLeaveOrganizationResponsePayload {
|
|
12307
|
+
}
|
|
12308
|
+
interface DidLeaveOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12309
|
+
id: 'didLeaveOrganizationResponsePayload';
|
|
12310
|
+
version: 'v2020_12_25';
|
|
12311
|
+
namespace: 'Mercury';
|
|
12312
|
+
name: '';
|
|
12313
|
+
fields: {};
|
|
12314
|
+
}
|
|
12315
|
+
interface DidLeaveOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationResponsePayloadSchema> {
|
|
12316
|
+
}
|
|
12317
|
+
}
|
|
12318
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12319
|
+
interface DidMessageEmitPayload {
|
|
12320
|
+
'message': SpruceSchemas.Spruce.v2020_07_22.Message;
|
|
12321
|
+
'conversationState'?: string | undefined | null;
|
|
12322
|
+
'topic'?: string | undefined | null;
|
|
12323
|
+
}
|
|
12324
|
+
interface DidMessageEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12325
|
+
id: 'didMessageEmitPayload';
|
|
12326
|
+
version: 'v2020_12_25';
|
|
12327
|
+
namespace: 'Mercury';
|
|
12328
|
+
name: '';
|
|
12329
|
+
fields: {
|
|
12330
|
+
/** . */
|
|
12331
|
+
'message': {
|
|
12332
|
+
type: 'schema';
|
|
12333
|
+
isRequired: true;
|
|
12334
|
+
options: {
|
|
12335
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.MessageSchema;
|
|
12336
|
+
};
|
|
12337
|
+
};
|
|
12338
|
+
/** . */
|
|
12339
|
+
'conversationState': {
|
|
12340
|
+
type: 'text';
|
|
12341
|
+
options: undefined;
|
|
12342
|
+
};
|
|
12343
|
+
/** . */
|
|
12344
|
+
'topic': {
|
|
12345
|
+
type: 'text';
|
|
12346
|
+
options: undefined;
|
|
12347
|
+
};
|
|
12348
|
+
};
|
|
12349
|
+
}
|
|
12350
|
+
interface DidMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema> {
|
|
12351
|
+
}
|
|
12352
|
+
}
|
|
12353
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12354
|
+
interface DidMessageEmitTargetAndPayload {
|
|
12355
|
+
/** Source. */
|
|
12356
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12357
|
+
'target'?: SpruceSchemas.Spruce.v2020_07_22.MessageTarget | undefined | null;
|
|
12358
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayload;
|
|
12359
|
+
}
|
|
12360
|
+
interface DidMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12361
|
+
id: 'didMessageEmitTargetAndPayload';
|
|
12362
|
+
version: 'v2020_12_25';
|
|
12363
|
+
namespace: 'Mercury';
|
|
12364
|
+
name: '';
|
|
12365
|
+
fields: {
|
|
12366
|
+
/** Source. */
|
|
12367
|
+
'source': {
|
|
12368
|
+
label: 'Source';
|
|
12369
|
+
type: 'schema';
|
|
12370
|
+
options: {
|
|
12371
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12372
|
+
};
|
|
12373
|
+
};
|
|
12374
|
+
/** . */
|
|
12375
|
+
'target': {
|
|
12376
|
+
type: 'schema';
|
|
12377
|
+
options: {
|
|
12378
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.MessageTargetSchema;
|
|
12379
|
+
};
|
|
12380
|
+
};
|
|
12381
|
+
/** . */
|
|
12382
|
+
'payload': {
|
|
12383
|
+
type: 'schema';
|
|
12384
|
+
isRequired: true;
|
|
12385
|
+
options: {
|
|
12386
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema;
|
|
12387
|
+
};
|
|
12388
|
+
};
|
|
12389
|
+
};
|
|
12390
|
+
}
|
|
12391
|
+
interface DidMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitTargetAndPayloadSchema> {
|
|
12392
|
+
}
|
|
12393
|
+
}
|
|
12394
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12395
|
+
interface ConversationTopic {
|
|
12396
|
+
'key': string;
|
|
12397
|
+
'confidence': number;
|
|
12398
|
+
'label': string;
|
|
12399
|
+
}
|
|
12400
|
+
interface ConversationTopicSchema extends SpruceSchema.Schema {
|
|
12401
|
+
id: 'conversationTopic';
|
|
12402
|
+
version: 'v2020_12_25';
|
|
12403
|
+
namespace: 'Mercury';
|
|
12404
|
+
name: '';
|
|
12405
|
+
fields: {
|
|
12406
|
+
/** . */
|
|
12407
|
+
'key': {
|
|
12408
|
+
type: 'text';
|
|
12409
|
+
isRequired: true;
|
|
12410
|
+
options: undefined;
|
|
12411
|
+
};
|
|
12412
|
+
/** . */
|
|
12413
|
+
'confidence': {
|
|
12414
|
+
type: 'number';
|
|
12415
|
+
isRequired: true;
|
|
12416
|
+
options: undefined;
|
|
12417
|
+
};
|
|
12418
|
+
/** . */
|
|
12419
|
+
'label': {
|
|
12420
|
+
type: 'text';
|
|
12421
|
+
isRequired: true;
|
|
12483
12422
|
options: undefined;
|
|
12484
12423
|
};
|
|
12485
12424
|
};
|
|
12486
12425
|
}
|
|
12487
|
-
interface
|
|
12426
|
+
interface ConversationTopicEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema> {
|
|
12488
12427
|
}
|
|
12489
12428
|
}
|
|
12490
12429
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12491
|
-
interface
|
|
12492
|
-
|
|
12493
|
-
'
|
|
12494
|
-
'
|
|
12495
|
-
'
|
|
12430
|
+
interface DidMessageResponsePayload {
|
|
12431
|
+
'transitionConversationTo'?: ("greeting" | "discovery" | "topic" | "closing") | undefined | null;
|
|
12432
|
+
'repairs'?: string[] | undefined | null;
|
|
12433
|
+
'topicChangers'?: string[] | undefined | null;
|
|
12434
|
+
'utterance'?: string | undefined | null;
|
|
12435
|
+
'suggestedTopics'?: SpruceSchemas.Mercury.v2020_12_25.ConversationTopic[] | undefined | null;
|
|
12496
12436
|
}
|
|
12497
|
-
interface
|
|
12498
|
-
id: '
|
|
12437
|
+
interface DidMessageResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12438
|
+
id: 'didMessageResponsePayload';
|
|
12499
12439
|
version: 'v2020_12_25';
|
|
12500
12440
|
namespace: 'Mercury';
|
|
12501
12441
|
name: '';
|
|
12502
12442
|
fields: {
|
|
12503
|
-
/**
|
|
12504
|
-
'
|
|
12505
|
-
|
|
12506
|
-
type: 'schema';
|
|
12443
|
+
/** . */
|
|
12444
|
+
'transitionConversationTo': {
|
|
12445
|
+
type: 'select';
|
|
12507
12446
|
options: {
|
|
12508
|
-
|
|
12447
|
+
choices: [{
|
|
12448
|
+
"label": "Greeting";
|
|
12449
|
+
"value": "greeting";
|
|
12450
|
+
}, {
|
|
12451
|
+
"label": "Discovery";
|
|
12452
|
+
"value": "discovery";
|
|
12453
|
+
}, {
|
|
12454
|
+
"label": "Topic";
|
|
12455
|
+
"value": "topic";
|
|
12456
|
+
}, {
|
|
12457
|
+
"label": "Closing";
|
|
12458
|
+
"value": "closing";
|
|
12459
|
+
}];
|
|
12509
12460
|
};
|
|
12510
12461
|
};
|
|
12511
12462
|
/** . */
|
|
12512
|
-
'
|
|
12513
|
-
type: '
|
|
12514
|
-
|
|
12515
|
-
|
|
12516
|
-
};
|
|
12463
|
+
'repairs': {
|
|
12464
|
+
type: 'text';
|
|
12465
|
+
isArray: true;
|
|
12466
|
+
options: undefined;
|
|
12517
12467
|
};
|
|
12518
12468
|
/** . */
|
|
12519
|
-
'
|
|
12469
|
+
'topicChangers': {
|
|
12470
|
+
type: 'text';
|
|
12471
|
+
isArray: true;
|
|
12472
|
+
options: undefined;
|
|
12473
|
+
};
|
|
12474
|
+
/** . */
|
|
12475
|
+
'utterance': {
|
|
12476
|
+
type: 'text';
|
|
12477
|
+
options: undefined;
|
|
12478
|
+
};
|
|
12479
|
+
/** . */
|
|
12480
|
+
'suggestedTopics': {
|
|
12520
12481
|
type: 'schema';
|
|
12482
|
+
isArray: true;
|
|
12521
12483
|
options: {
|
|
12522
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12484
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema;
|
|
12523
12485
|
};
|
|
12524
12486
|
};
|
|
12525
12487
|
};
|
|
12526
12488
|
}
|
|
12527
|
-
interface
|
|
12489
|
+
interface DidMessageResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageResponsePayloadSchema> {
|
|
12528
12490
|
}
|
|
12529
12491
|
}
|
|
12530
12492
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12531
|
-
interface
|
|
12493
|
+
interface DidSignupEmitPayload {
|
|
12532
12494
|
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
12533
12495
|
}
|
|
12534
|
-
interface
|
|
12535
|
-
id: '
|
|
12496
|
+
interface DidSignupEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12497
|
+
id: 'didSignupEmitPayload';
|
|
12536
12498
|
version: 'v2020_12_25';
|
|
12537
12499
|
namespace: 'Mercury';
|
|
12538
12500
|
name: '';
|
|
@@ -12547,94 +12509,65 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12547
12509
|
};
|
|
12548
12510
|
};
|
|
12549
12511
|
}
|
|
12550
|
-
interface
|
|
12512
|
+
interface DidSignupEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema> {
|
|
12551
12513
|
}
|
|
12552
12514
|
}
|
|
12553
12515
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12554
|
-
interface
|
|
12555
|
-
|
|
12516
|
+
interface DidSignupEmitTargetAndPayload {
|
|
12517
|
+
/** Source. */
|
|
12518
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12519
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
12520
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayload;
|
|
12556
12521
|
}
|
|
12557
|
-
interface
|
|
12558
|
-
id: '
|
|
12522
|
+
interface DidSignupEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12523
|
+
id: 'didSignupEmitTargetAndPayload';
|
|
12559
12524
|
version: 'v2020_12_25';
|
|
12560
12525
|
namespace: 'Mercury';
|
|
12561
12526
|
name: '';
|
|
12562
12527
|
fields: {
|
|
12528
|
+
/** Source. */
|
|
12529
|
+
'source': {
|
|
12530
|
+
label: 'Source';
|
|
12531
|
+
type: 'schema';
|
|
12532
|
+
options: {
|
|
12533
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12534
|
+
};
|
|
12535
|
+
};
|
|
12563
12536
|
/** . */
|
|
12564
|
-
'
|
|
12565
|
-
type: '
|
|
12537
|
+
'target': {
|
|
12538
|
+
type: 'schema';
|
|
12539
|
+
options: {
|
|
12540
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
12541
|
+
};
|
|
12542
|
+
};
|
|
12543
|
+
/** . */
|
|
12544
|
+
'payload': {
|
|
12545
|
+
type: 'schema';
|
|
12566
12546
|
isRequired: true;
|
|
12567
|
-
options:
|
|
12547
|
+
options: {
|
|
12548
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema;
|
|
12549
|
+
};
|
|
12568
12550
|
};
|
|
12569
12551
|
};
|
|
12570
12552
|
}
|
|
12571
|
-
interface
|
|
12553
|
+
interface DidSignupEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitTargetAndPayloadSchema> {
|
|
12572
12554
|
}
|
|
12573
12555
|
}
|
|
12574
12556
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12575
|
-
interface
|
|
12576
|
-
|
|
12577
|
-
'name'?: string | undefined | null;
|
|
12578
|
-
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
12579
|
-
'base'?: ("owner" | "groupManager" | "manager" | "teammate" | "anonymous" | "loggedIn" | "guest") | undefined | null;
|
|
12580
|
-
/** Description. */
|
|
12581
|
-
'description'?: string | undefined | null;
|
|
12582
|
-
'dateDeleted'?: number | undefined | null;
|
|
12557
|
+
interface DidUpdateFeedEmitTarget {
|
|
12558
|
+
'locationId'?: string | undefined | null;
|
|
12583
12559
|
'organizationId'?: string | undefined | null;
|
|
12584
|
-
|
|
12585
|
-
'isPublic'?: boolean | undefined | null;
|
|
12560
|
+
'skillId'?: string | undefined | null;
|
|
12586
12561
|
}
|
|
12587
|
-
interface
|
|
12588
|
-
id: '
|
|
12562
|
+
interface DidUpdateFeedEmitTargetSchema extends SpruceSchema.Schema {
|
|
12563
|
+
id: 'didUpdateFeedEmitTarget';
|
|
12589
12564
|
version: 'v2020_12_25';
|
|
12590
12565
|
namespace: 'Mercury';
|
|
12591
12566
|
name: '';
|
|
12592
12567
|
fields: {
|
|
12593
|
-
/** Name. */
|
|
12594
|
-
'name': {
|
|
12595
|
-
label: 'Name';
|
|
12596
|
-
type: 'text';
|
|
12597
|
-
options: undefined;
|
|
12598
|
-
};
|
|
12599
|
-
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
12600
|
-
'base': {
|
|
12601
|
-
label: 'Base';
|
|
12602
|
-
type: 'select';
|
|
12603
|
-
hint: 'A best practices starting point for a role based on the generalized roles at a company.';
|
|
12604
|
-
options: {
|
|
12605
|
-
choices: [{
|
|
12606
|
-
"label": "Owner";
|
|
12607
|
-
"value": "owner";
|
|
12608
|
-
}, {
|
|
12609
|
-
"label": "Group manager";
|
|
12610
|
-
"value": "groupManager";
|
|
12611
|
-
}, {
|
|
12612
|
-
"label": "Manager";
|
|
12613
|
-
"value": "manager";
|
|
12614
|
-
}, {
|
|
12615
|
-
"label": "Teammate";
|
|
12616
|
-
"value": "teammate";
|
|
12617
|
-
}, {
|
|
12618
|
-
"label": "Anonymous";
|
|
12619
|
-
"value": "anonymous";
|
|
12620
|
-
}, {
|
|
12621
|
-
"label": "Logged in";
|
|
12622
|
-
"value": "loggedIn";
|
|
12623
|
-
}, {
|
|
12624
|
-
"label": "Guest";
|
|
12625
|
-
"value": "guest";
|
|
12626
|
-
}];
|
|
12627
|
-
};
|
|
12628
|
-
};
|
|
12629
|
-
/** Description. */
|
|
12630
|
-
'description': {
|
|
12631
|
-
label: 'Description';
|
|
12632
|
-
type: 'text';
|
|
12633
|
-
options: undefined;
|
|
12634
|
-
};
|
|
12635
12568
|
/** . */
|
|
12636
|
-
'
|
|
12637
|
-
type: '
|
|
12569
|
+
'locationId': {
|
|
12570
|
+
type: 'id';
|
|
12638
12571
|
options: undefined;
|
|
12639
12572
|
};
|
|
12640
12573
|
/** . */
|
|
@@ -12642,27 +12575,48 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12642
12575
|
type: 'id';
|
|
12643
12576
|
options: undefined;
|
|
12644
12577
|
};
|
|
12645
|
-
/**
|
|
12646
|
-
'
|
|
12647
|
-
|
|
12648
|
-
type: 'boolean';
|
|
12649
|
-
hint: 'Should I let people that are not part of this organization this role?';
|
|
12578
|
+
/** . */
|
|
12579
|
+
'skillId': {
|
|
12580
|
+
type: 'id';
|
|
12650
12581
|
options: undefined;
|
|
12651
12582
|
};
|
|
12652
12583
|
};
|
|
12653
12584
|
}
|
|
12654
|
-
interface
|
|
12585
|
+
interface DidUpdateFeedEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetSchema> {
|
|
12655
12586
|
}
|
|
12656
12587
|
}
|
|
12657
12588
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12658
|
-
interface
|
|
12589
|
+
interface DidUpdateFeedEmitPayload {
|
|
12590
|
+
'item': SpruceSchemas.Spruce.v2020_07_22.FeedItem;
|
|
12591
|
+
}
|
|
12592
|
+
interface DidUpdateFeedEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12593
|
+
id: 'didUpdateFeedEmitPayload';
|
|
12594
|
+
version: 'v2020_12_25';
|
|
12595
|
+
namespace: 'Mercury';
|
|
12596
|
+
name: '';
|
|
12597
|
+
fields: {
|
|
12598
|
+
/** . */
|
|
12599
|
+
'item': {
|
|
12600
|
+
type: 'schema';
|
|
12601
|
+
isRequired: true;
|
|
12602
|
+
options: {
|
|
12603
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.FeedItemSchema;
|
|
12604
|
+
};
|
|
12605
|
+
};
|
|
12606
|
+
};
|
|
12607
|
+
}
|
|
12608
|
+
interface DidUpdateFeedEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema> {
|
|
12609
|
+
}
|
|
12610
|
+
}
|
|
12611
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12612
|
+
interface DidUpdateFeedEmitTargetAndPayload {
|
|
12659
12613
|
/** Source. */
|
|
12660
12614
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12661
|
-
'target'
|
|
12662
|
-
'payload'
|
|
12615
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTarget | undefined | null;
|
|
12616
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayload;
|
|
12663
12617
|
}
|
|
12664
|
-
interface
|
|
12665
|
-
id: '
|
|
12618
|
+
interface DidUpdateFeedEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12619
|
+
id: 'didUpdateFeedEmitTargetAndPayload';
|
|
12666
12620
|
version: 'v2020_12_25';
|
|
12667
12621
|
namespace: 'Mercury';
|
|
12668
12622
|
name: '';
|
|
@@ -12678,148 +12632,112 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12678
12632
|
/** . */
|
|
12679
12633
|
'target': {
|
|
12680
12634
|
type: 'schema';
|
|
12681
|
-
isRequired: true;
|
|
12682
12635
|
options: {
|
|
12683
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12636
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetSchema;
|
|
12684
12637
|
};
|
|
12685
12638
|
};
|
|
12686
12639
|
/** . */
|
|
12687
12640
|
'payload': {
|
|
12688
12641
|
type: 'schema';
|
|
12642
|
+
isRequired: true;
|
|
12689
12643
|
options: {
|
|
12690
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12644
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema;
|
|
12691
12645
|
};
|
|
12692
12646
|
};
|
|
12693
12647
|
};
|
|
12694
12648
|
}
|
|
12695
|
-
interface
|
|
12649
|
+
interface DidUpdateFeedEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetAndPayloadSchema> {
|
|
12696
12650
|
}
|
|
12697
12651
|
}
|
|
12698
12652
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12699
|
-
interface
|
|
12700
|
-
'
|
|
12653
|
+
interface DidUpdatePersonEmitPayload {
|
|
12654
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
12701
12655
|
}
|
|
12702
|
-
interface
|
|
12703
|
-
id: '
|
|
12656
|
+
interface DidUpdatePersonEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12657
|
+
id: 'didUpdatePersonEmitPayload';
|
|
12704
12658
|
version: 'v2020_12_25';
|
|
12705
12659
|
namespace: 'Mercury';
|
|
12706
12660
|
name: '';
|
|
12707
12661
|
fields: {
|
|
12708
12662
|
/** . */
|
|
12709
|
-
'
|
|
12663
|
+
'person': {
|
|
12710
12664
|
type: 'schema';
|
|
12711
12665
|
isRequired: true;
|
|
12712
12666
|
options: {
|
|
12713
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.
|
|
12667
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
12714
12668
|
};
|
|
12715
12669
|
};
|
|
12716
12670
|
};
|
|
12717
12671
|
}
|
|
12718
|
-
interface
|
|
12672
|
+
interface DidUpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema> {
|
|
12719
12673
|
}
|
|
12720
12674
|
}
|
|
12721
12675
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12722
|
-
interface
|
|
12723
|
-
'
|
|
12724
|
-
'
|
|
12725
|
-
'roleId': string;
|
|
12726
|
-
'skillId'?: string | undefined | null;
|
|
12676
|
+
interface InvokeChatCallbackTarget {
|
|
12677
|
+
'skillId': string;
|
|
12678
|
+
'chatPersonId': string;
|
|
12727
12679
|
}
|
|
12728
|
-
interface
|
|
12729
|
-
id: '
|
|
12680
|
+
interface InvokeChatCallbackTargetSchema extends SpruceSchema.Schema {
|
|
12681
|
+
id: 'invokeChatCallbackTarget';
|
|
12730
12682
|
version: 'v2020_12_25';
|
|
12731
12683
|
namespace: 'Mercury';
|
|
12732
12684
|
name: '';
|
|
12733
12685
|
fields: {
|
|
12734
12686
|
/** . */
|
|
12735
|
-
'
|
|
12736
|
-
type: 'id';
|
|
12737
|
-
isRequired: true;
|
|
12738
|
-
options: undefined;
|
|
12739
|
-
};
|
|
12740
|
-
/** . */
|
|
12741
|
-
'permissionContractId': {
|
|
12687
|
+
'skillId': {
|
|
12742
12688
|
type: 'id';
|
|
12743
12689
|
isRequired: true;
|
|
12744
12690
|
options: undefined;
|
|
12745
12691
|
};
|
|
12746
12692
|
/** . */
|
|
12747
|
-
'
|
|
12693
|
+
'chatPersonId': {
|
|
12748
12694
|
type: 'id';
|
|
12749
12695
|
isRequired: true;
|
|
12750
12696
|
options: undefined;
|
|
12751
12697
|
};
|
|
12752
|
-
/** . */
|
|
12753
|
-
'skillId': {
|
|
12754
|
-
type: 'id';
|
|
12755
|
-
options: undefined;
|
|
12756
|
-
};
|
|
12757
12698
|
};
|
|
12758
12699
|
}
|
|
12759
|
-
interface
|
|
12700
|
+
interface InvokeChatCallbackTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackTargetSchema> {
|
|
12760
12701
|
}
|
|
12761
12702
|
}
|
|
12762
12703
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12763
|
-
interface
|
|
12764
|
-
|
|
12765
|
-
'
|
|
12766
|
-
/** Description. */
|
|
12767
|
-
'description'?: string | undefined | null;
|
|
12768
|
-
/** Require all permissions. */
|
|
12769
|
-
'requireAllPermissions'?: boolean | undefined | null;
|
|
12770
|
-
'permissions': SpruceSchemas.Mercury.v2020_12_25.Permission[];
|
|
12704
|
+
interface InvokeChatCallbackPayload {
|
|
12705
|
+
'placeholder': string;
|
|
12706
|
+
'state'?: (Record<string, any>) | undefined | null;
|
|
12771
12707
|
}
|
|
12772
|
-
interface
|
|
12773
|
-
id: '
|
|
12708
|
+
interface InvokeChatCallbackPayloadSchema extends SpruceSchema.Schema {
|
|
12709
|
+
id: 'invokeChatCallbackPayload';
|
|
12774
12710
|
version: 'v2020_12_25';
|
|
12775
12711
|
namespace: 'Mercury';
|
|
12776
12712
|
name: '';
|
|
12777
12713
|
fields: {
|
|
12778
|
-
/**
|
|
12779
|
-
'
|
|
12780
|
-
|
|
12781
|
-
type: 'text';
|
|
12714
|
+
/** . */
|
|
12715
|
+
'placeholder': {
|
|
12716
|
+
type: 'id';
|
|
12782
12717
|
isRequired: true;
|
|
12783
|
-
hint: 'Human readable name for this contract';
|
|
12784
|
-
options: undefined;
|
|
12785
|
-
};
|
|
12786
|
-
/** Description. */
|
|
12787
|
-
'description': {
|
|
12788
|
-
label: 'Description';
|
|
12789
|
-
type: 'text';
|
|
12790
|
-
options: undefined;
|
|
12791
|
-
};
|
|
12792
|
-
/** Require all permissions. */
|
|
12793
|
-
'requireAllPermissions': {
|
|
12794
|
-
label: 'Require all permissions';
|
|
12795
|
-
type: 'boolean';
|
|
12796
|
-
defaultValue: false;
|
|
12797
12718
|
options: undefined;
|
|
12798
12719
|
};
|
|
12799
12720
|
/** . */
|
|
12800
|
-
'
|
|
12801
|
-
type: '
|
|
12802
|
-
isRequired: true;
|
|
12803
|
-
isArray: true;
|
|
12804
|
-
minArrayLength: 0;
|
|
12721
|
+
'state': {
|
|
12722
|
+
type: 'raw';
|
|
12805
12723
|
options: {
|
|
12806
|
-
|
|
12724
|
+
valueType: `Record<string, any>`;
|
|
12807
12725
|
};
|
|
12808
12726
|
};
|
|
12809
12727
|
};
|
|
12810
12728
|
}
|
|
12811
|
-
interface
|
|
12729
|
+
interface InvokeChatCallbackPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackPayloadSchema> {
|
|
12812
12730
|
}
|
|
12813
12731
|
}
|
|
12814
12732
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12815
|
-
interface
|
|
12733
|
+
interface InvokeChatCallbackEmitTargetAndPayload {
|
|
12816
12734
|
/** Source. */
|
|
12817
12735
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12818
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.
|
|
12819
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.
|
|
12736
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackTarget;
|
|
12737
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackPayload;
|
|
12820
12738
|
}
|
|
12821
|
-
interface
|
|
12822
|
-
id: '
|
|
12739
|
+
interface InvokeChatCallbackEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12740
|
+
id: 'invokeChatCallbackEmitTargetAndPayload';
|
|
12823
12741
|
version: 'v2020_12_25';
|
|
12824
12742
|
namespace: 'Mercury';
|
|
12825
12743
|
name: '';
|
|
@@ -12837,7 +12755,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12837
12755
|
type: 'schema';
|
|
12838
12756
|
isRequired: true;
|
|
12839
12757
|
options: {
|
|
12840
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12758
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackTargetSchema;
|
|
12841
12759
|
};
|
|
12842
12760
|
};
|
|
12843
12761
|
/** . */
|
|
@@ -12845,73 +12763,83 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12845
12763
|
type: 'schema';
|
|
12846
12764
|
isRequired: true;
|
|
12847
12765
|
options: {
|
|
12848
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12766
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackPayloadSchema;
|
|
12849
12767
|
};
|
|
12850
12768
|
};
|
|
12851
12769
|
};
|
|
12852
12770
|
}
|
|
12853
|
-
interface
|
|
12771
|
+
interface InvokeChatCallbackEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackEmitTargetAndPayloadSchema> {
|
|
12854
12772
|
}
|
|
12855
12773
|
}
|
|
12856
12774
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12857
|
-
interface
|
|
12858
|
-
'
|
|
12775
|
+
interface InvokeChatCallbackResponsePayload {
|
|
12776
|
+
'message': string;
|
|
12859
12777
|
}
|
|
12860
|
-
interface
|
|
12861
|
-
id: '
|
|
12778
|
+
interface InvokeChatCallbackResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12779
|
+
id: 'invokeChatCallbackResponsePayload';
|
|
12862
12780
|
version: 'v2020_12_25';
|
|
12863
12781
|
namespace: 'Mercury';
|
|
12864
12782
|
name: '';
|
|
12865
12783
|
fields: {
|
|
12866
12784
|
/** . */
|
|
12867
|
-
'
|
|
12868
|
-
type: '
|
|
12785
|
+
'message': {
|
|
12786
|
+
type: 'text';
|
|
12869
12787
|
isRequired: true;
|
|
12870
|
-
options:
|
|
12871
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionContractSchema;
|
|
12872
|
-
};
|
|
12788
|
+
options: undefined;
|
|
12873
12789
|
};
|
|
12874
12790
|
};
|
|
12875
12791
|
}
|
|
12876
|
-
interface
|
|
12792
|
+
interface InvokeChatCallbackResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.InvokeChatCallbackResponsePayloadSchema> {
|
|
12877
12793
|
}
|
|
12878
12794
|
}
|
|
12879
12795
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12880
|
-
interface
|
|
12881
|
-
|
|
12882
|
-
'
|
|
12796
|
+
interface DidUpdatePersonEmitTargetAndPayload {
|
|
12797
|
+
/** Source. */
|
|
12798
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12799
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
12800
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayload;
|
|
12883
12801
|
}
|
|
12884
|
-
interface
|
|
12885
|
-
id: '
|
|
12802
|
+
interface DidUpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12803
|
+
id: 'didUpdatePersonEmitTargetAndPayload';
|
|
12886
12804
|
version: 'v2020_12_25';
|
|
12887
12805
|
namespace: 'Mercury';
|
|
12888
12806
|
name: '';
|
|
12889
12807
|
fields: {
|
|
12808
|
+
/** Source. */
|
|
12809
|
+
'source': {
|
|
12810
|
+
label: 'Source';
|
|
12811
|
+
type: 'schema';
|
|
12812
|
+
options: {
|
|
12813
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12814
|
+
};
|
|
12815
|
+
};
|
|
12890
12816
|
/** . */
|
|
12891
|
-
'
|
|
12892
|
-
type: '
|
|
12893
|
-
|
|
12894
|
-
|
|
12817
|
+
'target': {
|
|
12818
|
+
type: 'schema';
|
|
12819
|
+
options: {
|
|
12820
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
12821
|
+
};
|
|
12895
12822
|
};
|
|
12896
12823
|
/** . */
|
|
12897
|
-
'
|
|
12898
|
-
type: '
|
|
12824
|
+
'payload': {
|
|
12825
|
+
type: 'schema';
|
|
12899
12826
|
isRequired: true;
|
|
12900
|
-
options:
|
|
12827
|
+
options: {
|
|
12828
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema;
|
|
12829
|
+
};
|
|
12901
12830
|
};
|
|
12902
12831
|
};
|
|
12903
12832
|
}
|
|
12904
|
-
interface
|
|
12833
|
+
interface DidUpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitTargetAndPayloadSchema> {
|
|
12905
12834
|
}
|
|
12906
12835
|
}
|
|
12907
12836
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12908
|
-
interface
|
|
12837
|
+
interface RegisterChatbotsEmitTargetAndPayload {
|
|
12909
12838
|
/** Source. */
|
|
12910
12839
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12911
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayload;
|
|
12912
12840
|
}
|
|
12913
|
-
interface
|
|
12914
|
-
id: '
|
|
12841
|
+
interface RegisterChatbotsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12842
|
+
id: 'registerChatbotsEmitTargetAndPayload';
|
|
12915
12843
|
version: 'v2020_12_25';
|
|
12916
12844
|
namespace: 'Mercury';
|
|
12917
12845
|
name: '';
|
|
@@ -12924,62 +12852,134 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12924
12852
|
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12925
12853
|
};
|
|
12926
12854
|
};
|
|
12855
|
+
};
|
|
12856
|
+
}
|
|
12857
|
+
interface RegisterChatbotsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterChatbotsEmitTargetAndPayloadSchema> {
|
|
12858
|
+
}
|
|
12859
|
+
}
|
|
12860
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12861
|
+
interface ChatbotCallbacks {
|
|
12862
|
+
'placeholder': string;
|
|
12863
|
+
'useThisWhenever': string;
|
|
12864
|
+
}
|
|
12865
|
+
interface ChatbotCallbacksSchema extends SpruceSchema.Schema {
|
|
12866
|
+
id: 'chatbotCallbacks';
|
|
12867
|
+
version: 'v2020_12_25';
|
|
12868
|
+
namespace: 'Mercury';
|
|
12869
|
+
name: '';
|
|
12870
|
+
fields: {
|
|
12927
12871
|
/** . */
|
|
12928
|
-
'
|
|
12929
|
-
type: '
|
|
12872
|
+
'placeholder': {
|
|
12873
|
+
type: 'id';
|
|
12930
12874
|
isRequired: true;
|
|
12931
|
-
options:
|
|
12932
|
-
|
|
12933
|
-
|
|
12875
|
+
options: undefined;
|
|
12876
|
+
};
|
|
12877
|
+
/** . */
|
|
12878
|
+
'useThisWhenever': {
|
|
12879
|
+
type: 'text';
|
|
12880
|
+
isRequired: true;
|
|
12881
|
+
options: undefined;
|
|
12934
12882
|
};
|
|
12935
12883
|
};
|
|
12936
12884
|
}
|
|
12937
|
-
interface
|
|
12885
|
+
interface ChatbotCallbacksEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ChatbotCallbacksSchema> {
|
|
12938
12886
|
}
|
|
12939
12887
|
}
|
|
12940
12888
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12941
|
-
interface
|
|
12942
|
-
'
|
|
12889
|
+
interface Chatbot {
|
|
12890
|
+
'title': string;
|
|
12891
|
+
'yourJobIfYouChooseToAcceptItIs': string;
|
|
12892
|
+
'weAreDoneWhen': string;
|
|
12893
|
+
'pleaseKeepInMindThat'?: string[] | undefined | null;
|
|
12894
|
+
'stateSchema'?: (SpruceSchema.Schema) | undefined | null;
|
|
12895
|
+
'model'?: string | undefined | null;
|
|
12896
|
+
'promptTemplate'?: string | undefined | null;
|
|
12897
|
+
'callbacks'?: SpruceSchemas.Mercury.v2020_12_25.ChatbotCallbacks[] | undefined | null;
|
|
12943
12898
|
}
|
|
12944
|
-
interface
|
|
12945
|
-
id: '
|
|
12899
|
+
interface ChatbotSchema extends SpruceSchema.Schema {
|
|
12900
|
+
id: 'chatbot';
|
|
12946
12901
|
version: 'v2020_12_25';
|
|
12947
12902
|
namespace: 'Mercury';
|
|
12948
12903
|
name: '';
|
|
12949
12904
|
fields: {
|
|
12950
12905
|
/** . */
|
|
12951
|
-
'
|
|
12952
|
-
type: '
|
|
12906
|
+
'title': {
|
|
12907
|
+
type: 'text';
|
|
12908
|
+
isRequired: true;
|
|
12909
|
+
options: undefined;
|
|
12910
|
+
};
|
|
12911
|
+
/** . */
|
|
12912
|
+
'yourJobIfYouChooseToAcceptItIs': {
|
|
12913
|
+
type: 'text';
|
|
12914
|
+
isRequired: true;
|
|
12915
|
+
options: undefined;
|
|
12916
|
+
};
|
|
12917
|
+
/** . */
|
|
12918
|
+
'weAreDoneWhen': {
|
|
12919
|
+
type: 'text';
|
|
12953
12920
|
isRequired: true;
|
|
12954
12921
|
options: undefined;
|
|
12955
12922
|
};
|
|
12923
|
+
/** . */
|
|
12924
|
+
'pleaseKeepInMindThat': {
|
|
12925
|
+
type: 'text';
|
|
12926
|
+
isArray: true;
|
|
12927
|
+
options: undefined;
|
|
12928
|
+
};
|
|
12929
|
+
/** . */
|
|
12930
|
+
'stateSchema': {
|
|
12931
|
+
type: 'raw';
|
|
12932
|
+
options: {
|
|
12933
|
+
valueType: `SpruceSchema.Schema`;
|
|
12934
|
+
};
|
|
12935
|
+
};
|
|
12936
|
+
/** . */
|
|
12937
|
+
'model': {
|
|
12938
|
+
type: 'id';
|
|
12939
|
+
options: undefined;
|
|
12940
|
+
};
|
|
12941
|
+
/** . */
|
|
12942
|
+
'promptTemplate': {
|
|
12943
|
+
type: 'text';
|
|
12944
|
+
options: undefined;
|
|
12945
|
+
};
|
|
12946
|
+
/** . */
|
|
12947
|
+
'callbacks': {
|
|
12948
|
+
type: 'schema';
|
|
12949
|
+
isArray: true;
|
|
12950
|
+
minArrayLength: 0;
|
|
12951
|
+
options: {
|
|
12952
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ChatbotCallbacksSchema;
|
|
12953
|
+
};
|
|
12954
|
+
};
|
|
12956
12955
|
};
|
|
12957
12956
|
}
|
|
12958
|
-
interface
|
|
12957
|
+
interface ChatbotEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ChatbotSchema> {
|
|
12959
12958
|
}
|
|
12960
12959
|
}
|
|
12961
12960
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12962
|
-
interface
|
|
12963
|
-
|
|
12964
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12961
|
+
interface RegisterChatbotsResponsePayload {
|
|
12962
|
+
'bots': SpruceSchemas.Mercury.v2020_12_25.Chatbot[];
|
|
12965
12963
|
}
|
|
12966
|
-
interface
|
|
12967
|
-
id: '
|
|
12964
|
+
interface RegisterChatbotsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12965
|
+
id: 'registerChatbotsResponsePayload';
|
|
12968
12966
|
version: 'v2020_12_25';
|
|
12969
12967
|
namespace: 'Mercury';
|
|
12970
12968
|
name: '';
|
|
12971
12969
|
fields: {
|
|
12972
|
-
/**
|
|
12973
|
-
'
|
|
12974
|
-
label: 'Source';
|
|
12970
|
+
/** . */
|
|
12971
|
+
'bots': {
|
|
12975
12972
|
type: 'schema';
|
|
12973
|
+
isRequired: true;
|
|
12974
|
+
isArray: true;
|
|
12975
|
+
minArrayLength: 0;
|
|
12976
12976
|
options: {
|
|
12977
|
-
schema: SpruceSchemas.
|
|
12977
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ChatbotSchema;
|
|
12978
12978
|
};
|
|
12979
12979
|
};
|
|
12980
12980
|
};
|
|
12981
12981
|
}
|
|
12982
|
-
interface
|
|
12982
|
+
interface RegisterChatbotsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterChatbotsResponsePayloadSchema> {
|
|
12983
12983
|
}
|
|
12984
12984
|
}
|
|
12985
12985
|
}
|