@sprucelabs/mercury-core-events 15.0.112 → 15.0.114
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 +1388 -1388
- package/build/esm/.spruce/schemas/schemas.types.d.ts +1388 -1388
- package/package.json +4 -4
|
@@ -5,41 +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
|
-
'organizationId': string;
|
|
10
|
-
'skillId': string;
|
|
11
|
-
}
|
|
12
|
-
interface DidInstallEmitTargetSchema extends SpruceSchema.Schema {
|
|
13
|
-
id: 'didInstallEmitTarget';
|
|
14
|
-
version: 'v2020_12_25';
|
|
15
|
-
namespace: 'Mercury';
|
|
16
|
-
name: '';
|
|
17
|
-
fields: {
|
|
18
|
-
/** . */
|
|
19
|
-
'organizationId': {
|
|
20
|
-
type: 'id';
|
|
21
|
-
isRequired: true;
|
|
22
|
-
options: undefined;
|
|
23
|
-
};
|
|
24
|
-
/** . */
|
|
25
|
-
'skillId': {
|
|
26
|
-
type: 'id';
|
|
27
|
-
isRequired: true;
|
|
28
|
-
options: undefined;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
interface DidInstallEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema> {
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
36
|
-
interface DidInstallEmitTargetAndPayload {
|
|
8
|
+
interface ListOrganizationsEmitTargetAndPayload {
|
|
37
9
|
/** Source. */
|
|
38
10
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
39
|
-
'target'
|
|
11
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTarget | undefined | null;
|
|
12
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayload | undefined | null;
|
|
40
13
|
}
|
|
41
|
-
interface
|
|
42
|
-
id: '
|
|
14
|
+
interface ListOrganizationsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
15
|
+
id: 'listOrganizationsEmitTargetAndPayload';
|
|
43
16
|
version: 'v2020_12_25';
|
|
44
17
|
namespace: 'Mercury';
|
|
45
18
|
name: '';
|
|
@@ -55,36 +28,29 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
55
28
|
/** . */
|
|
56
29
|
'target': {
|
|
57
30
|
type: 'schema';
|
|
58
|
-
isRequired: true;
|
|
59
31
|
options: {
|
|
60
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
32
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTargetSchema;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
/** . */
|
|
36
|
+
'payload': {
|
|
37
|
+
type: 'schema';
|
|
38
|
+
options: {
|
|
39
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayloadSchema;
|
|
61
40
|
};
|
|
62
41
|
};
|
|
63
42
|
};
|
|
64
43
|
}
|
|
65
|
-
interface
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
69
|
-
interface DidInstallResponsePayload {
|
|
70
|
-
}
|
|
71
|
-
interface DidInstallResponsePayloadSchema extends SpruceSchema.Schema {
|
|
72
|
-
id: 'didInstallResponsePayload';
|
|
73
|
-
version: 'v2020_12_25';
|
|
74
|
-
namespace: 'Mercury';
|
|
75
|
-
name: '';
|
|
76
|
-
fields: {};
|
|
77
|
-
}
|
|
78
|
-
interface DidInstallResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallResponsePayloadSchema> {
|
|
44
|
+
interface ListOrganizationsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrganizationsEmitTargetAndPayloadSchema> {
|
|
79
45
|
}
|
|
80
46
|
}
|
|
81
47
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
82
|
-
interface
|
|
83
|
-
'organizationId'
|
|
48
|
+
interface AddRoleEmitTarget {
|
|
49
|
+
'organizationId'?: string | undefined | null;
|
|
84
50
|
'locationId'?: string | undefined | null;
|
|
85
51
|
}
|
|
86
|
-
interface
|
|
87
|
-
id: '
|
|
52
|
+
interface AddRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
53
|
+
id: 'addRoleEmitTarget';
|
|
88
54
|
version: 'v2020_12_25';
|
|
89
55
|
namespace: 'Mercury';
|
|
90
56
|
name: '';
|
|
@@ -92,7 +58,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
92
58
|
/** . */
|
|
93
59
|
'organizationId': {
|
|
94
60
|
type: 'id';
|
|
95
|
-
isRequired: true;
|
|
96
61
|
options: undefined;
|
|
97
62
|
};
|
|
98
63
|
/** . */
|
|
@@ -102,17 +67,16 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
102
67
|
};
|
|
103
68
|
};
|
|
104
69
|
}
|
|
105
|
-
interface
|
|
70
|
+
interface AddRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema> {
|
|
106
71
|
}
|
|
107
72
|
}
|
|
108
73
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
109
|
-
interface
|
|
74
|
+
interface AddRoleEmitPayload {
|
|
110
75
|
'personId': string;
|
|
111
76
|
'roleId': string;
|
|
112
|
-
'isFirstRole': boolean;
|
|
113
77
|
}
|
|
114
|
-
interface
|
|
115
|
-
id: '
|
|
78
|
+
interface AddRoleEmitPayloadSchema extends SpruceSchema.Schema {
|
|
79
|
+
id: 'addRoleEmitPayload';
|
|
116
80
|
version: 'v2020_12_25';
|
|
117
81
|
namespace: 'Mercury';
|
|
118
82
|
name: '';
|
|
@@ -129,26 +93,20 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
129
93
|
isRequired: true;
|
|
130
94
|
options: undefined;
|
|
131
95
|
};
|
|
132
|
-
/** . */
|
|
133
|
-
'isFirstRole': {
|
|
134
|
-
type: 'boolean';
|
|
135
|
-
isRequired: true;
|
|
136
|
-
options: undefined;
|
|
137
|
-
};
|
|
138
96
|
};
|
|
139
97
|
}
|
|
140
|
-
interface
|
|
98
|
+
interface AddRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema> {
|
|
141
99
|
}
|
|
142
100
|
}
|
|
143
101
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
144
|
-
interface
|
|
102
|
+
interface AddRoleEmitTargetAndPayload {
|
|
145
103
|
/** Source. */
|
|
146
104
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
147
|
-
'target'
|
|
148
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.
|
|
105
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTarget | undefined | null;
|
|
106
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayload;
|
|
149
107
|
}
|
|
150
|
-
interface
|
|
151
|
-
id: '
|
|
108
|
+
interface AddRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
109
|
+
id: 'addRoleEmitTargetAndPayload';
|
|
152
110
|
version: 'v2020_12_25';
|
|
153
111
|
namespace: 'Mercury';
|
|
154
112
|
name: '';
|
|
@@ -164,9 +122,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
164
122
|
/** . */
|
|
165
123
|
'target': {
|
|
166
124
|
type: 'schema';
|
|
167
|
-
isRequired: true;
|
|
168
125
|
options: {
|
|
169
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
126
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema;
|
|
170
127
|
};
|
|
171
128
|
};
|
|
172
129
|
/** . */
|
|
@@ -174,235 +131,238 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
174
131
|
type: 'schema';
|
|
175
132
|
isRequired: true;
|
|
176
133
|
options: {
|
|
177
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
134
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema;
|
|
178
135
|
};
|
|
179
136
|
};
|
|
180
137
|
};
|
|
181
138
|
}
|
|
182
|
-
interface
|
|
139
|
+
interface AddRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetAndPayloadSchema> {
|
|
183
140
|
}
|
|
184
141
|
}
|
|
185
142
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
186
|
-
interface
|
|
187
|
-
'nextINeedYouTo'?: string[] | undefined | null;
|
|
188
|
-
'youShouldKnowThat'?: string[] | undefined | null;
|
|
189
|
-
'links'?: SpruceSchemas.Spruce.v2020_07_22.Link[] | undefined | null;
|
|
143
|
+
interface AddRoleResponsePayload {
|
|
190
144
|
}
|
|
191
|
-
interface
|
|
192
|
-
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';
|
|
193
163
|
version: 'v2020_12_25';
|
|
194
164
|
namespace: 'Mercury';
|
|
195
165
|
name: '';
|
|
196
166
|
fields: {
|
|
197
167
|
/** . */
|
|
198
|
-
'
|
|
168
|
+
'token': {
|
|
199
169
|
type: 'text';
|
|
200
|
-
isArray: true;
|
|
201
170
|
options: undefined;
|
|
202
171
|
};
|
|
203
172
|
/** . */
|
|
204
|
-
'
|
|
173
|
+
'skillId': {
|
|
205
174
|
type: 'text';
|
|
206
|
-
isArray: true;
|
|
207
175
|
options: undefined;
|
|
208
176
|
};
|
|
209
177
|
/** . */
|
|
210
|
-
'
|
|
211
|
-
type: '
|
|
212
|
-
|
|
213
|
-
minArrayLength: 0;
|
|
214
|
-
options: {
|
|
215
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.LinkSchema;
|
|
216
|
-
};
|
|
178
|
+
'apiKey': {
|
|
179
|
+
type: 'text';
|
|
180
|
+
options: undefined;
|
|
217
181
|
};
|
|
218
182
|
};
|
|
219
183
|
}
|
|
220
|
-
interface
|
|
184
|
+
interface AuthenticateEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema> {
|
|
221
185
|
}
|
|
222
186
|
}
|
|
223
187
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
224
|
-
interface
|
|
225
|
-
|
|
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;
|
|
226
192
|
}
|
|
227
|
-
interface
|
|
228
|
-
id: '
|
|
193
|
+
interface AuthenticateEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
194
|
+
id: 'authenticateEmitTargetAndPayload';
|
|
229
195
|
version: 'v2020_12_25';
|
|
230
196
|
namespace: 'Mercury';
|
|
231
197
|
name: '';
|
|
232
198
|
fields: {
|
|
199
|
+
/** Source. */
|
|
200
|
+
'source': {
|
|
201
|
+
label: 'Source';
|
|
202
|
+
type: 'schema';
|
|
203
|
+
options: {
|
|
204
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
233
207
|
/** . */
|
|
234
|
-
'
|
|
208
|
+
'payload': {
|
|
235
209
|
type: 'schema';
|
|
236
210
|
options: {
|
|
237
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
211
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema;
|
|
238
212
|
};
|
|
239
213
|
};
|
|
240
214
|
};
|
|
241
215
|
}
|
|
242
|
-
interface
|
|
216
|
+
interface AuthenticateEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitTargetAndPayloadSchema> {
|
|
243
217
|
}
|
|
244
218
|
}
|
|
245
219
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
246
|
-
interface
|
|
247
|
-
'
|
|
248
|
-
'
|
|
220
|
+
interface ConfirmPinRespondPayload {
|
|
221
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
222
|
+
'token': string;
|
|
249
223
|
}
|
|
250
|
-
interface
|
|
251
|
-
id: '
|
|
224
|
+
interface ConfirmPinRespondPayloadSchema extends SpruceSchema.Schema {
|
|
225
|
+
id: 'confirmPinRespondPayload';
|
|
252
226
|
version: 'v2020_12_25';
|
|
253
227
|
namespace: 'Mercury';
|
|
254
228
|
name: '';
|
|
255
229
|
fields: {
|
|
256
230
|
/** . */
|
|
257
|
-
'
|
|
258
|
-
type: '
|
|
231
|
+
'person': {
|
|
232
|
+
type: 'schema';
|
|
259
233
|
isRequired: true;
|
|
260
|
-
options:
|
|
234
|
+
options: {
|
|
235
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
236
|
+
};
|
|
261
237
|
};
|
|
262
238
|
/** . */
|
|
263
|
-
'
|
|
264
|
-
type: '
|
|
239
|
+
'token': {
|
|
240
|
+
type: 'text';
|
|
241
|
+
isRequired: true;
|
|
265
242
|
options: undefined;
|
|
266
243
|
};
|
|
267
244
|
};
|
|
268
245
|
}
|
|
269
|
-
interface
|
|
246
|
+
interface ConfirmPinRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinRespondPayloadSchema> {
|
|
270
247
|
}
|
|
271
248
|
}
|
|
272
249
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
273
|
-
interface
|
|
274
|
-
'
|
|
275
|
-
'
|
|
276
|
-
'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;
|
|
277
253
|
}
|
|
278
|
-
interface
|
|
279
|
-
id: '
|
|
254
|
+
interface AuthSchemaSchema extends SpruceSchema.Schema {
|
|
255
|
+
id: 'authSchema';
|
|
280
256
|
version: 'v2020_12_25';
|
|
281
257
|
namespace: 'Mercury';
|
|
282
258
|
name: '';
|
|
283
259
|
fields: {
|
|
284
260
|
/** . */
|
|
285
|
-
'
|
|
286
|
-
type: '
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
/** . */
|
|
291
|
-
'roleId': {
|
|
292
|
-
type: 'id';
|
|
293
|
-
isRequired: true;
|
|
294
|
-
options: undefined;
|
|
261
|
+
'person': {
|
|
262
|
+
type: 'schema';
|
|
263
|
+
options: {
|
|
264
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
265
|
+
};
|
|
295
266
|
};
|
|
296
267
|
/** . */
|
|
297
|
-
'
|
|
298
|
-
type: '
|
|
299
|
-
|
|
300
|
-
|
|
268
|
+
'skill': {
|
|
269
|
+
type: 'schema';
|
|
270
|
+
options: {
|
|
271
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.SkillSchema;
|
|
272
|
+
};
|
|
301
273
|
};
|
|
302
274
|
};
|
|
303
275
|
}
|
|
304
|
-
interface
|
|
276
|
+
interface AuthSchemaEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema> {
|
|
305
277
|
}
|
|
306
278
|
}
|
|
307
279
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
308
|
-
interface
|
|
309
|
-
|
|
310
|
-
'
|
|
311
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTarget;
|
|
312
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayload;
|
|
280
|
+
interface AuthenticateResponsePayload {
|
|
281
|
+
'type': ("authenticated" | "anonymous");
|
|
282
|
+
'auth': SpruceSchemas.Mercury.v2020_12_25.AuthSchema;
|
|
313
283
|
}
|
|
314
|
-
interface
|
|
315
|
-
id: '
|
|
284
|
+
interface AuthenticateResponsePayloadSchema extends SpruceSchema.Schema {
|
|
285
|
+
id: 'authenticateResponsePayload';
|
|
316
286
|
version: 'v2020_12_25';
|
|
317
287
|
namespace: 'Mercury';
|
|
318
288
|
name: '';
|
|
319
289
|
fields: {
|
|
320
|
-
/** Source. */
|
|
321
|
-
'source': {
|
|
322
|
-
label: 'Source';
|
|
323
|
-
type: 'schema';
|
|
324
|
-
options: {
|
|
325
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
326
|
-
};
|
|
327
|
-
};
|
|
328
290
|
/** . */
|
|
329
|
-
'
|
|
330
|
-
type: '
|
|
291
|
+
'type': {
|
|
292
|
+
type: 'select';
|
|
331
293
|
isRequired: true;
|
|
332
294
|
options: {
|
|
333
|
-
|
|
295
|
+
choices: [{
|
|
296
|
+
"value": "authenticated";
|
|
297
|
+
"label": "Authenticated";
|
|
298
|
+
}, {
|
|
299
|
+
"value": "anonymous";
|
|
300
|
+
"label": "Anonymous";
|
|
301
|
+
}];
|
|
334
302
|
};
|
|
335
303
|
};
|
|
336
304
|
/** . */
|
|
337
|
-
'
|
|
305
|
+
'auth': {
|
|
338
306
|
type: 'schema';
|
|
339
307
|
isRequired: true;
|
|
340
308
|
options: {
|
|
341
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
309
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema;
|
|
342
310
|
};
|
|
343
311
|
};
|
|
344
312
|
};
|
|
345
313
|
}
|
|
346
|
-
interface
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
350
|
-
interface DidLeaveOrganizationResponsePayload {
|
|
351
|
-
}
|
|
352
|
-
interface DidLeaveOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
353
|
-
id: 'didLeaveOrganizationResponsePayload';
|
|
354
|
-
version: 'v2020_12_25';
|
|
355
|
-
namespace: 'Mercury';
|
|
356
|
-
name: '';
|
|
357
|
-
fields: {};
|
|
358
|
-
}
|
|
359
|
-
interface DidLeaveOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationResponsePayloadSchema> {
|
|
314
|
+
interface AuthenticateResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateResponsePayloadSchema> {
|
|
360
315
|
}
|
|
361
316
|
}
|
|
362
317
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
363
|
-
interface
|
|
364
|
-
'
|
|
365
|
-
'
|
|
366
|
-
'topic'?: string | undefined | null;
|
|
318
|
+
interface CanListenEmitPayload {
|
|
319
|
+
'authorizerStatuses'?: ("clockedIn" | "clockedOut" | "onPrem" | "offPrem") | undefined | null;
|
|
320
|
+
'fullyQualifiedEventName': string;
|
|
367
321
|
}
|
|
368
|
-
interface
|
|
369
|
-
id: '
|
|
322
|
+
interface CanListenEmitPayloadSchema extends SpruceSchema.Schema {
|
|
323
|
+
id: 'canListenEmitPayload';
|
|
370
324
|
version: 'v2020_12_25';
|
|
371
325
|
namespace: 'Mercury';
|
|
372
326
|
name: '';
|
|
373
327
|
fields: {
|
|
374
328
|
/** . */
|
|
375
|
-
'
|
|
376
|
-
type: '
|
|
377
|
-
isRequired: true;
|
|
329
|
+
'authorizerStatuses': {
|
|
330
|
+
type: 'select';
|
|
378
331
|
options: {
|
|
379
|
-
|
|
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
|
+
}];
|
|
380
345
|
};
|
|
381
346
|
};
|
|
382
347
|
/** . */
|
|
383
|
-
'
|
|
384
|
-
type: 'text';
|
|
385
|
-
options: undefined;
|
|
386
|
-
};
|
|
387
|
-
/** . */
|
|
388
|
-
'topic': {
|
|
348
|
+
'fullyQualifiedEventName': {
|
|
389
349
|
type: 'text';
|
|
350
|
+
isRequired: true;
|
|
390
351
|
options: undefined;
|
|
391
352
|
};
|
|
392
353
|
};
|
|
393
354
|
}
|
|
394
|
-
interface
|
|
355
|
+
interface CanListenEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema> {
|
|
395
356
|
}
|
|
396
357
|
}
|
|
397
358
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
398
|
-
interface
|
|
359
|
+
interface CanListenEmitTargetAndPayload {
|
|
399
360
|
/** Source. */
|
|
400
361
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
401
|
-
'
|
|
402
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayload;
|
|
362
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayload;
|
|
403
363
|
}
|
|
404
|
-
interface
|
|
405
|
-
id: '
|
|
364
|
+
interface CanListenEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
365
|
+
id: 'canListenEmitTargetAndPayload';
|
|
406
366
|
version: 'v2020_12_25';
|
|
407
367
|
namespace: 'Mercury';
|
|
408
368
|
name: '';
|
|
@@ -416,155 +376,74 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
416
376
|
};
|
|
417
377
|
};
|
|
418
378
|
/** . */
|
|
419
|
-
'target': {
|
|
420
|
-
type: 'schema';
|
|
421
|
-
options: {
|
|
422
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.MessageTargetSchema;
|
|
423
|
-
};
|
|
424
|
-
};
|
|
425
|
-
/** . */
|
|
426
379
|
'payload': {
|
|
427
380
|
type: 'schema';
|
|
428
381
|
isRequired: true;
|
|
429
382
|
options: {
|
|
430
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
383
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema;
|
|
431
384
|
};
|
|
432
385
|
};
|
|
433
386
|
};
|
|
434
387
|
}
|
|
435
|
-
interface
|
|
388
|
+
interface CanListenEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitTargetAndPayloadSchema> {
|
|
436
389
|
}
|
|
437
390
|
}
|
|
438
391
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
439
|
-
interface
|
|
440
|
-
'
|
|
441
|
-
'confidence': number;
|
|
442
|
-
'label': string;
|
|
392
|
+
interface CanListenResponsePayload {
|
|
393
|
+
'can'?: boolean | undefined | null;
|
|
443
394
|
}
|
|
444
|
-
interface
|
|
445
|
-
id: '
|
|
395
|
+
interface CanListenResponsePayloadSchema extends SpruceSchema.Schema {
|
|
396
|
+
id: 'canListenResponsePayload';
|
|
446
397
|
version: 'v2020_12_25';
|
|
447
398
|
namespace: 'Mercury';
|
|
448
399
|
name: '';
|
|
449
400
|
fields: {
|
|
450
401
|
/** . */
|
|
451
|
-
'
|
|
452
|
-
type: '
|
|
453
|
-
isRequired: true;
|
|
454
|
-
options: undefined;
|
|
455
|
-
};
|
|
456
|
-
/** . */
|
|
457
|
-
'confidence': {
|
|
458
|
-
type: 'number';
|
|
459
|
-
isRequired: true;
|
|
460
|
-
options: undefined;
|
|
461
|
-
};
|
|
462
|
-
/** . */
|
|
463
|
-
'label': {
|
|
464
|
-
type: 'text';
|
|
465
|
-
isRequired: true;
|
|
402
|
+
'can': {
|
|
403
|
+
type: 'boolean';
|
|
466
404
|
options: undefined;
|
|
467
405
|
};
|
|
468
406
|
};
|
|
469
407
|
}
|
|
470
|
-
interface
|
|
408
|
+
interface CanListenResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenResponsePayloadSchema> {
|
|
471
409
|
}
|
|
472
410
|
}
|
|
473
411
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
474
|
-
interface
|
|
475
|
-
'
|
|
476
|
-
'
|
|
477
|
-
'topicChangers'?: string[] | undefined | null;
|
|
478
|
-
'utterance'?: string | undefined | null;
|
|
479
|
-
'suggestedTopics'?: SpruceSchemas.Mercury.v2020_12_25.ConversationTopic[] | undefined | null;
|
|
412
|
+
interface ConfirmPinEmitPayload {
|
|
413
|
+
'challenge': string;
|
|
414
|
+
'pin': string;
|
|
480
415
|
}
|
|
481
|
-
interface
|
|
482
|
-
id: '
|
|
416
|
+
interface ConfirmPinEmitPayloadSchema extends SpruceSchema.Schema {
|
|
417
|
+
id: 'confirmPinEmitPayload';
|
|
483
418
|
version: 'v2020_12_25';
|
|
484
419
|
namespace: 'Mercury';
|
|
485
420
|
name: '';
|
|
486
421
|
fields: {
|
|
487
422
|
/** . */
|
|
488
|
-
'
|
|
489
|
-
type: 'select';
|
|
490
|
-
options: {
|
|
491
|
-
choices: [{
|
|
492
|
-
"label": "Greeting";
|
|
493
|
-
"value": "greeting";
|
|
494
|
-
}, {
|
|
495
|
-
"label": "Discovery";
|
|
496
|
-
"value": "discovery";
|
|
497
|
-
}, {
|
|
498
|
-
"label": "Topic";
|
|
499
|
-
"value": "topic";
|
|
500
|
-
}, {
|
|
501
|
-
"label": "Closing";
|
|
502
|
-
"value": "closing";
|
|
503
|
-
}];
|
|
504
|
-
};
|
|
505
|
-
};
|
|
506
|
-
/** . */
|
|
507
|
-
'repairs': {
|
|
508
|
-
type: 'text';
|
|
509
|
-
isArray: true;
|
|
510
|
-
options: undefined;
|
|
511
|
-
};
|
|
512
|
-
/** . */
|
|
513
|
-
'topicChangers': {
|
|
423
|
+
'challenge': {
|
|
514
424
|
type: 'text';
|
|
515
|
-
|
|
425
|
+
isRequired: true;
|
|
516
426
|
options: undefined;
|
|
517
427
|
};
|
|
518
428
|
/** . */
|
|
519
|
-
'
|
|
429
|
+
'pin': {
|
|
520
430
|
type: 'text';
|
|
521
|
-
options: undefined;
|
|
522
|
-
};
|
|
523
|
-
/** . */
|
|
524
|
-
'suggestedTopics': {
|
|
525
|
-
type: 'schema';
|
|
526
|
-
isArray: true;
|
|
527
|
-
options: {
|
|
528
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema;
|
|
529
|
-
};
|
|
530
|
-
};
|
|
531
|
-
};
|
|
532
|
-
}
|
|
533
|
-
interface DidMessageResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageResponsePayloadSchema> {
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
537
|
-
interface DidSignupEmitPayload {
|
|
538
|
-
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
539
|
-
}
|
|
540
|
-
interface DidSignupEmitPayloadSchema extends SpruceSchema.Schema {
|
|
541
|
-
id: 'didSignupEmitPayload';
|
|
542
|
-
version: 'v2020_12_25';
|
|
543
|
-
namespace: 'Mercury';
|
|
544
|
-
name: '';
|
|
545
|
-
fields: {
|
|
546
|
-
/** . */
|
|
547
|
-
'person': {
|
|
548
|
-
type: 'schema';
|
|
549
431
|
isRequired: true;
|
|
550
|
-
options:
|
|
551
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
552
|
-
};
|
|
432
|
+
options: undefined;
|
|
553
433
|
};
|
|
554
434
|
};
|
|
555
435
|
}
|
|
556
|
-
interface
|
|
436
|
+
interface ConfirmPinEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema> {
|
|
557
437
|
}
|
|
558
438
|
}
|
|
559
439
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
560
|
-
interface
|
|
440
|
+
interface ConfirmPinEmitTargetAndPayload {
|
|
561
441
|
/** Source. */
|
|
562
442
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
563
|
-
'
|
|
564
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayload;
|
|
443
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayload;
|
|
565
444
|
}
|
|
566
|
-
interface
|
|
567
|
-
id: '
|
|
445
|
+
interface ConfirmPinEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
446
|
+
id: 'confirmPinEmitTargetAndPayload';
|
|
568
447
|
version: 'v2020_12_25';
|
|
569
448
|
namespace: 'Mercury';
|
|
570
449
|
name: '';
|
|
@@ -578,667 +457,107 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
578
457
|
};
|
|
579
458
|
};
|
|
580
459
|
/** . */
|
|
581
|
-
'target': {
|
|
582
|
-
type: 'schema';
|
|
583
|
-
options: {
|
|
584
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
585
|
-
};
|
|
586
|
-
};
|
|
587
|
-
/** . */
|
|
588
460
|
'payload': {
|
|
589
461
|
type: 'schema';
|
|
590
462
|
isRequired: true;
|
|
591
463
|
options: {
|
|
592
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
464
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema;
|
|
593
465
|
};
|
|
594
466
|
};
|
|
595
467
|
};
|
|
596
468
|
}
|
|
597
|
-
interface
|
|
469
|
+
interface ConfirmPinEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitTargetAndPayloadSchema> {
|
|
598
470
|
}
|
|
599
471
|
}
|
|
600
472
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
601
|
-
interface
|
|
602
|
-
'
|
|
473
|
+
interface CreateLocationEmitTarget {
|
|
474
|
+
'organizationId': string;
|
|
603
475
|
}
|
|
604
|
-
interface
|
|
605
|
-
id: '
|
|
476
|
+
interface CreateLocationEmitTargetSchema extends SpruceSchema.Schema {
|
|
477
|
+
id: 'createLocationEmitTarget';
|
|
606
478
|
version: 'v2020_12_25';
|
|
607
479
|
namespace: 'Mercury';
|
|
608
480
|
name: '';
|
|
609
481
|
fields: {
|
|
610
482
|
/** . */
|
|
611
|
-
'
|
|
612
|
-
type: '
|
|
483
|
+
'organizationId': {
|
|
484
|
+
type: 'id';
|
|
613
485
|
isRequired: true;
|
|
614
|
-
options:
|
|
615
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.FeedItemSchema;
|
|
616
|
-
};
|
|
486
|
+
options: undefined;
|
|
617
487
|
};
|
|
618
488
|
};
|
|
619
489
|
}
|
|
620
|
-
interface
|
|
490
|
+
interface CreateLocationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CreateLocationEmitTargetSchema> {
|
|
621
491
|
}
|
|
622
492
|
}
|
|
623
493
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
624
|
-
interface
|
|
625
|
-
/**
|
|
626
|
-
'
|
|
627
|
-
|
|
628
|
-
'
|
|
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;
|
|
629
509
|
}
|
|
630
|
-
interface
|
|
631
|
-
id: '
|
|
632
|
-
version: 'v2020_12_25';
|
|
633
|
-
namespace: 'Mercury';
|
|
634
|
-
name: '';
|
|
635
|
-
fields: {
|
|
636
|
-
/** Source. */
|
|
637
|
-
'source': {
|
|
638
|
-
label: 'Source';
|
|
639
|
-
type: 'schema';
|
|
640
|
-
options: {
|
|
641
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
642
|
-
};
|
|
643
|
-
};
|
|
644
|
-
/** . */
|
|
645
|
-
'target': {
|
|
646
|
-
type: 'schema';
|
|
647
|
-
options: {
|
|
648
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
649
|
-
};
|
|
650
|
-
};
|
|
651
|
-
/** . */
|
|
652
|
-
'payload': {
|
|
653
|
-
type: 'schema';
|
|
654
|
-
isRequired: true;
|
|
655
|
-
options: {
|
|
656
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema;
|
|
657
|
-
};
|
|
658
|
-
};
|
|
659
|
-
};
|
|
660
|
-
}
|
|
661
|
-
interface DidUpdateFeedEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetAndPayloadSchema> {
|
|
662
|
-
}
|
|
663
|
-
}
|
|
664
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
665
|
-
interface DidUpdatePersonEmitPayload {
|
|
666
|
-
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
667
|
-
}
|
|
668
|
-
interface DidUpdatePersonEmitPayloadSchema extends SpruceSchema.Schema {
|
|
669
|
-
id: 'didUpdatePersonEmitPayload';
|
|
670
|
-
version: 'v2020_12_25';
|
|
671
|
-
namespace: 'Mercury';
|
|
672
|
-
name: '';
|
|
673
|
-
fields: {
|
|
674
|
-
/** . */
|
|
675
|
-
'person': {
|
|
676
|
-
type: 'schema';
|
|
677
|
-
isRequired: true;
|
|
678
|
-
options: {
|
|
679
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
680
|
-
};
|
|
681
|
-
};
|
|
682
|
-
};
|
|
683
|
-
}
|
|
684
|
-
interface DidUpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema> {
|
|
685
|
-
}
|
|
686
|
-
}
|
|
687
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
688
|
-
interface DidUpdatePersonEmitTargetAndPayload {
|
|
689
|
-
/** Source. */
|
|
690
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
691
|
-
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
692
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayload;
|
|
693
|
-
}
|
|
694
|
-
interface DidUpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
695
|
-
id: 'didUpdatePersonEmitTargetAndPayload';
|
|
696
|
-
version: 'v2020_12_25';
|
|
697
|
-
namespace: 'Mercury';
|
|
698
|
-
name: '';
|
|
699
|
-
fields: {
|
|
700
|
-
/** Source. */
|
|
701
|
-
'source': {
|
|
702
|
-
label: 'Source';
|
|
703
|
-
type: 'schema';
|
|
704
|
-
options: {
|
|
705
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
706
|
-
};
|
|
707
|
-
};
|
|
708
|
-
/** . */
|
|
709
|
-
'target': {
|
|
710
|
-
type: 'schema';
|
|
711
|
-
options: {
|
|
712
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
713
|
-
};
|
|
714
|
-
};
|
|
715
|
-
/** . */
|
|
716
|
-
'payload': {
|
|
717
|
-
type: 'schema';
|
|
718
|
-
isRequired: true;
|
|
719
|
-
options: {
|
|
720
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema;
|
|
721
|
-
};
|
|
722
|
-
};
|
|
723
|
-
};
|
|
724
|
-
}
|
|
725
|
-
interface DidUpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitTargetAndPayloadSchema> {
|
|
726
|
-
}
|
|
727
|
-
}
|
|
728
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
729
|
-
interface AddRoleEmitTarget {
|
|
730
|
-
'organizationId'?: string | undefined | null;
|
|
731
|
-
'locationId'?: string | undefined | null;
|
|
732
|
-
}
|
|
733
|
-
interface AddRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
734
|
-
id: 'addRoleEmitTarget';
|
|
735
|
-
version: 'v2020_12_25';
|
|
736
|
-
namespace: 'Mercury';
|
|
737
|
-
name: '';
|
|
738
|
-
fields: {
|
|
739
|
-
/** . */
|
|
740
|
-
'organizationId': {
|
|
741
|
-
type: 'id';
|
|
742
|
-
options: undefined;
|
|
743
|
-
};
|
|
744
|
-
/** . */
|
|
745
|
-
'locationId': {
|
|
746
|
-
type: 'id';
|
|
747
|
-
options: undefined;
|
|
748
|
-
};
|
|
749
|
-
};
|
|
750
|
-
}
|
|
751
|
-
interface AddRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema> {
|
|
752
|
-
}
|
|
753
|
-
}
|
|
754
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
755
|
-
interface AddRoleEmitPayload {
|
|
756
|
-
'personId': string;
|
|
757
|
-
'roleId': string;
|
|
758
|
-
}
|
|
759
|
-
interface AddRoleEmitPayloadSchema extends SpruceSchema.Schema {
|
|
760
|
-
id: 'addRoleEmitPayload';
|
|
510
|
+
interface CreateLocationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
511
|
+
id: 'createLocationEmitPayload';
|
|
761
512
|
version: 'v2020_12_25';
|
|
762
513
|
namespace: 'Mercury';
|
|
763
514
|
name: '';
|
|
764
515
|
fields: {
|
|
765
|
-
/** . */
|
|
766
|
-
'
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
options: undefined;
|
|
770
|
-
};
|
|
771
|
-
/** . */
|
|
772
|
-
'roleId': {
|
|
773
|
-
type: 'id';
|
|
516
|
+
/** Name. */
|
|
517
|
+
'name': {
|
|
518
|
+
label: 'Name';
|
|
519
|
+
type: 'text';
|
|
774
520
|
isRequired: true;
|
|
775
521
|
options: undefined;
|
|
776
522
|
};
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
783
|
-
interface AddRoleEmitTargetAndPayload {
|
|
784
|
-
/** Source. */
|
|
785
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
786
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTarget | undefined | null;
|
|
787
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayload;
|
|
788
|
-
}
|
|
789
|
-
interface AddRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
790
|
-
id: 'addRoleEmitTargetAndPayload';
|
|
791
|
-
version: 'v2020_12_25';
|
|
792
|
-
namespace: 'Mercury';
|
|
793
|
-
name: '';
|
|
794
|
-
fields: {
|
|
795
|
-
/** Source. */
|
|
796
|
-
'source': {
|
|
797
|
-
label: 'Source';
|
|
798
|
-
type: 'schema';
|
|
799
|
-
options: {
|
|
800
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
801
|
-
};
|
|
802
|
-
};
|
|
803
|
-
/** . */
|
|
804
|
-
'target': {
|
|
805
|
-
type: 'schema';
|
|
806
|
-
options: {
|
|
807
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema;
|
|
808
|
-
};
|
|
809
|
-
};
|
|
810
|
-
/** . */
|
|
811
|
-
'payload': {
|
|
812
|
-
type: 'schema';
|
|
813
|
-
isRequired: true;
|
|
814
|
-
options: {
|
|
815
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema;
|
|
816
|
-
};
|
|
817
|
-
};
|
|
818
|
-
};
|
|
819
|
-
}
|
|
820
|
-
interface AddRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetAndPayloadSchema> {
|
|
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': {
|
|
544
|
+
/** Timezone. */
|
|
545
|
+
'timezone': {
|
|
546
|
+
label: 'Timezone';
|
|
943
547
|
type: 'select';
|
|
944
|
-
isRequired: true;
|
|
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";
|
|
@@ -4317,35 +3636,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4317
3636
|
interface GetEventContractsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetEventContractsEmitTargetAndPayloadSchema> {
|
|
4318
3637
|
}
|
|
4319
3638
|
}
|
|
4320
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4321
|
-
interface GetPermissionContractResponsePayload {
|
|
4322
|
-
'permissionContract': SpruceSchemas.Mercury.v2020_12_25.PermissionContract;
|
|
4323
|
-
'skillId'?: string | undefined | null;
|
|
4324
|
-
}
|
|
4325
|
-
interface GetPermissionContractResponsePayloadSchema extends SpruceSchema.Schema {
|
|
4326
|
-
id: 'getPermissionContractResponsePayload';
|
|
4327
|
-
version: 'v2020_12_25';
|
|
4328
|
-
namespace: 'Mercury';
|
|
4329
|
-
name: '';
|
|
4330
|
-
fields: {
|
|
4331
|
-
/** . */
|
|
4332
|
-
'permissionContract': {
|
|
4333
|
-
type: 'schema';
|
|
4334
|
-
isRequired: true;
|
|
4335
|
-
options: {
|
|
4336
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionContractSchema;
|
|
4337
|
-
};
|
|
4338
|
-
};
|
|
4339
|
-
/** . */
|
|
4340
|
-
'skillId': {
|
|
4341
|
-
type: 'id';
|
|
4342
|
-
options: undefined;
|
|
4343
|
-
};
|
|
4344
|
-
};
|
|
4345
|
-
}
|
|
4346
|
-
interface GetPermissionContractResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetPermissionContractResponsePayloadSchema> {
|
|
4347
|
-
}
|
|
4348
|
-
}
|
|
4349
3639
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4350
3640
|
interface GetEventContractsResponsePayload {
|
|
4351
3641
|
'contracts': SpruceSchemas.Mercury.v2020_12_25.EventContract[];
|
|
@@ -4779,6 +4069,35 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4779
4069
|
interface GetPermissionContractEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetPermissionContractEmitTargetAndPayloadSchema> {
|
|
4780
4070
|
}
|
|
4781
4071
|
}
|
|
4072
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4073
|
+
interface GetPermissionContractResponsePayload {
|
|
4074
|
+
'permissionContract': SpruceSchemas.Mercury.v2020_12_25.PermissionContract;
|
|
4075
|
+
'skillId'?: string | undefined | null;
|
|
4076
|
+
}
|
|
4077
|
+
interface GetPermissionContractResponsePayloadSchema extends SpruceSchema.Schema {
|
|
4078
|
+
id: 'getPermissionContractResponsePayload';
|
|
4079
|
+
version: 'v2020_12_25';
|
|
4080
|
+
namespace: 'Mercury';
|
|
4081
|
+
name: '';
|
|
4082
|
+
fields: {
|
|
4083
|
+
/** . */
|
|
4084
|
+
'permissionContract': {
|
|
4085
|
+
type: 'schema';
|
|
4086
|
+
isRequired: true;
|
|
4087
|
+
options: {
|
|
4088
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionContractSchema;
|
|
4089
|
+
};
|
|
4090
|
+
};
|
|
4091
|
+
/** . */
|
|
4092
|
+
'skillId': {
|
|
4093
|
+
type: 'id';
|
|
4094
|
+
options: undefined;
|
|
4095
|
+
};
|
|
4096
|
+
};
|
|
4097
|
+
}
|
|
4098
|
+
interface GetPermissionContractResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetPermissionContractResponsePayloadSchema> {
|
|
4099
|
+
}
|
|
4100
|
+
}
|
|
4782
4101
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4783
4102
|
interface GetPersonEmitTarget {
|
|
4784
4103
|
'personId'?: string | undefined | null;
|
|
@@ -4976,6 +4295,29 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4976
4295
|
interface GetResolvedPermissionsContractEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetResolvedPermissionsContractEmitTargetAndPayloadSchema> {
|
|
4977
4296
|
}
|
|
4978
4297
|
}
|
|
4298
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4299
|
+
interface GetResolvedPermissionsContractRespondPayload {
|
|
4300
|
+
'resolvedContract': SpruceSchemas.Mercury.v2020_12_25.ResolvedContract;
|
|
4301
|
+
}
|
|
4302
|
+
interface GetResolvedPermissionsContractRespondPayloadSchema extends SpruceSchema.Schema {
|
|
4303
|
+
id: 'getResolvedPermissionsContractRespondPayload';
|
|
4304
|
+
version: 'v2020_12_25';
|
|
4305
|
+
namespace: 'Mercury';
|
|
4306
|
+
name: '';
|
|
4307
|
+
fields: {
|
|
4308
|
+
/** . */
|
|
4309
|
+
'resolvedContract': {
|
|
4310
|
+
type: 'schema';
|
|
4311
|
+
isRequired: true;
|
|
4312
|
+
options: {
|
|
4313
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ResolvedContractSchema;
|
|
4314
|
+
};
|
|
4315
|
+
};
|
|
4316
|
+
};
|
|
4317
|
+
}
|
|
4318
|
+
interface GetResolvedPermissionsContractRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetResolvedPermissionsContractRespondPayloadSchema> {
|
|
4319
|
+
}
|
|
4320
|
+
}
|
|
4979
4321
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4980
4322
|
interface ResolvedContractPermission {
|
|
4981
4323
|
'id': string;
|
|
@@ -5036,29 +4378,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
5036
4378
|
interface ResolvedContractEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ResolvedContractSchema> {
|
|
5037
4379
|
}
|
|
5038
4380
|
}
|
|
5039
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5040
|
-
interface GetResolvedPermissionsContractRespondPayload {
|
|
5041
|
-
'resolvedContract': SpruceSchemas.Mercury.v2020_12_25.ResolvedContract;
|
|
5042
|
-
}
|
|
5043
|
-
interface GetResolvedPermissionsContractRespondPayloadSchema extends SpruceSchema.Schema {
|
|
5044
|
-
id: 'getResolvedPermissionsContractRespondPayload';
|
|
5045
|
-
version: 'v2020_12_25';
|
|
5046
|
-
namespace: 'Mercury';
|
|
5047
|
-
name: '';
|
|
5048
|
-
fields: {
|
|
5049
|
-
/** . */
|
|
5050
|
-
'resolvedContract': {
|
|
5051
|
-
type: 'schema';
|
|
5052
|
-
isRequired: true;
|
|
5053
|
-
options: {
|
|
5054
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ResolvedContractSchema;
|
|
5055
|
-
};
|
|
5056
|
-
};
|
|
5057
|
-
};
|
|
5058
|
-
}
|
|
5059
|
-
interface GetResolvedPermissionsContractRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetResolvedPermissionsContractRespondPayloadSchema> {
|
|
5060
|
-
}
|
|
5061
|
-
}
|
|
5062
4381
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5063
4382
|
interface GetRoleEmitTarget {
|
|
5064
4383
|
'roleId': string;
|
|
@@ -5720,6 +5039,33 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
5720
5039
|
interface ListInstalledSkillsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListInstalledSkillsResponsePayloadSchema> {
|
|
5721
5040
|
}
|
|
5722
5041
|
}
|
|
5042
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5043
|
+
interface ListLocationsEmitTarget {
|
|
5044
|
+
'organizationId'?: string | undefined | null;
|
|
5045
|
+
'locationIds'?: string[] | undefined | null;
|
|
5046
|
+
}
|
|
5047
|
+
interface ListLocationsEmitTargetSchema extends SpruceSchema.Schema {
|
|
5048
|
+
id: 'listLocationsEmitTarget';
|
|
5049
|
+
version: 'v2020_12_25';
|
|
5050
|
+
namespace: 'Mercury';
|
|
5051
|
+
name: '';
|
|
5052
|
+
fields: {
|
|
5053
|
+
/** . */
|
|
5054
|
+
'organizationId': {
|
|
5055
|
+
type: 'id';
|
|
5056
|
+
options: undefined;
|
|
5057
|
+
};
|
|
5058
|
+
/** . */
|
|
5059
|
+
'locationIds': {
|
|
5060
|
+
type: 'id';
|
|
5061
|
+
isArray: true;
|
|
5062
|
+
options: undefined;
|
|
5063
|
+
};
|
|
5064
|
+
};
|
|
5065
|
+
}
|
|
5066
|
+
interface ListLocationsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitTargetSchema> {
|
|
5067
|
+
}
|
|
5068
|
+
}
|
|
5723
5069
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5724
5070
|
interface ListLocationsEmitPayload {
|
|
5725
5071
|
'shouldOnlyShowWhereIAmEmployed'?: boolean | undefined | null;
|
|
@@ -5749,41 +5095,14 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
5749
5095
|
}
|
|
5750
5096
|
}
|
|
5751
5097
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5752
|
-
interface
|
|
5753
|
-
|
|
5754
|
-
'
|
|
5098
|
+
interface ListLocationsEmitTargetAndPayload {
|
|
5099
|
+
/** Source. */
|
|
5100
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
5101
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitTarget | undefined | null;
|
|
5102
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitPayload | undefined | null;
|
|
5755
5103
|
}
|
|
5756
|
-
interface
|
|
5757
|
-
id: '
|
|
5758
|
-
version: 'v2020_12_25';
|
|
5759
|
-
namespace: 'Mercury';
|
|
5760
|
-
name: '';
|
|
5761
|
-
fields: {
|
|
5762
|
-
/** . */
|
|
5763
|
-
'organizationId': {
|
|
5764
|
-
type: 'id';
|
|
5765
|
-
options: undefined;
|
|
5766
|
-
};
|
|
5767
|
-
/** . */
|
|
5768
|
-
'locationIds': {
|
|
5769
|
-
type: 'id';
|
|
5770
|
-
isArray: true;
|
|
5771
|
-
options: undefined;
|
|
5772
|
-
};
|
|
5773
|
-
};
|
|
5774
|
-
}
|
|
5775
|
-
interface ListLocationsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitTargetSchema> {
|
|
5776
|
-
}
|
|
5777
|
-
}
|
|
5778
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5779
|
-
interface ListLocationsEmitTargetAndPayload {
|
|
5780
|
-
/** Source. */
|
|
5781
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
5782
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitTarget | undefined | null;
|
|
5783
|
-
'payload'?: SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitPayload | undefined | null;
|
|
5784
|
-
}
|
|
5785
|
-
interface ListLocationsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
5786
|
-
id: 'listLocationsEmitTargetAndPayload';
|
|
5104
|
+
interface ListLocationsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
5105
|
+
id: 'listLocationsEmitTargetAndPayload';
|
|
5787
5106
|
version: 'v2020_12_25';
|
|
5788
5107
|
namespace: 'Mercury';
|
|
5789
5108
|
name: '';
|
|
@@ -5902,46 +5221,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
5902
5221
|
interface ListOrgsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayloadSchema> {
|
|
5903
5222
|
}
|
|
5904
5223
|
}
|
|
5905
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5906
|
-
interface ListOrganizationsEmitTargetAndPayload {
|
|
5907
|
-
/** Source. */
|
|
5908
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
5909
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTarget | undefined | null;
|
|
5910
|
-
'payload'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayload | undefined | null;
|
|
5911
|
-
}
|
|
5912
|
-
interface ListOrganizationsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
5913
|
-
id: 'listOrganizationsEmitTargetAndPayload';
|
|
5914
|
-
version: 'v2020_12_25';
|
|
5915
|
-
namespace: 'Mercury';
|
|
5916
|
-
name: '';
|
|
5917
|
-
fields: {
|
|
5918
|
-
/** Source. */
|
|
5919
|
-
'source': {
|
|
5920
|
-
label: 'Source';
|
|
5921
|
-
type: 'schema';
|
|
5922
|
-
options: {
|
|
5923
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
5924
|
-
};
|
|
5925
|
-
};
|
|
5926
|
-
/** . */
|
|
5927
|
-
'target': {
|
|
5928
|
-
type: 'schema';
|
|
5929
|
-
options: {
|
|
5930
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTargetSchema;
|
|
5931
|
-
};
|
|
5932
|
-
};
|
|
5933
|
-
/** . */
|
|
5934
|
-
'payload': {
|
|
5935
|
-
type: 'schema';
|
|
5936
|
-
options: {
|
|
5937
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayloadSchema;
|
|
5938
|
-
};
|
|
5939
|
-
};
|
|
5940
|
-
};
|
|
5941
|
-
}
|
|
5942
|
-
interface ListOrganizationsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrganizationsEmitTargetAndPayloadSchema> {
|
|
5943
|
-
}
|
|
5944
|
-
}
|
|
5945
5224
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5946
5225
|
interface ListOrgsResponsePayload {
|
|
5947
5226
|
'organizations': SpruceSchemas.Spruce.v2020_07_22.Organization[];
|
|
@@ -8545,47 +7824,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8545
7824
|
interface SendMessageTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema> {
|
|
8546
7825
|
}
|
|
8547
7826
|
}
|
|
8548
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8549
|
-
interface SendMessageEmitTargetAndPayload {
|
|
8550
|
-
/** Source. */
|
|
8551
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8552
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.SendMessageTarget | undefined | null;
|
|
8553
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayload;
|
|
8554
|
-
}
|
|
8555
|
-
interface SendMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8556
|
-
id: 'sendMessageEmitTargetAndPayload';
|
|
8557
|
-
version: 'v2020_12_25';
|
|
8558
|
-
namespace: 'Mercury';
|
|
8559
|
-
name: '';
|
|
8560
|
-
fields: {
|
|
8561
|
-
/** Source. */
|
|
8562
|
-
'source': {
|
|
8563
|
-
label: 'Source';
|
|
8564
|
-
type: 'schema';
|
|
8565
|
-
options: {
|
|
8566
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
8567
|
-
};
|
|
8568
|
-
};
|
|
8569
|
-
/** . */
|
|
8570
|
-
'target': {
|
|
8571
|
-
type: 'schema';
|
|
8572
|
-
options: {
|
|
8573
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema;
|
|
8574
|
-
};
|
|
8575
|
-
};
|
|
8576
|
-
/** . */
|
|
8577
|
-
'payload': {
|
|
8578
|
-
type: 'schema';
|
|
8579
|
-
isRequired: true;
|
|
8580
|
-
options: {
|
|
8581
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema;
|
|
8582
|
-
};
|
|
8583
|
-
};
|
|
8584
|
-
};
|
|
8585
|
-
}
|
|
8586
|
-
interface SendMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitTargetAndPayloadSchema> {
|
|
8587
|
-
}
|
|
8588
|
-
}
|
|
8589
7827
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8590
7828
|
interface SendMessageMessagePayload {
|
|
8591
7829
|
'classification': ("auth" | "transactional" | "promotional" | "incoming");
|
|
@@ -8685,6 +7923,47 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8685
7923
|
interface SendMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema> {
|
|
8686
7924
|
}
|
|
8687
7925
|
}
|
|
7926
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7927
|
+
interface SendMessageEmitTargetAndPayload {
|
|
7928
|
+
/** Source. */
|
|
7929
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
7930
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.SendMessageTarget | undefined | null;
|
|
7931
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayload;
|
|
7932
|
+
}
|
|
7933
|
+
interface SendMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
7934
|
+
id: 'sendMessageEmitTargetAndPayload';
|
|
7935
|
+
version: 'v2020_12_25';
|
|
7936
|
+
namespace: 'Mercury';
|
|
7937
|
+
name: '';
|
|
7938
|
+
fields: {
|
|
7939
|
+
/** Source. */
|
|
7940
|
+
'source': {
|
|
7941
|
+
label: 'Source';
|
|
7942
|
+
type: 'schema';
|
|
7943
|
+
options: {
|
|
7944
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
7945
|
+
};
|
|
7946
|
+
};
|
|
7947
|
+
/** . */
|
|
7948
|
+
'target': {
|
|
7949
|
+
type: 'schema';
|
|
7950
|
+
options: {
|
|
7951
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema;
|
|
7952
|
+
};
|
|
7953
|
+
};
|
|
7954
|
+
/** . */
|
|
7955
|
+
'payload': {
|
|
7956
|
+
type: 'schema';
|
|
7957
|
+
isRequired: true;
|
|
7958
|
+
options: {
|
|
7959
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema;
|
|
7960
|
+
};
|
|
7961
|
+
};
|
|
7962
|
+
};
|
|
7963
|
+
}
|
|
7964
|
+
interface SendMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitTargetAndPayloadSchema> {
|
|
7965
|
+
}
|
|
7966
|
+
}
|
|
8688
7967
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8689
7968
|
interface SendMessageResponsePayload {
|
|
8690
7969
|
'message': SpruceSchemas.Spruce.v2020_07_22.Message;
|
|
@@ -8797,30 +8076,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8797
8076
|
interface SubmitErrorMessageFeedbackEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SubmitErrorMessageFeedbackEmitTargetAndPayloadSchema> {
|
|
8798
8077
|
}
|
|
8799
8078
|
}
|
|
8800
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8801
|
-
interface SyncEventContractsEmitPayload {
|
|
8802
|
-
'contract': SpruceSchemas.Mercury.v2020_12_25.EventContract;
|
|
8803
|
-
}
|
|
8804
|
-
interface SyncEventContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
8805
|
-
id: 'syncEventContractsEmitPayload';
|
|
8806
|
-
version: 'v2020_12_25';
|
|
8807
|
-
namespace: 'Mercury';
|
|
8808
|
-
name: '';
|
|
8809
|
-
importsWhenRemote: ['import \'@sprucelabs/mercury-types\''];
|
|
8810
|
-
fields: {
|
|
8811
|
-
/** . */
|
|
8812
|
-
'contract': {
|
|
8813
|
-
type: 'schema';
|
|
8814
|
-
isRequired: true;
|
|
8815
|
-
options: {
|
|
8816
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.EventContractSchema;
|
|
8817
|
-
};
|
|
8818
|
-
};
|
|
8819
|
-
};
|
|
8820
|
-
}
|
|
8821
|
-
interface SyncEventContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitPayloadSchema> {
|
|
8822
|
-
}
|
|
8823
|
-
}
|
|
8824
8079
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8825
8080
|
interface SyncEventContractsEmitTargetAndPayload {
|
|
8826
8081
|
/** Source. */
|
|
@@ -8854,6 +8109,30 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8854
8109
|
interface SyncEventContractsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitTargetAndPayloadSchema> {
|
|
8855
8110
|
}
|
|
8856
8111
|
}
|
|
8112
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8113
|
+
interface SyncEventContractsEmitPayload {
|
|
8114
|
+
'contract': SpruceSchemas.Mercury.v2020_12_25.EventContract;
|
|
8115
|
+
}
|
|
8116
|
+
interface SyncEventContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
8117
|
+
id: 'syncEventContractsEmitPayload';
|
|
8118
|
+
version: 'v2020_12_25';
|
|
8119
|
+
namespace: 'Mercury';
|
|
8120
|
+
name: '';
|
|
8121
|
+
importsWhenRemote: ['import \'@sprucelabs/mercury-types\''];
|
|
8122
|
+
fields: {
|
|
8123
|
+
/** . */
|
|
8124
|
+
'contract': {
|
|
8125
|
+
type: 'schema';
|
|
8126
|
+
isRequired: true;
|
|
8127
|
+
options: {
|
|
8128
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.EventContractSchema;
|
|
8129
|
+
};
|
|
8130
|
+
};
|
|
8131
|
+
};
|
|
8132
|
+
}
|
|
8133
|
+
interface SyncEventContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitPayloadSchema> {
|
|
8134
|
+
}
|
|
8135
|
+
}
|
|
8857
8136
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8858
8137
|
interface SyncEventContractsResponsePayload {
|
|
8859
8138
|
/** Event names. */
|
|
@@ -8905,31 +8184,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8905
8184
|
interface SyncPermissionContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsEmitPayloadSchema> {
|
|
8906
8185
|
}
|
|
8907
8186
|
}
|
|
8908
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8909
|
-
interface SyncPermissionContractsResponsePayload {
|
|
8910
|
-
'contractRecords': SpruceSchemas.Mercury.v2020_12_25.FullPermissionContract[];
|
|
8911
|
-
}
|
|
8912
|
-
interface SyncPermissionContractsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
8913
|
-
id: 'syncPermissionContractsResponsePayload';
|
|
8914
|
-
version: 'v2020_12_25';
|
|
8915
|
-
namespace: 'Mercury';
|
|
8916
|
-
name: '';
|
|
8917
|
-
fields: {
|
|
8918
|
-
/** . */
|
|
8919
|
-
'contractRecords': {
|
|
8920
|
-
type: 'schema';
|
|
8921
|
-
isRequired: true;
|
|
8922
|
-
isArray: true;
|
|
8923
|
-
minArrayLength: 0;
|
|
8924
|
-
options: {
|
|
8925
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema;
|
|
8926
|
-
};
|
|
8927
|
-
};
|
|
8928
|
-
};
|
|
8929
|
-
}
|
|
8930
|
-
interface SyncPermissionContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsResponsePayloadSchema> {
|
|
8931
|
-
}
|
|
8932
|
-
}
|
|
8933
8187
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8934
8188
|
interface SyncPermissionContractsEmitTargetAndPayload {
|
|
8935
8189
|
/** Source. */
|
|
@@ -9015,6 +8269,31 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9015
8269
|
interface FullPermissionContractEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema> {
|
|
9016
8270
|
}
|
|
9017
8271
|
}
|
|
8272
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8273
|
+
interface SyncPermissionContractsResponsePayload {
|
|
8274
|
+
'contractRecords': SpruceSchemas.Mercury.v2020_12_25.FullPermissionContract[];
|
|
8275
|
+
}
|
|
8276
|
+
interface SyncPermissionContractsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
8277
|
+
id: 'syncPermissionContractsResponsePayload';
|
|
8278
|
+
version: 'v2020_12_25';
|
|
8279
|
+
namespace: 'Mercury';
|
|
8280
|
+
name: '';
|
|
8281
|
+
fields: {
|
|
8282
|
+
/** . */
|
|
8283
|
+
'contractRecords': {
|
|
8284
|
+
type: 'schema';
|
|
8285
|
+
isRequired: true;
|
|
8286
|
+
isArray: true;
|
|
8287
|
+
minArrayLength: 0;
|
|
8288
|
+
options: {
|
|
8289
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema;
|
|
8290
|
+
};
|
|
8291
|
+
};
|
|
8292
|
+
};
|
|
8293
|
+
}
|
|
8294
|
+
interface SyncPermissionContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsResponsePayloadSchema> {
|
|
8295
|
+
}
|
|
8296
|
+
}
|
|
9018
8297
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9019
8298
|
interface UnInstallSkillEmitTarget {
|
|
9020
8299
|
'skillId': string;
|
|
@@ -11855,31 +11134,826 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
11855
11134
|
label: 'Avatar src';
|
|
11856
11135
|
type: 'image';
|
|
11857
11136
|
options: {
|
|
11858
|
-
requiredSizes: ["*"];
|
|
11137
|
+
requiredSizes: ["*"];
|
|
11138
|
+
};
|
|
11139
|
+
};
|
|
11140
|
+
/** Phone. A number that can be texted */
|
|
11141
|
+
'phone': {
|
|
11142
|
+
label: 'Phone';
|
|
11143
|
+
type: 'phone';
|
|
11144
|
+
isPrivate: true;
|
|
11145
|
+
hint: 'A number that can be texted';
|
|
11146
|
+
options: undefined;
|
|
11147
|
+
};
|
|
11148
|
+
};
|
|
11149
|
+
}
|
|
11150
|
+
interface UpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema> {
|
|
11151
|
+
}
|
|
11152
|
+
}
|
|
11153
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11154
|
+
interface UpdatePersonEmitTargetAndPayload {
|
|
11155
|
+
/** Source. */
|
|
11156
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11157
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTarget | undefined | null;
|
|
11158
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayload | undefined | null;
|
|
11159
|
+
}
|
|
11160
|
+
interface UpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11161
|
+
id: 'updatePersonEmitTargetAndPayload';
|
|
11162
|
+
version: 'v2020_12_25';
|
|
11163
|
+
namespace: 'Mercury';
|
|
11164
|
+
name: '';
|
|
11165
|
+
fields: {
|
|
11166
|
+
/** Source. */
|
|
11167
|
+
'source': {
|
|
11168
|
+
label: 'Source';
|
|
11169
|
+
type: 'schema';
|
|
11170
|
+
options: {
|
|
11171
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11172
|
+
};
|
|
11173
|
+
};
|
|
11174
|
+
/** . */
|
|
11175
|
+
'target': {
|
|
11176
|
+
type: 'schema';
|
|
11177
|
+
options: {
|
|
11178
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetSchema;
|
|
11179
|
+
};
|
|
11180
|
+
};
|
|
11181
|
+
/** . */
|
|
11182
|
+
'payload': {
|
|
11183
|
+
type: 'schema';
|
|
11184
|
+
options: {
|
|
11185
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema;
|
|
11186
|
+
};
|
|
11187
|
+
};
|
|
11188
|
+
};
|
|
11189
|
+
}
|
|
11190
|
+
interface UpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetAndPayloadSchema> {
|
|
11191
|
+
}
|
|
11192
|
+
}
|
|
11193
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11194
|
+
interface UpdatePersonResponsePayload {
|
|
11195
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
11196
|
+
}
|
|
11197
|
+
interface UpdatePersonResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11198
|
+
id: 'updatePersonResponsePayload';
|
|
11199
|
+
version: 'v2020_12_25';
|
|
11200
|
+
namespace: 'Mercury';
|
|
11201
|
+
name: '';
|
|
11202
|
+
fields: {
|
|
11203
|
+
/** . */
|
|
11204
|
+
'person': {
|
|
11205
|
+
type: 'schema';
|
|
11206
|
+
isRequired: true;
|
|
11207
|
+
options: {
|
|
11208
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
11209
|
+
};
|
|
11210
|
+
};
|
|
11211
|
+
};
|
|
11212
|
+
}
|
|
11213
|
+
interface UpdatePersonResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonResponsePayloadSchema> {
|
|
11214
|
+
}
|
|
11215
|
+
}
|
|
11216
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11217
|
+
interface UpdateRoleEmitTarget {
|
|
11218
|
+
'roleId': string;
|
|
11219
|
+
}
|
|
11220
|
+
interface UpdateRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
11221
|
+
id: 'updateRoleEmitTarget';
|
|
11222
|
+
version: 'v2020_12_25';
|
|
11223
|
+
namespace: 'Mercury';
|
|
11224
|
+
name: '';
|
|
11225
|
+
fields: {
|
|
11226
|
+
/** . */
|
|
11227
|
+
'roleId': {
|
|
11228
|
+
type: 'id';
|
|
11229
|
+
isRequired: true;
|
|
11230
|
+
options: undefined;
|
|
11231
|
+
};
|
|
11232
|
+
};
|
|
11233
|
+
}
|
|
11234
|
+
interface UpdateRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema> {
|
|
11235
|
+
}
|
|
11236
|
+
}
|
|
11237
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11238
|
+
interface UpdateRoleEmitPayload {
|
|
11239
|
+
/** Name. */
|
|
11240
|
+
'name'?: string | undefined | null;
|
|
11241
|
+
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
11242
|
+
'base'?: ("owner" | "groupManager" | "manager" | "teammate" | "anonymous" | "loggedIn" | "guest") | undefined | null;
|
|
11243
|
+
/** Description. */
|
|
11244
|
+
'description'?: string | undefined | null;
|
|
11245
|
+
'dateDeleted'?: number | undefined | null;
|
|
11246
|
+
'organizationId'?: string | undefined | null;
|
|
11247
|
+
/** Public. Should I let people that are not part of this organization this role? */
|
|
11248
|
+
'isPublic'?: boolean | undefined | null;
|
|
11249
|
+
}
|
|
11250
|
+
interface UpdateRoleEmitPayloadSchema extends SpruceSchema.Schema {
|
|
11251
|
+
id: 'updateRoleEmitPayload';
|
|
11252
|
+
version: 'v2020_12_25';
|
|
11253
|
+
namespace: 'Mercury';
|
|
11254
|
+
name: '';
|
|
11255
|
+
fields: {
|
|
11256
|
+
/** Name. */
|
|
11257
|
+
'name': {
|
|
11258
|
+
label: 'Name';
|
|
11259
|
+
type: 'text';
|
|
11260
|
+
options: undefined;
|
|
11261
|
+
};
|
|
11262
|
+
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
11263
|
+
'base': {
|
|
11264
|
+
label: 'Base';
|
|
11265
|
+
type: 'select';
|
|
11266
|
+
hint: 'A best practices starting point for a role based on the generalized roles at a company.';
|
|
11267
|
+
options: {
|
|
11268
|
+
choices: [{
|
|
11269
|
+
"label": "Owner";
|
|
11270
|
+
"value": "owner";
|
|
11271
|
+
}, {
|
|
11272
|
+
"label": "Group manager";
|
|
11273
|
+
"value": "groupManager";
|
|
11274
|
+
}, {
|
|
11275
|
+
"label": "Manager";
|
|
11276
|
+
"value": "manager";
|
|
11277
|
+
}, {
|
|
11278
|
+
"label": "Teammate";
|
|
11279
|
+
"value": "teammate";
|
|
11280
|
+
}, {
|
|
11281
|
+
"label": "Anonymous";
|
|
11282
|
+
"value": "anonymous";
|
|
11283
|
+
}, {
|
|
11284
|
+
"label": "Logged in";
|
|
11285
|
+
"value": "loggedIn";
|
|
11286
|
+
}, {
|
|
11287
|
+
"label": "Guest";
|
|
11288
|
+
"value": "guest";
|
|
11289
|
+
}];
|
|
11290
|
+
};
|
|
11291
|
+
};
|
|
11292
|
+
/** Description. */
|
|
11293
|
+
'description': {
|
|
11294
|
+
label: 'Description';
|
|
11295
|
+
type: 'text';
|
|
11296
|
+
options: undefined;
|
|
11297
|
+
};
|
|
11298
|
+
/** . */
|
|
11299
|
+
'dateDeleted': {
|
|
11300
|
+
type: 'number';
|
|
11301
|
+
options: undefined;
|
|
11302
|
+
};
|
|
11303
|
+
/** . */
|
|
11304
|
+
'organizationId': {
|
|
11305
|
+
type: 'id';
|
|
11306
|
+
options: undefined;
|
|
11307
|
+
};
|
|
11308
|
+
/** Public. Should I let people that are not part of this organization this role? */
|
|
11309
|
+
'isPublic': {
|
|
11310
|
+
label: 'Public';
|
|
11311
|
+
type: 'boolean';
|
|
11312
|
+
hint: 'Should I let people that are not part of this organization this role?';
|
|
11313
|
+
options: undefined;
|
|
11314
|
+
};
|
|
11315
|
+
};
|
|
11316
|
+
}
|
|
11317
|
+
interface UpdateRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema> {
|
|
11318
|
+
}
|
|
11319
|
+
}
|
|
11320
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11321
|
+
interface UpdateRoleEmitTargetAndPayload {
|
|
11322
|
+
/** Source. */
|
|
11323
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11324
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTarget;
|
|
11325
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayload | undefined | null;
|
|
11326
|
+
}
|
|
11327
|
+
interface UpdateRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11328
|
+
id: 'updateRoleEmitTargetAndPayload';
|
|
11329
|
+
version: 'v2020_12_25';
|
|
11330
|
+
namespace: 'Mercury';
|
|
11331
|
+
name: '';
|
|
11332
|
+
fields: {
|
|
11333
|
+
/** Source. */
|
|
11334
|
+
'source': {
|
|
11335
|
+
label: 'Source';
|
|
11336
|
+
type: 'schema';
|
|
11337
|
+
options: {
|
|
11338
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11339
|
+
};
|
|
11340
|
+
};
|
|
11341
|
+
/** . */
|
|
11342
|
+
'target': {
|
|
11343
|
+
type: 'schema';
|
|
11344
|
+
isRequired: true;
|
|
11345
|
+
options: {
|
|
11346
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema;
|
|
11347
|
+
};
|
|
11348
|
+
};
|
|
11349
|
+
/** . */
|
|
11350
|
+
'payload': {
|
|
11351
|
+
type: 'schema';
|
|
11352
|
+
options: {
|
|
11353
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema;
|
|
11354
|
+
};
|
|
11355
|
+
};
|
|
11356
|
+
};
|
|
11357
|
+
}
|
|
11358
|
+
interface UpdateRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetAndPayloadSchema> {
|
|
11359
|
+
}
|
|
11360
|
+
}
|
|
11361
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11362
|
+
interface UpdateRoleResponsePayload {
|
|
11363
|
+
'role': SpruceSchemas.Spruce.v2020_07_22.Role;
|
|
11364
|
+
}
|
|
11365
|
+
interface UpdateRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11366
|
+
id: 'updateRoleResponsePayload';
|
|
11367
|
+
version: 'v2020_12_25';
|
|
11368
|
+
namespace: 'Mercury';
|
|
11369
|
+
name: '';
|
|
11370
|
+
fields: {
|
|
11371
|
+
/** . */
|
|
11372
|
+
'role': {
|
|
11373
|
+
type: 'schema';
|
|
11374
|
+
isRequired: true;
|
|
11375
|
+
options: {
|
|
11376
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.RoleSchema;
|
|
11377
|
+
};
|
|
11378
|
+
};
|
|
11379
|
+
};
|
|
11380
|
+
}
|
|
11381
|
+
interface UpdateRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleResponsePayloadSchema> {
|
|
11382
|
+
}
|
|
11383
|
+
}
|
|
11384
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11385
|
+
interface UpsertPermissionContractEmitTarget {
|
|
11386
|
+
'organizationId': string;
|
|
11387
|
+
'permissionContractId': string;
|
|
11388
|
+
'roleId': string;
|
|
11389
|
+
'skillId'?: string | undefined | null;
|
|
11390
|
+
}
|
|
11391
|
+
interface UpsertPermissionContractEmitTargetSchema extends SpruceSchema.Schema {
|
|
11392
|
+
id: 'upsertPermissionContractEmitTarget';
|
|
11393
|
+
version: 'v2020_12_25';
|
|
11394
|
+
namespace: 'Mercury';
|
|
11395
|
+
name: '';
|
|
11396
|
+
fields: {
|
|
11397
|
+
/** . */
|
|
11398
|
+
'organizationId': {
|
|
11399
|
+
type: 'id';
|
|
11400
|
+
isRequired: true;
|
|
11401
|
+
options: undefined;
|
|
11402
|
+
};
|
|
11403
|
+
/** . */
|
|
11404
|
+
'permissionContractId': {
|
|
11405
|
+
type: 'id';
|
|
11406
|
+
isRequired: true;
|
|
11407
|
+
options: undefined;
|
|
11408
|
+
};
|
|
11409
|
+
/** . */
|
|
11410
|
+
'roleId': {
|
|
11411
|
+
type: 'id';
|
|
11412
|
+
isRequired: true;
|
|
11413
|
+
options: undefined;
|
|
11414
|
+
};
|
|
11415
|
+
/** . */
|
|
11416
|
+
'skillId': {
|
|
11417
|
+
type: 'id';
|
|
11418
|
+
options: undefined;
|
|
11419
|
+
};
|
|
11420
|
+
};
|
|
11421
|
+
}
|
|
11422
|
+
interface UpsertPermissionContractEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema> {
|
|
11423
|
+
}
|
|
11424
|
+
}
|
|
11425
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11426
|
+
interface UpsertPermissionContractEmitTargetAndPayload {
|
|
11427
|
+
/** Source. */
|
|
11428
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11429
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTarget;
|
|
11430
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayload;
|
|
11431
|
+
}
|
|
11432
|
+
interface UpsertPermissionContractEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11433
|
+
id: 'upsertPermissionContractEmitTargetAndPayload';
|
|
11434
|
+
version: 'v2020_12_25';
|
|
11435
|
+
namespace: 'Mercury';
|
|
11436
|
+
name: '';
|
|
11437
|
+
fields: {
|
|
11438
|
+
/** Source. */
|
|
11439
|
+
'source': {
|
|
11440
|
+
label: 'Source';
|
|
11441
|
+
type: 'schema';
|
|
11442
|
+
options: {
|
|
11443
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11444
|
+
};
|
|
11445
|
+
};
|
|
11446
|
+
/** . */
|
|
11447
|
+
'target': {
|
|
11448
|
+
type: 'schema';
|
|
11449
|
+
isRequired: true;
|
|
11450
|
+
options: {
|
|
11451
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema;
|
|
11452
|
+
};
|
|
11453
|
+
};
|
|
11454
|
+
/** . */
|
|
11455
|
+
'payload': {
|
|
11456
|
+
type: 'schema';
|
|
11457
|
+
isRequired: true;
|
|
11458
|
+
options: {
|
|
11459
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema;
|
|
11460
|
+
};
|
|
11461
|
+
};
|
|
11462
|
+
};
|
|
11463
|
+
}
|
|
11464
|
+
interface UpsertPermissionContractEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetAndPayloadSchema> {
|
|
11465
|
+
}
|
|
11466
|
+
}
|
|
11467
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11468
|
+
interface UpsertPermissionContractsEmitPayload {
|
|
11469
|
+
/** Name. Human readable name for this contract */
|
|
11470
|
+
'name': string;
|
|
11471
|
+
/** Description. */
|
|
11472
|
+
'description'?: string | undefined | null;
|
|
11473
|
+
/** Require all permissions. */
|
|
11474
|
+
'requireAllPermissions'?: boolean | undefined | null;
|
|
11475
|
+
'permissions': SpruceSchemas.Mercury.v2020_12_25.Permission[];
|
|
11476
|
+
}
|
|
11477
|
+
interface UpsertPermissionContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
11478
|
+
id: 'upsertPermissionContractsEmitPayload';
|
|
11479
|
+
version: 'v2020_12_25';
|
|
11480
|
+
namespace: 'Mercury';
|
|
11481
|
+
name: '';
|
|
11482
|
+
fields: {
|
|
11483
|
+
/** Name. Human readable name for this contract */
|
|
11484
|
+
'name': {
|
|
11485
|
+
label: 'Name';
|
|
11486
|
+
type: 'text';
|
|
11487
|
+
isRequired: true;
|
|
11488
|
+
hint: 'Human readable name for this contract';
|
|
11489
|
+
options: undefined;
|
|
11490
|
+
};
|
|
11491
|
+
/** Description. */
|
|
11492
|
+
'description': {
|
|
11493
|
+
label: 'Description';
|
|
11494
|
+
type: 'text';
|
|
11495
|
+
options: undefined;
|
|
11496
|
+
};
|
|
11497
|
+
/** Require all permissions. */
|
|
11498
|
+
'requireAllPermissions': {
|
|
11499
|
+
label: 'Require all permissions';
|
|
11500
|
+
type: 'boolean';
|
|
11501
|
+
defaultValue: false;
|
|
11502
|
+
options: undefined;
|
|
11503
|
+
};
|
|
11504
|
+
/** . */
|
|
11505
|
+
'permissions': {
|
|
11506
|
+
type: 'schema';
|
|
11507
|
+
isRequired: true;
|
|
11508
|
+
isArray: true;
|
|
11509
|
+
minArrayLength: 0;
|
|
11510
|
+
options: {
|
|
11511
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionSchema;
|
|
11512
|
+
};
|
|
11513
|
+
};
|
|
11514
|
+
};
|
|
11515
|
+
}
|
|
11516
|
+
interface UpsertPermissionContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema> {
|
|
11517
|
+
}
|
|
11518
|
+
}
|
|
11519
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11520
|
+
interface UpsertPermissionContractResponsePayload {
|
|
11521
|
+
'permissionContract': SpruceSchemas.Mercury.v2020_12_25.PermissionContract;
|
|
11522
|
+
}
|
|
11523
|
+
interface UpsertPermissionContractResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11524
|
+
id: 'upsertPermissionContractResponsePayload';
|
|
11525
|
+
version: 'v2020_12_25';
|
|
11526
|
+
namespace: 'Mercury';
|
|
11527
|
+
name: '';
|
|
11528
|
+
fields: {
|
|
11529
|
+
/** . */
|
|
11530
|
+
'permissionContract': {
|
|
11531
|
+
type: 'schema';
|
|
11532
|
+
isRequired: true;
|
|
11533
|
+
options: {
|
|
11534
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionContractSchema;
|
|
11535
|
+
};
|
|
11536
|
+
};
|
|
11537
|
+
};
|
|
11538
|
+
}
|
|
11539
|
+
interface UpsertPermissionContractResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractResponsePayloadSchema> {
|
|
11540
|
+
}
|
|
11541
|
+
}
|
|
11542
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11543
|
+
interface VoteForFeatureEmitPayload {
|
|
11544
|
+
'featureKey': string;
|
|
11545
|
+
'skillNamespace': string;
|
|
11546
|
+
}
|
|
11547
|
+
interface VoteForFeatureEmitPayloadSchema extends SpruceSchema.Schema {
|
|
11548
|
+
id: 'voteForFeatureEmitPayload';
|
|
11549
|
+
version: 'v2020_12_25';
|
|
11550
|
+
namespace: 'Mercury';
|
|
11551
|
+
name: '';
|
|
11552
|
+
fields: {
|
|
11553
|
+
/** . */
|
|
11554
|
+
'featureKey': {
|
|
11555
|
+
type: 'id';
|
|
11556
|
+
isRequired: true;
|
|
11557
|
+
options: undefined;
|
|
11558
|
+
};
|
|
11559
|
+
/** . */
|
|
11560
|
+
'skillNamespace': {
|
|
11561
|
+
type: 'id';
|
|
11562
|
+
isRequired: true;
|
|
11563
|
+
options: undefined;
|
|
11564
|
+
};
|
|
11565
|
+
};
|
|
11566
|
+
}
|
|
11567
|
+
interface VoteForFeatureEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema> {
|
|
11568
|
+
}
|
|
11569
|
+
}
|
|
11570
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11571
|
+
interface VoteForFeatureEmitTargetAndPayload {
|
|
11572
|
+
/** Source. */
|
|
11573
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11574
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayload;
|
|
11575
|
+
}
|
|
11576
|
+
interface VoteForFeatureEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11577
|
+
id: 'voteForFeatureEmitTargetAndPayload';
|
|
11578
|
+
version: 'v2020_12_25';
|
|
11579
|
+
namespace: 'Mercury';
|
|
11580
|
+
name: '';
|
|
11581
|
+
fields: {
|
|
11582
|
+
/** Source. */
|
|
11583
|
+
'source': {
|
|
11584
|
+
label: 'Source';
|
|
11585
|
+
type: 'schema';
|
|
11586
|
+
options: {
|
|
11587
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11588
|
+
};
|
|
11589
|
+
};
|
|
11590
|
+
/** . */
|
|
11591
|
+
'payload': {
|
|
11592
|
+
type: 'schema';
|
|
11593
|
+
isRequired: true;
|
|
11594
|
+
options: {
|
|
11595
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema;
|
|
11596
|
+
};
|
|
11597
|
+
};
|
|
11598
|
+
};
|
|
11599
|
+
}
|
|
11600
|
+
interface VoteForFeatureEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitTargetAndPayloadSchema> {
|
|
11601
|
+
}
|
|
11602
|
+
}
|
|
11603
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11604
|
+
interface VoteForFeatureResponsePayload {
|
|
11605
|
+
'totalVotes': number;
|
|
11606
|
+
}
|
|
11607
|
+
interface VoteForFeatureResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11608
|
+
id: 'voteForFeatureResponsePayload';
|
|
11609
|
+
version: 'v2020_12_25';
|
|
11610
|
+
namespace: 'Mercury';
|
|
11611
|
+
name: '';
|
|
11612
|
+
fields: {
|
|
11613
|
+
/** . */
|
|
11614
|
+
'totalVotes': {
|
|
11615
|
+
type: 'number';
|
|
11616
|
+
isRequired: true;
|
|
11617
|
+
options: undefined;
|
|
11618
|
+
};
|
|
11619
|
+
};
|
|
11620
|
+
}
|
|
11621
|
+
interface VoteForFeatureResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureResponsePayloadSchema> {
|
|
11622
|
+
}
|
|
11623
|
+
}
|
|
11624
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11625
|
+
interface WhoamiEmitTargetAndPayload {
|
|
11626
|
+
/** Source. */
|
|
11627
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11628
|
+
}
|
|
11629
|
+
interface WhoamiEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11630
|
+
id: 'whoamiEmitTargetAndPayload';
|
|
11631
|
+
version: 'v2020_12_25';
|
|
11632
|
+
namespace: 'Mercury';
|
|
11633
|
+
name: '';
|
|
11634
|
+
fields: {
|
|
11635
|
+
/** Source. */
|
|
11636
|
+
'source': {
|
|
11637
|
+
label: 'Source';
|
|
11638
|
+
type: 'schema';
|
|
11639
|
+
options: {
|
|
11640
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11641
|
+
};
|
|
11642
|
+
};
|
|
11643
|
+
};
|
|
11644
|
+
}
|
|
11645
|
+
interface WhoamiEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.WhoamiEmitTargetAndPayloadSchema> {
|
|
11646
|
+
}
|
|
11647
|
+
}
|
|
11648
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11649
|
+
interface DidInstallEmitTarget {
|
|
11650
|
+
'organizationId': string;
|
|
11651
|
+
'skillId': string;
|
|
11652
|
+
}
|
|
11653
|
+
interface DidInstallEmitTargetSchema extends SpruceSchema.Schema {
|
|
11654
|
+
id: 'didInstallEmitTarget';
|
|
11655
|
+
version: 'v2020_12_25';
|
|
11656
|
+
namespace: 'Mercury';
|
|
11657
|
+
name: '';
|
|
11658
|
+
fields: {
|
|
11659
|
+
/** . */
|
|
11660
|
+
'organizationId': {
|
|
11661
|
+
type: 'id';
|
|
11662
|
+
isRequired: true;
|
|
11663
|
+
options: undefined;
|
|
11664
|
+
};
|
|
11665
|
+
/** . */
|
|
11666
|
+
'skillId': {
|
|
11667
|
+
type: 'id';
|
|
11668
|
+
isRequired: true;
|
|
11669
|
+
options: undefined;
|
|
11670
|
+
};
|
|
11671
|
+
};
|
|
11672
|
+
}
|
|
11673
|
+
interface DidInstallEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema> {
|
|
11674
|
+
}
|
|
11675
|
+
}
|
|
11676
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11677
|
+
interface DidInstallEmitTargetAndPayload {
|
|
11678
|
+
/** Source. */
|
|
11679
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11680
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTarget;
|
|
11681
|
+
}
|
|
11682
|
+
interface DidInstallEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11683
|
+
id: 'didInstallEmitTargetAndPayload';
|
|
11684
|
+
version: 'v2020_12_25';
|
|
11685
|
+
namespace: 'Mercury';
|
|
11686
|
+
name: '';
|
|
11687
|
+
fields: {
|
|
11688
|
+
/** Source. */
|
|
11689
|
+
'source': {
|
|
11690
|
+
label: 'Source';
|
|
11691
|
+
type: 'schema';
|
|
11692
|
+
options: {
|
|
11693
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11694
|
+
};
|
|
11695
|
+
};
|
|
11696
|
+
/** . */
|
|
11697
|
+
'target': {
|
|
11698
|
+
type: 'schema';
|
|
11699
|
+
isRequired: true;
|
|
11700
|
+
options: {
|
|
11701
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema;
|
|
11702
|
+
};
|
|
11703
|
+
};
|
|
11704
|
+
};
|
|
11705
|
+
}
|
|
11706
|
+
interface DidInstallEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetAndPayloadSchema> {
|
|
11707
|
+
}
|
|
11708
|
+
}
|
|
11709
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11710
|
+
interface DidInstallResponsePayload {
|
|
11711
|
+
}
|
|
11712
|
+
interface DidInstallResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11713
|
+
id: 'didInstallResponsePayload';
|
|
11714
|
+
version: 'v2020_12_25';
|
|
11715
|
+
namespace: 'Mercury';
|
|
11716
|
+
name: '';
|
|
11717
|
+
fields: {};
|
|
11718
|
+
}
|
|
11719
|
+
interface DidInstallResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallResponsePayloadSchema> {
|
|
11720
|
+
}
|
|
11721
|
+
}
|
|
11722
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11723
|
+
interface DidJoinOrganizationEmitTarget {
|
|
11724
|
+
'organizationId': string;
|
|
11725
|
+
'locationId'?: string | undefined | null;
|
|
11726
|
+
}
|
|
11727
|
+
interface DidJoinOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
11728
|
+
id: 'didJoinOrganizationEmitTarget';
|
|
11729
|
+
version: 'v2020_12_25';
|
|
11730
|
+
namespace: 'Mercury';
|
|
11731
|
+
name: '';
|
|
11732
|
+
fields: {
|
|
11733
|
+
/** . */
|
|
11734
|
+
'organizationId': {
|
|
11735
|
+
type: 'id';
|
|
11736
|
+
isRequired: true;
|
|
11737
|
+
options: undefined;
|
|
11738
|
+
};
|
|
11739
|
+
/** . */
|
|
11740
|
+
'locationId': {
|
|
11741
|
+
type: 'id';
|
|
11742
|
+
options: undefined;
|
|
11743
|
+
};
|
|
11744
|
+
};
|
|
11745
|
+
}
|
|
11746
|
+
interface DidJoinOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema> {
|
|
11747
|
+
}
|
|
11748
|
+
}
|
|
11749
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11750
|
+
interface DidJoinOrganizationEmitPayload {
|
|
11751
|
+
'personId': string;
|
|
11752
|
+
'roleId': string;
|
|
11753
|
+
'isFirstRole': boolean;
|
|
11754
|
+
}
|
|
11755
|
+
interface DidJoinOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
11756
|
+
id: 'didJoinOrganizationEmitPayload';
|
|
11757
|
+
version: 'v2020_12_25';
|
|
11758
|
+
namespace: 'Mercury';
|
|
11759
|
+
name: '';
|
|
11760
|
+
fields: {
|
|
11761
|
+
/** . */
|
|
11762
|
+
'personId': {
|
|
11763
|
+
type: 'id';
|
|
11764
|
+
isRequired: true;
|
|
11765
|
+
options: undefined;
|
|
11766
|
+
};
|
|
11767
|
+
/** . */
|
|
11768
|
+
'roleId': {
|
|
11769
|
+
type: 'id';
|
|
11770
|
+
isRequired: true;
|
|
11771
|
+
options: undefined;
|
|
11772
|
+
};
|
|
11773
|
+
/** . */
|
|
11774
|
+
'isFirstRole': {
|
|
11775
|
+
type: 'boolean';
|
|
11776
|
+
isRequired: true;
|
|
11777
|
+
options: undefined;
|
|
11778
|
+
};
|
|
11779
|
+
};
|
|
11780
|
+
}
|
|
11781
|
+
interface DidJoinOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema> {
|
|
11782
|
+
}
|
|
11783
|
+
}
|
|
11784
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11785
|
+
interface DidJoinOrganizationEmitTargetAndPayload {
|
|
11786
|
+
/** Source. */
|
|
11787
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11788
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTarget;
|
|
11789
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayload;
|
|
11790
|
+
}
|
|
11791
|
+
interface DidJoinOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11792
|
+
id: 'didJoinOrganizationEmitTargetAndPayload';
|
|
11793
|
+
version: 'v2020_12_25';
|
|
11794
|
+
namespace: 'Mercury';
|
|
11795
|
+
name: '';
|
|
11796
|
+
fields: {
|
|
11797
|
+
/** Source. */
|
|
11798
|
+
'source': {
|
|
11799
|
+
label: 'Source';
|
|
11800
|
+
type: 'schema';
|
|
11801
|
+
options: {
|
|
11802
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11803
|
+
};
|
|
11804
|
+
};
|
|
11805
|
+
/** . */
|
|
11806
|
+
'target': {
|
|
11807
|
+
type: 'schema';
|
|
11808
|
+
isRequired: true;
|
|
11809
|
+
options: {
|
|
11810
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema;
|
|
11811
|
+
};
|
|
11812
|
+
};
|
|
11813
|
+
/** . */
|
|
11814
|
+
'payload': {
|
|
11815
|
+
type: 'schema';
|
|
11816
|
+
isRequired: true;
|
|
11817
|
+
options: {
|
|
11818
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema;
|
|
11819
|
+
};
|
|
11820
|
+
};
|
|
11821
|
+
};
|
|
11822
|
+
}
|
|
11823
|
+
interface DidJoinOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetAndPayloadSchema> {
|
|
11824
|
+
}
|
|
11825
|
+
}
|
|
11826
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11827
|
+
interface MessageTemplateAddons {
|
|
11828
|
+
'nextINeedYouTo'?: string[] | undefined | null;
|
|
11829
|
+
'youShouldKnowThat'?: string[] | undefined | null;
|
|
11830
|
+
'links'?: SpruceSchemas.Spruce.v2020_07_22.Link[] | undefined | null;
|
|
11831
|
+
}
|
|
11832
|
+
interface MessageTemplateAddonsSchema extends SpruceSchema.Schema {
|
|
11833
|
+
id: 'messageTemplateAddons';
|
|
11834
|
+
version: 'v2020_12_25';
|
|
11835
|
+
namespace: 'Mercury';
|
|
11836
|
+
name: '';
|
|
11837
|
+
fields: {
|
|
11838
|
+
/** . */
|
|
11839
|
+
'nextINeedYouTo': {
|
|
11840
|
+
type: 'text';
|
|
11841
|
+
isArray: true;
|
|
11842
|
+
options: undefined;
|
|
11843
|
+
};
|
|
11844
|
+
/** . */
|
|
11845
|
+
'youShouldKnowThat': {
|
|
11846
|
+
type: 'text';
|
|
11847
|
+
isArray: true;
|
|
11848
|
+
options: undefined;
|
|
11849
|
+
};
|
|
11850
|
+
/** . */
|
|
11851
|
+
'links': {
|
|
11852
|
+
type: 'schema';
|
|
11853
|
+
isArray: true;
|
|
11854
|
+
minArrayLength: 0;
|
|
11855
|
+
options: {
|
|
11856
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.LinkSchema;
|
|
11857
|
+
};
|
|
11858
|
+
};
|
|
11859
|
+
};
|
|
11860
|
+
}
|
|
11861
|
+
interface MessageTemplateAddonsEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema> {
|
|
11862
|
+
}
|
|
11863
|
+
}
|
|
11864
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11865
|
+
interface DidJoinOrganizationResponsePayload {
|
|
11866
|
+
'messaging'?: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddons | undefined | null;
|
|
11867
|
+
}
|
|
11868
|
+
interface DidJoinOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11869
|
+
id: 'didJoinOrganizationResponsePayload';
|
|
11870
|
+
version: 'v2020_12_25';
|
|
11871
|
+
namespace: 'Mercury';
|
|
11872
|
+
name: '';
|
|
11873
|
+
fields: {
|
|
11874
|
+
/** . */
|
|
11875
|
+
'messaging': {
|
|
11876
|
+
type: 'schema';
|
|
11877
|
+
options: {
|
|
11878
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema;
|
|
11859
11879
|
};
|
|
11860
11880
|
};
|
|
11861
|
-
|
|
11862
|
-
|
|
11863
|
-
|
|
11864
|
-
|
|
11865
|
-
|
|
11866
|
-
|
|
11881
|
+
};
|
|
11882
|
+
}
|
|
11883
|
+
interface DidJoinOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationResponsePayloadSchema> {
|
|
11884
|
+
}
|
|
11885
|
+
}
|
|
11886
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11887
|
+
interface DidLeaveOrganizationEmitTarget {
|
|
11888
|
+
'organizationId': string;
|
|
11889
|
+
'locationId'?: string | undefined | null;
|
|
11890
|
+
}
|
|
11891
|
+
interface DidLeaveOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
11892
|
+
id: 'didLeaveOrganizationEmitTarget';
|
|
11893
|
+
version: 'v2020_12_25';
|
|
11894
|
+
namespace: 'Mercury';
|
|
11895
|
+
name: '';
|
|
11896
|
+
fields: {
|
|
11897
|
+
/** . */
|
|
11898
|
+
'organizationId': {
|
|
11899
|
+
type: 'id';
|
|
11900
|
+
isRequired: true;
|
|
11901
|
+
options: undefined;
|
|
11902
|
+
};
|
|
11903
|
+
/** . */
|
|
11904
|
+
'locationId': {
|
|
11905
|
+
type: 'id';
|
|
11867
11906
|
options: undefined;
|
|
11868
11907
|
};
|
|
11869
11908
|
};
|
|
11870
11909
|
}
|
|
11871
|
-
interface
|
|
11910
|
+
interface DidLeaveOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema> {
|
|
11872
11911
|
}
|
|
11873
11912
|
}
|
|
11874
11913
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11875
|
-
interface
|
|
11914
|
+
interface DidLeaveOrganizationEmitPayload {
|
|
11915
|
+
'personId': string;
|
|
11916
|
+
'roleId': string;
|
|
11917
|
+
'isLastRole': boolean;
|
|
11918
|
+
}
|
|
11919
|
+
interface DidLeaveOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
11920
|
+
id: 'didLeaveOrganizationEmitPayload';
|
|
11921
|
+
version: 'v2020_12_25';
|
|
11922
|
+
namespace: 'Mercury';
|
|
11923
|
+
name: '';
|
|
11924
|
+
fields: {
|
|
11925
|
+
/** . */
|
|
11926
|
+
'personId': {
|
|
11927
|
+
type: 'id';
|
|
11928
|
+
isRequired: true;
|
|
11929
|
+
options: undefined;
|
|
11930
|
+
};
|
|
11931
|
+
/** . */
|
|
11932
|
+
'roleId': {
|
|
11933
|
+
type: 'id';
|
|
11934
|
+
isRequired: true;
|
|
11935
|
+
options: undefined;
|
|
11936
|
+
};
|
|
11937
|
+
/** . */
|
|
11938
|
+
'isLastRole': {
|
|
11939
|
+
type: 'boolean';
|
|
11940
|
+
isRequired: true;
|
|
11941
|
+
options: undefined;
|
|
11942
|
+
};
|
|
11943
|
+
};
|
|
11944
|
+
}
|
|
11945
|
+
interface DidLeaveOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema> {
|
|
11946
|
+
}
|
|
11947
|
+
}
|
|
11948
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11949
|
+
interface DidLeaveOrganizationEmitTargetAndPayload {
|
|
11876
11950
|
/** Source. */
|
|
11877
11951
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11878
|
-
'target'
|
|
11879
|
-
'payload'
|
|
11952
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTarget;
|
|
11953
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayload;
|
|
11880
11954
|
}
|
|
11881
|
-
interface
|
|
11882
|
-
id: '
|
|
11955
|
+
interface DidLeaveOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11956
|
+
id: 'didLeaveOrganizationEmitTargetAndPayload';
|
|
11883
11957
|
version: 'v2020_12_25';
|
|
11884
11958
|
namespace: 'Mercury';
|
|
11885
11959
|
name: '';
|
|
@@ -11895,315 +11969,225 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
11895
11969
|
/** . */
|
|
11896
11970
|
'target': {
|
|
11897
11971
|
type: 'schema';
|
|
11972
|
+
isRequired: true;
|
|
11898
11973
|
options: {
|
|
11899
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
11974
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema;
|
|
11900
11975
|
};
|
|
11901
11976
|
};
|
|
11902
11977
|
/** . */
|
|
11903
11978
|
'payload': {
|
|
11904
11979
|
type: 'schema';
|
|
11980
|
+
isRequired: true;
|
|
11905
11981
|
options: {
|
|
11906
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
11982
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema;
|
|
11907
11983
|
};
|
|
11908
11984
|
};
|
|
11909
11985
|
};
|
|
11910
11986
|
}
|
|
11911
|
-
interface
|
|
11987
|
+
interface DidLeaveOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetAndPayloadSchema> {
|
|
11912
11988
|
}
|
|
11913
11989
|
}
|
|
11914
11990
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11915
|
-
interface
|
|
11916
|
-
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
11991
|
+
interface DidLeaveOrganizationResponsePayload {
|
|
11917
11992
|
}
|
|
11918
|
-
interface
|
|
11919
|
-
id: '
|
|
11993
|
+
interface DidLeaveOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11994
|
+
id: 'didLeaveOrganizationResponsePayload';
|
|
11920
11995
|
version: 'v2020_12_25';
|
|
11921
11996
|
namespace: 'Mercury';
|
|
11922
11997
|
name: '';
|
|
11923
|
-
fields: {
|
|
11924
|
-
/** . */
|
|
11925
|
-
'person': {
|
|
11926
|
-
type: 'schema';
|
|
11927
|
-
isRequired: true;
|
|
11928
|
-
options: {
|
|
11929
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
11930
|
-
};
|
|
11931
|
-
};
|
|
11932
|
-
};
|
|
11998
|
+
fields: {};
|
|
11933
11999
|
}
|
|
11934
|
-
interface
|
|
12000
|
+
interface DidLeaveOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationResponsePayloadSchema> {
|
|
11935
12001
|
}
|
|
11936
12002
|
}
|
|
11937
12003
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11938
|
-
interface
|
|
11939
|
-
'
|
|
12004
|
+
interface DidMessageEmitPayload {
|
|
12005
|
+
'message': SpruceSchemas.Spruce.v2020_07_22.Message;
|
|
12006
|
+
'conversationState'?: string | undefined | null;
|
|
12007
|
+
'topic'?: string | undefined | null;
|
|
11940
12008
|
}
|
|
11941
|
-
interface
|
|
11942
|
-
id: '
|
|
12009
|
+
interface DidMessageEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12010
|
+
id: 'didMessageEmitPayload';
|
|
11943
12011
|
version: 'v2020_12_25';
|
|
11944
12012
|
namespace: 'Mercury';
|
|
11945
12013
|
name: '';
|
|
11946
12014
|
fields: {
|
|
11947
12015
|
/** . */
|
|
11948
|
-
'
|
|
11949
|
-
type: '
|
|
12016
|
+
'message': {
|
|
12017
|
+
type: 'schema';
|
|
11950
12018
|
isRequired: true;
|
|
12019
|
+
options: {
|
|
12020
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.MessageSchema;
|
|
12021
|
+
};
|
|
12022
|
+
};
|
|
12023
|
+
/** . */
|
|
12024
|
+
'conversationState': {
|
|
12025
|
+
type: 'text';
|
|
12026
|
+
options: undefined;
|
|
12027
|
+
};
|
|
12028
|
+
/** . */
|
|
12029
|
+
'topic': {
|
|
12030
|
+
type: 'text';
|
|
11951
12031
|
options: undefined;
|
|
11952
12032
|
};
|
|
11953
12033
|
};
|
|
11954
12034
|
}
|
|
11955
|
-
interface
|
|
12035
|
+
interface DidMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema> {
|
|
11956
12036
|
}
|
|
11957
12037
|
}
|
|
11958
12038
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11959
|
-
interface
|
|
11960
|
-
|
|
11961
|
-
'
|
|
11962
|
-
|
|
11963
|
-
'base'?: ("owner" | "groupManager" | "manager" | "teammate" | "anonymous" | "loggedIn" | "guest") | undefined | null;
|
|
11964
|
-
/** Description. */
|
|
11965
|
-
'description'?: string | undefined | null;
|
|
11966
|
-
'dateDeleted'?: number | undefined | null;
|
|
11967
|
-
'organizationId'?: string | undefined | null;
|
|
11968
|
-
/** Public. Should I let people that are not part of this organization this role? */
|
|
11969
|
-
'isPublic'?: boolean | undefined | null;
|
|
12039
|
+
interface ConversationTopic {
|
|
12040
|
+
'key': string;
|
|
12041
|
+
'confidence': number;
|
|
12042
|
+
'label': string;
|
|
11970
12043
|
}
|
|
11971
|
-
interface
|
|
11972
|
-
id: '
|
|
12044
|
+
interface ConversationTopicSchema extends SpruceSchema.Schema {
|
|
12045
|
+
id: 'conversationTopic';
|
|
11973
12046
|
version: 'v2020_12_25';
|
|
11974
12047
|
namespace: 'Mercury';
|
|
11975
12048
|
name: '';
|
|
11976
12049
|
fields: {
|
|
11977
|
-
/**
|
|
11978
|
-
'
|
|
11979
|
-
label: 'Name';
|
|
11980
|
-
type: 'text';
|
|
11981
|
-
options: undefined;
|
|
11982
|
-
};
|
|
11983
|
-
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
11984
|
-
'base': {
|
|
11985
|
-
label: 'Base';
|
|
11986
|
-
type: 'select';
|
|
11987
|
-
hint: 'A best practices starting point for a role based on the generalized roles at a company.';
|
|
11988
|
-
options: {
|
|
11989
|
-
choices: [{
|
|
11990
|
-
"label": "Owner";
|
|
11991
|
-
"value": "owner";
|
|
11992
|
-
}, {
|
|
11993
|
-
"label": "Group manager";
|
|
11994
|
-
"value": "groupManager";
|
|
11995
|
-
}, {
|
|
11996
|
-
"label": "Manager";
|
|
11997
|
-
"value": "manager";
|
|
11998
|
-
}, {
|
|
11999
|
-
"label": "Teammate";
|
|
12000
|
-
"value": "teammate";
|
|
12001
|
-
}, {
|
|
12002
|
-
"label": "Anonymous";
|
|
12003
|
-
"value": "anonymous";
|
|
12004
|
-
}, {
|
|
12005
|
-
"label": "Logged in";
|
|
12006
|
-
"value": "loggedIn";
|
|
12007
|
-
}, {
|
|
12008
|
-
"label": "Guest";
|
|
12009
|
-
"value": "guest";
|
|
12010
|
-
}];
|
|
12011
|
-
};
|
|
12012
|
-
};
|
|
12013
|
-
/** Description. */
|
|
12014
|
-
'description': {
|
|
12015
|
-
label: 'Description';
|
|
12050
|
+
/** . */
|
|
12051
|
+
'key': {
|
|
12016
12052
|
type: 'text';
|
|
12053
|
+
isRequired: true;
|
|
12017
12054
|
options: undefined;
|
|
12018
12055
|
};
|
|
12019
12056
|
/** . */
|
|
12020
|
-
'
|
|
12057
|
+
'confidence': {
|
|
12021
12058
|
type: 'number';
|
|
12059
|
+
isRequired: true;
|
|
12022
12060
|
options: undefined;
|
|
12023
12061
|
};
|
|
12024
12062
|
/** . */
|
|
12025
|
-
'
|
|
12026
|
-
type: '
|
|
12027
|
-
|
|
12028
|
-
};
|
|
12029
|
-
/** Public. Should I let people that are not part of this organization this role? */
|
|
12030
|
-
'isPublic': {
|
|
12031
|
-
label: 'Public';
|
|
12032
|
-
type: 'boolean';
|
|
12033
|
-
hint: 'Should I let people that are not part of this organization this role?';
|
|
12063
|
+
'label': {
|
|
12064
|
+
type: 'text';
|
|
12065
|
+
isRequired: true;
|
|
12034
12066
|
options: undefined;
|
|
12035
12067
|
};
|
|
12036
12068
|
};
|
|
12037
12069
|
}
|
|
12038
|
-
interface
|
|
12070
|
+
interface ConversationTopicEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema> {
|
|
12039
12071
|
}
|
|
12040
12072
|
}
|
|
12041
12073
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12042
|
-
interface
|
|
12043
|
-
|
|
12044
|
-
'
|
|
12045
|
-
'
|
|
12046
|
-
'
|
|
12074
|
+
interface DidMessageResponsePayload {
|
|
12075
|
+
'transitionConversationTo'?: ("greeting" | "discovery" | "topic" | "closing") | undefined | null;
|
|
12076
|
+
'repairs'?: string[] | undefined | null;
|
|
12077
|
+
'topicChangers'?: string[] | undefined | null;
|
|
12078
|
+
'utterance'?: string | undefined | null;
|
|
12079
|
+
'suggestedTopics'?: SpruceSchemas.Mercury.v2020_12_25.ConversationTopic[] | undefined | null;
|
|
12047
12080
|
}
|
|
12048
|
-
interface
|
|
12049
|
-
id: '
|
|
12081
|
+
interface DidMessageResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12082
|
+
id: 'didMessageResponsePayload';
|
|
12050
12083
|
version: 'v2020_12_25';
|
|
12051
12084
|
namespace: 'Mercury';
|
|
12052
12085
|
name: '';
|
|
12053
12086
|
fields: {
|
|
12054
|
-
/**
|
|
12055
|
-
'
|
|
12056
|
-
|
|
12057
|
-
type: 'schema';
|
|
12087
|
+
/** . */
|
|
12088
|
+
'transitionConversationTo': {
|
|
12089
|
+
type: 'select';
|
|
12058
12090
|
options: {
|
|
12059
|
-
|
|
12091
|
+
choices: [{
|
|
12092
|
+
"label": "Greeting";
|
|
12093
|
+
"value": "greeting";
|
|
12094
|
+
}, {
|
|
12095
|
+
"label": "Discovery";
|
|
12096
|
+
"value": "discovery";
|
|
12097
|
+
}, {
|
|
12098
|
+
"label": "Topic";
|
|
12099
|
+
"value": "topic";
|
|
12100
|
+
}, {
|
|
12101
|
+
"label": "Closing";
|
|
12102
|
+
"value": "closing";
|
|
12103
|
+
}];
|
|
12060
12104
|
};
|
|
12061
12105
|
};
|
|
12062
12106
|
/** . */
|
|
12063
|
-
'
|
|
12064
|
-
type: '
|
|
12065
|
-
|
|
12066
|
-
options:
|
|
12067
|
-
|
|
12068
|
-
|
|
12107
|
+
'repairs': {
|
|
12108
|
+
type: 'text';
|
|
12109
|
+
isArray: true;
|
|
12110
|
+
options: undefined;
|
|
12111
|
+
};
|
|
12112
|
+
/** . */
|
|
12113
|
+
'topicChangers': {
|
|
12114
|
+
type: 'text';
|
|
12115
|
+
isArray: true;
|
|
12116
|
+
options: undefined;
|
|
12069
12117
|
};
|
|
12070
12118
|
/** . */
|
|
12071
|
-
'
|
|
12119
|
+
'utterance': {
|
|
12120
|
+
type: 'text';
|
|
12121
|
+
options: undefined;
|
|
12122
|
+
};
|
|
12123
|
+
/** . */
|
|
12124
|
+
'suggestedTopics': {
|
|
12072
12125
|
type: 'schema';
|
|
12126
|
+
isArray: true;
|
|
12073
12127
|
options: {
|
|
12074
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12128
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema;
|
|
12075
12129
|
};
|
|
12076
12130
|
};
|
|
12077
12131
|
};
|
|
12078
12132
|
}
|
|
12079
|
-
interface
|
|
12133
|
+
interface DidMessageResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageResponsePayloadSchema> {
|
|
12080
12134
|
}
|
|
12081
12135
|
}
|
|
12082
12136
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12083
|
-
interface
|
|
12084
|
-
'
|
|
12137
|
+
interface DidSignupEmitPayload {
|
|
12138
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
12085
12139
|
}
|
|
12086
|
-
interface
|
|
12087
|
-
id: '
|
|
12140
|
+
interface DidSignupEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12141
|
+
id: 'didSignupEmitPayload';
|
|
12088
12142
|
version: 'v2020_12_25';
|
|
12089
12143
|
namespace: 'Mercury';
|
|
12090
12144
|
name: '';
|
|
12091
12145
|
fields: {
|
|
12092
12146
|
/** . */
|
|
12093
|
-
'
|
|
12147
|
+
'person': {
|
|
12094
12148
|
type: 'schema';
|
|
12095
12149
|
isRequired: true;
|
|
12096
12150
|
options: {
|
|
12097
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.
|
|
12151
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
12098
12152
|
};
|
|
12099
12153
|
};
|
|
12100
12154
|
};
|
|
12101
12155
|
}
|
|
12102
|
-
interface
|
|
12103
|
-
}
|
|
12104
|
-
}
|
|
12105
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12106
|
-
interface UpsertPermissionContractEmitTarget {
|
|
12107
|
-
'organizationId': string;
|
|
12108
|
-
'permissionContractId': string;
|
|
12109
|
-
'roleId': string;
|
|
12110
|
-
'skillId'?: string | undefined | null;
|
|
12111
|
-
}
|
|
12112
|
-
interface UpsertPermissionContractEmitTargetSchema extends SpruceSchema.Schema {
|
|
12113
|
-
id: 'upsertPermissionContractEmitTarget';
|
|
12114
|
-
version: 'v2020_12_25';
|
|
12115
|
-
namespace: 'Mercury';
|
|
12116
|
-
name: '';
|
|
12117
|
-
fields: {
|
|
12118
|
-
/** . */
|
|
12119
|
-
'organizationId': {
|
|
12120
|
-
type: 'id';
|
|
12121
|
-
isRequired: true;
|
|
12122
|
-
options: undefined;
|
|
12123
|
-
};
|
|
12124
|
-
/** . */
|
|
12125
|
-
'permissionContractId': {
|
|
12126
|
-
type: 'id';
|
|
12127
|
-
isRequired: true;
|
|
12128
|
-
options: undefined;
|
|
12129
|
-
};
|
|
12130
|
-
/** . */
|
|
12131
|
-
'roleId': {
|
|
12132
|
-
type: 'id';
|
|
12133
|
-
isRequired: true;
|
|
12134
|
-
options: undefined;
|
|
12135
|
-
};
|
|
12136
|
-
/** . */
|
|
12137
|
-
'skillId': {
|
|
12138
|
-
type: 'id';
|
|
12139
|
-
options: undefined;
|
|
12140
|
-
};
|
|
12141
|
-
};
|
|
12142
|
-
}
|
|
12143
|
-
interface UpsertPermissionContractEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema> {
|
|
12156
|
+
interface DidSignupEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema> {
|
|
12144
12157
|
}
|
|
12145
12158
|
}
|
|
12146
12159
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12147
|
-
interface
|
|
12148
|
-
|
|
12149
|
-
'name': string;
|
|
12150
|
-
/** Description. */
|
|
12151
|
-
'description'?: string | undefined | null;
|
|
12152
|
-
/** Require all permissions. */
|
|
12153
|
-
'requireAllPermissions'?: boolean | undefined | null;
|
|
12154
|
-
'permissions': SpruceSchemas.Mercury.v2020_12_25.Permission[];
|
|
12160
|
+
interface DidUpdateFeedEmitPayload {
|
|
12161
|
+
'item': SpruceSchemas.Spruce.v2020_07_22.FeedItem;
|
|
12155
12162
|
}
|
|
12156
|
-
interface
|
|
12157
|
-
id: '
|
|
12163
|
+
interface DidUpdateFeedEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12164
|
+
id: 'didUpdateFeedEmitPayload';
|
|
12158
12165
|
version: 'v2020_12_25';
|
|
12159
12166
|
namespace: 'Mercury';
|
|
12160
12167
|
name: '';
|
|
12161
12168
|
fields: {
|
|
12162
|
-
/** Name. Human readable name for this contract */
|
|
12163
|
-
'name': {
|
|
12164
|
-
label: 'Name';
|
|
12165
|
-
type: 'text';
|
|
12166
|
-
isRequired: true;
|
|
12167
|
-
hint: 'Human readable name for this contract';
|
|
12168
|
-
options: undefined;
|
|
12169
|
-
};
|
|
12170
|
-
/** Description. */
|
|
12171
|
-
'description': {
|
|
12172
|
-
label: 'Description';
|
|
12173
|
-
type: 'text';
|
|
12174
|
-
options: undefined;
|
|
12175
|
-
};
|
|
12176
|
-
/** Require all permissions. */
|
|
12177
|
-
'requireAllPermissions': {
|
|
12178
|
-
label: 'Require all permissions';
|
|
12179
|
-
type: 'boolean';
|
|
12180
|
-
defaultValue: false;
|
|
12181
|
-
options: undefined;
|
|
12182
|
-
};
|
|
12183
12169
|
/** . */
|
|
12184
|
-
'
|
|
12170
|
+
'item': {
|
|
12185
12171
|
type: 'schema';
|
|
12186
12172
|
isRequired: true;
|
|
12187
|
-
isArray: true;
|
|
12188
|
-
minArrayLength: 0;
|
|
12189
12173
|
options: {
|
|
12190
|
-
schema: SpruceSchemas.
|
|
12174
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.FeedItemSchema;
|
|
12191
12175
|
};
|
|
12192
12176
|
};
|
|
12193
12177
|
};
|
|
12194
12178
|
}
|
|
12195
|
-
interface
|
|
12179
|
+
interface DidUpdateFeedEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema> {
|
|
12196
12180
|
}
|
|
12197
12181
|
}
|
|
12198
12182
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12199
|
-
interface
|
|
12183
|
+
interface DidMessageEmitTargetAndPayload {
|
|
12200
12184
|
/** Source. */
|
|
12201
12185
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12202
|
-
'target'
|
|
12203
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.
|
|
12186
|
+
'target'?: SpruceSchemas.Spruce.v2020_07_22.MessageTarget | undefined | null;
|
|
12187
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayload;
|
|
12204
12188
|
}
|
|
12205
|
-
interface
|
|
12206
|
-
id: '
|
|
12189
|
+
interface DidMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12190
|
+
id: 'didMessageEmitTargetAndPayload';
|
|
12207
12191
|
version: 'v2020_12_25';
|
|
12208
12192
|
namespace: 'Mercury';
|
|
12209
12193
|
name: '';
|
|
@@ -12219,9 +12203,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12219
12203
|
/** . */
|
|
12220
12204
|
'target': {
|
|
12221
12205
|
type: 'schema';
|
|
12222
|
-
isRequired: true;
|
|
12223
12206
|
options: {
|
|
12224
|
-
schema: SpruceSchemas.
|
|
12207
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.MessageTargetSchema;
|
|
12225
12208
|
};
|
|
12226
12209
|
};
|
|
12227
12210
|
/** . */
|
|
@@ -12229,73 +12212,64 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12229
12212
|
type: 'schema';
|
|
12230
12213
|
isRequired: true;
|
|
12231
12214
|
options: {
|
|
12232
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12215
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema;
|
|
12233
12216
|
};
|
|
12234
12217
|
};
|
|
12235
12218
|
};
|
|
12236
12219
|
}
|
|
12237
|
-
interface
|
|
12220
|
+
interface DidMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitTargetAndPayloadSchema> {
|
|
12238
12221
|
}
|
|
12239
12222
|
}
|
|
12240
12223
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12241
|
-
interface
|
|
12242
|
-
|
|
12224
|
+
interface DidSignupEmitTargetAndPayload {
|
|
12225
|
+
/** Source. */
|
|
12226
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12227
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
12228
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayload;
|
|
12243
12229
|
}
|
|
12244
|
-
interface
|
|
12245
|
-
id: '
|
|
12230
|
+
interface DidSignupEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12231
|
+
id: 'didSignupEmitTargetAndPayload';
|
|
12246
12232
|
version: 'v2020_12_25';
|
|
12247
12233
|
namespace: 'Mercury';
|
|
12248
12234
|
name: '';
|
|
12249
12235
|
fields: {
|
|
12250
|
-
/** . */
|
|
12251
|
-
'
|
|
12236
|
+
/** Source. */
|
|
12237
|
+
'source': {
|
|
12238
|
+
label: 'Source';
|
|
12252
12239
|
type: 'schema';
|
|
12253
|
-
isRequired: true;
|
|
12254
12240
|
options: {
|
|
12255
|
-
schema: SpruceSchemas.
|
|
12241
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12256
12242
|
};
|
|
12257
12243
|
};
|
|
12258
|
-
};
|
|
12259
|
-
}
|
|
12260
|
-
interface UpsertPermissionContractResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractResponsePayloadSchema> {
|
|
12261
|
-
}
|
|
12262
|
-
}
|
|
12263
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12264
|
-
interface VoteForFeatureEmitPayload {
|
|
12265
|
-
'featureKey': string;
|
|
12266
|
-
'skillNamespace': string;
|
|
12267
|
-
}
|
|
12268
|
-
interface VoteForFeatureEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12269
|
-
id: 'voteForFeatureEmitPayload';
|
|
12270
|
-
version: 'v2020_12_25';
|
|
12271
|
-
namespace: 'Mercury';
|
|
12272
|
-
name: '';
|
|
12273
|
-
fields: {
|
|
12274
12244
|
/** . */
|
|
12275
|
-
'
|
|
12276
|
-
type: '
|
|
12277
|
-
|
|
12278
|
-
|
|
12245
|
+
'target': {
|
|
12246
|
+
type: 'schema';
|
|
12247
|
+
options: {
|
|
12248
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
12249
|
+
};
|
|
12279
12250
|
};
|
|
12280
12251
|
/** . */
|
|
12281
|
-
'
|
|
12282
|
-
type: '
|
|
12252
|
+
'payload': {
|
|
12253
|
+
type: 'schema';
|
|
12283
12254
|
isRequired: true;
|
|
12284
|
-
options:
|
|
12255
|
+
options: {
|
|
12256
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema;
|
|
12257
|
+
};
|
|
12285
12258
|
};
|
|
12286
12259
|
};
|
|
12287
12260
|
}
|
|
12288
|
-
interface
|
|
12261
|
+
interface DidSignupEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitTargetAndPayloadSchema> {
|
|
12289
12262
|
}
|
|
12290
12263
|
}
|
|
12291
12264
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12292
|
-
interface
|
|
12265
|
+
interface DidUpdateFeedEmitTargetAndPayload {
|
|
12293
12266
|
/** Source. */
|
|
12294
12267
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12295
|
-
'
|
|
12268
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
12269
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayload;
|
|
12296
12270
|
}
|
|
12297
|
-
interface
|
|
12298
|
-
id: '
|
|
12271
|
+
interface DidUpdateFeedEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12272
|
+
id: 'didUpdateFeedEmitTargetAndPayload';
|
|
12299
12273
|
version: 'v2020_12_25';
|
|
12300
12274
|
namespace: 'Mercury';
|
|
12301
12275
|
name: '';
|
|
@@ -12309,46 +12283,57 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12309
12283
|
};
|
|
12310
12284
|
};
|
|
12311
12285
|
/** . */
|
|
12286
|
+
'target': {
|
|
12287
|
+
type: 'schema';
|
|
12288
|
+
options: {
|
|
12289
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
12290
|
+
};
|
|
12291
|
+
};
|
|
12292
|
+
/** . */
|
|
12312
12293
|
'payload': {
|
|
12313
12294
|
type: 'schema';
|
|
12314
12295
|
isRequired: true;
|
|
12315
12296
|
options: {
|
|
12316
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12297
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema;
|
|
12317
12298
|
};
|
|
12318
12299
|
};
|
|
12319
12300
|
};
|
|
12320
12301
|
}
|
|
12321
|
-
interface
|
|
12302
|
+
interface DidUpdateFeedEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetAndPayloadSchema> {
|
|
12322
12303
|
}
|
|
12323
12304
|
}
|
|
12324
12305
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12325
|
-
interface
|
|
12326
|
-
'
|
|
12306
|
+
interface DidUpdatePersonEmitPayload {
|
|
12307
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
12327
12308
|
}
|
|
12328
|
-
interface
|
|
12329
|
-
id: '
|
|
12309
|
+
interface DidUpdatePersonEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12310
|
+
id: 'didUpdatePersonEmitPayload';
|
|
12330
12311
|
version: 'v2020_12_25';
|
|
12331
12312
|
namespace: 'Mercury';
|
|
12332
12313
|
name: '';
|
|
12333
12314
|
fields: {
|
|
12334
12315
|
/** . */
|
|
12335
|
-
'
|
|
12336
|
-
type: '
|
|
12316
|
+
'person': {
|
|
12317
|
+
type: 'schema';
|
|
12337
12318
|
isRequired: true;
|
|
12338
|
-
options:
|
|
12319
|
+
options: {
|
|
12320
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
12321
|
+
};
|
|
12339
12322
|
};
|
|
12340
12323
|
};
|
|
12341
12324
|
}
|
|
12342
|
-
interface
|
|
12325
|
+
interface DidUpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema> {
|
|
12343
12326
|
}
|
|
12344
12327
|
}
|
|
12345
12328
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12346
|
-
interface
|
|
12329
|
+
interface DidUpdatePersonEmitTargetAndPayload {
|
|
12347
12330
|
/** Source. */
|
|
12348
12331
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12332
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
12333
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayload;
|
|
12349
12334
|
}
|
|
12350
|
-
interface
|
|
12351
|
-
id: '
|
|
12335
|
+
interface DidUpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12336
|
+
id: 'didUpdatePersonEmitTargetAndPayload';
|
|
12352
12337
|
version: 'v2020_12_25';
|
|
12353
12338
|
namespace: 'Mercury';
|
|
12354
12339
|
name: '';
|
|
@@ -12361,9 +12346,24 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12361
12346
|
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12362
12347
|
};
|
|
12363
12348
|
};
|
|
12349
|
+
/** . */
|
|
12350
|
+
'target': {
|
|
12351
|
+
type: 'schema';
|
|
12352
|
+
options: {
|
|
12353
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
12354
|
+
};
|
|
12355
|
+
};
|
|
12356
|
+
/** . */
|
|
12357
|
+
'payload': {
|
|
12358
|
+
type: 'schema';
|
|
12359
|
+
isRequired: true;
|
|
12360
|
+
options: {
|
|
12361
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema;
|
|
12362
|
+
};
|
|
12363
|
+
};
|
|
12364
12364
|
};
|
|
12365
12365
|
}
|
|
12366
|
-
interface
|
|
12366
|
+
interface DidUpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitTargetAndPayloadSchema> {
|
|
12367
12367
|
}
|
|
12368
12368
|
}
|
|
12369
12369
|
}
|