@sprucelabs/mercury-core-events 15.4.9 → 15.4.11
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 +1408 -1408
- package/build/esm/.spruce/schemas/schemas.types.d.ts +1408 -1408
- package/package.json +8 -8
|
@@ -5,47 +5,14 @@ import '@sprucelabs/spruce-event-utils';
|
|
|
5
5
|
import '@sprucelabs/mercury-types';
|
|
6
6
|
declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schemas.types' {
|
|
7
7
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8
|
-
interface
|
|
9
|
-
/** Source. */
|
|
10
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTarget;
|
|
12
|
-
}
|
|
13
|
-
interface DidInstallEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
14
|
-
id: 'didInstallEmitTargetAndPayload';
|
|
15
|
-
version: 'v2020_12_25';
|
|
16
|
-
namespace: 'Mercury';
|
|
17
|
-
name: '';
|
|
18
|
-
fields: {
|
|
19
|
-
/** Source. */
|
|
20
|
-
'source': {
|
|
21
|
-
label: 'Source';
|
|
22
|
-
type: 'schema';
|
|
23
|
-
options: {
|
|
24
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
/** . */
|
|
28
|
-
'target': {
|
|
29
|
-
type: 'schema';
|
|
30
|
-
isRequired: true;
|
|
31
|
-
options: {
|
|
32
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
interface DidInstallEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetAndPayloadSchema> {
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
41
|
-
interface AddRoleEmitTargetAndPayload {
|
|
8
|
+
interface ListPeopleEmitTargetAndPayload {
|
|
42
9
|
/** Source. */
|
|
43
10
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
44
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.
|
|
45
|
-
'payload'
|
|
11
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitTarget | undefined | null;
|
|
12
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitPayload | undefined | null;
|
|
46
13
|
}
|
|
47
|
-
interface
|
|
48
|
-
id: '
|
|
14
|
+
interface ListPeopleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
15
|
+
id: 'listPeopleEmitTargetAndPayload';
|
|
49
16
|
version: 'v2020_12_25';
|
|
50
17
|
namespace: 'Mercury';
|
|
51
18
|
name: '';
|
|
@@ -62,70 +29,28 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
62
29
|
'target': {
|
|
63
30
|
type: 'schema';
|
|
64
31
|
options: {
|
|
65
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
32
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitTargetSchema;
|
|
66
33
|
};
|
|
67
34
|
};
|
|
68
35
|
/** . */
|
|
69
36
|
'payload': {
|
|
70
37
|
type: 'schema';
|
|
71
|
-
isRequired: true;
|
|
72
38
|
options: {
|
|
73
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
39
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitPayloadSchema;
|
|
74
40
|
};
|
|
75
41
|
};
|
|
76
42
|
};
|
|
77
43
|
}
|
|
78
|
-
interface
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
82
|
-
interface DidInstallEmitTarget {
|
|
83
|
-
'organizationId': string;
|
|
84
|
-
'skillId': string;
|
|
85
|
-
}
|
|
86
|
-
interface DidInstallEmitTargetSchema extends SpruceSchema.Schema {
|
|
87
|
-
id: 'didInstallEmitTarget';
|
|
88
|
-
version: 'v2020_12_25';
|
|
89
|
-
namespace: 'Mercury';
|
|
90
|
-
name: '';
|
|
91
|
-
fields: {
|
|
92
|
-
/** . */
|
|
93
|
-
'organizationId': {
|
|
94
|
-
type: 'id';
|
|
95
|
-
isRequired: true;
|
|
96
|
-
options: undefined;
|
|
97
|
-
};
|
|
98
|
-
/** . */
|
|
99
|
-
'skillId': {
|
|
100
|
-
type: 'id';
|
|
101
|
-
isRequired: true;
|
|
102
|
-
options: undefined;
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
interface DidInstallEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema> {
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
110
|
-
interface DidInstallResponsePayload {
|
|
111
|
-
}
|
|
112
|
-
interface DidInstallResponsePayloadSchema extends SpruceSchema.Schema {
|
|
113
|
-
id: 'didInstallResponsePayload';
|
|
114
|
-
version: 'v2020_12_25';
|
|
115
|
-
namespace: 'Mercury';
|
|
116
|
-
name: '';
|
|
117
|
-
fields: {};
|
|
118
|
-
}
|
|
119
|
-
interface DidInstallResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallResponsePayloadSchema> {
|
|
44
|
+
interface ListPeopleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitTargetAndPayloadSchema> {
|
|
120
45
|
}
|
|
121
46
|
}
|
|
122
47
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
123
|
-
interface
|
|
124
|
-
'organizationId'
|
|
48
|
+
interface AddRoleEmitTarget {
|
|
49
|
+
'organizationId'?: string | undefined | null;
|
|
125
50
|
'locationId'?: string | undefined | null;
|
|
126
51
|
}
|
|
127
|
-
interface
|
|
128
|
-
id: '
|
|
52
|
+
interface AddRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
53
|
+
id: 'addRoleEmitTarget';
|
|
129
54
|
version: 'v2020_12_25';
|
|
130
55
|
namespace: 'Mercury';
|
|
131
56
|
name: '';
|
|
@@ -133,7 +58,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
133
58
|
/** . */
|
|
134
59
|
'organizationId': {
|
|
135
60
|
type: 'id';
|
|
136
|
-
isRequired: true;
|
|
137
61
|
options: undefined;
|
|
138
62
|
};
|
|
139
63
|
/** . */
|
|
@@ -143,17 +67,16 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
143
67
|
};
|
|
144
68
|
};
|
|
145
69
|
}
|
|
146
|
-
interface
|
|
70
|
+
interface AddRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema> {
|
|
147
71
|
}
|
|
148
72
|
}
|
|
149
73
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
150
|
-
interface
|
|
74
|
+
interface AddRoleEmitPayload {
|
|
151
75
|
'personId': string;
|
|
152
76
|
'roleId': string;
|
|
153
|
-
'isFirstRole': boolean;
|
|
154
77
|
}
|
|
155
|
-
interface
|
|
156
|
-
id: '
|
|
78
|
+
interface AddRoleEmitPayloadSchema extends SpruceSchema.Schema {
|
|
79
|
+
id: 'addRoleEmitPayload';
|
|
157
80
|
version: 'v2020_12_25';
|
|
158
81
|
namespace: 'Mercury';
|
|
159
82
|
name: '';
|
|
@@ -170,26 +93,20 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
170
93
|
isRequired: true;
|
|
171
94
|
options: undefined;
|
|
172
95
|
};
|
|
173
|
-
/** . */
|
|
174
|
-
'isFirstRole': {
|
|
175
|
-
type: 'boolean';
|
|
176
|
-
isRequired: true;
|
|
177
|
-
options: undefined;
|
|
178
|
-
};
|
|
179
96
|
};
|
|
180
97
|
}
|
|
181
|
-
interface
|
|
98
|
+
interface AddRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema> {
|
|
182
99
|
}
|
|
183
100
|
}
|
|
184
101
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
185
|
-
interface
|
|
102
|
+
interface AddRoleEmitTargetAndPayload {
|
|
186
103
|
/** Source. */
|
|
187
104
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
188
|
-
'target'
|
|
189
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.
|
|
105
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTarget | undefined | null;
|
|
106
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayload;
|
|
190
107
|
}
|
|
191
|
-
interface
|
|
192
|
-
id: '
|
|
108
|
+
interface AddRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
109
|
+
id: 'addRoleEmitTargetAndPayload';
|
|
193
110
|
version: 'v2020_12_25';
|
|
194
111
|
namespace: 'Mercury';
|
|
195
112
|
name: '';
|
|
@@ -205,9 +122,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
205
122
|
/** . */
|
|
206
123
|
'target': {
|
|
207
124
|
type: 'schema';
|
|
208
|
-
isRequired: true;
|
|
209
125
|
options: {
|
|
210
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
126
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema;
|
|
211
127
|
};
|
|
212
128
|
};
|
|
213
129
|
/** . */
|
|
@@ -215,235 +131,238 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
215
131
|
type: 'schema';
|
|
216
132
|
isRequired: true;
|
|
217
133
|
options: {
|
|
218
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
134
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema;
|
|
219
135
|
};
|
|
220
136
|
};
|
|
221
137
|
};
|
|
222
138
|
}
|
|
223
|
-
interface
|
|
139
|
+
interface AddRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetAndPayloadSchema> {
|
|
224
140
|
}
|
|
225
141
|
}
|
|
226
142
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
227
|
-
interface
|
|
228
|
-
'nextINeedYouTo'?: string[] | undefined | null;
|
|
229
|
-
'youShouldKnowThat'?: string[] | undefined | null;
|
|
230
|
-
'links'?: SpruceSchemas.Spruce.v2020_07_22.Link[] | undefined | null;
|
|
143
|
+
interface AddRoleResponsePayload {
|
|
231
144
|
}
|
|
232
|
-
interface
|
|
233
|
-
id: '
|
|
145
|
+
interface AddRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
146
|
+
id: 'addRoleResponsePayload';
|
|
147
|
+
version: 'v2020_12_25';
|
|
148
|
+
namespace: 'Mercury';
|
|
149
|
+
name: '';
|
|
150
|
+
fields: {};
|
|
151
|
+
}
|
|
152
|
+
interface AddRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleResponsePayloadSchema> {
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
156
|
+
interface AuthenticateEmitPayload {
|
|
157
|
+
'token'?: string | undefined | null;
|
|
158
|
+
'skillId'?: string | undefined | null;
|
|
159
|
+
'apiKey'?: string | undefined | null;
|
|
160
|
+
}
|
|
161
|
+
interface AuthenticateEmitPayloadSchema extends SpruceSchema.Schema {
|
|
162
|
+
id: 'authenticateEmitPayload';
|
|
234
163
|
version: 'v2020_12_25';
|
|
235
164
|
namespace: 'Mercury';
|
|
236
165
|
name: '';
|
|
237
166
|
fields: {
|
|
238
167
|
/** . */
|
|
239
|
-
'
|
|
168
|
+
'token': {
|
|
240
169
|
type: 'text';
|
|
241
|
-
isArray: true;
|
|
242
170
|
options: undefined;
|
|
243
171
|
};
|
|
244
172
|
/** . */
|
|
245
|
-
'
|
|
173
|
+
'skillId': {
|
|
246
174
|
type: 'text';
|
|
247
|
-
isArray: true;
|
|
248
175
|
options: undefined;
|
|
249
176
|
};
|
|
250
177
|
/** . */
|
|
251
|
-
'
|
|
252
|
-
type: '
|
|
253
|
-
|
|
254
|
-
minArrayLength: 0;
|
|
255
|
-
options: {
|
|
256
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.LinkSchema;
|
|
257
|
-
};
|
|
178
|
+
'apiKey': {
|
|
179
|
+
type: 'text';
|
|
180
|
+
options: undefined;
|
|
258
181
|
};
|
|
259
182
|
};
|
|
260
183
|
}
|
|
261
|
-
interface
|
|
184
|
+
interface AuthenticateEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema> {
|
|
262
185
|
}
|
|
263
186
|
}
|
|
264
187
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
265
|
-
interface
|
|
266
|
-
|
|
188
|
+
interface AuthenticateEmitTargetAndPayload {
|
|
189
|
+
/** Source. */
|
|
190
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
191
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayload | undefined | null;
|
|
267
192
|
}
|
|
268
|
-
interface
|
|
269
|
-
id: '
|
|
193
|
+
interface AuthenticateEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
194
|
+
id: 'authenticateEmitTargetAndPayload';
|
|
270
195
|
version: 'v2020_12_25';
|
|
271
196
|
namespace: 'Mercury';
|
|
272
197
|
name: '';
|
|
273
198
|
fields: {
|
|
199
|
+
/** Source. */
|
|
200
|
+
'source': {
|
|
201
|
+
label: 'Source';
|
|
202
|
+
type: 'schema';
|
|
203
|
+
options: {
|
|
204
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
274
207
|
/** . */
|
|
275
|
-
'
|
|
208
|
+
'payload': {
|
|
276
209
|
type: 'schema';
|
|
277
210
|
options: {
|
|
278
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
211
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema;
|
|
279
212
|
};
|
|
280
213
|
};
|
|
281
214
|
};
|
|
282
215
|
}
|
|
283
|
-
interface
|
|
216
|
+
interface AuthenticateEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitTargetAndPayloadSchema> {
|
|
284
217
|
}
|
|
285
218
|
}
|
|
286
219
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
287
|
-
interface
|
|
288
|
-
'
|
|
289
|
-
'
|
|
220
|
+
interface ConfirmPinRespondPayload {
|
|
221
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
222
|
+
'token': string;
|
|
290
223
|
}
|
|
291
|
-
interface
|
|
292
|
-
id: '
|
|
224
|
+
interface ConfirmPinRespondPayloadSchema extends SpruceSchema.Schema {
|
|
225
|
+
id: 'confirmPinRespondPayload';
|
|
293
226
|
version: 'v2020_12_25';
|
|
294
227
|
namespace: 'Mercury';
|
|
295
228
|
name: '';
|
|
296
229
|
fields: {
|
|
297
230
|
/** . */
|
|
298
|
-
'
|
|
299
|
-
type: '
|
|
231
|
+
'person': {
|
|
232
|
+
type: 'schema';
|
|
300
233
|
isRequired: true;
|
|
301
|
-
options:
|
|
234
|
+
options: {
|
|
235
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
236
|
+
};
|
|
302
237
|
};
|
|
303
238
|
/** . */
|
|
304
|
-
'
|
|
305
|
-
type: '
|
|
239
|
+
'token': {
|
|
240
|
+
type: 'text';
|
|
241
|
+
isRequired: true;
|
|
306
242
|
options: undefined;
|
|
307
243
|
};
|
|
308
244
|
};
|
|
309
245
|
}
|
|
310
|
-
interface
|
|
246
|
+
interface ConfirmPinRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinRespondPayloadSchema> {
|
|
311
247
|
}
|
|
312
248
|
}
|
|
313
249
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
314
|
-
interface
|
|
315
|
-
'
|
|
316
|
-
'
|
|
317
|
-
'isLastRole': boolean;
|
|
250
|
+
interface AuthSchema {
|
|
251
|
+
'person'?: SpruceSchemas.Spruce.v2020_07_22.Person | undefined | null;
|
|
252
|
+
'skill'?: SpruceSchemas.Spruce.v2020_07_22.Skill | undefined | null;
|
|
318
253
|
}
|
|
319
|
-
interface
|
|
320
|
-
id: '
|
|
254
|
+
interface AuthSchemaSchema extends SpruceSchema.Schema {
|
|
255
|
+
id: 'authSchema';
|
|
321
256
|
version: 'v2020_12_25';
|
|
322
257
|
namespace: 'Mercury';
|
|
323
258
|
name: '';
|
|
324
259
|
fields: {
|
|
325
260
|
/** . */
|
|
326
|
-
'
|
|
327
|
-
type: '
|
|
328
|
-
|
|
329
|
-
|
|
261
|
+
'person': {
|
|
262
|
+
type: 'schema';
|
|
263
|
+
options: {
|
|
264
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
265
|
+
};
|
|
330
266
|
};
|
|
331
267
|
/** . */
|
|
332
|
-
'
|
|
333
|
-
type: '
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
/** . */
|
|
338
|
-
'isLastRole': {
|
|
339
|
-
type: 'boolean';
|
|
340
|
-
isRequired: true;
|
|
341
|
-
options: undefined;
|
|
268
|
+
'skill': {
|
|
269
|
+
type: 'schema';
|
|
270
|
+
options: {
|
|
271
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.SkillSchema;
|
|
272
|
+
};
|
|
342
273
|
};
|
|
343
274
|
};
|
|
344
275
|
}
|
|
345
|
-
interface
|
|
276
|
+
interface AuthSchemaEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema> {
|
|
346
277
|
}
|
|
347
278
|
}
|
|
348
279
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
349
|
-
interface
|
|
350
|
-
|
|
351
|
-
'
|
|
352
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTarget;
|
|
353
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayload;
|
|
280
|
+
interface AuthenticateResponsePayload {
|
|
281
|
+
'type': ("authenticated" | "anonymous");
|
|
282
|
+
'auth': SpruceSchemas.Mercury.v2020_12_25.AuthSchema;
|
|
354
283
|
}
|
|
355
|
-
interface
|
|
356
|
-
id: '
|
|
284
|
+
interface AuthenticateResponsePayloadSchema extends SpruceSchema.Schema {
|
|
285
|
+
id: 'authenticateResponsePayload';
|
|
357
286
|
version: 'v2020_12_25';
|
|
358
287
|
namespace: 'Mercury';
|
|
359
288
|
name: '';
|
|
360
289
|
fields: {
|
|
361
|
-
/** Source. */
|
|
362
|
-
'source': {
|
|
363
|
-
label: 'Source';
|
|
364
|
-
type: 'schema';
|
|
365
|
-
options: {
|
|
366
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
367
|
-
};
|
|
368
|
-
};
|
|
369
290
|
/** . */
|
|
370
|
-
'
|
|
371
|
-
type: '
|
|
291
|
+
'type': {
|
|
292
|
+
type: 'select';
|
|
372
293
|
isRequired: true;
|
|
373
294
|
options: {
|
|
374
|
-
|
|
295
|
+
choices: [{
|
|
296
|
+
"value": "authenticated";
|
|
297
|
+
"label": "Authenticated";
|
|
298
|
+
}, {
|
|
299
|
+
"value": "anonymous";
|
|
300
|
+
"label": "Anonymous";
|
|
301
|
+
}];
|
|
375
302
|
};
|
|
376
303
|
};
|
|
377
304
|
/** . */
|
|
378
|
-
'
|
|
305
|
+
'auth': {
|
|
379
306
|
type: 'schema';
|
|
380
307
|
isRequired: true;
|
|
381
308
|
options: {
|
|
382
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
309
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema;
|
|
383
310
|
};
|
|
384
311
|
};
|
|
385
312
|
};
|
|
386
313
|
}
|
|
387
|
-
interface
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
391
|
-
interface DidLeaveOrganizationResponsePayload {
|
|
392
|
-
}
|
|
393
|
-
interface DidLeaveOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
394
|
-
id: 'didLeaveOrganizationResponsePayload';
|
|
395
|
-
version: 'v2020_12_25';
|
|
396
|
-
namespace: 'Mercury';
|
|
397
|
-
name: '';
|
|
398
|
-
fields: {};
|
|
399
|
-
}
|
|
400
|
-
interface DidLeaveOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationResponsePayloadSchema> {
|
|
314
|
+
interface AuthenticateResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateResponsePayloadSchema> {
|
|
401
315
|
}
|
|
402
316
|
}
|
|
403
317
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
404
|
-
interface
|
|
405
|
-
'
|
|
406
|
-
'
|
|
407
|
-
'topic'?: string | undefined | null;
|
|
318
|
+
interface CanListenEmitPayload {
|
|
319
|
+
'authorizerStatuses'?: ("clockedIn" | "clockedOut" | "onPrem" | "offPrem") | undefined | null;
|
|
320
|
+
'fullyQualifiedEventName': string;
|
|
408
321
|
}
|
|
409
|
-
interface
|
|
410
|
-
id: '
|
|
322
|
+
interface CanListenEmitPayloadSchema extends SpruceSchema.Schema {
|
|
323
|
+
id: 'canListenEmitPayload';
|
|
411
324
|
version: 'v2020_12_25';
|
|
412
325
|
namespace: 'Mercury';
|
|
413
326
|
name: '';
|
|
414
327
|
fields: {
|
|
415
328
|
/** . */
|
|
416
|
-
'
|
|
417
|
-
type: '
|
|
418
|
-
isRequired: true;
|
|
329
|
+
'authorizerStatuses': {
|
|
330
|
+
type: 'select';
|
|
419
331
|
options: {
|
|
420
|
-
|
|
332
|
+
choices: [{
|
|
333
|
+
"label": "Clocked in";
|
|
334
|
+
"value": "clockedIn";
|
|
335
|
+
}, {
|
|
336
|
+
"label": "Clocked out";
|
|
337
|
+
"value": "clockedOut";
|
|
338
|
+
}, {
|
|
339
|
+
"label": "On premises";
|
|
340
|
+
"value": "onPrem";
|
|
341
|
+
}, {
|
|
342
|
+
"label": "Off premises";
|
|
343
|
+
"value": "offPrem";
|
|
344
|
+
}];
|
|
421
345
|
};
|
|
422
346
|
};
|
|
423
347
|
/** . */
|
|
424
|
-
'
|
|
425
|
-
type: 'text';
|
|
426
|
-
options: undefined;
|
|
427
|
-
};
|
|
428
|
-
/** . */
|
|
429
|
-
'topic': {
|
|
348
|
+
'fullyQualifiedEventName': {
|
|
430
349
|
type: 'text';
|
|
350
|
+
isRequired: true;
|
|
431
351
|
options: undefined;
|
|
432
352
|
};
|
|
433
353
|
};
|
|
434
354
|
}
|
|
435
|
-
interface
|
|
355
|
+
interface CanListenEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema> {
|
|
436
356
|
}
|
|
437
357
|
}
|
|
438
358
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
439
|
-
interface
|
|
359
|
+
interface CanListenEmitTargetAndPayload {
|
|
440
360
|
/** Source. */
|
|
441
361
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
442
|
-
'
|
|
443
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayload;
|
|
362
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayload;
|
|
444
363
|
}
|
|
445
|
-
interface
|
|
446
|
-
id: '
|
|
364
|
+
interface CanListenEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
365
|
+
id: 'canListenEmitTargetAndPayload';
|
|
447
366
|
version: 'v2020_12_25';
|
|
448
367
|
namespace: 'Mercury';
|
|
449
368
|
name: '';
|
|
@@ -457,132 +376,74 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
457
376
|
};
|
|
458
377
|
};
|
|
459
378
|
/** . */
|
|
460
|
-
'target': {
|
|
461
|
-
type: 'schema';
|
|
462
|
-
options: {
|
|
463
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.MessageTargetSchema;
|
|
464
|
-
};
|
|
465
|
-
};
|
|
466
|
-
/** . */
|
|
467
379
|
'payload': {
|
|
468
380
|
type: 'schema';
|
|
469
381
|
isRequired: true;
|
|
470
382
|
options: {
|
|
471
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
383
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema;
|
|
472
384
|
};
|
|
473
385
|
};
|
|
474
386
|
};
|
|
475
387
|
}
|
|
476
|
-
interface
|
|
388
|
+
interface CanListenEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitTargetAndPayloadSchema> {
|
|
477
389
|
}
|
|
478
390
|
}
|
|
479
391
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
480
|
-
interface
|
|
481
|
-
'
|
|
482
|
-
'confidence': number;
|
|
483
|
-
'label': string;
|
|
392
|
+
interface CanListenResponsePayload {
|
|
393
|
+
'can'?: boolean | undefined | null;
|
|
484
394
|
}
|
|
485
|
-
interface
|
|
486
|
-
id: '
|
|
395
|
+
interface CanListenResponsePayloadSchema extends SpruceSchema.Schema {
|
|
396
|
+
id: 'canListenResponsePayload';
|
|
487
397
|
version: 'v2020_12_25';
|
|
488
398
|
namespace: 'Mercury';
|
|
489
399
|
name: '';
|
|
490
400
|
fields: {
|
|
491
401
|
/** . */
|
|
492
|
-
'
|
|
493
|
-
type: '
|
|
494
|
-
isRequired: true;
|
|
495
|
-
options: undefined;
|
|
496
|
-
};
|
|
497
|
-
/** . */
|
|
498
|
-
'confidence': {
|
|
499
|
-
type: 'number';
|
|
500
|
-
isRequired: true;
|
|
501
|
-
options: undefined;
|
|
502
|
-
};
|
|
503
|
-
/** . */
|
|
504
|
-
'label': {
|
|
505
|
-
type: 'text';
|
|
506
|
-
isRequired: true;
|
|
402
|
+
'can': {
|
|
403
|
+
type: 'boolean';
|
|
507
404
|
options: undefined;
|
|
508
405
|
};
|
|
509
406
|
};
|
|
510
407
|
}
|
|
511
|
-
interface
|
|
408
|
+
interface CanListenResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenResponsePayloadSchema> {
|
|
512
409
|
}
|
|
513
410
|
}
|
|
514
411
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
515
|
-
interface
|
|
516
|
-
'
|
|
517
|
-
'
|
|
518
|
-
'topicChangers'?: string[] | undefined | null;
|
|
519
|
-
'utterance'?: string | undefined | null;
|
|
520
|
-
'suggestedTopics'?: SpruceSchemas.Mercury.v2020_12_25.ConversationTopic[] | undefined | null;
|
|
412
|
+
interface ConfirmPinEmitPayload {
|
|
413
|
+
'challenge': string;
|
|
414
|
+
'pin': string;
|
|
521
415
|
}
|
|
522
|
-
interface
|
|
523
|
-
id: '
|
|
416
|
+
interface ConfirmPinEmitPayloadSchema extends SpruceSchema.Schema {
|
|
417
|
+
id: 'confirmPinEmitPayload';
|
|
524
418
|
version: 'v2020_12_25';
|
|
525
419
|
namespace: 'Mercury';
|
|
526
420
|
name: '';
|
|
527
421
|
fields: {
|
|
528
422
|
/** . */
|
|
529
|
-
'
|
|
530
|
-
type: 'select';
|
|
531
|
-
options: {
|
|
532
|
-
choices: [{
|
|
533
|
-
"label": "Greeting";
|
|
534
|
-
"value": "greeting";
|
|
535
|
-
}, {
|
|
536
|
-
"label": "Discovery";
|
|
537
|
-
"value": "discovery";
|
|
538
|
-
}, {
|
|
539
|
-
"label": "Topic";
|
|
540
|
-
"value": "topic";
|
|
541
|
-
}, {
|
|
542
|
-
"label": "Closing";
|
|
543
|
-
"value": "closing";
|
|
544
|
-
}];
|
|
545
|
-
};
|
|
546
|
-
};
|
|
547
|
-
/** . */
|
|
548
|
-
'repairs': {
|
|
549
|
-
type: 'text';
|
|
550
|
-
isArray: true;
|
|
551
|
-
options: undefined;
|
|
552
|
-
};
|
|
553
|
-
/** . */
|
|
554
|
-
'topicChangers': {
|
|
423
|
+
'challenge': {
|
|
555
424
|
type: 'text';
|
|
556
|
-
|
|
425
|
+
isRequired: true;
|
|
557
426
|
options: undefined;
|
|
558
427
|
};
|
|
559
428
|
/** . */
|
|
560
|
-
'
|
|
429
|
+
'pin': {
|
|
561
430
|
type: 'text';
|
|
431
|
+
isRequired: true;
|
|
562
432
|
options: undefined;
|
|
563
433
|
};
|
|
564
|
-
/** . */
|
|
565
|
-
'suggestedTopics': {
|
|
566
|
-
type: 'schema';
|
|
567
|
-
isArray: true;
|
|
568
|
-
options: {
|
|
569
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema;
|
|
570
|
-
};
|
|
571
|
-
};
|
|
572
434
|
};
|
|
573
435
|
}
|
|
574
|
-
interface
|
|
436
|
+
interface ConfirmPinEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema> {
|
|
575
437
|
}
|
|
576
438
|
}
|
|
577
439
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
578
|
-
interface
|
|
440
|
+
interface ConfirmPinEmitTargetAndPayload {
|
|
579
441
|
/** Source. */
|
|
580
442
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
581
|
-
'
|
|
582
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayload;
|
|
443
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayload;
|
|
583
444
|
}
|
|
584
|
-
interface
|
|
585
|
-
id: '
|
|
445
|
+
interface ConfirmPinEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
446
|
+
id: 'confirmPinEmitTargetAndPayload';
|
|
586
447
|
version: 'v2020_12_25';
|
|
587
448
|
namespace: 'Mercury';
|
|
588
449
|
name: '';
|
|
@@ -596,649 +457,107 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
596
457
|
};
|
|
597
458
|
};
|
|
598
459
|
/** . */
|
|
599
|
-
'target': {
|
|
600
|
-
type: 'schema';
|
|
601
|
-
options: {
|
|
602
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
603
|
-
};
|
|
604
|
-
};
|
|
605
|
-
/** . */
|
|
606
460
|
'payload': {
|
|
607
461
|
type: 'schema';
|
|
608
462
|
isRequired: true;
|
|
609
463
|
options: {
|
|
610
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
464
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema;
|
|
611
465
|
};
|
|
612
466
|
};
|
|
613
467
|
};
|
|
614
468
|
}
|
|
615
|
-
interface
|
|
469
|
+
interface ConfirmPinEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitTargetAndPayloadSchema> {
|
|
616
470
|
}
|
|
617
471
|
}
|
|
618
472
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
619
|
-
interface
|
|
620
|
-
|
|
621
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
622
|
-
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
623
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayload;
|
|
473
|
+
interface CreateLocationEmitTarget {
|
|
474
|
+
'organizationId': string;
|
|
624
475
|
}
|
|
625
|
-
interface
|
|
626
|
-
id: '
|
|
476
|
+
interface CreateLocationEmitTargetSchema extends SpruceSchema.Schema {
|
|
477
|
+
id: 'createLocationEmitTarget';
|
|
627
478
|
version: 'v2020_12_25';
|
|
628
479
|
namespace: 'Mercury';
|
|
629
480
|
name: '';
|
|
630
481
|
fields: {
|
|
631
|
-
/** Source. */
|
|
632
|
-
'source': {
|
|
633
|
-
label: 'Source';
|
|
634
|
-
type: 'schema';
|
|
635
|
-
options: {
|
|
636
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
637
|
-
};
|
|
638
|
-
};
|
|
639
|
-
/** . */
|
|
640
|
-
'target': {
|
|
641
|
-
type: 'schema';
|
|
642
|
-
options: {
|
|
643
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
644
|
-
};
|
|
645
|
-
};
|
|
646
482
|
/** . */
|
|
647
|
-
'
|
|
648
|
-
type: '
|
|
483
|
+
'organizationId': {
|
|
484
|
+
type: 'id';
|
|
649
485
|
isRequired: true;
|
|
650
|
-
options:
|
|
651
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema;
|
|
652
|
-
};
|
|
486
|
+
options: undefined;
|
|
653
487
|
};
|
|
654
488
|
};
|
|
655
489
|
}
|
|
656
|
-
interface
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
660
|
-
interface DidSignupEmitPayload {
|
|
661
|
-
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
662
|
-
}
|
|
663
|
-
interface DidSignupEmitPayloadSchema extends SpruceSchema.Schema {
|
|
664
|
-
id: 'didSignupEmitPayload';
|
|
665
|
-
version: 'v2020_12_25';
|
|
666
|
-
namespace: 'Mercury';
|
|
667
|
-
name: '';
|
|
668
|
-
fields: {
|
|
669
|
-
/** . */
|
|
670
|
-
'person': {
|
|
671
|
-
type: 'schema';
|
|
672
|
-
isRequired: true;
|
|
673
|
-
options: {
|
|
674
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
675
|
-
};
|
|
676
|
-
};
|
|
677
|
-
};
|
|
678
|
-
}
|
|
679
|
-
interface DidSignupEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema> {
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
683
|
-
interface DidUpdateFeedEmitPayload {
|
|
684
|
-
'item': SpruceSchemas.Spruce.v2020_07_22.FeedItem;
|
|
685
|
-
}
|
|
686
|
-
interface DidUpdateFeedEmitPayloadSchema extends SpruceSchema.Schema {
|
|
687
|
-
id: 'didUpdateFeedEmitPayload';
|
|
688
|
-
version: 'v2020_12_25';
|
|
689
|
-
namespace: 'Mercury';
|
|
690
|
-
name: '';
|
|
691
|
-
fields: {
|
|
692
|
-
/** . */
|
|
693
|
-
'item': {
|
|
694
|
-
type: 'schema';
|
|
695
|
-
isRequired: true;
|
|
696
|
-
options: {
|
|
697
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.FeedItemSchema;
|
|
698
|
-
};
|
|
699
|
-
};
|
|
700
|
-
};
|
|
701
|
-
}
|
|
702
|
-
interface DidUpdateFeedEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema> {
|
|
703
|
-
}
|
|
704
|
-
}
|
|
705
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
706
|
-
interface DidUpdateFeedEmitTargetAndPayload {
|
|
707
|
-
/** Source. */
|
|
708
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
709
|
-
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
710
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayload;
|
|
711
|
-
}
|
|
712
|
-
interface DidUpdateFeedEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
713
|
-
id: 'didUpdateFeedEmitTargetAndPayload';
|
|
714
|
-
version: 'v2020_12_25';
|
|
715
|
-
namespace: 'Mercury';
|
|
716
|
-
name: '';
|
|
717
|
-
fields: {
|
|
718
|
-
/** Source. */
|
|
719
|
-
'source': {
|
|
720
|
-
label: 'Source';
|
|
721
|
-
type: 'schema';
|
|
722
|
-
options: {
|
|
723
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
724
|
-
};
|
|
725
|
-
};
|
|
726
|
-
/** . */
|
|
727
|
-
'target': {
|
|
728
|
-
type: 'schema';
|
|
729
|
-
options: {
|
|
730
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
731
|
-
};
|
|
732
|
-
};
|
|
733
|
-
/** . */
|
|
734
|
-
'payload': {
|
|
735
|
-
type: 'schema';
|
|
736
|
-
isRequired: true;
|
|
737
|
-
options: {
|
|
738
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema;
|
|
739
|
-
};
|
|
740
|
-
};
|
|
741
|
-
};
|
|
742
|
-
}
|
|
743
|
-
interface DidUpdateFeedEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetAndPayloadSchema> {
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
747
|
-
interface DidUpdatePersonEmitPayload {
|
|
748
|
-
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
749
|
-
}
|
|
750
|
-
interface DidUpdatePersonEmitPayloadSchema extends SpruceSchema.Schema {
|
|
751
|
-
id: 'didUpdatePersonEmitPayload';
|
|
752
|
-
version: 'v2020_12_25';
|
|
753
|
-
namespace: 'Mercury';
|
|
754
|
-
name: '';
|
|
755
|
-
fields: {
|
|
756
|
-
/** . */
|
|
757
|
-
'person': {
|
|
758
|
-
type: 'schema';
|
|
759
|
-
isRequired: true;
|
|
760
|
-
options: {
|
|
761
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
762
|
-
};
|
|
763
|
-
};
|
|
764
|
-
};
|
|
765
|
-
}
|
|
766
|
-
interface DidUpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema> {
|
|
767
|
-
}
|
|
768
|
-
}
|
|
769
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
770
|
-
interface AddRoleEmitTarget {
|
|
771
|
-
'organizationId'?: string | undefined | null;
|
|
772
|
-
'locationId'?: string | undefined | null;
|
|
773
|
-
}
|
|
774
|
-
interface AddRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
775
|
-
id: 'addRoleEmitTarget';
|
|
776
|
-
version: 'v2020_12_25';
|
|
777
|
-
namespace: 'Mercury';
|
|
778
|
-
name: '';
|
|
779
|
-
fields: {
|
|
780
|
-
/** . */
|
|
781
|
-
'organizationId': {
|
|
782
|
-
type: 'id';
|
|
783
|
-
options: undefined;
|
|
784
|
-
};
|
|
785
|
-
/** . */
|
|
786
|
-
'locationId': {
|
|
787
|
-
type: 'id';
|
|
788
|
-
options: undefined;
|
|
789
|
-
};
|
|
790
|
-
};
|
|
791
|
-
}
|
|
792
|
-
interface AddRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema> {
|
|
490
|
+
interface CreateLocationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CreateLocationEmitTargetSchema> {
|
|
793
491
|
}
|
|
794
492
|
}
|
|
795
493
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
796
|
-
interface
|
|
797
|
-
|
|
798
|
-
'
|
|
494
|
+
interface CreateLocationEmitPayload {
|
|
495
|
+
/** Name. */
|
|
496
|
+
'name': string;
|
|
497
|
+
/** Store number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
498
|
+
'num'?: string | undefined | null;
|
|
499
|
+
/** Public. Is this location viewable by guests? */
|
|
500
|
+
'isPublic'?: boolean | undefined | null;
|
|
501
|
+
/** Main Phone. */
|
|
502
|
+
'phone'?: string | undefined | null;
|
|
503
|
+
/** Timezone. */
|
|
504
|
+
'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;
|
|
505
|
+
/** Address. */
|
|
506
|
+
'address': SpruceSchema.AddressFieldValue;
|
|
507
|
+
'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
508
|
+
'slug'?: string | undefined | null;
|
|
799
509
|
}
|
|
800
|
-
interface
|
|
801
|
-
id: '
|
|
510
|
+
interface CreateLocationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
511
|
+
id: 'createLocationEmitPayload';
|
|
802
512
|
version: 'v2020_12_25';
|
|
803
513
|
namespace: 'Mercury';
|
|
804
514
|
name: '';
|
|
805
515
|
fields: {
|
|
806
|
-
/** . */
|
|
807
|
-
'
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
options: undefined;
|
|
811
|
-
};
|
|
812
|
-
/** . */
|
|
813
|
-
'roleId': {
|
|
814
|
-
type: 'id';
|
|
516
|
+
/** Name. */
|
|
517
|
+
'name': {
|
|
518
|
+
label: 'Name';
|
|
519
|
+
type: 'text';
|
|
815
520
|
isRequired: true;
|
|
816
521
|
options: undefined;
|
|
817
522
|
};
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
}
|
|
822
|
-
}
|
|
823
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
824
|
-
interface AddRoleResponsePayload {
|
|
825
|
-
}
|
|
826
|
-
interface AddRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
827
|
-
id: 'addRoleResponsePayload';
|
|
828
|
-
version: 'v2020_12_25';
|
|
829
|
-
namespace: 'Mercury';
|
|
830
|
-
name: '';
|
|
831
|
-
fields: {};
|
|
832
|
-
}
|
|
833
|
-
interface AddRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleResponsePayloadSchema> {
|
|
834
|
-
}
|
|
835
|
-
}
|
|
836
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
837
|
-
interface AuthenticateEmitPayload {
|
|
838
|
-
'token'?: string | undefined | null;
|
|
839
|
-
'skillId'?: string | undefined | null;
|
|
840
|
-
'apiKey'?: string | undefined | null;
|
|
841
|
-
}
|
|
842
|
-
interface AuthenticateEmitPayloadSchema extends SpruceSchema.Schema {
|
|
843
|
-
id: 'authenticateEmitPayload';
|
|
844
|
-
version: 'v2020_12_25';
|
|
845
|
-
namespace: 'Mercury';
|
|
846
|
-
name: '';
|
|
847
|
-
fields: {
|
|
848
|
-
/** . */
|
|
849
|
-
'token': {
|
|
523
|
+
/** Store number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
524
|
+
'num': {
|
|
525
|
+
label: 'Store number';
|
|
850
526
|
type: 'text';
|
|
527
|
+
hint: 'You can use other symbols, like # or dashes. #123 or 32-US-5';
|
|
851
528
|
options: undefined;
|
|
852
529
|
};
|
|
853
|
-
/** . */
|
|
854
|
-
'
|
|
855
|
-
|
|
530
|
+
/** Public. Is this location viewable by guests? */
|
|
531
|
+
'isPublic': {
|
|
532
|
+
label: 'Public';
|
|
533
|
+
type: 'boolean';
|
|
534
|
+
hint: 'Is this location viewable by guests?';
|
|
535
|
+
defaultValue: false;
|
|
856
536
|
options: undefined;
|
|
857
537
|
};
|
|
858
|
-
/** . */
|
|
859
|
-
'
|
|
860
|
-
|
|
538
|
+
/** Main Phone. */
|
|
539
|
+
'phone': {
|
|
540
|
+
label: 'Main Phone';
|
|
541
|
+
type: 'phone';
|
|
861
542
|
options: undefined;
|
|
862
543
|
};
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
}
|
|
868
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
869
|
-
interface AuthenticateEmitTargetAndPayload {
|
|
870
|
-
/** Source. */
|
|
871
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
872
|
-
'payload'?: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayload | undefined | null;
|
|
873
|
-
}
|
|
874
|
-
interface AuthenticateEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
875
|
-
id: 'authenticateEmitTargetAndPayload';
|
|
876
|
-
version: 'v2020_12_25';
|
|
877
|
-
namespace: 'Mercury';
|
|
878
|
-
name: '';
|
|
879
|
-
fields: {
|
|
880
|
-
/** Source. */
|
|
881
|
-
'source': {
|
|
882
|
-
label: 'Source';
|
|
883
|
-
type: 'schema';
|
|
884
|
-
options: {
|
|
885
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
886
|
-
};
|
|
887
|
-
};
|
|
888
|
-
/** . */
|
|
889
|
-
'payload': {
|
|
890
|
-
type: 'schema';
|
|
891
|
-
options: {
|
|
892
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema;
|
|
893
|
-
};
|
|
894
|
-
};
|
|
895
|
-
};
|
|
896
|
-
}
|
|
897
|
-
interface AuthenticateEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitTargetAndPayloadSchema> {
|
|
898
|
-
}
|
|
899
|
-
}
|
|
900
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
901
|
-
interface AuthSchema {
|
|
902
|
-
'person'?: SpruceSchemas.Spruce.v2020_07_22.Person | undefined | null;
|
|
903
|
-
'skill'?: SpruceSchemas.Spruce.v2020_07_22.Skill | undefined | null;
|
|
904
|
-
}
|
|
905
|
-
interface AuthSchemaSchema extends SpruceSchema.Schema {
|
|
906
|
-
id: 'authSchema';
|
|
907
|
-
version: 'v2020_12_25';
|
|
908
|
-
namespace: 'Mercury';
|
|
909
|
-
name: '';
|
|
910
|
-
fields: {
|
|
911
|
-
/** . */
|
|
912
|
-
'person': {
|
|
913
|
-
type: 'schema';
|
|
914
|
-
options: {
|
|
915
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
916
|
-
};
|
|
917
|
-
};
|
|
918
|
-
/** . */
|
|
919
|
-
'skill': {
|
|
920
|
-
type: 'schema';
|
|
921
|
-
options: {
|
|
922
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.SkillSchema;
|
|
923
|
-
};
|
|
924
|
-
};
|
|
925
|
-
};
|
|
926
|
-
}
|
|
927
|
-
interface AuthSchemaEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema> {
|
|
928
|
-
}
|
|
929
|
-
}
|
|
930
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
931
|
-
interface AuthenticateResponsePayload {
|
|
932
|
-
'type': ("authenticated" | "anonymous");
|
|
933
|
-
'auth': SpruceSchemas.Mercury.v2020_12_25.AuthSchema;
|
|
934
|
-
}
|
|
935
|
-
interface AuthenticateResponsePayloadSchema extends SpruceSchema.Schema {
|
|
936
|
-
id: 'authenticateResponsePayload';
|
|
937
|
-
version: 'v2020_12_25';
|
|
938
|
-
namespace: 'Mercury';
|
|
939
|
-
name: '';
|
|
940
|
-
fields: {
|
|
941
|
-
/** . */
|
|
942
|
-
'type': {
|
|
943
|
-
type: 'select';
|
|
944
|
-
isRequired: true;
|
|
544
|
+
/** Timezone. */
|
|
545
|
+
'timezone': {
|
|
546
|
+
label: 'Timezone';
|
|
547
|
+
type: 'select';
|
|
945
548
|
options: {
|
|
946
549
|
choices: [{
|
|
947
|
-
"value": "
|
|
948
|
-
"label": "
|
|
550
|
+
"value": "Pacific/Niue";
|
|
551
|
+
"label": "Niue Time";
|
|
949
552
|
}, {
|
|
950
|
-
"value": "
|
|
951
|
-
"label": "
|
|
952
|
-
}];
|
|
953
|
-
};
|
|
954
|
-
};
|
|
955
|
-
/** . */
|
|
956
|
-
'auth': {
|
|
957
|
-
type: 'schema';
|
|
958
|
-
isRequired: true;
|
|
959
|
-
options: {
|
|
960
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema;
|
|
961
|
-
};
|
|
962
|
-
};
|
|
963
|
-
};
|
|
964
|
-
}
|
|
965
|
-
interface AuthenticateResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateResponsePayloadSchema> {
|
|
966
|
-
}
|
|
967
|
-
}
|
|
968
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
969
|
-
interface CanListenEmitPayload {
|
|
970
|
-
'authorizerStatuses'?: ("clockedIn" | "clockedOut" | "onPrem" | "offPrem") | undefined | null;
|
|
971
|
-
'fullyQualifiedEventName': string;
|
|
972
|
-
}
|
|
973
|
-
interface CanListenEmitPayloadSchema extends SpruceSchema.Schema {
|
|
974
|
-
id: 'canListenEmitPayload';
|
|
975
|
-
version: 'v2020_12_25';
|
|
976
|
-
namespace: 'Mercury';
|
|
977
|
-
name: '';
|
|
978
|
-
fields: {
|
|
979
|
-
/** . */
|
|
980
|
-
'authorizerStatuses': {
|
|
981
|
-
type: 'select';
|
|
982
|
-
options: {
|
|
983
|
-
choices: [{
|
|
984
|
-
"label": "Clocked in";
|
|
985
|
-
"value": "clockedIn";
|
|
553
|
+
"value": "Pacific/Pago_Pago";
|
|
554
|
+
"label": "Samoa Standard Time";
|
|
986
555
|
}, {
|
|
987
|
-
"
|
|
988
|
-
"
|
|
556
|
+
"value": "Pacific/Rarotonga";
|
|
557
|
+
"label": "Cook Islands Standard Time";
|
|
989
558
|
}, {
|
|
990
|
-
"
|
|
991
|
-
"
|
|
992
|
-
}, {
|
|
993
|
-
"label": "Off premises";
|
|
994
|
-
"value": "offPrem";
|
|
995
|
-
}];
|
|
996
|
-
};
|
|
997
|
-
};
|
|
998
|
-
/** . */
|
|
999
|
-
'fullyQualifiedEventName': {
|
|
1000
|
-
type: 'text';
|
|
1001
|
-
isRequired: true;
|
|
1002
|
-
options: undefined;
|
|
1003
|
-
};
|
|
1004
|
-
};
|
|
1005
|
-
}
|
|
1006
|
-
interface CanListenEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema> {
|
|
1007
|
-
}
|
|
1008
|
-
}
|
|
1009
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1010
|
-
interface CanListenEmitTargetAndPayload {
|
|
1011
|
-
/** Source. */
|
|
1012
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1013
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayload;
|
|
1014
|
-
}
|
|
1015
|
-
interface CanListenEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1016
|
-
id: 'canListenEmitTargetAndPayload';
|
|
1017
|
-
version: 'v2020_12_25';
|
|
1018
|
-
namespace: 'Mercury';
|
|
1019
|
-
name: '';
|
|
1020
|
-
fields: {
|
|
1021
|
-
/** Source. */
|
|
1022
|
-
'source': {
|
|
1023
|
-
label: 'Source';
|
|
1024
|
-
type: 'schema';
|
|
1025
|
-
options: {
|
|
1026
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1027
|
-
};
|
|
1028
|
-
};
|
|
1029
|
-
/** . */
|
|
1030
|
-
'payload': {
|
|
1031
|
-
type: 'schema';
|
|
1032
|
-
isRequired: true;
|
|
1033
|
-
options: {
|
|
1034
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema;
|
|
1035
|
-
};
|
|
1036
|
-
};
|
|
1037
|
-
};
|
|
1038
|
-
}
|
|
1039
|
-
interface CanListenEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitTargetAndPayloadSchema> {
|
|
1040
|
-
}
|
|
1041
|
-
}
|
|
1042
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1043
|
-
interface CanListenResponsePayload {
|
|
1044
|
-
'can'?: boolean | undefined | null;
|
|
1045
|
-
}
|
|
1046
|
-
interface CanListenResponsePayloadSchema extends SpruceSchema.Schema {
|
|
1047
|
-
id: 'canListenResponsePayload';
|
|
1048
|
-
version: 'v2020_12_25';
|
|
1049
|
-
namespace: 'Mercury';
|
|
1050
|
-
name: '';
|
|
1051
|
-
fields: {
|
|
1052
|
-
/** . */
|
|
1053
|
-
'can': {
|
|
1054
|
-
type: 'boolean';
|
|
1055
|
-
options: undefined;
|
|
1056
|
-
};
|
|
1057
|
-
};
|
|
1058
|
-
}
|
|
1059
|
-
interface CanListenResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenResponsePayloadSchema> {
|
|
1060
|
-
}
|
|
1061
|
-
}
|
|
1062
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1063
|
-
interface ConfirmPinEmitPayload {
|
|
1064
|
-
'challenge': string;
|
|
1065
|
-
'pin': string;
|
|
1066
|
-
}
|
|
1067
|
-
interface ConfirmPinEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1068
|
-
id: 'confirmPinEmitPayload';
|
|
1069
|
-
version: 'v2020_12_25';
|
|
1070
|
-
namespace: 'Mercury';
|
|
1071
|
-
name: '';
|
|
1072
|
-
fields: {
|
|
1073
|
-
/** . */
|
|
1074
|
-
'challenge': {
|
|
1075
|
-
type: 'text';
|
|
1076
|
-
isRequired: true;
|
|
1077
|
-
options: undefined;
|
|
1078
|
-
};
|
|
1079
|
-
/** . */
|
|
1080
|
-
'pin': {
|
|
1081
|
-
type: 'text';
|
|
1082
|
-
isRequired: true;
|
|
1083
|
-
options: undefined;
|
|
1084
|
-
};
|
|
1085
|
-
};
|
|
1086
|
-
}
|
|
1087
|
-
interface ConfirmPinEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema> {
|
|
1088
|
-
}
|
|
1089
|
-
}
|
|
1090
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1091
|
-
interface ConfirmPinEmitTargetAndPayload {
|
|
1092
|
-
/** Source. */
|
|
1093
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1094
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayload;
|
|
1095
|
-
}
|
|
1096
|
-
interface ConfirmPinEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1097
|
-
id: 'confirmPinEmitTargetAndPayload';
|
|
1098
|
-
version: 'v2020_12_25';
|
|
1099
|
-
namespace: 'Mercury';
|
|
1100
|
-
name: '';
|
|
1101
|
-
fields: {
|
|
1102
|
-
/** Source. */
|
|
1103
|
-
'source': {
|
|
1104
|
-
label: 'Source';
|
|
1105
|
-
type: 'schema';
|
|
1106
|
-
options: {
|
|
1107
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1108
|
-
};
|
|
1109
|
-
};
|
|
1110
|
-
/** . */
|
|
1111
|
-
'payload': {
|
|
1112
|
-
type: 'schema';
|
|
1113
|
-
isRequired: true;
|
|
1114
|
-
options: {
|
|
1115
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema;
|
|
1116
|
-
};
|
|
1117
|
-
};
|
|
1118
|
-
};
|
|
1119
|
-
}
|
|
1120
|
-
interface ConfirmPinEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitTargetAndPayloadSchema> {
|
|
1121
|
-
}
|
|
1122
|
-
}
|
|
1123
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1124
|
-
interface ConfirmPinRespondPayload {
|
|
1125
|
-
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
1126
|
-
'token': string;
|
|
1127
|
-
}
|
|
1128
|
-
interface ConfirmPinRespondPayloadSchema extends SpruceSchema.Schema {
|
|
1129
|
-
id: 'confirmPinRespondPayload';
|
|
1130
|
-
version: 'v2020_12_25';
|
|
1131
|
-
namespace: 'Mercury';
|
|
1132
|
-
name: '';
|
|
1133
|
-
fields: {
|
|
1134
|
-
/** . */
|
|
1135
|
-
'person': {
|
|
1136
|
-
type: 'schema';
|
|
1137
|
-
isRequired: true;
|
|
1138
|
-
options: {
|
|
1139
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
1140
|
-
};
|
|
1141
|
-
};
|
|
1142
|
-
/** . */
|
|
1143
|
-
'token': {
|
|
1144
|
-
type: 'text';
|
|
1145
|
-
isRequired: true;
|
|
1146
|
-
options: undefined;
|
|
1147
|
-
};
|
|
1148
|
-
};
|
|
1149
|
-
}
|
|
1150
|
-
interface ConfirmPinRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinRespondPayloadSchema> {
|
|
1151
|
-
}
|
|
1152
|
-
}
|
|
1153
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1154
|
-
interface CreateLocationEmitTarget {
|
|
1155
|
-
'organizationId': string;
|
|
1156
|
-
}
|
|
1157
|
-
interface CreateLocationEmitTargetSchema extends SpruceSchema.Schema {
|
|
1158
|
-
id: 'createLocationEmitTarget';
|
|
1159
|
-
version: 'v2020_12_25';
|
|
1160
|
-
namespace: 'Mercury';
|
|
1161
|
-
name: '';
|
|
1162
|
-
fields: {
|
|
1163
|
-
/** . */
|
|
1164
|
-
'organizationId': {
|
|
1165
|
-
type: 'id';
|
|
1166
|
-
isRequired: true;
|
|
1167
|
-
options: undefined;
|
|
1168
|
-
};
|
|
1169
|
-
};
|
|
1170
|
-
}
|
|
1171
|
-
interface CreateLocationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CreateLocationEmitTargetSchema> {
|
|
1172
|
-
}
|
|
1173
|
-
}
|
|
1174
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1175
|
-
interface CreateLocationEmitPayload {
|
|
1176
|
-
/** Name. */
|
|
1177
|
-
'name': string;
|
|
1178
|
-
/** Store number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
1179
|
-
'num'?: string | undefined | null;
|
|
1180
|
-
/** Public. Is this location viewable by guests? */
|
|
1181
|
-
'isPublic'?: boolean | undefined | null;
|
|
1182
|
-
/** Main Phone. */
|
|
1183
|
-
'phone'?: string | undefined | null;
|
|
1184
|
-
/** Timezone. */
|
|
1185
|
-
'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;
|
|
1186
|
-
/** Address. */
|
|
1187
|
-
'address': SpruceSchema.AddressFieldValue;
|
|
1188
|
-
'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
1189
|
-
'slug'?: string | undefined | null;
|
|
1190
|
-
}
|
|
1191
|
-
interface CreateLocationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1192
|
-
id: 'createLocationEmitPayload';
|
|
1193
|
-
version: 'v2020_12_25';
|
|
1194
|
-
namespace: 'Mercury';
|
|
1195
|
-
name: '';
|
|
1196
|
-
fields: {
|
|
1197
|
-
/** Name. */
|
|
1198
|
-
'name': {
|
|
1199
|
-
label: 'Name';
|
|
1200
|
-
type: 'text';
|
|
1201
|
-
isRequired: true;
|
|
1202
|
-
options: undefined;
|
|
1203
|
-
};
|
|
1204
|
-
/** Store number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
1205
|
-
'num': {
|
|
1206
|
-
label: 'Store number';
|
|
1207
|
-
type: 'text';
|
|
1208
|
-
hint: 'You can use other symbols, like # or dashes. #123 or 32-US-5';
|
|
1209
|
-
options: undefined;
|
|
1210
|
-
};
|
|
1211
|
-
/** Public. Is this location viewable by guests? */
|
|
1212
|
-
'isPublic': {
|
|
1213
|
-
label: 'Public';
|
|
1214
|
-
type: 'boolean';
|
|
1215
|
-
hint: 'Is this location viewable by guests?';
|
|
1216
|
-
defaultValue: false;
|
|
1217
|
-
options: undefined;
|
|
1218
|
-
};
|
|
1219
|
-
/** Main Phone. */
|
|
1220
|
-
'phone': {
|
|
1221
|
-
label: 'Main Phone';
|
|
1222
|
-
type: 'phone';
|
|
1223
|
-
options: undefined;
|
|
1224
|
-
};
|
|
1225
|
-
/** Timezone. */
|
|
1226
|
-
'timezone': {
|
|
1227
|
-
label: 'Timezone';
|
|
1228
|
-
type: 'select';
|
|
1229
|
-
options: {
|
|
1230
|
-
choices: [{
|
|
1231
|
-
"value": "Pacific/Niue";
|
|
1232
|
-
"label": "Niue Time";
|
|
1233
|
-
}, {
|
|
1234
|
-
"value": "Pacific/Pago_Pago";
|
|
1235
|
-
"label": "Samoa Standard Time";
|
|
1236
|
-
}, {
|
|
1237
|
-
"value": "Pacific/Rarotonga";
|
|
1238
|
-
"label": "Cook Islands Standard Time";
|
|
1239
|
-
}, {
|
|
1240
|
-
"value": "Pacific/Honolulu";
|
|
1241
|
-
"label": "Hawaii-Aleutian Standard Time";
|
|
559
|
+
"value": "Pacific/Honolulu";
|
|
560
|
+
"label": "Hawaii-Aleutian Standard Time";
|
|
1242
561
|
}, {
|
|
1243
562
|
"value": "Pacific/Tahiti";
|
|
1244
563
|
"label": "Tahiti Time";
|
|
@@ -4988,29 +4307,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4988
4307
|
interface GetResolvedPermissionsContractEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetResolvedPermissionsContractEmitTargetAndPayloadSchema> {
|
|
4989
4308
|
}
|
|
4990
4309
|
}
|
|
4991
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4992
|
-
interface GetResolvedPermissionsContractRespondPayload {
|
|
4993
|
-
'resolvedContract': SpruceSchemas.Mercury.v2020_12_25.ResolvedContract;
|
|
4994
|
-
}
|
|
4995
|
-
interface GetResolvedPermissionsContractRespondPayloadSchema extends SpruceSchema.Schema {
|
|
4996
|
-
id: 'getResolvedPermissionsContractRespondPayload';
|
|
4997
|
-
version: 'v2020_12_25';
|
|
4998
|
-
namespace: 'Mercury';
|
|
4999
|
-
name: '';
|
|
5000
|
-
fields: {
|
|
5001
|
-
/** . */
|
|
5002
|
-
'resolvedContract': {
|
|
5003
|
-
type: 'schema';
|
|
5004
|
-
isRequired: true;
|
|
5005
|
-
options: {
|
|
5006
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ResolvedContractSchema;
|
|
5007
|
-
};
|
|
5008
|
-
};
|
|
5009
|
-
};
|
|
5010
|
-
}
|
|
5011
|
-
interface GetResolvedPermissionsContractRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetResolvedPermissionsContractRespondPayloadSchema> {
|
|
5012
|
-
}
|
|
5013
|
-
}
|
|
5014
4310
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5015
4311
|
interface ResolvedContractPermission {
|
|
5016
4312
|
'id': string;
|
|
@@ -5080,6 +4376,29 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
5080
4376
|
interface ResolvedContractEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ResolvedContractSchema> {
|
|
5081
4377
|
}
|
|
5082
4378
|
}
|
|
4379
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4380
|
+
interface GetResolvedPermissionsContractRespondPayload {
|
|
4381
|
+
'resolvedContract': SpruceSchemas.Mercury.v2020_12_25.ResolvedContract;
|
|
4382
|
+
}
|
|
4383
|
+
interface GetResolvedPermissionsContractRespondPayloadSchema extends SpruceSchema.Schema {
|
|
4384
|
+
id: 'getResolvedPermissionsContractRespondPayload';
|
|
4385
|
+
version: 'v2020_12_25';
|
|
4386
|
+
namespace: 'Mercury';
|
|
4387
|
+
name: '';
|
|
4388
|
+
fields: {
|
|
4389
|
+
/** . */
|
|
4390
|
+
'resolvedContract': {
|
|
4391
|
+
type: 'schema';
|
|
4392
|
+
isRequired: true;
|
|
4393
|
+
options: {
|
|
4394
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ResolvedContractSchema;
|
|
4395
|
+
};
|
|
4396
|
+
};
|
|
4397
|
+
};
|
|
4398
|
+
}
|
|
4399
|
+
interface GetResolvedPermissionsContractRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetResolvedPermissionsContractRespondPayloadSchema> {
|
|
4400
|
+
}
|
|
4401
|
+
}
|
|
5083
4402
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5084
4403
|
interface GetRoleEmitTarget {
|
|
5085
4404
|
'roleId': string;
|
|
@@ -6055,46 +5374,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6055
5374
|
interface ListPeopleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitPayloadSchema> {
|
|
6056
5375
|
}
|
|
6057
5376
|
}
|
|
6058
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6059
|
-
interface ListPeopleEmitTargetAndPayload {
|
|
6060
|
-
/** Source. */
|
|
6061
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
6062
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitTarget | undefined | null;
|
|
6063
|
-
'payload'?: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitPayload | undefined | null;
|
|
6064
|
-
}
|
|
6065
|
-
interface ListPeopleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
6066
|
-
id: 'listPeopleEmitTargetAndPayload';
|
|
6067
|
-
version: 'v2020_12_25';
|
|
6068
|
-
namespace: 'Mercury';
|
|
6069
|
-
name: '';
|
|
6070
|
-
fields: {
|
|
6071
|
-
/** Source. */
|
|
6072
|
-
'source': {
|
|
6073
|
-
label: 'Source';
|
|
6074
|
-
type: 'schema';
|
|
6075
|
-
options: {
|
|
6076
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
6077
|
-
};
|
|
6078
|
-
};
|
|
6079
|
-
/** . */
|
|
6080
|
-
'target': {
|
|
6081
|
-
type: 'schema';
|
|
6082
|
-
options: {
|
|
6083
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitTargetSchema;
|
|
6084
|
-
};
|
|
6085
|
-
};
|
|
6086
|
-
/** . */
|
|
6087
|
-
'payload': {
|
|
6088
|
-
type: 'schema';
|
|
6089
|
-
options: {
|
|
6090
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitPayloadSchema;
|
|
6091
|
-
};
|
|
6092
|
-
};
|
|
6093
|
-
};
|
|
6094
|
-
}
|
|
6095
|
-
interface ListPeopleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitTargetAndPayloadSchema> {
|
|
6096
|
-
}
|
|
6097
|
-
}
|
|
6098
5377
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6099
5378
|
interface ListPerson {
|
|
6100
5379
|
/** Id. */
|
|
@@ -7841,6 +7120,39 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
7841
7120
|
interface LogoutResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.LogoutResponsePayloadSchema> {
|
|
7842
7121
|
}
|
|
7843
7122
|
}
|
|
7123
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7124
|
+
interface RegisterConversationTopicsEmitTargetAndPayload {
|
|
7125
|
+
/** Source. */
|
|
7126
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
7127
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitPayload;
|
|
7128
|
+
}
|
|
7129
|
+
interface RegisterConversationTopicsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
7130
|
+
id: 'registerConversationTopicsEmitTargetAndPayload';
|
|
7131
|
+
version: 'v2020_12_25';
|
|
7132
|
+
namespace: 'Mercury';
|
|
7133
|
+
name: '';
|
|
7134
|
+
fields: {
|
|
7135
|
+
/** Source. */
|
|
7136
|
+
'source': {
|
|
7137
|
+
label: 'Source';
|
|
7138
|
+
type: 'schema';
|
|
7139
|
+
options: {
|
|
7140
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
7141
|
+
};
|
|
7142
|
+
};
|
|
7143
|
+
/** . */
|
|
7144
|
+
'payload': {
|
|
7145
|
+
type: 'schema';
|
|
7146
|
+
isRequired: true;
|
|
7147
|
+
options: {
|
|
7148
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitPayloadSchema;
|
|
7149
|
+
};
|
|
7150
|
+
};
|
|
7151
|
+
};
|
|
7152
|
+
}
|
|
7153
|
+
interface RegisterConversationTopicsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitTargetAndPayloadSchema> {
|
|
7154
|
+
}
|
|
7155
|
+
}
|
|
7844
7156
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7845
7157
|
interface RegisterConversationTopicEmitPayloadTopic {
|
|
7846
7158
|
/** Key. A way to identify this topic, must be unique for your skill. */
|
|
@@ -7889,39 +7201,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
7889
7201
|
interface RegisterConversationTopicsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitPayloadSchema> {
|
|
7890
7202
|
}
|
|
7891
7203
|
}
|
|
7892
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7893
|
-
interface RegisterConversationTopicsEmitTargetAndPayload {
|
|
7894
|
-
/** Source. */
|
|
7895
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
7896
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitPayload;
|
|
7897
|
-
}
|
|
7898
|
-
interface RegisterConversationTopicsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
7899
|
-
id: 'registerConversationTopicsEmitTargetAndPayload';
|
|
7900
|
-
version: 'v2020_12_25';
|
|
7901
|
-
namespace: 'Mercury';
|
|
7902
|
-
name: '';
|
|
7903
|
-
fields: {
|
|
7904
|
-
/** Source. */
|
|
7905
|
-
'source': {
|
|
7906
|
-
label: 'Source';
|
|
7907
|
-
type: 'schema';
|
|
7908
|
-
options: {
|
|
7909
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
7910
|
-
};
|
|
7911
|
-
};
|
|
7912
|
-
/** . */
|
|
7913
|
-
'payload': {
|
|
7914
|
-
type: 'schema';
|
|
7915
|
-
isRequired: true;
|
|
7916
|
-
options: {
|
|
7917
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitPayloadSchema;
|
|
7918
|
-
};
|
|
7919
|
-
};
|
|
7920
|
-
};
|
|
7921
|
-
}
|
|
7922
|
-
interface RegisterConversationTopicsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitTargetAndPayloadSchema> {
|
|
7923
|
-
}
|
|
7924
|
-
}
|
|
7925
7204
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7926
7205
|
interface RegisterConversationTopicsResponsePayload {
|
|
7927
7206
|
}
|
|
@@ -8503,11 +7782,53 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8503
7782
|
}
|
|
8504
7783
|
}
|
|
8505
7784
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8506
|
-
interface
|
|
8507
|
-
/**
|
|
8508
|
-
'
|
|
8509
|
-
'
|
|
8510
|
-
|
|
7785
|
+
interface SavePermissionsEmitTargetAndPayload {
|
|
7786
|
+
/** Source. */
|
|
7787
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
7788
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitTarget;
|
|
7789
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitPayload;
|
|
7790
|
+
}
|
|
7791
|
+
interface SavePermissionsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
7792
|
+
id: 'savePermissionsEmitTargetAndPayload';
|
|
7793
|
+
version: 'v2020_12_25';
|
|
7794
|
+
namespace: 'Mercury';
|
|
7795
|
+
name: '';
|
|
7796
|
+
fields: {
|
|
7797
|
+
/** Source. */
|
|
7798
|
+
'source': {
|
|
7799
|
+
label: 'Source';
|
|
7800
|
+
type: 'schema';
|
|
7801
|
+
options: {
|
|
7802
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
7803
|
+
};
|
|
7804
|
+
};
|
|
7805
|
+
/** . */
|
|
7806
|
+
'target': {
|
|
7807
|
+
type: 'schema';
|
|
7808
|
+
isRequired: true;
|
|
7809
|
+
options: {
|
|
7810
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitTargetSchema;
|
|
7811
|
+
};
|
|
7812
|
+
};
|
|
7813
|
+
/** . */
|
|
7814
|
+
'payload': {
|
|
7815
|
+
type: 'schema';
|
|
7816
|
+
isRequired: true;
|
|
7817
|
+
options: {
|
|
7818
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitPayloadSchema;
|
|
7819
|
+
};
|
|
7820
|
+
};
|
|
7821
|
+
};
|
|
7822
|
+
}
|
|
7823
|
+
interface SavePermissionsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitTargetAndPayloadSchema> {
|
|
7824
|
+
}
|
|
7825
|
+
}
|
|
7826
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7827
|
+
interface SavePermissionsPermission {
|
|
7828
|
+
/** id. Hyphen separated id for this permission, e.g. can-unlock-doors */
|
|
7829
|
+
'id': string;
|
|
7830
|
+
'can': SpruceSchemas.Mercury.v2020_12_25.StatusFlags;
|
|
7831
|
+
}
|
|
8511
7832
|
interface SavePermissionsPermissionSchema extends SpruceSchema.Schema {
|
|
8512
7833
|
id: 'savePermissionsPermission';
|
|
8513
7834
|
version: 'v2020_12_25';
|
|
@@ -8560,48 +7881,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8560
7881
|
interface SavePermissionsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitPayloadSchema> {
|
|
8561
7882
|
}
|
|
8562
7883
|
}
|
|
8563
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8564
|
-
interface SavePermissionsEmitTargetAndPayload {
|
|
8565
|
-
/** Source. */
|
|
8566
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8567
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitTarget;
|
|
8568
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitPayload;
|
|
8569
|
-
}
|
|
8570
|
-
interface SavePermissionsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8571
|
-
id: 'savePermissionsEmitTargetAndPayload';
|
|
8572
|
-
version: 'v2020_12_25';
|
|
8573
|
-
namespace: 'Mercury';
|
|
8574
|
-
name: '';
|
|
8575
|
-
fields: {
|
|
8576
|
-
/** Source. */
|
|
8577
|
-
'source': {
|
|
8578
|
-
label: 'Source';
|
|
8579
|
-
type: 'schema';
|
|
8580
|
-
options: {
|
|
8581
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
8582
|
-
};
|
|
8583
|
-
};
|
|
8584
|
-
/** . */
|
|
8585
|
-
'target': {
|
|
8586
|
-
type: 'schema';
|
|
8587
|
-
isRequired: true;
|
|
8588
|
-
options: {
|
|
8589
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitTargetSchema;
|
|
8590
|
-
};
|
|
8591
|
-
};
|
|
8592
|
-
/** . */
|
|
8593
|
-
'payload': {
|
|
8594
|
-
type: 'schema';
|
|
8595
|
-
isRequired: true;
|
|
8596
|
-
options: {
|
|
8597
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitPayloadSchema;
|
|
8598
|
-
};
|
|
8599
|
-
};
|
|
8600
|
-
};
|
|
8601
|
-
}
|
|
8602
|
-
interface SavePermissionsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitTargetAndPayloadSchema> {
|
|
8603
|
-
}
|
|
8604
|
-
}
|
|
8605
7884
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8606
7885
|
interface SavePermissionsResponsePayload {
|
|
8607
7886
|
'success': boolean;
|
|
@@ -8738,47 +8017,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8738
8017
|
interface SendMessageTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema> {
|
|
8739
8018
|
}
|
|
8740
8019
|
}
|
|
8741
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8742
|
-
interface SendMessageEmitTargetAndPayload {
|
|
8743
|
-
/** Source. */
|
|
8744
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8745
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.SendMessageTarget | undefined | null;
|
|
8746
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayload;
|
|
8747
|
-
}
|
|
8748
|
-
interface SendMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8749
|
-
id: 'sendMessageEmitTargetAndPayload';
|
|
8750
|
-
version: 'v2020_12_25';
|
|
8751
|
-
namespace: 'Mercury';
|
|
8752
|
-
name: '';
|
|
8753
|
-
fields: {
|
|
8754
|
-
/** Source. */
|
|
8755
|
-
'source': {
|
|
8756
|
-
label: 'Source';
|
|
8757
|
-
type: 'schema';
|
|
8758
|
-
options: {
|
|
8759
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
8760
|
-
};
|
|
8761
|
-
};
|
|
8762
|
-
/** . */
|
|
8763
|
-
'target': {
|
|
8764
|
-
type: 'schema';
|
|
8765
|
-
options: {
|
|
8766
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema;
|
|
8767
|
-
};
|
|
8768
|
-
};
|
|
8769
|
-
/** . */
|
|
8770
|
-
'payload': {
|
|
8771
|
-
type: 'schema';
|
|
8772
|
-
isRequired: true;
|
|
8773
|
-
options: {
|
|
8774
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema;
|
|
8775
|
-
};
|
|
8776
|
-
};
|
|
8777
|
-
};
|
|
8778
|
-
}
|
|
8779
|
-
interface SendMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitTargetAndPayloadSchema> {
|
|
8780
|
-
}
|
|
8781
|
-
}
|
|
8782
8020
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8783
8021
|
interface SendMessageMessagePayload {
|
|
8784
8022
|
'classification': ("auth" | "transactional" | "promotional" | "incoming");
|
|
@@ -8878,6 +8116,47 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8878
8116
|
interface SendMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema> {
|
|
8879
8117
|
}
|
|
8880
8118
|
}
|
|
8119
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8120
|
+
interface SendMessageEmitTargetAndPayload {
|
|
8121
|
+
/** Source. */
|
|
8122
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8123
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.SendMessageTarget | undefined | null;
|
|
8124
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayload;
|
|
8125
|
+
}
|
|
8126
|
+
interface SendMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8127
|
+
id: 'sendMessageEmitTargetAndPayload';
|
|
8128
|
+
version: 'v2020_12_25';
|
|
8129
|
+
namespace: 'Mercury';
|
|
8130
|
+
name: '';
|
|
8131
|
+
fields: {
|
|
8132
|
+
/** Source. */
|
|
8133
|
+
'source': {
|
|
8134
|
+
label: 'Source';
|
|
8135
|
+
type: 'schema';
|
|
8136
|
+
options: {
|
|
8137
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
8138
|
+
};
|
|
8139
|
+
};
|
|
8140
|
+
/** . */
|
|
8141
|
+
'target': {
|
|
8142
|
+
type: 'schema';
|
|
8143
|
+
options: {
|
|
8144
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema;
|
|
8145
|
+
};
|
|
8146
|
+
};
|
|
8147
|
+
/** . */
|
|
8148
|
+
'payload': {
|
|
8149
|
+
type: 'schema';
|
|
8150
|
+
isRequired: true;
|
|
8151
|
+
options: {
|
|
8152
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema;
|
|
8153
|
+
};
|
|
8154
|
+
};
|
|
8155
|
+
};
|
|
8156
|
+
}
|
|
8157
|
+
interface SendMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitTargetAndPayloadSchema> {
|
|
8158
|
+
}
|
|
8159
|
+
}
|
|
8881
8160
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8882
8161
|
interface SendMessageResponsePayload {
|
|
8883
8162
|
'message': SpruceSchemas.Spruce.v2020_07_22.Message;
|
|
@@ -8990,30 +8269,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8990
8269
|
interface SubmitErrorMessageFeedbackEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SubmitErrorMessageFeedbackEmitTargetAndPayloadSchema> {
|
|
8991
8270
|
}
|
|
8992
8271
|
}
|
|
8993
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8994
|
-
interface SyncEventContractsEmitPayload {
|
|
8995
|
-
'contract': SpruceSchemas.Mercury.v2020_12_25.EventContract;
|
|
8996
|
-
}
|
|
8997
|
-
interface SyncEventContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
8998
|
-
id: 'syncEventContractsEmitPayload';
|
|
8999
|
-
version: 'v2020_12_25';
|
|
9000
|
-
namespace: 'Mercury';
|
|
9001
|
-
name: '';
|
|
9002
|
-
importsWhenRemote: ['import \'@sprucelabs/mercury-types\''];
|
|
9003
|
-
fields: {
|
|
9004
|
-
/** . */
|
|
9005
|
-
'contract': {
|
|
9006
|
-
type: 'schema';
|
|
9007
|
-
isRequired: true;
|
|
9008
|
-
options: {
|
|
9009
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.EventContractSchema;
|
|
9010
|
-
};
|
|
9011
|
-
};
|
|
9012
|
-
};
|
|
9013
|
-
}
|
|
9014
|
-
interface SyncEventContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitPayloadSchema> {
|
|
9015
|
-
}
|
|
9016
|
-
}
|
|
9017
8272
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9018
8273
|
interface SyncEventContractsEmitTargetAndPayload {
|
|
9019
8274
|
/** Source. */
|
|
@@ -9047,6 +8302,30 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9047
8302
|
interface SyncEventContractsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitTargetAndPayloadSchema> {
|
|
9048
8303
|
}
|
|
9049
8304
|
}
|
|
8305
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8306
|
+
interface SyncEventContractsEmitPayload {
|
|
8307
|
+
'contract': SpruceSchemas.Mercury.v2020_12_25.EventContract;
|
|
8308
|
+
}
|
|
8309
|
+
interface SyncEventContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
8310
|
+
id: 'syncEventContractsEmitPayload';
|
|
8311
|
+
version: 'v2020_12_25';
|
|
8312
|
+
namespace: 'Mercury';
|
|
8313
|
+
name: '';
|
|
8314
|
+
importsWhenRemote: ['import \'@sprucelabs/mercury-types\''];
|
|
8315
|
+
fields: {
|
|
8316
|
+
/** . */
|
|
8317
|
+
'contract': {
|
|
8318
|
+
type: 'schema';
|
|
8319
|
+
isRequired: true;
|
|
8320
|
+
options: {
|
|
8321
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.EventContractSchema;
|
|
8322
|
+
};
|
|
8323
|
+
};
|
|
8324
|
+
};
|
|
8325
|
+
}
|
|
8326
|
+
interface SyncEventContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitPayloadSchema> {
|
|
8327
|
+
}
|
|
8328
|
+
}
|
|
9050
8329
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9051
8330
|
interface SyncEventContractsResponsePayload {
|
|
9052
8331
|
/** Event names. */
|
|
@@ -9098,31 +8377,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9098
8377
|
interface SyncPermissionContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsEmitPayloadSchema> {
|
|
9099
8378
|
}
|
|
9100
8379
|
}
|
|
9101
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9102
|
-
interface SyncPermissionContractsResponsePayload {
|
|
9103
|
-
'contractRecords': SpruceSchemas.Mercury.v2020_12_25.FullPermissionContract[];
|
|
9104
|
-
}
|
|
9105
|
-
interface SyncPermissionContractsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
9106
|
-
id: 'syncPermissionContractsResponsePayload';
|
|
9107
|
-
version: 'v2020_12_25';
|
|
9108
|
-
namespace: 'Mercury';
|
|
9109
|
-
name: '';
|
|
9110
|
-
fields: {
|
|
9111
|
-
/** . */
|
|
9112
|
-
'contractRecords': {
|
|
9113
|
-
type: 'schema';
|
|
9114
|
-
isRequired: true;
|
|
9115
|
-
isArray: true;
|
|
9116
|
-
minArrayLength: 0;
|
|
9117
|
-
options: {
|
|
9118
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema;
|
|
9119
|
-
};
|
|
9120
|
-
};
|
|
9121
|
-
};
|
|
9122
|
-
}
|
|
9123
|
-
interface SyncPermissionContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsResponsePayloadSchema> {
|
|
9124
|
-
}
|
|
9125
|
-
}
|
|
9126
8380
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9127
8381
|
interface SyncPermissionContractsEmitTargetAndPayload {
|
|
9128
8382
|
/** Source. */
|
|
@@ -9209,20 +8463,45 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9209
8463
|
}
|
|
9210
8464
|
}
|
|
9211
8465
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9212
|
-
interface
|
|
9213
|
-
'
|
|
9214
|
-
'organizationId': string;
|
|
8466
|
+
interface SyncPermissionContractsResponsePayload {
|
|
8467
|
+
'contractRecords': SpruceSchemas.Mercury.v2020_12_25.FullPermissionContract[];
|
|
9215
8468
|
}
|
|
9216
|
-
interface
|
|
9217
|
-
id: '
|
|
8469
|
+
interface SyncPermissionContractsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
8470
|
+
id: 'syncPermissionContractsResponsePayload';
|
|
9218
8471
|
version: 'v2020_12_25';
|
|
9219
8472
|
namespace: 'Mercury';
|
|
9220
8473
|
name: '';
|
|
9221
8474
|
fields: {
|
|
9222
8475
|
/** . */
|
|
9223
|
-
'
|
|
9224
|
-
type: '
|
|
9225
|
-
isRequired: true;
|
|
8476
|
+
'contractRecords': {
|
|
8477
|
+
type: 'schema';
|
|
8478
|
+
isRequired: true;
|
|
8479
|
+
isArray: true;
|
|
8480
|
+
minArrayLength: 0;
|
|
8481
|
+
options: {
|
|
8482
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema;
|
|
8483
|
+
};
|
|
8484
|
+
};
|
|
8485
|
+
};
|
|
8486
|
+
}
|
|
8487
|
+
interface SyncPermissionContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsResponsePayloadSchema> {
|
|
8488
|
+
}
|
|
8489
|
+
}
|
|
8490
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8491
|
+
interface UnInstallSkillEmitTarget {
|
|
8492
|
+
'skillId': string;
|
|
8493
|
+
'organizationId': string;
|
|
8494
|
+
}
|
|
8495
|
+
interface UnInstallSkillEmitTargetSchema extends SpruceSchema.Schema {
|
|
8496
|
+
id: 'unInstallSkillEmitTarget';
|
|
8497
|
+
version: 'v2020_12_25';
|
|
8498
|
+
namespace: 'Mercury';
|
|
8499
|
+
name: '';
|
|
8500
|
+
fields: {
|
|
8501
|
+
/** . */
|
|
8502
|
+
'skillId': {
|
|
8503
|
+
type: 'id';
|
|
8504
|
+
isRequired: true;
|
|
9226
8505
|
options: undefined;
|
|
9227
8506
|
};
|
|
9228
8507
|
/** . */
|
|
@@ -12048,31 +11327,826 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12048
11327
|
label: 'Avatar src';
|
|
12049
11328
|
type: 'image';
|
|
12050
11329
|
options: {
|
|
12051
|
-
requiredSizes: ["*"];
|
|
11330
|
+
requiredSizes: ["*"];
|
|
11331
|
+
};
|
|
11332
|
+
};
|
|
11333
|
+
/** Phone. A number that can be texted */
|
|
11334
|
+
'phone': {
|
|
11335
|
+
label: 'Phone';
|
|
11336
|
+
type: 'phone';
|
|
11337
|
+
isPrivate: true;
|
|
11338
|
+
hint: 'A number that can be texted';
|
|
11339
|
+
options: undefined;
|
|
11340
|
+
};
|
|
11341
|
+
};
|
|
11342
|
+
}
|
|
11343
|
+
interface UpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema> {
|
|
11344
|
+
}
|
|
11345
|
+
}
|
|
11346
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11347
|
+
interface UpdatePersonEmitTargetAndPayload {
|
|
11348
|
+
/** Source. */
|
|
11349
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11350
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTarget | undefined | null;
|
|
11351
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayload | undefined | null;
|
|
11352
|
+
}
|
|
11353
|
+
interface UpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11354
|
+
id: 'updatePersonEmitTargetAndPayload';
|
|
11355
|
+
version: 'v2020_12_25';
|
|
11356
|
+
namespace: 'Mercury';
|
|
11357
|
+
name: '';
|
|
11358
|
+
fields: {
|
|
11359
|
+
/** Source. */
|
|
11360
|
+
'source': {
|
|
11361
|
+
label: 'Source';
|
|
11362
|
+
type: 'schema';
|
|
11363
|
+
options: {
|
|
11364
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11365
|
+
};
|
|
11366
|
+
};
|
|
11367
|
+
/** . */
|
|
11368
|
+
'target': {
|
|
11369
|
+
type: 'schema';
|
|
11370
|
+
options: {
|
|
11371
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetSchema;
|
|
11372
|
+
};
|
|
11373
|
+
};
|
|
11374
|
+
/** . */
|
|
11375
|
+
'payload': {
|
|
11376
|
+
type: 'schema';
|
|
11377
|
+
options: {
|
|
11378
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema;
|
|
11379
|
+
};
|
|
11380
|
+
};
|
|
11381
|
+
};
|
|
11382
|
+
}
|
|
11383
|
+
interface UpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetAndPayloadSchema> {
|
|
11384
|
+
}
|
|
11385
|
+
}
|
|
11386
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11387
|
+
interface UpdatePersonResponsePayload {
|
|
11388
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
11389
|
+
}
|
|
11390
|
+
interface UpdatePersonResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11391
|
+
id: 'updatePersonResponsePayload';
|
|
11392
|
+
version: 'v2020_12_25';
|
|
11393
|
+
namespace: 'Mercury';
|
|
11394
|
+
name: '';
|
|
11395
|
+
fields: {
|
|
11396
|
+
/** . */
|
|
11397
|
+
'person': {
|
|
11398
|
+
type: 'schema';
|
|
11399
|
+
isRequired: true;
|
|
11400
|
+
options: {
|
|
11401
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
11402
|
+
};
|
|
11403
|
+
};
|
|
11404
|
+
};
|
|
11405
|
+
}
|
|
11406
|
+
interface UpdatePersonResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonResponsePayloadSchema> {
|
|
11407
|
+
}
|
|
11408
|
+
}
|
|
11409
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11410
|
+
interface UpdateRoleEmitTarget {
|
|
11411
|
+
'roleId': string;
|
|
11412
|
+
}
|
|
11413
|
+
interface UpdateRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
11414
|
+
id: 'updateRoleEmitTarget';
|
|
11415
|
+
version: 'v2020_12_25';
|
|
11416
|
+
namespace: 'Mercury';
|
|
11417
|
+
name: '';
|
|
11418
|
+
fields: {
|
|
11419
|
+
/** . */
|
|
11420
|
+
'roleId': {
|
|
11421
|
+
type: 'id';
|
|
11422
|
+
isRequired: true;
|
|
11423
|
+
options: undefined;
|
|
11424
|
+
};
|
|
11425
|
+
};
|
|
11426
|
+
}
|
|
11427
|
+
interface UpdateRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema> {
|
|
11428
|
+
}
|
|
11429
|
+
}
|
|
11430
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11431
|
+
interface UpdateRoleEmitPayload {
|
|
11432
|
+
/** Name. */
|
|
11433
|
+
'name'?: string | undefined | null;
|
|
11434
|
+
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
11435
|
+
'base'?: ("owner" | "groupManager" | "manager" | "teammate" | "anonymous" | "loggedIn" | "guest") | undefined | null;
|
|
11436
|
+
/** Description. */
|
|
11437
|
+
'description'?: string | undefined | null;
|
|
11438
|
+
'dateDeleted'?: number | undefined | null;
|
|
11439
|
+
'organizationId'?: string | undefined | null;
|
|
11440
|
+
/** Public. Should I let people that are not part of this organization this role? */
|
|
11441
|
+
'isPublic'?: boolean | undefined | null;
|
|
11442
|
+
}
|
|
11443
|
+
interface UpdateRoleEmitPayloadSchema extends SpruceSchema.Schema {
|
|
11444
|
+
id: 'updateRoleEmitPayload';
|
|
11445
|
+
version: 'v2020_12_25';
|
|
11446
|
+
namespace: 'Mercury';
|
|
11447
|
+
name: '';
|
|
11448
|
+
fields: {
|
|
11449
|
+
/** Name. */
|
|
11450
|
+
'name': {
|
|
11451
|
+
label: 'Name';
|
|
11452
|
+
type: 'text';
|
|
11453
|
+
options: undefined;
|
|
11454
|
+
};
|
|
11455
|
+
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
11456
|
+
'base': {
|
|
11457
|
+
label: 'Base';
|
|
11458
|
+
type: 'select';
|
|
11459
|
+
hint: 'A best practices starting point for a role based on the generalized roles at a company.';
|
|
11460
|
+
options: {
|
|
11461
|
+
choices: [{
|
|
11462
|
+
"label": "Owner";
|
|
11463
|
+
"value": "owner";
|
|
11464
|
+
}, {
|
|
11465
|
+
"label": "Group manager";
|
|
11466
|
+
"value": "groupManager";
|
|
11467
|
+
}, {
|
|
11468
|
+
"label": "Manager";
|
|
11469
|
+
"value": "manager";
|
|
11470
|
+
}, {
|
|
11471
|
+
"label": "Teammate";
|
|
11472
|
+
"value": "teammate";
|
|
11473
|
+
}, {
|
|
11474
|
+
"label": "Anonymous";
|
|
11475
|
+
"value": "anonymous";
|
|
11476
|
+
}, {
|
|
11477
|
+
"label": "Logged in";
|
|
11478
|
+
"value": "loggedIn";
|
|
11479
|
+
}, {
|
|
11480
|
+
"label": "Guest";
|
|
11481
|
+
"value": "guest";
|
|
11482
|
+
}];
|
|
11483
|
+
};
|
|
11484
|
+
};
|
|
11485
|
+
/** Description. */
|
|
11486
|
+
'description': {
|
|
11487
|
+
label: 'Description';
|
|
11488
|
+
type: 'text';
|
|
11489
|
+
options: undefined;
|
|
11490
|
+
};
|
|
11491
|
+
/** . */
|
|
11492
|
+
'dateDeleted': {
|
|
11493
|
+
type: 'number';
|
|
11494
|
+
options: undefined;
|
|
11495
|
+
};
|
|
11496
|
+
/** . */
|
|
11497
|
+
'organizationId': {
|
|
11498
|
+
type: 'id';
|
|
11499
|
+
options: undefined;
|
|
11500
|
+
};
|
|
11501
|
+
/** Public. Should I let people that are not part of this organization this role? */
|
|
11502
|
+
'isPublic': {
|
|
11503
|
+
label: 'Public';
|
|
11504
|
+
type: 'boolean';
|
|
11505
|
+
hint: 'Should I let people that are not part of this organization this role?';
|
|
11506
|
+
options: undefined;
|
|
11507
|
+
};
|
|
11508
|
+
};
|
|
11509
|
+
}
|
|
11510
|
+
interface UpdateRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema> {
|
|
11511
|
+
}
|
|
11512
|
+
}
|
|
11513
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11514
|
+
interface UpdateRoleEmitTargetAndPayload {
|
|
11515
|
+
/** Source. */
|
|
11516
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11517
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTarget;
|
|
11518
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayload | undefined | null;
|
|
11519
|
+
}
|
|
11520
|
+
interface UpdateRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11521
|
+
id: 'updateRoleEmitTargetAndPayload';
|
|
11522
|
+
version: 'v2020_12_25';
|
|
11523
|
+
namespace: 'Mercury';
|
|
11524
|
+
name: '';
|
|
11525
|
+
fields: {
|
|
11526
|
+
/** Source. */
|
|
11527
|
+
'source': {
|
|
11528
|
+
label: 'Source';
|
|
11529
|
+
type: 'schema';
|
|
11530
|
+
options: {
|
|
11531
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11532
|
+
};
|
|
11533
|
+
};
|
|
11534
|
+
/** . */
|
|
11535
|
+
'target': {
|
|
11536
|
+
type: 'schema';
|
|
11537
|
+
isRequired: true;
|
|
11538
|
+
options: {
|
|
11539
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema;
|
|
11540
|
+
};
|
|
11541
|
+
};
|
|
11542
|
+
/** . */
|
|
11543
|
+
'payload': {
|
|
11544
|
+
type: 'schema';
|
|
11545
|
+
options: {
|
|
11546
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema;
|
|
11547
|
+
};
|
|
11548
|
+
};
|
|
11549
|
+
};
|
|
11550
|
+
}
|
|
11551
|
+
interface UpdateRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetAndPayloadSchema> {
|
|
11552
|
+
}
|
|
11553
|
+
}
|
|
11554
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11555
|
+
interface UpdateRoleResponsePayload {
|
|
11556
|
+
'role': SpruceSchemas.Spruce.v2020_07_22.Role;
|
|
11557
|
+
}
|
|
11558
|
+
interface UpdateRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11559
|
+
id: 'updateRoleResponsePayload';
|
|
11560
|
+
version: 'v2020_12_25';
|
|
11561
|
+
namespace: 'Mercury';
|
|
11562
|
+
name: '';
|
|
11563
|
+
fields: {
|
|
11564
|
+
/** . */
|
|
11565
|
+
'role': {
|
|
11566
|
+
type: 'schema';
|
|
11567
|
+
isRequired: true;
|
|
11568
|
+
options: {
|
|
11569
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.RoleSchema;
|
|
11570
|
+
};
|
|
11571
|
+
};
|
|
11572
|
+
};
|
|
11573
|
+
}
|
|
11574
|
+
interface UpdateRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleResponsePayloadSchema> {
|
|
11575
|
+
}
|
|
11576
|
+
}
|
|
11577
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11578
|
+
interface UpsertPermissionContractEmitTarget {
|
|
11579
|
+
'organizationId': string;
|
|
11580
|
+
'permissionContractId': string;
|
|
11581
|
+
'roleId': string;
|
|
11582
|
+
'skillId'?: string | undefined | null;
|
|
11583
|
+
}
|
|
11584
|
+
interface UpsertPermissionContractEmitTargetSchema extends SpruceSchema.Schema {
|
|
11585
|
+
id: 'upsertPermissionContractEmitTarget';
|
|
11586
|
+
version: 'v2020_12_25';
|
|
11587
|
+
namespace: 'Mercury';
|
|
11588
|
+
name: '';
|
|
11589
|
+
fields: {
|
|
11590
|
+
/** . */
|
|
11591
|
+
'organizationId': {
|
|
11592
|
+
type: 'id';
|
|
11593
|
+
isRequired: true;
|
|
11594
|
+
options: undefined;
|
|
11595
|
+
};
|
|
11596
|
+
/** . */
|
|
11597
|
+
'permissionContractId': {
|
|
11598
|
+
type: 'id';
|
|
11599
|
+
isRequired: true;
|
|
11600
|
+
options: undefined;
|
|
11601
|
+
};
|
|
11602
|
+
/** . */
|
|
11603
|
+
'roleId': {
|
|
11604
|
+
type: 'id';
|
|
11605
|
+
isRequired: true;
|
|
11606
|
+
options: undefined;
|
|
11607
|
+
};
|
|
11608
|
+
/** . */
|
|
11609
|
+
'skillId': {
|
|
11610
|
+
type: 'id';
|
|
11611
|
+
options: undefined;
|
|
11612
|
+
};
|
|
11613
|
+
};
|
|
11614
|
+
}
|
|
11615
|
+
interface UpsertPermissionContractEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema> {
|
|
11616
|
+
}
|
|
11617
|
+
}
|
|
11618
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11619
|
+
interface UpsertPermissionContractEmitTargetAndPayload {
|
|
11620
|
+
/** Source. */
|
|
11621
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11622
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTarget;
|
|
11623
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayload;
|
|
11624
|
+
}
|
|
11625
|
+
interface UpsertPermissionContractEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11626
|
+
id: 'upsertPermissionContractEmitTargetAndPayload';
|
|
11627
|
+
version: 'v2020_12_25';
|
|
11628
|
+
namespace: 'Mercury';
|
|
11629
|
+
name: '';
|
|
11630
|
+
fields: {
|
|
11631
|
+
/** Source. */
|
|
11632
|
+
'source': {
|
|
11633
|
+
label: 'Source';
|
|
11634
|
+
type: 'schema';
|
|
11635
|
+
options: {
|
|
11636
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11637
|
+
};
|
|
11638
|
+
};
|
|
11639
|
+
/** . */
|
|
11640
|
+
'target': {
|
|
11641
|
+
type: 'schema';
|
|
11642
|
+
isRequired: true;
|
|
11643
|
+
options: {
|
|
11644
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema;
|
|
11645
|
+
};
|
|
11646
|
+
};
|
|
11647
|
+
/** . */
|
|
11648
|
+
'payload': {
|
|
11649
|
+
type: 'schema';
|
|
11650
|
+
isRequired: true;
|
|
11651
|
+
options: {
|
|
11652
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema;
|
|
11653
|
+
};
|
|
11654
|
+
};
|
|
11655
|
+
};
|
|
11656
|
+
}
|
|
11657
|
+
interface UpsertPermissionContractEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetAndPayloadSchema> {
|
|
11658
|
+
}
|
|
11659
|
+
}
|
|
11660
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11661
|
+
interface UpsertPermissionContractsEmitPayload {
|
|
11662
|
+
/** Name. Human readable name for this contract */
|
|
11663
|
+
'name': string;
|
|
11664
|
+
/** Description. */
|
|
11665
|
+
'description'?: string | undefined | null;
|
|
11666
|
+
/** Require all permissions. */
|
|
11667
|
+
'requireAllPermissions'?: boolean | undefined | null;
|
|
11668
|
+
'permissions': SpruceSchemas.Mercury.v2020_12_25.Permission[];
|
|
11669
|
+
}
|
|
11670
|
+
interface UpsertPermissionContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
11671
|
+
id: 'upsertPermissionContractsEmitPayload';
|
|
11672
|
+
version: 'v2020_12_25';
|
|
11673
|
+
namespace: 'Mercury';
|
|
11674
|
+
name: '';
|
|
11675
|
+
fields: {
|
|
11676
|
+
/** Name. Human readable name for this contract */
|
|
11677
|
+
'name': {
|
|
11678
|
+
label: 'Name';
|
|
11679
|
+
type: 'text';
|
|
11680
|
+
isRequired: true;
|
|
11681
|
+
hint: 'Human readable name for this contract';
|
|
11682
|
+
options: undefined;
|
|
11683
|
+
};
|
|
11684
|
+
/** Description. */
|
|
11685
|
+
'description': {
|
|
11686
|
+
label: 'Description';
|
|
11687
|
+
type: 'text';
|
|
11688
|
+
options: undefined;
|
|
11689
|
+
};
|
|
11690
|
+
/** Require all permissions. */
|
|
11691
|
+
'requireAllPermissions': {
|
|
11692
|
+
label: 'Require all permissions';
|
|
11693
|
+
type: 'boolean';
|
|
11694
|
+
defaultValue: false;
|
|
11695
|
+
options: undefined;
|
|
11696
|
+
};
|
|
11697
|
+
/** . */
|
|
11698
|
+
'permissions': {
|
|
11699
|
+
type: 'schema';
|
|
11700
|
+
isRequired: true;
|
|
11701
|
+
isArray: true;
|
|
11702
|
+
minArrayLength: 0;
|
|
11703
|
+
options: {
|
|
11704
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionSchema;
|
|
11705
|
+
};
|
|
11706
|
+
};
|
|
11707
|
+
};
|
|
11708
|
+
}
|
|
11709
|
+
interface UpsertPermissionContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema> {
|
|
11710
|
+
}
|
|
11711
|
+
}
|
|
11712
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11713
|
+
interface UpsertPermissionContractResponsePayload {
|
|
11714
|
+
'permissionContract': SpruceSchemas.Mercury.v2020_12_25.PermissionContract;
|
|
11715
|
+
}
|
|
11716
|
+
interface UpsertPermissionContractResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11717
|
+
id: 'upsertPermissionContractResponsePayload';
|
|
11718
|
+
version: 'v2020_12_25';
|
|
11719
|
+
namespace: 'Mercury';
|
|
11720
|
+
name: '';
|
|
11721
|
+
fields: {
|
|
11722
|
+
/** . */
|
|
11723
|
+
'permissionContract': {
|
|
11724
|
+
type: 'schema';
|
|
11725
|
+
isRequired: true;
|
|
11726
|
+
options: {
|
|
11727
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionContractSchema;
|
|
11728
|
+
};
|
|
11729
|
+
};
|
|
11730
|
+
};
|
|
11731
|
+
}
|
|
11732
|
+
interface UpsertPermissionContractResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractResponsePayloadSchema> {
|
|
11733
|
+
}
|
|
11734
|
+
}
|
|
11735
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11736
|
+
interface VoteForFeatureEmitPayload {
|
|
11737
|
+
'featureKey': string;
|
|
11738
|
+
'skillNamespace': string;
|
|
11739
|
+
}
|
|
11740
|
+
interface VoteForFeatureEmitPayloadSchema extends SpruceSchema.Schema {
|
|
11741
|
+
id: 'voteForFeatureEmitPayload';
|
|
11742
|
+
version: 'v2020_12_25';
|
|
11743
|
+
namespace: 'Mercury';
|
|
11744
|
+
name: '';
|
|
11745
|
+
fields: {
|
|
11746
|
+
/** . */
|
|
11747
|
+
'featureKey': {
|
|
11748
|
+
type: 'id';
|
|
11749
|
+
isRequired: true;
|
|
11750
|
+
options: undefined;
|
|
11751
|
+
};
|
|
11752
|
+
/** . */
|
|
11753
|
+
'skillNamespace': {
|
|
11754
|
+
type: 'id';
|
|
11755
|
+
isRequired: true;
|
|
11756
|
+
options: undefined;
|
|
11757
|
+
};
|
|
11758
|
+
};
|
|
11759
|
+
}
|
|
11760
|
+
interface VoteForFeatureEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema> {
|
|
11761
|
+
}
|
|
11762
|
+
}
|
|
11763
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11764
|
+
interface VoteForFeatureEmitTargetAndPayload {
|
|
11765
|
+
/** Source. */
|
|
11766
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11767
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayload;
|
|
11768
|
+
}
|
|
11769
|
+
interface VoteForFeatureEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11770
|
+
id: 'voteForFeatureEmitTargetAndPayload';
|
|
11771
|
+
version: 'v2020_12_25';
|
|
11772
|
+
namespace: 'Mercury';
|
|
11773
|
+
name: '';
|
|
11774
|
+
fields: {
|
|
11775
|
+
/** Source. */
|
|
11776
|
+
'source': {
|
|
11777
|
+
label: 'Source';
|
|
11778
|
+
type: 'schema';
|
|
11779
|
+
options: {
|
|
11780
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11781
|
+
};
|
|
11782
|
+
};
|
|
11783
|
+
/** . */
|
|
11784
|
+
'payload': {
|
|
11785
|
+
type: 'schema';
|
|
11786
|
+
isRequired: true;
|
|
11787
|
+
options: {
|
|
11788
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema;
|
|
11789
|
+
};
|
|
11790
|
+
};
|
|
11791
|
+
};
|
|
11792
|
+
}
|
|
11793
|
+
interface VoteForFeatureEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitTargetAndPayloadSchema> {
|
|
11794
|
+
}
|
|
11795
|
+
}
|
|
11796
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11797
|
+
interface VoteForFeatureResponsePayload {
|
|
11798
|
+
'totalVotes': number;
|
|
11799
|
+
}
|
|
11800
|
+
interface VoteForFeatureResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11801
|
+
id: 'voteForFeatureResponsePayload';
|
|
11802
|
+
version: 'v2020_12_25';
|
|
11803
|
+
namespace: 'Mercury';
|
|
11804
|
+
name: '';
|
|
11805
|
+
fields: {
|
|
11806
|
+
/** . */
|
|
11807
|
+
'totalVotes': {
|
|
11808
|
+
type: 'number';
|
|
11809
|
+
isRequired: true;
|
|
11810
|
+
options: undefined;
|
|
11811
|
+
};
|
|
11812
|
+
};
|
|
11813
|
+
}
|
|
11814
|
+
interface VoteForFeatureResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureResponsePayloadSchema> {
|
|
11815
|
+
}
|
|
11816
|
+
}
|
|
11817
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11818
|
+
interface WhoamiEmitTargetAndPayload {
|
|
11819
|
+
/** Source. */
|
|
11820
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11821
|
+
}
|
|
11822
|
+
interface WhoamiEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11823
|
+
id: 'whoamiEmitTargetAndPayload';
|
|
11824
|
+
version: 'v2020_12_25';
|
|
11825
|
+
namespace: 'Mercury';
|
|
11826
|
+
name: '';
|
|
11827
|
+
fields: {
|
|
11828
|
+
/** Source. */
|
|
11829
|
+
'source': {
|
|
11830
|
+
label: 'Source';
|
|
11831
|
+
type: 'schema';
|
|
11832
|
+
options: {
|
|
11833
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11834
|
+
};
|
|
11835
|
+
};
|
|
11836
|
+
};
|
|
11837
|
+
}
|
|
11838
|
+
interface WhoamiEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.WhoamiEmitTargetAndPayloadSchema> {
|
|
11839
|
+
}
|
|
11840
|
+
}
|
|
11841
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11842
|
+
interface DidInstallEmitTarget {
|
|
11843
|
+
'organizationId': string;
|
|
11844
|
+
'skillId': string;
|
|
11845
|
+
}
|
|
11846
|
+
interface DidInstallEmitTargetSchema extends SpruceSchema.Schema {
|
|
11847
|
+
id: 'didInstallEmitTarget';
|
|
11848
|
+
version: 'v2020_12_25';
|
|
11849
|
+
namespace: 'Mercury';
|
|
11850
|
+
name: '';
|
|
11851
|
+
fields: {
|
|
11852
|
+
/** . */
|
|
11853
|
+
'organizationId': {
|
|
11854
|
+
type: 'id';
|
|
11855
|
+
isRequired: true;
|
|
11856
|
+
options: undefined;
|
|
11857
|
+
};
|
|
11858
|
+
/** . */
|
|
11859
|
+
'skillId': {
|
|
11860
|
+
type: 'id';
|
|
11861
|
+
isRequired: true;
|
|
11862
|
+
options: undefined;
|
|
11863
|
+
};
|
|
11864
|
+
};
|
|
11865
|
+
}
|
|
11866
|
+
interface DidInstallEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema> {
|
|
11867
|
+
}
|
|
11868
|
+
}
|
|
11869
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11870
|
+
interface DidInstallEmitTargetAndPayload {
|
|
11871
|
+
/** Source. */
|
|
11872
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11873
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTarget;
|
|
11874
|
+
}
|
|
11875
|
+
interface DidInstallEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11876
|
+
id: 'didInstallEmitTargetAndPayload';
|
|
11877
|
+
version: 'v2020_12_25';
|
|
11878
|
+
namespace: 'Mercury';
|
|
11879
|
+
name: '';
|
|
11880
|
+
fields: {
|
|
11881
|
+
/** Source. */
|
|
11882
|
+
'source': {
|
|
11883
|
+
label: 'Source';
|
|
11884
|
+
type: 'schema';
|
|
11885
|
+
options: {
|
|
11886
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11887
|
+
};
|
|
11888
|
+
};
|
|
11889
|
+
/** . */
|
|
11890
|
+
'target': {
|
|
11891
|
+
type: 'schema';
|
|
11892
|
+
isRequired: true;
|
|
11893
|
+
options: {
|
|
11894
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema;
|
|
11895
|
+
};
|
|
11896
|
+
};
|
|
11897
|
+
};
|
|
11898
|
+
}
|
|
11899
|
+
interface DidInstallEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetAndPayloadSchema> {
|
|
11900
|
+
}
|
|
11901
|
+
}
|
|
11902
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11903
|
+
interface DidInstallResponsePayload {
|
|
11904
|
+
}
|
|
11905
|
+
interface DidInstallResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11906
|
+
id: 'didInstallResponsePayload';
|
|
11907
|
+
version: 'v2020_12_25';
|
|
11908
|
+
namespace: 'Mercury';
|
|
11909
|
+
name: '';
|
|
11910
|
+
fields: {};
|
|
11911
|
+
}
|
|
11912
|
+
interface DidInstallResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallResponsePayloadSchema> {
|
|
11913
|
+
}
|
|
11914
|
+
}
|
|
11915
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11916
|
+
interface DidJoinOrganizationEmitTarget {
|
|
11917
|
+
'organizationId': string;
|
|
11918
|
+
'locationId'?: string | undefined | null;
|
|
11919
|
+
}
|
|
11920
|
+
interface DidJoinOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
11921
|
+
id: 'didJoinOrganizationEmitTarget';
|
|
11922
|
+
version: 'v2020_12_25';
|
|
11923
|
+
namespace: 'Mercury';
|
|
11924
|
+
name: '';
|
|
11925
|
+
fields: {
|
|
11926
|
+
/** . */
|
|
11927
|
+
'organizationId': {
|
|
11928
|
+
type: 'id';
|
|
11929
|
+
isRequired: true;
|
|
11930
|
+
options: undefined;
|
|
11931
|
+
};
|
|
11932
|
+
/** . */
|
|
11933
|
+
'locationId': {
|
|
11934
|
+
type: 'id';
|
|
11935
|
+
options: undefined;
|
|
11936
|
+
};
|
|
11937
|
+
};
|
|
11938
|
+
}
|
|
11939
|
+
interface DidJoinOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema> {
|
|
11940
|
+
}
|
|
11941
|
+
}
|
|
11942
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11943
|
+
interface DidJoinOrganizationEmitPayload {
|
|
11944
|
+
'personId': string;
|
|
11945
|
+
'roleId': string;
|
|
11946
|
+
'isFirstRole': boolean;
|
|
11947
|
+
}
|
|
11948
|
+
interface DidJoinOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
11949
|
+
id: 'didJoinOrganizationEmitPayload';
|
|
11950
|
+
version: 'v2020_12_25';
|
|
11951
|
+
namespace: 'Mercury';
|
|
11952
|
+
name: '';
|
|
11953
|
+
fields: {
|
|
11954
|
+
/** . */
|
|
11955
|
+
'personId': {
|
|
11956
|
+
type: 'id';
|
|
11957
|
+
isRequired: true;
|
|
11958
|
+
options: undefined;
|
|
11959
|
+
};
|
|
11960
|
+
/** . */
|
|
11961
|
+
'roleId': {
|
|
11962
|
+
type: 'id';
|
|
11963
|
+
isRequired: true;
|
|
11964
|
+
options: undefined;
|
|
11965
|
+
};
|
|
11966
|
+
/** . */
|
|
11967
|
+
'isFirstRole': {
|
|
11968
|
+
type: 'boolean';
|
|
11969
|
+
isRequired: true;
|
|
11970
|
+
options: undefined;
|
|
11971
|
+
};
|
|
11972
|
+
};
|
|
11973
|
+
}
|
|
11974
|
+
interface DidJoinOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema> {
|
|
11975
|
+
}
|
|
11976
|
+
}
|
|
11977
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11978
|
+
interface DidJoinOrganizationEmitTargetAndPayload {
|
|
11979
|
+
/** Source. */
|
|
11980
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11981
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTarget;
|
|
11982
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayload;
|
|
11983
|
+
}
|
|
11984
|
+
interface DidJoinOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11985
|
+
id: 'didJoinOrganizationEmitTargetAndPayload';
|
|
11986
|
+
version: 'v2020_12_25';
|
|
11987
|
+
namespace: 'Mercury';
|
|
11988
|
+
name: '';
|
|
11989
|
+
fields: {
|
|
11990
|
+
/** Source. */
|
|
11991
|
+
'source': {
|
|
11992
|
+
label: 'Source';
|
|
11993
|
+
type: 'schema';
|
|
11994
|
+
options: {
|
|
11995
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11996
|
+
};
|
|
11997
|
+
};
|
|
11998
|
+
/** . */
|
|
11999
|
+
'target': {
|
|
12000
|
+
type: 'schema';
|
|
12001
|
+
isRequired: true;
|
|
12002
|
+
options: {
|
|
12003
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema;
|
|
12004
|
+
};
|
|
12005
|
+
};
|
|
12006
|
+
/** . */
|
|
12007
|
+
'payload': {
|
|
12008
|
+
type: 'schema';
|
|
12009
|
+
isRequired: true;
|
|
12010
|
+
options: {
|
|
12011
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema;
|
|
12012
|
+
};
|
|
12013
|
+
};
|
|
12014
|
+
};
|
|
12015
|
+
}
|
|
12016
|
+
interface DidJoinOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetAndPayloadSchema> {
|
|
12017
|
+
}
|
|
12018
|
+
}
|
|
12019
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12020
|
+
interface MessageTemplateAddons {
|
|
12021
|
+
'nextINeedYouTo'?: string[] | undefined | null;
|
|
12022
|
+
'youShouldKnowThat'?: string[] | undefined | null;
|
|
12023
|
+
'links'?: SpruceSchemas.Spruce.v2020_07_22.Link[] | undefined | null;
|
|
12024
|
+
}
|
|
12025
|
+
interface MessageTemplateAddonsSchema extends SpruceSchema.Schema {
|
|
12026
|
+
id: 'messageTemplateAddons';
|
|
12027
|
+
version: 'v2020_12_25';
|
|
12028
|
+
namespace: 'Mercury';
|
|
12029
|
+
name: '';
|
|
12030
|
+
fields: {
|
|
12031
|
+
/** . */
|
|
12032
|
+
'nextINeedYouTo': {
|
|
12033
|
+
type: 'text';
|
|
12034
|
+
isArray: true;
|
|
12035
|
+
options: undefined;
|
|
12036
|
+
};
|
|
12037
|
+
/** . */
|
|
12038
|
+
'youShouldKnowThat': {
|
|
12039
|
+
type: 'text';
|
|
12040
|
+
isArray: true;
|
|
12041
|
+
options: undefined;
|
|
12042
|
+
};
|
|
12043
|
+
/** . */
|
|
12044
|
+
'links': {
|
|
12045
|
+
type: 'schema';
|
|
12046
|
+
isArray: true;
|
|
12047
|
+
minArrayLength: 0;
|
|
12048
|
+
options: {
|
|
12049
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.LinkSchema;
|
|
12050
|
+
};
|
|
12051
|
+
};
|
|
12052
|
+
};
|
|
12053
|
+
}
|
|
12054
|
+
interface MessageTemplateAddonsEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema> {
|
|
12055
|
+
}
|
|
12056
|
+
}
|
|
12057
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12058
|
+
interface DidJoinOrganizationResponsePayload {
|
|
12059
|
+
'messaging'?: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddons | undefined | null;
|
|
12060
|
+
}
|
|
12061
|
+
interface DidJoinOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12062
|
+
id: 'didJoinOrganizationResponsePayload';
|
|
12063
|
+
version: 'v2020_12_25';
|
|
12064
|
+
namespace: 'Mercury';
|
|
12065
|
+
name: '';
|
|
12066
|
+
fields: {
|
|
12067
|
+
/** . */
|
|
12068
|
+
'messaging': {
|
|
12069
|
+
type: 'schema';
|
|
12070
|
+
options: {
|
|
12071
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema;
|
|
12052
12072
|
};
|
|
12053
12073
|
};
|
|
12054
|
-
|
|
12055
|
-
|
|
12056
|
-
|
|
12057
|
-
|
|
12058
|
-
|
|
12059
|
-
|
|
12074
|
+
};
|
|
12075
|
+
}
|
|
12076
|
+
interface DidJoinOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationResponsePayloadSchema> {
|
|
12077
|
+
}
|
|
12078
|
+
}
|
|
12079
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12080
|
+
interface DidLeaveOrganizationEmitTarget {
|
|
12081
|
+
'organizationId': string;
|
|
12082
|
+
'locationId'?: string | undefined | null;
|
|
12083
|
+
}
|
|
12084
|
+
interface DidLeaveOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
12085
|
+
id: 'didLeaveOrganizationEmitTarget';
|
|
12086
|
+
version: 'v2020_12_25';
|
|
12087
|
+
namespace: 'Mercury';
|
|
12088
|
+
name: '';
|
|
12089
|
+
fields: {
|
|
12090
|
+
/** . */
|
|
12091
|
+
'organizationId': {
|
|
12092
|
+
type: 'id';
|
|
12093
|
+
isRequired: true;
|
|
12094
|
+
options: undefined;
|
|
12095
|
+
};
|
|
12096
|
+
/** . */
|
|
12097
|
+
'locationId': {
|
|
12098
|
+
type: 'id';
|
|
12060
12099
|
options: undefined;
|
|
12061
12100
|
};
|
|
12062
12101
|
};
|
|
12063
12102
|
}
|
|
12064
|
-
interface
|
|
12103
|
+
interface DidLeaveOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema> {
|
|
12065
12104
|
}
|
|
12066
12105
|
}
|
|
12067
12106
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12068
|
-
interface
|
|
12107
|
+
interface DidLeaveOrganizationEmitPayload {
|
|
12108
|
+
'personId': string;
|
|
12109
|
+
'roleId': string;
|
|
12110
|
+
'isLastRole': boolean;
|
|
12111
|
+
}
|
|
12112
|
+
interface DidLeaveOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12113
|
+
id: 'didLeaveOrganizationEmitPayload';
|
|
12114
|
+
version: 'v2020_12_25';
|
|
12115
|
+
namespace: 'Mercury';
|
|
12116
|
+
name: '';
|
|
12117
|
+
fields: {
|
|
12118
|
+
/** . */
|
|
12119
|
+
'personId': {
|
|
12120
|
+
type: 'id';
|
|
12121
|
+
isRequired: true;
|
|
12122
|
+
options: undefined;
|
|
12123
|
+
};
|
|
12124
|
+
/** . */
|
|
12125
|
+
'roleId': {
|
|
12126
|
+
type: 'id';
|
|
12127
|
+
isRequired: true;
|
|
12128
|
+
options: undefined;
|
|
12129
|
+
};
|
|
12130
|
+
/** . */
|
|
12131
|
+
'isLastRole': {
|
|
12132
|
+
type: 'boolean';
|
|
12133
|
+
isRequired: true;
|
|
12134
|
+
options: undefined;
|
|
12135
|
+
};
|
|
12136
|
+
};
|
|
12137
|
+
}
|
|
12138
|
+
interface DidLeaveOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema> {
|
|
12139
|
+
}
|
|
12140
|
+
}
|
|
12141
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12142
|
+
interface DidLeaveOrganizationEmitTargetAndPayload {
|
|
12069
12143
|
/** Source. */
|
|
12070
12144
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12071
|
-
'target'
|
|
12072
|
-
'payload'
|
|
12145
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTarget;
|
|
12146
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayload;
|
|
12073
12147
|
}
|
|
12074
|
-
interface
|
|
12075
|
-
id: '
|
|
12148
|
+
interface DidLeaveOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12149
|
+
id: 'didLeaveOrganizationEmitTargetAndPayload';
|
|
12076
12150
|
version: 'v2020_12_25';
|
|
12077
12151
|
namespace: 'Mercury';
|
|
12078
12152
|
name: '';
|
|
@@ -12088,315 +12162,225 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12088
12162
|
/** . */
|
|
12089
12163
|
'target': {
|
|
12090
12164
|
type: 'schema';
|
|
12165
|
+
isRequired: true;
|
|
12091
12166
|
options: {
|
|
12092
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12167
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema;
|
|
12093
12168
|
};
|
|
12094
12169
|
};
|
|
12095
12170
|
/** . */
|
|
12096
12171
|
'payload': {
|
|
12097
12172
|
type: 'schema';
|
|
12173
|
+
isRequired: true;
|
|
12098
12174
|
options: {
|
|
12099
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12175
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema;
|
|
12100
12176
|
};
|
|
12101
12177
|
};
|
|
12102
12178
|
};
|
|
12103
12179
|
}
|
|
12104
|
-
interface
|
|
12180
|
+
interface DidLeaveOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetAndPayloadSchema> {
|
|
12105
12181
|
}
|
|
12106
12182
|
}
|
|
12107
12183
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12108
|
-
interface
|
|
12109
|
-
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
12184
|
+
interface DidLeaveOrganizationResponsePayload {
|
|
12110
12185
|
}
|
|
12111
|
-
interface
|
|
12112
|
-
id: '
|
|
12186
|
+
interface DidLeaveOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12187
|
+
id: 'didLeaveOrganizationResponsePayload';
|
|
12113
12188
|
version: 'v2020_12_25';
|
|
12114
12189
|
namespace: 'Mercury';
|
|
12115
12190
|
name: '';
|
|
12116
|
-
fields: {
|
|
12117
|
-
/** . */
|
|
12118
|
-
'person': {
|
|
12119
|
-
type: 'schema';
|
|
12120
|
-
isRequired: true;
|
|
12121
|
-
options: {
|
|
12122
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
12123
|
-
};
|
|
12124
|
-
};
|
|
12125
|
-
};
|
|
12191
|
+
fields: {};
|
|
12126
12192
|
}
|
|
12127
|
-
interface
|
|
12193
|
+
interface DidLeaveOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationResponsePayloadSchema> {
|
|
12128
12194
|
}
|
|
12129
12195
|
}
|
|
12130
12196
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12131
|
-
interface
|
|
12132
|
-
'
|
|
12197
|
+
interface DidMessageEmitPayload {
|
|
12198
|
+
'message': SpruceSchemas.Spruce.v2020_07_22.Message;
|
|
12199
|
+
'conversationState'?: string | undefined | null;
|
|
12200
|
+
'topic'?: string | undefined | null;
|
|
12133
12201
|
}
|
|
12134
|
-
interface
|
|
12135
|
-
id: '
|
|
12202
|
+
interface DidMessageEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12203
|
+
id: 'didMessageEmitPayload';
|
|
12136
12204
|
version: 'v2020_12_25';
|
|
12137
12205
|
namespace: 'Mercury';
|
|
12138
12206
|
name: '';
|
|
12139
12207
|
fields: {
|
|
12140
12208
|
/** . */
|
|
12141
|
-
'
|
|
12142
|
-
type: '
|
|
12209
|
+
'message': {
|
|
12210
|
+
type: 'schema';
|
|
12143
12211
|
isRequired: true;
|
|
12212
|
+
options: {
|
|
12213
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.MessageSchema;
|
|
12214
|
+
};
|
|
12215
|
+
};
|
|
12216
|
+
/** . */
|
|
12217
|
+
'conversationState': {
|
|
12218
|
+
type: 'text';
|
|
12219
|
+
options: undefined;
|
|
12220
|
+
};
|
|
12221
|
+
/** . */
|
|
12222
|
+
'topic': {
|
|
12223
|
+
type: 'text';
|
|
12144
12224
|
options: undefined;
|
|
12145
12225
|
};
|
|
12146
12226
|
};
|
|
12147
12227
|
}
|
|
12148
|
-
interface
|
|
12228
|
+
interface DidMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema> {
|
|
12149
12229
|
}
|
|
12150
12230
|
}
|
|
12151
12231
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12152
|
-
interface
|
|
12153
|
-
|
|
12154
|
-
'
|
|
12155
|
-
|
|
12156
|
-
'base'?: ("owner" | "groupManager" | "manager" | "teammate" | "anonymous" | "loggedIn" | "guest") | undefined | null;
|
|
12157
|
-
/** Description. */
|
|
12158
|
-
'description'?: string | undefined | null;
|
|
12159
|
-
'dateDeleted'?: number | undefined | null;
|
|
12160
|
-
'organizationId'?: string | undefined | null;
|
|
12161
|
-
/** Public. Should I let people that are not part of this organization this role? */
|
|
12162
|
-
'isPublic'?: boolean | undefined | null;
|
|
12232
|
+
interface ConversationTopic {
|
|
12233
|
+
'key': string;
|
|
12234
|
+
'confidence': number;
|
|
12235
|
+
'label': string;
|
|
12163
12236
|
}
|
|
12164
|
-
interface
|
|
12165
|
-
id: '
|
|
12237
|
+
interface ConversationTopicSchema extends SpruceSchema.Schema {
|
|
12238
|
+
id: 'conversationTopic';
|
|
12166
12239
|
version: 'v2020_12_25';
|
|
12167
12240
|
namespace: 'Mercury';
|
|
12168
12241
|
name: '';
|
|
12169
12242
|
fields: {
|
|
12170
|
-
/**
|
|
12171
|
-
'
|
|
12172
|
-
label: 'Name';
|
|
12173
|
-
type: 'text';
|
|
12174
|
-
options: undefined;
|
|
12175
|
-
};
|
|
12176
|
-
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
12177
|
-
'base': {
|
|
12178
|
-
label: 'Base';
|
|
12179
|
-
type: 'select';
|
|
12180
|
-
hint: 'A best practices starting point for a role based on the generalized roles at a company.';
|
|
12181
|
-
options: {
|
|
12182
|
-
choices: [{
|
|
12183
|
-
"label": "Owner";
|
|
12184
|
-
"value": "owner";
|
|
12185
|
-
}, {
|
|
12186
|
-
"label": "Group manager";
|
|
12187
|
-
"value": "groupManager";
|
|
12188
|
-
}, {
|
|
12189
|
-
"label": "Manager";
|
|
12190
|
-
"value": "manager";
|
|
12191
|
-
}, {
|
|
12192
|
-
"label": "Teammate";
|
|
12193
|
-
"value": "teammate";
|
|
12194
|
-
}, {
|
|
12195
|
-
"label": "Anonymous";
|
|
12196
|
-
"value": "anonymous";
|
|
12197
|
-
}, {
|
|
12198
|
-
"label": "Logged in";
|
|
12199
|
-
"value": "loggedIn";
|
|
12200
|
-
}, {
|
|
12201
|
-
"label": "Guest";
|
|
12202
|
-
"value": "guest";
|
|
12203
|
-
}];
|
|
12204
|
-
};
|
|
12205
|
-
};
|
|
12206
|
-
/** Description. */
|
|
12207
|
-
'description': {
|
|
12208
|
-
label: 'Description';
|
|
12243
|
+
/** . */
|
|
12244
|
+
'key': {
|
|
12209
12245
|
type: 'text';
|
|
12246
|
+
isRequired: true;
|
|
12210
12247
|
options: undefined;
|
|
12211
12248
|
};
|
|
12212
12249
|
/** . */
|
|
12213
|
-
'
|
|
12250
|
+
'confidence': {
|
|
12214
12251
|
type: 'number';
|
|
12252
|
+
isRequired: true;
|
|
12215
12253
|
options: undefined;
|
|
12216
12254
|
};
|
|
12217
12255
|
/** . */
|
|
12218
|
-
'
|
|
12219
|
-
type: '
|
|
12220
|
-
|
|
12221
|
-
};
|
|
12222
|
-
/** Public. Should I let people that are not part of this organization this role? */
|
|
12223
|
-
'isPublic': {
|
|
12224
|
-
label: 'Public';
|
|
12225
|
-
type: 'boolean';
|
|
12226
|
-
hint: 'Should I let people that are not part of this organization this role?';
|
|
12256
|
+
'label': {
|
|
12257
|
+
type: 'text';
|
|
12258
|
+
isRequired: true;
|
|
12227
12259
|
options: undefined;
|
|
12228
12260
|
};
|
|
12229
12261
|
};
|
|
12230
12262
|
}
|
|
12231
|
-
interface
|
|
12263
|
+
interface ConversationTopicEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema> {
|
|
12232
12264
|
}
|
|
12233
12265
|
}
|
|
12234
12266
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12235
|
-
interface
|
|
12236
|
-
|
|
12237
|
-
'
|
|
12238
|
-
'
|
|
12239
|
-
'
|
|
12267
|
+
interface DidMessageResponsePayload {
|
|
12268
|
+
'transitionConversationTo'?: ("greeting" | "discovery" | "topic" | "closing") | undefined | null;
|
|
12269
|
+
'repairs'?: string[] | undefined | null;
|
|
12270
|
+
'topicChangers'?: string[] | undefined | null;
|
|
12271
|
+
'utterance'?: string | undefined | null;
|
|
12272
|
+
'suggestedTopics'?: SpruceSchemas.Mercury.v2020_12_25.ConversationTopic[] | undefined | null;
|
|
12240
12273
|
}
|
|
12241
|
-
interface
|
|
12242
|
-
id: '
|
|
12274
|
+
interface DidMessageResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12275
|
+
id: 'didMessageResponsePayload';
|
|
12243
12276
|
version: 'v2020_12_25';
|
|
12244
12277
|
namespace: 'Mercury';
|
|
12245
12278
|
name: '';
|
|
12246
12279
|
fields: {
|
|
12247
|
-
/**
|
|
12248
|
-
'
|
|
12249
|
-
|
|
12250
|
-
type: 'schema';
|
|
12280
|
+
/** . */
|
|
12281
|
+
'transitionConversationTo': {
|
|
12282
|
+
type: 'select';
|
|
12251
12283
|
options: {
|
|
12252
|
-
|
|
12284
|
+
choices: [{
|
|
12285
|
+
"label": "Greeting";
|
|
12286
|
+
"value": "greeting";
|
|
12287
|
+
}, {
|
|
12288
|
+
"label": "Discovery";
|
|
12289
|
+
"value": "discovery";
|
|
12290
|
+
}, {
|
|
12291
|
+
"label": "Topic";
|
|
12292
|
+
"value": "topic";
|
|
12293
|
+
}, {
|
|
12294
|
+
"label": "Closing";
|
|
12295
|
+
"value": "closing";
|
|
12296
|
+
}];
|
|
12253
12297
|
};
|
|
12254
12298
|
};
|
|
12255
12299
|
/** . */
|
|
12256
|
-
'
|
|
12257
|
-
type: '
|
|
12258
|
-
|
|
12259
|
-
options:
|
|
12260
|
-
|
|
12261
|
-
|
|
12300
|
+
'repairs': {
|
|
12301
|
+
type: 'text';
|
|
12302
|
+
isArray: true;
|
|
12303
|
+
options: undefined;
|
|
12304
|
+
};
|
|
12305
|
+
/** . */
|
|
12306
|
+
'topicChangers': {
|
|
12307
|
+
type: 'text';
|
|
12308
|
+
isArray: true;
|
|
12309
|
+
options: undefined;
|
|
12262
12310
|
};
|
|
12263
12311
|
/** . */
|
|
12264
|
-
'
|
|
12312
|
+
'utterance': {
|
|
12313
|
+
type: 'text';
|
|
12314
|
+
options: undefined;
|
|
12315
|
+
};
|
|
12316
|
+
/** . */
|
|
12317
|
+
'suggestedTopics': {
|
|
12265
12318
|
type: 'schema';
|
|
12319
|
+
isArray: true;
|
|
12266
12320
|
options: {
|
|
12267
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12321
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema;
|
|
12268
12322
|
};
|
|
12269
12323
|
};
|
|
12270
12324
|
};
|
|
12271
12325
|
}
|
|
12272
|
-
interface
|
|
12326
|
+
interface DidMessageResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageResponsePayloadSchema> {
|
|
12273
12327
|
}
|
|
12274
12328
|
}
|
|
12275
12329
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12276
|
-
interface
|
|
12277
|
-
'
|
|
12330
|
+
interface DidSignupEmitPayload {
|
|
12331
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
12278
12332
|
}
|
|
12279
|
-
interface
|
|
12280
|
-
id: '
|
|
12333
|
+
interface DidSignupEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12334
|
+
id: 'didSignupEmitPayload';
|
|
12281
12335
|
version: 'v2020_12_25';
|
|
12282
12336
|
namespace: 'Mercury';
|
|
12283
12337
|
name: '';
|
|
12284
12338
|
fields: {
|
|
12285
12339
|
/** . */
|
|
12286
|
-
'
|
|
12340
|
+
'person': {
|
|
12287
12341
|
type: 'schema';
|
|
12288
12342
|
isRequired: true;
|
|
12289
12343
|
options: {
|
|
12290
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.
|
|
12344
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
12291
12345
|
};
|
|
12292
12346
|
};
|
|
12293
12347
|
};
|
|
12294
12348
|
}
|
|
12295
|
-
interface
|
|
12296
|
-
}
|
|
12297
|
-
}
|
|
12298
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12299
|
-
interface UpsertPermissionContractEmitTarget {
|
|
12300
|
-
'organizationId': string;
|
|
12301
|
-
'permissionContractId': string;
|
|
12302
|
-
'roleId': string;
|
|
12303
|
-
'skillId'?: string | undefined | null;
|
|
12304
|
-
}
|
|
12305
|
-
interface UpsertPermissionContractEmitTargetSchema extends SpruceSchema.Schema {
|
|
12306
|
-
id: 'upsertPermissionContractEmitTarget';
|
|
12307
|
-
version: 'v2020_12_25';
|
|
12308
|
-
namespace: 'Mercury';
|
|
12309
|
-
name: '';
|
|
12310
|
-
fields: {
|
|
12311
|
-
/** . */
|
|
12312
|
-
'organizationId': {
|
|
12313
|
-
type: 'id';
|
|
12314
|
-
isRequired: true;
|
|
12315
|
-
options: undefined;
|
|
12316
|
-
};
|
|
12317
|
-
/** . */
|
|
12318
|
-
'permissionContractId': {
|
|
12319
|
-
type: 'id';
|
|
12320
|
-
isRequired: true;
|
|
12321
|
-
options: undefined;
|
|
12322
|
-
};
|
|
12323
|
-
/** . */
|
|
12324
|
-
'roleId': {
|
|
12325
|
-
type: 'id';
|
|
12326
|
-
isRequired: true;
|
|
12327
|
-
options: undefined;
|
|
12328
|
-
};
|
|
12329
|
-
/** . */
|
|
12330
|
-
'skillId': {
|
|
12331
|
-
type: 'id';
|
|
12332
|
-
options: undefined;
|
|
12333
|
-
};
|
|
12334
|
-
};
|
|
12335
|
-
}
|
|
12336
|
-
interface UpsertPermissionContractEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema> {
|
|
12349
|
+
interface DidSignupEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema> {
|
|
12337
12350
|
}
|
|
12338
12351
|
}
|
|
12339
12352
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12340
|
-
interface
|
|
12341
|
-
|
|
12342
|
-
'name': string;
|
|
12343
|
-
/** Description. */
|
|
12344
|
-
'description'?: string | undefined | null;
|
|
12345
|
-
/** Require all permissions. */
|
|
12346
|
-
'requireAllPermissions'?: boolean | undefined | null;
|
|
12347
|
-
'permissions': SpruceSchemas.Mercury.v2020_12_25.Permission[];
|
|
12353
|
+
interface DidUpdateFeedEmitPayload {
|
|
12354
|
+
'item': SpruceSchemas.Spruce.v2020_07_22.FeedItem;
|
|
12348
12355
|
}
|
|
12349
|
-
interface
|
|
12350
|
-
id: '
|
|
12356
|
+
interface DidUpdateFeedEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12357
|
+
id: 'didUpdateFeedEmitPayload';
|
|
12351
12358
|
version: 'v2020_12_25';
|
|
12352
12359
|
namespace: 'Mercury';
|
|
12353
12360
|
name: '';
|
|
12354
12361
|
fields: {
|
|
12355
|
-
/** Name. Human readable name for this contract */
|
|
12356
|
-
'name': {
|
|
12357
|
-
label: 'Name';
|
|
12358
|
-
type: 'text';
|
|
12359
|
-
isRequired: true;
|
|
12360
|
-
hint: 'Human readable name for this contract';
|
|
12361
|
-
options: undefined;
|
|
12362
|
-
};
|
|
12363
|
-
/** Description. */
|
|
12364
|
-
'description': {
|
|
12365
|
-
label: 'Description';
|
|
12366
|
-
type: 'text';
|
|
12367
|
-
options: undefined;
|
|
12368
|
-
};
|
|
12369
|
-
/** Require all permissions. */
|
|
12370
|
-
'requireAllPermissions': {
|
|
12371
|
-
label: 'Require all permissions';
|
|
12372
|
-
type: 'boolean';
|
|
12373
|
-
defaultValue: false;
|
|
12374
|
-
options: undefined;
|
|
12375
|
-
};
|
|
12376
12362
|
/** . */
|
|
12377
|
-
'
|
|
12363
|
+
'item': {
|
|
12378
12364
|
type: 'schema';
|
|
12379
12365
|
isRequired: true;
|
|
12380
|
-
isArray: true;
|
|
12381
|
-
minArrayLength: 0;
|
|
12382
12366
|
options: {
|
|
12383
|
-
schema: SpruceSchemas.
|
|
12367
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.FeedItemSchema;
|
|
12384
12368
|
};
|
|
12385
12369
|
};
|
|
12386
12370
|
};
|
|
12387
12371
|
}
|
|
12388
|
-
interface
|
|
12372
|
+
interface DidUpdateFeedEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema> {
|
|
12389
12373
|
}
|
|
12390
12374
|
}
|
|
12391
12375
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12392
|
-
interface
|
|
12376
|
+
interface DidMessageEmitTargetAndPayload {
|
|
12393
12377
|
/** Source. */
|
|
12394
12378
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12395
|
-
'target'
|
|
12396
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.
|
|
12379
|
+
'target'?: SpruceSchemas.Spruce.v2020_07_22.MessageTarget | undefined | null;
|
|
12380
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayload;
|
|
12397
12381
|
}
|
|
12398
|
-
interface
|
|
12399
|
-
id: '
|
|
12382
|
+
interface DidMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12383
|
+
id: 'didMessageEmitTargetAndPayload';
|
|
12400
12384
|
version: 'v2020_12_25';
|
|
12401
12385
|
namespace: 'Mercury';
|
|
12402
12386
|
name: '';
|
|
@@ -12412,9 +12396,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12412
12396
|
/** . */
|
|
12413
12397
|
'target': {
|
|
12414
12398
|
type: 'schema';
|
|
12415
|
-
isRequired: true;
|
|
12416
12399
|
options: {
|
|
12417
|
-
schema: SpruceSchemas.
|
|
12400
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.MessageTargetSchema;
|
|
12418
12401
|
};
|
|
12419
12402
|
};
|
|
12420
12403
|
/** . */
|
|
@@ -12422,73 +12405,64 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12422
12405
|
type: 'schema';
|
|
12423
12406
|
isRequired: true;
|
|
12424
12407
|
options: {
|
|
12425
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12408
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema;
|
|
12426
12409
|
};
|
|
12427
12410
|
};
|
|
12428
12411
|
};
|
|
12429
12412
|
}
|
|
12430
|
-
interface
|
|
12413
|
+
interface DidMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitTargetAndPayloadSchema> {
|
|
12431
12414
|
}
|
|
12432
12415
|
}
|
|
12433
12416
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12434
|
-
interface
|
|
12435
|
-
|
|
12417
|
+
interface DidSignupEmitTargetAndPayload {
|
|
12418
|
+
/** Source. */
|
|
12419
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12420
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
12421
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayload;
|
|
12436
12422
|
}
|
|
12437
|
-
interface
|
|
12438
|
-
id: '
|
|
12423
|
+
interface DidSignupEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12424
|
+
id: 'didSignupEmitTargetAndPayload';
|
|
12439
12425
|
version: 'v2020_12_25';
|
|
12440
12426
|
namespace: 'Mercury';
|
|
12441
12427
|
name: '';
|
|
12442
12428
|
fields: {
|
|
12443
|
-
/** . */
|
|
12444
|
-
'
|
|
12429
|
+
/** Source. */
|
|
12430
|
+
'source': {
|
|
12431
|
+
label: 'Source';
|
|
12445
12432
|
type: 'schema';
|
|
12446
|
-
isRequired: true;
|
|
12447
12433
|
options: {
|
|
12448
|
-
schema: SpruceSchemas.
|
|
12434
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12449
12435
|
};
|
|
12450
12436
|
};
|
|
12451
|
-
};
|
|
12452
|
-
}
|
|
12453
|
-
interface UpsertPermissionContractResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractResponsePayloadSchema> {
|
|
12454
|
-
}
|
|
12455
|
-
}
|
|
12456
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12457
|
-
interface VoteForFeatureEmitPayload {
|
|
12458
|
-
'featureKey': string;
|
|
12459
|
-
'skillNamespace': string;
|
|
12460
|
-
}
|
|
12461
|
-
interface VoteForFeatureEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12462
|
-
id: 'voteForFeatureEmitPayload';
|
|
12463
|
-
version: 'v2020_12_25';
|
|
12464
|
-
namespace: 'Mercury';
|
|
12465
|
-
name: '';
|
|
12466
|
-
fields: {
|
|
12467
12437
|
/** . */
|
|
12468
|
-
'
|
|
12469
|
-
type: '
|
|
12470
|
-
|
|
12471
|
-
|
|
12438
|
+
'target': {
|
|
12439
|
+
type: 'schema';
|
|
12440
|
+
options: {
|
|
12441
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
12442
|
+
};
|
|
12472
12443
|
};
|
|
12473
12444
|
/** . */
|
|
12474
|
-
'
|
|
12475
|
-
type: '
|
|
12445
|
+
'payload': {
|
|
12446
|
+
type: 'schema';
|
|
12476
12447
|
isRequired: true;
|
|
12477
|
-
options:
|
|
12448
|
+
options: {
|
|
12449
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema;
|
|
12450
|
+
};
|
|
12478
12451
|
};
|
|
12479
12452
|
};
|
|
12480
12453
|
}
|
|
12481
|
-
interface
|
|
12454
|
+
interface DidSignupEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitTargetAndPayloadSchema> {
|
|
12482
12455
|
}
|
|
12483
12456
|
}
|
|
12484
12457
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12485
|
-
interface
|
|
12458
|
+
interface DidUpdateFeedEmitTargetAndPayload {
|
|
12486
12459
|
/** Source. */
|
|
12487
12460
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12488
|
-
'
|
|
12461
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
12462
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayload;
|
|
12489
12463
|
}
|
|
12490
|
-
interface
|
|
12491
|
-
id: '
|
|
12464
|
+
interface DidUpdateFeedEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12465
|
+
id: 'didUpdateFeedEmitTargetAndPayload';
|
|
12492
12466
|
version: 'v2020_12_25';
|
|
12493
12467
|
namespace: 'Mercury';
|
|
12494
12468
|
name: '';
|
|
@@ -12502,46 +12476,57 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12502
12476
|
};
|
|
12503
12477
|
};
|
|
12504
12478
|
/** . */
|
|
12479
|
+
'target': {
|
|
12480
|
+
type: 'schema';
|
|
12481
|
+
options: {
|
|
12482
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
12483
|
+
};
|
|
12484
|
+
};
|
|
12485
|
+
/** . */
|
|
12505
12486
|
'payload': {
|
|
12506
12487
|
type: 'schema';
|
|
12507
12488
|
isRequired: true;
|
|
12508
12489
|
options: {
|
|
12509
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12490
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema;
|
|
12510
12491
|
};
|
|
12511
12492
|
};
|
|
12512
12493
|
};
|
|
12513
12494
|
}
|
|
12514
|
-
interface
|
|
12495
|
+
interface DidUpdateFeedEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetAndPayloadSchema> {
|
|
12515
12496
|
}
|
|
12516
12497
|
}
|
|
12517
12498
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12518
|
-
interface
|
|
12519
|
-
'
|
|
12499
|
+
interface DidUpdatePersonEmitPayload {
|
|
12500
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
12520
12501
|
}
|
|
12521
|
-
interface
|
|
12522
|
-
id: '
|
|
12502
|
+
interface DidUpdatePersonEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12503
|
+
id: 'didUpdatePersonEmitPayload';
|
|
12523
12504
|
version: 'v2020_12_25';
|
|
12524
12505
|
namespace: 'Mercury';
|
|
12525
12506
|
name: '';
|
|
12526
12507
|
fields: {
|
|
12527
12508
|
/** . */
|
|
12528
|
-
'
|
|
12529
|
-
type: '
|
|
12509
|
+
'person': {
|
|
12510
|
+
type: 'schema';
|
|
12530
12511
|
isRequired: true;
|
|
12531
|
-
options:
|
|
12512
|
+
options: {
|
|
12513
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
12514
|
+
};
|
|
12532
12515
|
};
|
|
12533
12516
|
};
|
|
12534
12517
|
}
|
|
12535
|
-
interface
|
|
12518
|
+
interface DidUpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema> {
|
|
12536
12519
|
}
|
|
12537
12520
|
}
|
|
12538
12521
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12539
|
-
interface
|
|
12522
|
+
interface DidUpdatePersonEmitTargetAndPayload {
|
|
12540
12523
|
/** Source. */
|
|
12541
12524
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12525
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
12526
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayload;
|
|
12542
12527
|
}
|
|
12543
|
-
interface
|
|
12544
|
-
id: '
|
|
12528
|
+
interface DidUpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12529
|
+
id: 'didUpdatePersonEmitTargetAndPayload';
|
|
12545
12530
|
version: 'v2020_12_25';
|
|
12546
12531
|
namespace: 'Mercury';
|
|
12547
12532
|
name: '';
|
|
@@ -12554,9 +12539,24 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12554
12539
|
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12555
12540
|
};
|
|
12556
12541
|
};
|
|
12542
|
+
/** . */
|
|
12543
|
+
'target': {
|
|
12544
|
+
type: 'schema';
|
|
12545
|
+
options: {
|
|
12546
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
12547
|
+
};
|
|
12548
|
+
};
|
|
12549
|
+
/** . */
|
|
12550
|
+
'payload': {
|
|
12551
|
+
type: 'schema';
|
|
12552
|
+
isRequired: true;
|
|
12553
|
+
options: {
|
|
12554
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema;
|
|
12555
|
+
};
|
|
12556
|
+
};
|
|
12557
12557
|
};
|
|
12558
12558
|
}
|
|
12559
|
-
interface
|
|
12559
|
+
interface DidUpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitTargetAndPayloadSchema> {
|
|
12560
12560
|
}
|
|
12561
12561
|
}
|
|
12562
12562
|
}
|